import{b as ye,h as Vr,i as Hr,k as Gr,l as Wr,m as Yr}from"./chunk-64XO6P4I.js";import{c as $r,d as Fn,f as Oi,g as jn,i as Bn}from"./chunk-SMUBYTNZ.js";import{$c as Ur,A as ar,Aa as tt,Ab as Ze,Ac as kr,B as In,Ba as br,Bc as xt,Ca as P,Cb as _e,D as sr,Da as A,Dc as N,E as G,Ea as wi,F as En,Fa as w,G as yt,Ga as Dn,Gc as Nr,H as he,Hb as K,Hc as Pr,I as me,Ib as X,Ic as Lr,J as Cn,Jb as et,K as ft,Ka as _r,L as cr,La as St,M as Sn,Ma as vr,Mc as C,N as pe,Nb as Sr,Nc as Fr,O as Lt,Ob as Ar,Oc as Ke,P as An,Pb as wr,Pc as jr,Q as lr,Qb as jt,Qc as Br,R as dr,Rb as Tr,Rc as Dt,S as ur,Sb as Jt,Tb as wt,U as Ci,Ub as dt,V as qe,W as st,Wa as fe,Wb as xr,X as W,Xb as ve,Y as hr,Yb as Bt,Z as L,Zb as Ut,_ as Y,_a as yr,a as h,aa as g,b as z,ba as D,bc as Tt,bd as zr,ca as mr,cb as q,cc as kn,da as E,db as f,dc as te,dd as Ln,ea as wn,eb as Ti,fa as u,fb as Qt,ga as m,h as Q,ha as Tn,hb as xi,i as or,ia as xn,j as Nt,jb as Rn,k as vn,ka as H,kb as Ft,kc as $,l as Ii,la as R,m as _,ma as O,mb as Mn,n as V,nb as Ir,o as Pt,oa as pr,oc as Dr,p as J,pb as At,pc as Rr,q as b,qb as Z,r as Kt,ra as Xt,rb as Er,s as We,sa as It,sb as On,t as rr,ta as Ct,tb as ge,tc as Mr,u as I,ua as fr,ub as Cr,uc as Or,v as ue,va as gr,vb as be,vc as Nn,w as it,wb as ct,wc as Pn,x as Ye,xb as Di,xc as Ri,y as Ei,ya as Si,yc as Mi,z as yn,za as Ai,zb as lt}from"./chunk-5TK2KFYF.js";var y="primary",ui=Symbol("RouteTitle"),$n=class{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function we(i){return new $n(i)}function nc(i,n,t){let e=t.path.split("/");if(e.length>i.length||t.pathMatch==="full"&&(n.hasChildren()||e.length<i.length))return null;let o={};for(let r=0;r<e.length;r++){let a=e[r],s=i[r];if(a[0]===":")o[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:i.slice(0,e.length),posParams:o}}function oc(i,n){if(i.length!==n.length)return!1;for(let t=0;t<i.length;++t)if(!Et(i[t],n[t]))return!1;return!0}function Et(i,n){let t=i?Gn(i):void 0,e=n?Gn(n):void 0;if(!t||!e||t.length!=e.length)return!1;let o;for(let r=0;r<t.length;r++)if(o=t[r],!aa(i[o],n[o]))return!1;return!0}function Gn(i){return[...Object.keys(i),...Object.getOwnPropertySymbols(i)]}function aa(i,n){if(Array.isArray(i)&&Array.isArray(n)){if(i.length!==n.length)return!1;let t=[...i].sort(),e=[...n].sort();return t.every((o,r)=>e[r]===o)}else return i===n}function sa(i){return i.length>0?i[i.length-1]:null}function Ht(i){return We(i)?i:Or(i)?J(Promise.resolve(i)):b(i)}var rc={exact:la,subset:da},ca={exact:ac,subset:sc,ignored:()=>!0};function qr(i,n,t){return rc[t.paths](i.root,n.root,t.matrixParams)&&ca[t.queryParams](i.queryParams,n.queryParams)&&!(t.fragment==="exact"&&i.fragment!==n.fragment)}function ac(i,n){return Et(i,n)}function la(i,n,t){if(!ie(i.segments,n.segments)||!Pi(i.segments,n.segments,t)||i.numberOfChildren!==n.numberOfChildren)return!1;for(let e in n.children)if(!i.children[e]||!la(i.children[e],n.children[e],t))return!1;return!0}function sc(i,n){return Object.keys(n).length<=Object.keys(i).length&&Object.keys(n).every(t=>aa(i[t],n[t]))}function da(i,n,t){return ua(i,n,n.segments,t)}function ua(i,n,t,e){if(i.segments.length>t.length){let o=i.segments.slice(0,t.length);return!(!ie(o,t)||n.hasChildren()||!Pi(o,t,e))}else if(i.segments.length===t.length){if(!ie(i.segments,t)||!Pi(i.segments,t,e))return!1;for(let o in n.children)if(!i.children[o]||!da(i.children[o],n.children[o],e))return!1;return!0}else{let o=t.slice(0,i.segments.length),r=t.slice(i.segments.length);return!ie(i.segments,o)||!Pi(i.segments,o,e)||!i.children[y]?!1:ua(i.children[y],n,r,e)}}function Pi(i,n,t){return n.every((e,o)=>ca[t](i[o].parameters,e.parameters))}var Mt=class{constructor(n=new T([],{}),t={},e=null){this.root=n,this.queryParams=t,this.fragment=e}get queryParamMap(){return this._queryParamMap??=we(this.queryParams),this._queryParamMap}toString(){return dc.serialize(this)}},T=class{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(e=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Li(this)}},ee=class{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=we(this.parameters),this._parameterMap}toString(){return ma(this)}};function cc(i,n){return ie(i,n)&&i.every((t,e)=>Et(t.parameters,n[e].parameters))}function ie(i,n){return i.length!==n.length?!1:i.every((t,e)=>t.path===n[e].path)}function lc(i,n){let t=[];return Object.entries(i.children).forEach(([e,o])=>{e===y&&(t=t.concat(n(o,e)))}),Object.entries(i.children).forEach(([e,o])=>{e!==y&&(t=t.concat(n(o,e)))}),t}var Me=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:()=>new Te,providedIn:"root"})}}return i})(),Te=class{parse(n){let t=new Yn(n);return new Mt(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${Xe(n.root,!0)}`,e=mc(n.queryParams),o=typeof n.fragment=="string"?`#${uc(n.fragment)}`:"";return`${t}${e}${o}`}},dc=new Te;function Li(i){return i.segments.map(n=>ma(n)).join("/")}function Xe(i,n){if(!i.hasChildren())return Li(i);if(n){let t=i.children[y]?Xe(i.children[y],!1):"",e=[];return Object.entries(i.children).forEach(([o,r])=>{o!==y&&e.push(`${o}:${Xe(r,!1)}`)}),e.length>0?`${t}(${e.join("//")})`:t}else{let t=lc(i,(e,o)=>o===y?[Xe(i.children[y],!1)]:[`${o}:${Xe(e,!1)}`]);return Object.keys(i.children).length===1&&i.children[y]!=null?`${Li(i)}/${t[0]}`:`${Li(i)}/(${t.join("//")})`}}function ha(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ki(i){return ha(i).replace(/%3B/gi,";")}function uc(i){return encodeURI(i)}function Wn(i){return ha(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Fi(i){return decodeURIComponent(i)}function Zr(i){return Fi(i.replace(/\+/g,"%20"))}function ma(i){return`${Wn(i.path)}${hc(i.parameters)}`}function hc(i){return Object.entries(i).map(([n,t])=>`;${Wn(n)}=${Wn(t)}`).join("")}function mc(i){let n=Object.entries(i).map(([t,e])=>Array.isArray(e)?e.map(o=>`${ki(t)}=${ki(o)}`).join("&"):`${ki(t)}=${ki(e)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var pc=/^[^\/()?;#]+/;function Un(i){let n=i.match(pc);return n?n[0]:""}var fc=/^[^\/()?;=#]+/;function gc(i){let n=i.match(fc);return n?n[0]:""}var bc=/^[^=?&#]+/;function _c(i){let n=i.match(bc);return n?n[0]:""}var vc=/^[^&#]+/;function yc(i){let n=i.match(vc);return n?n[0]:""}var Yn=class{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new T([],{}):new T([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(e[y]=new T(n,t)),e}parseSegment(){let n=Un(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new Y(4009,!1);return this.capture(n),new ee(Fi(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=gc(this.remaining);if(!t)return;this.capture(t);let e="";if(this.consumeOptional("=")){let o=Un(this.remaining);o&&(e=o,this.capture(e))}n[Fi(t)]=Fi(e)}parseQueryParam(n){let t=_c(this.remaining);if(!t)return;this.capture(t);let e="";if(this.consumeOptional("=")){let a=yc(this.remaining);a&&(e=a,this.capture(e))}let o=Zr(t),r=Zr(e);if(n.hasOwnProperty(o)){let a=n[o];Array.isArray(a)||(a=[a],n[o]=a),a.push(r)}else n[o]=r}parseParens(n){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let e=Un(this.remaining),o=this.remaining[e.length];if(o!=="/"&&o!==")"&&o!==";")throw new Y(4010,!1);let r;e.indexOf(":")>-1?(r=e.slice(0,e.indexOf(":")),this.capture(r),this.capture(":")):n&&(r=y);let a=this.parseChildren();t[r]=Object.keys(a).length===1?a[y]:new T([],a),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new Y(4011,!1)}};function pa(i){return i.segments.length>0?new T([],{[y]:i}):i}function fa(i){let n={};for(let[e,o]of Object.entries(i.children)){let r=fa(o);if(e===y&&r.segments.length===0&&r.hasChildren())for(let[a,s]of Object.entries(r.children))n[a]=s;else(r.segments.length>0||r.hasChildren())&&(n[e]=r)}let t=new T(i.segments,n);return Ic(t)}function Ic(i){if(i.numberOfChildren===1&&i.children[y]){let n=i.children[y];return new T(i.segments.concat(n.segments),n.children)}return i}function ne(i){return i instanceof Mt}function Ec(i,n,t=null,e=null){let o=ga(i);return ba(o,n,t,e)}function ga(i){let n;function t(r){let a={};for(let c of r.children){let l=t(c);a[c.outlet]=l}let s=new T(r.url,a);return r===i&&(n=s),s}let e=t(i.root),o=pa(e);return n??o}function ba(i,n,t,e){let o=i;for(;o.parent;)o=o.parent;if(n.length===0)return zn(o,o,o,t,e);let r=Cc(n);if(r.toRoot())return zn(o,o,new T([],{}),t,e);let a=Sc(r,o,i),s=a.processChildren?ti(a.segmentGroup,a.index,r.commands):va(a.segmentGroup,a.index,r.commands);return zn(o,a.segmentGroup,s,t,e)}function ji(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function ni(i){return typeof i=="object"&&i!=null&&i.outlets}function zn(i,n,t,e,o){let r={};e&&Object.entries(e).forEach(([c,l])=>{r[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`});let a;i===n?a=t:a=_a(i,n,t);let s=pa(fa(a));return new Mt(s,r,o)}function _a(i,n,t){let e={};return Object.entries(i.children).forEach(([o,r])=>{r===n?e[o]=t:e[o]=_a(r,n,t)}),new T(i.segments,e)}var Bi=class{constructor(n,t,e){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=e,n&&e.length>0&&ji(e[0]))throw new Y(4003,!1);let o=e.find(ni);if(o&&o!==sa(e))throw new Y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Cc(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new Bi(!0,0,i);let n=0,t=!1,e=i.reduce((o,r,a)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let s={};return Object.entries(r.outlets).forEach(([c,l])=>{s[c]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:s}]}if(r.segmentPath)return[...o,r.segmentPath]}return typeof r!="string"?[...o,r]:a===0?(r.split("/").forEach((s,c)=>{c==0&&s==="."||(c==0&&s===""?t=!0:s===".."?n++:s!=""&&o.push(s))}),o):[...o,r]},[]);return new Bi(t,n,e)}var Ce=class{constructor(n,t,e){this.segmentGroup=n,this.processChildren=t,this.index=e}};function Sc(i,n,t){if(i.isAbsolute)return new Ce(n,!0,0);if(!t)return new Ce(n,!1,NaN);if(t.parent===null)return new Ce(t,!0,0);let e=ji(i.commands[0])?0:1,o=t.segments.length-1+e;return Ac(t,o,i.numberOfDoubleDots)}function Ac(i,n,t){let e=i,o=n,r=t;for(;r>o;){if(r-=o,e=e.parent,!e)throw new Y(4005,!1);o=e.segments.length}return new Ce(e,!1,o-r)}function wc(i){return ni(i[0])?i[0].outlets:{[y]:i}}function va(i,n,t){if(i??=new T([],{}),i.segments.length===0&&i.hasChildren())return ti(i,n,t);let e=Tc(i,n,t),o=t.slice(e.commandIndex);if(e.match&&e.pathIndex<i.segments.length){let r=new T(i.segments.slice(0,e.pathIndex),{});return r.children[y]=new T(i.segments.slice(e.pathIndex),i.children),ti(r,0,o)}else return e.match&&o.length===0?new T(i.segments,{}):e.match&&!i.hasChildren()?qn(i,n,t):e.match?ti(i,0,o):qn(i,n,t)}function ti(i,n,t){if(t.length===0)return new T(i.segments,{});{let e=wc(t),o={};if(Object.keys(e).some(r=>r!==y)&&i.children[y]&&i.numberOfChildren===1&&i.children[y].segments.length===0){let r=ti(i.children[y],n,t);return new T(i.segments,r.children)}return Object.entries(e).forEach(([r,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(o[r]=va(i.children[r],n,a))}),Object.entries(i.children).forEach(([r,a])=>{e[r]===void 0&&(o[r]=a)}),new T(i.segments,o)}}function Tc(i,n,t){let e=0,o=n,r={match:!1,pathIndex:0,commandIndex:0};for(;o<i.segments.length;){if(e>=t.length)return r;let a=i.segments[o],s=t[e];if(ni(s))break;let c=`${s}`,l=e<t.length-1?t[e+1]:null;if(o>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Xr(c,l,a))return r;e+=2}else{if(!Xr(c,{},a))return r;e++}o++}return{match:!0,pathIndex:o,commandIndex:e}}function qn(i,n,t){let e=i.segments.slice(0,n),o=0;for(;o<t.length;){let r=t[o];if(ni(r)){let c=xc(r.outlets);return new T(e,c)}if(o===0&&ji(t[0])){let c=i.segments[n];e.push(new ee(c.path,Kr(t[0]))),o++;continue}let a=ni(r)?r.outlets[y]:`${r}`,s=o<t.length-1?t[o+1]:null;a&&s&&ji(s)?(e.push(new ee(a,Kr(s))),o+=2):(e.push(new ee(a,{})),o++)}return new T(e,{})}function xc(i){let n={};return Object.entries(i).forEach(([t,e])=>{typeof e=="string"&&(e=[e]),e!==null&&(n[t]=qn(new T([],{}),0,e))}),n}function Kr(i){let n={};return Object.entries(i).forEach(([t,e])=>n[t]=`${e}`),n}function Xr(i,n,t){return i==t.path&&Et(n,t.parameters)}var ei="imperative",U=function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i}(U||{}),ut=class{constructor(n,t){this.id=n,this.url=t}},xe=class extends ut{constructor(n,t,e="imperative",o=null){super(n,t),this.type=U.NavigationStart,this.navigationTrigger=e,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},bt=class extends ut{constructor(n,t,e){super(n,t),this.urlAfterRedirects=e,this.type=U.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ot=function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i}(ot||{}),Ui=function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i}(Ui||{}),Rt=class extends ut{constructor(n,t,e,o){super(n,t),this.reason=e,this.code=o,this.type=U.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},zt=class extends ut{constructor(n,t,e,o){super(n,t),this.reason=e,this.code=o,this.type=U.NavigationSkipped}},oi=class extends ut{constructor(n,t,e,o){super(n,t),this.error=e,this.target=o,this.type=U.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},zi=class extends ut{constructor(n,t,e,o){super(n,t),this.urlAfterRedirects=e,this.state=o,this.type=U.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Zn=class extends ut{constructor(n,t,e,o){super(n,t),this.urlAfterRedirects=e,this.state=o,this.type=U.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Kn=class extends ut{constructor(n,t,e,o,r){super(n,t),this.urlAfterRedirects=e,this.state=o,this.shouldActivate=r,this.type=U.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Xn=class extends ut{constructor(n,t,e,o){super(n,t),this.urlAfterRedirects=e,this.state=o,this.type=U.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Qn=class extends ut{constructor(n,t,e,o){super(n,t),this.urlAfterRedirects=e,this.state=o,this.type=U.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Jn=class{constructor(n){this.route=n,this.type=U.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},to=class{constructor(n){this.route=n,this.type=U.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},eo=class{constructor(n){this.snapshot=n,this.type=U.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},io=class{constructor(n){this.snapshot=n,this.type=U.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},no=class{constructor(n){this.snapshot=n,this.type=U.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},oo=class{constructor(n){this.snapshot=n,this.type=U.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Vi=class{constructor(n,t,e){this.routerEvent=n,this.position=t,this.anchor=e,this.type=U.Scroll}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},ri=class{},De=class{constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function Dc(i,n){return i.providers&&!i._injector&&(i._injector=On(i.providers,n,`Route: ${i.path}`)),i._injector??n}function gt(i){return i.outlet||y}function Rc(i,n){let t=i.filter(e=>gt(e)===n);return t.push(...i.filter(e=>gt(e)!==n)),t}function hi(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let n=i.parent;n;n=n.parent){let t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var ro=class{get injector(){return hi(this.route?.snapshot)??this.rootInjector}set injector(n){}constructor(n){this.rootInjector=n,this.outlet=null,this.route=null,this.children=new mi(this.rootInjector),this.attachRef=null}},mi=(()=>{class i{constructor(t){this.rootInjector=t,this.contexts=new Map}onChildOutletCreated(t,e){let o=this.getOrCreateContext(t);o.outlet=e,this.contexts.set(t,o)}onChildOutletDestroyed(t){let e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new ro(this.rootInjector),this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}static{this.\u0275fac=function(e){return new(e||i)(u(Xt))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Hi=class{constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=ao(n,this._root);return t?t.children.map(e=>e.value):[]}firstChild(n){let t=ao(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=so(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return so(n,this._root).map(t=>t.value)}};function ao(i,n){if(i===n.value)return n;for(let t of n.children){let e=ao(i,t);if(e)return e}return null}function so(i,n){if(i===n.value)return[n];for(let t of n.children){let e=so(i,t);if(e.length)return e.unshift(n),e}return[]}var nt=class{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function Ee(i){let n={};return i&&i.children.forEach(t=>n[t.value.outlet]=t),n}var $i=class extends Hi{constructor(n,t){super(n),this.snapshot=t,bo(this,n)}toString(){return this.snapshot.toString()}};function ya(i){let n=Mc(i),t=new V([new ee("",{})]),e=new V({}),o=new V({}),r=new V({}),a=new V(""),s=new Vt(t,e,r,a,o,y,i,n.root);return s.snapshot=n.root,new $i(new nt(s,[]),n)}function Mc(i){let n={},t={},e={},o="",r=new Se([],n,e,o,t,y,i,null,{});return new Wi("",new nt(r,[]))}var Vt=class{constructor(n,t,e,o,r,a,s,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=e,this.fragmentSubject=o,this.dataSubject=r,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(I(l=>l[ui]))??b(void 0),this.url=n,this.params=t,this.queryParams=e,this.fragment=o,this.data=r}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(I(n=>we(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(I(n=>we(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Gi(i,n,t="emptyOnly"){let e,{routeConfig:o}=i;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?e={params:h(h({},n.params),i.params),data:h(h({},n.data),i.data),resolve:h(h(h(h({},i.data),n.data),o?.data),i._resolvedData)}:e={params:h({},i.params),data:h({},i.data),resolve:h(h({},i.data),i._resolvedData??{})},o&&Ea(o)&&(e.resolve[ui]=o.title),e}var Se=class{get title(){return this.data?.[ui]}constructor(n,t,e,o,r,a,s,c,l){this.url=n,this.params=t,this.queryParams=e,this.fragment=o,this.data=r,this.outlet=a,this.component=s,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=we(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=we(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(e=>e.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},Wi=class extends Hi{constructor(n,t){super(t),this.url=n,bo(this,t)}toString(){return Ia(this._root)}};function bo(i,n){n.value._routerState=i,n.children.forEach(t=>bo(i,t))}function Ia(i){let n=i.children.length>0?` { ${i.children.map(Ia).join(", ")} } `:"";return`${i.value}${n}`}function Vn(i){if(i.snapshot){let n=i.snapshot,t=i._futureSnapshot;i.snapshot=t,Et(n.queryParams,t.queryParams)||i.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&i.fragmentSubject.next(t.fragment),Et(n.params,t.params)||i.paramsSubject.next(t.params),oc(n.url,t.url)||i.urlSubject.next(t.url),Et(n.data,t.data)||i.dataSubject.next(t.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function co(i,n){let t=Et(i.params,n.params)&&cc(i.url,n.url),e=!i.parent!=!n.parent;return t&&!e&&(!i.parent||co(i.parent,n.parent))}function Ea(i){return typeof i.title=="string"||i.title===null}var Oc=(()=>{class i{constructor(){this.activated=null,this._activatedRoute=null,this.name=y,this.activateEvents=new P,this.deactivateEvents=new P,this.attachEvents=new P,this.detachEvents=new P,this.parentContexts=m(mi),this.location=m(Ft),this.changeDetector=m(xt),this.inputBinder=m(Ki,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:e,previousValue:o}=t.name;if(e)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Y(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Y(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=new lo(t,s,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:e}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275dir=O({type:i,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ct]})}}return i})(),lo=class i{__ngOutletInjector(n){return new i(this.route,this.childContexts,n)}constructor(n,t,e){this.route=n,this.childContexts=t,this.parent=e}get(n,t){return n===Vt?this.route:n===mi?this.childContexts:this.parent.get(n,t)}},Ki=new E(""),Qr=(()=>{class i{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:e}=t,o=ue([e.queryParams,e.params,e.data]).pipe(st(([r,a,s],c)=>(s=h(h(h({},r),a),s),c===0?b(s):Promise.resolve(s)))).subscribe(r=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==e||e.component===null){this.unsubscribeFromRouteData(t);return}let a=Lr(e.component);if(!a){this.unsubscribeFromRouteData(t);return}for(let{templateName:s}of a.inputs)t.activatedComponentRef.setInput(s,r[s])});this.outletDataSubscriptions.set(t,o)}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac})}}return i})();function kc(i,n,t){let e=ai(i,n._root,t?t._root:void 0);return new $i(e,n)}function ai(i,n,t){if(t&&i.shouldReuseRoute(n.value,t.value.snapshot)){let e=t.value;e._futureSnapshot=n.value;let o=Nc(i,n,t);return new nt(e,o)}else{if(i.shouldAttach(n.value)){let r=i.retrieve(n.value);if(r!==null){let a=r.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(s=>ai(i,s)),a}}let e=Pc(n.value),o=n.children.map(r=>ai(i,r));return new nt(e,o)}}function Nc(i,n,t){return n.children.map(e=>{for(let o of t.children)if(i.shouldReuseRoute(e.value,o.value.snapshot))return ai(i,e,o);return ai(i,e)})}function Pc(i){return new Vt(new V(i.url),new V(i.params),new V(i.queryParams),new V(i.fragment),new V(i.data),i.outlet,i.component,i)}var si=class{constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},Ca="ngNavigationCancelingError";function Yi(i,n){let{redirectTo:t,navigationBehaviorOptions:e}=ne(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=Sa(!1,ot.Redirect);return o.url=t,o.navigationBehaviorOptions=e,o}function Sa(i,n){let t=new Error(`NavigationCancelingError: ${i||""}`);return t[Ca]=!0,t.cancellationCode=n,t}function Lc(i){return Aa(i)&&ne(i.url)}function Aa(i){return!!i&&i[Ca]}var Fc=(i,n,t,e)=>I(o=>(new uo(n,o.targetRouterState,o.currentRouterState,t,e).activate(i),o)),uo=class{constructor(n,t,e,o,r){this.routeReuseStrategy=n,this.futureState=t,this.currState=e,this.forwardEvent=o,this.inputBindingEnabled=r}activate(n){let t=this.futureState._root,e=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,e,n),Vn(this.futureState.root),this.activateChildRoutes(t,e,n)}deactivateChildRoutes(n,t,e){let o=Ee(t);n.children.forEach(r=>{let a=r.value.outlet;this.deactivateRoutes(r,o[a],e),delete o[a]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,e)})}deactivateRoutes(n,t,e){let o=n.value,r=t?t.value:null;if(o===r)if(o.component){let a=e.getContext(o.outlet);a&&this.deactivateChildRoutes(n,t,a.children)}else this.deactivateChildRoutes(n,t,e);else r&&this.deactivateRouteAndItsChildren(t,e)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let e=t.getContext(n.value.outlet),o=e&&n.value.component?e.children:t,r=Ee(n);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);if(e&&e.outlet){let a=e.outlet.detach(),s=e.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:s})}}deactivateRouteAndOutlet(n,t){let e=t.getContext(n.value.outlet),o=e&&n.value.component?e.children:t,r=Ee(n);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);e&&(e.outlet&&(e.outlet.deactivate(),e.children.onOutletDeactivated()),e.attachRef=null,e.route=null)}activateChildRoutes(n,t,e){let o=Ee(t);n.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],e),this.forwardEvent(new oo(r.value.snapshot))}),n.children.length&&this.forwardEvent(new io(n.value.snapshot))}activateRoutes(n,t,e){let o=n.value,r=t?t.value:null;if(Vn(o),o===r)if(o.component){let a=e.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,a.children)}else this.activateChildRoutes(n,t,e);else if(o.component){let a=e.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let s=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.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),Vn(s.route.value),this.activateChildRoutes(n,null,a.children)}else a.attachRef=null,a.route=o,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(n,null,a.children)}else this.activateChildRoutes(n,null,e)}},qi=class{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ae=class{constructor(n,t){this.component=n,this.route=t}};function jc(i,n,t){let e=i._root,o=n?n._root:null;return Qe(e,o,t,[e.value])}function Bc(i){let n=i.routeConfig?i.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:i,guards:n}}function Oe(i,n){let t=Symbol(),e=n.get(i,t);return e===t?typeof i=="function"&&!mr(i)?i:n.get(i):e}function Qe(i,n,t,e,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=Ee(n);return i.children.forEach(a=>{Uc(a,r[a.value.outlet],t,e.concat([a.value]),o),delete r[a.value.outlet]}),Object.entries(r).forEach(([a,s])=>ii(s,t.getContext(a),o)),o}function Uc(i,n,t,e,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=i.value,a=n?n.value:null,s=t?t.getContext(i.value.outlet):null;if(a&&r.routeConfig===a.routeConfig){let c=zc(a,r,r.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new qi(e)):(r.data=a.data,r._resolvedData=a._resolvedData),r.component?Qe(i,n,s?s.children:null,e,o):Qe(i,n,t,e,o),c&&s&&s.outlet&&s.outlet.isActivated&&o.canDeactivateChecks.push(new Ae(s.outlet.component,a))}else a&&ii(n,s,o),o.canActivateChecks.push(new qi(e)),r.component?Qe(i,null,s?s.children:null,e,o):Qe(i,null,t,e,o);return o}function zc(i,n,t){if(typeof t=="function")return t(i,n);switch(t){case"pathParamsChange":return!ie(i.url,n.url);case"pathParamsOrQueryParamsChange":return!ie(i.url,n.url)||!Et(i.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!co(i,n)||!Et(i.queryParams,n.queryParams);case"paramsChange":default:return!co(i,n)}}function ii(i,n,t){let e=Ee(i),o=i.value;Object.entries(e).forEach(([r,a])=>{o.component?n?ii(a,n.children.getContext(r),t):ii(a,null,t):ii(a,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new Ae(n.outlet.component,o)):t.canDeactivateChecks.push(new Ae(null,o)):t.canDeactivateChecks.push(new Ae(null,o))}function pi(i){return typeof i=="function"}function Vc(i){return typeof i=="boolean"}function Hc(i){return i&&pi(i.canLoad)}function $c(i){return i&&pi(i.canActivate)}function Gc(i){return i&&pi(i.canActivateChild)}function Wc(i){return i&&pi(i.canDeactivate)}function Yc(i){return i&&pi(i.canMatch)}function wa(i){return i instanceof rr||i?.name==="EmptyError"}var Ni=Symbol("INITIAL_VALUE");function Re(){return st(i=>ue(i.map(n=>n.pipe(ft(1),qe(Ni)))).pipe(I(n=>{for(let t of n)if(t!==!0){if(t===Ni)return Ni;if(t===!1||qc(t))return t}return!0}),G(n=>n!==Ni),ft(1)))}function qc(i){return ne(i)||i instanceof si}function Zc(i,n){return it(t=>{let{targetSnapshot:e,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:a}}=t;return a.length===0&&r.length===0?b(z(h({},t),{guardsResult:!0})):Kc(a,e,o,i).pipe(it(s=>s&&Vc(s)?Xc(e,r,i,n):b(s)),I(s=>z(h({},t),{guardsResult:s})))})}function Kc(i,n,t,e){return J(i).pipe(it(o=>il(o.component,o.route,t,n,e)),Lt(o=>o!==!0,!0))}function Xc(i,n,t,e){return J(n).pipe(he(o=>Ei(Jc(o.route.parent,e),Qc(o.route,e),el(i,o.path,t),tl(i,o.route,t))),Lt(o=>o!==!0,!0))}function Qc(i,n){return i!==null&&n&&n(new no(i)),b(!0)}function Jc(i,n){return i!==null&&n&&n(new eo(i)),b(!0)}function tl(i,n,t){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return b(!0);let o=e.map(r=>yn(()=>{let a=hi(n)??t,s=Oe(r,a),c=$c(s)?s.canActivate(n,i):It(a,()=>s(n,i));return Ht(c).pipe(Lt())}));return b(o).pipe(Re())}function el(i,n,t){let e=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(a=>Bc(a)).filter(a=>a!==null).map(a=>yn(()=>{let s=a.guards.map(c=>{let l=hi(a.node)??t,d=Oe(c,l),p=Gc(d)?d.canActivateChild(e,i):It(l,()=>d(e,i));return Ht(p).pipe(Lt())});return b(s).pipe(Re())}));return b(r).pipe(Re())}function il(i,n,t,e,o){let r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!r||r.length===0)return b(!0);let a=r.map(s=>{let c=hi(n)??o,l=Oe(s,c),d=Wc(l)?l.canDeactivate(i,n,t,e):It(c,()=>l(i,n,t,e));return Ht(d).pipe(Lt())});return b(a).pipe(Re())}function nl(i,n,t,e){let o=n.canLoad;if(o===void 0||o.length===0)return b(!0);let r=o.map(a=>{let s=Oe(a,i),c=Hc(s)?s.canLoad(n,t):It(i,()=>s(n,t));return Ht(c)});return b(r).pipe(Re(),Ta(e))}function Ta(i){return or(L(n=>{if(typeof n!="boolean")throw Yi(i,n)}),I(n=>n===!0))}function ol(i,n,t,e){let o=n.canMatch;if(!o||o.length===0)return b(!0);let r=o.map(a=>{let s=Oe(a,i),c=Yc(s)?s.canMatch(n,t):It(i,()=>s(n,t));return Ht(c)});return b(r).pipe(Re(),Ta(e))}var ci=class{constructor(n){this.segmentGroup=n||null}},li=class extends Error{constructor(n){super(),this.urlTree=n}};function Ie(i){return Kt(new ci(i))}function rl(i){return Kt(new Y(4e3,!1))}function al(i){return Kt(Sa(!1,ot.GuardRejected))}var ho=class{constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let e=[],o=t.root;for(;;){if(e=e.concat(o.segments),o.numberOfChildren===0)return b(e);if(o.numberOfChildren>1||!o.children[y])return rl(`${n.redirectTo}`);o=o.children[y]}}applyRedirectCommands(n,t,e,o,r){if(typeof t!="string"){let s=t,{queryParams:c,fragment:l,routeConfig:d,url:p,outlet:v,params:x,data:S,title:M}=o,j=It(r,()=>s({params:x,data:S,queryParams:c,fragment:l,routeConfig:d,url:p,outlet:v,title:M}));if(j instanceof Mt)throw new li(j);t=j}let a=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,e);if(t[0]==="/")throw new li(a);return a}applyRedirectCreateUrlTree(n,t,e,o){let r=this.createSegmentGroup(n,t.root,e,o);return new Mt(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let e={};return Object.entries(n).forEach(([o,r])=>{if(typeof r=="string"&&r[0]===":"){let s=r.substring(1);e[o]=t[s]}else e[o]=r}),e}createSegmentGroup(n,t,e,o){let r=this.createSegments(n,t.segments,e,o),a={};return Object.entries(t.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(n,c,e,o)}),new T(r,a)}createSegments(n,t,e,o){return t.map(r=>r.path[0]===":"?this.findPosParam(n,r,o):this.findOrReturn(r,e))}findPosParam(n,t,e){let o=e[t.path.substring(1)];if(!o)throw new Y(4001,!1);return o}findOrReturn(n,t){let e=0;for(let o of t){if(o.path===n.path)return t.splice(e),o;e++}return n}},mo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function sl(i,n,t,e,o){let r=xa(i,n,t);return r.matched?(e=Dc(n,e),ol(e,n,t,o).pipe(I(a=>a===!0?r:h({},mo)))):b(r)}function xa(i,n,t){if(n.path==="**")return cl(t);if(n.path==="")return n.pathMatch==="full"&&(i.hasChildren()||t.length>0)?h({},mo):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||nc)(t,i,n);if(!o)return h({},mo);let r={};Object.entries(o.posParams??{}).forEach(([s,c])=>{r[s]=c.path});let a=o.consumed.length>0?h(h({},r),o.consumed[o.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function cl(i){return{matched:!0,parameters:i.length>0?sa(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function Jr(i,n,t,e){return t.length>0&&ul(i,t,e)?{segmentGroup:new T(n,dl(e,new T(t,i.children))),slicedSegments:[]}:t.length===0&&hl(i,t,e)?{segmentGroup:new T(i.segments,ll(i,t,e,i.children)),slicedSegments:t}:{segmentGroup:new T(i.segments,i.children),slicedSegments:t}}function ll(i,n,t,e){let o={};for(let r of t)if(Xi(i,n,r)&&!e[gt(r)]){let a=new T([],{});o[gt(r)]=a}return h(h({},e),o)}function dl(i,n){let t={};t[y]=n;for(let e of i)if(e.path===""&&gt(e)!==y){let o=new T([],{});t[gt(e)]=o}return t}function ul(i,n,t){return t.some(e=>Xi(i,n,e)&&gt(e)!==y)}function hl(i,n,t){return t.some(e=>Xi(i,n,e))}function Xi(i,n,t){return(i.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function ml(i,n,t){return n.length===0&&!i.children[t]}var po=class{};function pl(i,n,t,e,o,r,a="emptyOnly"){return new fo(i,n,t,e,o,a,r).recognize()}var fl=31,fo=class{constructor(n,t,e,o,r,a,s){this.injector=n,this.configLoader=t,this.rootComponentType=e,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new ho(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new Y(4002,`'${n.segmentGroup}'`)}recognize(){let n=Jr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(I(({children:t,rootSnapshot:e})=>{let o=new nt(e,t),r=new Wi("",o),a=Ec(e,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(a),{state:r,tree:a}}))}match(n){let t=new Se([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),y,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,y,t).pipe(I(e=>({children:e,rootSnapshot:t})),yt(e=>{if(e instanceof li)return this.urlTree=e.urlTree,this.match(e.urlTree.root);throw e instanceof ci?this.noMatchError(e):e}))}processSegmentGroup(n,t,e,o,r){return e.segments.length===0&&e.hasChildren()?this.processChildren(n,t,e,r):this.processSegment(n,t,e,e.segments,o,!0,r).pipe(I(a=>a instanceof nt?[a]:[]))}processChildren(n,t,e,o){let r=[];for(let a of Object.keys(e.children))a==="primary"?r.unshift(a):r.push(a);return J(r).pipe(he(a=>{let s=e.children[a],c=Rc(t,a);return this.processSegmentGroup(n,c,s,a,o)}),dr((a,s)=>(a.push(...s),a)),Cn(null),lr(),it(a=>{if(a===null)return Ie(e);let s=Da(a);return gl(s),b(s)}))}processSegment(n,t,e,o,r,a,s){return J(t).pipe(he(c=>this.processSegmentAgainstRoute(c._injector??n,t,c,e,o,r,a,s).pipe(yt(l=>{if(l instanceof ci)return b(null);throw l}))),Lt(c=>!!c),yt(c=>{if(wa(c))return ml(e,o,r)?b(new po):Ie(e);throw c}))}processSegmentAgainstRoute(n,t,e,o,r,a,s,c){return gt(e)!==a&&(a===y||!Xi(o,r,e))?Ie(o):e.redirectTo===void 0?this.matchSegmentAgainstRoute(n,o,e,r,a,c):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,e,r,a,c):Ie(o)}expandSegmentAgainstRouteUsingRedirect(n,t,e,o,r,a,s){let{matched:c,parameters:l,consumedSegments:d,positionalParamSegments:p,remainingSegments:v}=xa(t,o,r);if(!c)return Ie(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>fl&&(this.allowRedirects=!1));let x=new Se(r,l,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,ta(o),gt(o),o.component??o._loadedComponent??null,o,ea(o)),S=Gi(x,s,this.paramsInheritanceStrategy);x.params=Object.freeze(S.params),x.data=Object.freeze(S.data);let M=this.applyRedirects.applyRedirectCommands(d,o.redirectTo,p,x,n);return this.applyRedirects.lineralizeSegments(o,M).pipe(it(j=>this.processSegment(n,e,t,j.concat(v),a,!1,s)))}matchSegmentAgainstRoute(n,t,e,o,r,a){let s=sl(t,e,o,n,this.urlSerializer);return e.path==="**"&&(t.children={}),s.pipe(st(c=>c.matched?(n=e._injector??n,this.getChildConfig(n,e,o).pipe(st(({routes:l})=>{let d=e._loadedInjector??n,{parameters:p,consumedSegments:v,remainingSegments:x}=c,S=new Se(v,p,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,ta(e),gt(e),e.component??e._loadedComponent??null,e,ea(e)),M=Gi(S,a,this.paramsInheritanceStrategy);S.params=Object.freeze(M.params),S.data=Object.freeze(M.data);let{segmentGroup:j,slicedSegments:kt}=Jr(t,v,x,l);if(kt.length===0&&j.hasChildren())return this.processChildren(d,l,j,S).pipe(I(Zt=>new nt(S,Zt)));if(l.length===0&&kt.length===0)return b(new nt(S,[]));let Ge=gt(e)===r;return this.processSegment(d,l,j,kt,Ge?y:r,!0,S).pipe(I(Zt=>new nt(S,Zt instanceof nt?[Zt]:[])))}))):Ie(t)))}getChildConfig(n,t,e){return t.children?b({routes:t.children,injector:n}):t.loadChildren?t._loadedRoutes!==void 0?b({routes:t._loadedRoutes,injector:t._loadedInjector}):nl(n,t,e,this.urlSerializer).pipe(it(o=>o?this.configLoader.loadChildren(n,t).pipe(L(r=>{t._loadedRoutes=r.routes,t._loadedInjector=r.injector})):al(t))):b({routes:[],injector:n})}};function gl(i){i.sort((n,t)=>n.value.outlet===y?-1:t.value.outlet===y?1:n.value.outlet.localeCompare(t.value.outlet))}function bl(i){let n=i.value.routeConfig;return n&&n.path===""}function Da(i){let n=[],t=new Set;for(let e of i){if(!bl(e)){n.push(e);continue}let o=n.find(r=>e.value.routeConfig===r.value.routeConfig);o!==void 0?(o.children.push(...e.children),t.add(o)):n.push(e)}for(let e of t){let o=Da(e.children);n.push(new nt(e.value,o))}return n.filter(e=>!t.has(e))}function ta(i){return i.data||{}}function ea(i){return i.resolve||{}}function _l(i,n,t,e,o,r){return it(a=>pl(i,n,t,e,a.extractedUrl,o,r).pipe(I(({state:s,tree:c})=>z(h({},a),{targetSnapshot:s,urlAfterRedirects:c}))))}function vl(i,n){return it(t=>{let{targetSnapshot:e,guards:{canActivateChecks:o}}=t;if(!o.length)return b(t);let r=new Set(o.map(c=>c.route)),a=new Set;for(let c of r)if(!a.has(c))for(let l of Ra(c))a.add(l);let s=0;return J(a).pipe(he(c=>r.has(c)?yl(c,e,i,n):(c.data=Gi(c,c.parent,i).resolve,b(void 0))),L(()=>s++),An(1),it(c=>s===a.size?b(t):Pt))})}function Ra(i){let n=i.children.map(t=>Ra(t)).flat();return[i,...n]}function yl(i,n,t,e){let o=i.routeConfig,r=i._resolve;return o?.title!==void 0&&!Ea(o)&&(r[ui]=o.title),Il(r,i,n,e).pipe(I(a=>(i._resolvedData=a,i.data=Gi(i,i.parent,t).resolve,null)))}function Il(i,n,t,e){let o=Gn(i);if(o.length===0)return b({});let r={};return J(o).pipe(it(a=>El(i[a],n,t,e).pipe(Lt(),L(s=>{if(s instanceof si)throw Yi(new Te,s);r[a]=s}))),An(1),cr(r),yt(a=>wa(a)?Pt:Kt(a)))}function El(i,n,t,e){let o=hi(n)??e,r=Oe(i,o),a=r.resolve?r.resolve(n,t):It(o,()=>r(n,t));return Ht(a)}function Hn(i){return st(n=>{let t=i(n);return t?J(t).pipe(I(()=>n)):b(n)})}var Ma=(()=>{class i{buildTitle(t){let e,o=t.root;for(;o!==void 0;)e=this.getResolvedTitleForRoute(o)??e,o=o.children.find(r=>r.outlet===y);return e}getResolvedTitleForRoute(t){return t.data[ui]}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:()=>m(Cl),providedIn:"root"})}}return i})(),Cl=(()=>{class i extends Ma{constructor(t){super(),this.title=t}updateTitle(t){let e=this.buildTitle(t);e!==void 0&&this.title.setTitle(e)}static{this.\u0275fac=function(e){return new(e||i)(u(Vr))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),fi=new E("",{providedIn:"root",factory:()=>({})}),Sl=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=H({type:i,selectors:[["ng-component"]],standalone:!0,features:[$],decls:1,vars:0,template:function(e,o){e&1&&et(0,"router-outlet")},dependencies:[Oc],encapsulation:2})}}return i})();function _o(i){let n=i.children&&i.children.map(_o),t=n?z(h({},i),{children:n}):h({},i);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==y&&(t.component=Sl),t}var di=new E(""),vo=(()=>{class i{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=m(Mi)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return b(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let e=Ht(t.loadComponent()).pipe(I(Oa),L(r=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=r}),pe(()=>{this.componentLoaders.delete(t)})),o=new Ii(e,()=>new _).pipe(vn());return this.componentLoaders.set(t,o),o}loadChildren(t,e){if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return b({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);let r=Al(e,this.compiler,t,this.onLoadEndListener).pipe(pe(()=>{this.childrenLoaders.delete(e)})),a=new Ii(r,()=>new _).pipe(vn());return this.childrenLoaders.set(e,a),a}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Al(i,n,t,e){return Ht(i.loadChildren()).pipe(I(Oa),it(o=>o instanceof Er||Array.isArray(o)?b(o):J(n.compileModuleAsync(o))),I(o=>{e&&e(i);let r,a,s=!1;return Array.isArray(o)?(a=o,s=!0):(r=o.create(t).injector,a=r.get(di,[],{optional:!0,self:!0}).flat()),{routes:a.map(_o),injector:r}}))}function wl(i){return i&&typeof i=="object"&&"default"in i}function Oa(i){return wl(i)?i.default:i}var yo=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:()=>m(Tl),providedIn:"root"})}}return i})(),Tl=(()=>{class i{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),ka=new E(""),Na=new E("");function xl(i,n,t){let e=i.get(Na),o=i.get(C);return i.get(A).runOutsideAngular(()=>{if(!o.startViewTransition||e.skipNextTransition)return e.skipNextTransition=!1,new Promise(l=>setTimeout(l));let r,a=new Promise(l=>{r=l}),s=o.startViewTransition(()=>(r(),Dl(i))),{onViewTransitionCreated:c}=e;return c&&It(i,()=>c({transition:s,from:n,to:t})),a})}function Dl(i){return new Promise(n=>{be({read:()=>setTimeout(n)},{injector:i})})}var Rl=new E(""),Qi=(()=>{class i{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new _,this.transitionAbortSubject=new _,this.configLoader=m(vo),this.environmentInjector=m(Xt),this.urlSerializer=m(Me),this.rootContexts=m(mi),this.location=m(Dt),this.inputBindingEnabled=m(Ki,{optional:!0})!==null,this.titleStrategy=m(Ma),this.options=m(fi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=m(yo),this.createViewTransition=m(ka,{optional:!0}),this.navigationErrorHandler=m(Rl,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>b(void 0),this.rootComponentType=null;let t=o=>this.events.next(new Jn(o)),e=o=>this.events.next(new to(o));this.configLoader.onLoadEndListener=e,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let e=++this.navigationId;this.transitions?.next(z(h(h({},this.transitions.value),t),{id:e}))}setupNavigations(t,e,o){return this.transitions=new V({id:0,currentUrlTree:e,currentRawUrl:e,extractedUrl:this.urlHandlingStrategy.extract(e),urlAfterRedirects:this.urlHandlingStrategy.extract(e),rawUrl:e,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:ei,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(G(r=>r.id!==0),I(r=>z(h({},r),{extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),st(r=>{let a=!1,s=!1;return b(r).pipe(st(c=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",ot.SupersededByNewNavigation),Pt;this.currentTransition=r,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?z(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!l&&d!=="reload"){let p="";return this.events.next(new zt(c.id,this.urlSerializer.serialize(c.rawUrl),p,Ui.IgnoredSameUrlNavigation)),c.resolve(!1),Pt}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return b(c).pipe(st(p=>{let v=this.transitions?.getValue();return this.events.next(new xe(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),v!==this.transitions?.getValue()?Pt:Promise.resolve(p)}),_l(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),L(p=>{r.targetSnapshot=p.targetSnapshot,r.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation=z(h({},this.currentNavigation),{finalUrl:p.urlAfterRedirects});let v=new zi(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(v)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:p,extractedUrl:v,source:x,restoredState:S,extras:M}=c,j=new xe(p,this.urlSerializer.serialize(v),x,S);this.events.next(j);let kt=ya(this.rootComponentType).snapshot;return this.currentTransition=r=z(h({},c),{targetSnapshot:kt,urlAfterRedirects:v,extras:z(h({},M),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=v,b(r)}else{let p="";return this.events.next(new zt(c.id,this.urlSerializer.serialize(c.extractedUrl),p,Ui.IgnoredByUrlHandlingStrategy)),c.resolve(!1),Pt}}),L(c=>{let l=new Zn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),I(c=>(this.currentTransition=r=z(h({},c),{guards:jc(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),r)),Zc(this.environmentInjector,c=>this.events.next(c)),L(c=>{if(r.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Yi(this.urlSerializer,c.guardsResult);let l=new Kn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),G(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",ot.GuardRejected),!1)),Hn(c=>{if(c.guards.canActivateChecks.length)return b(c).pipe(L(l=>{let d=new Xn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),st(l=>{let d=!1;return b(l).pipe(vl(this.paramsInheritanceStrategy,this.environmentInjector),L({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",ot.NoDataFromResolver)}}))}),L(l=>{let d=new Qn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),Hn(c=>{let l=d=>{let p=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(d.routeConfig).pipe(L(v=>{d.component=v}),I(()=>{})));for(let v of d.children)p.push(...l(v));return p};return ue(l(c.targetSnapshot.root)).pipe(Cn(null),ft(1))}),Hn(()=>this.afterPreactivation()),st(()=>{let{currentSnapshot:c,targetSnapshot:l}=r,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?J(d).pipe(I(()=>r)):b(r)}),I(c=>{let l=kc(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=r=z(h({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,r}),L(()=>{this.events.next(new ri)}),Fc(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),ft(1),L({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new bt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),W(this.transitionAbortSubject.pipe(L(c=>{throw c}))),pe(()=>{!a&&!s&&this.cancelNavigationTransition(r,"",ot.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),yt(c=>{if(s=!0,Aa(c))this.events.next(new Rt(r.id,this.urlSerializer.serialize(r.extractedUrl),c.message,c.cancellationCode)),Lc(c)?this.events.next(new De(c.url,c.navigationBehaviorOptions)):r.resolve(!1);else{let l=new oi(r.id,this.urlSerializer.serialize(r.extractedUrl),c,r.targetSnapshot??void 0);try{let d=It(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof si){let{message:p,cancellationCode:v}=Yi(this.urlSerializer,d);this.events.next(new Rt(r.id,this.urlSerializer.serialize(r.extractedUrl),p,v)),this.events.next(new De(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let p=t.errorHandler(c);r.resolve(!!p)}}catch(d){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(d)}}return Pt}))}))}cancelNavigationTransition(t,e,o){let r=new Rt(t.id,this.urlSerializer.serialize(t.extractedUrl),e,o);this.events.next(r),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),e=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==e?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Ml(i){return i!==ei}var Ol=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:()=>m(kl),providedIn:"root"})}}return i})(),go=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}},kl=(()=>{class i extends go{static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Si(i)))(o||i)}})()}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Pa=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:()=>m(Nl),providedIn:"root"})}}return i})(),Nl=(()=>{class i extends Pa{constructor(){super(...arguments),this.location=m(Dt),this.urlSerializer=m(Me),this.options=m(fi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=m(yo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Mt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ya(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(e=>{e.type==="popstate"&&t(e.url,e.state)})}handleRouterEvent(t,e){if(t instanceof xe)this.stateMemento=this.createStateMemento();else if(t instanceof zt)this.rawUrlTree=e.initialUrl;else if(t instanceof zi){if(this.urlUpdateStrategy==="eager"&&!e.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl);this.setBrowserUrl(e.targetBrowserUrl??o,e)}}else t instanceof ri?(this.currentUrlTree=e.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl),this.routerState=e.targetRouterState,this.urlUpdateStrategy==="deferred"&&!e.extras.skipLocationChange&&this.setBrowserUrl(e.targetBrowserUrl??this.rawUrlTree,e)):t instanceof Rt&&(t.code===ot.GuardRejected||t.code===ot.NoDataFromResolver)?this.restoreHistory(e):t instanceof oi?this.restoreHistory(e,!0):t instanceof bt&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,e){let o=t instanceof Mt?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(o)||e.extras.replaceUrl){let r=this.browserPageId,a=h(h({},e.extras.state),this.generateNgRouterState(e.id,r));this.location.replaceState(o,"",a)}else{let r=h(h({},e.extras.state),this.generateNgRouterState(e.id,this.browserPageId+1));this.location.go(o,"",r)}}restoreHistory(t,e=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,r=this.currentPageId-o;r!==0?this.location.historyGo(r):this.currentUrlTree===t.finalUrl&&r===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,e){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:e}:{navigationId:t}}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Si(i)))(o||i)}})()}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Je=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(Je||{});function La(i,n){i.events.pipe(G(t=>t instanceof bt||t instanceof Rt||t instanceof oi||t instanceof zt),I(t=>t instanceof bt||t instanceof zt?Je.COMPLETE:(t instanceof Rt?t.code===ot.Redirect||t.code===ot.SupersededByNewNavigation:!1)?Je.REDIRECTING:Je.FAILED),G(t=>t!==Je.REDIRECTING),ft(1)).subscribe(()=>{n()})}function Pl(i){throw i}var Ll={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Fl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ht=(()=>{class i{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.console=m(Mr),this.stateManager=m(Pa),this.options=m(fi,{optional:!0})||{},this.pendingTasks=m(br),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=m(Qi),this.urlSerializer=m(Me),this.location=m(Dt),this.urlHandlingStrategy=m(yo),this._events=new _,this.errorHandler=this.options.errorHandler||Pl,this.navigated=!1,this.routeReuseStrategy=m(Ol),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=m(di,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!m(Ki,{optional:!0}),this.eventsSubscription=new Q,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(e=>{try{let o=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(o!==null&&r!==null){if(this.stateManager.handleRouterEvent(e,r),e instanceof Rt&&e.code!==ot.Redirect&&e.code!==ot.SupersededByNewNavigation)this.navigated=!0;else if(e instanceof bt)this.navigated=!0;else if(e instanceof De){let a=e.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(e.url,o.currentRawUrl),c=h({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Ml(o.source)},a);this.scheduleNavigation(s,ei,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Bl(e)&&this._events.next(e)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ei,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,e)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",e)},0)})}navigateToSyncWithBrowser(t,e,o){let r={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=h({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(r.state=c)}let s=this.parseUrl(t);this.scheduleNavigation(s,e,a,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(_o),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,e={}){let{relativeTo:o,queryParams:r,fragment:a,queryParamsHandling:s,preserveFragment:c}=e,l=c?this.currentUrlTree.fragment:a,d=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":d=h(h({},this.currentUrlTree.queryParams),r);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=r||null}d!==null&&(d=this.removeEmptyProps(d));let p;try{let v=o?o.snapshot:this.routerState.snapshot.root;p=ga(v)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),p=this.currentUrlTree.root}return ba(p,t,d,l??null)}navigateByUrl(t,e={skipLocationChange:!1}){let o=ne(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,ei,null,e)}navigate(t,e={skipLocationChange:!1}){return jl(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,e){let o;if(e===!0?o=h({},Ll):e===!1?o=h({},Fl):o=e,ne(t))return qr(this.currentUrlTree,t,o);let r=this.parseUrl(t);return qr(this.currentUrlTree,r,o)}removeEmptyProps(t){return Object.entries(t).reduce((e,[o,r])=>(r!=null&&(e[o]=r),e),{})}scheduleNavigation(t,e,o,r,a){if(this.disposed)return Promise.resolve(!1);let s,c,l;a?(s=a.resolve,c=a.reject,l=a.promise):l=new Promise((p,v)=>{s=p,c=v});let d=this.pendingTasks.add();return La(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:e,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:r,resolve:s,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(p=>Promise.reject(p))}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function jl(i){for(let n=0;n<i.length;n++)if(i[n]==null)throw new Y(4008,!1)}function Bl(i){return!(i instanceof ri)&&!(i instanceof De)}var ia=(()=>{class i{constructor(t,e,o,r,a,s){this.router=t,this.route=e,this.tabIndexAttribute=o,this.renderer=r,this.el=a,this.locationStrategy=s,this.href=null,this.onChanges=new _,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=t.events.subscribe(l=>{l instanceof bt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(ne(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,e,o,r,a){let s=this.urlTree;if(s===null||this.isAnchorElement&&(t!==0||e||o||r||a||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(s,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let e=this.href===null?null:yr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(t,e){let o=this.renderer,r=this.el.nativeElement;e!==null?o.setAttribute(r,t,e):o.removeAttribute(r,t)}get urlTree(){return this.routerLinkInput===null?null:ne(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(e){return new(e||i)(f(ht),f(Vt),Ai("tabindex"),f(Rn),f(w),f(Ke))}}static{this.\u0275dir=O({type:i,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(e,o){e&1&&jt("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),e&2&&ct("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",N],skipLocationChange:[2,"skipLocationChange","skipLocationChange",N],replaceUrl:[2,"replaceUrl","replaceUrl",N],routerLink:"routerLink"},standalone:!0,features:[Z,Ct]})}}return i})(),zh=(()=>{class i{get isActive(){return this._isActive}constructor(t,e,o,r,a){this.router=t,this.element=e,this.renderer=o,this.cdr=r,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new P,this.routerEventsSubscription=t.events.subscribe(s=>{s instanceof bt&&this.update()})}ngAfterContentInit(){b(this.links.changes,b(null)).pipe(Ye()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=J(t).pipe(Ye()).subscribe(e=>{this._isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(t){let e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let e=Ul(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let r=o.urlTree;return r?t.isActive(r,e):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static{this.\u0275fac=function(e){return new(e||i)(f(ht),f(w),f(Rn),f(xt),f(ia,8))}}static{this.\u0275dir=O({type:i,selectors:[["","routerLinkActive",""]],contentQueries:function(e,o,r){if(e&1&&xr(r,ia,5),e&2){let a;Bt(a=Ut())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Ct]})}}return i})();function Ul(i){return!!i.paths}var Zi=class{};var zl=(()=>{class i{constructor(t,e,o,r,a){this.router=t,this.injector=o,this.preloadingStrategy=r,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(G(t=>t instanceof bt),he(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){let o=[];for(let r of e){r.providers&&!r._injector&&(r._injector=On(r.providers,t,`Route: ${r.path}`));let a=r._injector??t,s=r._loadedInjector??a;(r.loadChildren&&!r._loadedRoutes&&r.canLoad===void 0||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(a,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(s,r.children??r._loadedRoutes))}return J(o).pipe(Ye())}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>{let o;e.loadChildren&&e.canLoad===void 0?o=this.loader.loadChildren(t,e):o=b(null);let r=o.pipe(it(a=>a===null?b(void 0):(e._loadedRoutes=a.routes,e._loadedInjector=a.injector,this.processRoutes(a.injector??t,a.routes))));if(e.loadComponent&&!e._loadedComponent){let a=this.loader.loadComponent(e);return J([r,a]).pipe(Ye())}else return r})}static{this.\u0275fac=function(e){return new(e||i)(u(ht),u(Mi),u(Xt),u(Zi),u(vo))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Io=new E(""),Fa=(()=>{class i{constructor(t,e,o,r,a={}){this.urlSerializer=t,this.transitions=e,this.viewportScroller=o,this.zone=r,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.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(t=>{t instanceof xe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof bt?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof zt&&t.code===Ui.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Vi&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Vi(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,e))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(e){Ti()}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac})}}return i})();function Vh(i,...n){return pr([{provide:di,multi:!0,useValue:i},[],{provide:Vt,useFactory:ja,deps:[ht]},{provide:Pn,multi:!0,useFactory:Ba},n.map(t=>t.\u0275providers)])}function ja(i){return i.routerState.root}function ke(i,n){return{\u0275kind:i,\u0275providers:n}}function Hh(i={}){return ke(4,[{provide:Io,useFactory:()=>{let t=m(Ln),e=m(A),o=m(Qi),r=m(Me);return new Fa(r,o,t,e,i)}}])}function Ba(){let i=m(tt);return n=>{let t=i.get(Ri);if(n!==t.components[0])return;let e=i.get(ht),o=i.get(Ua);i.get(Eo)===1&&e.initialNavigation(),i.get(za,null,wn.Optional)?.setUpPreloading(),i.get(Io,null,wn.Optional)?.init(),e.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Ua=new E("",{factory:()=>new _}),Eo=new E("",{providedIn:"root",factory:()=>1});function Vl(){return ke(2,[{provide:Eo,useValue:0},{provide:Nn,multi:!0,deps:[tt],useFactory:n=>{let t=n.get(Fr,Promise.resolve());return()=>t.then(()=>new Promise(e=>{let o=n.get(ht),r=n.get(Ua);La(o,()=>{e(!0)}),n.get(Qi).afterPreactivation=()=>(e(!0),r.closed?b(void 0):r),o.initialNavigation()}))}}])}function Hl(){return ke(3,[{provide:Nn,multi:!0,useFactory:()=>{let n=m(ht);return()=>{n.setUpLocationChangeListener()}}},{provide:Eo,useValue:2}])}var za=new E("");function $l(i){return ke(0,[{provide:za,useExisting:zl},{provide:Zi,useExisting:i}])}function Gl(){return ke(8,[Qr,{provide:Ki,useExisting:Qr}])}function Wl(i){let n=[{provide:ka,useValue:xl},{provide:Na,useValue:h({skipNextTransition:!!i?.skipInitialTransition},i)}];return ke(9,n)}var na=new E("ROUTER_FORROOT_GUARD"),Yl=[Dt,{provide:Me,useClass:Te},ht,mi,{provide:Vt,useFactory:ja,deps:[ht]},vo,[]],$h=(()=>{class i{constructor(t){}static forRoot(t,e){return{ngModule:i,providers:[Yl,[],{provide:di,multi:!0,useValue:t},{provide:na,useFactory:Xl,deps:[[ht,new Tn,new xn]]},{provide:fi,useValue:e||{}},e?.useHash?Zl():Kl(),ql(),e?.preloadingStrategy?$l(e.preloadingStrategy).\u0275providers:[],e?.initialNavigation?Ql(e):[],e?.bindToComponentInputs?Gl().\u0275providers:[],e?.enableViewTransitions?Wl().\u0275providers:[],Jl()]}}static forChild(t){return{ngModule:i,providers:[{provide:di,multi:!0,useValue:t}]}}static{this.\u0275fac=function(e){return new(e||i)(u(na,8))}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({})}}return i})();function ql(){return{provide:Io,useFactory:()=>{let i=m(Ln),n=m(A),t=m(fi),e=m(Qi),o=m(Me);return t.scrollOffset&&i.setOffset(t.scrollOffset),new Fa(o,e,i,n,t)}}}function Zl(){return{provide:Ke,useClass:Br}}function Kl(){return{provide:Ke,useClass:jr}}function Xl(i){return"guarded"}function Ql(i){return[i.initialNavigation==="disabled"?Hl().\u0275providers:[],i.initialNavigation==="enabledBlocking"?Vl().\u0275providers:[]]}var oa=new E("");function Jl(){return[{provide:oa,useFactory:Ba},{provide:Pn,multi:!0,useExisting:oa}]}var So;try{So=typeof Intl<"u"&&Intl.v8BreakIterator}catch{So=!1}var k=(()=>{class i{constructor(t){this._platformId=t,this.isBrowser=this._platformId?zr(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||So)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(e){return new(e||i)(u(_r))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Ne,Va=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Xh(){if(Ne)return Ne;if(typeof document!="object"||!document)return Ne=new Set(Va),Ne;let i=document.createElement("input");return Ne=new Set(Va.filter(n=>(i.setAttribute("type",n),i.type===n))),Ne}var gi;function ed(){if(gi==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>gi=!0}))}finally{gi=gi||!1}return gi}function Pe(i){return ed()?i:!!i.capture}var _t=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i}(_t||{}),Ji,oe;function tn(){if(oe==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return oe=!1,oe;if("scrollBehavior"in document.documentElement.style)oe=!0;else{let i=Element.prototype.scrollTo;i?oe=!/\{\s*\[native code\]\s*\}/.test(i.toString()):oe=!1}}return oe}function Le(){if(typeof document!="object"||!document)return _t.NORMAL;if(Ji==null){let i=document.createElement("div"),n=i.style;i.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let t=document.createElement("div"),e=t.style;e.width="2px",e.height="1px",i.appendChild(t),document.body.appendChild(i),Ji=_t.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,Ji=i.scrollLeft===0?_t.NEGATED:_t.INVERTED),i.remove()}return Ji}var Co;function id(){if(Co==null){let i=typeof document<"u"?document.head:null;Co=!!(i&&(i.createShadowRoot||i.attachShadow))}return Co}function Ha(i){if(id()){let n=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function $a(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let n=i.shadowRoot.activeElement;if(n===i)break;i=n}return i}function rt(i){return i.composedPath?i.composedPath()[0]:i.target}function bi(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Fe(i,...n){return n.length?n.some(t=>i[t]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}function nd(i){return i!=null&&`${i}`!="false"}function en(i,n=0){return od(i)?Number(i):arguments.length===2?n:0}function od(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function je(i){return Array.isArray(i)?i:[i]}function F(i){return i==null?"":typeof i=="string"?i:`${i}px`}function vt(i){return i instanceof w?i.nativeElement:i}function rd(i){if(i.type==="characterData"&&i.target instanceof Comment)return!0;if(i.type==="childList"){for(let n=0;n<i.addedNodes.length;n++)if(!(i.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<i.removedNodes.length;n++)if(!(i.removedNodes[n]instanceof Comment))return!1;return!0}return!1}var Ga=(()=>{class i{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),ad=(()=>{class i{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map,this._ngZone=m(A)}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){let e=vt(t);return new Nt(o=>{let a=this._observeElement(e).pipe(I(s=>s.filter(c=>!rd(c))),G(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{o.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(t))this._observedElements.get(t).count++;else{let e=new _,o=this._mutationObserverFactory.create(r=>e.next(r));o&&o.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:o,stream:e,count:1})}return this._observedElements.get(t).stream})}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){let{observer:e,stream:o}=this._observedElements.get(t);e&&e.disconnect(),o.complete(),this._observedElements.delete(t)}}static{this.\u0275fac=function(e){return new(e||i)(u(Ga))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),dm=(()=>{class i{get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=en(t),this._subscribe()}constructor(t,e){this._contentObserver=t,this._elementRef=e,this.event=new P,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let t=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?t.pipe(me(this.debounce)):t).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(e){return new(e||i)(f(ad),f(w))}}static{this.\u0275dir=O({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",N],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[Z]})}}return i})(),Wa=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({providers:[Ga]})}}return i})();var Ya=new Set,ae,sd=(()=>{class i{constructor(t,e){this._platform=t,this._nonce=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ld}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&cd(t,this._nonce),this._matchMedia(t)}static{this.\u0275fac=function(e){return new(e||i)(u(k),u(vr,8))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function cd(i,n){if(!Ya.has(i))try{ae||(ae=document.createElement("style"),n&&ae.setAttribute("nonce",n),ae.setAttribute("type","text/css"),document.head.appendChild(ae)),ae.sheet&&(ae.sheet.insertRule(`@media ${i} {body{ }}`,0),Ya.add(i))}catch(t){console.error(t)}}function ld(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var nn=(()=>{class i{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new _}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return qa(je(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=qa(je(t)).map(a=>this._registerQuery(a).observable),r=ue(o);return r=Ei(r.pipe(ft(1)),r.pipe(Ci(1),me(0))),r.pipe(I(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:l})=>{s.matches=s.matches||c,s.breakpoints[l]=c}),s}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let e=this._mediaMatcher.matchMedia(t),r={observable:new Nt(a=>{let s=c=>this._zone.run(()=>a.next(c));return e.addListener(s),()=>{e.removeListener(s)}}).pipe(qe(e),I(({matches:a})=>({query:t,matches:a})),W(this._destroySubject)),mql:e};return this._queries.set(t,r),r}static{this.\u0275fac=function(e){return new(e||i)(u(sd),u(A))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function qa(i){return i.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}var Za={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var es=" ";function Fm(i,n,t){let e=is(i,n);t=t.trim(),!e.some(o=>o.trim()===t)&&(e.push(t),i.setAttribute(n,e.join(es)))}function jm(i,n,t){let e=is(i,n);t=t.trim();let o=e.filter(r=>r!==t);o.length?i.setAttribute(n,o.join(es)):i.removeAttribute(n)}function is(i,n){return i.getAttribute(n)?.match(/\S+/g)??[]}var Dd=200,wo=class{constructor(n,t){this._letterKeyStream=new _,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new _,this.selectedItem=this._selectedItem;let e=typeof t?.debounceInterval=="number"?t.debounceInterval:Dd;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(n),this._setupKeyHandler(e)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let t=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(L(t=>this._pressedLetters.push(t)),me(n),G(()=>this._pressedLetters.length>0),I(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let e=1;e<this._items.length+1;e++){let o=(this._selectedItemIndex+e)%this._items.length,r=this._items[o];if(!this._skipPredicateFn?.(r)&&r.getLabel?.().toLocaleUpperCase().trim().indexOf(t)===0){this._selectedItem.next(r);break}}this._pressedLetters=[]})}},an=class{constructor(n,t){this._items=n,this._activeItemIndex=-1,this._activeItem=Ir(null),this._wrap=!1,this._typeaheadSubscription=Q.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this.tabOut=new _,this.change=new _,n instanceof Dn?this._itemChangesSubscription=n.changes.subscribe(e=>this._itemsChanged(e.toArray())):Mn(n)&&(this._effectRef=Pr(()=>this._itemsChanged(n()),{injector:t}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new wo(t,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.setActiveItem(e)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,t=10){return this._pageUpAndDown={enabled:n,delta:t},this}setActiveItem(n){let t=this._activeItem();this.updateActiveItem(n),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(n){let t=n.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!n[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(r<a?r:a-1,-1);break}else return;default:(o||Fe(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let t=this._getItemsArray(),e=typeof n=="number"?n:t.indexOf(n),o=t[e];this._activeItem.set(o??null),this._activeItemIndex=e,this._typeahead?.setCurrentSelectedItemIndex(e)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let t=this._getItemsArray();for(let e=1;e<=t.length;e++){let o=(this._activeItemIndex+n*e+t.length)%t.length,r=t[o];if(!this._skipPredicateFn(r)){this.setActiveItem(o);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,t){let e=this._getItemsArray();if(e[n]){for(;this._skipPredicateFn(e[n]);)if(n+=t,!e[n])return;this.setActiveItem(n)}}_getItemsArray(){return Mn(this._items)?this._items():this._items instanceof Dn?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let t=this._activeItem();if(t){let e=n.indexOf(t);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e,this._typeahead?.setCurrentSelectedItemIndex(e))}}},Ka=class extends an{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}},Xa=class extends an{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var Rd=(()=>{class i{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return Od(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let e=Md(Ud(t));if(e&&(Qa(e)===-1||!this.isVisible(e)))return!1;let o=t.nodeName.toLowerCase(),r=Qa(t);return t.hasAttribute("contenteditable")?r!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!jd(t)?!1:o==="audio"?t.hasAttribute("controls")?r!==-1:!1:o==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,e){return Bd(t)&&!this.isDisabled(t)&&(e?.ignoreVisibility||this.isVisible(t))}static{this.\u0275fac=function(e){return new(e||i)(u(k))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Md(i){try{return i.frameElement}catch{return null}}function Od(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function kd(i){let n=i.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function Nd(i){return Ld(i)&&i.type=="hidden"}function Pd(i){return Fd(i)&&i.hasAttribute("href")}function Ld(i){return i.nodeName.toLowerCase()=="input"}function Fd(i){return i.nodeName.toLowerCase()=="a"}function ns(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let n=i.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function Qa(i){if(!ns(i))return null;let n=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function jd(i){let n=i.nodeName.toLowerCase(),t=n==="input"&&i.type;return t==="text"||t==="password"||n==="select"||n==="textarea"}function Bd(i){return Nd(i)?!1:kd(i)||Pd(i)||i.hasAttribute("contenteditable")||ns(i)}function Ud(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var To=class{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,t,e,o,r=!1,a){this._element=n,this._checker=t,this._ngZone=e,this._document=o,this._injector=a,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){let n=this._startAnchor,t=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let t=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let e=this._getFirstTabbableElement(t);return e?.focus(n),!!e}return t.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let t=this._getRegionBoundary("start");return t&&t.focus(n),!!t}focusLastTabbableElement(n){let t=this._getRegionBoundary("end");return t&&t.focus(n),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let t=n.children;for(let e=0;e<t.length;e++){let o=t[e].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[e]):null;if(o)return o}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let t=n.children;for(let e=t.length-1;e>=0;e--){let o=t[e].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[e]):null;if(o)return o}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,t){n?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?be(n,{injector:this._injector}):setTimeout(n)}},zd=(()=>{class i{constructor(t,e,o){this._checker=t,this._ngZone=e,this._injector=m(tt),this._document=o}create(t,e=!1){return new To(t,this._checker,this._ngZone,this._document,e,this._injector)}static{this.\u0275fac=function(e){return new(e||i)(u(Rd),u(A),u(C))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Bm=(()=>{class i{get enabled(){return this.focusTrap?.enabled||!1}set enabled(t){this.focusTrap&&(this.focusTrap.enabled=t)}constructor(t,e,o){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,m(k).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(t){let e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=$a(),this.focusTrap?.focusInitialElementWhenReady()}static{this.\u0275fac=function(e){return new(e||i)(f(w),f(zd),f(C))}}static{this.\u0275dir=O({type:i,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",N],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",N]},exportAs:["cdkTrapFocus"],standalone:!0,features:[Z,Ct]})}}return i})();function xo(i){return i.buttons===0||i.detail===0}function Do(i){let n=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var Vd=new E("cdk-input-modality-detector-options"),Hd={ignoreKeys:[18,17,224,91,16]},os=650,Be=Pe({passive:!0,capture:!0}),$d=(()=>{class i{get mostRecentModality(){return this._modality.value}constructor(t,e,o,r){this._platform=t,this._mostRecentTarget=null,this._modality=new V(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=rt(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<os||(this._modality.next(xo(a)?"keyboard":"mouse"),this._mostRecentTarget=rt(a))},this._onTouchstart=a=>{if(Do(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=rt(a)},this._options=h(h({},Hd),r),this.modalityDetected=this._modality.pipe(Ci(1)),this.modalityChanged=this.modalityDetected.pipe(Sn()),t.isBrowser&&e.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Be),o.addEventListener("mousedown",this._onMousedown,Be),o.addEventListener("touchstart",this._onTouchstart,Be)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Be),document.removeEventListener("mousedown",this._onMousedown,Be),document.removeEventListener("touchstart",this._onTouchstart,Be))}static{this.\u0275fac=function(e){return new(e||i)(u(k),u(A),u(C),u(Vd,8))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Gd=new E("liveAnnouncerElement",{providedIn:"root",factory:Wd});function Wd(){return null}var Yd=new E("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),qd=0,rs=(()=>{class i{constructor(t,e,o,r){this._ngZone=e,this._defaultOptions=r,this._document=o,this._liveElement=t||this._createLiveElement()}announce(t,...e){let o=this._defaultOptions,r,a;return e.length===1&&typeof e[0]=="number"?a=e[0]:[r,a]=e,this.clear(),clearTimeout(this._previousTimeout),r||(r=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let r=0;r<e.length;r++)e[r].remove();return o.classList.add(t),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${qd++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(t){let e=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<e.length;o++){let r=e[o],a=r.getAttribute("aria-owns");a?a.indexOf(t)===-1&&r.setAttribute("aria-owns",a+" "+t):r.setAttribute("aria-owns",t)}}static{this.\u0275fac=function(e){return new(e||i)(u(Gd,8),u(A),u(C),u(Yd,8))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var rn=function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i}(rn||{}),Zd=new E("cdk-focus-monitor-default-options"),on=Pe({passive:!0,capture:!0}),Ro=(()=>{class i{constructor(t,e,o,r,a){this._ngZone=t,this._platform=e,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 _,this._rootNodeFocusAndBlurListener=s=>{let c=rt(s);for(let l=c;l;l=l.parentElement)s.type==="focus"?this._onFocus(s,l):this._onBlur(s,l)},this._document=r,this._detectionMode=a?.detectionMode||rn.IMMEDIATE}monitor(t,e=!1){let o=vt(t);if(!this._platform.isBrowser||o.nodeType!==1)return b();let r=Ha(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return e&&(a.checkChildren=!0),a.subject;let s={checkChildren:e,subject:new _,rootNode:r};return this._elementInfo.set(o,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(t){let e=vt(t),o=this._elementInfo.get(e);o&&(o.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(o))}focusVia(t,e,o){let r=vt(t),a=this._getDocument().activeElement;r===a?this._getClosestElementsInfo(r).forEach(([s,c])=>this._originChanged(s,e,c)):(this._setOrigin(e),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===rn.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,e){t.classList.toggle("cdk-focused",!!e),t.classList.toggle("cdk-touch-focused",e==="touch"),t.classList.toggle("cdk-keyboard-focused",e==="keyboard"),t.classList.toggle("cdk-mouse-focused",e==="mouse"),t.classList.toggle("cdk-program-focused",e==="program")}_setOrigin(t,e=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&e,this._detectionMode===rn.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?os:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,e){let o=this._elementInfo.get(e),r=rt(t);!o||!o.checkChildren&&e!==r||this._originChanged(e,this._getFocusOrigin(r),o)}_onBlur(t,e){let o=this._elementInfo.get(e);!o||o.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(o,null))}_emitOrigin(t,e){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let e=t.rootNode,o=this._rootNodeFocusListenerCount.get(e)||0;o||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,on),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,on)}),this._rootNodeFocusListenerCount.set(e,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(W(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(t){let e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){let o=this._rootNodeFocusListenerCount.get(e);o>1?this._rootNodeFocusListenerCount.set(e,o-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,on),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,on),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,e,o){this._setClasses(t,e),this._emitOrigin(o,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){let e=[];return this._elementInfo.forEach((o,r)=>{(r===t||o.checkChildren&&r.contains(t))&&e.push([r,o])}),e}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:e,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!e||e===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let r=t.labels;if(r){for(let a=0;a<r.length;a++)if(r[a].contains(e))return!0}return!1}static{this.\u0275fac=function(e){return new(e||i)(u(A),u(k),u($d),u(C,8),u(Zd,8))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Um=(()=>{class i{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this._focusOrigin=null,this.cdkFocusChange=new P}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,t.nodeType===1&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(e=>{this._focusOrigin=e,this.cdkFocusChange.emit(e)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(e){return new(e||i)(f(w),f(Ro))}}static{this.\u0275dir=O({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}}return i})(),se=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(se||{}),Ja="cdk-high-contrast-black-on-white",ts="cdk-high-contrast-white-on-black",Ao="cdk-high-contrast-active",Mo=(()=>{class i{constructor(t,e){this._platform=t,this._document=e,this._breakpointSubscription=m(nn).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return se.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let e=this._document.defaultView||window,o=e&&e.getComputedStyle?e.getComputedStyle(t):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return se.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return se.BLACK_ON_WHITE}return se.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(Ao,Ja,ts),this._hasCheckedHighContrastMode=!0;let e=this.getHighContrastMode();e===se.BLACK_ON_WHITE?t.add(Ao,Ja):e===se.WHITE_ON_BLACK&&t.add(Ao,ts)}}static{this.\u0275fac=function(e){return new(e||i)(u(k),u(C))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),zm=(()=>{class i{constructor(t){t._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(e){return new(e||i)(u(Mo))}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({imports:[Wa]})}}return i})();var Kd=new E("cdk-dir-doc",{providedIn:"root",factory:Xd});function Xd(){return m(C)}var Qd=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Jd(i){let n=i?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?Qd.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var _i=(()=>{class i{constructor(t){if(this.value="ltr",this.change=new P,t){let e=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.value=Jd(e||o||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(e){return new(e||i)(u(Kd,8))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var $t=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({})}}return i})();var iu=["text"],nu=[[["mat-icon"]],"*"],ou=["mat-icon","*"];function ru(i,n){if(i&1&&et(0,"mat-pseudo-checkbox",1),i&2){let t=Jt();Di("disabled",t.disabled)("state",t.selected?"checked":"unchecked")}}function au(i,n){if(i&1&&et(0,"mat-pseudo-checkbox",3),i&2){let t=Jt();Di("disabled",t.disabled)}}function su(i,n){if(i&1&&(K(0,"span",4),Tt(1),X()),i&2){let t=Jt();q(),te("(",t.group.label,")")}}var cu=["mat-internal-form-field",""],lu=["*"];function du(){return!0}var uu=new E("mat-sanity-checks",{providedIn:"root",factory:du}),at=(()=>{class i{constructor(t,e,o){this._sanityChecks=e,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return bi()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}static{this.\u0275fac=function(e){return new(e||i)(u(Mo),u(uu,8),u(C))}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({imports:[$t,$t]})}}return i})();var cs=class{constructor(n,t,e,o,r){this._defaultMatcher=n,this.ngControl=t,this._parentFormGroup=e,this._parentForm=o,this._stateChanges=r,this.errorState=!1}updateErrorState(){let n=this.errorState,t=this._parentFormGroup||this._parentForm,e=this.matcher||this._defaultMatcher,o=this.ngControl?this.ngControl.control:null,r=e?.isErrorState(o,t)??!1;r!==n&&(this.errorState=r,this._stateChanges.next())}};var ls=new E("MAT_DATE_LOCALE",{providedIn:"root",factory:hu});function hu(){return m(kr)}var cn=class{constructor(){this._localeChanges=new _,this.localeChanges=this._localeChanges}getValidDateOrNull(n){return this.isDateInstance(n)&&this.isValid(n)?n:null}deserialize(n){return n==null||this.isDateInstance(n)&&this.isValid(n)?n:this.invalid()}setLocale(n){this.locale=n,this._localeChanges.next()}compareDate(n,t){return this.getYear(n)-this.getYear(t)||this.getMonth(n)-this.getMonth(t)||this.getDate(n)-this.getDate(t)}sameDate(n,t){if(n&&t){let e=this.isValid(n),o=this.isValid(t);return e&&o?!this.compareDate(n,t):e==o}return n==t}clampDate(n,t,e){return t&&this.compareDate(n,t)<0?t:e&&this.compareDate(n,e)>0?e:n}},mu=new E("mat-date-formats"),pu=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ko(i,n){let t=Array(i);for(let e=0;e<i;e++)t[e]=n(e);return t}var fu=(()=>{class i extends cn{constructor(t){super(),this.useUtcForDisplay=!1,this._matDateLocale=m(ls,{optional:!0}),t!==void 0&&(this._matDateLocale=t),super.setLocale(this._matDateLocale)}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){let e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return ko(12,o=>this._format(e,new Date(2017,o,1)))}getDateNames(){let t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ko(31,e=>this._format(t,new Date(2017,0,e+1)))}getDayOfWeekNames(t){let e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return ko(7,o=>this._format(e,new Date(2017,0,o+1)))}getYearName(t){let e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(e,t)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let t=new Intl.Locale(this.locale),e=(t.getWeekInfo?.()||t.weekInfo)?.firstDay??0;return e===7?0:e}return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,o){let r=this._createDateWithOverflow(t,e,o);return r.getMonth()!=e,r}today(){return new Date}parse(t,e){return typeof t=="number"?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,z(h({},e),{timeZone:"utc"}));return this._format(o,t)}addCalendarYears(t,e){return this.addCalendarMonths(t,e*12)}addCalendarMonths(t,e){let o=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(o)!=((this.getMonth(t)+e)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if(typeof t=="string"){if(!t)return null;if(pu.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,o){let r=new Date;return r.setFullYear(t,e,o),r.setHours(0,0,0,0),r}_2digit(t){return("00"+t).slice(-2)}_format(t,e){let o=new Date;return o.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),o.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(o)}static{this.\u0275fac=function(e){return new(e||i)(u(ls,8))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac})}}return i})(),gu={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};function bp(i=gu){return[{provide:cn,useClass:fu},{provide:mu,useValue:i}]}var _p=(()=>{class i{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var mt=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(mt||{}),Lo=class{constructor(n,t,e,o=!1){this._renderer=n,this.element=t,this.config=e,this._animationForciblyDisabledThroughCss=o,this.state=mt.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},ds=Pe({passive:!0,capture:!0}),Fo=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let t=rt(n);t&&this._events.get(n.type)?.forEach((e,o)=>{(o===t||o.contains(t))&&e.forEach(r=>r.handleEvent(n))})}}addHandler(n,t,e,o){let r=this._events.get(t);if(r){let a=r.get(e);a?a.add(o):r.set(e,new Set([o]))}else this._events.set(t,new Map([[e,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,ds)})}removeHandler(n,t,e){let o=this._events.get(n);if(!o)return;let r=o.get(t);r&&(r.delete(e),r.size===0&&o.delete(t),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,ds)))}},us={enterDuration:225,exitDuration:150},bu=800,hs=Pe({passive:!0,capture:!0}),ms=["mousedown","touchstart"],ps=["mouseup","mouseleave","touchend","touchcancel"],jo=class i{static{this._eventManager=new Fo}constructor(n,t,e,o){this._target=n,this._ngZone=t,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=vt(e))}fadeInRipple(n,t,e={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=h(h({},us),e.animation);e.centered&&(n=o.left+o.width/2,t=o.top+o.height/2);let a=e.radius||_u(n,t,o),s=n-o.left,c=t-o.top,l=r.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${c-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,e.color!=null&&(d.style.backgroundColor=e.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let p=window.getComputedStyle(d),v=p.transitionProperty,x=p.transitionDuration,S=v==="none"||x==="0s"||x==="0s, 0s"||o.width===0&&o.height===0,M=new Lo(this,d,e,S);d.style.transform="scale3d(1, 1, 1)",M.state=mt.FADING_IN,e.persistent||(this._mostRecentTransientRipple=M);let j=null;return!S&&(l||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let kt=()=>{j&&(j.fallbackTimer=null),clearTimeout(Zt),this._finishRippleTransition(M)},Ge=()=>this._destroyRipple(M),Zt=setTimeout(Ge,l+100);d.addEventListener("transitionend",kt),d.addEventListener("transitioncancel",Ge),j={onTransitionEnd:kt,onTransitionCancel:Ge,fallbackTimer:Zt}}),this._activeRipples.set(M,j),(S||!l)&&this._finishRippleTransition(M),M}fadeOutRipple(n){if(n.state===mt.FADING_OUT||n.state===mt.HIDDEN)return;let t=n.element,e=h(h({},us),n.config.animation);t.style.transitionDuration=`${e.exitDuration}ms`,t.style.opacity="0",n.state=mt.FADING_OUT,(n._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let t=vt(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,ms.forEach(e=>{i._eventManager.addHandler(this._ngZone,e,t,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ps.forEach(t=>{this._triggerElement.addEventListener(t,this,hs)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===mt.FADING_IN?this._startFadeOutTransition(n):n.state===mt.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let t=n===this._mostRecentTransientRipple,{persistent:e}=n.config;n.state=mt.VISIBLE,!e&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=mt.HIDDEN,t!==null&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel),t.fallbackTimer!==null&&clearTimeout(t.fallbackTimer)),n.element.remove()}_onMousedown(n){let t=xo(n),e=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+bu;!this._target.rippleDisabled&&!t&&!e&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Do(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let t=n.changedTouches;if(t)for(let e=0;e<t.length;e++)this.fadeInRipple(t[e].clientX,t[e].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let t=n.state===mt.VISIBLE||n.config.terminateOnPointerUp&&n.state===mt.FADING_IN;!n.config.persistent&&t&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(ms.forEach(t=>i._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&(ps.forEach(t=>n.removeEventListener(t,this,hs)),this._pointerUpEventsRegistered=!1))}};function _u(i,n,t){let e=Math.max(Math.abs(i-t.left),Math.abs(i-t.right)),o=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(e*e+o*o)}var _s=new E("mat-ripple-global-options"),vs=(()=>{class i{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,e,o,r,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new jo(this,e,t,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:h(h(h({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,e,h(h({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,h(h({},this.rippleConfig),t))}static{this.\u0275fac=function(e){return new(e||i)(f(w),f(A),f(k),f(_s,8),f(St,8))}}static{this.\u0275dir=O({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,o){e&2&&lt("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return i})(),Uo=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({imports:[at,at]})}}return i})(),vu=(()=>{class i{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(e){return new(e||i)(f(St,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,o){e&2&&lt("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:[$],decls:0,vars:0,template:function(e,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, var(--mat-app-primary))}.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, var(--mat-app-on-surface-variant));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, var(--mat-app-primary));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, var(--mat-app-on-primary))}.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, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return i})(),yu=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({imports:[at]})}}return i})(),Iu=new E("MAT_OPTION_PARENT_COMPONENT");var Eu=new E("MatOptgroup");var Cu=0,Bo=class{constructor(n,t=!1){this.source=n,this.isUserInput=t}},vp=(()=>{class i{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,e,o,r){this._element=t,this._changeDetectorRef=e,this._parent=o,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Cu++}`,this.onSelectionChange=new P,this._stateChanges=new _}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,e){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!Fe(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Bo(this,t))}static{this.\u0275fac=function(e){return new(e||i)(f(w),f(xt),f(Iu,8),f(Eu,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-option"]],viewQuery:function(e,o){if(e&1&&ve(iu,7),e&2){let r;Bt(r=Ut())&&(o._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(e,o){e&1&&jt("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),e&2&&(Ar("id",o.id),ct("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),lt("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:[2,"disabled","disabled",N]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Z,$],ngContentSelectors:ou,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,o){e&1&&(wt(nu),ge(0,ru,1,2,"mat-pseudo-checkbox",1),dt(1),K(2,"span",2,0),dt(4,1),X(),ge(5,au,1,1,"mat-pseudo-checkbox",3)(6,su,2,1,"span",4),et(7,"div",5)),e&2&&(_e(o.multiple?0:-1),q(5),_e(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),q(),_e(o.group&&o.group._inert?6:-1),q(),Di("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[vu,vs],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.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);outline:0}.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, var(--mat-app-on-secondary-container))}.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, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.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})}}return i})();function yp(i,n,t){if(t.length){let e=n.toArray(),o=t.toArray(),r=0;for(let a=0;a<i+1;a++)e[a].group&&e[a].group===o[r]&&r++;return r}return 0}function Ip(i,n,t,e){return i<t?i:i+n>t+e?Math.max(0,i-e+n):t}var Ep=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({imports:[Uo,at,yu]})}}return i})(),fs={capture:!0},gs=["focus","mousedown","mouseenter","touchstart"],No="mat-ripple-loader-uninitialized",Po="mat-ripple-loader-class-name",bs="mat-ripple-loader-centered",sn="mat-ripple-loader-disabled",ys=(()=>{class i{constructor(){this._document=m(C,{optional:!0}),this._animationMode=m(St,{optional:!0}),this._globalRippleOptions=m(_s,{optional:!0}),this._platform=m(k),this._ngZone=m(A),this._hosts=new Map,this._onInteraction=t=>{let e=rt(t);if(e instanceof HTMLElement){let o=e.closest(`[${No}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}},this._ngZone.runOutsideAngular(()=>{for(let t of gs)this._document?.addEventListener(t,this._onInteraction,fs)})}ngOnDestroy(){let t=this._hosts.keys();for(let e of t)this.destroyRipple(e);for(let e of gs)this._document?.removeEventListener(e,this._onInteraction,fs)}configureRipple(t,e){t.setAttribute(No,this._globalRippleOptions?.namespace??""),(e.className||!t.hasAttribute(Po))&&t.setAttribute(Po,e.className||""),e.centered&&t.setAttribute(bs,""),e.disabled&&t.setAttribute(sn,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,e){let o=this._hosts.get(t);if(o){o.disabled=e;return}e?t.setAttribute(sn,""):t.removeAttribute(sn)}_createRipple(t){if(!this._document)return;let e=this._hosts.get(t);if(e)return e;t.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",t.getAttribute(Po)),t.append(o);let r=new vs(new w(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return r._isInitialized=!0,r.trigger=t,r.centered=t.hasAttribute(bs),r.disabled=t.hasAttribute(sn),this.attachRipple(t,r),r}attachRipple(t,e){t.removeAttribute(No),this._hosts.set(t,e)}destroyRipple(t){let e=this._hosts.get(t);e&&(e.ngOnDestroy(),this._hosts.delete(t))}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Cp=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=H({type:i,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(e,o){e&2&&lt("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[$],attrs:cu,ngContentSelectors:lu,decls:1,vars:0,template:function(e,o){e&1&&(wt(),dt(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}}return i})();var Su=["*"],ln;function Au(){if(ln===void 0&&(ln=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(ln=i.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return ln}function vi(i){return Au()?.createHTML(i)||i}function Is(i){return Error(`Unable to find icon with the name "${i}"`)}function wu(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Es(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function Cs(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var Ot=class{constructor(n,t,e){this.url=n,this.svgText=t,this.options=e}},Tu=(()=>{class i{constructor(t,e,o,r){this._httpClient=t,this._sanitizer=e,this._errorHandler=r,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(t,e,o){return this.addSvgIconInNamespace("",t,e,o)}addSvgIconLiteral(t,e,o){return this.addSvgIconLiteralInNamespace("",t,e,o)}addSvgIconInNamespace(t,e,o,r){return this._addSvgIconConfig(t,e,new Ot(o,null,r))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,o,r){let a=this._sanitizer.sanitize(fe.HTML,o);if(!a)throw Cs(o);let s=vi(a);return this._addSvgIconConfig(t,e,new Ot("",s,r))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,o){return this._addSvgIconSetConfig(t,new Ot(e,null,o))}addSvgIconSetLiteralInNamespace(t,e,o){let r=this._sanitizer.sanitize(fe.HTML,e);if(!r)throw Cs(e);let a=vi(r);return this._addSvgIconSetConfig(t,new Ot("",a,o))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let e=this._sanitizer.sanitize(fe.RESOURCE_URL,t);if(!e)throw Es(t);let o=this._cachedIconsByUrl.get(e);return o?b(dn(o)):this._loadSvgIconFromConfig(new Ot(t,null)).pipe(L(r=>this._cachedIconsByUrl.set(e,r)),I(r=>dn(r)))}getNamedSvgIcon(t,e=""){let o=Ss(e,t),r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(e,t),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);let a=this._iconSetConfigs.get(e);return a?this._getSvgFromIconSetConfigs(t,a):Kt(Is(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?b(dn(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(I(e=>dn(e)))}_getSvgFromIconSetConfigs(t,e){let o=this._extractIconWithNameFromAnySet(t,e);if(o)return b(o);let r=e.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(yt(s=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(fe.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(l)),b(null)})));return ar(r).pipe(I(()=>{let a=this._extractIconWithNameFromAnySet(t,e);if(!a)throw Is(t);return a}))}_extractIconWithNameFromAnySet(t,e){for(let o=e.length-1;o>=0;o--){let r=e[o];if(r.svgText&&r.svgText.toString().indexOf(t)>-1){let a=this._svgElementFromConfig(r),s=this._extractSvgIconFromSet(a,t,r.options);if(s)return s}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(L(e=>t.svgText=e),I(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?b(null):this._fetchIcon(t).pipe(L(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,o){let r=t.querySelector(`[id="${e}"]`);if(!r)return null;let a=r.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let s=this._svgElementFromString(vi("<svg></svg>"));return s.appendChild(a),this._setSvgAttributes(s,o)}_svgElementFromString(t){let e=this._document.createElement("DIV");e.innerHTML=t;let o=e.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(t){let e=this._svgElementFromString(vi("<svg></svg>")),o=t.attributes;for(let r=0;r<o.length;r++){let{name:a,value:s}=o[r];a!=="id"&&e.setAttribute(a,s)}for(let r=0;r<t.childNodes.length;r++)t.childNodes[r].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[r].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){let{url:e,options:o}=t,r=o?.withCredentials??!1;if(!this._httpClient)throw wu();if(e==null)throw Error(`Cannot fetch icon from URL "${e}".`);let a=this._sanitizer.sanitize(fe.RESOURCE_URL,e);if(!a)throw Es(e);let s=this._inProgressUrlFetches.get(a);if(s)return s;let c=this._httpClient.get(a,{responseType:"text",withCredentials:r}).pipe(I(l=>vi(l)),pe(()=>this._inProgressUrlFetches.delete(a)),ur());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(t,e,o){return this._svgIconConfigs.set(Ss(t,e),o),this}_addSvgIconSetConfig(t,e){let o=this._iconSetConfigs.get(t);return o?o.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){let e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let o=0;o<this._resolvers.length;o++){let r=this._resolvers[o](e,t);if(r)return xu(r)?new Ot(r.url,null,r.options):new Ot(r,null)}}static{this.\u0275fac=function(e){return new(e||i)(u(ye,8),u(Hr),u(C,8),u(wi))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function dn(i){return i.cloneNode(!0)}function Ss(i,n){return i+":"+n}function xu(i){return!!(i.url&&i.options)}var Du=new E("MAT_ICON_DEFAULT_OPTIONS"),Ru=new E("mat-icon-location",{providedIn:"root",factory:Mu});function Mu(){let i=m(C),n=i?i.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var ws=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ou=ws.map(i=>`[${i}]`).join(", "),ku=/^url\(['"]?#(.*?)['"]?\)$/,Ts=(()=>{class i{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){let e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){let e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}constructor(t,e,o,r,a,s){this._elementRef=t,this._iconRegistry=e,this._location=r,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Q.EMPTY,s&&(s.color&&(this.color=this._defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),o||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let e=this._location.getPathname();this._previousPath=e,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(e),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){let o=t.childNodes[e];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,e=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>t.classList.remove(o)),e.forEach(o=>t.classList.add(o)),this._previousFontSetClass=e,this.fontIcon!==this._previousFontIconClass&&!e.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let e=this._elementsWithExternalReferences;e&&e.forEach((o,r)=>{o.forEach(a=>{r.setAttribute(a.name,`url('${t}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(t){let e=t.querySelectorAll(Ou),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r<e.length;r++)ws.forEach(a=>{let s=e[r],c=s.getAttribute(a),l=c?c.match(ku):null;if(l){let d=o.get(s);d||(d=[],o.set(s,d)),d.push({name:a,value:l[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[e,o]=this._splitIconName(t);e&&(this._svgNamespace=e),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,e).pipe(ft(1)).subscribe(r=>this._setSvgElement(r),r=>{let a=`Error retrieving icon ${e}:${o}! ${r.message}`;this._errorHandler.handleError(new Error(a))})}}static{this.\u0275fac=function(e){return new(e||i)(f(w),f(Tu),Ai("aria-hidden"),f(Ru),f(wi),f(Du,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(e,o){e&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),Ze(o.color?"mat-"+o.color:""),lt("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",N],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Z,$],ngContentSelectors:Su,decls:1,vars:0,template:function(e,o){e&1&&(wt(),dt(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})}}return i})(),xs=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({imports:[at,at]})}}return i})();var ce={production:!0,API_END_POINT:"https://app.aadpc.cat/api/",BASE_URL:"https://aadpc.cat/",VIDEO_URL:"https://app.aadpc.cat/video/management.mp4",IMAGE_URL:"https://app.aadpc.cat/",IMAGE_URL_PROXY:"https://app.aadpc.cat/proxy?url=",STATIC_IMAGE:"https://app.aadpc.cat/static"},Gt={GET_ALL_TEAM:"team/getAllTeams",GET_TEAM_DETAIL:"team/getTeamDetail/team-test",TEAMS_IMAGE:"teams/",ASSOCIATE_ROUTE:"associacio/",SINDICAT_ROUTE:"sindicat/",HOME_PAGE:"home/",WHAT_WE_DO:"what-we-do/",UNION_FAQS:"union/faqs/",UNION_CONARTE_FIA:"union/conarte-fia/",UNION_CENSUS_ARTISTS:"union/census-artists/",ASSOCIATE:"associate/",FRIENDS:"friends/",ADVANTAGES:"advantages/",DOCUMENTS:"documents/",GET_ALL_DOCUMENTS:"getAllDocumentList",ACTIVITY:"activities/",ACTIVITY_TYPE:"activities_types/",GET_ALL_ACTIVITY:"getAllActivities",GET_ALL_AGENDAS:"getAllActivityAgendaInstitucional",GET_ALL_ACTIVITY_TYPE:"getAllActivitiesTypes",GET_ACTIVITY_DETAILS:"getActivityDetail/",SLIDER_IMAGE:"slider/",GET_SLIDER_IMAGE:"getAllSliderImages",PROFESSIONALS:"professionals/",GETALLPROFESSIONAL:"getAllProfessional",GET_PROFESSIONAL_DETAIL:"getProfessionalDetail",ARTICLES:"articles/",GET_ALL_SLIDER_NEWS_ARTICLES:"articles/getAllSliderNewsArticles",GET_ALL_SLIDER_HIGHLIGHTED_NEWS_ARTICLES:"articles/getAllSliderHighlightedNewsArticles",GET_ALL_INTERNAL_EXTERNAL_NEWS_ARTICLES:"articles/getAllInternalExternalNewsArticles",GET_ALL_FAQ_ARTICLES:"articles/getAllFaqArticles",GET_ALL_ARTICLES:"articles/getAllArticles",GET_LINK_OF_INTEREST_ARTICLE:"articles/getAllLinkOfInterestArticles",GET_ARTICLE_CATEGORY_LIST:"articles/getAllArticleCategoryList",SINDICATE_CONTACT:"user/contactUs",GET_ARTICLE_DETAIL:"articles/getArticleDetails/",GET_LATEST_DOCUMENTS:"documents/getLatestDocumentByType",GET_LANGUAGES:"common/languages",GET_ALL_TEAM_BY_POSITION:"team/getAllTeamsByPosition",GET_ARTICLE_CATEGORY_LIST_NEW:"articles/getAllCategoryForArticle",GET_ARTICLE_CATEGORY_LIST_FOR_NEWS:"articles/getAllCategoryArticleNews",GET_ALL_DISCOUNT_DATA:"discounts/getAllDiscountList",ALTABULLETI_FORM:"common/altabulletiForm",CONTACT_FORM:"common/contactForm",REVISTAENTREACTE_FORM:"common/revistaEntreacteForm",CONTACT_US:"user/contactUs",PROFESSIONAL_CONTACT_US:"user/professionalContact"};var pt={SLIDE_CONFIG_PHOTOGRAPHER:{slidesToShow:4,slidesToScroll:4,autoplay:!0,centerMode:!0,centerPadding:"170px",arrows:!0,focusOnSelect:!0,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:1,infinite:!0,dots:!1,centerPadding:"30px"}},{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1,centerPadding:"10px"}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1,centerPadding:"10px"}}]},HOME_PAGE_BANNER_CONFIG:{slidesToShow:1,slidesToScroll:1,centerPadding:"60px",arrows:!0},DEFAULT_LANGUAGE:1,SLIDER:{MAIN:1,COMMON:0,DRAMATIZED:1,MANAGEMENT_COMBAT:2,PRISONS:3,FAIRS_EXHIBITION:4,INTERNATIONAL_DAYS:5,TRAINING:6},DOCUMENT_TYPES:{COMMUNICATION_DOCUMENT:1,DOCUMENT_TYPE_FOR_GENERAL:2,REPORTS_DOCUMENT:3,ECONOMY_DOCUMENT:4,COLLECTIVE_AGREEMENT_THEATER:5,COLLECTIVE_AGREEMENT_AUDIOVISUAL:6,COLLECTIVE_AGREEMENT_DOBLATGE:7,OTHER_DOCUMENTS:8,STRETEGIC_DOCUMENTS:9,WROK_LINERS_DOCUMENTS:10},LANGUAGE:{ES:"es",CA:"ca",ES_ID:1,CA_ID:2},PROJECT_SUB_TYPES:{LECTURES_DRAMATIZADES:1,COMBAT_DE:2,PERSONS:3,FIRE_MOSTERS_I_FESTIVALS:4,DIES_INTERNACIONALS:5,FARMACO:6,BEVIGUNDA:7,ENTERACTE:8},SECTION_SEQUENCE:{FIRST:1,SECOND:2,THIRD:3,FOURTH:4,FIFTH:5,SIXTH:6,SEVENTH:7,EIGHTH:8,NINTH:9,TENTH:10,ELEVENTH:11},IMAGE_SEQUENCE:{FIRST:1,SECOND:2,THIRD:3,FOURTH:4,FIFTH:5,SIXTH:6,SEVENTH:7,EIGHTH:8,NINTH:9,TENTH:10,ELEVENTH:11},CONFIGURATION:{EMAIL:"aadpc@aadpc.cat",TELEPHONE:"932 311 484",ADDRESS:"C. Villarroel,253, entresol A08036 Barcelona",MANAGEMENT_TEAM_EMAIL:"atencioalsoci@aadpc.cat"},PUBLIC_PATH:{ASSOCIATE_STATIC_IMAGE:"static-image-json/associate-images.json",SINDICATE_STATIC_IMAGE:"static-image-json/sindicat-images.json",STATIC_LINK_CA:"static-link/static-link-ca.json",STATIC_LINK_ES:"static-link/static-link-es.json"},DEFAULT_IMAGE_PATH:"images/no-image-placeholder.png",DOCUMENT_PREVIEW_PATH:"http://docs.google.com/gview?url=",CARTELLERA_TYPE_ID:21};var Wt={ca:{SINDICAT:"sindicat",WHAT_WE_DO:"que-fem",TEAM:"equip",TRANSPARENCY_PORTAL:"portal-de-transparencia",LEGAL_ADVICE:"formulari-assessorament-legal",AGREEMENTS_DOCUMENTS:"convenis-i-documents",CENSUS_ARTISTS:"cens-artistes",CONARTE_FIA:"conarte-fia",FAQS:"faqs",LINKS_INTEREST:"enllacos-interes",INSTITUTIONAL_AGENDA:"agenda-institucional",NEWS:"noticies",NEWS_PAGE:"noticies/noticia",NEWS_PAGE_SLUG:"noticies/noticia/:slug",CONTACT:"contacte",ASSOCIATE:"associa-t",FRIENDS:"comunitat-amiga",PRESS:"premsa",ACCESSIBILITY:"accessibilitat",COOKIE_POLICY:"politica-de-cookies",DATA_PROTECTION:"proteccio-de-dades",INVOICE:"factura",LEGAL_NOTICE:"avis-legal",ALTABULLETI_FORM:"formulari-alta-butlleti-extern",PAYMENT_POLICY:"politica-de-pagament"},es:{SINDICAT:"sindicato",WHAT_WE_DO:"que-hacemos",TEAM:"equipo",TRANSPARENCY_PORTAL:"portal-de-transparencia",LEGAL_ADVICE:"formulario-asesoramiento-legal",AGREEMENTS_DOCUMENTS:"convenios-y-documentos",CENSUS_ARTISTS:"censo-de-artistas",CONARTE_FIA:"conarte-fia",FAQS:"faqs",LINKS_INTEREST:"enlaces-de-interes",INSTITUTIONAL_AGENDA:"agenda-institucional",NEWS:"noticias",NEWS_PAGE:"noticias/noticia",NEWS_PAGE_SLUG:"noticias/noticia/:slug",CONTACT:"contacto",ASSOCIATE:"asociate",FRIENDS:"comunidad-amiga",PRESS:"prensa",ACCESSIBILITY:"accesibilidad",COOKIE_POLICY:"politica-de-cookies",DATA_PROTECTION:"proteccion-de-datos",INVOICE:"factura",LEGAL_NOTICE:"aviso-legal",ALTABULLETI_FORM:"formulario-alta-boletin-externo",PAYMENT_POLICY:"politica-de-pago"}},Yt={ca:{ASSOCIACIO:"associacio",WHAT_WE_DO:"que-fem",TEAM:"equip",TRANSPARENCY_PORTAL:"portal-de-transparencia",DIRECTORY_PROFESSIONALS:"directori-de-professionals",DIRECTORY_PROFILE_PROFESSIONALS:"fitxa-professional",DIRECTORY_PROFILE_PROFESSIONALS_ID:"fitxa-professional/:id",DRAMATIZED_READINGS:"lectures-dramatitzades",FAIRS_EXHIBITIONS_FESTIVALS:"fires-mostres-i-festivals",INTERNATIONAL_DAY:"dies-internacionals",MANAGEMENT_COMBAT:"combat-de-direccio",PRISONS:"presons",TRAINING:"formacio",CATALOG:"formacio/cataleg",WELCOME:"benvinguda",ADVANTAGES:"avantatges",ADVANTAGES_SLUG:"avantatges/:slug",INSTITUTIONAL_AGENDA:"agenda",INSTITUTIONAL_AGENDA_ID:"agenda/:slug",NEWS:"noticies",NEWS_PAGE:"noticies/noticia",NEWS_PAGE_SLUG:"noticies/noticia/:slug",CONTACT:"contacte",ASSOCIATE:"associa-t",FRIENDS:"comunitat-amiga",PRESS:"premsa",ACCESSIBILITY:"accessibilitat",COOKIE_POLICY:"politica-de-cookies",DATA_PROTECTION:"proteccio-de-dades",INVOICE:"factura",LEGAL_NOTICE:"avis-legal",ALTABULLETI_FORM:"formulari-alta-butlleti-extern",REVISTA_FORM:"formulari-inscripcio-revista-entreacte",ADVANTAGES_TAB_1:"descomptes",ADVANTAGES_TAB_2:"convocatories-propies",ADVANTAGES_TAB_3:"directori-professional",ADVANTAGES_TAB_4:"cartellera",ADVANTAGES_TAB_5:"informacio-sobre-el-sector",PAYMENT_POLICY:"politica-de-pagament"},es:{ASSOCIACIO:"asociacion",WHAT_WE_DO:"que-hacemos",TEAM:"equipo",TRANSPARENCY_PORTAL:"portal-de-transparencia",DIRECTORY_PROFESSIONALS:"directorio-de-profesionales",DIRECTORY_PROFILE_PROFESSIONALS:"ficha-profesional",DIRECTORY_PROFILE_PROFESSIONALS_ID:"ficha-profesional/:id",DRAMATIZED_READINGS:"lecturas-dramatizadas",FAIRS_EXHIBITIONS_FESTIVALS:"ferias-muestras-y-festivales",INTERNATIONAL_DAY:"dias-internacionales",MANAGEMENT_COMBAT:"combate-de-direccion",PRISONS:"carceles",TRAINING:"formacion",CATALOG:"formacion/catalogo",WELCOME:"bienvenida",ADVANTAGES:"ventajas",ADVANTAGES_SLUG:"ventajas/:slug",INSTITUTIONAL_AGENDA:"agenda",INSTITUTIONAL_AGENDA_ID:"agenda/:slug",NEWS:"noticias",NEWS_PAGE:"noticias/noticia",NEWS_PAGE_SLUG:"noticias/noticia/:slug",CONTACT:"contacto",ASSOCIATE:"asociate",FRIENDS:"comunidad-amiga",PRESS:"prensa",ACCESSIBILITY:"accesibilidad",COOKIE_POLICY:"politica-de-cookies",DATA_PROTECTION:"proteccion-de-datos",INVOICE:"factura",LEGAL_NOTICE:"aviso-legal",ALTABULLETI_FORM:"formulario-alta-boletin-externo",REVISTA_FORM:"formulario-inscripcion-revista-entreacte",ADVANTAGES_TAB_1:"descuentos",ADVANTAGES_TAB_2:"convocatorias-propias",ADVANTAGES_TAB_3:"directorio-profesional",ADVANTAGES_TAB_4:"cartelera",ADVANTAGES_TAB_5:"informacion-sobre-el-sector",PAYMENT_POLICY:"politica-de-pago"}};var zo=function(i){return i.EMPTY="",i.HOME="/",i.ASSOCIACIO="associacio",i.WHO_WE_ARE="who-we-are",i.WHAT_WE_DO="who-we-are/what-we-do",i.TEAM="who-we-are/team",i.TRANSPARENCY_PORTAL="who-we-are/transparency-portal",i.ACTUALITY="actuality",i.INSTITUTIONAL_AGENDA="actuality/institutional-agenda",i.NEWS="actuality/news",i.NEWS_PAGE="actuality/news/page",i.NEWS_PAGE_SLUG="actuality/news/page/:slug",i.ADVANTAGES="advantages",i.ASSOCIATE="associate",i.CONTACT="contact",i.DIRECTORY_PROFESSIONALS="directory-professionals",i.DIRECTORY_PROFILE_PROFESSIONALS="directory-profile-professionals",i.DIRECTORY_PROFILE_PROFESSIONALS_ID="directory-profile-professionals/:id",i.FRIENDS="friends",i.PROJECTS="projects",i.DRAMATIZED_READINGS="projects/dramatized-readings",i.FAIRS_EXHIBITIONS_FESTIVALS="projects/fairs-exhibitions-festivals",i.INTERNATIONAL_DAY="projects/international-days",i.MANAGEMENT_COMBAT="projects/management-combat",i.PRISONS="projects/prisons",i.TRAINING="projects/training",i.CATALOG="projects/training/catalog",i.SPECIFIC_TRAINING="projects/training/specific-training",i.SPECIFIC_TRAINING_ID="projects/training/specific-training/:slug",i.WELCOME="projects/welcome",i.PRESS="press",i.ARTICLES="articles",i.ACCESSIBILITY="accessibility",i.COOKIE_POLICY="cookie-policy",i.DATA_PROTECTION="data-protection",i.INVOICE="invoice",i.LEGAL_NOTICE="legal-notice",i.INSTITUTIONAL_AGENDA_ID="actuality/institutional-agenda/:slug",i.ALTABULLETI_FORM="altabulleti-form",i.REVISTA_FORM="revista-entreacte-form",i}(zo||{});var un=(()=>{class i{http;constructor(t){this.http=t}get(t,e){return this.http.get(`${ce.API_END_POINT+t}`+(e?`?${e}`:""))}post(t,e){return this.http.post(ce.API_END_POINT+t,e)}put(t,e){return this.http.put(ce.API_END_POINT+t,e)}patch(t,e){return this.http.patch(ce.API_END_POINT+t,e)}static \u0275fac=function(e){return new(e||i)(u(ye))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Vo=(()=>{class i{associationNewsPage={activeTabIndex:0,internalCategory:[],externalCategory:[],internalNewsArticle:[],externalNewsArticle:[],activeInternalPage:1,activeExternalPage:1};professionalPage={searchData:"",professionalActivePage:1,pageSize:12,professionalsData:[]};agendaPage={selectedType:[],selectedStartDate:"",selectedEndDate:"",selectedMonth:new Date().getMonth()+1,selectedYear:new Date().getFullYear(),activitiesData:[]};clearAssociationNewsPage(){this.associationNewsPage={activeTabIndex:0,internalCategory:[],externalCategory:[],internalNewsArticle:[],externalNewsArticle:[],activeInternalPage:1,activeExternalPage:1}}clearProfessionalPage(){this.professionalPage={searchData:"",professionalActivePage:1,pageSize:12,professionalsData:[]}}clearAgendaPage(){this.agendaPage={selectedType:[],selectedStartDate:"",selectedEndDate:"",selectedMonth:new Date().getMonth()+1,selectedYear:new Date().getFullYear(),activitiesData:[]}}static \u0275fac=function(e){return new(e||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Ds=(()=>{class i{institutionalAgendaPage={selectedType:[],selectedStartDate:"",selectedEndDate:"",selectedMonth:new Date().getMonth()+1,selectedYear:new Date().getFullYear(),activitiesData:[]};sindicatNewsPage={activeTabIndex:0,internalCategory:[],externalCategory:[],internalNewsArticle:[],externalNewsArticle:[],activeInternalPage:1,activeExternalPage:1};linkOfInterestPage={categoryList:[],activeCategory:[],storeInterestArticles:[]};clearInstitutionalAgendaPage(){this.institutionalAgendaPage={selectedType:[],selectedStartDate:"",selectedEndDate:"",selectedMonth:new Date().getMonth()+1,selectedYear:new Date().getFullYear(),activitiesData:[]}}clearSindicatNewsPage(){this.sindicatNewsPage={activeTabIndex:0,internalCategory:[],externalCategory:[],internalNewsArticle:[],externalNewsArticle:[],activeInternalPage:1,activeExternalPage:1}}clearLinkOfInterestPage(){this.linkOfInterestPage={categoryList:[],activeCategory:[],storeInterestArticles:[]}}static \u0275fac=function(e){return new(e||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var hn="_",mn={SINDICAT:"sindicat",ASSOCIACIO:"associate"},Ho={PNG:".png",JPG:".jpg"},Rs={HOME:"home",WHAT_WE_DO:"what_we_do",FAQ:"faq",CONARTE_FIA:"conarte-fia",CENSUS_ARTISTS:"census-artists",ASSOCIATE:"associate",FRIENDS:"friends",ADVANTAGES:"advantages"};var Ms={"home_1_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_1_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_3_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_3_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_3_2_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_3_2_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_3_3_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_3_3_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_4_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_4_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_6_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_6_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"associate_1_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"associate_1_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"friends_1_1_ca.jpg":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"friends_1_1_es.jpg":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"friends_2_1_ca.jpg":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"friends_2_1_es.jpg":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"what_we_do_1_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"what_we_do_1_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"what_we_do_4_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"what_we_do_4_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"faq_1_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"faq_1_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"conarte-fia_1_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"conarte-fia_1_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"census-artists_1_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"census-artists_1_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"}};var Os={"home_1_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_1_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_1_2_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_1_2_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_1_3_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_1_3_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_1_4_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_1_4_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_1_5_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_1_5_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_1_6_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_1_6_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_1_7_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_1_7_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_1_8_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_1_8_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_1_9_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_1_9_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_1_10_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_1_10_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"home_1_11_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"home_1_11_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"associate_1_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"associate_1_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"what_we_do_1_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"what_we_do_1_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"what_we_do_4_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"what_we_do_4_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"friends_1_1_ca.jpg":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"friends_1_1_es.jpg":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"friends_2_1_ca.jpg":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"friends_2_1_es.jpg":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"},"advantages_1_1_ca.png":{title:"Main Image Title",description:"Main Image Description",alt:"Main Image Alt"},"advantages_1_1_es.png":{title:"Main Image Title (Spanish)",description:"Main Image Description (Spanish)",alt:"Main Image Alt (Spanish)"}};var Uu=["mat-button",""],zu=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Vu=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var Hu=".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 $u=["mat-icon-button",""],Gu=["*"];var Wu=new E("MAT_BUTTON_CONFIG");var Yu=[{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-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],ks=(()=>{class i{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}constructor(t,e,o,r){this._elementRef=t,this._platform=e,this._ngZone=o,this._animationMode=r,this._focusMonitor=m(Ro),this._rippleLoader=m(ys),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=m(Wu,{optional:!0}),s=t.nativeElement,c=s.classList;this.disabledInteractive=a?.disabledInteractive??!1,this.color=a?.color??null,this._rippleLoader?.configureRipple(s,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:d}of Yu)s.hasAttribute(l)&&c.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",e){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,e):this._elementRef.nativeElement.focus(e)}_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)}static{this.\u0275fac=function(e){Ti()}}static{this.\u0275dir=O({type:i,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",N],disabled:[2,"disabled","disabled",N],ariaDisabled:[2,"aria-disabled","ariaDisabled",N],disabledInteractive:[2,"disabledInteractive","disabledInteractive",N]},features:[Z]})}}return i})();var Ns=(()=>{class i extends ks{constructor(t,e,o,r){super(t,e,o,r)}static{this.\u0275fac=function(e){return new(e||i)(f(w),f(k),f(A),f(St,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(e,o){e&2&&(ct("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Ze(o.color?"mat-"+o.color:""),lt("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:[At,$],attrs:Uu,ngContentSelectors:Vu,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(e,o){e&1&&(wt(zu),et(0,"span",0),dt(1),K(2,"span",1),dt(3,1),X(),dt(4,2),et(5,"span",2)(6,"span",3)),e&2&&lt("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;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;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.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__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-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,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.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{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.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{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.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, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width: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, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.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-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.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-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.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}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return i})();var Ps=(()=>{class i extends ks{constructor(t,e,o,r){super(t,e,o,r),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(e){return new(e||i)(f(w),f(k),f(A),f(St,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(e,o){e&2&&(ct("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Ze(o.color?"mat-"+o.color:""),lt("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:[At,$],attrs:$u,ngContentSelectors:Gu,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(e,o){e&1&&(wt(),et(0,"span",0),dt(1),et(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;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;z-index:0;overflow:visible;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);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.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 img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.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,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.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, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-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[hidden]{display:none}.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}',Hu],encapsulation:2,changeDetection:0})}}return i})();var pn=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({imports:[at,Uo,at]})}}return i})();var yi=class{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Ue=class extends yi{constructor(n,t,e,o,r){super(),this.component=n,this.viewContainerRef=t,this.injector=e,this.componentFactoryResolver=o,this.projectableNodes=r}},qt=class extends yi{constructor(n,t,e,o){super(),this.templateRef=n,this.viewContainerRef=t,this.context=e,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}},$o=class extends yi{constructor(n){super(),this.element=n instanceof w?n.nativeElement:n}},ze=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Ue)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof qt)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof $o)return this._attachedPortal=n,this.attachDomPortal(n)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var fn=class extends ze{constructor(n,t,e,o,r){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=e,this._defaultInjector=o,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let c=this._document.createComment("dom-portal");s.parentNode.insertBefore(c,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=r}attachComponentPortal(n){let e=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(e,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=e.create(n.injector||this._defaultInjector||tt.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let t=n.viewContainerRef,e=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return e.rootNodes.forEach(o=>this.outletElement.appendChild(o)),e.detectChanges(),this.setDisposeFn(()=>{let o=t.indexOf(e);o!==-1&&t.remove(o)}),this._attachedPortal=n,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var hf=(()=>{class i extends qt{constructor(t,e){super(t,e)}static{this.\u0275fac=function(e){return new(e||i)(f(Qt),f(Ft))}}static{this.\u0275dir=O({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[At]})}}return i})();var Go=(()=>{class i extends ze{constructor(t,e,o){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new P,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let s=this._document.createComment("dom-portal");r.setAttachedHost(this),a.parentNode.insertBefore(s,a),this._getRootNode().appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(a,s)})},this._document=o}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let e=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),a=e.createComponent(r,e.length,t.injector||e.injector,t.projectableNodes||void 0);return e!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=t,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(t){t.setAttachedHost(this);let e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static{this.\u0275fac=function(e){return new(e||i)(f(xi),f(Ft),f(C))}}static{this.\u0275dir=O({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[At]})}}return i})();var gn=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({})}}return i})();var Ls=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,t,e=!0,o){this._multiple=n,this._emitChanges=e,this.compareWith=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new _,t&&t.length&&(n?t.forEach(r=>this._markSelected(r)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(e=>this._markSelected(e));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...n){this._verifyValueAssignment(n),n.forEach(e=>this._unmarkSelected(e));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...n){this._verifyValueAssignment(n);let t=this.selected,e=new Set(n);n.forEach(r=>this._markSelected(r)),t.filter(r=>!e.has(this._getConcreteValue(r,e))).forEach(r=>this._unmarkSelected(r));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let t=this._hasQueuedChanges();return n&&this._emitChangeEvent(),t}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}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(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,t){if(this.compareWith){t=t??this._selection;for(let e of t)if(this.compareWith(n,e))return e;return n}else return n}};var ff=(()=>{class i{constructor(){this._listeners=[]}notify(t,e){for(let o of this._listeners)o(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Zu=20,Wo=(()=>{class i{constructor(t,e,o){this._ngZone=t,this._platform=e,this._scrolled=new _,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=Zu){return this._platform.isBrowser?new Nt(e=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(En(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):b()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){let o=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(G(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(t){let e=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,t)&&e.push(r)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let o=vt(e),r=t.getElementRef().nativeElement;do if(o==r)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return In(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(e){return new(e||i)(u(A),u(k),u(C,8))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Df=(()=>{class i{constructor(t,e,o,r){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=o,this.dir=r,this._destroyed=new _,this._elementScrolled=new Nt(a=>this.ngZone.runOutsideAngular(()=>In(this.elementRef.nativeElement,"scroll").pipe(W(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){let e=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=o?t.end:t.start),t.right==null&&(t.right=o?t.start:t.end),t.bottom!=null&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),o&&Le()!=_t.NORMAL?(t.left!=null&&(t.right=e.scrollWidth-e.clientWidth-t.left),Le()==_t.INVERTED?t.left=t.right:Le()==_t.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let e=this.elementRef.nativeElement;tn()?e.scrollTo(t):(t.top!=null&&(e.scrollTop=t.top),t.left!=null&&(e.scrollLeft=t.left))}measureScrollOffset(t){let e="left",o="right",r=this.elementRef.nativeElement;if(t=="top")return r.scrollTop;if(t=="bottom")return r.scrollHeight-r.clientHeight-r.scrollTop;let a=this.dir&&this.dir.value=="rtl";return t=="start"?t=a?o:e:t=="end"&&(t=a?e:o),a&&Le()==_t.INVERTED?t==e?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:a&&Le()==_t.NEGATED?t==e?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:t==e?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static{this.\u0275fac=function(e){return new(e||i)(f(w),f(Wo),f(A),f(_i,8))}}static{this.\u0275dir=O({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return i})(),Ku=20,Yo=(()=>{class i{constructor(t,e,o){this._platform=t,this._change=new _,this._changeListener=r=>{this._change.next(r)},this._document=o,e.runOutsideAngular(()=>{if(t.isBrowser){let r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:e,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+e,height:o,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,e=this._getWindow(),o=t.documentElement,r=o.getBoundingClientRect(),a=-r.top||t.body.scrollTop||e.scrollY||o.scrollTop||0,s=-r.left||t.body.scrollLeft||e.scrollX||o.scrollLeft||0;return{top:a,left:s}}change(t=Ku){return t>0?this._change.pipe(En(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(e){return new(e||i)(u(k),u(A),u(C,8))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Fs=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({})}}return i})(),qo=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({imports:[$t,Fs,$t,Fs]})}}return i})();var js=tn(),Zo=class{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=F(-this._previousScrollPosition.left),n.style.top=F(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,t=this._document.body,e=n.style,o=t.style,r=e.scrollBehavior||"",a=o.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),js&&(e.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),js&&(e.scrollBehavior=r,o.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}};var Ko=class{constructor(n,t,e,o){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=e,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(G(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},bn=class{enable(){}disable(){}attach(){}};function Xo(i,n){return n.some(t=>{let e=i.bottom<t.top,o=i.top>t.bottom,r=i.right<t.left,a=i.left>t.right;return e||o||r||a})}function Bs(i,n){return n.some(t=>{let e=i.top<t.top,o=i.bottom>t.bottom,r=i.left<t.left,a=i.right>t.right;return e||o||r||a})}var Qo=class{constructor(n,t,e,o){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=e,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:o}=this._viewportRuler.getViewportSize();Xo(t,[{width:e,height:o,bottom:o,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Ju=(()=>{class i{constructor(t,e,o,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=o,this.noop=()=>new bn,this.close=a=>new Ko(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new Zo(this._viewportRuler,this._document),this.reposition=a=>new Qo(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=r}static{this.\u0275fac=function(e){return new(e||i)(u(Wo),u(Yo),u(A),u(C))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ve=class{constructor(n){if(this.scrollStrategy=new bn,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){let t=Object.keys(n);for(let e of t)n[e]!==void 0&&(this[e]=n[e])}}};var Jo=class{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}};var Ws=(()=>{class i{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),this._attachedOverlays.length===0&&this.detach()}static{this.\u0275fac=function(e){return new(e||i)(u(C))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),th=(()=>{class i extends Ws{constructor(t,e){super(t),this._ngZone=e,this._keydownListener=o=>{let r=this._attachedOverlays;for(let a=r.length-1;a>-1;a--)if(r[a]._keydownEvents.observers.length>0){let s=r[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(o)):s.next(o);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(e){return new(e||i)(u(C),u(A,8))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),eh=(()=>{class i extends Ws{constructor(t,e,o){super(t),this._platform=e,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=rt(r)},this._clickListener=r=>{let a=rt(r),s=r.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){let d=c[l];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(Us(d.overlayElement,a)||Us(d.overlayElement,s))break;let p=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>p.next(r)):p.next(r)}}}add(t){if(super.add(t),!this._isAttached){let e=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(e)):this._addEventListeners(e),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(e){return new(e||i)(u(C),u(k),u(A,8))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Us(i,n){let t=typeof ShadowRoot<"u"&&ShadowRoot,e=n;for(;e;){if(e===i)return!0;e=t&&e instanceof ShadowRoot?e.host:e.parentNode}return!1}var Ys=(()=>{class i{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||bi()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let r=0;r<o.length;r++)o[r].remove()}let e=this._document.createElement("div");e.classList.add(t),bi()?e.setAttribute("platform","test"):this._platform.isBrowser||e.setAttribute("platform","server"),this._document.body.appendChild(e),this._containerElement=e}static{this.\u0275fac=function(e){return new(e||i)(u(C),u(k))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),tr=class{constructor(n,t,e,o,r,a,s,c,l,d=!1,p){this._portalOutlet=n,this._host=t,this._pane=e,this._config=o,this._ngZone=r,this._keyboardDispatcher=a,this._document=s,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=d,this._injector=p,this._backdropElement=null,this._backdropClick=new _,this._attachments=new _,this._detachments=new _,this._locationChanges=Q.EMPTY,this._backdropClickHandler=v=>this._backdropClick.next(v),this._backdropTransitionendHandler=v=>{this._disposeBackdrop(v.target)},this._keydownEvents=new _,this._outsidePointerEvents=new _,this._renders=new _,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy,this._afterRenderRef=Nr(()=>Cr(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=be(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),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 t?.onDestroy=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=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._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=h(h({},this._config),n),this._updateElementSize()}setDirection(n){this._config=z(h({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=F(this._config.width),n.height=F(this._config.height),n.minWidth=F(this._config.minWidth),n.minHeight=F(this._config.minHeight),n.maxWidth=F(this._config.maxWidth),n.maxHeight=F(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let n=this._backdropElement;if(n){if(this._animationsDisabled){this._disposeBackdrop(n);return}n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,e){let o=je(t||[]).filter(r=>!!r);o.length&&(e?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(W(sr(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()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},zs="cdk-overlay-connected-position-bounding-box",ih=/([A-Za-z%]+)$/,er=class{get positions(){return this._preferredPositions}constructor(n,t,e,o,r){this._viewportRuler=t,this._document=e,this._platform=o,this._overlayContainer=r,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 _,this._resizeSubscription=Q.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(zs),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,t=this._overlayRect,e=this._viewportRect,o=this._containerRect,r=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(n,o,s),l=this._getOverlayPoint(c,t,s),d=this._getOverlayFit(l,t,e,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(d,l,e)){r.push({position:s,origin:c,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleArea<d.visibleArea)&&(a={overlayFit:d,overlayPoint:l,originPoint:c,position:s,overlayRect:t})}if(r.length){let s=null,c=-1;for(let l of r){let d=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);d>c&&(c=d,s=l)}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&&le(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(zs),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,e){let o;if(e.originX=="center")o=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;o=e.originX=="start"?a:s}t.left<0&&(o-=t.left);let r;return e.originY=="center"?r=n.top+n.height/2:r=e.originY=="top"?n.top:n.bottom,t.top<0&&(r-=t.top),{x:o,y:r}}_getOverlayPoint(n,t,e){let o;e.overlayX=="center"?o=-t.width/2:e.overlayX==="start"?o=this._isRtl()?-t.width:0:o=this._isRtl()?0:-t.width;let r;return e.overlayY=="center"?r=-t.height/2:r=e.overlayY=="top"?0:-t.height,{x:n.x+o,y:n.y+r}}_getOverlayFit(n,t,e,o){let r=Hs(t),{x:a,y:s}=n,c=this._getOffset(o,"x"),l=this._getOffset(o,"y");c&&(a+=c),l&&(s+=l);let d=0-a,p=a+r.width-e.width,v=0-s,x=s+r.height-e.height,S=this._subtractOverflows(r.width,d,p),M=this._subtractOverflows(r.height,v,x),j=S*M;return{visibleArea:j,isCompletelyWithinViewport:r.width*r.height===j,fitsInViewportVertically:M===r.height,fitsInViewportHorizontally:S==r.width}}_canFitWithFlexibleDimensions(n,t,e){if(this._hasFlexibleDimensions){let o=e.bottom-t.y,r=e.right-t.x,a=Vs(this._overlayRef.getConfig().minHeight),s=Vs(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||a!=null&&a<=o,l=n.fitsInViewportHorizontally||s!=null&&s<=r;return c&&l}return!1}_pushOverlayOnScreen(n,t,e){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let o=Hs(t),r=this._viewportRect,a=Math.max(n.x+o.width-r.width,0),s=Math.max(n.y+o.height-r.height,0),c=Math.max(r.top-e.top-n.y,0),l=Math.max(r.left-e.left-n.x,0),d=0,p=0;return o.width<=r.width?d=l||-a:d=n.x<this._viewportMargin?r.left-e.left-n.x:0,o.height<=r.height?p=c||-s:p=n.y<this._viewportMargin?r.top-e.top-n.y:0,this._previousPushAmount={x:d,y:p},{x:n.x+d,y:n.y+p}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let e=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!nh(this._lastScrollVisibility,e)){let o=new Jo(n,e);this._positionChanges.next(o)}this._lastScrollVisibility=e}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),e,o=n.overlayY;n.overlayX==="center"?e="center":this._isRtl()?e=n.overlayX==="start"?"right":"left":e=n.overlayX==="start"?"left":"right";for(let r=0;r<t.length;r++)t[r].style.transformOrigin=`${e} ${o}`}_calculateBoundingBoxRect(n,t){let e=this._viewportRect,o=this._isRtl(),r,a,s;if(t.overlayY==="top")a=n.y,r=e.height-a+this._viewportMargin;else if(t.overlayY==="bottom")s=e.height-n.y+this._viewportMargin*2,r=e.height-s+this._viewportMargin;else{let x=Math.min(e.bottom-n.y+e.top,n.y),S=this._lastBoundingBoxSize.height;r=x*2,a=n.y-x,r>S&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-S/2)}let c=t.overlayX==="start"&&!o||t.overlayX==="end"&&o,l=t.overlayX==="end"&&!o||t.overlayX==="start"&&o,d,p,v;if(l)v=e.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(c)p=n.x,d=e.right-n.x;else{let x=Math.min(e.right-n.x+e.left,n.x),S=this._lastBoundingBoxSize.width;d=x*2,p=n.x-x,d>S&&!this._isInitialRender&&!this._growAfterOpen&&(p=n.x-S/2)}return{top:a,left:p,bottom:s,right:v,width:d,height:r}}_setBoundingBoxStyles(n,t){let e=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.height=F(e.height),o.top=F(e.top),o.bottom=F(e.bottom),o.width=F(e.width),o.left=F(e.left),o.right=F(e.right),t.overlayX==="center"?o.alignItems="center":o.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?o.justifyContent="center":o.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",r&&(o.maxHeight=F(r)),a&&(o.maxWidth=F(a))}this._lastBoundingBoxSize=e,le(this._boundingBox.style,o)}_resetBoundingBoxStyles(){le(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){le(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){let e={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(o){let d=this._viewportRuler.getViewportScrollPosition();le(e,this._getExactOverlayY(t,n,d)),le(e,this._getExactOverlayX(t,n,d))}else e.position="static";let s="",c=this._getOffset(t,"x"),l=this._getOffset(t,"y");c&&(s+=`translateX(${c}px) `),l&&(s+=`translateY(${l}px)`),e.transform=s.trim(),a.maxHeight&&(o?e.maxHeight=F(a.maxHeight):r&&(e.maxHeight="")),a.maxWidth&&(o?e.maxWidth=F(a.maxWidth):r&&(e.maxWidth="")),le(this._pane.style,e)}_getExactOverlayY(n,t,e){let o={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,n);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,e)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;o.bottom=`${a-(r.y+this._overlayRect.height)}px`}else o.top=F(r.y);return o}_getExactOverlayX(n,t,e){let o={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,n);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,e));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;o.right=`${s-(r.x+this._overlayRect.width)}px`}else o.left=F(r.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),e=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Bs(n,e),isOriginOutsideView:Xo(n,e),isOverlayClipped:Bs(t,e),isOverlayOutsideView:Xo(t,e)}}_subtractOverflows(n,...t){return t.reduce((e,o)=>e-Math.max(o,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+n-this._viewportMargin,bottom:e.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return t==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&je(n).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof w)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let t=n.width||0,e=n.height||0;return{top:n.y,bottom:n.y+e,left:n.x,right:n.x+t,height:e,width:t}}};function le(i,n){for(let t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i}function Vs(i){if(typeof i!="number"&&i!=null){let[n,t]=i.split(ih);return!t||t==="px"?parseFloat(n):null}return i||null}function Hs(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function nh(i,n){return i===n?!0:i.isOriginClipped===n.isOriginClipped&&i.isOriginOutsideView===n.isOriginOutsideView&&i.isOverlayClipped===n.isOverlayClipped&&i.isOverlayOutsideView===n.isOverlayOutsideView}var $s="cdk-global-overlay-wrapper",ir=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){let t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add($s),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:a,maxHeight:s}=e,c=(o==="100%"||o==="100vw")&&(!a||a==="100%"||a==="100vw"),l=(r==="100%"||r==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,p=this._xOffset,v=this._overlayRef.getConfig().direction==="rtl",x="",S="",M="";c?M="flex-start":d==="center"?(M="center",v?S=p:x=p):v?d==="left"||d==="end"?(M="flex-end",x=p):(d==="right"||d==="start")&&(M="flex-start",S=p):d==="left"||d==="start"?(M="flex-start",x=p):(d==="right"||d==="end")&&(M="flex-end",S=p),n.position=this._cssPosition,n.marginLeft=c?"0":x,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":S,t.justifyContent=M,t.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,e=t.style;t.classList.remove($s),e.justifyContent=e.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},oh=(()=>{class i{constructor(t,e,o,r){this._viewportRuler=t,this._document=e,this._platform=o,this._overlayContainer=r}global(){return new ir}flexibleConnectedTo(t){return new er(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(e){return new(e||i)(u(Yo),u(C),u(k),u(Ys))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),rh=0,He=(()=>{class i{constructor(t,e,o,r,a,s,c,l,d,p,v,x){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=s,this._ngZone=c,this._document=l,this._directionality=d,this._location=p,this._outsideClickDispatcher=v,this._animationsModuleType=x}create(t){let e=this._createHostElement(),o=this._createPaneElement(e),r=this._createPortalOutlet(o),a=new Ve(t);return a.direction=a.direction||this._directionality.value,new tr(r,e,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Xt))}position(){return this._positionBuilder}_createPaneElement(t){let e=this._document.createElement("div");return e.id=`cdk-overlay-${rh++}`,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Ri)),new fn(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(e){return new(e||i)(u(Ju),u(Ys),u(xi),u(oh),u(th),u(tt),u(A),u(C),u(_i),u(Dt),u(eh),u(St,8))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),ah=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],qs=new E("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=m(He);return()=>i.scrollStrategies.reposition()}}),Gs=(()=>{class i{constructor(t){this.elementRef=t}static{this.\u0275fac=function(e){return new(e||i)(f(w))}}static{this.\u0275dir=O({type:i,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return i})(),Yf=(()=>{class i{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,e,o,r,a){this._overlay=t,this._dir=a,this._backdropSubscription=Q.EMPTY,this._attachSubscription=Q.EMPTY,this._detachSubscription=Q.EMPTY,this._positionSubscription=Q.EMPTY,this._disposeOnNavigation=!1,this._ngZone=m(A),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new P,this.positionChange=new P,this.attach=new P,this.detach=new P,this.overlayKeydown=new P,this.overlayOutsideClick=new P,this._templatePortal=new qt(e,o),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ah);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),e.keyCode===27&&!this.disableClose&&!Fe(e)&&(e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{let o=this._getOriginElement(),r=rt(e);(!o||o!==r&&!o.contains(r))&&this.overlayOutsideClick.next(e)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new Ve({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(e.width=this.width),(this.height||this.height===0)&&(e.height=this.height),(this.minWidth||this.minWidth===0)&&(e.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){let e=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Gs?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Gs?this.origin.elementRef.nativeElement:this.origin instanceof w?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(hr(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(e){return new(e||i)(f(He),f(Qt),f(Ft),f(qs),f(_i,8))}}static{this.\u0275dir=O({type:i,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",N],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",N],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",N],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",N],push:[2,"cdkConnectedOverlayPush","push",N],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",N]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Z,Ct]})}}return i})();function sh(i){return()=>i.scrollStrategies.reposition()}var ch={provide:qs,deps:[He],useFactory:sh},Zs=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({providers:[He,ch],imports:[$t,gn,qo,qo]})}}return i})();function dh(i,n){if(i&1){let t=Sr();K(0,"div",1)(1,"button",2),jt("click",function(){fr(t);let o=Jt();return gr(o.action())}),Tt(2),X()()}if(i&2){let t=Jt();q(2),te(" ",t.data.action," ")}}var uh=["label"];function hh(i,n){}var mh=Math.pow(2,31)-1,de=class{constructor(n,t){this._overlayRef=t,this._afterDismissed=new _,this._afterOpened=new _,this._onAction=new _,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,mh))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},_n=new E("MatSnackBarData"),$e=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},ph=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275dir=O({type:i,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return i})(),fh=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275dir=O({type:i,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return i})(),gh=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275dir=O({type:i,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return i})(),Ks=(()=>{class i{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(e){return new(e||i)(f(de),f(_n))}}static{this.\u0275cmp=H({type:i,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[$],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,o){e&1&&(K(0,"div",0),Tt(1),X(),ge(2,dh,3,1,"div",1)),e&2&&(q(),te(" ",o.data.message,`
`),q(),_e(o.hasAction?2:-1))},dependencies:[Ns,ph,fh,gh],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return i})(),bh={snackBarState:$r("state",[jn("void, hidden",Oi({transform:"scale(0.8)",opacity:0})),jn("visible",Oi({transform:"scale(1)",opacity:1})),Bn("* => visible",Fn("150ms cubic-bezier(0, 0, 0.2, 1)")),Bn("* => void, * => hidden",Fn("75ms cubic-bezier(0.4, 0.0, 1, 1)",Oi({opacity:0})))])},_h=0,vh=(()=>{class i extends ze{constructor(t,e,o,r,a){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=o,this._platform=r,this.snackBarConfig=a,this._document=m(C),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new _,this._onExit=new _,this._onEnter=new _,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${_h++}`,this.attachDomPortal=s=>{this._assertNotAttached();let c=this._portalOutlet.attachDomPortal(s);return this._afterPortalAttached(),c},a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),e}attachTemplatePortal(t){this._assertNotAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),e}onAnimationEnd(t){let{fromState:e,toState:o}=t;if((o==="void"&&e!=="void"||o==="hidden")&&this._completeExit(),o==="visible"){let r=this._onEnter;this._ngZone.run(()=>{r.next(),r.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(a=>t.classList.add(a)):t.classList.add(e)),this._exposeToModals();let o=this._label.nativeElement,r="mdc-snackbar__label";o.classList.toggle(r,!o.querySelector(`.${r}`))}_exposeToModals(){let t=this._liveElementId,e=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<e.length;o++){let r=e[o],a=r.getAttribute("aria-owns");this._trackedModals.add(r),a?a.indexOf(t)===-1&&r.setAttribute("aria-owns",a+" "+t):r.setAttribute("aria-owns",t)}}_clearFromModals(){this._trackedModals.forEach(t=>{let e=t.getAttribute("aria-owns");if(e){let o=e.replace(this._liveElementId,"").trim();o.length>0?t.setAttribute("aria-owns",o):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(o=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(e){return new(e||i)(f(A),f(w),f(xt),f(k),f($e))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,o){if(e&1&&(ve(Go,7),ve(uh,7)),e&2){let r;Bt(r=Ut())&&(o._portalOutlet=r.first),Bt(r=Ut())&&(o._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(e,o){e&1&&Tr("@state.done",function(a){return o.onAnimationEnd(a)}),e&2&&wr("@state",o._animationState)},standalone:!0,features:[At,$],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,o){e&1&&(K(0,"div",1)(1,"div",2,0)(3,"div",3),ge(4,hh,0,0,"ng-template",4),X(),et(5,"div"),X()()),e&2&&(q(5),ct("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[Go],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}.cdk-high-contrast-active .mat-mdc-snackbar-surface{outline:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-app-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-app-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-app-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-app-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-app-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[bh.snackBarState]}})}}return i})();function yh(){return new $e}var Ih=new E("mat-snack-bar-default-options",{providedIn:"root",factory:yh}),nr=(()=>{class i{get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}constructor(t,e,o,r,a,s){this._overlay=t,this._live=e,this._injector=o,this._breakpointObserver=r,this._parentSnackBar=a,this._defaultConfig=s,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=Ks,this.snackBarContainerComponent=vh,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",o){let r=h(h({},this._defaultConfig),o);return r.data={message:t,action:e},r.announcementMessage===t&&(r.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){let o=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=tt.create({parent:o||this._injector,providers:[{provide:$e,useValue:e}]}),a=new Ue(this.snackBarContainerComponent,e.viewContainerRef,r),s=t.attach(a);return s.instance.snackBarConfig=e,s.instance}_attach(t,e){let o=h(h(h({},new $e),this._defaultConfig),e),r=this._createOverlay(o),a=this._attachSnackBarContainer(r,o),s=new de(a,r);if(t instanceof Qt){let c=new qt(t,null,{$implicit:o.data,snackBarRef:s});s.instance=a.attachTemplatePortal(c)}else{let c=this._createInjector(o,s),l=new Ue(t,void 0,c),d=a.attachComponentPortal(l);s.instance=d.instance}return this._breakpointObserver.observe(Za.HandsetPortrait).pipe(W(r.detachments())).subscribe(c=>{r.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),o.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(s,o),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){let e=new Ve;e.direction=t.direction;let o=this._overlay.position().global(),r=t.direction==="rtl",a=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!r||t.horizontalPosition==="end"&&r,s=!a&&t.horizontalPosition!=="center";return a?o.left("0"):s?o.right("0"):o.centerHorizontally(),t.verticalPosition==="top"?o.top("0"):o.bottom("0"),e.positionStrategy=o,this._overlay.create(e)}_createInjector(t,e){let o=t&&t.viewContainerRef&&t.viewContainerRef.injector;return tt.create({parent:o||this._injector,providers:[{provide:de,useValue:e},{provide:_n,useValue:t.data}]})}static{this.\u0275fac=function(e){return new(e||i)(u(He),u(rs),u(tt),u(nn),u(i,12),u(Ih))}}static{this.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Xs=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=R({type:i})}static{this.\u0275inj=D({providers:[nr],imports:[Zs,gn,pn,at,Ks,at]})}}return i})();var Js=(()=>{class i{sbRef;data;constructor(t,e){this.sbRef=t,this.data=e}static \u0275fac=function(e){return new(e||i)(f(de),f(_n))};static \u0275cmp=H({type:i,selectors:[["app-mat-toster"]],standalone:!0,features:[$],decls:11,vars:5,consts:[[1,"custom-snackbar"],[1,"custom-snackbar-icon"],[1,"custom-snackbar-message"],[1,"custom-snackbar-close"],["mat-icon-button","",3,"click"]],template:function(e,o){e&1&&(K(0,"div",0)(1,"div",1)(2,"mat-icon"),Tt(3),X()(),K(4,"div",2),Tt(5),X(),K(6,"div",3)(7,"button",4),jt("click",function(){return o.sbRef.dismiss()}),K(8,"mat-icon"),Tt(9),Dr(10,"translate"),X()()()()),e&2&&(q(3),kn(o.data.icon),q(2),te(" ",o.data.message," "),q(4),kn(Rr(10,3,"CLOSE")))},dependencies:[Ur,pn,Ps,xs,Ts,Xs,Yr,Wr],styles:[".custom-snackbar[_ngcontent-%COMP%]{margin:0;display:flex;align-items:center}.custom-snackbar-icon[_ngcontent-%COMP%], .custom-snackbar-content[_ngcontent-%COMP%]{flex:2;display:flex;align-items:center}.custom-snackbar-close[_ngcontent-%COMP%]{flex:1;text-align:right;padding-right:8px}.custom-snackbar-message[_ngcontent-%COMP%]{flex:8;text-align:left;padding-right:8px}.mat-snack-bar-label[_ngcontent-%COMP%]{padding:5px 0 5px 15px}"]})}return i})();var tc=(i,n)=>{let t=m(un),e=i.paramMap.get("slug");return e?t.get(`${Gt.GET_ARTICLE_DETAIL}${e}`).pipe(yt(o=>(console.error("Error fetching article details:",o),b(null)))):b(null)};var Fg=(()=>{class i{translate;snackBar;api;storeData;http;router;location;unionStore;associationStore;document;languageList=[{alias:"ES",id_language:1,name:"Espa\xF1ol"},{alias:"CA",id_language:2,name:"Catal\xE0"}];switchLanguage=new V(!1);currentLanguage=new V(pt.LANGUAGE.CA);activeLanguage=pt.LANGUAGE.CA;unsubscribe$=new _;sindicatImageMetadata=Ms;associateImageMetadata=Os;IMAGE_TYPES=mn;IMAGE_EXTENSION=Ho;PAGES=Rs;staticLinks={};sectionSequence=pt.SECTION_SEQUENCE;imageSequence=pt.IMAGE_SEQUENCE;configuration=pt.CONFIGURATION;PROJECT_SLIDER_CONFIG={slidesToShow:5,slidesToScroll:1,arrows:!0,infinite:!1,autoplay:!1,padding:"20px",responsive:[{breakpoint:1600,settings:{slidesToShow:4,slidesToScroll:1,infinite:!1,dots:!1,centerPadding:"20px"}},{breakpoint:1200,settings:{slidesToShow:3,slidesToScroll:1,infinite:!1,dots:!1,centerPadding:"20px"}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:1,infinite:!1,centerPadding:"20px"}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1,infinite:!1,centerPadding:"20px"}}]};constructor(t,e,o,r,a,s,c,l,d,p){this.translate=t,this.snackBar=e,this.api=o,this.storeData=r,this.http=a,this.router=s,this.location=c,this.unionStore=l,this.associationStore=d,this.document=p}getStaticLinks(){this.http.get(pt.PUBLIC_PATH.ASSOCIATE_STATIC_IMAGE).subscribe(t=>{t&&(this.associateImageMetadata=t)}),this.http.get(pt.PUBLIC_PATH.SINDICATE_STATIC_IMAGE).subscribe(t=>{t&&(this.sindicatImageMetadata=t)})}getLanguageWiseStaticLink(){let t=this.activeLanguage===pt.LANGUAGE.CA?pt.PUBLIC_PATH.STATIC_LINK_CA:pt.PUBLIC_PATH.STATIC_LINK_ES;this.http.get(t).subscribe({next:e=>{e&&e.STATIC_LINKS&&(this.staticLinks=e.STATIC_LINKS)},error:e=>{console.error(e)}})}preventBackNavigation(t,e){history.pushState({language:t,path:e},"",location.href),window.onpopstate=o=>{if(o.state?.language!==t){let r=this.convertPathToNewLanguage(e,t);history.replaceState({language:t,path:r},"",r),this.router.navigateByUrl(r)}else history.go(1)}}switchLanguages(t){let o=this.languageList.find(r=>r.id_language===t)?.alias.toLowerCase()||pt.LANGUAGE.CA;this.currentLanguage.next(o),this.translate.use(o),this.activeLanguage=o,this.document.documentElement.lang=o,this.getLanguageWiseStaticLink(),this.clearStoreData(),this.configureRoutes(),localStorage.setItem("languageStore",JSON.stringify(t))}configureRoutes(){this.router.resetConfig(this.defineRoutes());let t=this.location.path(),e=this.convertPathToNewLanguage(t,this.activeLanguage);this.router.navigateByUrl(e),this.preventBackNavigation(this.activeLanguage,t)}convertPathToNewLanguage(t,e){let o=t.split("/").filter(a=>a),r=localStorage.getItem("isType");return r&&r=="true"?`/${o.map(s=>{let c=Object.keys(Yt[this.activeLanguage=="ca"?"es":"ca"]||{}).find(l=>Yt[this.activeLanguage=="ca"?"es":"ca"][l]===s);return c?Yt[this.activeLanguage][c]:s}).join("/")}`:`/${o.map(s=>{let c=Object.keys(Wt[this.activeLanguage=="ca"?"es":"ca"]||{}).find(l=>Wt[this.activeLanguage=="ca"?"es":"ca"][l]===s);return c?Wt[this.activeLanguage][c]:s}).join("/")}`}defineRoutes(){return[{path:this.getPath("SINDICAT"),children:[{path:"",loadComponent:()=>import("./chunk-JARW7ROM.js").then(e=>e.HomeComponent)},{path:this.getPath("WHAT_WE_DO"),loadComponent:()=>import("./chunk-X5GOLPWC.js").then(e=>e.WhatWeDoComponent)},{path:this.getPath("TEAM"),loadComponent:()=>import("./chunk-IQIZ7Z4M.js").then(e=>e.TeamComponent)},{path:this.getPath("TRANSPARENCY_PORTAL"),loadComponent:()=>import("./chunk-S6D5KDAA.js").then(e=>e.TransparencyPortalComponent)},{path:this.getPath("LEGAL_ADVICE"),loadComponent:()=>import("./chunk-RXYMDIVM.js").then(e=>e.LegalAdviceComponent)},{path:this.getPath("AGREEMENTS_DOCUMENTS"),loadComponent:()=>import("./chunk-EZ2P3BU7.js").then(e=>e.AgreementsDocumentsComponent)},{path:this.getPath("CENSUS_ARTISTS"),loadComponent:()=>import("./chunk-P4TLFLUT.js").then(e=>e.CensusArtistsComponent)},{path:this.getPath("CONARTE_FIA"),loadComponent:()=>import("./chunk-T32YCSE3.js").then(e=>e.ConarteFiaComponent)},{path:this.getPath("FAQS"),loadComponent:()=>import("./chunk-COIJRQEZ.js").then(e=>e.FaqsComponent)},{path:this.getPath("LINKS_INTEREST"),loadComponent:()=>import("./chunk-RBEWBOLU.js").then(e=>e.LinksInterestComponent)},{path:this.getPath("INSTITUTIONAL_AGENDA"),loadComponent:()=>import("./chunk-OOZVJJD5.js").then(e=>e.InstitutionalAgendaComponent)},{path:this.getPath("NEWS"),loadComponent:()=>import("./chunk-X7H6PH5O.js").then(e=>e.NewsComponent)},{path:this.getPath("NEWS_PAGE_SLUG"),loadComponent:()=>import("./chunk-TRPVH2PJ.js").then(e=>e.PageComponent),resolve:{newsDetails:tc}},{path:this.getPath("CONTACT"),loadComponent:()=>import("./chunk-2M3CCBTS.js").then(e=>e.ContactComponent)},{path:this.getPath("ASSOCIATE"),loadComponent:()=>import("./chunk-HC3FRVAT.js").then(e=>e.AssociateComponent)},{path:this.getPath("FRIENDS"),loadComponent:()=>import("./chunk-VKLKA6D6.js").then(e=>e.FriendsComponent)},{path:this.getPath("PRESS"),loadComponent:()=>import("./chunk-JAVSJI4G.js").then(e=>e.PressComponent)},{path:this.getPath("ACCESSIBILITY"),loadComponent:()=>import("./chunk-L4EABOCR.js").then(e=>e.AccessibilityComponent)},{path:this.getPath("COOKIE_POLICY"),loadComponent:()=>import("./chunk-JD5IJER3.js").then(e=>e.CookiePolicyComponent)},{path:this.getPath("DATA_PROTECTION"),loadComponent:()=>import("./chunk-IJKDQ4WJ.js").then(e=>e.DataProtectionComponent)},{path:this.getPath("INVOICE"),loadComponent:()=>import("./chunk-2QTDAF4A.js").then(e=>e.InvoiceComponent)},{path:this.getPath("LEGAL_NOTICE"),loadComponent:()=>import("./chunk-KFC3QSUE.js").then(e=>e.LegalNoticeComponent)},{path:this.getPath("ALTABULLETI_FORM"),loadComponent:()=>import("./chunk-63JB7CVQ.js").then(e=>e.AltaButlletiFormComponent)},{path:this.getPath("PAYMENT_POLICY"),loadComponent:()=>import("./chunk-WNQQZG5T.js").then(e=>e.PaymentPolicyComponent)}]},{path:this.getAssociationPath("ASSOCIACIO"),children:[{path:zo.EMPTY,loadComponent:()=>import("./chunk-TNGBZJOC.js").then(e=>e.HomeComponent)},{path:this.getAssociationPath("WHAT_WE_DO"),loadComponent:()=>import("./chunk-AFCO2CS2.js").then(e=>e.WhatWeDoComponent)},{path:this.getAssociationPath("TEAM"),loadComponent:()=>import("./chunk-67XVQQSX.js").then(e=>e.TeamComponent)},{path:this.getAssociationPath("TRANSPARENCY_PORTAL"),loadComponent:()=>import("./chunk-G5BL45GW.js").then(e=>e.TransparencyPortalComponent)},{path:this.getAssociationPath("DIRECTORY_PROFESSIONALS"),loadComponent:()=>import("./chunk-J4TDQ7AB.js").then(e=>e.DirectoryProfessionalsComponent)},{path:this.getAssociationPath("DIRECTORY_PROFILE_PROFESSIONALS"),loadComponent:()=>import("./chunk-L2E7O4Z7.js").then(e=>e.ProfileProfessionalsComponent)},{path:this.getAssociationPath("DIRECTORY_PROFILE_PROFESSIONALS_ID"),loadComponent:()=>import("./chunk-L2E7O4Z7.js").then(e=>e.ProfileProfessionalsComponent)},{path:this.getAssociationPath("DRAMATIZED_READINGS"),loadComponent:()=>import("./chunk-2JBHY3DZ.js").then(e=>e.DramatizedReadingsComponent)},{path:this.getAssociationPath("FAIRS_EXHIBITIONS_FESTIVALS"),loadComponent:()=>import("./chunk-QXEDS5C7.js").then(e=>e.FairsExhibitionsFestivalsComponent)},{path:this.getAssociationPath("INTERNATIONAL_DAY"),loadComponent:()=>import("./chunk-EMDGOLTW.js").then(e=>e.InternationalDaysComponent)},{path:this.getAssociationPath("MANAGEMENT_COMBAT"),loadComponent:()=>import("./chunk-GCBLHW5B.js").then(e=>e.ManagementCombatComponent)},{path:this.getAssociationPath("PRISONS"),loadComponent:()=>import("./chunk-YQS4SFKM.js").then(e=>e.PrisonsComponent)},{path:this.getAssociationPath("TRAINING"),loadComponent:()=>import("./chunk-5N6FKXFW.js").then(e=>e.TrainingComponent)},{path:this.getAssociationPath("CATALOG"),loadComponent:()=>import("./chunk-RKROJFCB.js").then(e=>e.CatalogFormationsComponent)},{path:this.getAssociationPath("WELCOME"),loadComponent:()=>import("./chunk-3WLGJQNB.js").then(e=>e.WelcomeComponent)},{path:this.getAssociationPath("ADVANTAGES"),loadComponent:()=>import("./chunk-VJC4NHHU.js").then(e=>e.AdvantagesComponent)},{path:this.getAssociationPath("ADVANTAGES_SLUG"),loadComponent:()=>import("./chunk-VJC4NHHU.js").then(e=>e.AdvantagesComponent)},{path:this.getAssociationPath("INSTITUTIONAL_AGENDA"),loadComponent:()=>import("./chunk-ZFTYZ4NS.js").then(e=>e.AgendaComponent)},{path:this.getAssociationPath("INSTITUTIONAL_AGENDA_ID"),loadComponent:()=>import("./chunk-YB3DMQED.js").then(e=>e.AgendaActivityDetailsComponent)},{path:this.getAssociationPath("NEWS"),loadComponent:()=>import("./chunk-HLZ6VJQT.js").then(e=>e.NewsComponent)},{path:this.getAssociationPath("NEWS_PAGE_SLUG"),loadComponent:()=>import("./chunk-CJBQJC4T.js").then(e=>e.PageComponent)},{path:this.getAssociationPath("CONTACT"),loadComponent:()=>import("./chunk-MCIBAQN6.js").then(e=>e.ContactComponent)},{path:this.getAssociationPath("ASSOCIATE"),loadComponent:()=>import("./chunk-LHOWZ7H6.js").then(e=>e.AssociateComponent)},{path:this.getAssociationPath("FRIENDS"),loadComponent:()=>import("./chunk-NPBUGLGD.js").then(e=>e.FriendsComponent)},{path:this.getAssociationPath("ALTABULLETI_FORM"),loadComponent:()=>import("./chunk-LJDHLYRJ.js").then(e=>e.AltaButlletiFormComponent)},{path:this.getAssociationPath("PRESS"),loadComponent:()=>import("./chunk-FD7YMJ7O.js").then(e=>e.PressComponent)},{path:this.getAssociationPath("ACCESSIBILITY"),loadComponent:()=>import("./chunk-ECHJHS5T.js").then(e=>e.AccessibilityComponent)},{path:this.getAssociationPath("COOKIE_POLICY"),loadComponent:()=>import("./chunk-6IJRFDEJ.js").then(e=>e.CookiePolicyComponent)},{path:this.getAssociationPath("DATA_PROTECTION"),loadComponent:()=>import("./chunk-VQUOIULD.js").then(e=>e.DataProtectionComponent)},{path:this.getAssociationPath("INVOICE"),loadComponent:()=>import("./chunk-C4DSTLOQ.js").then(e=>e.InvoiceComponent)},{path:this.getAssociationPath("LEGAL_NOTICE"),loadComponent:()=>import("./chunk-7KME2ZE7.js").then(e=>e.LegalNoticeComponent)},{path:this.getAssociationPath("REVISTA_FORM"),loadComponent:()=>import("./chunk-ETBOCKX6.js").then(e=>e.RevistaEntreacteFormComponent)},{path:this.getAssociationPath("PAYMENT_POLICY"),loadComponent:()=>import("./chunk-VPEC6VFZ.js").then(e=>e.PaymentPolicyComponent)}]},{path:"",redirectTo:`/${this.getPath("SINDICAT")}`,pathMatch:"full"},{path:"**",redirectTo:`/${this.getPath("SINDICAT")}`}]}onLanguageChange(){this.switchLanguage.next(!0)}getPath(t){return Wt[this.activeLanguage][t]}getAssociationPath(t){return Yt[this.activeLanguage][t]}getRoute(t,e=!0){return e?Wt[this.activeLanguage].SINDICAT+"/"+Wt[this.activeLanguage][t]:Wt[this.activeLanguage][t]}getAssociationRoute(t,e=!0){return e?Yt[this.activeLanguage].ASSOCIACIO+"/"+Yt[this.activeLanguage][t]:Yt[this.activeLanguage][t]}clearStoreData(){this.unionStore.clearLinkOfInterestPage(),this.unionStore.clearSindicatNewsPage(),this.unionStore.clearInstitutionalAgendaPage(),this.associationStore.clearProfessionalPage(),this.associationStore.clearAssociationNewsPage(),this.associationStore.clearAgendaPage()}success(t,e=7e3){this._openSnackBar(t,"success-snackbar-user",!1,e)}error(t,e=7e3){this._openSnackBar(t,"error-snackbar",!1,e)}_openSnackBar(t,e,o=!1,r=7e3){this.snackBar.openFromComponent(Js,{data:{icon:o?"error":"notifications",message:t},duration:r,horizontalPosition:"right",verticalPosition:"top",panelClass:[e]})}getDocumentList(t,e,o,r,a,s){let c={limit:e,offset:o,search:r,types:t,active:a,Public:s};return this.api.post(Gt.DOCUMENTS+Gt.GET_ALL_DOCUMENTS,c).pipe(W(this.unsubscribe$))}getImageUrl(t,e,o,r,a,s=Ho.PNG){return`${ce.STATIC_IMAGE}/${t}/${e}/${e}${hn}${o}${hn}${r}${hn}${a}${s}`}getImageMetadata(t,e){if(t===mn.SINDICAT)return this.sindicatImageMetadata[e];if(t===mn.ASSOCIACIO)return this.associateImageMetadata[e]}convertLinkURL(t){return t.toLowerCase().includes("http://")||t.toLowerCase().includes("https://")?t:"//"+t}getProfessionals(){return new Promise((t,e)=>{this.api.post(Gt.PROFESSIONALS+Gt.GETALLPROFESSIONAL,{}).pipe(W(this.unsubscribe$)).subscribe({next:o=>{o.data&&!o.is_error&&(this.storeData.professionalPage.professionalsData=o.data.professional),t(o.data.professional)},error:o=>{e(o)}})})}getProfesionalImages(t){return t&&t.professionals_images.length>0?{url:Gt.PROFESSIONALS+t.intern_code+"/"+t.professionals_images[0].url,alt:t.professionals_images[0].professionals_images_languages.length>0?t.professionals_images[0].professionals_images_languages[0].alt:""}:{url:"",alt:""}}getFileExtension(t){return t&&t.split(".").pop()}static \u0275fac=function(e){return new(e||i)(u(Gr),u(nr),u(un),u(Vo),u(ye),u(ht),u(Dt),u(Ds),u(Vo),u(C))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();export{bt as a,Vt as b,Oc as c,ht as d,ia as e,zh as f,Vh as g,Hh as h,$h as i,k as j,Xh as k,Pe as l,Fe as m,nd as n,vt as o,dm as p,Wa as q,Fm as r,jm as s,Ka as t,Xa as u,Bm as v,rs as w,Ro as x,Um as y,zm as z,_i as A,at as B,cs as C,cn as D,mu as E,fu as F,bp as G,_p as H,_s as I,vs as J,Uo as K,Iu as L,Eu as M,vp as N,yp as O,Ip as P,Ep as Q,ys as R,Cp as S,Tu as T,Ts as U,xs as V,Ls as W,ff as X,Df as Y,Yo as Z,Fs as _,Ue as $,qt as aa,hf as ba,Go as ca,gn as da,He as ea,Gs as fa,Yf as ga,Zs as ha,ce as ia,Gt as ja,pt as ka,Ns as la,Ps as ma,pn as na,zo as oa,un as pa,Vo as qa,Ds as ra,Fg as sa};