PageSourceSearch

https://skycortex.ai/en-US/chunk-RIDHVCV3.js

js skycortex.ai collected 2026-10-05 14:39:52 UTC 1,967,725 bytes, 9,607 lines download raw bytes

vendor: 4,750 bytes, line 1
1import{$a as Bk,$b as si,$c as pn,A as Gt,Aa as ke,Ab as Kv,Ac as Bt,B as vt,Bb as Us,Bc as Jt,Ca as Ek,Cb as Jc,Cc as td,D as Ol,Da as Vs,Db as Hk,E as po,Ea as lt,Eb as Qv,Fa as ot,Fb as ch,Fc as jl,G as Nl,Ga as Yv,Gb as Tr,Gc as Hl,H as dr,Ha as he,Hb as dh,Hc as $l,I as ai,Ia as en,Ib as fe,J as Wv,Ja as Tk,Ka as Bl,Kb as pe,L as Os,La as Ik,Lb as ge,Lc as Jv,M as go,Ma as Xc,Mb as $k,Mc as Yk,N as Ns,Na as Yf,Nb as Ha,Nc as Re,O as Gv,Oa as Kc,Ob as tn,Oc as id,P as qv,Pa as Mk,Pb as nn,Pc as Wl,Qa as Ak,Qb as se,Ra as Xv,Rb as w,Rc as Xk,S as wk,Sa as Xf,Sb as D,T as qf,Ta as Vl,Tb as we,Tc as Jf,U as Gc,Ua as Qc,Ub as Rt,Uc as eb,Va as Rk,Vb as Lt,Vc as Kk,W as bt,Wa as Pk,Wb as Wi,X as gi,Xa as Fk,Xb as qo,Xc as _a,Y as Ne,Ya as Ok,Yb as Yo,Yc as Qk,Z as Ck,Za as Nk,Zb as hi,Zc as nd,_ as $i,_a as Lk,_b as Pt,_c as ei,a as tt,aa as at,ac as Wk,ad as tb,b as gk,ba as Ls,bc as Yr,bd as gn,c as mn,ca as _i,cb as Vk,cc as rn,cd as Zk,d as _k,da as re,db as T,e as te,ea as ye,eb as Ul,ed as ep,f as Hi,fa as Sk,fb as Uk,fd as uh,g as Fl,ga as W,gb as Kf,gd as Jk,h as jv,ha as Ke,hb as lh,i as oh,ia as f,ib as Nt,j as fn,ja as qc,jb as At,jc as de,k as Ri,ka as kk,kb as Tn,kc as ed,kd as eD,l as Be,la as En,lb as ft,lc as j,ld as Ue,m as Wf,ma as ur,mb as Qe,mc as Ge,md as Xo,n as mo,na as hr,nb as Zc,nc as _e,nd as ib,o as vk,oa as $e,ob as Zt,oc as Tt,od as tD,p as bk,pa as We,pb as Qf,pc as dt,pd as ie,q as ct,qa as ui,qb as zk,qc as ae,qd as Yt,r as Wo,ra as ja,rb as Zf,rc as oe,rd as iD,s as za,sa as He,sb as ue,sc as Gk,sd as tp,t as Hv,ta as Ve,tb as xe,tc as qk,td as nD,u as Gf,ua as Bs,ub as G,uc as Zv,v as fo,va as Dk,vb as Go,vc as qt,w as sh,wa as ne,wb as jk,wc as Gi,x as $v,xa as Te,xb as Ie,xc as ce,y as yk,ya as Ll,yb as xt,yc as $t,z as xk,za as Yc,zb as zl,zc as Q}from"./chunk-45ZIY4L6.js";import{$a as ap,A as cd,B as gD,C as fh,D as ti,E as Wn,Eb as Nn,F as rb,G as dd,H as _D,Hb as Wa,I as Gn,J as qn,K as On,Kb as Yn,L as zs,Lb as xD,M as rp,N as $a,Nb as Gl,O as _n,Sa as Hs,Ua as va,Za as gh,_ as js,a as rD,b as aD,c as oD,cb as vD,d as sD,db as bD,e as ip,f as nb,fb as yD,g as hh,ga as Mr,h as _o,ha as ph,i as rd,ia as vi,j as lD,k as ad,l as Ir,m as cD,n as dD,o as np,p as uD,pa as Xr,q as hD,r as mh,s as mD,t as fD,u as mr,v as vo,w as pD,x as od,y as sd,z as ld}from"./chunk-DTIYU4EK.js";import{a as H,b as et,c as Wc,i as Pl,j as S}from"./chunk-YXMSW6L4.js";var wD=null;function ba(){return wD}function ab(t){wD??=t}var _h=class{},Ko=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>f(CD),providedIn:"platform"})}return t})(),ob=new W(""),CD=(()=>{class t extends Ko{_location;_history;_doc=f(Ve);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ba().getBaseHref(this._doc)}onPopState(e){let i=ba().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=ba().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function op(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function SD(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function Ga(t){return t&&t[0]!=="?"?`?${t}`:t}var qa=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>f(lp),providedIn:"root"})}return t})(),sp=new W(""),lp=(()=>{class t extends qa{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??f(Ve).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.on
vendor: 4,277 bytes, line 1
1HashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return op(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Ga(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,a){let o=this.prepareExternalUrl(r+Ga(a));this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,a){let o=this.prepareExternalUrl(r+Ga(a));this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(Ke(Ko),Ke(sp,8))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ya=(()=>{class t{_subject=new te;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=x3(SD(kD(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Ga(i))}normalize(e){return t.stripTrailingSlash(y3(this._basePath,kD(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ga(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ga(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Ga;static joinWithSlash=op;static stripTrailingSlash=SD;static \u0275fac=function(i){return new(i||t)(Ke(qa))};static \u0275prov=re({token:t,factory:()=>b3(),providedIn:"root"})}return t})();function b3(){return new Ya(Ke(qa))}function y3(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function kD(t){return t.replace(/\/index\.html$/,"")}function x3(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var pb=(()=>{class t extends qa{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=op(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,a){let o=this.prepareExternalUrl(r+Ga(a))||this._platformLocation.pathname;this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,a){let o=this.prepareExternalUrl(r+Ga(a))||this._platformLocation.pathname;this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(Ke(Ko),Ke(sp,8))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})();var gb=(function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scie
vendor: 5,863 bytes, line 1
1ntific=3]="Scientific",t})(gb||{});var Xn=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(Xn||{}),bi=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(bi||{}),Ar=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(Ar||{}),Rr={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function RD(t){return Yr(t)[rn.LocaleId]}function PD(t,n,e){let i=Yr(t),r=[i[rn.DayPeriodsFormat],i[rn.DayPeriodsStandalone]],a=ya(r,n);return ya(a,e)}function FD(t,n,e){let i=Yr(t),r=[i[rn.DaysFormat],i[rn.DaysStandalone]],a=ya(r,n);return ya(a,e)}function OD(t,n,e){let i=Yr(t),r=[i[rn.MonthsFormat],i[rn.MonthsStandalone]],a=ya(r,n);return ya(a,e)}function ND(t,n){let i=Yr(t)[rn.Eras];return ya(i,n)}function vh(t,n){let e=Yr(t);return ya(e[rn.DateFormat],n)}function bh(t,n){let e=Yr(t);return ya(e[rn.TimeFormat],n)}function yh(t,n){let i=Yr(t)[rn.DateTimeFormat];return ya(i,n)}function bo(t,n){let e=Yr(t),i=e[rn.NumberSymbols][n];if(typeof i>"u"){if(n===Rr.CurrencyDecimal)return e[rn.NumberSymbols][Rr.Decimal];if(n===Rr.CurrencyGroup)return e[rn.NumberSymbols][Rr.Group]}return i}function LD(t,n){return Yr(t)[rn.NumberFormats][n]}function BD(t){if(!t[rn.ExtraData])throw new at(2303,!1)}function VD(t){let n=Yr(t);return BD(n),(n[rn.ExtraData][2]||[]).map(i=>typeof i=="string"?sb(i):[sb(i[0]),sb(i[1])])}function UD(t,n,e){let i=Yr(t);BD(i);let r=[i[rn.ExtraData][0],i[rn.ExtraData][1]],a=ya(r,n)||[];return ya(a,e)||[]}function ya(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new at(2304,!1)}function sb(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}var w3=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,cp={},C3=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,S3=256;function zD(t,n,e,i){let r=F3(t);k3(n),n=Qo(e,n)||n;let o=[],s;for(;n;)if(s=C3.exec(n),s){o=o.concat(s.slice(1));let d=o.pop();if(!d)break;n=d}else{o.push(n);break}let l=r.getTimezoneOffset();i&&(l=HD(i,l),r=P3(r,i));let c="";return o.forEach(d=>{let u=A3(d);c+=u?u(r,e,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function k3(t){if(t.length>S3)throw new at(2300,!1)}function fp(t,n,e){let i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function Qo(t,n){let e=RD(t);if(cp[e]??={},cp[e][n])return cp[e][n];let i="";switch(n){case"shortDate":i=vh(t,Ar.Short);break;case"mediumDate":i=vh(t,Ar.Medium);break;case"longDate":i=vh(t,Ar.Long);break;case"fullDate":i=vh(t,Ar.Full);break;case"shortTime":i=bh(t,Ar.Short);break;case"mediumTime":i=bh(t,Ar.Medium);break;case"longTime":i=bh(t,Ar.Long);break;case"fullTime":i=bh(t,Ar.Full);break;case"short":let r=Qo(t,"shortTime"),a=Qo(t,"shortDate");i=dp(yh(t,Ar.Short),[r,a]);break;case"medium":let o=Qo(t,"mediumTime"),s=Qo(t,"mediumDate");i=dp(yh(t,Ar.Medium),[o,s]);break;case"long":let l=Qo(t,"longTime"),c=Qo(t,"longDate");i=dp(yh(t,Ar.Long),[l,c]);break;case"full":let d=Qo(t,"fullTime"),u=Qo(t,"fullDate");i=dp(yh(t,Ar.Full),[d,u]);break}return i&&(cp[e][n]=i),i}function dp(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return n!=null&&i in n?n[i]:e})),t}function Xa(t,n,e="-",i,r){let a="";(t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,a=e));let o=String(t);for(;o.length<n;)o="0"+o;return i&&(o=o.slice(o.length-n)),a+o}function D3(t,n){return Xa(t,3).substring(0,n)}function an(t,n,e=0,i=!1,r=!1){return function(a,o){let s=E3(t,a);if((e>0||s>-e)&&(s+=e),t===3)s===0&&e===-12&&(s=12);else if(t===6)return D3(s,n);let l=bo(o,Rr.MinusSign);return Xa(s,n,l,i,r)}}function E3(t,n){switch(t){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new at(2301,!1)}}function Ti(t,n,e=Xn.Format,i=!1){return function(r,a){return T3(r,a,t,n,e,i)}}function T3(t,n,e,i,r,a){switch(e){case 2:return OD(n,r,i)[t.getMonth()];case 1:return FD(n,r,i)[t.getDay()];case 0:let o=t.getHours(),s=t.getMinutes();if(a){let c=VD(n),d=UD(n,r,i),u=c.findIndex(h=>{if(Array.isArray(h)){let[m,g]=h,_=o>=m.hours&&s>=m.minutes,p=o<g.hours||o===g.hours&&s<g.minutes;if(m.hours<g.hours){if(_&&p)return!0}else if(_||p)return!0}else if(h.hours===o&&h.minutes===s)return!0;return!1});if(u!==-1)return d[u]}return PD(n,r,i)[o<12?0:1];case 3:return ND(n,i)[t.getFullYear()<=0?0:1];default:let l=e;throw new at(2302,!1)}}function up(t){return function(n,e,i){let r=-1*i,a=bo(e,Rr.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case 0:return(r>=0?"+":"")+Xa(o,2,a)+Xa(Math.abs(r%60),2,a);case 1:return"GMT"+(r>=0?"+":"")+Xa(o,1,a);case 2:return"GMT"+(r>=0?"+":"")+Xa(o,2,a)+":"+Xa(Math.abs(r%60),2,a);case 3:return i===0?"Z":(r>=0?"+":"")+Xa(o,2,a)+":"+Xa(Math.abs(r%60),2,a);default:throw new at(2310,!1)}}}var I3=0,mp=4;function M3(t){let n=fp(t,I3,1).getDay();return fp(t,0,1+(n<=mp?mp:mp+7)-n)}function jD(t){let n=t.getDay(),e=n===0?-3:mp-n;return fp(t.getFullYear(),t.getMonth(),t.getDate()+e)}function lb(t,n=!1){return function(e,i){let r;if(n){let a=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();r=1+Math.floor((o+a)/7)}else{let a=jD(e),o=M3(a.getFullYear()),s=a.getTime()-o.getTime();r=1+Math.round(s/6048e5)}return Xa(r,t,bo(i,Rr.MinusSign))}}function hp(t,n=!1){return function(e,i){let a=jD(e).getFullYear();return Xa(a,t,bo(i,Rr.MinusSign),n)}}var cb={};function A3(t){if(cb[t])return cb[t];let n;
vendor: 6,756 bytes, line 1
1switch(t){case"G":case"GG":case"GGG":n=Ti(3,bi.Abbreviated);break;case"GGGG":n=Ti(3,bi.Wide);break;case"GGGGG":n=Ti(3,bi.Narrow);break;case"y":n=an(0,1,0,!1,!0);break;case"yy":n=an(0,2,0,!0,!0);break;case"yyy":n=an(0,3,0,!1,!0);break;case"yyyy":n=an(0,4,0,!1,!0);break;case"Y":n=hp(1);break;case"YY":n=hp(2,!0);break;case"YYY":n=hp(3);break;case"YYYY":n=hp(4);break;case"M":case"L":n=an(1,1,1);break;case"MM":case"LL":n=an(1,2,1);break;case"MMM":n=Ti(2,bi.Abbreviated);break;case"MMMM":n=Ti(2,bi.Wide);break;case"MMMMM":n=Ti(2,bi.Narrow);break;case"LLL":n=Ti(2,bi.Abbreviated,Xn.Standalone);break;case"LLLL":n=Ti(2,bi.Wide,Xn.Standalone);break;case"LLLLL":n=Ti(2,bi.Narrow,Xn.Standalone);break;case"w":n=lb(1);break;case"ww":n=lb(2);break;case"W":n=lb(1,!0);break;case"d":n=an(2,1);break;case"dd":n=an(2,2);break;case"c":case"cc":n=an(7,1);break;case"ccc":n=Ti(1,bi.Abbreviated,Xn.Standalone);break;case"cccc":n=Ti(1,bi.Wide,Xn.Standalone);break;case"ccccc":n=Ti(1,bi.Narrow,Xn.Standalone);break;case"cccccc":n=Ti(1,bi.Short,Xn.Standalone);break;case"E":case"EE":case"EEE":n=Ti(1,bi.Abbreviated);break;case"EEEE":n=Ti(1,bi.Wide);break;case"EEEEE":n=Ti(1,bi.Narrow);break;case"EEEEEE":n=Ti(1,bi.Short);break;case"a":case"aa":case"aaa":n=Ti(0,bi.Abbreviated);break;case"aaaa":n=Ti(0,bi.Wide);break;case"aaaaa":n=Ti(0,bi.Narrow);break;case"b":case"bb":case"bbb":n=Ti(0,bi.Abbreviated,Xn.Standalone,!0);break;case"bbbb":n=Ti(0,bi.Wide,Xn.Standalone,!0);break;case"bbbbb":n=Ti(0,bi.Narrow,Xn.Standalone,!0);break;case"B":case"BB":case"BBB":n=Ti(0,bi.Abbreviated,Xn.Format,!0);break;case"BBBB":n=Ti(0,bi.Wide,Xn.Format,!0);break;case"BBBBB":n=Ti(0,bi.Narrow,Xn.Format,!0);break;case"h":n=an(3,1,-12);break;case"hh":n=an(3,2,-12);break;case"H":n=an(3,1);break;case"HH":n=an(3,2);break;case"m":n=an(4,1);break;case"mm":n=an(4,2);break;case"s":n=an(5,1);break;case"ss":n=an(5,2);break;case"S":n=an(6,1);break;case"SS":n=an(6,2);break;case"SSS":n=an(6,3);break;case"Z":case"ZZ":case"ZZZ":n=up(0);break;case"ZZZZZ":n=up(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=up(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=up(2);break;default:return null}return cb[t]=n,n}function HD(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function R3(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function P3(t,n,e){let r=t.getTimezoneOffset(),a=HD(n,r);return R3(t,-1*(a-r))}function F3(t){if(DD(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[r,a=1,o=1]=t.split("-").map(s=>+s);return fp(r,a-1,o)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(w3))return O3(i)}let n=new Date(t);if(!DD(n))throw new at(2311,!1);return n}function O3(t){let n=new Date(0),e=0,i=0,r=t[8]?n.setUTCFullYear:n.setFullYear,a=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let o=Number(t[4]||0)-e,s=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return a.call(n,o,s,l,c),n}function DD(t){return t instanceof Date&&!isNaN(t.valueOf())}var N3=/^(\d+)?\.((\d+)(-(\d+))?)?$/,ED=22,pp=".",xh="0",L3=";",B3=",",db="#";function V3(t,n,e,i,r,a,o=!1){let s="",l=!1;if(!isFinite(t))s=bo(e,Rr.Infinity);else{let c=j3(t);o&&(c=z3(c));let d=n.minInt,u=n.minFrac,h=n.maxFrac;if(a){let b=a.match(N3);if(b===null)throw new at(2306,!1);let y=b[1],E=b[3],F=b[5];y!=null&&(d=ub(y)),E!=null&&(u=ub(E)),F!=null?h=ub(F):E!=null&&u>h&&(h=u);let A=100;if(d>A||u>A||h>A)throw new at(2306,!1)}H3(c,u,h);let m=c.digits,g=c.integerLen,_=c.exponent,p=[];for(l=m.every(b=>!b);g<d;g++)m.unshift(0);for(;g<0;g++)m.unshift(0);g>0?p=m.splice(g,m.length):(p=m,m=[0]);let v=[];for(m.length>=n.lgSize&&v.unshift(m.splice(-n.lgSize,m.length).join(""));m.length>n.gSize;)v.unshift(m.splice(-n.gSize,m.length).join(""));m.length&&v.unshift(m.join("")),s=v.join(bo(e,i)),p.length&&(s+=bo(e,r)+p.join("")),_&&(s+=bo(e,Rr.Exponential)+"+"+_)}return t<0&&!l?s=n.negPre+s+n.negSuf:s=n.posPre+s+n.posSuf,s}function $D(t,n,e){let i=LD(n,gb.Decimal),r=U3(i,bo(n,Rr.MinusSign));return V3(t,r,n,Rr.Group,Rr.Decimal,e)}function U3(t,n="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(L3),r=i[0],a=i[1],o=r.indexOf(pp)!==-1?r.split(pp):[r.substring(0,r.lastIndexOf(xh)+1),r.substring(r.lastIndexOf(xh)+1)],s=o[0],l=o[1]||"";e.posPre=s.substring(0,s.indexOf(db));for(let d=0;d<l.length;d++){let u=l.charAt(d);u===xh?e.minFrac=e.maxFrac=d+1:u===db?e.maxFrac=d+1:e.posSuf+=u}let c=s.split(B3);if(e.gSize=c[1]?c[1].length:0,e.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,a){let d=r.length-e.posPre.length-e.posSuf.length,u=a.indexOf(db);e.negPre=a.substring(0,u).replace(/'/g,""),e.negSuf=a.slice(u+d).replace(/'/g,"")}else e.negPre=n+e.posPre,e.negSuf=e.posSuf;return e}function z3(t){if(t.digits[0]===0)return t;let n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(n===0?t.digits.push(0,0):n===1&&t.digits.push(0),t.integerLen+=2),t}function j3(t){let n=Math.abs(t)+"",e=0,i,r,a,o,s;for((r=n.indexOf(pp))>-1&&(n=n.replace(pp,"")),(a=n.search(/e/i))>0?(r<0&&(r=a),r+=+n.slice(a+1),n=n.substring(0,a)):r<0&&(r=n.length),a=0;n.charAt(a)===xh;a++);if(a===(s=n.length))i=[0],r=1;else{for(s--;n.charAt(s)===xh;)s--;for(r-=a,i=[],o=0;a<=s;a++,o++)i[o]=Number(n.charAt(a))}return r>ED&&(i=i.splice(0,ED-1),e=r-1,r=1),{digits:i,exponent:e,integerLen:r}}function H3(t,n,e){if(n>e)throw new at(2307,!1);let i=t.digits,r=i.length-t.integerLen,a=Math.min(Math.max(n,r),e),o=a+t.integerLen,s=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(let u=o;u<i.length;u++)i[u]=0}else{r=Math.max(0,r),t.integerLen=1,i.length=Math.max(1,o=a+1),i[0]=0;for(let u=1;u<o;u++)i[u]=0}if(s>=5)if(o-1<0){for(let u=0;u>o;u--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;r<Math.max(0,a);r++)i.push(0);let l=a!==0,c=n+t.integerLen,d=i.reduceRight(function(u,h,m,g){return h=h+u,g[m]=h<10?h:h-10,l&&(g[m]===0&&m>=c?g.pop():l=!1),h>=10?1:0},0);d&&(i.unshift(d),t.integerLen++)}function ub(t){let n=parseInt(t);if(isNaN(n))throw new at(2305,!1);return n}var hb=/\s+/,TD=[],WD=(()=>{class t{_ngEl;_renderer;initialClasses=TD;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(hb):TD}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(hb):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[
vendor: 1,695 bytes, line 1
1i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(hb).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(Qe(he),Qe(ft))};static \u0275dir=G({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var gp=class{$implicit;ngForOf;index;count;constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},GD=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,a,o)=>
vendor: 5,140 bytes, line 1
1{if(r.previousIndex==null)i.createEmbeddedView(this._template,new gp(r.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)i.remove(a===null?void 0:a);else if(a!==null){let s=i.get(a);i.move(s,o),ID(s,r)}});for(let r=0,a=i.length;r<a;r++){let s=i.get(r).context;s.index=r,s.count=a,s.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{let a=i.get(r.currentIndex);ID(a,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(Qe(Zt),Qe(At),Qe(Xo))};static \u0275dir=G({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function ID(t,n){t.context.$implicit=n.item}var $3=(()=>{class t{_viewContainer;_context=new _p;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){MD(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){MD(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(Qe(Zt),Qe(At))};static \u0275dir=G({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),_p=class{$implicit=null;ngIf=null};function MD(t,n){if(t&&!t.createEmbeddedView)throw new at(2020,!1)}var W3=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[r,a]=e.split("."),o=r.indexOf("-")===-1?void 0:Ul.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,a?`${i}${a}`:i,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static \u0275fac=function(i){return new(i||t)(Qe(he),Qe(ib),Qe(ft))};static \u0275dir=G({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),xa=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=f(He);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(Qe(Zt))};static \u0275dir=G({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[lt]})}return t})();function wh(t,n){return new at(2100,!1)}var mb=class{createSubscription(n,e,i){return ei(()=>n.subscribe({next:e,error:i}))}dispose(n){ei(()=>n.unsubscribe())}},fb=class{createSubscription(n,e,i){return n.then(r=>e?.(r),r=>i?.(r)),{unsubscribe:()=>{e=null,i=null}}}dispose(n){n.unsubscribe()}},G3=new fb,q3=new mb,_b=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=f(Yc);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i),i=>this.applicationErrorHandler(i))}_selectStrategy(e){if(Jc(e))return G3;if(Hk(e))return q3;throw wh(t,e)}
1_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(i){return new(i||t)(Qe(Ue,16))};static \u0275pipe=Go({name:"async",type:t,pure:!1})}return t})(),Y3=(()=>{class t{transform(e){return e==null?null:(YD(t,e),e.toLowerCase())}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=Go({name:"lowercase",type:t,pure:!0})}return t})(),X3=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
1D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,qD=(()=>{class t{transform(e){return e==null?null:(YD(t,e),e.replace(X3,i=>i[0].toUpperCase()+i.slice(1).toLowerCase()))}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=Go({name:"titlecase",type:t,pure:!0})}return t})();function YD(t,n){if(typeof n!="string")throw wh(t,n)}var K3="mediumDate",XD=new W(""),KD=new W(""),vb=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,i,r){this.locale=e,this.defaultTimezone=i,this.defaultOptions=r}transform(e,i,r,a){if(e==null||e===""||e!==e)return null;try{let o=i??this.defaultOptions?.dateFormat??K3,s=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return zD(e,o,a||this.locale,s)}catch(o){throw wh(t,o.message)}}static \u0275fac=function(i){return new(i||t)(Qe(nd,16),Qe(XD,24),Qe(KD,24))};static \u0275pipe=Go({name:"date",type:t,pure:!0})}return t})();var Q3=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=Go({name:"json",type:t,pure:!1})}return t})();function Z3(t,n){return{key:t,value:n}}var QD=(()=>{class t{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=AD;transform(e,i=AD){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let r=this.differ.diff(e),a=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>
vendor: 14,693 bytes, lines 1-2
1{this.keyValues.push(Z3(o.key,o.currentValue))})),(r||a)&&(i&&this.keyValues.sort(i),this.compareFn=i),this.keyValues}static \u0275fac=function(i){return new(i||t)(Qe(ib,16))};static \u0275pipe=Go({name:"keyvalue",type:t,pure:!1})}return t})();function AD(t,n){let e=t.key,i=n.key;if(e===i)return 0;if(e==null)return 1;if(i==null)return-1;if(typeof e=="string"&&typeof i=="string")return e<i?-1:1;if(typeof e=="number"&&typeof i=="number")return e-i;if(typeof e=="boolean"&&typeof i=="boolean")return e<i?-1:1;let r=String(e),a=String(i);return r==a?0:r<a?-1:1}var J3=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,i,r){if(!eB(e))return null;r||=this._locale;try{let a=tB(e);return $D(a,r,i)}catch(a){throw wh(t,a.message)}}static \u0275fac=function(i){return new(i||t)(Qe(nd,16))};static \u0275pipe=Go({name:"number",type:t,pure:!0})}return t})();function eB(t){return!(t==null||t===""||t!==t)}function tB(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new at(2309,!1);return t}var iB=(()=>{class t{transform(e,i,r){if(e==null)return null;if(!(typeof e=="string"||Array.isArray(e)))throw wh(t,e);return e.slice(i,r)}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=Go({name:"slice",type:t,pure:!1})}return t})();var bb=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({})}return t})();function Ch(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,a]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(a)}return null}var ql=class{};function oue(t,n,e){return Wk(t,n,e)}var wb="browser",rB="server";function ZD(t){return t===wb}function sue(t){return t===rB}var Cb=(()=>{class t{static \u0275prov=re({token:t,providedIn:"root",factory:()=>new yb(f(Ve),window)})}return t})(),yb=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,e){this.window.scrollTo(et(H({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let i=aB(this.document,n);i&&(this.scrollToElement(i,e),i.focus({preventScroll:!0}))}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch(e){console.warn(Ls(2400,!1))}}scrollToElement(n,e){let i=n.getBoundingClientRect(),r=i.left+this.window.pageXOffset,a=i.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(et(H({},e),{left:r-o[0],top:a-o[1]}))}};function aB(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let a=r.shadowRoot;if(a){let o=a.getElementById(n)||a.querySelector(`[name="${n}"]`);if(o)return o}r=i.nextNode()}}return null}var Sh=class{_doc;constructor(n){this._doc=n}manager},vp=(()=>{class t extends Sh{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,a){return e.addEventListener(i,r,a),()=>this.removeEventListener(e,i,r,a)}removeEventListener(e,i,r,a){return e.removeEventListener(i,r,a)}static \u0275fac=function(i){return new(i||t)(Ke(Ve))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),xp=new W(""),Eb=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(o=>{o.manager=this});let r=e.filter(o=>!(o instanceof vp));this._plugins=r.slice().reverse();let a=e.find(o=>o instanceof vp);a&&this._plugins.push(a)}addEventListener(e,i,r,a){return this._findPluginFor(i).addEventListener(e,i,r,a)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(a=>a.supports(e)),!i)throw new at(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(Ke(xp),Ke(Te))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),Sb="ng-app-id";function JD(t){for(let n of t)n.remove()}function eE(t,n){let e=n.createElement("style");return e.textContent=t,e}function sB(t,n,e,i){let r=t.head?.querySelectorAll(`style[${Sb}="${n}"],link[${Sb}="${n}"]`);if(r)for(let a of r)a.removeAttribute(Sb),a instanceof HTMLLinkElement?i.set(a.href.slice(a.href.lastIndexOf("/")+1),{usage:0,elements:[a]}):a.textContent&&e.set(a.textContent,{usage:0,elements:[a]})}function Db(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Tb=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,i,r,a={}){this.doc=e,this.appId=i,this.nonce=r,sB(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,eE);i?.forEach(r=>this.addUsage(r,this.external,Db))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let a=i.get(e);a?a.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(JD(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])JD(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,eE(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,Db(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(Ke(Ve),Ke(Bl),Ke(Kc,8),Ke(Xc))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),kb={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ib=/%COMP%/g;var iE="%COMP%",lB=`_nghost-${iE}`,cB=`_ngcontent-${iE}`,dB=!0,uB=new W("",{factory:()=>dB});function hB(t){return cB.replace(Ib,t)}function mB(t){return lB.replace(Ib,t)}function nE(t,n){return n.map(e=>e.replace(Ib,t))}var Mb=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,i,r,a,o,s,l=null,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=a,this.doc=o,this.ngZone=s,this.nonce=l,this.tracingService=c,this.defaultRenderer=new kh(e,o,s,this.tracingService)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof yp?r.applyToHost(e):r instanceof Dh&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,a=r.get(i.id);if(!a){let o=this.doc,s=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.tracingService;switch(i.encapsulation){case Xf.Emulated:a=new yp(l,c,i,this.appId,d,o,s,u);break;case Xf.ShadowDom:return new bp(l,e,i,o,s,this.nonce,u,c);case Xf.ExperimentalIsolatedShadowDom:return new bp(l,e,i,o,s,this.nonce,u);default:a=new Dh(l,c,i,d,o,s,u);break}r.set(i.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(Ke(Eb),Ke(Tb),Ke(Bl),Ke(uB),Ke(Ve),Ke(Te),Ke(Kc),Ke(Kf,8))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),kh=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r){this.eventManager=n,this.doc=e,this.ngZone=i,this.tracingService=r}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(kb[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(tE(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(tE(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new at(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let a=kb[r];a?n.setAttributeNS(a,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=kb[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(Ul.DashCase|Ul.Important)?n.style.setProperty(e,i,r&Ul.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Ul.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i,r){if(typeof n=="string"&&(n=ba().getGlobalEventTarget(this.doc,n),!n))throw new at(5102,!1);let a=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(a=this.tracingService.wrapEventListener(n,e,a)),this.eventManager.addEventListener(n,e,a,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function tE(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var bp=class extends kh{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,i,r,a,o,s,l){super(n,r,a,s),this.hostEl=e,this.sharedStylesHost=l,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let c=i.styles;c=nE(i.id,c);for(let u of c){let h=document.createElement("style");o&&h.setAttribute("nonce",o),h.textContent=u,this.shadowRoot.appendChild(h)}let d=i.getExternalStyles?.();if(d)for(let u of d){let h=Db(u,r);o&&h.setAttribute("nonce",o),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Dh=class extends kh{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,a,o,s,l){super(n,a,o,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let c=i.styles;this.styles=l?nE(l,c):c,this.styleUrls=i.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Uk.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},yp=class extends Dh{contentAttr;hostAttr;constructor(n,e,i,r,a,o,s,l){let c=r+"-"+i.id;super(n,e,i,a,o,s,l,c),this.contentAttr=hB(c),this.hostAttr=mB(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}};var wp=class t extends _h{supportsDOMEvents=!0;static makeCurrent(){ab(new t)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=pB();return e==null?null:gB(e)}resetBaseElement(){Eh=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ch(document.cookie,n)}},Eh=null;function pB(){return Eh=Eh||document.head.querySelector("base"),Eh?Eh.getAttribute("href"):null}function gB(t){return new URL(t,document.baseURI).pathname}var _B=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),rE=["alt","control","meta","shift"],vB={"\b":"Backspace","	":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},bB={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},aE=(()=>{class t extends Sh{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r,a){let o=t.parseEventName(i),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ba().onAndCancel(e,o.domEventName,s,a))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let a=t._normalizeKey(i.pop()),o="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),o="code."),rE.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),o+=c+".")}),o+=a,i.length!=0||a.length===0)return null;let l={};return l.domEventName=r,l.fullKey=o,l}static matchEventFullKeyCode(e,i){let r=vB[e.key]||e.key,a="";return i.indexOf("code.")>-1&&(r=e.code,a="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),rE.forEach(o=>{if(o!==r){let s=bB[o];s(e)&&(a+=o+".")}}),a+=r,a===i)}static eventCallback(e,i,r){return a=>{t.matchEventFullKeyCode(a,e)&&r.runGuarded(()=>i(a))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(Ke(Ve))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})();function yB(t,n,e){return S(this,null,function*(){let i=H({rootComponent:t},xB(n,e));return tD(i)})}function xB(t,n){return{platformRef:n?.platformRef,appProviders:[...DB,...t?.providers??[]],platformProviders:kB}}function wB(){wp.makeCurrent()}function CB(){return new Ll}function SB(){return Tk(document),document}var kB=[{provide:Xc,useValue:wb},{provide:Ik,useValue:wB,multi:!0},{provide:Ve,useFactory:SB}];var DB=[{provide:kk,useValue:"root"},{provide:Ll,useFactory:CB},{provide:xp,useClass:vp,multi:!0},{provide:xp,useClass:aE,multi:!0},Mb,Tb,Eb,{provide:Tn,useExisting:Mb},{provide:ql,useClass:_B},[]];var Jo=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
2`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),a=e.slice(i+1).trim();this.addHeaderEntry(r,a)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEac
vendor: 10,336 bytes, line 2
2h((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init();for(let[e,i]of n.headers.entries())this.headers.set(e,i),this.normalizedNames.set(e,n.normalizedNames.get(e))}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=n.op==="a"?(this.headers.get(e)||[]).slice():[];r.push(...i),this.headers.set(e,r);break;case"d":let a=n.value;if(a===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=Array.isArray(a)?a:[a],s=this.headers.get(e);if(!s)return;s=s.filter(l=>o.indexOf(l)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(a=>a.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Sp=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},kp=class{encodeKey(n){return oE(n)}encodeValue(n){return oE(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function EB(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let a=r.indexOf("="),[o,s]=a==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,a)),n.decodeValue(r.slice(a+1))],l=e.get(o)||[];l.push(s),e.set(o,l)}),e}var TB=/%(\d[a-f0-9])/gi,IB={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function oE(t){return encodeURIComponent(t).replace(TB,(n,e)=>IB[e]??n)}function Cp(t){return`${t}`}var Zo=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new kp,n.fromString){if(n.fromObject)throw new at(2805,!1);this.map=EB(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(Cp):[Cp(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(a=>{e.push({param:i,value:a,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,e]of this.cloneFrom.map.entries())this.map.set(n,e);this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=n.op==="a"?(this.map.get(n.param)||[]).slice():[];e.push(Cp(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=(this.map.get(n.param)||[]).slice(),r=i.indexOf(Cp(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null}}};function MB(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function sE(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function lE(t){return typeof Blob<"u"&&t instanceof Blob}function cE(t){return typeof FormData<"u"&&t instanceof FormData}function AB(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var dE="Content-Type",uE="Accept",hE="text/plain",mE="application/json",RB=`${mE}, ${hE}, */*`,ud=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let a;if(MB(this.method)||r?(this.body=i!==void 0?i:null,a=r):a=i,a){if(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,this.keepalive=!!a.keepalive,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params),a.priority&&(this.priority=a.priority),a.cache&&(this.cache=a.cache),a.credentials&&(this.credentials=a.credentials),typeof a.timeout=="number"){if(a.timeout<1||!Number.isInteger(a.timeout))throw new at(2822,"");this.timeout=a.timeout}a.mode&&(this.mode=a.mode),a.redirect&&(this.redirect=a.redirect),a.integrity&&(this.integrity=a.integrity),a.referrer!==void 0&&(this.referrer=a.referrer),a.referrerPolicy&&(this.referrerPolicy=a.referrerPolicy),this.transferCache=a.transferCache}if(this.headers??=new Jo,this.context??=new Sp,!this.params)this.params=new Zo,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),l=s===-1?"?":s<e.length-1?"&":"";this.urlWithParams=e+l+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||sE(this.body)||lE(this.body)||cE(this.body)||AB(this.body)?this.body:this.body instanceof Zo?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||cE(this.body)?null:lE(this.body)?this.body.type||null:sE(this.body)?null:typeof this.body=="string"?hE:this.body instanceof Zo?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?mE:null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,a=n.keepalive??this.keepalive,o=n.priority||this.priority,s=n.cache||this.cache,l=n.mode||this.mode,c=n.redirect||this.redirect,d=n.credentials||this.credentials,u=n.referrer??this.referrer,h=n.integrity||this.integrity,m=n.referrerPolicy||this.referrerPolicy,g=n.transferCache??this.transferCache,_=n.timeout??this.timeout,p=n.body!==void 0?n.body:this.body,v=n.withCredentials??this.withCredentials,b=n.reportProgress??this.reportProgress,y=n.headers||this.headers,E=n.params||this.params,F=n.context??this.context;return n.setHeaders!==void 0&&(y=Object.keys(n.setHeaders).reduce((A,C)=>A.set(C,n.setHeaders[C]),y)),n.setParams&&(E=Object.keys(n.setParams).reduce((A,C)=>A.set(C,n.setParams[C]),E)),new t(e,i,p,{params:E,headers:y,context:F,reportProgress:b,responseType:r,withCredentials:v,transferCache:g,keepalive:a,cache:s,priority:o,timeout:_,mode:l,redirect:c,credentials:d,referrer:u,integrity:h,referrerPolicy:m})}},Yl=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(Yl||{}),md=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,i="OK"){this.headers=n.headers||new Jo,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},Dp=class t extends md{constructor(n={}){super(n)}type=Yl.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},fd=class t extends md{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Yl.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},hd=class extends md{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},PB=200,FB=204;var OB=new W("");var NB=/^\)\]\}',?\n/;var Rb=(()=>{class t{xhrFactory;tracingService=f(Kf,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new at(-2800,!1);let i=this.xhrFactory;return Be(null).pipe(gi(()=>new mn(a=>{let o=i.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEac
vendor: 6,591 bytes, line 2
2h((p,v)=>o.setRequestHeader(p,v.join(","))),e.headers.has(uE)||o.setRequestHeader(uE,RB),!e.headers.has(dE)){let p=e.detectContentTypeHeader();p!==null&&o.setRequestHeader(dE,p)}if(e.timeout&&(o.timeout=e.timeout),e.responseType){let p=e.responseType.toLowerCase();o.responseType=p!=="json"?p:"text"}let s=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let p=o.statusText||"OK",v=new Jo(o.getAllResponseHeaders()),b=o.responseURL||e.url;return l=new Dp({headers:v,status:o.status,statusText:p,url:b}),l},d=this.maybePropagateTrace(()=>{let{headers:p,status:v,statusText:b,url:y}=c(),E=null;v!==FB&&(E=typeof o.response>"u"?o.responseText:o.response),v===0&&(v=E?PB:0);let F=v>=200&&v<300;if(e.responseType==="json"&&typeof E=="string"){let A=E;E=E.replace(NB,"");try{E=E!==""?JSON.parse(E):null}catch(C){E=A,F&&(F=!1,E={error:C,text:E})}}F?(a.next(new fd({body:E,headers:p,status:v,statusText:b,url:y||void 0})),a.complete()):a.error(new hd({error:E,headers:p,status:v,statusText:b,url:y||void 0}))}),u=this.maybePropagateTrace(p=>{let{url:v}=c(),b=new hd({error:p,status:o.status||0,statusText:o.statusText||"Unknown Error",url:v||void 0});a.error(b)}),h=u;e.timeout&&(h=this.maybePropagateTrace(p=>{let{url:v}=c(),b=new hd({error:new DOMException("Request timed out","TimeoutError"),status:o.status||0,statusText:o.statusText||"Request timeout",url:v||void 0});a.error(b)}));let m=!1,g=this.maybePropagateTrace(p=>{m||(a.next(c()),m=!0);let v={type:Yl.DownloadProgress,loaded:p.loaded};p.lengthComputable&&(v.total=p.total),e.responseType==="text"&&o.responseText&&(v.partialText=o.responseText),a.next(v)}),_=this.maybePropagateTrace(p=>{let v={type:Yl.UploadProgress,loaded:p.loaded};p.lengthComputable&&(v.total=p.total),a.next(v)});return o.addEventListener("load",d),o.addEventListener("error",u),o.addEventListener("timeout",h),o.addEventListener("abort",u),e.reportProgress&&(o.addEventListener("progress",g),s!==null&&o.upload&&o.upload.addEventListener("progress",_)),o.send(s),a.next({type:Yl.Sent}),()=>{o.removeEventListener("error",u),o.removeEventListener("abort",u),o.removeEventListener("load",d),o.removeEventListener("timeout",h),e.reportProgress&&(o.removeEventListener("progress",g),s!==null&&o.upload&&o.upload.removeEventListener("progress",_)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(i){return new(i||t)(Ke(ql))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),LB=new W("",{factory:()=>!0}),BB="XSRF-TOKEN",VB=new W("",{factory:()=>BB}),UB="X-XSRF-TOKEN",zB=new W("",{factory:()=>UB}),jB=(()=>{class t{cookieName=f(VB);doc=f(Ve);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ch(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=Ke(jB),r},providedIn:"root"})}return t})();function pE(t,n){if(!f(LB)||t.method==="GET"||t.method==="HEAD")return n(t);try{let r=f(Ko).href,{origin:a}=new URL(r),{origin:o}=new URL(t.url,a);if(a!==o)return n(t)}catch(r){return n(t)}let e=f(fE).getToken(),i=f(zB);return e!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,e)})),n(t)}function HB(t,n){return n(t)}function $B(t,n,e){return(i,r)=>ur(e,()=>n(i,a=>t(a,r)))}var gE=new W("",{factory:()=>[pE]}),Pb=new W(""),_E=new W("",{factory:()=>!0});var Fb=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=Ke(Rb),r},providedIn:"root"})}return t})();var Ep=(()=>{class t{backend;injector;chain=null;pendingTasks=f(Ek);contributeToStability=f(_E);constructor(e,i){this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=this.injector.get(Tp,null,{skipSelf:!0}),r=i!==null&&this.backend===i,a=this.injector.get(Pb,[],r?{self:!0}:void 0),o=Array.from(new Set([...this.injector.get(gE),...a]));this.chain=o.reduceRight((s,l)=>$B(s,l,this.injector),HB)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(go(i))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||t)(Ke(Fb),Ke(En))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Tp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=Ke(Ep),r},providedIn:"root"})}return t})();function Ab(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}var pd=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let a;if(e instanceof ud)a=e;else{let l;r.headers instanceof Jo?l=r.headers:l=new Jo(r.headers);let c;r.params&&(r.params instanceof Zo?c=r.params:c=new Zo({fromObject:r.params})),a=new ud(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}let o=Be(a).pipe(Nl(l=>this.handler.handle(l)));if(e instanceof ud||r.observe==="events")return o;let s=o.pipe(vt(l=>l instanceof fd));switch(r.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return s.pipe(ct(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new at(2806,!1);return l.body}));case"blob":return s.pipe(ct(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new at(2807,!1);return l.body}));case"text":return s.pipe(ct(l=>{if(l.body!==null&&typeof l.body!="string")throw new at(2808,!1);return l.body}));default:return s.pipe(ct(l=>l.body))}case"response":return s;default:throw new at(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}
2){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new Zo().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Ab(r,i))}post(e,i,r={}){return this.request("POST",e,Ab(r,i))}put(e,i,r={}){return this.request("PUT",e,Ab(r,i))}static \u0275fac=function(i){return new(i||t)(Ke(Tp))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function WB(...t){let n=[pd,Ep,{provide:Tp,useExisting:Ep},{provide:Fb,useFactory:()=>f(OB,{optional:!0})??f(Rb)},{provide:gE,useValue:pE,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return qc(n)}var GB=new W(""),qB="b",YB="h",XB="s",KB="st",QB="u",ZB="rt",Ob=new W(""),JB=["GET","HEAD"];function xE(t,n){let o=n,{isCacheActive:e}=o,i=Wc(o,["isCacheActive"]),{transferCache:r,method:a}=t;return!(!e||r===!1||n5(t)||a==="POST"&&!i.includePostRequests&&!r||a!=="POST"&&!JB.includes(a)||!i.includeRequestsWithAuthHeaders&&i5(t)||a5(t.headers)||o5(t.cache)||i.filter?.(t)===!1)}function e5(t,n,e,i,r,a=!1){if(!a&&!xE(t,n))return null;if(i)throw new at(2803,!1);if(!r){let _=t.url;r=wE(t,_)}let o=e.get(r,null);if(!o)return null;let{[qB]:s,[ZB]:l,[YB]:c,[XB]:d,[KB]:u,[QB]:h}=o,m=s;switch(l){case"arraybuffer":m=bE(s);break;case"blob":m=new Blob([bE(s)]);break}let g=new Jo(c);return new fd({body:m,headers:g,status:d,statusText:u,url:h})}function t5(t,n){let e=f(Ob);if(!xE(t,e))return n(t);let i=f(Mk),r=f(GB,{optional:!0}),a=t.url,o=wE(t,a),s=e5(t,e,i,null,o,!0);return s?Be(s):n(t)}function i5(t){let n=t.headers;return n.has("authorization")||n.has("proxy-authorization")||n.has("cookie")}function n5(t){let{withCredentials:n,credentials:e}=t;return n||e==="include"||e==="same-origin"}var r5=new Set(["no-store","private","no-cache"]);function a5(t){let n=t.get("cache-control");return n?n.split(",").some(e=>{let i=e.split("=",1)[0].trim().toLowerCase();return r5.has(i)}):!1}function o5(t){return t==="no-cache"||t==="no-store"}function vE(t){let n=new URLSearchParams(t instanceof URLSearchParams?t:t.toString());return n.sort(),n.toString()}function wE(t,n){let{params:e,method:i,responseType:r}=t,a=vE(e),o=t.serializeBody();o instanceof URLSearchParams?o=vE(o):typeof o!="string"&&(o="");let s=[i,r,n,o,a].join("|"),l=l5(s);return l}function bE(t){let n=atob(t);return Uint8Array.from(n,i=>i.charCodeAt(0)).buffer}function CE(t){return[{provide:Ob,useFactory:()=>(lh("NgHttpTransferCache"),H({isCacheActive:!0},t))},{provide:Pb,useValue:t5,multi:!0},{provide:ch,multi:!0,useFactory:()=>{let n=f(Tr),e=f(Ob);return()=>{n.whenStable().then(()=>{e.isCacheActive=!1})}}}]}var s5=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),yE;function l5(t){yE??=new TextEncoder;let n=yE.encode(t),e=1779033703,i=3144134277,r=1013904242,a=2773480762,o=1359893119,s=2600822924,l=528734635,c=1541459225,d=n.length*8,u=(n.length+8>>6)+1<<6,h=new Uint8Array(u);h.set(n),h[n.length]=128;let m=new DataView(h.buffer),g=d>>>0,_=d/4294967296>>>0;m.setUint32(u-8,_,!1),m.setUint32(u-4,g,!1);let p=new Uint32Array(64);for(let v=0;v<u;v+=64){for(let V=0;V<16;V++)p[V]=m.getUint32(v+V*4,!1);for(let V=16;V<64;V++){let z=p[V-15],ee=((z>>>7|z<<25)^(z>>>18|z<<14)^z>>>3)>>>0,ze=p[V-2],rt=((ze>>>17|ze<<15)^(ze>>>19|ze<<13)^ze>>>10)>>>0;p[V]=p[V-16]+ee+p[V-7]+rt>>>0}let b=e,y=i,E=r,F=a,A=o,C=s,M=l,L=c;for(let V=0;V<64;V++){let z=((A>>>6|A<<26)^(A>>>11|A<<21)^(A>>>25|A<<7))>>>0,ee=(A&C^~A&M)>>>0,ze=L+z+ee+s5[V]+p[V]>>>0,rt=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))>>>0,Me=(b&y^b&E^y&E)>>>
20,yt=rt+Me>>>0;L=M,M=C,C=A,A=F+ze>>>0,F=E,E=y,y=b,b=ze+yt>>>0}e=e+b>>>0,i=i+y>>>0,r=r+E>>>0,a=a+F>>>0,o=o+A>>>0,s=s+C>>>0,l=l+M>>>0,c=c+L>>>0}return[e,i,r,a,o,s,l,c].map(v=>v.toString(16).padStart(8,"0")).join("")}var kE=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||t)(Ke(Ve))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Xl=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=Ke(d5),r},providedIn:"root"})}return t})(),d5=(()=>{class t extends Xl{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case hr.NONE:return i;case hr.HTML:return Qc(i,"HTML")?Vl(i):Bk(this._doc,String(i)).toString();case hr.STYLE:return Qc(i,"Style")?Vl(i):i;case hr.SCRIPT:if(Qc(i,"Script"))return Vl(i);throw new at(5200,!1);case hr.URL:return Qc(i,"URL")?Vl(i):Lk(String(i));case hr.RESOURCE_URL:if(Qc(i,"ResourceURL"))return Vl(i);throw new at(5201,!1);default:throw new at(5202,!1)}}bypassSecurityTrustHtml(e){return Rk(e)}bypassSecurityTrustStyle(e){return Pk(e)}bypassSecurityTrustScript(e){return Fk(e)}bypassSecurityTrustUrl(e){return Ok(e)}bypassSecurityTrustResourceUrl(e){return Nk(e)}static \u0275fac=function(i){return new(i||t)(Ke(Ve))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Nb=(function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t[t.I18nSupport=2]="I18nSupport",t[t.EventReplay=3]="EventReplay",t[t.IncrementalHydration=4]="IncrementalHydration",t})(Nb||{});function Uhe(...t){let n=[],e=new Set;for(let{\u0275providers:r,\u0275kind:a}of t)e.add(a),r.length&&n.push(r);let i=e.has(Nb.HttpTransferCacheOptions);return qc([[],[],eD(),e.has(Nb.NoHttpTransferCache)||i?[]:CE({}),n])}var Dt="primary",Vh=Symbol("RouteTitle"),zb=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ql(t){return new zb(t)}function Lb(t,n,e){for(let i=0;i<t.length;i++){let r=t[i],a=n[i];if(r[0]===":")e[r.substring(1)]=a;else if(r!==a.path)return!1}return!0}function FE(t,n,e){let i=e.path.split("/"),r=i.indexOf("**");if(r===-1){if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.length<t.length))return null;let l={},c=t.slice(0,i.length);return Lb(i,c,l)?{consumed:c,posParams:l}:null}if(r!==i.lastIndexOf("**"))return null;let a=i.slice(0,r),o=i.slice(r+1);if(a.length+o.length>t.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let s={};return!Lb(a,t.slice(0,a.length),s)||!Lb(o,t.slice(t.length-o.length),s)?null:{consumed:t,posParams:s}}function Fp(t){return new Promise((n,e)=>{t.pipe(Ns()).subscribe({next:i=>n(i),error:i=>e(i)})})}function u5(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!yo(t[e],n[e]))return!1;return!0}function yo(t,n){let e=t?jb(t):void 0,i=n?jb(n):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let a=0;a<e.length;a++)if(r=e[a],!OE(t[r],n[r]))return!1;return!0}function jb(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function OE(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),i=[...n].sort();return e.every((r,a)=>i[a]===r)}else return t===n}function h5(t){return t.length>0?t[t.length-1]:null}function Jl(t){return mo(t)?t:Jc(t)?Ri(Promise.resolve(t)):Be(t)}function NE(t){return mo(t)?Fp(t):Promise.resolve(t)}var m5={exact:VE,subset:UE},LE={exact:f5,subset:p5,ignored:()=>!0},BE={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Hb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function EE(t,n,e){return m5[e.paths](t.root,n.root,e.matrixParams)&&LE[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function f5(t,n){return yo(t,n)}function VE(t,n,e){if(!Kl(t.segments,n.segments)||!Ap(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!VE(t.children[i],n.children[i],e))return!1;return!0}function p5(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>OE(t[e],n[e]))}function UE(t,n,e){return zE(t,n,n.segments,e)}function zE(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);
vendor: 12,097 bytes, line 2
2return!(!Kl(r,e)||n.hasChildren()||!Ap(r,e,i))}else if(t.segments.length===e.length){if(!Kl(t.segments,e)||!Ap(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!UE(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),a=e.slice(t.segments.length);return!Kl(t.segments,r)||!Ap(t.segments,r,i)||!t.children[Dt]?!1:zE(t.children[Dt],n,a,i)}}function Ap(t,n,e){return n.every((i,r)=>LE[e](t[r].parameters,i.parameters))}var Qr=class{root;queryParams;fragment;_queryParamMap;constructor(n=new li([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Ql(this.queryParams),this._queryParamMap}toString(){return v5.serialize(this)}},li=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Rp(this)}},$s=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Ql(this.parameters),this._parameterMap}toString(){return HE(this)}};function g5(t,n){return Kl(t,n)&&t.every((e,i)=>yo(e.parameters,n[i].parameters))}function Kl(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function _5(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===Dt&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==Dt&&(e=e.concat(n(r,i)))}),e}var qs=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>new ts,providedIn:"root"})}return t})(),ts=class{parse(n){let e=new Wb(n);return new Qr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Th(n.root,!0)}`,i=x5(n.queryParams),r=typeof n.fragment=="string"?`#${b5(n.fragment)}`:"";return`${e}${i}${r}`}},v5=new ts;function Rp(t){return t.segments.map(n=>HE(n)).join("/")}function Th(t,n){if(!t.hasChildren())return Rp(t);if(n){let e=t.children[Dt]?Th(t.children[Dt],!1):"",i=[];return Object.entries(t.children).forEach(([r,a])=>{r!==Dt&&i.push(`${r}:${Th(a,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=_5(t,(i,r)=>r===Dt?[Th(t.children[Dt],!1)]:[`${r}:${Th(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[Dt]!=null?`${Rp(t)}/${e[0]}`:`${Rp(t)}/(${e.join("//")})`}}function jE(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ip(t){return jE(t).replace(/%3B/gi,";")}function b5(t){return encodeURI(t)}function $b(t){return jE(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pp(t){return decodeURIComponent(t)}function TE(t){return Pp(t.replace(/\+/g,"%20"))}function HE(t){return`${$b(t.path)}${y5(t.parameters)}`}function y5(t){return Object.entries(t).map(([n,e])=>`;${$b(n)}=${$b(e)}`).join("")}function x5(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${Ip(e)}=${Ip(r)}`).join("&"):`${Ip(e)}=${Ip(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var w5=/^[^\/()?;#]+/;function Bb(t){let n=t.match(w5);return n?n[0]:""}var C5=/^[^\/()?;=#]+/;function S5(t){let n=t.match(C5);return n?n[0]:""}var k5=/^[^=?&#]+/;function D5(t){let n=t.match(k5);return n?n[0]:""}var E5=/^[^&#]+/;function T5(t){let n=t.match(E5);return n?n[0]:""}var Wb=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new li([],{}):new li([],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(n=0){if(n>50)throw new at(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0,n));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1,n)),(e.length>0||Object.keys(i).length>0)&&(r[Dt]=new li(e,i)),r}parseSegment(){let n=Bb(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new at(4009,!1);return this.capture(n),new $s(Pp(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=S5(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=Bb(this.remaining);r&&(i=r,this.capture(i))}n[Pp(e)]=Pp(i)}parseQueryParam(n){let e=D5(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let o=T5(this.remaining);o&&(i=o,this.capture(i))}let r=TE(e),a=TE(i);if(n.hasOwnProperty(r)){let o=n[r];Array.isArray(o)||(o=[o],n[r]=o),o.push(a)}else n[r]=a}parseParens(n,e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Bb(this.remaining),a=this.remaining[r.length];if(a!=="/"&&a!==")"&&a!==";")throw new at(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=Dt);let s=this.parseChildren(e+1);i[o??Dt]=Object.keys(s).length===1&&s[Dt]?s[Dt]:new li([],s),this.consumeOptional("//")}return i}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 at(4011,!1)}};function $E(t){return t.segments.length>0?new li([],{[Dt]:t}):t}function WE(t){let n={};for(let[i,r]of Object.entries(t.children)){let a=WE(r);if(i===Dt&&a.segments.length===0&&a.hasChildren())for(let[o,s]of Object.entries(a.children))n[o]=s;else(a.segments.length>0||a.hasChildren())&&(n[i]=a)}let e=new li(t.segments,n);return I5(e)}function I5(t){if(t.numberOfChildren===1&&t.children[Dt]){let n=t.children[Dt];return new li(t.segments.concat(n.segments),n.children)}return t}function Ws(t){return t instanceof Qr}function GE(t,n,e=null,i=null,r=new ts){let a=qE(t);return YE(a,n,e,i,r)}function qE(t){let n;function e(a){let o={};for(let l of a.children){let c=e(l);o[l.outlet]=c}let s=new li(a.url,o);return a===t&&(n=s),s}let i=e(t.root),r=$E(i);return n??r}function YE(t,n,e,i,r){let a=t;for(;a.parent;)a=a.parent;if(n.length===0)return Vb(a,a,a,e,i,r);let o=M5(n);if(o.toRoot())return Vb(a,a,new li([],{}),e,i,r);let s=A5(o,a,t),l=s.processChildren?Mh(s.segmentGroup,s.index,o.commands):KE(s.segmentGroup,s.index,o.commands);return Vb(a,s.segmentGroup,l,e,i,r)}function Op(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Rh(t){return typeof t=="object"&&t!=null&&t.outlets}function IE(t,n,e){t||="\u0275";let i=new Qr;return i.queryParams={[t]:n},e.parse(e.serialize(i)).queryParams[t]}function Vb(t,n,e,i,r,a){let o={};for(let[c,d]of Object.entries(i??{}))o[c]=Array.isArray(d)?d.map(u=>IE(c,u,a)):IE(c,d,a);let s;t===n?s=e:s=XE(t,n,e);let l=$E(WE(s));return new Qr(l,o,r)}function XE(t,n,e){let i={};return Object.entries(t.children).forEach(([r,a])=>{a===n?i[r]=e:i[r]=XE(a,n,e)}),new li(t.segments,i)}var Np=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Op(i[0]))throw new at(4003,!1);let r=i.find(Rh);if(r&&r!==h5(i))throw new at(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function M5(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Np(!0,0,t);let n=0,e=!1,i=t.reduce((r,a,o)=>{if(typeof a=="object"&&a!=null){if(a.outlets){let s={};return Object.entries(a.outlets).forEach(([l,c])=>{s[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:s}]}if(a.segmentPath)return[...r,a.segmentPath]}return typeof a!="string"?[...r,a]:o===0?(a.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?e=!0:s===".."?n++:s!=""&&r.push(s))}),r):[...r,a]},[]);return new Np(e,n,i)}var _d=class{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};function A5(t,n,e){if(t.isAbsolute)return new _d(n,!0,0);if(!e)return new _d(n,!1,NaN);if(e.parent===null)return new _d(e,!0,0);let i=Op(t.commands[0])?0:1,r=e.segments.length-1+i;return R5(e,r,t.numberOfDoubleDots)}function R5(t,n,e){let i=t,r=n,a=e;for(;a>r;){if(a-=r,i=i.parent,!i)throw new at(4005,!1);r=i.segments.length}return new _d(i,!1,r-a)}function P5(t){return Rh(t[0])?t[0].outlets:{[Dt]:t}}function KE(t,n,e){if(t??=new li([],{}),t.segments.length===0&&t.hasChildren())return Mh(t,n,e);let i=F5(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let a=new li(t.segments.slice(0,i.pathIndex),{});return a.children[Dt]=new li(t.segments.slice(i.pathIndex),t.children),Mh(a,0,r)}else return i.match&&r.length===0?new li(t.segments,{}):i.match&&!t.hasChildren()?Gb(t,n,e):i.match?Mh(t,0,r):Gb(t,n,e)}function Mh(t,n,e){if(e.length===0)return new li(t.segments,{});{let i=P5(e),r={};if(Object.keys(i).some(a=>a!==Dt)&&t.children[Dt]&&t.numberOfChildren===1&&t.children[Dt].segments.length===0){let a=Mh(t.children[Dt],n,e);return new li(t.segments,a.children)}return Object.entries(i).forEach(([a,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(r[a]=KE(t.children[a],n,o))}),Object.entries(t.children).forEach(([a,o])=>{i[a]===void 0&&(r[a]=o)}),new li(t.segments,r)}}function F5(t,n,e){let i=0,r=n,a={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return a;let o=t.segments[r],s=e[i];if(Rh(s))break;let l=`${s}`,c=i<e.length-1?e[i+1]:null;if(r>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!AE(l,c,o))return a;i+=2}else{if(!AE(l,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function Gb(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r<e.length;){let a=e[r];if(Rh(a)){let l=O5(a.outlets);return new li(i,l)}if(r===0&&Op(e[0])){let l=t.segments[n];i.push(new $s(l.path,ME(e[0]))),r++;continue}let o=Rh(a)?a.outlets[Dt]:`${a}`,s=r<e.length-1?e[r+1]:null;o&&s&&Op(s)?(i.push(new $s(o,ME(s))),r+=2):(i.push(new $s(o,{})),r++)}return new li(i,{})}function O5(t){let n={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=Gb(new li([],{}),0,i))}),n}function ME(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function AE(t,n,e){return t==e.path&&yo(n,e.parameters)}var vd="imperative",vn=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(vn||{}),Zr=class{id;url;constructor(n,e){this.id=n,this.url=e}},Gs=class extends Zr{type=vn.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Jr=class extends Zr{urlAfterRedirects;type=vn.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Kn=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
2solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(Kn||{}),yd=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(yd||{}),wa=class extends Zr{reason;code;type=vn.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function QE(t){return t instanceof wa&&(t.code===Kn.Redirect||t.code===Kn.SupersededByNewNavigation)}var xo=class extends Zr{reason;code;type=vn.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}},Zl=class extends Zr{error;target;type=vn.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ph=class extends Zr{urlAfterRedirects;state;type=vn.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Lp=class extends Zr{urlAfterRedirects;state;type=vn.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bp=class extends Zr{urlAfterRedirects;state;shouldActivate;type=vn.GuardsCheckEnd;constructor(n,e,i,r,a){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Vp=class extends Zr{urlAfterRedirects;state;type=vn.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Up=class extends Zr{urlAfterRedirects;state;type=vn.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zp=class{route;type=vn.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},jp=class{route;type=vn.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Hp=class{snapshot;type=vn.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$p=class{snapshot;type=vn.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wp=class{snapshot;type=vn.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gp=class{snapshot;type=vn.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xd=class{routerEvent;position;anchor;scrollBehavior;type=vn.Scroll;constructor(n,e,i,r){this.routerEvent=n,this.position=e,this.anchor=i,this.scrollBehavior=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},wd=class{},Fh=class{},Cd=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function N5(t){return!(t instanceof wd)&&!(t instanceof Cd)&&!(t instanceof Fh)}var qp=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ec(this.rootInjector)}},ec=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);
vendor: 18,561 bytes, line 2
2i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new qp(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||t)(Ke(En))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Yp=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=qb(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=qb(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Yb(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return Yb(n,this._root).map(e=>e.value)}};function qb(t,n){if(t===n.value)return n;for(let e of n.children){let i=qb(t,e);if(i)return i}return null}function Yb(t,n){if(t===n.value)return[n];for(let e of n.children){let i=Yb(t,e);if(i.length)return i.unshift(n),i}return[]}var Kr=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function gd(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Oh=class extends Yp{snapshot;constructor(n,e){super(n),this.snapshot=e,ny(this,n)}toString(){return this.snapshot.toString()}};function ZE(t,n){let e=L5(t,n),i=new Hi([new $s("",{})]),r=new Hi({}),a=new Hi({}),o=new Hi({}),s=new Hi(""),l=new Pr(i,r,o,s,a,Dt,t,e.root);return l.snapshot=e.root,new Oh(new Kr(l,[]),e)}function L5(t,n){let e={},i={},r={},o=new Sd([],e,r,"",i,Dt,t,null,{},n);return new Nh("",new Kr(o,[]))}var Pr=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,i,r,a,o,s,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=a,this.outlet=o,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ct(c=>c[Vh]))??Be(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=a}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(ct(n=>Ql(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ct(n=>Ql(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function iy(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:H(H({},n.params),t.params),data:H(H({},n.data),t.data),resolve:H(H(H(H({},t.data),n.data),r?.data),t._resolvedData)}:i={params:H({},t.params),data:H({},t.data),resolve:H(H({},t.data),t._resolvedData??{})},r&&e2(r)&&(i.resolve[Vh]=r.title),i}var Sd=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Vh]}constructor(n,e,i,r,a,o,s,l,c,d){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=l,this._resolve=c,this._environmentInjector=d}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??=Ql(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ql(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Nh=class extends Yp{url;constructor(n,e){super(e),this.url=n,ny(this,e)}toString(){return JE(this._root)}};function ny(t,n){n.value._routerState=t,n.children.forEach(e=>ny(t,e))}function JE(t){let n=t.children.length>0?` { ${t.children.map(JE).join(", ")} } `:"";return`${t.value}${n}`}function Ub(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,yo(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),yo(n.params,e.params)||t.paramsSubject.next(e.params),u5(n.url,e.url)||t.urlSubject.next(e.url),yo(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Xb(t,n){let e=yo(t.params,n.params)&&g5(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||Xb(t.parent,n.parent))}function e2(t){return typeof t.title=="string"||t.title===null}var t2=new W(""),ry=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Dt;activateEvents=new ne;deactivateEvents=new ne;attachEvents=new ne;detachEvents=new ne;routerOutletData=ep();parentContexts=f(ec);location=f(Zt);changeDetector=f(Ue);inputBinder=f(Uh,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new at(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new at(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new at(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new at(4013,!1);this._activatedRoute=e;let r=this.location,o=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new Kb(e,s,r.injector,this.routerOutletData);this.activated=r.createComponent(o,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[lt]})}return t})(),Kb=class{route;childContexts;parent;outletData;constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r}get(n,e){return n===Pr?this.route:n===ec?this.childContexts:n===t2?this.outletData:this.parent.get(n,e)}},Uh=new W(""),ay=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=Wo([i.queryParams,i.params,i.data]).pipe(gi(([a,o,s],l)=>(s=H(H(H({},a),o),s),l===0?Be(s):Promise.resolve(s)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let o=nD(i.component);if(!o){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of o.inputs)e.activatedComponentRef.setInput(s,a[s])});this.outletDataSubscriptions.set(e,r)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),oy=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&we(0,"router-outlet")},dependencies:[ry],encapsulation:2})}return t})();function sy(t){let n=t.children&&t.children.map(sy),e=n?et(H({},t),{children:n}):H({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==Dt&&(e.component=oy),e}function B5(t,n,e){let i=Lh(t,n._root,e?e._root:void 0);return new Oh(i,n)}function Lh(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=V5(t,n,e);return new Kr(i,r)}else{if(t.shouldAttach(n.value)){let a=t.retrieve(n.value);if(a!==null){let o=a.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(s=>Lh(t,s)),o}}let i=U5(n.value),r=n.children.map(a=>Lh(t,a));return new Kr(i,r)}}function V5(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return Lh(t,i,r);return Lh(t,i)})}function U5(t){return new Pr(new Hi(t.url),new Hi(t.params),new Hi(t.queryParams),new Hi(t.fragment),new Hi(t.data),t.outlet,t.component,t)}var kd=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},i2="ngNavigationCancelingError";function Xp(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=Ws(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=n2(!1,Kn.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function n2(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[i2]=!0,e.cancellationCode=n,e}function z5(t){return r2(t)&&Ws(t.url)}function r2(t){return!!t&&t[i2]}var Qb=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,a){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=a}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Ub(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=gd(e);n.children.forEach(a=>{let o=a.value.outlet;this.deactivateRoutes(a,r[o],i),delete r[o]}),Object.values(r).forEach(a=>{this.deactivateRouteAndItsChildren(a,i)})}deactivateRoutes(n,e,i){let r=n.value,a=e?e.value:null;if(r===a)if(r.component){let o=i.getContext(r.outlet);o&&this.deactivateChildRoutes(n,e,o.children)}else this.deactivateChildRoutes(n,e,i);else a&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,a=gd(n);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,r);if(i&&i.outlet){let o=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,a=gd(n);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let r=gd(e);n.children.forEach(a=>{this.activateRoutes(a,r[a.value.outlet],i),this.forwardEvent(new Gp(a.value.snapshot))}),n.children.length&&this.forwardEvent(new $p(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,a=e?e.value:null;if(Ub(r),r===a)if(r.component){let o=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,o.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let o=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),Ub(s.route.value),this.activateChildRoutes(n,null,o.children)}else o.attachRef=null,o.route=r,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(n,null,o.children)}else this.activateChildRoutes(n,null,i)}},Kp=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},bd=class{component;route;constructor(n,e){this.component=n,this.route=e}};function j5(t,n,e){let i=t._root,r=n?n._root:null;return Ih(i,r,e,[i.value])}function H5(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Ed(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!Sk(t)?t:n.get(t):i}function Ih(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let a=gd(n);return t.children.forEach(o=>{$5(o,a[o.value.outlet],e,i.concat([o.value]),r),delete a[o.value.outlet]}),Object.entries(a).forEach(([o,s])=>Ah(s,e.getContext(o),r)),r}function $5(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let a=t.value,o=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){let l=W5(o,a,a.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Kp(i)):(a.data=o.data,a._resolvedData=o._resolvedData),a.component?Ih(t,n,s?s.children:null,i,r):Ih(t,n,e,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new bd(s.outlet.component,o))}else o&&Ah(n,s,r),r.canActivateChecks.push(new Kp(i)),a.component?Ih(t,null,s?s.children:null,i,r):Ih(t,null,e,i,r);return r}function W5(t,n,e){if(typeof e=="function")return ur(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!Kl(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Kl(t.url,n.url)||!yo(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xb(t,n)||!yo(t.queryParams,n.queryParams);default:return!Xb(t,n)}}function Ah(t,n,e){let i=gd(t),r=t.value;Object.entries(i).forEach(([a,o])=>{r.component?n?Ah(o,n.children.getContext(a),e):Ah(o,null,e):Ah(o,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new bd(n.outlet.component,r)):e.canDeactivateChecks.push(new bd(null,r)):e.canDeactivateChecks.push(new bd(null,r))}function zh(t){return typeof t=="function"}function G5(t){return typeof t=="boolean"}function q5(t){return t&&zh(t.canLoad)}function Y5(t){return t&&zh(t.canActivate)}function X5(t){return t&&zh(t.canActivateChild)}function K5(t){return t&&zh(t.canDeactivate)}function Q5(t){return t&&zh(t.canMatch)}function a2(t){return t instanceof vk||t?.name==="EmptyError"}var Mp=Symbol("INITIAL_VALUE");function Dd(){return gi(t=>Wo(t.map(n=>n.pipe(ai(1),bt(Mp)))).pipe(ct(n=>{for(let e of n)if(e!==!0){if(e===Mp)return Mp;if(e===!1||Z5(e))return e}return!0}),vt(n=>n!==Mp),ai(1)))}function Z5(t){return Ws(t)||t instanceof kd}function o2(t){return t.aborted?Be(void 0).pipe(ai(1)):new mn(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function s2(t){return Ne(o2(t))}function J5(t){return za(n=>{let{targetSnapshot:e,currentSnapshot:i,guards:{canActivateChecks:r,canDeactivateChecks:a}}=n;return a.length===0&&r.length===0?Be(et(H({},n),{guardsResult:!0})):e8(a,e,i).pipe(za(o=>o&&G5(o)?t8(e,r,t):Be(o)),ct(o=>et(H({},n),{guardsResult:o})))})}function e8(t,n,e){return Ri(t).pipe(za(i=>o8(i.component,i.route,e,n)),Ns(i=>i!==!0,!0))}function t8(t,n,e){return Ri(n).pipe(Nl(i=>Gf(n8(i.route.parent,e),i8(i.route,e),a8(t,i.path),r8(t,i.route))),Ns(i=>i!==!0,!0))}function i8(t,n){return t!==null&&n&&n(new Wp(t)),Be(!0)}function n8(t,n){return t!==null&&n&&n(new Hp(t)),Be(!0)}function r8(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return Be(!0);let i=e.map(r=>fo(()=>{let a=n._environmentInjector,o=Ed(r,a),s=Y5(o)?o.canActivate(n,t):ur(a,()=>o(n,t));return Jl(s).pipe(Ns())}));return Be(i).pipe(Dd())}function a8(t,n){let e=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(a=>H5(a)).filter(a=>a!==null).map(a=>fo(()=>{let o=a.guards.map(s=>{let l=a.node._environmentInjector,c=Ed(s,l),d=X5(c)?c.canActivateChild(e,t):ur(l,()=>c(e,t));return Jl(d).pipe(Ns())});return Be(o).pipe(Dd())}));return Be(r).pipe(Dd())}function o8(t,n,e,i){let r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!r||r.length===0)return Be(!0);let a=r.map(o=>{let s=n._environmentInjector,l=Ed(o,s),c=K5(l)?l.canDeactivate(t,n,e,i):ur(s,()=>l(t,n,e,i));return Jl(c).pipe(Ns())});return Be(a).pipe(Dd())}function s8(t,n,e,i,r){let a=n.canLoad;if(a===void 0||a.length===0)return Be(!0);let o=a.map(s=>{let l=Ed(s,t),c=q5(l)?l.canLoad(n,e):ur(t,()=>l(n,e)),d=Jl(c);return r?d.pipe(s2(r)):d});return Be(o).pipe(Dd(),l2(i))}function l2(t){return gk($i(n=>{if(typeof n!="boolean")throw Xp(t,n)}),ct(n=>n===!0))}function l8(t,n,e,i,r,a){let o=n.canMatch;if(!o||o.length===0)return Be(!0);let s=o.map(l=>{let c=Ed(l,t),d=Q5(c)?c.canMatch(n,e,r):ur(t,()=>c(n,e,r));return Jl(d).pipe(s2(a))});return Be(s).pipe(Dd(),l2(i))}var es=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},Bh=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function c8(t){throw new at(4e3,!1)}function d8(t){throw n2(!1,Kn.GuardRejected)}var Zb=class{urlSerializer;urlTree;
2constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return S(this,null,function*(){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return i;if(r.numberOfChildren>1||!r.children[Dt])throw c8(`${n.redirectTo}`);r=r.children[Dt]}})}applyRedirectCommands(n,e,i,r,a){return S(this,null,function*(){let o=yield u8(e,r,a);if(o instanceof Qr)throw new Bh(o);let s=this.applyRedirectCreateUrlTree(o,this.urlSerializer.parse(o),n,i);if(o[0]==="/")throw new Bh(s);return s})}applyRedirectCreateUrlTree(n,e,i,r){let a=this.createSegmentGroup(n,e.root,i,r);return new Qr(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,a])=>{if(typeof a=="string"&&a[0]===":"){let s=a.substring(1);i[r]=e[s]}else i[r]=a}),i}createSegmentGroup(n,e,i,r){let a=this.createSegments(n,e.segments,i,r),o={};return Object.entries(e.children).forEach(([s,l])=>{o[s]=this.createSegmentGroup(n,l,i,r)}),new li(a,o)}createSegments(n,e,i,r){return e.map(a=>a.path[0]===":"?this.findPosParam(n,a,r):this.findOrReturn(a,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new at(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}};function u8(t,n,e){if(typeof t=="string")return Promise.resolve(t);let i=t;return Fp(Jl(ur(e,()=>i(n))))}function h8(t,n){return t.providers&&!t._injector&&(t._injector=Zf(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Ka(t){return t.outlet||Dt}function m8(t,n){let e=t.filter(i=>Ka(i)===n);return e.push(...t.filter(i=>Ka(i)!==n)),e}var Jb={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function c2(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function f8(t,n,e,i,r,a,o){let s=d2(t,n,e);if(!s.matched)return Be(s);let l=c2(a(s));return i=h8(n,i),l8(i,n,e,r,l,o).pipe(ct(c=>c===!0?s:H({},Jb)))}function d2(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?H({},Jb):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||FE)(e,t,n);if(!r)return H({},Jb);let a={};Object.entries(r.posParams??{}).forEach(([s,l])=>{a[s]=l.path});let o=r.consumed.length>0?H(H({},a),r.consumed[r.consumed.length-1].parameters):a;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function RE(t,n,e,i,r){return e.length>0&&_8(t,e,i,r)?{segmentGroup:new li(n,g8(i,new li(e,t.children))),slicedSegments:[]}:e.length===0&&v8(t,e,i)?{segmentGroup:new li(t.segments,p8(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new li(t.segments,t.children),slicedSegments:e}}function p8(t,n,e,i){let r={};
2for(let a of e)if(Zp(t,n,a)&&!i[Ka(a)]){let o=new li([],{});r[Ka(a)]=o}return H(H({},i),r)}function g8(t,n){let e={};e[Dt]=n;for(let i of t)if(i.path===""&&Ka(i)!==Dt){let r=new li([],{});e[Ka(i)]=r}return e}function _8(t,n,e,i){return e.some(r=>!Zp(t,n,r)||!(Ka(r)!==Dt)?!1:!(i!==void 0&&Ka(r)===i))}function v8(t,n,e){return e.some(i=>Zp(t,n,i))}function Zp(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function b8(t,n,e){return n.length===0&&!t.children[e]}var ey=class{};function y8(t,n,e,i,r,a,o="emptyOnly",s){return S(this,null,function*(){return new ty(t,n,e,i,r,o,a,s).recognize()})}var x8=31,ty=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,i,r,a,o,s,l){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=a,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.abortSignal=l,this.applyRedirects=new Zb(this.urlSerializer,this.urlTree)}noMatchError(n){return new at(4002,`'${n.segmentGroup}'`)}recognize(){return S(this,null,function*(){let n=RE(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:i}=yield this.match(n),r=new Kr(i,e),a=new Nh("",r),o=GE(i,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,a.url=this.urlSerializer.serialize(o),{state:a,tree:o}})}match(n){return S(this,null,function*(){let e=new Sd([],Object.freeze({}),Object.freeze(H({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),Dt,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,Dt,e),rootSnapshot:e}}catch(i){if(i instanceof Bh)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof es?this.noMatchError(i):i}})}processSegmentGroup(n,e,i,r,a){return S(this,null,function*(){if(i.segments.length===0&&i.hasChildren())return this.processChildren(n,e,i,a);let o=yield this.processSegment(n,e,i,i.segments,r,!0,a);return o instanceof Kr?[o]:[]})}processChildren(n,e,i,r){return S(this,null,function*(){let a=[];for(let l of Object.keys(i.children))l==="primary"?a.unshift(l):a.push(l);let o=[];for(let l of a){let c=i.children[l],d=m8(e,l),u=yield this.processSegmentGroup(n,d,c,l,r);o.push(...u)}let s=u2(o);return w8(s),s})}processSegment(n,e,i,r,a,o,s){return S(this,null,function*(){for(let l of e)try{return yield this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,a,o,s)}catch(c){if(c instanceof es||a2(c))continue;throw c}if(b8(i,r,a))return new ey;throw new es(i)})}processSegmentAgainstRoute(n,e,i,r,a,o,s,l){return S(this,null,function*(){if(Ka(i)!==o&&(o===Dt||!Zp(r,a,i)))throw new es(r);if(i.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,r,i,a,o,l);if(this.allowRedirects&&s)return this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,a,o,l);throw new es(r)})}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,a,o,s){return S(this,null,function*(){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:u,remainingSegments:h}=d2(e,r,a);if(!l)throw new es(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>x8&&(this.allowRedirects=!1));let m=this.createSnapshot(n,r,a,c,s);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let g=yield this.applyRedirects.applyRedirectCommands(d,r.redirectTo,u,c2(m),n),_=yield this.applyRedirects.lineralizeSegments(r,g);return this.processSegment(n,i,e,_.concat(h),o,!1,s)})}createSnapshot(n,e,i,r,a){let o=new Sd(i,r,Object.freeze(H({},this.urlTree.queryParams)),this.urlTree.fragment,S8(e),Ka(e),e.component??e._loadedComponent??null,e,k8(e),n),s=iy(o,a,this.paramsInheritanceStrategy);return o.params=Object.freeze(s.params),o.data=Object.freeze(s.data),o}matchSegmentAgainstRoute(n,e,i,r,a,o){return S(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let s=y=>this.createSnapshot(n,i,y.consumedSegments,y.parameters,o),l=yield Fp(f8(e,i,r,n,this.urlSerializer,s,this.abort
2Signal));if(i.path==="**"&&(e.children={}),!l?.matched)throw new es(e);n=i._injector??n;let{routes:c}=yield this.getChildConfig(n,i,r),d=i._loadedInjector??n,{parameters:u,consumedSegments:h,remainingSegments:m}=l,g=this.createSnapshot(n,i,h,u,o),{segmentGroup:_,slicedSegments:p}=RE(e,h,m,c,a);if(p.length===0&&_.hasChildren()){let y=yield this.processChildren(d,c,_,g);return new Kr(g,y)}if(c.length===0&&p.length===0)return new Kr(g,[]);let v=Ka(i)===a,b=yield this.processSegment(d,c,_,p,v?Dt:a,!0,g);return new Kr(g,b instanceof Kr?[b]:[])})}getChildConfig(n,e,i){return S(this,null,function*(){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let a=e._loadedNgModuleFactory;return a&&!e._loadedInjector&&(e._loadedInjector=a.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield Fp(s8(n,e,i,this.urlSerializer,this.abortSignal))){let a=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=a.routes,e._loadedInjector=a.injector,e._loadedNgModuleFactory=a.factory,a}throw d8(e)}return{routes:[],injector:n}})}};function w8(t){t.sort((n,e)=>n.value.outlet===Dt?-1:e.value.outlet===Dt?1:n.value.outlet.localeCompare(e.value.outlet))}function C8(t){let n=t.value.routeConfig;return n&&n.path===""}function u2(t){let n=[],e=new Set;for(let i of t){if(!C8(i)){n.push(i);continue}let r=n.find(a=>i.value.routeConfig===a.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=u2(i.children);n.push(new Kr(i.value,r))}return n.filter(i=>!e.has(i))}function S8(t){return t.data||{}}function k8(t){return t.resolve||{}}function D8(t,n,e,i,r,a,o){return za(s=>S(null,null,function*(){let{state:l,tree:c}=yield y8(t,n,e,i,s.extractedUrl,r,a,o);return et(H({},s),{targetSnapshot:l,urlAfterRedirects:c})}))}function E8(t){return za(n=>{let{targetSnapshot:e,guards:{canActivateChecks:i}}=n;if(!i.length)return Be(n);let r=new Set(i.map(s=>s.route)),a=new Set;for(let s of r)if(!a.has(s))for(let l of h2(s))a.add(l);let o=0;return Ri(a).pipe(Nl(s=>r.has(s)?T8(s,e,t):(s.data=iy(s,s.parent,t).resolve,Be(void 0))),$i(()=>o++),Gv(1),za(s=>o===a.size?Be(n):fn))})}function h2(t){let n=t.children.map(e=>h2(e)).flat();return[t,...n]}function T8(t,n,e){let i=t.routeConfig,r=t._resolve;return i?.title!==void 0&&!e2(i)&&(r[Vh]=i.title),fo(()=>(t.data=iy(t,t.parent,e).resolve,I8(r,t,n).pipe(ct(a=>(t._resolvedData=a,t.data=H(H({},t.data),a),null)))))}function I8(t,n,e){let i=jb(t);if(i.length===0)return Be({});let r={};return Ri(i).pipe(za(a=>M8(t[a],n,e).pipe(Ns(),$i(o=>{if(o instanceof kd)throw Xp(new ts,o);r[a]=o}))),Gv(1),ct(()=>r),po(a=>a2(a)?fn:Wf(a)))}function M8(t,n,e){let i=n._environmentInjector,r=Ed(t,i),a=r.resolve?r.resolve(n,e):ur(i,()=>r(n,e));return Jl(a)}function PE(t){return gi(n=>{let e=t(n);return e?Ri(e).pipe(ct(()=>n)):Be(n)})}var ly=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(a=>a.outlet===Dt);return i}getResolvedTitleForRoute(e){return e.data[Vh]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>f(m2),providedIn:"root"})}return t})(),m2=(()=>{class t extends ly{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||t)(Ke(kE))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ys=new W("",{factory:()=>({})}),tc=new W(""),Jp=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=f(Qk);loadComponent(e,i){return S(this,null,function*(){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return Promise.resolve(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let r=S(this,null,function*(){try{let a=yield NE(ur(e,()=>i.loadComponent())),o=yield g2(p2(a));return this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=o,o}finally{this.componentLoaders.delete(i)}});return this.componentLoaders.set(i,r),r})}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Promise.resolve({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let r=S(this,null,function*(){try{let a=yield f2(i,this.compiler,e,this.onLoadEndListener);return i._loadedRoutes=a.routes,i._loadedInjector=a.injector,i._loadedNgModuleFactory=a.factory,a}finally{this.childrenLoaders.delete(i)}});return this.childrenLoaders.set(i,r),r}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function f2(t,n,e,i){return S(this,null,function*(){let r=yield NE(ur(e,()=>t.loadChildren())),a=yield g2(p2(r)),o;a instanceof zk||Array.isArray(a)?o=a:o=yield n.compileModuleAsync(a),i&&i(t);let s,l,c=!1,d;return Array.isArray(o)?(l=o,c=!0):(s=o.create(e).injector,d=o,l=s.get(tc,[],{optional:!0,self:!0}).flat()),{routes:l.map(sy),injector:s,factory:d}})}function A8(t){return t&&typeof t=="object"&&"default"in t}function p2(t){return A8(t)?t.default:t}function g2(t){return S(this,null,function*(){return t})}var e0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>f(R8),providedIn:"root"})}return t})(),R8=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cy=new W(""),dy=new W("");function _2(t,n,e){let i=t.get(dy),r=t.get(Ve);if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let a,o=new Promise(c=>{a=c}),s=r.startViewTransition(()=>(a(),P8(t)));s.updateCallbackDone.catch(c=>{}),s.ready.catch(c=>{}),s.finished.catch(c=>{});let{onViewTransitionCreated:l}=i;return l&&ur(t,()=>l({transition:s,from:n,to:e})),o}function P8(t){return new Promise(n=>{Nt({read:()=>setTimeout(n)},{injector:t})})}var F8=()=>{},uy=new W(""),t0=(()=>{class t{currentNavigation=ke(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=ke(null);events=new te;
2transitionAbortWithErrorSubject=new te;configLoader=f(Jp);environmentInjector=f(En);destroyRef=f(Bs);urlSerializer=f(qs);rootContexts=f(ec);location=f(Ya);inputBindingEnabled=f(Uh,{optional:!0})!==null;titleStrategy=f(ly);options=f(Ys,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=f(e0);createViewTransition=f(cy,{optional:!0});navigationErrorHandler=f(uy,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>Be(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new zp(r)),i=r=>this.events.next(new jp(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;ei(()=>{this.transitions?.next(et(H({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:i,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new Hi(null),this.transitions.pipe(vt(i=>i!==null),gi(i=>{let r=!1,a=new AbortController,o=()=>!r&&this.currentTransition?.id===i.id;return Be(i).pipe(gi(s=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",Kn.SupersededByNewNavigation),fn;this.currentTransition=i;let l=this.lastSuccessfulNavigation();this.currentNavigation.set({id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:l?et(H({},l),{previousNavigation:null}):null,abort:()=>a.abort(),routesRecognizeHandler:s.routesRecognizeHandler,beforeActivateHandler:s.beforeActivateHandler});let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!c&&d!=="reload")return this.events.next(new xo(s.id,this.urlSerializer.serialize(s.rawUrl),"",yd.IgnoredSameUrlNavigation)),s.resolve(!1),fn;if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Be(s).pipe(gi(u=>(this.events.next(new Gs(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),u.id!==this.navigationId?fn:Promise.resolve(u))),D8(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,a.signal),$i(u=>{i.targetSnapshot=u.targetSnapshot,i.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=u.urlAfterRedirects,h)),this.events.next(new Fh)}),gi(u=>Ri(i.routesRecognizeHandler.deferredHandle??Be(void 0)).pipe(ct(()=>u))),$i(()=>{let u=new Ph(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(u)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:u,extractedUrl:h,source:m,restoredState:g,extras:_}=s,p=new Gs(u,this.urlSerializer.serialize(h),m,g);this.events.next(p);let v=ZE(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=i=et(H({},s),{targetSnapshot:v,urlAfterRedirects:h,extras:et(H({},_),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(b=>(b.finalUrl=h,b)),Be(i)}else return this.events.next(new xo(s.id,this.urlSerializer.serialize(s.extractedUrl),"",yd.IgnoredByUrlHandlingStrategy)),s.resolve(!1),fn}),ct(s=>{let l=new Lp(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);return this.events.next(l),this.currentTransition=i=et(H({},s),{guards:j5(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),i}),J5(s=>this.events.next(s)),gi(s=>{if(i.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw Xp(this.urlSerializer,s.guardsResult);let l=new Bp(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(l),!o())return fn;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",Kn.GuardRejected),fn;if(s.guards.canActivateChecks.length===0)return Be(s);let c=new Vp(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(c),!o())return fn;let d=!1;return Be(s).pipe(E8(this.paramsInheritanceStrategy),$i({next:()=>{d=!0;let u=new Up(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(u)},complete:()=>
2{d||this.cancelNavigationTransition(s,"",Kn.NoDataFromResolver)}}))}),PE(s=>{let l=d=>{let u=[];if(d.routeConfig?._loadedComponent)d.component=d.routeConfig?._loadedComponent;else if(d.routeConfig?.loadComponent){let h=d._environmentInjector;u.push(this.configLoader.loadComponent(h,d.routeConfig).then(m=>{d.component=m}))}for(let h of d.children)u.push(...l(h));return u},c=l(s.targetSnapshot.root);return c.length===0?Be(s):Ri(Promise.all(c).then(()=>s))}),PE(()=>this.afterPreactivation()),gi(()=>{let{currentSnapshot:s,targetSnapshot:l}=i,c=this.createViewTransition?.(this.environmentInjector,s.root,l.root);return c?Ri(c).pipe(ct(()=>i)):Be(i)}),ai(1),gi(s=>{let l=B5(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);this.currentTransition=i=s=et(H({},s),{targetRouterState:l}),this.currentNavigation.update(d=>(d.targetRouterState=l,d)),this.events.next(new wd);let c=i.beforeActivateHandler.deferredHandle;return c?Ri(c.then(()=>s)):Be(s)}),$i(s=>{new Qb(e.routeReuseStrategy,i.targetRouterState,i.currentRouterState,l=>this.events.next(l),this.inputBindingEnabled).activate(this.rootContexts),o()&&(r=!0,this.currentNavigation.update(l=>(l.abort=F8,l)),this.lastSuccessfulNavigation.set(ei(this.currentNavigation)),this.events.next(new Jr(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0))}),Ne(o2(a.signal).pipe(vt(()=>!r&&!i.targetRouterState),$i(()=>{this.cancelNavigationTransition(i,a.signal.reason+"",Kn.Aborted)}))),$i({complete:()=>{r=!0}}),Ne(this.transitionAbortWithErrorSubject.pipe($i(s=>{throw s}))),go(()=>{a.abort(),r||this.cancelNavigationTransition(i,"",Kn.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),po(s=>{if(r=!0,this.destroyed)return i.resolve(!1),fn;if(r2(s))this.events.next(new wa(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode)),z5(s)?this.events.next(new Cd(s.url,s.navigationBehaviorOptions)):i.resolve(!1);else{let l=new Zl(i.id,this.urlSerializer.serialize(i.extractedUrl),s,i.targetSnapshot??void 0);try{let c=ur(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(c instanceof kd){let{message:d,cancellationCode:u}=Xp(this.urlSerializer,c);this.events.next(new wa(i.id,this.urlSerializer.serialize(i.extractedUrl),d,u)),this.events.next(new Cd(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(l),s}catch(c){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(c)}}return fn}))}))}cancelNavigationTransition(e,i,r){let a=new wa(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(a),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=ei(this.currentNavigation),r=i?.targetBrowserUrl??i?.extractedUrl;return e.toString()!==r?.toString()&&!i?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function O8(t){return t!==vd}var v2=new W("");var b2=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>f(N8),providedIn:"root"})}return t})(),Qp=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}},N8=(()=>{class t extends Qp{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),i0=(()=>{class t{urlSerializer=f(qs);options=f(Ys,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=f(Ya);urlHandlingStrategy=f(e0);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Qr;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let a=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,o=r??a;return o instanceof Qr?this.urlSerializer.serialize(o):o}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=ZE(null,f(En));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:()=>f(L8),providedIn:"root"})}return t})(),L8=(()=>{class t extends i0{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,i){e instanceof Gs?this.updateStateMemento():e instanceof xo?this.commitTransition(i):e instanceof Ph?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof wd?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof wa&&!QE(e)?this.restoreHistory(i):e instanceof Zl?this.restoreHistory(i,!0):e instanceof Jr&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let{extras:r,id:a}=i,{replaceUrl:o,state:s}=r;if(this.location.isCurrentPathEqualTo(e)||o){let l=this.browserPageId,c=H(H({},s),this.generateNgRouterState(a,l,i));this.location.replaceState(e,"",c)}else{let l=H(H({},s),this.generateNgRouterState(a,this.browserPageId+1,i));this.location.go(e,"",l)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,a=this.currentPageId-r;a!==0?this.location.historyGo(a):this.getCurrentUrlTree()===e.finalUrl&&a===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i,r){return this.canceledNavigationResolution==="computed"?H({navigationId:e,\u0275routerPageId:i},this.routerUrlState(r)):H({navigationId:e},this.routerUrlState(r))}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function n0(t,n){t.events.pipe(vt(e=>e instanceof Jr||e instanceof wa||e instanceof Zl||e instanceof xo),ct(e=>e instanceof Jr||e instanceof xo?0:(e instanceof wa?e.code===Kn.Redirect||e.code===Kn.SupersededByNewNavigation:!1)?2:1),vt(e=>e!==2),ai(1)).subscribe(()=>{n()})}var In=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=f(Kv);stateManager=f(i0);options=f(Ys,{optional:!0})||{};pendingTasks=f(Dk);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=f(t0);
2urlSerializer=f(qs);location=f(Ya);urlHandlingStrategy=f(e0);injector=f(En);_events=new te;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=f(b2);injectorCleanup=f(v2,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=f(tc,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!f(Uh,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new tt;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,a=ei(this.navigationTransitions.currentNavigation);if(r!==null&&a!==null){if(this.stateManager.handleRouterEvent(i,a),i instanceof wa&&i.code!==Kn.Redirect&&i.code!==Kn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Jr)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(i instanceof Cd){let o=i.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=H({scroll:r.extras.scroll,browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||O8(r.source)},o);this.scheduleNavigation(s,vd,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}N5(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),vd,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r,a)=>{this.navigateToSyncWithBrowser(e,r,i,a)})}navigateToSyncWithBrowser(e,i,r,a){let o=r?.navigationId?r:null,s=r?.\u0275routerUrl??e;if(r?.\u0275routerUrl&&(a=et(H({},a),{browserUrl:e})),r){let c=H({},r);delete c.navigationId,delete c.\u0275routerPageId,delete c.\u0275routerUrl,Object.keys(c).length!==0&&(a.state=c)}let l=this.parseUrl(s);this.scheduleNavigation(l,i,o,a).catch(c=>{this.disposed||this.injector.get(Yc)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return ei(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(sy),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:a,fragment:o,queryParamsHandling:s,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:o,d=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":d=H(H({},this.currentUrlTree.queryParams),a);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=a||null}d!==null&&(d=this.removeEmptyProps(d));let u;try{let h=r?r.snapshot:this.routerState.snapshot.root;u=qE(h)}catch(h){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),u=this.currentUrlTree.root}return YE(u,e,d,c??null,this.urlSerializer)}navigateByUrl(e,i={skipLocationChange:!1}){let r=Ws(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(a,vd,null,i)}navigate(e,i={skipLocationChange:!1}){return B8(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(i){return this.console.warn(Ls(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=H({},BE):i===!1?r=H({},Hb):r=H(H({},Hb),i),Ws(e))return EE(this.currentUrlTree,e,r);let a=this.parseUrl(e);return EE(this.currentUrlTree,a,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,a])=>(a!=null&&(i[r]=a),i),{})}scheduleNavigation(e,i,r,a,o){if(this.disposed)return Promise.resolve(!1);let s,l,c;o?(s=o.resolve,l=o.reject,c=o.promise):c=new Promise((u,h)=>{s=u,l=h});let d=this.pendingTasks.add();return n0(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:s,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
2),c.catch(Promise.reject.bind(Promise))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function B8(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new at(4008,!1)}var U8=(()=>{class t{router=f(In);stateManager=f(i0);fragment=ke("");queryParams=ke({});path=ke("");serializer=f(qs);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof Jr&&this.updateState()})}updateState(){let{fragment:e,root:i,queryParams:r}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(r),this.path.set(this.serializer.serialize(new Qr(i)))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),r0=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=f(new gn("href"),{optional:!0});reactiveHref=tb(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return ei(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return ei(this._target)}_target=ke(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return ei(this._queryParams)}_queryParams=ke(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return ei(this._fragment)}_fragment=ke(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return ei(this._queryParamsHandling)}_queryParamsHandling=ke(void 0);set state(e){this._state.set(e)}get state(){return ei(this._state)}_state=ke(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return ei(this._info)}_info=ke(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return ei(this._relativeTo)}_relativeTo=ke(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return ei(this._preserveFragment)}_preserveFragment=ke(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return ei(this._skipLocationChange)}_skipLocationChange=ke(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return ei(this._replaceUrl)}_replaceUrl=ke(!1);isAnchorElement;onChanges=new te;applicationErrorHandler=f(Yc);options=f(Ys,{optional:!0});reactiveRouterState=f(U8);constructor(e,i,r,a,o,s){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=a,this.el=o,this.locationStrategy=s;let l=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area"||!!(typeof customElements=="object"&&customElements.get(l)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=ke(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Ws(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,a,o){let s=this._urlTree();if(s===null||this.isAnchorElement&&(e!==0||i||r||a||o||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,l)?.catch(c=>{this.applicationErrorHandler(c)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,i){let r=this.renderer,a=this.el.nativeElement;i!==null?r.setAttribute(a,e,i):r.removeAttribute(a,e)}_urlTree=pn(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=r=>r==="preserve"||r==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let i=this.routerLinkInput();return i===null||!this.router.createUrlTree?null:Ws(i)?i:this.router.createUrlTree(i,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,i)=>this.computeHref(e)===this.computeHref(i)});get urlTree(){return ei(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(i){return new(i||t)(Qe(In),Qe(Pr),Yv("tabindex"),Qe(ft),Qe(he),Qe(qa))};static \u0275dir=G({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(i,r){i&1&&de("click",function(o){return r.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),i&2&&fe("href",r.reactiveHref(),Vk)("target",r._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ie],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ie],replaceUrl:[2,"replaceUrl","replaceUrl",ie],routerLink:"routerLink"},features:[lt]})}return t})();var jh=class{};var y2=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,r,a){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(vt(e=>e instanceof Jr),Nl(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,i){let r=[];for(let a of i){a.providers&&!a._injector&&(a._injector=Zf(a.providers,e,""));let o=a._injector??e;a._loadedNgModuleFactory&&!a._loadedInjector&&(a._loadedInjector=a._loadedNgModuleFactory.create(o).injector);let s=a._loadedInjector??o;(a.loadChildren&&!a._loadedRoutes&&a.canLoad===void 0||a.loadComponent&&!a._loadedComponent)&&r.push(this.preloadConfig(o,a)),(a.children||a._loadedRoutes)&&r.push(this.processRoutes(s,a.children??a._loadedRoutes))}return Ri(r).pipe(Hv())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{if(e.destroyed)return Be(null);let r;i.loadChildren&&i.canLoad===void 0?r=Ri(this.loader.loadChildren(e,i)):r=Be(null);let a=r.pipe(za(o=>o===null?Be(void 0):(i._loadedRoutes=o.routes,i._loadedInjector=o.injector,i._loadedNgModuleFactory=o.factory,this.processRoutes(o.injector??e,o.routes))));if(i.loadComponent&&!i._loadedComponent){let o=this.loader.loadComponent(e,i);return Ri([a,o]).pipe(Hv())}else return a})}static \u0275fac=function(i){return new(i||t)(Ke(In),Ke(En),Ke(jh),Ke(Jp))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),x2=new W(""),z8=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=vd;restoredId=0;store={};isHydrating=f(Ak,{optional:!0})??!1;
2urlSerializer=f(qs);zone=f(Te);viewportScroller=f(Cb);transitions=f(t0);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&f(Tr).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Gs?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Jr?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof xo&&e.code===yd.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof xd)||e.scrollBehavior==="manual")return;let i={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],i):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,i):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,i){if(this.isHydrating)return;let r=ei(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>S(this,null,function*(){yield new Promise(a=>{setTimeout(a),typeof requestAnimationFrame<"u"&&requestAnimationFrame(a)}),this.zone.run(()=>{this.transitions.events.next(new xd(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){Zc()};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})();function j8(t,...n){return qc([{provide:tc,multi:!0,useValue:t},[],{provide:Pr,useFactory:w2},{provide:ch,multi:!0,useFactory:C2},n.map(e=>e.\u0275providers)])}function w2(){return f(In).routerState.root}function Hh(t,n){return{\u0275kind:t,\u0275providers:n}}function C2(){let t=f(He);return n=>{let e=t.get(Tr);if(n!==e.components[0])return;let i=t.get(In),r=t.get(S2);t.get(my)===1&&i.initialNavigation(),t.get(E2,null,{optional:!0})?.setUpPreloading(),t.get(x2,null,{optional:!0})?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var S2=new W("",{factory:()=>new te}),my=new W("",{factory:()=>1});function k2(){let t=[{provide:Xv,useValue:!0},{provide:my,useValue:0},Qv(()=>{let n=f(He);return n.get(ob,Promise.resolve()).then(()=>new Promise(i=>{let r=n.get(In),a=n.get(S2);n0(r,()=>{i(!0)}),n.get(t0).afterPreactivation=()=>(i(!0),a.closed?Be(void 0):a),r.initialNavigation()}))})];return Hh(2,t)}function D2(){let t=[Qv(()=>{f(In).setUpLocationChangeListener()}),{provide:my,useValue:2}];return Hh(3,t)}var E2=new W("");function T2(t){return Hh(0,[{provide:E2,useExisting:y2},{provide:jh,useExisting:t}])}function I2(){return Hh(8,[ay,{provide:Uh,useExisting:ay}])}function M2(t){lh("NgRouterViewTransitions");let n=[{provide:cy,useValue:_2},{provide:dy,useValue:H({skipNextTransition:!!t?.skipInitialTransition},t)}];return Hh(9,n)}var A2=[Ya,{provide:qs,useClass:ts},In,ec,{provide:Pr,useFactory:w2},Jp,[]],fy=(()=>{class t{constructor(){}static forRoot(e,i){return{ngModule:t,providers:[A2,[],{provide:tc,multi:!0,useValue:e},[],i?.errorHandler?{provide:uy,useValue:i.errorHandler}:[],{provide:Ys,useValue:i||{}},i?.useHash?$8():W8(),H8(),i?.preloadingStrategy?T2(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?G8(i):[],i?.bindToComponentInputs?I2().\u0275providers:[],i?.enableViewTransitions?M2().\u0275providers:[],q8()]}}static forChild(e){return{ngModule:t,providers:[{provide:tc,multi:!0,useValue:e}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({})}return t})();function H8(){return{provide:x2,useFactory:()=>{let t=f(Cb),n=f(Ys);return n.scrollOffset&&t.setOffset(n.scrollOffset),new z8(n)}}}
2function $8(){return{provide:qa,useClass:pb}}function W8(){return{provide:qa,useClass:lp}}function G8(t){return[t.initialNavigation==="disabled"?D2().\u0275providers:[],t.initialNavigation==="enabledBlocking"?k2().\u0275providers:[]]}var hy=new W("");function q8(){return[{provide:hy,useFactory:C2},{provide:ch,multi:!0,useExisting:hy}]}function is(t){return t.buttons===0||t.detail===0}function ns(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var py;function R2(){if(py==null){let t=typeof document<"u"?document.head:null;py=!!(t&&(t.createShadowRoot||t.attachShadow))}return py}function ic(t){if(R2()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Fr(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Ki(t){return t.composedPath?t.composedPath()[0]:t.target}var gy;try{gy=typeof Intl<"u"&&Intl.v8BreakIterator}catch(t){gy=!1}var ht=(()=>{class t{_platformId=f(Xc);isBrowser=this._platformId?ZD(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||gy)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $h;function P2(){if($h==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>$h=!0}))}finally{$h=$h||!1}return $h}function Td(t){return P2()?t:!!t.capture}function bn(t,n=0){return F2(t)?Number(t):arguments.length===2?n:0}function F2(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Bi(t){return t instanceof he?t.nativeElement:t}var O2=new W("cdk-input-modality-detector-options"),N2={ignoreKeys:[18,17,224,91,16]},L2=650,_y={passive:!0,capture:!0},B2=(()=>{class t{_platform=f(ht);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Hi(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>
vendor: 6,844 bytes, line 2
2i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ki(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<L2||(this._modality.next(is(e)?"keyboard":"mouse"),this._mostRecentTarget=Ki(e))};_onTouchstart=e=>{if(ns(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ki(e)};constructor(){let e=f(Te),i=f(Ve),r=f(O2,{optional:!0});if(this._options=H(H({},N2),r),this.modalityDetected=this._modality.pipe(Gc(1)),this.modalityChanged=this.modalityDetected.pipe(Os()),this._platform.isBrowser){let a=f(Tn).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[a.listen(i,"keydown",this._onKeydown,_y),a.listen(i,"mousedown",this._onMousedown,_y),a.listen(i,"touchstart",this._onTouchstart,_y)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Wh=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Wh||{}),V2=new W("cdk-focus-monitor-default-options"),a0=Td({passive:!0,capture:!0}),Ii=(()=>{class t{_ngZone=f(Te);_platform=f(ht);_inputModalityDetector=f(B2);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=f(Ve);_stopInputModalityDetector=new te;constructor(){let e=f(V2,{optional:!0});this._detectionMode=e?.detectionMode||Wh.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=Ki(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=Bi(e);if(!this._platform.isBrowser||r.nodeType!==1)return Be();let a=ic(r)||this._document,o=this._elementInfo.get(r);if(o)return i&&(o.checkChildren=!0),o.subject;let s={checkChildren:i,subject:new te,rootNode:a};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let i=Bi(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let a=Bi(e),o=this._document.activeElement;a===o?this._getClosestElementsInfo(a).forEach(([s,l])=>this._originChanged(s,i,l)):(this._setOrigin(i),typeof a.focus=="function"&&a.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Wh.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Wh.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?L2:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),a=Ki(e);!r||!r.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,a0),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,a0)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ne(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,a0),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,a0),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,a)=>{(a===e||r.checkChildren&&a.contains(e))&&i.push([a,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let o=0;o<a.length;o++)if(a[o].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Gh=(()=>{class t{_elementRef=f(he);_focusMonitor=f(Ii);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new ne;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var o0=new WeakMap,wt=(()=>{class t{_appRef;_injector=f(He);_environmentInjector=f(En);load(e){let i=this._appRef=this._appRef||this._injector.get(Tr),r=o0.get(i);r||(r={loaders:new Set,refs:[]},o0.set(i,r),i.onDestroy(()=>
2{o0.get(i)?.refs.forEach(a=>a.destroy()),o0.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(tp(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Or=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden {
3  border: 0;
4  clip: rect(0 0 0 0);
5  height: 1px;
6  margin: -1px;
7  overflow: hidden;
8  padding: 0;
9  position: absolute;
10  width: 1px;
11  white-space: nowrap;
12  outline: 0;
13  -webkit-appearance: none;
14  -moz-appearance: none;
15  left: 0;
16}
17[dir=rtl] .cdk-visually-hidden {
18  left: auto;
19  right: 0;
20}
21`],encapsulation:2,changeDetection:0})}return t})(),s0;function X8(){if(s0===void 0&&(s0=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(s0=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return s0}function nc(t){return X8()?.createHTML(t)||t}function U2(t,n,e){let i=e.sanitize(hr.HTML,n);t.innerHTML=nc(i||"")}function rs(t){return Array.isArray(t)?t:[t]}var z2=new Set,rc,Id=(()=>{class t{_platform=f(ht);_nonce=f(Kc,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Q8}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&K8(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function K8(t,n){if(!z2.has(t))try{rc||(rc=document.createElement("style"),n&&rc.setAttribute("nonce",n),rc.setAttribute("type","text/css"),document.head.appendChild(rc)),rc.sheet&&(rc.sheet.insertRule(`@media ${t} {body{ }}`,0),z2.add(t))}catch(e){console.error(e)}}function Q8(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var qh=(()=>{class t{_mediaMatcher=f(Id);_zone=f(Te);_queries=new Map;_destroySubject=new te;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return j2(rs(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=j2(rs(e)).map(o=>this._registerQuery(o).observable),a=Wo(r);return a=Gf(a.pipe(ai(1)),a.pipe(Gc(1),dr(0))),a.pipe(ct(o=>{let s={matches:!1,breakpoints:{}};return o.forEach(({matches:l,query:c})=>{s.matches=s.matches||l,s.breakpoints[c]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),a={observable:new mn(o=>{let s=l=>this._zone.run(()=>o.next(l));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(bt(i),ct(({matches:o})=>({query:e,matches:o})),Ne(this._destroySubject)),mql:i};return this._queries.set(e,a),a}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function j2(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function Z8(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n<t.addedNodes.length;n++)if(!(t.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<t.removedNodes.length;n++)if(!(t.removedNodes[n]instanceof Comment))return!1;return!0}return!1}var H2=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$2=(()=>{class t{_mutationObserverFactory=f(H2);_observedElements=new Map;_ngZone=f(Te);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=Bi(e);return new mn(r=>{let o=this._observeElement(i).pipe(ct(s=>s.filter(l=>!Z8(l))),vt(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{o.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).
21count++;else{let i=new te,r=this._mutationObserverFactory.create(a=>i.next(a));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Yh=(()=>{class t{_contentObserver=f($2);_elementRef=f(he);event=new ne;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=bn(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(dr(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",ie],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),Md=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({providers:[H2]})}return t})();var Ad=(()=>{class t{_platform=f(ht);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return e6(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=J8(l6(e));if(i&&(W2(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),a=W2(e);return e.hasAttribute("contenteditable")?a!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!o6(e)?!1:r==="audio"?e.hasAttribute("controls")?a!==-1:!1:r==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return s6(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function J8(t){try{return t.frameElement}catch(n){return null}}function e6(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function t6(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function i6(t){return r6(t)&&t.type=="hidden"}function n6(t){return a6(t)&&t.hasAttribute("href")}function r6(t){return t.nodeName.toLowerCase()=="input"}function a6(t){return t.nodeName.toLowerCase()=="a"}function Y2(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function W2(t){if(!Y2(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function o6(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function s6(t){return i6(t)?!1:t6(t)||n6(t)||t.hasAttribute("contenteditable")||Y2(t)}function l6(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var l0=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();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))}_enabled=!0;constructor(n,e,i,r,a=!1,o){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=o,a||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.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(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i<e.length;i++){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=e.length-1;i>=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}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,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Nt(n,{injector:this._injector}):setTimeout(n)}},Rd=(()=>{class t{_checker=f(Ad);_ngZone=f(Te);_document=f(Ve);_injector=f(He);constructor(){f(wt).load(Or)}create(e,i=!1){return new l0(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),by=(()=>{class t{_elementRef=f(he);_focusTrapFactory=f(Rd);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture=!1;constructor(){f(ht).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(e){let i=e.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Fr(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",ie],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",ie]},exportAs:["cdkTrapFocus"],features:[lt]})}return t})(),X2=new W("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),K2=new W("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),c6=0,Xh=(()=>{class t{_ngZone=f(Te);_defaultOptions=f(K2,{optional:!0});_liveElement;_document=f(Ve);_sanitizer=f(Xl);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=f(X2,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,a,o;return i.length===1&&typeof i[0]=="number"?o=i[0]:[a,o]=i,this.clear(),clearTimeout(this._previousTimeout),a||(a=r&&r.politeness?r.politeness:"polite"),o==null&&r&&(o=r.duration),this._liveElement.setAttribute("aria-live",a),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(()=>{!e||typeof e=="string"?this._liveElement.textContent=e:U2(this._liveElement,e,this._sanitizer),typeof o=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let a=0;a<i.length;a++)i[a].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${c6++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let a=i[r],o=a.getAttribute("aria-owns");o?o.indexOf(e)===-1&&a.setAttribute("aria-owns",o+" "+e):a.setAttribute("aria-owns",e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Xs=(function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t})(Xs||{}
vendor: 6,356 bytes, line 21
21),G2="cdk-high-contrast-black-on-white",q2="cdk-high-contrast-white-on-black",vy="cdk-high-contrast-active",Q2=(()=>{class t{_platform=f(ht);_hasCheckedHighContrastMode=!1;_document=f(Ve);_breakpointSubscription;constructor(){this._breakpointSubscription=f(qh).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Xs.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,a=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Xs.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Xs.BLACK_ON_WHITE}return Xs.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(vy,G2,q2),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Xs.BLACK_ON_WHITE?e.add(vy,G2):i===Xs.WHITE_ON_BLACK&&e.add(vy,q2)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ac=(()=>{class t{constructor(){f(Q2)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Md]})}return t})();var d6=200,Pd=class{_letterKeyStream=new te;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new te;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:d6;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe($i(e=>this._pressedLetters.push(e)),dr(n),vt(()=>this._pressedLetters.length>0),ct(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,a=this._items[r];if(!this._skipPredicateFn?.(a)&&a.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(a);break}}this._pressedLetters=[]})}};function zt(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Fd=class{_items;_activeItemIndex=ke(-1);_activeItem=ke(null);_wrap=!1;_typeaheadSubscription=tt.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof en?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):Us(n)&&(this._effectRef=Vs(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new te;change=new te;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 e=this._getItemsArray();return this._typeahead=new Pd(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(a=>!n[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex()+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(a<o?a:o-1,-1);break}else return;default:(r||zt(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 e=this._getItemsArray(),i=typeof n=="number"?n:e.indexOf(n),r=e[i];this._activeItem.set(r??null),this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i)}
21destroy(){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 e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex()+n*i+e.length)%e.length,a=e[r];if(!this._skipPredicateFn(a)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,e){let i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(n+=e,!i[n])return;this.setActiveItem(n)}}_getItemsArray(){return Us(this._items)?this._items():this._items instanceof en?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let i=n.indexOf(e);i>-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}};var Zh=class extends Fd{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var fr=class extends Fd{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function yy(t){return mo(t)?t:Be(t)}var xy=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=n=>!1;_trackByFn=n=>n;_items=[];_typeahead;_typeaheadSubscription=tt.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let i=0;i<this._items.length;i++)if(!this._skipPredicateFn(this._items[i])&&!this._isItemDisabled(this._items[i])){n=i;break}let e=this._items[n];e.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=e,this._typeahead?.setCurrentSelectedItemIndex(n),e.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,e){n instanceof en?(this._items=n.toArray(),n.changes.subscribe(i=>this._itemsChanged(i.toArray()))):mo(n)?n.subscribe(i=>this._itemsChanged(i)):(this._items=n,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}change=new te;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_itemsChanged(n){this._hasInitialFocused&&this._activeItem&&!n.includes(this._activeItem)&&(this._activeItem=null,this._hasInitialFocused=!1),this._items=n,this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,e={}){e.emitChangeEvent??=!0;let i=typeof n=="number"?n:this._items.findIndex(o=>this._trackByFn(o)===this._trackByFn(n));if(i<0||i>=this._items.length)return;let r=this._items[i];if(this._activeItem!==null&&this._trackByFn(r)===this._trackByFn(this._activeItem))return;let a=this._activeItem;this._activeItem=r??null,this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i),this._activeItem?.focus(),a?.unfocus(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let e=this._activeItem;if(!e)return;let i=n.findIndex(r=>this._trackByFn(r)===this._trackByFn(e));i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}_setTypeAhead(n){this._typeahead=new Pd(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:e=>this._skipPredicateFn(e)}
21),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(n){for(let e=n+1;e<this._items.length;e++)if(!this._skipPredicateFn(this._items[e]))return e;return n}_findPreviousAvailableItemIndex(n){for(let e=n-1;e>=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?yy(this._activeItem.getChildren()).pipe(ai(1)).subscribe(n=>{let e=n.find(i=>!this._skipPredicateFn(i));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),e;n?e=yy(n.getChildren()):e=Be(this._items.filter(i=>i.getParent()===null)),e.pipe(ai(1)).subscribe(i=>{for(let r of i)r.expand()})}_activateCurrentItem(){this._activeItem?.activate()}},Cpe=new W("tree-key-manager",{providedIn:"root",factory:()=>(t,n)=>new xy(t,n)});var wy={},pt=class t{_appId=f(Bl);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,e=!1){return this._appId!=="ng"&&(n+=this._appId),wy.hasOwnProperty(n)||(wy[n]=0),`${n}${e?t._infix+"-":""}${wy[n]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})};var J2=" ";function ky(t,n,e){let i=m0(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(J2)))}function f0(t,n,e){let i=m0(t,n);e=e.trim();let r=i.filter(a=>a!==e);r.length?t.setAttribute(n,r.join(J2)):t.removeAttribute(n)}function m0(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var eT="cdk-describedby-message",h0="cdk-describedby-host",Sy=0,p0=(()=>{class t{_platform=f(ht);_document=f(Ve);_messageRegistry=new Map;_messagesContainer=null;_id=`${Sy++}`;constructor(){f(wt).load(Or),this._id=f(Bl)+"-"+Sy++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let a=Cy(i,r);typeof i!="string"?(Z2(i,this._id),this._messageRegistry.set(a,{messageElement:i,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let a=Cy(i,r);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof i=="string"){let o=this._messageRegistry.get(a);o&&o.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${h0}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(h0);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");Z2(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(Cy(e,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let a=0;a<i.length;a++)i[a].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=m0(e,"aria-describedby").filter(r=>r.indexOf(eT)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);ky(e,"aria-describedby",r.messageElement.id),e.setAttribute(h0,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,f0(e,"aria-describedby",r.messageElement.id),e.removeAttribute(h0)}_isElementDescribedByMessage(e,i){let r=m0(e,"aria-describedby"),a=this._messageRegistry.get(i),o=a&&a.messageElement.id;return!!o&&r.indexOf(o)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),a=e.getAttribute("aria-label");return r?!a||a.trim()!==r:!1}
21_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Cy(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function Z2(t,n){t.id||(t.id=`${eT}-${n}-${Sy++}`)}var Qa=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Qa||{}),g0,oc;function _0(){if(oc==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return oc=!1,oc;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)oc=!0;else{let t=Element.prototype.scrollTo;t?oc=!/\{\s*\[native code\]\s*\}/.test(t.toString()):oc=!1}}return oc}function Od(){if(typeof document!="object"||!document)return Qa.NORMAL;if(g0==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),g0=Qa.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,g0=t.scrollLeft===0?Qa.NEGATED:Qa.INVERTED),t.remove()}return g0}function Dy(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Nd,tT=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ey(){if(Nd)return Nd;if(typeof document!="object"||!document)return Nd=new Set(tT),Nd;let t=document.createElement("input");return Nd=new Set(tT.filter(n=>(t.setAttribute("type",n),t.type===n))),Nd}var iT={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 h6=new W("MATERIAL_ANIMATIONS"),nT=null;function Jh(){return f(h6,{optional:!0})?.animationsDisabled||f(Yf,{optional:!0})==="NoopAnimations"?"di-disabled":(nT??=f(Id).matchMedia("(prefers-reduced-motion)").matches,nT?"reduced-motion":"enabled")}function gt(){return Jh()!=="enabled"}function Zi(t){return t==null?"":typeof t=="string"?t:`${t}px`}function yi(t){return t!=null&&`${t}`!="false"}function rT(t,n=/\s+/){let e=[];
vendor: 9,497 bytes, lines 21-49
21if(t!=null){let i=Array.isArray(t)?t:`${t}`.split(n);for(let r of i){let a=`${r}`.trim();a&&e.push(a)}}return e}var ka=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(ka||{}),Ty=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=ka.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},aT=Td({passive:!0,capture:!0}),Iy=class{_events=new Map;addHandler(n,e,i,r){let a=this._events.get(e);if(a){let o=a.get(i);o?o.add(r):a.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,aT)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let a=r.get(e);a&&(a.delete(i),a.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,aT)))}_delegateEventHandler=n=>{let e=Ki(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(a=>a.handleEvent(n))})}},em={enterDuration:225,exitDuration:150},m6=800,oT=Td({passive:!0,capture:!0}),sT=["mousedown","touchstart"],lT=["mouseup","mouseleave","touchend","touchcancel"],f6=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.mat-ripple {
22  overflow: hidden;
23  position: relative;
24}
25.mat-ripple:not(:empty) {
26  transform: translateZ(0);
27}
28
29.mat-ripple.mat-ripple-unbounded {
30  overflow: visible;
31}
32
33.mat-ripple-element {
34  position: absolute;
35  border-radius: 50%;
36  pointer-events: none;
37  transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);
38  transform: scale3d(0, 0, 0);
39  background-color: var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent));
40}
41@media (forced-colors: active) {
42  .mat-ripple-element {
43    display: none;
44  }
45}
46.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element {
47  display: none;
48}
49`],encapsulation:2,changeDetection:0})}return t})(),sc=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Iy;constructor(n,e,i,r,a){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=Bi(i)),a&&a.get(wt).load(f6)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=H(H({},em),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let o=i.radius||p6(n,e,r),s=n-r.left,l=e-r.top,c=a.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-o}px`,d.style.top=`${l-o}px`,d.style.height=`${o*2}px`,d.style.width=`${o*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),h=u.transitionProperty,m=u.transitionDuration,g=h==="none"||m==="0s"||m==="0s, 0s"||r.width===0&&r.height===0,_=new Ty(this,d,i,g);d.style.transform="scale3d(1, 1, 1)",_.state=ka.FADING_IN,i.persistent||(this._mostRecentTransientRipple=_);let p=null;return!g&&(c||a.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let v=()=>{p&&(p.fallbackTimer=null),clearTimeout(y),this._finishRippleTransition(_)},b=()=>this._destroyRipple(_),y=setTimeout(b,c+100);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",b),p={onTransitionEnd:v,onTransitionCancel:b,fallbackTimer:y}}),this._activeRipples.set(_,p),(g||!c)&&this._finishRippleTransition(_),_}fadeOutRipple(n){if(n.state===ka.FADING_OUT||n.state===ka.HIDDEN)return;let e=n.element,i=H(H({},em),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=ka.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Bi(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,sT.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{lT.forEach(e=>{this._triggerElement.addEventListener(e,this,oT)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===ka.FADING_IN?this._startFadeOutTransition(n):n.state===ka.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=ka.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=ka.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=is(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+m6;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!ns(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===ka.VISIBLE||n.config.terminateOnPointerUp&&n.state===ka.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(sT.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(lT.forEach(e=>n.removeEventListener(e,this,oT)),this._pointerUpEventsRegistered=!1))}};function p6(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}var Ks=new W("mat-ripple-global-options"),pr=(()=>{class t{_elementRef=f(he);_animationsDisabled=gt();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=f(Te),i=f(ht),r=f(Ks,{optional:!0}),a=f(He);this._globalOptions=r||{},this._rippleRenderer=new sc(this,e,this._elementRef,i,a)}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._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,H(H({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,H(H({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mat-ripple-unbounded",r.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"]})}return t})();var g6={capture:!0},_6=["focus","mousedown","mouseenter","touchstart"],My="mat-ripple-loader-uninitialized",Ay="mat-ripple-loader-class-name",cT="mat-ripple-loader-centered",v0="mat-ripple-loader-disabled",b0=(()=>{class t{_document=f(Ve);_animationsDisabled=gt();_globalRippleOptions=f(Ks,{optional:!0});_platform=f(ht);_ngZone=f(Te);_injector=f(He);_eventCleanups;_hosts=new Map;constructor(){let e=f(Tn).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>_6.map(i=>e.listen(this._document,i,this._onInteraction,g6)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>
49i())}configureRipple(e,i){e.setAttribute(My,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(Ay))&&e.setAttribute(Ay,i.className||""),i.centered&&e.setAttribute(cT,""),i.disabled&&e.setAttribute(v0,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(v0,""):e.removeAttribute(v0)}_onInteraction=e=>{let i=Ki(e);if(i instanceof HTMLElement){let r=i.closest(`[${My}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(Ay)),e.append(i);let r=this._globalRippleOptions,a=this._animationsDisabled?0:r?.animation?.enterDuration??em.enterDuration,o=this._animationsDisabled?0:r?.animation?.exitDuration??em.exitDuration,s={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(v0),rippleConfig:{centered:e.hasAttribute(cT),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:a,exitDuration:o}}},l=new sc(s,this._ngZone,i,this._platform,this._injector),c=!s.rippleDisabled;c&&l.setupTriggerEvents(e),this._hosts.set(e,{target:s,renderer:l,hasSetUpEvents:c}),e.removeAttribute(My)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ci=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-focus-indicator {
50  position: relative;
51}
52.mat-focus-indicator::before {
53  top: 0;
54  left: 0;
55  right: 0;
56  bottom: 0;
57  position: absolute;
58  box-sizing: border-box;
59  pointer-events: none;
60  display: var(--mat-focus-indicator-display, none);
61  border-width: var(--mat-focus-indicator-border-width, 3px);
62  border-style: var(--mat-focus-indicator-border-style, solid);
63  border-color: var(--mat-focus-indicator-border-color, transparent);
64  border-radius: var(--mat-focus-indicator-border-radius, 4px);
65}
66.mat-focus-indicator:focus-visible::before {
67  content: "";
68}
69
70@media (forced-colors: active) {
71  html {
72    --mat-focus-indicator-display: block;
73  }
74}
75`],encapsulation:2,changeDetection:0})}return t})();var v6=["mat-icon-button",""],b6=["*"],y6=new W("MAT_BUTTON_CONFIG");function dT(t){return t==null?void 0:Yt(t)}var y0=(()=>{class t{_elementRef=f(he);_ngZone=f(Te);_animationsDisabled=gt();_config=f(y6,{optional:!0});_focusMonitor=f(Ii);_cleanupClick;_renderer=f(ft);_rippleLoader=f(b0);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){f(wt).load(Ci);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null: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)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(i,r){i&2&&(fe("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),$t(r.color?"mat-"+r.color:""),ce("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",ie],disabled:[2,"disabled","disabled",ie],ariaDisabled:[2,"aria-disabled","ariaDisabled",ie],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ie],tabIndex:[2,"tabIndex","tabIndex",dT],_tabindex:[2,"tabindex","_tabindex",dT]}})}return t})(),Za=(()=>{class t extends y0{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[Ie],attrs:v6,ngContentSelectors:b6,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Ge(),Wi(0,"span",0),_e(1),Wi(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button {
76  -webkit-user-select: none;
77  user-select: none;
78  display: inline-block;
79  position: relative;
80  box-sizing: border-box;
81  border: none;
82  outline: none;
83  background-color: transparent;
84  fill: currentColor;
85  text-decoration: none;
86  cursor: pointer;
87  z-index: 0;
88  overflow: visible;
89  border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));
90  flex-shrink: 0;
91  text-align: center;
92  width: var(--mat-icon-button-state-layer-size, 40px);
93  height: var(--mat-icon-button-state-layer-size, 40px);
94  padding: calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);
95  font-size: var(--mat-icon-button-icon-size, 24px);
96  color: var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));
97  -webkit-tap-highlight-color: transparent;
98}
99.mat-mdc-icon-button .mat-mdc-button-ripple,
100.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,
101.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {
102  top: 0;
103  left: 0;
104  right: 0;
105  bottom: 0;
106  position: absolute;
107  pointer-events: none;
108  border-radius: inherit;
109}
110.mat-mdc-icon-button .mat-mdc-button-ripple {
111  overflow: hidden;
112}
113.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {
114  content: "";
115  opacity: 0;
116}
117.mat-mdc-icon-button .mdc-button__label,
118.mat-mdc-icon-button .mat-icon {
119  z-index: 1;
120  position: relative;
121}
122.mat-mdc-icon-button .mat-focus-indicator {
123  top: 0;
124  left: 0;
125  right: 0;
126  bottom: 0;
127  position: absolute;
128  border-radius: inherit;
129}
130.mat-mdc-icon-button:focus-visible > .mat-focus-indicator::before {
131  content: "";
132  border-radius: inherit;
133}
134.mat-mdc-icon-button .mat-ripple-element {
135  background-color: var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
136}
137.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {
138  background-color: var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant));
139}
140.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
141  background-color: var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
142}
143.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before {
144  opacity: var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
145}
146.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 {
147  opacity: var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
148}
149.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before {
150  opacity: var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
151}
152.mat-mdc-icon-button .mat-mdc-button-touch-target {
153  position: absolute;
154  top: 50%;
155  height: var(--mat-icon-button-touch-target-size, 48px);
156  display: var(--mat-icon-button-touch-target-display, block);
157  left: 50%;
158  width: var(--mat-icon-button-touch-target-size, 48px);
159  transform: translate(-50%, -50%);
160}
161.mat-mdc-icon-button._mat-animation-noopable {
162  transition: none !important;
163  animation: none !important;
164}
165.mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled {
166  cursor: default;
167  pointer-events: none;
168  color: var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
169}
170.mat-mdc-icon-button.mat-mdc-button-disabled-interactive {
171  pointer-events: auto;
172}
173.mat-mdc-icon-button img,
174.mat-mdc-icon-button svg {
175  width: var(--mat-icon-button-icon-size, 24px);
176  height: var(--mat-icon-button-icon-size, 24px);
177  vertical-align: baseline;
178}
179.mat-mdc-icon-button .mat-mdc-button-persistent-ripple {
180  border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));
181}
182.mat-mdc-icon-button[hidden] {
183  display: none;
184}
185.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 {
186  background: transparent;
187  opacity: 1;
188}
189`,`@media (forced-colors: active) {
190  .mat-mdc-button:not(.mdc-button--outlined),
191  .mat-mdc-unelevated-button:not(.mdc-button--outlined),
192  .mat-mdc-raised-button:not(.mdc-button--outlined),
193  .mat-mdc-outlined-button:not(.mdc-button--outlined),
194  .mat-mdc-button-base.mat-tonal-button,
195  .mat-mdc-icon-button.mat-mdc-icon-button,
196  .mat-mdc-outlined-button .mdc-button__ripple {
197    outline: solid 1px;
198  }
199}
200`],encapsulation:2,changeDetection:0})}return t})();var x6=new W("cdk-dir-doc",{providedIn:"root",factory:()=>f(Ve)}),w6=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function uT(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?w6.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Vt=(()=>{class t{get value(){return this.valueSignal()}valueSignal=ke("ltr");change=new ne;constructor(){let e=f(x6,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(uT(i||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ye=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({})}return t})();var Nr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Ye]})}return t})();
200var C6=["matButton",""],mT=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],fT=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var S6=["mat-mini-fab",""],k6=`.mat-mdc-fab-base {
201  -webkit-user-select: none;
202  user-select: none;
203  position: relative;
204  display: inline-flex;
205  align-items: center;
206  justify-content: center;
207  box-sizing: border-box;
208  width: 56px;
209  height: 56px;
210  padding: 0;
211  border: none;
212  fill: currentColor;
213  text-decoration: none;
214  cursor: pointer;
215  -moz-appearance: none;
216  -webkit-appearance: none;
217  overflow: visible;
218  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);
219  flex-shrink: 0;
220  -webkit-tap-highlight-color: transparent;
221}
222.mat-mdc-fab-base .mat-mdc-button-ripple,
223.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,
224.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before {
225  top: 0;
226  left: 0;
227  right: 0;
228  bottom: 0;
229  position: absolute;
230  pointer-events: none;
231  border-radius: inherit;
232}
233.mat-mdc-fab-base .mat-mdc-button-ripple {
234  overflow: hidden;
235}
236.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before {
237  content: "";
238  opacity: 0;
239}
240.mat-mdc-fab-base .mdc-button__label,
241.mat-mdc-fab-base .mat-icon {
242  z-index: 1;
243  position: relative;
244}
245.mat-mdc-fab-base .mat-focus-indicator {
246  top: 0;
247  left: 0;
248  right: 0;
249  bottom: 0;
250  position: absolute;
251}
252.mat-mdc-fab-base:focus-visible > .mat-focus-indicator::before {
253  content: "";
254}
255.mat-mdc-fab-base._mat-animation-noopable {
256  transition: none !important;
257  animation: none !important;
258}
259.mat-mdc-fab-base::before {
260  position: absolute;
261  box-sizing: border-box;
262  width: 100%;
263  height: 100%;
264  top: 0;
265  left: 0;
266  border: 1px solid transparent;
267  border-radius: inherit;
268  content: "";
269  pointer-events: none;
270}
271.mat-mdc-fab-base[hidden] {
272  display: none;
273}
274.mat-mdc-fab-base::-moz-focus-inner {
275  padding: 0;
276  border: 0;
277}
278.mat-mdc-fab-base:active, .mat-mdc-fab-base:focus {
279  outline: none;
280}
281.mat-mdc-fab-base:hover {
282  cursor: pointer;
283}
284.mat-mdc-fab-base > svg {
285  width: 100%;
286}
287.mat-mdc-fab-base .mat-icon, .mat-mdc-fab-base .material-icons {
288  transition: transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);
289  fill: currentColor;
290  will-change: transform;
291}
292.mat-mdc-fab-base .mat-focus-indicator::before {
293  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
294}
295.mat-mdc-fab-base[disabled], .mat-mdc-fab-base.mat-mdc-button-disabled {
296  cursor: default;
297  pointer-events: none;
298}
299.mat-mdc-fab-base[disabled], .mat-mdc-fab-base[disabled]:focus, .mat-mdc-fab-base.mat-mdc-button-disabled, .mat-mdc-fab-base.mat-mdc-button-disabled:focus {
300  box-shadow: none;
301}
302.mat-mdc-fab-base.mat-mdc-button-disabled-interactive {
303  pointer-events: auto;
304}
305
306.mat-mdc-fab {
307  background-color: var(--mat-fab-container-color, var(--mat-sys-primary-container));
308  border-radius: var(--mat-fab-container-shape, var(--mat-sys-corner-large));
309  color: var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));
310  box-shadow: var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3));
311}
312@media (hover: hover) {
313  .mat-mdc-fab:hover {
314    box-shadow: var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4));
315  }
316}
317.mat-mdc-fab:focus {
318  box-shadow: var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3));
319}
320.mat-mdc-fab:active, .mat-mdc-fab:focus:active {
321  box-shadow: var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3));
322}
323.mat-mdc-fab[disabled], .mat-mdc-fab.mat-mdc-button-disabled {
324  cursor: default;
325  pointer-events: none;
326  color: var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
327  background-color: var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
328}
329.mat-mdc-fab.mat-mdc-button-disabled-interactive {
330  pointer-events: auto;
331}
332.mat-mdc-fab .mat-mdc-button-touch-target {
333  position: absolute;
334  top: 50%;
335  height: var(--mat-fab-touch-target-size, 48px);
336  display: var(--mat-fab-touch-target-display, block);
337  left: 50%;
338  width: var(--mat-fab-touch-target-size, 48px);
339  transform: translate(-50%, -50%);
340}
341.mat-mdc-fab .mat-ripple-element {
342  background-color: var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
343}
344.mat-mdc-fab .mat-mdc-button-persistent-ripple::before {
345  background-color: var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container));
346}
347.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
348  background-color: var(--mat-fab-disabled-state-layer-color);
349}
350.mat-mdc-fab:hover > .mat-mdc-button-persistent-ripple::before {
351  opacity: var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
352}
353.mat-mdc-fab.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-fab.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-fab.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
354  opacity: var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
355}
356.mat-mdc-fab:active > .mat-mdc-button-persistent-ripple::before {
357  opacity: var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
358}
359
360.mat-mdc-mini-fab {
361  width: 40px;
362  height: 40px;
363  background-color: var(--mat-fab-small-container-color, var(--mat-sys-primary-container));
364  border-radius: var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium));
365  color: var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));
366  box-shadow: var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3));
367}
368@media (hover: hover) {
369  .mat-mdc-mini-fab:hover {
370    box-shadow: var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4));
371  }
372}
373.mat-mdc-mini-fab:focus {
374  box-shadow: var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3));
375}
376.mat-mdc-mini-fab:active, .mat-mdc-mini-fab:focus:active {
377  box-shadow: var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3));
378}
379.mat-mdc-mini-fab[disabled], .mat-mdc-mini-fab.mat-mdc-button-disabled {
380  cursor: default;
381  pointer-events: none;
382  color: var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
383  background-color: var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
384}
385.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive {
386  pointer-events: auto;
387}
388.mat-mdc-mini-fab .mat-mdc-button-touch-target {
389  position: absolute;
390  top: 50%;
391  height: var(--mat-fab-small-touch-target-size, 48px);
392  display: var(--mat-fab-small-touch-target-display);
393  left: 50%;
394  width: var(--mat-fab-small-touch-target-size, 48px);
395  transform: translate(-50%, -50%);
396}
397.mat-mdc-mini-fab .mat-ripple-element {
398  background-color: var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
399}
400.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before {
401  background-color: var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container));
402}
403.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
404  background-color: var(--mat-fab-small-disabled-state-layer-color);
405}
406.mat-mdc-mini-fab:hover > .mat-mdc-button-persistent-ripple::before {
407  opacity: var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
408}
409.mat-mdc-mini-fab.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-mini-fab.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
410  opacity: var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
411}
412.mat-mdc-mini-fab:active > .mat-mdc-button-persistent-ripple::before {
413  opacity: var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
414}
415
416.mat-mdc-extended-fab {
417  -moz-osx-font-smoothing: grayscale;
418  -webkit-font-smoothing: antialiased;
419  padding-left: 20px;
420  padding-right: 20px;
421  width: auto;
422  max-width: 100%;
423  line-height: normal;
424  box-shadow: var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3));
425  height: var(--mat-fab-extended-container-height, 56px);
426  border-radius: var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large));
427  font-family: var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font));
428  font-size: var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size));
429  font-weight: var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight));
430  letter-spacing: var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking));
431}
432@media (hover: hover) {
433  .mat-mdc-extended-fab:hover {
434    box-shadow: var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4));
435  }
436}
437.mat-mdc-extended-fab:focus {
438  box-shadow: var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3));
439}
440.mat-mdc-extended-fab:active, .mat-mdc-extended-fab:focus:active {
441  box-shadow: var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3));
442}
443.mat-mdc-extended-fab[disabled], .mat-mdc-extended-fab.mat-mdc-button-disabled {
444  cursor: default;
445  pointer-events: none;
446}
447.mat-mdc-extended-fab[disabled], .mat-mdc-extended-fab[disabled]:focus, .mat-mdc-extended-fab.mat-mdc-button-disabled, .mat-mdc-extended-fab.mat-mdc-button-disabled:focus {
448  box-shadow: none;
449}
450.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive {
451  pointer-events: auto;
452}
453[dir=rtl] .mat-mdc-extended-fab .mdc-button__label + .mat-icon, [dir=rtl] .mat-mdc-extended-fab .mdc-button__label + .material-icons,
454.mat-mdc-extended-fab > .mat-icon,
455.mat-mdc-extended-fab > .material-icons {
456  margin-left: -8px;
457  margin-right: 12px;
458}
459.mat-mdc-extended-fab .mdc-button__label + .mat-icon,
460.mat-mdc-extended-fab .mdc-button__label + .material-icons, [dir=rtl] .mat-mdc-extended-fab > .mat-icon, [dir=rtl] .mat-mdc-extended-fab > .material-icons {
461  margin-left: 12px;
462  margin-right: -8px;
463}
464.mat-mdc-extended-fab .mat-mdc-button-touch-target {
465  width: 100%;
466}
467`,hT=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),ia=(()=>{class t extends y0{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=D6(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let i=this._elementRef.nativeElement.classList,r=this._appearance?hT.get(this._appearance):null,a=hT.get(e);r&&i.remove(...r),i.add(...a),this._appearance=e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[Ie],attrs:C6,ngContentSelectors:fT,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Ge(mT),Wi(0,"span",0),_e(1),Rt(2,"span",1),_e(3,1),Lt(),_e(4,2),Wi(5,"span",2)(6,"span",3)),i&2&&ce("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base {
468  text-decoration: none;
469}
470.mat-mdc-button-base .mat-icon {
471  min-height: fit-content;
472  flex-shrink: 0;
473}
474@media (hover: none) {
475  .mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before {
476    opacity: 0;
477  }
478}
479
480.mdc-button {
481  -webkit-user-select: none;
482  user-select: none;
483  position: relative;
484  display: inline-flex;
485  align-items: center;
486  justify-content: center;
487  box-sizing: border-box;
488  min-width: 64px;
489  border: none;
490  outline: none;
491  line-height: inherit;
492  -webkit-appearance: none;
493  overflow: visible;
494  vertical-align: middle;
495  background: transparent;
496  padding: 0 8px;
497}
498.mdc-button::-moz-focus-inner {
499  padding: 0;
500  border: 0;
501}
502.mdc-button:active {
503  outline: none;
504}
505.mdc-button:hover {
506  cursor: pointer;
507}
508.mdc-button:disabled {
509  cursor: default;
510  pointer-events: none;
511}
512.mdc-button[hidden] {
513  display: none;
514}
515.mdc-button .mdc-button__label {
516  position: relative;
517}
518
519.mat-mdc-button {
520  padding: 0 var(--mat-button-text-horizontal-padding, 12px);
521  height: var(--mat-button-text-container-height, 40px);
522  font-family: var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));
523  font-size: var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));
524  letter-spacing: var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));
525  text-transform: var(--mat-button-text-label-text-transform);
526  font-weight: var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight));
527}
528.mat-mdc-button, .mat-mdc-button .mdc-button__ripple {
529  border-radius: var(--mat-button-text-container-shape, var(--mat-sys-corner-full));
530}
531.mat-mdc-button:not(:disabled) {
532  color: var(--mat-button-text-label-text-color, var(--mat-sys-primary));
533}
534.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled {
535  cursor: default;
536  pointer-events: none;
537  color: var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
538}
539.mat-mdc-button.mat-mdc-button-disabled-interactive {
540  pointer-events: auto;
541}
542.mat-mdc-button:has(.material-icons, mat-icon, [matButtonIcon]) {
543  padding: 0 var(--mat-button-text-with-icon-horizontal-padding, 16px);
544}
545.mat-mdc-button > .mat-icon {
546  margin-right: var(--mat-button-text-icon-spacing, 8px);
547  margin-left: var(--mat-button-text-icon-offset, -4px);
548}
549[dir=rtl] .mat-mdc-button > .mat-icon {
550  margin-right: var(--mat-button-text-icon-offset, -4px);
551  margin-left: var(--mat-button-text-icon-spacing, 8px);
552}
553.mat-mdc-button .mdc-button__label + .mat-icon {
554  margin-right: var(--mat-button-text-icon-offset, -4px);
555  margin-left: var(--mat-button-text-icon-spacing, 8px);
556}
557[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon {
558  margin-right: var(--mat-button-text-icon-spacing, 8px);
559  margin-left: var(--mat-button-text-icon-offset, -4px);
560}
561.mat-mdc-button .mat-ripple-element {
562  background-color: var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
563}
564.mat-mdc-button .mat-mdc-button-persistent-ripple::before {
565  background-color: var(--mat-button-text-state-layer-color, var(--mat-sys-primary));
566}
567.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
568  background-color: var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
569}
570.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before {
571  opacity: var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
572}
573.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 {
574  opacity: var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
575}
576.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before {
577  opacity: var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
578}
579.mat-mdc-button .mat-mdc-button-touch-target {
580  position: absolute;
581  top: 50%;
582  height: var(--mat-button-text-touch-target-size, 48px);
583  display: var(--mat-button-text-touch-target-display, block);
584  left: 0;
585  right: 0;
586  transform: translateY(-50%);
587}
588
589.mat-mdc-unelevated-button {
590  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
591  height: var(--mat-button-filled-container-height, 40px);
592  font-family: var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));
593  font-size: var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));
594  letter-spacing: var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));
595  text-transform: var(--mat-button-filled-label-text-transform);
596  font-weight: var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));
597  padding: 0 var(--mat-button-filled-horizontal-padding, 24px);
598}
599.mat-mdc-unelevated-button > .mat-icon {
600  margin-right: var(--mat-button-filled-icon-spacing, 8px);
601  margin-left: var(--mat-button-filled-icon-offset, -8px);
602}
603[dir=rtl] .mat-mdc-unelevated-button > .mat-icon {
604  margin-right: var(--mat-button-filled-icon-offset, -8px);
605  margin-left: var(--mat-button-filled-icon-spacing, 8px);
606}
607.mat-mdc-unelevated-button .mdc-button__label + .mat-icon {
608  margin-right: var(--mat-button-filled-icon-offset, -8px);
609  margin-left: var(--mat-button-filled-icon-spacing, 8px);
610}
611[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon {
612  margin-right: var(--mat-button-filled-icon-spacing, 8px);
613  margin-left: var(--mat-button-filled-icon-offset, -8px);
614}
615.mat-mdc-unelevated-button .mat-ripple-element {
616  background-color: var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
617}
618.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before {
619  background-color: var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary));
620}
621.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
622  background-color: var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
623}
624.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before {
625  opacity: var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
626}
627.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 {
628  opacity: var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
629}
630.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before {
631  opacity: var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
632}
633.mat-mdc-unelevated-button .mat-mdc-button-touch-target {
634  position: absolute;
635  top: 50%;
636  height: var(--mat-button-filled-touch-target-size, 48px);
637  display: var(--mat-button-filled-touch-target-display, block);
638  left: 0;
639  right: 0;
640  transform: translateY(-50%);
641}
642.mat-mdc-unelevated-button:not(:disabled) {
643  color: var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));
644  background-color: var(--mat-button-filled-container-color, var(--mat-sys-primary));
645}
646.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple {
647  border-radius: var(--mat-button-filled-container-shape, var(--mat-sys-corner-full));
648}
649.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled {
650  cursor: default;
651  pointer-events: none;
652  color: var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
653  background-color: var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
654}
655.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive {
656  pointer-events: auto;
657}
658
659.mat-mdc-raised-button {
660  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
661  box-shadow: var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));
662  height: var(--mat-button-protected-container-height, 40px);
663  font-family: var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));
664  font-size: var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));
665  letter-spacing: var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));
666  text-transform: var(--mat-button-protected-label-text-transform);
667  font-weight: var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));
668  padding: 0 var(--mat-button-protected-horizontal-padding, 24px);
669}
670.mat-mdc-raised-button > .mat-icon {
671  margin-right: var(--mat-button-protected-icon-spacing, 8px);
672  margin-left: var(--mat-button-protected-icon-offset, -8px);
673}
674[dir=rtl] .mat-mdc-raised-button > .mat-icon {
675  margin-right: var(--mat-button-protected-icon-offset, -8px);
676  margin-left: var(--mat-button-protected-icon-spacing, 8px);
677}
678.mat-mdc-raised-button .mdc-button__label + .mat-icon {
679  margin-right: var(--mat-button-protected-icon-offset, -8px);
680  margin-left: var(--mat-button-protected-icon-spacing, 8px);
681}
682[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon {
683  margin-right: var(--mat-button-protected-icon-spacing, 8px);
684  margin-left: var(--mat-button-protected-icon-offset, -8px);
685}
686.mat-mdc-raised-button .mat-ripple-element {
687  background-color: var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
688}
689.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before {
690  background-color: var(--mat-button-protected-state-layer-color, var(--mat-sys-primary));
691}
692.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
693  background-color: var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
694}
695.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before {
696  opacity: var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
697}
698.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 {
699  opacity: var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
700}
701.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before {
702  opacity: var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
703}
704.mat-mdc-raised-button .mat-mdc-button-touch-target {
705  position: absolute;
706  top: 50%;
707  height: var(--mat-button-protected-touch-target-size, 48px);
708  display: var(--mat-button-protected-touch-target-display, block);
709  left: 0;
710  right: 0;
711  transform: translateY(-50%);
712}
713.mat-mdc-raised-button:not(:disabled) {
714  color: var(--mat-button-protected-label-text-color, var(--mat-sys-primary));
715  background-color: var(--mat-button-protected-container-color, var(--mat-sys-surface));
716}
717.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple {
718  border-radius: var(--mat-button-protected-container-shape, var(--mat-sys-corner-full));
719}
720@media (hover: hover) {
721  .mat-mdc-raised-button:hover {
722    box-shadow: var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2));
723  }
724}
725.mat-mdc-raised-button:focus {
726  box-shadow: var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1));
727}
728.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active {
729  box-shadow: var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1));
730}
731.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled {
732  cursor: default;
733  pointer-events: none;
734  color: var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
735  background-color: var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
736}
737.mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled {
738  box-shadow: var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0));
739}
740.mat-mdc-raised-button.mat-mdc-button-disabled-interactive {
741  pointer-events: auto;
742}
743
744.mat-mdc-outlined-button {
745  border-style: solid;
746  transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1);
747  height: var(--mat-button-outlined-container-height, 40px);
748  font-family: var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));
749  font-size: var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));
750  letter-spacing: var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));
751  text-transform: var(--mat-button-outlined-label-text-transform);
752  font-weight: var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));
753  border-radius: var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));
754  border-width: var(--mat-button-outlined-outline-width, 1px);
755  padding: 0 var(--mat-button-outlined-horizontal-padding, 24px);
756}
757.mat-mdc-outlined-button > .mat-icon {
758  margin-right: var(--mat-button-outlined-icon-spacing, 8px);
759  margin-left: var(--mat-button-outlined-icon-offset, -8px);
760}
761[dir=rtl] .mat-mdc-outlined-button > .mat-icon {
762  margin-right: var(--mat-button-outlined-icon-offset, -8px);
763  margin-left: var(--mat-button-outlined-icon-spacing, 8px);
764}
765.mat-mdc-outlined-button .mdc-button__label + .mat-icon {
766  margin-right: var(--mat-button-outlined-icon-offset, -8px);
767  margin-left: var(--mat-button-outlined-icon-spacing, 8px);
768}
769[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon {
770  margin-right: var(--mat-button-outlined-icon-spacing, 8px);
771  margin-left: var(--mat-button-outlined-icon-offset, -8px);
772}
773.mat-mdc-outlined-button .mat-ripple-element {
774  background-color: var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
775}
776.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before {
777 
777 background-color: var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary));
778}
779.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
780  background-color: var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
781}
782.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before {
783  opacity: var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
784}
785.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 {
786  opacity: var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
787}
788.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before {
789  opacity: var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
790}
791.mat-mdc-outlined-button .mat-mdc-button-touch-target {
792  position: absolute;
793  top: 50%;
794  height: var(--mat-button-outlined-touch-target-size, 48px);
795  display: var(--mat-button-outlined-touch-target-display, block);
796  left: 0;
797  right: 0;
798  transform: translateY(-50%);
799}
800.mat-mdc-outlined-button:not(:disabled) {
801  color: var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));
802  border-color: var(--mat-button-outlined-outline-color, var(--mat-sys-outline));
803}
804.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled {
805  cursor: default;
806  pointer-events: none;
807  color: var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
808  border-color: var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
809}
810.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive {
811  pointer-events: auto;
812}
813
814.mat-tonal-button {
815  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
816  height: var(--mat-button-tonal-container-height, 40px);
817  font-family: var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));
818  font-size: var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));
819  letter-spacing: var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));
820  text-transform: var(--mat-button-tonal-label-text-transform);
821  font-weight: var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));
822  padding: 0 var(--mat-button-tonal-horizontal-padding, 24px);
823}
824.mat-tonal-button:not(:disabled) {
825  color: var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));
826  background-color: var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container));
827}
828.mat-tonal-button, .mat-tonal-button .mdc-button__ripple {
829  border-radius: var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full));
830}
831.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled {
832  cursor: default;
833  pointer-events: none;
834  color: var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
835  background-color: var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
836}
837.mat-tonal-button.mat-mdc-button-disabled-interactive {
838  pointer-events: auto;
839}
840.mat-tonal-button > .mat-icon {
841  margin-right: var(--mat-button-tonal-icon-spacing, 8px);
842  margin-left: var(--mat-button-tonal-icon-offset, -8px);
843}
844[dir=rtl] .mat-tonal-button > .mat-icon {
845  margin-right: var(--mat-button-tonal-icon-offset, -8px);
846  margin-left: var(--mat-button-tonal-icon-spacing, 8px);
847}
848.mat-tonal-button .mdc-button__label + .mat-icon {
849  margin-right: var(--mat-button-tonal-icon-offset, -8px);
850  margin-left: var(--mat-button-tonal-icon-spacing, 8px);
851}
852[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon {
853  margin-right: var(--mat-button-tonal-icon-spacing, 8px);
854  margin-left: var(--mat-button-tonal-icon-offset, -8px);
855}
856.mat-tonal-button .mat-ripple-element {
857  background-color: var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
858}
859.mat-tonal-button .mat-mdc-button-persistent-ripple::before {
860  background-color: var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container));
861}
862.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
863  background-color: var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
864}
865.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before {
866  opacity: var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
867}
868.mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
869  opacity: var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
870}
871.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before {
872  opacity: var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
873}
874.mat-tonal-button .mat-mdc-button-touch-target {
875  position: absolute;
876  top: 50%;
877  height: var(--mat-button-tonal-touch-target-size, 48px);
878  display: var(--mat-button-tonal-touch-target-display, block);
879  left: 0;
880  right: 0;
881  transform: translateY(-50%);
882}
883
884.mat-mdc-button,
885.mat-mdc-unelevated-button,
886.mat-mdc-raised-button,
887.mat-mdc-outlined-button,
888.mat-tonal-button {
889  -webkit-tap-highlight-color: transparent;
890}
891.mat-mdc-button .mat-mdc-button-ripple,
892.mat-mdc-button .mat-mdc-button-persistent-ripple,
893.mat-mdc-button .mat-mdc-button-persistent-ripple::before,
894.mat-mdc-unelevated-button .mat-mdc-button-ripple,
895.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,
896.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,
897.mat-mdc-raised-button .mat-mdc-button-ripple,
898.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,
899.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,
900.mat-mdc-outlined-button .mat-mdc-button-ripple,
901.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,
902.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,
903.mat-tonal-button .mat-mdc-button-ripple,
904.mat-tonal-button .mat-mdc-button-persistent-ripple,
905.mat-tonal-button .mat-mdc-button-persistent-ripple::before {
906  top: 0;
907  left: 0;
908  right: 0;
909  bottom: 0;
910  position: absolute;
911  pointer-events: none;
912  border-radius: inherit;
913}
914.mat-mdc-button .mat-mdc-button-ripple,
915.mat-mdc-unelevated-button .mat-mdc-button-ripple,
916.mat-mdc-raised-button .mat-mdc-button-ripple,
917.mat-mdc-outlined-button .mat-mdc-button-ripple,
918.mat-tonal-button .mat-mdc-button-ripple {
919  overflow: hidden;
920}
921.mat-mdc-button .mat-mdc-button-persistent-ripple::before,
922.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,
923.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,
924.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,
925.mat-tonal-button .mat-mdc-button-persistent-ripple::before {
926  content: "";
927  opacity: 0;
928}
929.mat-mdc-button .mdc-button__label,
930.mat-mdc-button .mat-icon,
931.mat-mdc-unelevated-button .mdc-button__label,
932.mat-mdc-unelevated-button .mat-icon,
933.mat-mdc-raised-button .mdc-button__label,
934.mat-mdc-raised-button .mat-icon,
935.mat-mdc-outlined-button .mdc-button__label,
936.mat-mdc-outlined-button .mat-icon,
937.mat-tonal-button .mdc-button__label,
938.mat-tonal-button .mat-icon {
939  z-index: 1;
940  position: relative;
941}
942.mat-mdc-button .mat-focus-indicator,
943.mat-mdc-unelevated-button .mat-focus-indicator,
944.mat-mdc-raised-button .mat-focus-indicator,
945.mat-mdc-outlined-button .mat-focus-indicator,
946.mat-tonal-button .mat-focus-indicator {
947  top: 0;
948  left: 0;
949  right: 0;
950  bottom: 0;
951  position: absolute;
952  border-radius: inherit;
953}
954.mat-mdc-button:focus-visible > .mat-focus-indicator::before,
955.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before,
956.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before,
957.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before,
958.mat-tonal-button:focus-visible > .mat-focus-indicator::before {
959  content: "";
960  border-radius: inherit;
961}
962.mat-mdc-button._mat-animation-noopable,
963.mat-mdc-unelevated-button._mat-animation-noopable,
964.mat-mdc-raised-button._mat-animation-noopable,
965.mat-mdc-outlined-button._mat-animation-noopable,
966.mat-tonal-button._mat-animation-noopable {
967  transition: none !important;
968  animation: none !important;
969}
970.mat-mdc-button > .mat-icon,
971.mat-mdc-unelevated-button > .mat-icon,
972.mat-mdc-raised-button > .mat-icon,
973.mat-mdc-outlined-button > .mat-icon,
974.mat-tonal-button > .mat-icon {
975  display: inline-block;
976  position: relative;
977  vertical-align: top;
978  font-size: 1.125rem;
979  height: 1.125rem;
980  width: 1.125rem;
981}
982
983.mat-mdc-outlined-button .mat-mdc-button-ripple,
984.mat-mdc-outlined-button .mdc-button__ripple {
985  top: -1px;
986  left: -1px;
987  bottom: -1px;
988  right: -1px;
989}
990
991.mat-mdc-unelevated-button .mat-focus-indicator::before,
992.mat-tonal-button .mat-focus-indicator::before,
993.mat-mdc-raised-button .mat-focus-indicator::before {
994  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
995}
996
997.mat-mdc-outlined-button .mat-focus-indicator::before {
998  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1);
999}
1000`,`@media (forced-colors: active) {
1001  .mat-mdc-button:not(.mdc-button--outlined),
1002  .mat-mdc-unelevated-button:not(.mdc-button--outlined),
1003  .mat-mdc-raised-button:not(.mdc-button--outlined),
1004  .mat-mdc-outlined-button:not(.mdc-button--outlined),
1005  .mat-mdc-button-base.mat-tonal-button,
1006  .mat-mdc-icon-button.mat-mdc-icon-button,
1007  .mat-mdc-outlined-button .mdc-button__ripple {
1008    outline: solid 1px;
1009  }
1010}
1011`],encapsulation:2,changeDetection:0})}return t})();function D6(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var E6=new W("mat-mdc-fab-default-options",{providedIn:"root",factory:()=>Ry}),Ry={color:"accent"};var Z0e=(()=>{class t extends y0{_options=f(E6,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||Ry,this.color=this._options.color||Ry.color}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["button","mat-mini-fab",""],["a","mat-mini-fab",""],["button","matMiniFab",""],["a","matMiniFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"],exportAs:["matButton","matAnchor"],features:[Ie],attrs:S6,ngContentSelectors:fT,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Ge(mT),Wi(0,"span",0),_e(1),Rt(2,"span",1),_e(3,1),Lt(),_e(4,2),Wi(5,"span",2)(6,"span",3)),i&2&&ce("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[k6],encapsulation:2,changeDetection:0})}return t})();var Qn=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Nr,Ye]})}return t})();function pT(t){return Error(`Unable to find icon with the name "${t}"`)}function I6(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function gT(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function _T(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var as=class{url;svgText;options;svgElement=null;constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},w0=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;
1011_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,i,r,a){this._httpClient=e,this._sanitizer=i,this._errorHandler=a,this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,a){return this._addSvgIconConfig(e,i,new as(r,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,a){let o=this._sanitizer.sanitize(hr.HTML,r);if(!o)throw _T(r);let s=nc(o);return this._addSvgIconConfig(e,i,new as("",s,a))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new as(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let a=this._sanitizer.sanitize(hr.HTML,i);if(!a)throw _T(i);let o=nc(a);return this._addSvgIconSetConfig(e,new as("",o,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(hr.RESOURCE_URL,e);if(!i)throw gT(e);let r=this._cachedIconsByUrl.get(i);return r?Be(x0(r)):this._loadSvgIconFromConfig(new as(e,null)).pipe($i(a=>this._cachedIconsByUrl.set(i,a)),ct(a=>x0(a)))}getNamedSvgIcon(e,i=""){let r=vT(i,e),a=this._svgIconConfigs.get(r);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(i,e),a)return this._svgIconConfigs.set(r,a),this._getSvgFromConfig(a);let o=this._iconSetConfigs.get(i);return o?this._getSvgFromIconSetConfigs(e,o):Wf(pT(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Be(x0(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(ct(i=>x0(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return Be(r);let a=i.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(po(s=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(hr.RESOURCE_URL,o.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(c)),Be(null)})));return sh(a).pipe(ct(()=>{let o=this._extractIconWithNameFromAnySet(e,i);if(!o)throw pT(e);return o}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let a=i[r];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let o=this._svgElementFromConfig(a),s=this._extractSvgIconFromSet(o,e,a.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe($i(i=>e.svgText=i),ct(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Be(null):this._fetchIcon(e).pipe($i(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let a=e.querySelector(`[id="${i}"]`);if(!a)return null;let o=a.cloneNode(!0);if(o.removeAttribute("id"),o.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(o,r);if(o.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(o),r);let s=this._svgElementFromString(nc("<svg></svg>"));return s.appendChild(o),this._setSvgAttributes(s,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let i=this._svgElementFromString(nc("<svg></svg>")),r=e.attributes;for(let a=0;a<r.length;a++){let{name:o,value:s}=r[a];o!=="id"&&i.setAttribute(o,s)}for(let a=0;a<e.childNodes.length;a++)e.childNodes[a].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[a].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewB
1011ox),e}_fetchIcon(e){let{url:i,options:r}=e,a=r?.withCredentials??!1;if(!this._httpClient)throw I6();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let o=this._sanitizer.sanitize(hr.RESOURCE_URL,i);if(!o)throw gT(i);let s=this._inProgressUrlFetches.get(o);if(s)return s;let l=this._httpClient.get(o,{responseType:"text",withCredentials:a}).pipe(ct(c=>nc(c)),go(()=>this._inProgressUrlFetches.delete(o)),wk());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(vT(e,i),r),this}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){let a=this._resolvers[r](i,e);if(a)return M6(a)?new as(a.url,null,a.options):new as(a,null)}}static \u0275fac=function(i){return new(i||t)(Ke(pd,8),Ke(Xl),Ke(Ve,8),Ke(Ll))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function x0(t){return t.cloneNode(!0)}function vT(t,n){return t+":"+n}function M6(t){return!!(t.url&&t.options)}var A6=["*"],R6=new W("MAT_ICON_DEFAULT_OPTIONS"),P6=new W("mat-icon-location",{providedIn:"root",factory:()=>{let t=f(Ve),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),bT=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],F6=bT.map(t=>`[${t}]`).join(", "),O6=/^url\(['"]?#(.*?)['"]?\)$/,os=(()=>{class t{_elementRef=f(he);_iconRegistry=f(w0);_location=f(P6);_errorHandler=f(Ll);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=tt.EMPTY;constructor(){let e=f(new gn("aria-hidden"),{optional:!0}),i=f(R6,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;
1011i&&i.forEach((r,a)=>{r.forEach(o=>{a.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(F6),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a<i.length;a++)bT.forEach(o=>{let s=i[a],l=s.getAttribute(o),c=l?l.match(O6):null;if(c){let d=r.get(s);d||(d=[],r.set(s,d)),d.push({name:o,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(ai(1)).subscribe(a=>this._setSvgElement(a),a=>{let o=`Error retrieving icon ${i}:${r}! ${a.message}`;this._errorHandler.handleError(new Error(o))})}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(fe("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),$t(r.color?"mat-"+r.color:""),ce("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",ie],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:A6,decls:1,vars:0,template:function(i,r){i&1&&(Ge(),_e(0))},styles:[`mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn {
1012  color: var(--mat-icon-color, inherit);
1013}
1014
1015.mat-icon {
1016  -webkit-user-select: none;
1017  user-select: none;
1018  background-repeat: no-repeat;
1019  display: inline-block;
1020  fill: currentColor;
1021  height: 24px;
1022  width: 24px;
1023  overflow: hidden;
1024}
1025.mat-icon.mat-icon-inline {
1026  font-size: inherit;
1027  height: inherit;
1028  line-height: inherit;
1029  width: inherit;
1030}
1031.mat-icon.mat-ligature-font[fontIcon]::before {
1032  content: attr(fontIcon);
1033}
1034
1035[dir=rtl] .mat-icon-rtl-mirror {
1036  transform: scale(-1, 1);
1037}
1038
1039.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,
1040.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon {
1041  display: block;
1042}
1043.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,
1044.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon {
1045  margin: auto;
1046}
1047`],encapsulation:2,changeDetection:0})}return t})(),ss=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Ye]})}return t})();var Py=class{};function tm(t){return t&&typeof t.connect=="function"&&!(t instanceof _k)}var Ja=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(Ja||{}),C0=class{viewCacheSize=20;_viewCache=[];applyChanges(n,e,i,r,a){n.forEachOperation((o,s,l)=>{let c,d;if(o.previousIndex==null){let u=()=>i(o,s,l);c=this._insertView(u,l,e,r(o)),d=c?Ja.INSERTED:Ja.REPLACED}else l==null?(this._detachAndCacheView(s,e),d=Ja.REMOVED):(c=this._moveView(s,l,e,r(o)),d=Ja.MOVED);a&&a({context:c?.context,operation:d,record:o})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,e,i,r){let a=this._insertViewFromCache(e,i);if(a){a.context.$implicit=r;return}let o=n();return i.createEmbeddedView(o.templateRef,o.context,o.index)}_detachAndCacheView(n,e){let i=e.detach(n);this._maybeCacheView(i,e)}_moveView(n,e,i,r){let a=i.get(n);return i.move(a,e),a.context.$implicit=r,a}_maybeCacheView(n,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let i=e.indexOf(n);i===-1?n.destroy():e.remove(i)}}_insertViewFromCache(n,e){let i=this._viewCache.pop();return i&&e.insert(i,n),i||null}};var L6=20,Da=(()=>{class t{_ngZone=f(Te);_platform=f(ht);_renderer=f(Tn).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new te;_scrolledCount=0;
vendor: 4,084 bytes, line 1047
1047scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=L6){return this._platform.isBrowser?new mn(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(Ol(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Be()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(vt(a=>!a||r.indexOf(a)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,a)=>{this._scrollableContainsElement(a,e)&&i.push(a)}),i}_scrollableContainsElement(e,i){let r=Bi(i),a=e.getElementRef().nativeElement;do if(r==a)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ls=(()=>{class t{elementRef=f(he);scrollDispatcher=f(Da);ngZone=f(Te);dir=f(Vt,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new te;_renderer=f(ft);_cleanupScroll;_elementScrolled=new te;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&Od()!=Qa.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),Od()==Qa.INVERTED?e.left=e.right:Od()==Qa.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;_0()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",a=this.elementRef.nativeElement;if(e=="top")return a.scrollTop;if(e=="bottom")return a.scrollHeight-a.clientHeight-a.scrollTop;let o=this.dir&&this.dir.value=="rtl";return e=="start"?e=o?r:i:e=="end"&&(e=o?i:r),o&&Od()==Qa.INVERTED?e==i?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:o&&Od()==Qa.NEGATED?e==i?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==i?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),B6=20,Mn=(()=>{class t{_platform=f(ht);_listeners;_viewportSize=null;_change=new te;_document=f(Ve);constructor(){let e=f(Te),i=f(Tn).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=a=>this._change.next(a);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();
1047return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,a=r.getBoundingClientRect(),o=-a.top||e.body?.scrollTop||i.scrollY||r.scrollTop||0,s=-a.left||e.body?.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:o,left:s}}change(e=B6){return e>0?this._change.pipe(Ol(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var yT=new W("CDK_VIRTUAL_SCROLL_VIEWPORT");var Zn=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({})}return t})(),im=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Ye,Zn,Ye,Zn]})}return t})();var nm=class{_attachedHost=null;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}},Lr=class extends nm{component;viewContainerRef;injector;projectableNodes;bindings;constructor(n,e,i,r,a){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=r,this.bindings=a||null}},yn=class extends nm{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Fy=class extends nm{element;constructor(n){super(),this.element=n instanceof he?n.nativeElement:n}},Qs=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Lr)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof yn)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Fy)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;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)}},rm=class extends Qs{outletElement;_appRef;_defaultInjector;constructor(n,e,i){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=i}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get(Qf,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=n.injector||this._defaultInjector||He.NULL,a=r.get(En,i.injector);e=tp(n.component,{elementInjector:r,environmentInjector:a,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},xT=(()=>{class t extends yn{constructor(){let e=f(At),i=f(Zt);super(e,i)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Ie]})}return t})(),An=(()=>{class t extends Qs{_moduleRef=f(Qf,{optional:!0});_document=f(Ve);
vendor: 4,706 bytes, line 1047
1047_viewContainerRef=f(Zt);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new ne;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ie]})}return t})(),gr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({})}return t})();var wT=_0();function Zs(t){return new S0(t.get(Mn),t.get(Ve))}var S0=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}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=Zi(-this._previousScrollPosition.left),n.style.top=Zi(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,a=i.scrollBehavior||"",o=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),wT&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),wT&&(i.scrollBehavior=a,r.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};function IT(t,n){return new k0(t.get(Da),t.get(Te),t.get(Mn),n)}var k0=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(vt(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-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}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var am=class{enable(){}disable(){}attach(){}};function Oy(t,n){return n.some(e=>{let i=t.bottom<e.top,r=t.top>e.bottom,a=t.right<e.left,o=t.left>e.right;return i||r||a||o}
1047)}function CT(t,n){return n.some(e=>{let i=t.top<e.top,r=t.bottom>e.bottom,a=t.left<e.left,o=t.right>e.right;return i||r||a||o})}function eo(t,n){return new D0(t.get(Da),t.get(Mn),t.get(Te),n)}var D0=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}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 e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Oy(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},MT=(()=>{class t{_injector=f(He);constructor(){}noop=()=>new am;close=e=>IT(this._injector,e);block=()=>Zs(this._injector);reposition=e=>eo(this._injector,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),na=class{positionStrategy;scrollStrategy=new am;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(n){if(n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}};var E0=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var AT=(()=>{class t{_attachedOverlays=[];_document=f(Ve);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,i,r){return r.observers.length<1?!1:e.eventPredicate?e.eventPredicate(i):!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),RT=(()=>{class t extends AT{_ngZone=f(Te);_renderer=f(Tn).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--){let a=i[r];if(this.canReceiveEvent(a,e,a._keydownEvents)){this._ngZone.run(()=>a._keydownEvents.next(e));break}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),PT=(()=>{class t extends AT{_platform=f(ht);_ngZone=f(Te);_renderer=f(Tn).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0},a=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[a.listen(i,"pointerdown",this._pointerDownListener,r),a.listen(i,"click",this._clickListener,r),a.listen(i,"auxclick",this._clickListener,r),a.listen(i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Ki(e)};_clickListener=e=>{let i=Ki(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let a=this._attachedOverlays.slice();for(let o=a.length-1;o>-1;o--){let s=a[o],l=s._outsidePointerEvents;
1047if(!(!s.hasAttached()||!this.canReceiveEvent(s,e,l))){if(ST(s.overlayElement,i)||ST(s.overlayElement,r))break;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ST(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var FT=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper {
1048  pointer-events: none;
1049  top: 0;
1050  left: 0;
1051  height: 100%;
1052  width: 100%;
1053}
1054
1055.cdk-overlay-container {
1056  position: fixed;
1057}
1058@layer cdk-overlay {
1059  .cdk-overlay-container {
1060    z-index: 1000;
1061  }
1062}
1063.cdk-overlay-container:empty {
1064  display: none;
1065}
1066
1067.cdk-global-overlay-wrapper {
1068  display: flex;
1069  position: absolute;
1070}
1071@layer cdk-overlay {
1072  .cdk-global-overlay-wrapper {
1073    z-index: 1000;
1074  }
1075}
1076
1077.cdk-overlay-pane {
1078  position: absolute;
1079  pointer-events: auto;
1080  box-sizing: border-box;
1081  display: flex;
1082  max-width: 100%;
1083  max-height: 100%;
1084}
1085@layer cdk-overlay {
1086  .cdk-overlay-pane {
1087    z-index: 1000;
1088  }
1089}
1090
1091.cdk-overlay-backdrop {
1092  position: absolute;
1093  top: 0;
1094  bottom: 0;
1095  left: 0;
1096  right: 0;
1097  pointer-events: auto;
1098  -webkit-tap-highlight-color: transparent;
1099  opacity: 0;
1100  touch-action: manipulation;
1101}
1102@layer cdk-overlay {
1103  .cdk-overlay-backdrop {
1104    z-index: 1000;
1105    transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
1106  }
1107}
1108@media (prefers-reduced-motion) {
1109  .cdk-overlay-backdrop {
1110    transition-duration: 1ms;
1111  }
1112}
1113
1114.cdk-overlay-backdrop-showing {
1115  opacity: 1;
1116}
1117@media (forced-colors: active) {
1118  .cdk-overlay-backdrop-showing {
1119    opacity: 0.6;
1120  }
1121}
1122
1123@layer cdk-overlay {
1124  .cdk-overlay-dark-backdrop {
1125    background: rgba(0, 0, 0, 0.32);
1126  }
1127}
1128
1129.cdk-overlay-transparent-backdrop {
1130  transition: visibility 1ms linear, opacity 1ms linear;
1131  visibility: hidden;
1132  opacity: 1;
1133}
1134.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {
1135  opacity: 0;
1136  visibility: visible;
1137}
1138
1139.cdk-overlay-backdrop-noop-animation {
1140  transition: none;
1141}
1142
1143.cdk-overlay-connected-position-bounding-box {
1144  position: absolute;
1145  display: flex;
1146  flex-direction: column;
1147  min-width: 1px;
1148  min-height: 1px;
1149}
1150@layer cdk-overlay {
1151  .cdk-overlay-connected-position-bounding-box {
1152    z-index: 1000;
1153  }
1154}
1155
1156.cdk-global-scrollblock {
1157  position: fixed;
1158  width: 100%;
1159  overflow-y: scroll;
1160}
1161
1162.cdk-overlay-popover {
1163  background: none;
1164  border: none;
1165  padding: 0;
1166  outline: 0;
1167  overflow: visible;
1168  position: fixed;
1169  pointer-events: none;
1170  white-space: normal;
1171  color: inherit;
1172  text-decoration: none;
1173  width: 100%;
1174  height: 100%;
1175  inset: auto;
1176  top: 0;
1177  left: 0;
1178}
1179.cdk-overlay-popover::backdrop {
1180  display: none;
1181}
1182.cdk-overlay-popover .cdk-overlay-backdrop {
1183  position: fixed;
1184  z-index: auto;
1185}
1186`],encapsulation:2,changeDetection:0})}return t})(),I0=(()=>{class t{_platform=f(ht);_containerElement;_document=f(Ve);_styleLoader=f(wt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Dy()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a<r.length;a++)r[a].remove()}let i=this._document.createElement("div");i.classList.add(e),Dy()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(FT)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ny=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,i,r){this._renderer=e,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function Ly(t){return t&&t.nodeType===1}var Ld=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new te;_attachments=new te;_detachments=new te;_positionStrategy;_scrollStrategy;_locationChanges=tt.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new te;_outsidePointerEvents=new te;_afterNextRenderRef;constructor(n,e,i,r,a,o,s,l,c,d=!1,u,h){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=a,this._keyboardDispatcher=o,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=u,this._renderer=h,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(n){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(n);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Nt(()=>{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._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}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._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){if(this._disposed)return;let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
1186pose(),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=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}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=et(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=Zi(this._config.width),n.height=Zi(this._config.height),n.minWidth=Zi(this._config.minWidth),n.minHeight=Zi(this._config.minHeight),n.maxWidth=Zi(this._config.maxWidth),n.maxHeight=Zi(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachHost(){if(!this._host.parentElement){let n=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;Ly(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(n){}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Ny(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,i){let r=rs(e||[]).filter(a=>!!a);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Nt(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!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()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},kT="cdk-overlay-connected-position-bounding-box",U6=/([A-Za-z%]+)$/;function cs(t,n){return new Bd(n,t.get(Mn),t.get(Ve),t.get(ht),t.get(I0))}var Bd=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new te;_resizeSubscription=tt.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
vendor: 6,170 bytes, line 1186
1186constructor(n,e,i,r,a){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=a,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(kT),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._getContainerRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,a=[],o;for(let s of this._preferredPositions){let l=this._getOriginPoint(n,r,s),c=this._getOverlayPoint(l,e,s),d=this._getOverlayFit(c,e,i,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){a.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!o||o.overlayFit.visibleArea<d.visibleArea)&&(o={overlayFit:d,overlayPoint:c,originPoint:l,position:s,overlayRect:e})}if(a.length){let s=null,l=-1;for(let c of a){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,s=c)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(o.position,o.originPoint);return}this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&lc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(kT),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;n?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(n,this._getOriginPoint(this._originRect,this._containerRect,n))):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}withPopoverLocation(n){return this._popoverLocation=n,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof he?this._origin.nativeElement:Ly(this._origin)?this._origin:null}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let o=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=i.originX=="start"?o:s}e.left<0&&(r-=e.left);let a;return i.originY=="center"?a=n.top+n.height/2:a=i.originY=="top"?n.top:n.bottom,e.top<0&&(a-=e.top),{x:r,y:a}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let a;return i.overlayY=="center"?a=-e.height/2:a=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+a}}_getOverlayFit(n,e,i,r){let a=ET(e),{x:o,y:s}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(o+=l),c&&(s+=c);let d=0-o,u=o+a.width-i.width,h=0-s,m=s+a.height-i.height,g=this._subtractOverflows(a.width,d,u),_=this._subtractOverflows(a.height,h,m),p=g*_;return{visibleArea:p,isCompletelyWithinViewport:a.width*a.height===p,fitsInViewportVertically:_===a.height,fitsInViewportHorizontally:g==a.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,a=i.right-e.x,o=DT(this._overlayRef.getConfig().minHeight),s=DT(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||o!=null&&o<=r,c=n.fitsInViewportHorizontally||s!=null&&s<=a;return l&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=ET(e),a=this._viewportRect,o=Math.max(n.x+r.width-a.width,0),s=Math.max(n.y+r.height-a.height,0),l=Math.max(a.top-i.top-n.y,0),c=Math.max(a.left-i.left-n.x,0),d=0,u=0;return r.width<=a.width?d=c||-o:d=n.x<this._getViewportMarginStart()?a.left-i.left-n.x:0,r.height<=a.height?u=l||-s:u=n.y<this._getViewportMarginTop()?a.top-i.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!z6(this._lastScrollVisibility,i)){let r=new E0(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=n.overlayY;
1186n.overlayX==="center"?i="center":this._isRtl()?i=n.overlayX==="start"?"right":"left":i=n.overlayX==="start"?"left":"right";for(let a=0;a<e.length;a++)e[a].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){let i=this._viewportRect,r=this._isRtl(),a,o,s;if(e.overlayY==="top")o=n.y,a=i.height-o+this._getViewportMarginBottom();else if(e.overlayY==="bottom")s=i.height-n.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),a=i.height-s+this._getViewportMarginTop();else{let m=Math.min(i.bottom-n.y+i.top,n.y),g=this._lastBoundingBoxSize.height;a=m*2,o=n.y-m,a>g&&!this._isInitialRender&&!this._growAfterOpen&&(o=n.y-g/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,u,h;if(c)h=i.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),d=n.x-this._getViewportMarginStart();else if(l)u=n.x,d=i.right-n.x-this._getViewportMarginEnd();else{let m=Math.min(i.right-n.x+i.left,n.x),g=this._lastBoundingBoxSize.width;d=m*2,u=n.x-m,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-g/2)}return{top:o,left:u,bottom:s,right:h,width:d,height:a}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="auto",r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.width=Zi(i.width),r.height=Zi(i.height),r.top=Zi(i.top)||"auto",r.bottom=Zi(i.bottom)||"auto",r.left=Zi(i.left)||"auto",r.right=Zi(i.right)||"auto",e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",a&&(r.maxHeight=Zi(a)),o&&(r.maxWidth=Zi(o))}this._lastBoundingBoxSize=i,lc(this._boundingBox.style,r)}_resetBoundingBoxStyles(){lc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){lc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),a=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();lc(i,this._getExactOverlayY(e,n,d)),lc(i,this._getExactOverlayX(e,n,d))}else i.position="static";let s="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),i.transform=s.trim(),o.maxHeight&&(r?i.maxHeight=Zi(o.maxHeight):a&&(i.maxHeight="")),o.maxWidth&&(r?i.maxWidth=Zi(o.maxWidth):a&&(i.maxWidth="")),lc(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i)),n.overlayY==="bottom"){let o=this._document.documentElement.clientHeight;r.bottom=`${o-(a.y+this._overlayRect.height)}px`}else r.top=Zi(a.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i));let o;if(this._isRtl()?o=n.overlayX==="end"?"left":"right":o=n.overlayX==="end"?"right":"left",o==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(a.x+this._overlayRect.width)}px`}else r.left=Zi(a.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:CT(n,i),isOriginOutsideView:Oy(n,i),isOverlayClipped:CT(e,i),isOverlayOutsideView:Oy(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._getViewportMarginTop(),left:i.left+this._getViewportMarginStart(),right:i.left+n-this._getViewportMarginEnd(),bottom:i.top+e-this._getViewportMarginBottom(),width:n-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}
1186_addPanelClasses(n){this._pane&&rs(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let n=this._origin;if(n instanceof he)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();n&&(e.style.display="block");let i=e.getBoundingClientRect();return n&&(e.style.display=""),i}};function lc(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function DT(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(U6);return!e||e==="px"?parseFloat(n):null}return t||null}function ET(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function z6(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var j6=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],H6=[{originX:"end",originY:"top",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom"},{originX:"start",originY:"top",overlayX:"end",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom"}],TT="cdk-global-overlay-wrapper";function wo(t){return new T0}var T0=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(TT),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,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:a,maxWidth:o,maxHeight:s}=i,l=(r==="100%"||r==="100vw")&&(!o||o==="100%"||o==="100vw"),c=(a==="100%"||a==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,u=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",m="",g="",_="";l?_="flex-start":d==="center"?(_="center",h?g=u:m=u):h?d==="left"||d==="end"?(_="flex-end",m=u):(d==="right"||d==="start")&&(_="flex-start",g=u):d==="left"||d==="start"?(_="flex-start",m=u):(d==="right"||d==="end")&&(_="flex-end",g=u),n.position=this._cssPosition,n.marginLeft=l?"0":m,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":g,e.justifyContent=_,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(TT),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},OT=(()=>{class t{_injector=f(He);constructor(){}global(){return wo()}flexibleConnectedTo(e){return cs(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),om=new W("OVERLAY_DEFAULT_CONFIG");function ra(t,n){t.get(wt).load(FT);let e=t.get(I0),i=t.get(Ve),r=t.get(pt),a=t.get(Tr),o=t.get(Vt),s=t.get(ft,null,{optional:!0})||t.get(Tn).createRenderer(null,null),l=new na(n),c=t.get(om,null,{optional:!0})?.usePopover??!0;l.direction=l.direction||o.value,"showPopover"in i.body?l.usePopover=n?.usePopover??c:l.usePopover=!1;let d=i.createElement("div"),u=i.createElement("div");d.id=r.getId("cdk-overlay-"),d.classList.add("cdk-overlay-pane"),u.appendChild(d),l.usePopover&&(u.setAttribute("popover","manual"),u.classList.add("cdk-overlay-popover"));let h=l.usePopover?l.positionStrategy?.getPopoverInsertionPoint?.():null;return Ly(h)?h.after(u):h?.type==="parent"?h.element.appendChild(u):e.getContainerElement().appendChild(u),new Ld(new rm(d,a,t),u,d,l,t.get(Te),t.get(RT),i,t.get(Ya),t.get(PT),n?.disableAnimations??t.get(Yf,null,{optional:!0})==="NoopAnimations",t.get(En),s)}var NT=(()=>{class t{scrollStrategies=f(MT);_positionBuilder=f(OT);_injector=f(He);constructor(){}create(e){return ra(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$6=[{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"}],W6=new W("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=f(He);return()=>eo(t)}}),Vd=(()=>{class t{elementRef=f(he);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),LT=new W("cdk-connected-overlay-default-config"),M0=(()=>{class t{_dir=f(Vt,{optional:!0});_injector=f(He);_overlayRef;_templatePortal;_backdropSubscription=tt.EMPTY;_attachSubscription=tt.EMPTY;_detachSubscription=tt.EMPTY;_positionSubscription=tt.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=f(W6);_ngZone=f(Te);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;
1186set _config(e){typeof e!="string"&&this._assignConfig(e)}backdropClick=new ne;positionChange=new ne;attach=new ne;detach=new ne;overlayKeydown=new ne;overlayOutsideClick=new ne;constructor(){let e=f(At),i=f(Zt),r=f(LT,{optional:!0}),a=f(om,{optional:!0});this.usePopover=a?.usePopover===!1?null:"global",this._templatePortal=new yn(e,i),this.scrollStrategy=this._scrollStrategyFactory(),r&&this._assignConfig(r)}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?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=$6);let e=this._overlayRef=ra(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!zt(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),a=Ki(i);(!r||r!==a&&!r.contains(a))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new na({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let e=cs(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Vd?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Vd?this.origin.elementRef.nativeElement:this.origin instanceof he?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let e=this._overlayRef;e.getConfig().hasBackdrop=this.hasBackdrop,e.updateSize({width:this._getWidth()}),e.hasAttached()||e.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=e.backdropClick().subscribe(i=>this.backdropClick.emit(i)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Ck(()=>this.positionChange.observers.length>0)).subscribe(i=>{this._ngZone.run(()=>this.positionChange.emit(i)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(e){this.origin=e.origin??this.origin,this.positions=e.positions??this.positions,this.positionStrategy=e.positionStrategy??this.positionStrategy,this.offsetX=e.offsetX??this.offsetX,this.offsetY=e.offsetY??this.offsetY,this.width=e.width??this.width,this.height=e.height??this.height,this.minWidth=e.minWidth??this.minWidth,this.minHeight=e.minHeight??this.minHeight,this.backdropClass=e.backdropClass??this.backdropClass,this.panelClass=e.panelClass??this.panelClass,this.viewportMargin=e.viewportMargin??this.viewportMargin,this.scrollStrategy=e.scrollStrategy??this.scrollStrategy,this.disableClose=e.disableClose??this.disableClose,this.transformOriginSelector=e.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=e.hasBackdrop??this.hasBackdrop,this.lockPosition=e.lockPosition??this.lockPosition,this.flexibleDimensions=e.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=e.growAfterOpen??this.growAfterOpen,this.push=e.push??this.push,this.disposeOnNavigation=e.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=e.usePopover??this.usePopover,this.matchWidth=e.matchWidth??this.matchWidth}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,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",ie],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",ie],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ie],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ie],push:[2,"cdkConnectedOverlayPush","push",ie],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ie],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",ie],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[lt]})}return t})(),_r=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({providers:[NT],imports:[Ye,gr,im,im]})}return t})();var G6=["tooltip"],q6=20;var Y6=new W("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=f(He);return()=>eo(t,{scrollThrottle:q6})}}),X6=new W("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var BT="tooltip-panel",K6={passive:!0},Q6=8,Z6=8,J6=24,eV=200,Js=(()=>{class t{_elementRef=f(he);_ngZone=f(Te);_platform=f(ht);_ariaDescriber=f(p0);_focusMonitor=f(Ii);_dir=f(Vt);_injector=f(He);
1186_viewContainerRef=f(Zt);_mediaMatcher=f(Id);_document=f(Ve);_renderer=f(ft);_animationsDisabled=gt();_defaultOptions=f(X6,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=VT;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=yi(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=yi(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=bn(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=bn(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new te;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=Q6}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ne(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(i=>i()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new Lr(this._tooltipComponent,this._viewContainerRef);let a=this._tooltipInstance=r.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(Ne(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof he)return this._overlayRef;this._detach()}let i=this._injector.get(Da).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${BT}`,a=cs(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i).withPopoverLocation("global");return a.positionChanges.pipe(Ne(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=ra(this._injector,{direction:this._dir,positionStrategy:a,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(Y6)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ne(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ne(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Ne(this._destroyed)).subscribe(o=>{o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Ne(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),a=this._getOverlayPosition();i.withPositions([this._addOffset(H(H({},r.main),a.main)),this._addOffset(H(H({},r.fallback),a.fallback))])}_addOffset(e){let i=Z6,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:a,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:a,originY:o}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:a,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:a,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Nt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e instanceof Set?Array.from(e):e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:a}=e,o;if(i==="center"?this._dir&&this._dir.value==="rtl"?o=r==="end"?"left":"right":o=r==="start"?"left"
1186:"right":o=i==="bottom"&&a==="top"?"above":"below",o!==this._currentPosition){let s=this._overlayRef;if(s){let l=`${this._cssClassPrefix}-${BT}-`;s.removePanelClass(l+this._currentPosition),s.addPanelClass(l+o)}this._currentPosition=o}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let a=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??a)})):this._addListener("mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",e=>{let i=e.relatedTarget;(!i||!this._overlayRef?.overlayElement.contains(i))&&this.hide()}),this._addListener("wheel",e=>{if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",e),this._addListener("touchcancel",e)}}}_addListener(e,i){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,e,i,K6))}_isTouchPlatform(){let e=this._defaultOptions?.detectHoverCapability;return typeof e=="function"?!e():this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!e&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||Nt({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=e=>e.type==="keydown"?this._isTooltipVisible()&&e.keyCode===27&&!zt(e):!0;static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),VT=(()=>{class t{_changeDetectorRef=f(Ue);_elementRef=f(he);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=gt();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new te;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>J6&&e.width>=eV}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,a=this._hideAnimation;if(i.classList.remove(e?a:r),i.classList.add(e?r:a),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let o=getComputedStyle(i);(o.getPropertyValue("animation-duration")==="0s"||o.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&dt(G6,7),i&2){let a;ae(a=oe())&&(r._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&de("mouseleave",function(o){return r._handleMouseLeave(o)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){i&1&&(Rt(0,"div",1,0),ed("animationend",function(o){return r._handleAnimationEnd(o)}),Rt(2,"div",2),Q(3),Lt()()),i&2&&($t(r.tooltipClass),ce("mdc-tooltip--multiline",r._isMultiline),T(3),Bt(r.message))},styles:[`.mat-mdc-tooltip {
1187  position: relative;
1188  transform: scale(0);
1189  display: inline-flex;
1190}
1191.mat-mdc-tooltip::before {
1192  content: "";
1193  top: 0;
1194  right: 0;
1195  bottom: 0;
1196  left: 0;
1197  z-index: -1;
1198  position: absolute;
1199}
1200.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before {
1201  top: -8px;
1202}
1203.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before {
1204  bottom: -8px;
1205}
1206.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before {
1207  left: -8px;
1208}
1209.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before {
1210  right: -8px;
1211}
1212.mat-mdc-tooltip._mat-animation-noopable {
1213  animation: none;
1214  transform: scale(1);
1215}
1216
1217.mat-mdc-tooltip-surface {
1218  word-break: normal;
1219  overflow-wrap: anywhere;
1220  padding: 4px 8px;
1221  min-width: 40px;
1222  max-width: 200px;
1223  min-height: 24px;
1224  max-height: 40vh;
1225  box-sizing: border-box;
1226  overflow: hidden;
1227  text-align: center;
1228  will-change: transform, opacity;
1229  background-color: var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));
1230  color: var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));
1231  border-radius: var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));
1232  font-family: var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));
1233  font-size: var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));
1234  font-weight: var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));
1235  line-height: var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));
1236  letter-spacing: var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking));
1237}
1238.mat-mdc-tooltip-surface::before {
1239  position: absolute;
1240  box-sizing: border-box;
1241  width: 100%;
1242  height: 100%;
1243  top: 0;
1244  left: 0;
1245  border: 1px solid transparent;
1246  border-radius: inherit;
1247  content: "";
1248  pointer-events: none;
1249}
1250.mdc-tooltip--multiline .mat-mdc-tooltip-surface {
1251  text-align: left;
1252}
1253[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface {
1254  text-align: right;
1255}
1256
1257.mat-mdc-tooltip-panel {
1258  line-height: normal;
1259}
1260.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive {
1261  pointer-events: none;
1262}
1263
1264@keyframes mat-mdc-tooltip-show {
1265  0% {
1266    opacity: 0;
1267    transform: scale(0.8);
1268  }
1269  100% {
1270    opacity: 1;
1271    transform: scale(1);
1272  }
1273}
1274@keyframes mat-mdc-tooltip-hide {
1275  0% {
1276    opacity: 1;
1277    transform: scale(1);
1278  }
1279  100% {
1280    opacity: 0;
1281    transform: scale(0.8);
1282  }
1283}
1284.mat-mdc-tooltip-show {
1285  animation: mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards;
1286}
1287
1288.mat-mdc-tooltip-hide {
1289  animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards;
1290}
1291`],encapsulation:2,changeDetection:0})}return t})();var A0=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[ac,_r,Ye,Zn]})}return t})();var YT=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||t)(Qe(ft),Qe(he))};static \u0275dir=G({type:t})}return t})(),j0=(()=>{class t extends YT{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,features:[Ie]})}return t})(),xn=new W("");var iV={provide:xn,useExisting:_i(()=>us),multi:!0};function nV(){let t=ba()?ba().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var rV=new W(""),us=(()=>{class t extends YT{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!nV())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||t)(Qe(ft),Qe(he),Qe(rV,8))};static \u0275dir=G({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&de("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},standalone:!1,features:[Re([iV]),Ie]})}return t})();function zy(t){return t==null||jy(t)===0}function jy(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var br=new W(""),fm=new W(""),aV=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,aa=class{static min(n){return XT(n)}static max(n){return KT(n)}static required(n){return QT(n)}static requiredTrue(n){return oV(n)}static email(n){return sV(n)}static minLength(n){return lV(n)}static maxLength(n){return ZT(n)}static pattern(n){return cV(n)}static nullValidator(n){return P0()}static compose(n){return rI(n)}static composeAsync(n){return aI(n)}};function XT(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function KT(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function QT(t){return zy(t.value)?{required:!0}:null}function oV(t){return t.value===!0?null:{required:!0}}function sV(t){return zy(t.value)||aV.test(t.value)?null:{email:!0}}function lV(t){return n=>{let e=n.value?.length??jy(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function ZT(t){return n=>{let e=n.value?.length??jy(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function cV(t){if(!t)return P0;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>
vendor: 4,617 bytes, line 1291
1291{if(zy(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function P0(t){return null}function JT(t){return t!=null}function eI(t){return Jc(t)?Ri(t):t}function tI(t){let n={};return t.forEach(e=>{n=e!=null?H(H({},n),e):n}),Object.keys(n).length===0?null:n}function iI(t,n){return n.map(e=>e(t))}function dV(t){return!t.validate}function nI(t){return t.map(n=>dV(n)?n:e=>n.validate(e))}function rI(t){if(!t)return null;let n=t.filter(JT);return n.length==0?null:function(e){return tI(iI(e,n))}}function Hy(t){return t!=null?rI(nI(t)):null}function aI(t){if(!t)return null;let n=t.filter(JT);return n.length==0?null:function(e){let i=iI(e,n).map(eI);return sh(i).pipe(ct(tI))}}function $y(t){return t!=null?aI(nI(t)):null}function UT(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function oI(t){return t._rawValidators}function sI(t){return t._rawAsyncValidators}function By(t){return t?Array.isArray(t)?t:[t]:[]}function F0(t,n){return Array.isArray(t)?t.includes(n):t===n}function zT(t,n){let e=By(n);return By(t).forEach(r=>{F0(e,r)||e.push(r)}),e}function jT(t,n){return By(n).filter(e=>!F0(t,e))}var O0=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Hy(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=$y(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},Ea=class extends O0{name;get formDirective(){return null}get path(){return null}},vr=class extends O0{_parent=null;name=null;valueAccessor=null},N0=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var cc=(()=>{class t extends N0{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(Qe(vr,2))};static \u0275dir=G({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&ce("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Ie]})}return t})(),Wy=(()=>{class t extends N0{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(Qe(Ea,10))};static \u0275dir=G({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&ce("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[Ie]})}return t})();
vendor: 4,277 bytes, line 1291
1291var sm="VALID",R0="INVALID",Ud="PENDING",lm="DISABLED",tl=class{},L0=class extends tl{value;source;constructor(n,e){super(),this.value=n,this.source=e}},dm=class extends tl{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},um=class extends tl{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},zd=class extends tl{status;source;constructor(n,e){super(),this.status=n,this.source=e}},B0=class extends tl{source;constructor(n){super(),this.source=n}},hm=class extends tl{source;constructor(n){super(),this.source=n}};function Gy(t){return(H0(t)?t.validators:t)||null}function uV(t){return Array.isArray(t)?Hy(t):t||null}function qy(t,n){return(H0(n)?n.asyncValidators:t)||null}function hV(t){return Array.isArray(t)?$y(t):t||null}function H0(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function lI(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new at(1e3,"");if(!i[e])throw new at(1001,"")}function cI(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new at(-1002,"")})}var jd=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return ei(this.statusReactive)}set status(n){ei(()=>this.statusReactive.set(n))}_status=pn(()=>this.statusReactive());statusReactive=ke(void 0);get valid(){return this.status===sm}get invalid(){return this.status===R0}get pending(){return this.status===Ud}get disabled(){return this.status===lm}get enabled(){return this.status!==lm}errors;get pristine(){return ei(this.pristineReactive)}set pristine(n){ei(()=>this.pristineReactive.set(n))}_pristine=pn(()=>this.pristineReactive());pristineReactive=ke(!0);get dirty(){return!this.pristine}get touched(){return ei(this.touchedReactive)}set touched(n){ei(()=>this.touchedReactive.set(n))}_touched=pn(()=>this.touchedReactive());touchedReactive=ke(!1);get untouched(){return!this.touched}_events=new te;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(zT(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(zT(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(jT(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(jT(n,this._rawAsyncValidators))}hasValidator(n){return F0(this._rawValidators,n)}hasAsyncValidator(n){return F0(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(et(H({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new um(!0,i))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),n.onlySelf||this._parent?._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new um(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(et(H({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new dm(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;
1291this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new dm(!0,i))}markAsPending(n={}){this.status=Ud;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new zd(this.status,e)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(et(H({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=lm,this.errors=null,this._forEachChild(r=>{r.disable(et(H({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new L0(this.value,i)),this._events.next(new zd(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(et(H({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=sm,this._forEachChild(i=>{i.enable(et(H({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(et(H({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===sm||this.status===Ud)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new L0(this.value,e)),this._events.next(new zd(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(et(H({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?lm:sm}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Ud,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let i=eI(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i?.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new zd(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new ne,this.statusChanges=new ne}_calculateStatus(){return this._allControlsDisabled()?lm:this.errors?R0:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ud)?Ud:this._anyControlsHaveStatus(R0)?R0:sm}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,n.onlySelf||this._parent?._updatePristine(n,e),r&&this._events.next(new dm(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new um(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){H0(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}
vendor: 21,256 bytes, line 1291
1291_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=uV(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=hV(this._rawAsyncValidators)}},ds=class extends jd{constructor(n,e,i){super(Gy(e),qy(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){cI(this,!0,n),Object.keys(n).forEach(i=>{lI(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,et(H({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new hm(this))}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,a)=>{i=e(i,r,a)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var Vy=class extends ds{};var Hd=new W("",{factory:()=>$0}),$0="always";function dI(t,n){return[...n.path,t]}function mm(t,n,e=$0){Yy(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),fV(t,n),gV(t,n),pV(t,n),mV(t,n)}function V0(t,n,e=!0){let i=()=>{};n?.valueAccessor?.registerOnChange(i),n?.valueAccessor?.registerOnTouched(i),z0(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function U0(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function mV(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Yy(t,n){let e=oI(t);n.validator!==null?t.setValidators(UT(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=sI(t);n.asyncValidator!==null?t.setAsyncValidators(UT(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();U0(n._rawValidators,r),U0(n._rawAsyncValidators,r)}function z0(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=oI(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==n.validator);a.length!==r.length&&(e=!0,t.setValidators(a))}}if(n.asyncValidator!==null){let r=sI(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==n.asyncValidator);a.length!==r.length&&(e=!0,t.setAsyncValidators(a))}}}let i=()=>{};return U0(n._rawValidators,i),U0(n._rawAsyncValidators,i),e}function fV(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&uI(t,n)})}function pV(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&uI(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function uI(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function gV(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function hI(t,n){t==null,Yy(t,n)}function _V(t,n){return z0(t,n)}function Xy(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function vV(t){return Object.getPrototypeOf(t.constructor)===j0}function mI(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function Ky(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(a=>{a.constructor===us?e=a:vV(a)?i=a:r=a}),r||i||e||null}function bV(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var yV={provide:Ea,useExisting:_i(()=>il)},cm=Promise.resolve(),il=(()=>{class t extends Ea{callSetDisabledState;get submitted(){return ei(this.submittedReactive)}_submitted=pn(()=>this.submittedReactive());submittedReactive=ke(!1);_directives=new Set;form;ngSubmit=new ne;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new ds({},Hy(e),$y(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){cm.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),mm(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){cm.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){cm.then(()=>{let i=this._findContainer(e.path),r=new ds({});hI(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){cm.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){cm.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),mI(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new B0(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||t)(Qe(br,10),Qe(fm,10),Qe(Hd,8))};static \u0275dir=G({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&de("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Re([yV]),Ie]})}return t})();function HT(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function $T(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var el=class extends jd{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(Gy(e),qy(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),H0(e)&&(e.nonNullable||e.initialValueIsDefault)&&($T(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new hm(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){HT(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){HT(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){$T(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var xV=t=>t instanceof el;var wV={provide:vr,useExisting:_i(()=>W0)},WT=Promise.resolve(),W0=(()=>{class t extends vr{_changeDetectorRef;callSetDisabledState;control=new el;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new ne;constructor(e,i,r,a,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=Ky(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Xy(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){mm(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){WT.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&ie(i);WT.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?dI(e,this._parent):[e]}static \u0275fac=function(i){return new(i||t)(Qe(Ea,9),Qe(br,10),Qe(fm,10),Qe(xn,10),Qe(Ue,8),Qe(Hd,8))};static \u0275dir=G({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Re([wV]),Ie,lt]})}return t})();var Qy=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),CV={provide:xn,useExisting:_i(()=>Zy),multi:!0},Zy=(()=>{class t extends j0{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){i&1&&de("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[Re([CV]),Ie]})}return t})();var Uy=class extends jd{constructor(n,e,i){super(Gy(e),qy(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){Array.isArray(n)?n.forEach(i=>{this.controls.push(i),this._registerControl(i)}):(this.controls.push(n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){cI(this,!1,n),n.forEach((i,r)=>{lI(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(n.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,r)=>{i.reset(n[r],et(H({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new hm(this))}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>i._syncPendingControls()?!0:e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}};var SV=(()=>{class t extends Ea{callSetDisabledState;get submitted(){return ei(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=pn(()=>this._submittedReactive());_submittedReactive=ke(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(z0(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let i=this.form.get(e.path);return mm(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){V0(e.control||null,e,!1),bV(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,i){this.form.get(e.path).setValue(i)}onReset(){this.resetForm()}resetForm(e=void 0,i={}){this.form.reset(e,i),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,mI(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new B0(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(V0(i||null,e),xV(r)&&(mm(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);hI(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let i=this.form?.get(e.path);i&&_V(i,e)&&i.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Yy(this.form,this),this._oldForm&&z0(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(i){return new(i||t)(Qe(br,10),Qe(fm,10),Qe(Hd,8))};static \u0275dir=G({type:t,features:[Ie,lt]})}return t})();var Jy=new W(""),kV={provide:vr,useExisting:_i(()=>G0)},G0=(()=>{class t extends vr{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new ne;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,a,o){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Ky(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&V0(i,this,!1),mm(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Xy(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&V0(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(i){return new(i||t)(Qe(br,10),Qe(fm,10),Qe(xn,10),Qe(Jy,8),Qe(Hd,8))};static \u0275dir=G({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Re([kV]),Ie,lt]})}return t})();var DV={provide:vr,useExisting:_i(()=>q0)},q0=(()=>{class t extends vr{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new ne;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,a,o){super(),this._ngModelWarningConfig=o,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=Ky(this,a)}ngOnChanges(e){this._added||this._setUpControl(),Xy(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return dI(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(i){return new(i||t)(Qe(Ea,13),Qe(br,10),Qe(fm,10),Qe(xn,10),Qe(Jy,8))};static \u0275dir=G({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[Re([DV]),Ie,lt]})}return t})();var EV={provide:Ea,useExisting:_i(()=>to)},to=(()=>{class t extends SV{form=null;ngSubmit=new ne;get control(){return this.form}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&de("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Re([EV]),Ie]})}return t})(),TV={provide:xn,useExisting:_i(()=>pI),multi:!0};function fI(t,n){return t==null?`${n}
1291`:(n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function IV(t){return t.split(":")[0]}var pI=(()=>{class t extends j0{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;appRefInjector=f(Tr).injector;destroyRef=f(Bs);cdr=f(Ue);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,Nt({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(e){this.cdr.markForCheck(),this.value=e;let i=this._getOptionId(e),r=fI(i,e);this.setProperty("value",r)}registerOnChange(e){this.onChange=i=>{this.value=this._getOptionValue(i),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),e))return i;return null}_getOptionValue(e){let i=IV(e);return this._optionMap.has(i)?this._optionMap.get(i):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){i&1&&de("change",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Re([TV]),Ie]})}return t})(),gve=(()=>{class t{_element;_renderer;_select;id;constructor(e,i,r){this._element=e,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(e){this._select!=null&&(this._select._optionMap.set(this.id,e),this._setElementValue(fI(this.id,e)),this._select._writeValueAfterRender())}set value(e){this._setElementValue(e),this._select?._writeValueAfterRender()}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(i){return new(i||t)(Qe(he),Qe(ft),Qe(pI,9))};static \u0275dir=G({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})(),MV={provide:xn,useExisting:_i(()=>gI),multi:!0};function GT(t,n){return t==null?`${n}`:(typeof n=="string"&&(n=`'${n}'`),n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function AV(t){return t.split(":")[0]}var gI=(()=>{class t extends j0{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){this.value=e;let i;if(Array.isArray(e)){let r=e.map(a=>this._getOptionId(a));i=(a,o)=>{a._setSelected(r.indexOf(o)>-1)}}else i=r=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(e){this.onChange=i=>{let r=[],a=i.selectedOptions;if(a!==void 0){let o=a;for(let s=0;s<o.length;s++){let l=o[s],c=this._getOptionValue(l.value);r.push(c)}}else{let o=i.options;for(let s=0;s<o.length;s++){let l=o[s];if(l.selected){let c=this._getOptionValue(l.value);r.push(c)}}}this.value=r,e(r)}}_registerOption(e){let i=(this._idCounter++).toString();return this._optionMap.set(i,e),i}_getOptionId(e){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,e))return i;return null}_getOptionValue(e){let i=AV(e);return this._optionMap.has(i)?this._optionMap.get(i)._value:e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){i&1&&de("change",function(o){return r.onChange(o.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Re([MV]),Ie]})}return t})(),_ve=(()=>{class t{_element;_renderer;_select;id;_value;constructor(e,i,r){this._element=e,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){this._select!=null&&(this._value=e,this._setElementValue(GT(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(GT(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1291),this._select.writeValue(this._select.value))}static \u0275fac=function(i){return new(i||t)(Qe(he),Qe(ft),Qe(gI,9))};static \u0275dir=G({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})();function RV(t){return typeof t=="number"?t:parseInt(t,10)}function _I(t){return typeof t=="number"?t:parseFloat(t)}var Y0=(()=>{class t{_validator=P0;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):P0,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,features:[lt]})}return t})(),PV={provide:br,useExisting:_i(()=>FV),multi:!0},FV=(()=>{class t extends Y0{max;inputName="max";normalizeInput=e=>_I(e);createValidator=e=>KT(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&fe("max",r._enabled?r.max:null)},inputs:{max:"max"},standalone:!1,features:[Re([PV]),Ie]})}return t})(),OV={provide:br,useExisting:_i(()=>NV),multi:!0},NV=(()=>{class t extends Y0{min;inputName="min";normalizeInput=e=>_I(e);createValidator=e=>XT(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&fe("min",r._enabled?r.min:null)},inputs:{min:"min"},standalone:!1,features:[Re([OV]),Ie]})}return t})(),LV={provide:br,useExisting:_i(()=>vI),multi:!0};var vI=(()=>{class t extends Y0{required;inputName="required";normalizeInput=ie;createValidator=e=>QT;enabled(e){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,r){i&2&&fe("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Re([LV]),Ie]})}return t})();var BV={provide:br,useExisting:_i(()=>VV),multi:!0},VV=(()=>{class t extends Y0{maxlength;inputName="maxlength";normalizeInput=e=>RV(e);createValidator=e=>ZT(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&fe("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[Re([BV]),Ie]})}return t})();var bI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({})}return t})();function qT(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var ex=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,i=null){let r=this._reduceControls(e),a={};return qT(i)?a=i:i!==null&&(a.validators=i.validator,a.asyncValidators=i.asyncValidator),new ds(r,a)}record(e,i=null){let r=this._reduceControls(e);return new Vy(r,i)}control(e,i,r){let a={};return this.useNonNullable?(qT(i)?a=i:(a.validators=i,a.asyncValidators=r),new el(e,et(H({},a),{nonNullable:!0}))):new el(e,i,r)}array(e,i,r){let a=e.map(o=>this._createControl(o));return new Uy(a,i,r)}_reduceControls(e){let i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r])}),i}_createControl(e){if(e instanceof el)return e;if(e instanceof jd)return e;if(Array.isArray(e)){let i=e[0],r=e.length>1?e[1]:null,a=e.length>2?e[2]:null;return this.control(i,r,a)}else return this.control(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var tx=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Hd,useValue:e.callSetDisabledState??$0}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[bI]})}return t})(),pm=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Jy,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Hd,useValue:e.callSetDisabledState??$0}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[bI]})}return t})();var ix=class{_box;_destroyed=new te;
1291_resizeSubject=new te;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new mn(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(vt(e=>e.some(i=>i.target===n)),qf({bufferSize:1,refCount:!0}),Ne(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},X0=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=f(Te);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new ix(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var zV=["notch"],jV=["matFormFieldNotchedOutline",""],HV=["*"],yI=["iconPrefixContainer"],xI=["textPrefixContainer"],wI=["iconSuffixContainer"],CI=["textSuffixContainer"],$V=["textField"],WV=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],GV=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function qV(t,n){t&1&&we(0,"span",21)}function YV(t,n){if(t&1&&(w(0,"label",20),_e(1,1),pe(2,qV,1,0,"span",21),D()),t&2){let e=j(2);se("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),fe("for",e._control.disableAutomaticLabeling?null:e._control.id),T(2),ge(!e.hideRequiredMarker&&e._control.required?2:-1)}}function XV(t,n){if(t&1&&pe(0,YV,3,5,"label",20),t&2){let e=j();ge(e._hasFloatingLabel()?0:-1)}}function KV(t,n){t&1&&we(0,"div",7)}function QV(t,n){}function ZV(t,n){if(t&1&&xt(0,QV,0,0,"ng-template",13),t&2){j(2);let e=qt(1);se("ngTemplateOutlet",e)}}function JV(t,n){if(t&1&&(w(0,"div",9),pe(1,ZV,1,1,null,13),D()),t&2){let e=j();se("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),T(),ge(e._forceDisplayInfixLabel()?-1:1)}}function eU(t,n){t&1&&(w(0,"div",10,2),_e(2,2),D())}function tU(t,n){t&1&&(w(0,"div",11,3),_e(2,3),D())}function iU(t,n){}function nU(t,n){if(t&1&&xt(0,iU,0,0,"ng-template",13),t&2){j();let e=qt(1);se("ngTemplateOutlet",e)}}function rU(t,n){t&1&&(w(0,"div",14,4),_e(2,4),D())}function aU(t,n){t&1&&(w(0,"div",15,5),_e(2,5),D())}function oU(t,n){t&1&&we(0,"div",16)}function sU(t,n){t&1&&(w(0,"div",18),_e(1,6),D())}function lU(t,n){if(t&1&&(w(0,"mat-hint",22),Q(1),D()),t&2){let e=j(2);se("id",e._hintLabelId),T(),Bt(e.hintLabel)}}function cU(t,n){if(t&1&&(w(0,"div",19),pe(1,lU,2,2,"mat-hint",22),_e(2,7),we(3,"div",23),_e(4,8),D()),t&2){let e=j();T(),ge(e.hintLabel?1:-1)}}var io=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["mat-label"]]})}return t})(),MI=new W("MatError"),$d=(()=>{class t{id=f(pt).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,r){i&2&&si("id",r.id)},inputs:{id:"id"},features:[Re([{provide:MI,useExisting:t}])]})}return t})(),nl=(()=>{class t{align="start";id=f(pt).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(si("id",r.id),fe("align",null),ce("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),AI=new W("MatPrefix"),Q0=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[Re([{provide:AI,useExisting:t}])]})}return t})(),RI=new W("MatSuffix"),gm=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[Re([{provide:RI,useExisting:t}])]})}return t})(),PI=new W("FloatingLabelParent"),SI=(()=>{class t{_elementRef=f(he);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=f(X0);_ngZone=f(Te);_parent=f(PI);_resizeSubscription=new tt;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return dU(this._elementRef.nativeElement)}
1291get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function dU(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var kI="mdc-line-ripple--active",K0="mdc-line-ripple--deactivating",DI=(()=>{class t{_elementRef=f(he);_cleanupTransitionEnd;constructor(){let e=f(Te),i=f(ft);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(K0),e.add(kI)}deactivate(){this._elementRef.nativeElement.classList.add(K0)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(K0);e.propertyName==="opacity"&&r&&i.remove(kI,K0)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),EI=(()=>{class t{_elementRef=f(he);_ngZone=f(Te);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,i=e.querySelector(".mdc-floating-label");i?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let i=this._notch.nativeElement;!this.open||!e?i.style.width="":i.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&dt(zV,5),i&2){let a;ae(a=oe())&&(r._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:jV,ngContentSelectors:HV,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(Ge(),Wi(0,"div",1),Rt(1,"div",2,0),_e(3),Lt(),Wi(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),Wd=(()=>{class t{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t})}return t})();var dc=new W("MatFormField"),uU=new W("MAT_FORM_FIELD_DEFAULT_OPTIONS"),TI="fill",hU="auto",II="fixed",mU="translateY(-50%)",oa=(()=>{class t{_elementRef=f(he);_changeDetectorRef=f(Ue);_platform=f(ht);_idGenerator=f(pt);_ngZone=f(Te);_defaults=f(uU,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=uh("iconPrefixContainer");_textPrefixContainerSignal=uh("textPrefixContainer");_iconSuffixContainerSignal=uh("iconSuffixContainer");_textSuffixContainerSignal=uh("textSuffixContainer");_prefixSuffixContainers=pn(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Jk(io);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=yi(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||hU}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let i=e||this._defaults?.appearance||TI;this._appearanceSignal.set(i)}_appearanceSignal=ke(TI);
vendor: 2,874 bytes, line 1291
1291get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||II}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||II}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new te;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=gt();constructor(){let e=this._defaults,i=f(Vt);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Vs(()=>this._currentDirection=i.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=pn(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(bt([void 0,void 0]),ct(()=>
1291[i.errorState,i.userAriaDescribedBy]),qv(),vt(([[a,o],[s,l]])=>a!==s||o!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(Ne(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Gt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){iD({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=pn(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];
1291if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let a=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;a?e.push(a.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(a=>a.id));let i=this._control.describedByIds,r;if(i){let a=this._describedByIds||e;r=e.concat(i.filter(o=>o&&!a.includes(o)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,o=e?.getBoundingClientRect().width??0,s=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=a?.getBoundingClientRect().width??0,d=this._currentDirection==="rtl"?"-1":"1",u=`${o+s}px`,m=`calc(${d} * (${u} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,g=`var(--mat-mdc-form-field-label-transform, ${mU} translateX(${m}))`,_=o+s+l+c;return[g,_]}_writeOutlinedLabelStyles(e){if(e!==null){let[i,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=i),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,a){if(i&1&&(Gk(a,r._labelChild,io,5),Tt(a,Wd,5)(a,AI,5)(a,RI,5)(a,MI,5)(a,nl,5)),i&2){Zv();let o;ae(o=oe())&&(r._formFieldControl=o.first),ae(o=oe())&&(r._prefixChildren=o),ae(o=oe())&&(r._suffixChildren=o),ae(o=oe())&&(r._errorChildren=o),ae(o=oe())&&(r._hintChildren=o)}},viewQuery:function(i,r){if(i&1&&(qk(r._iconPrefixContainerSignal,yI,5)(r._textPrefixContainerSignal,xI,5)(r._iconSuffixContainerSignal,wI,5)(r._textSuffixContainerSignal,CI,5),dt($V,5)(yI,5)(xI,5)(wI,5)(CI,5)(SI,5)(EI,5)(DI,5)),i&2){Zv(4);let a;ae(a=oe())&&(r._textField=a.first),ae(a=oe())&&(r._iconPrefixContainer=a.first),ae(a=oe())&&(r._textPrefixContainer=a.first),ae(a=oe())&&(r._iconSuffixContainer=a.first),ae(a=oe())&&(r._textSuffixContainer=a.first),ae(a=oe())&&(r._floatingLabel=a.first),ae(a=oe())&&(r._notchedOutline=a.first),ae(a=oe())&&(r._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(i,r){i&2&&ce("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Re([{provide:dc,useExisting:t},{provide:PI,useExisting:t}])],ngContentSelectors:GV,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormField
1291FloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1&&(Ge(WV),xt(0,XV,1,1,"ng-template",null,0,_a),w(2,"div",6,1),de("click",function(o){return r._control.onContainerClick(o)}),pe(4,KV,1,0,"div",7),w(5,"div",8),pe(6,JV,2,2,"div",9),pe(7,eU,3,0,"div",10),pe(8,tU,3,0,"div",11),w(9,"div",12),pe(10,nU,1,1,null,13),_e(11),D(),pe(12,rU,3,0,"div",14),pe(13,aU,3,0,"div",15),D(),pe(14,oU,1,0,"div",16),D(),w(15,"div",17),pe(16,sU,2,0,"div",18)(17,cU,5,1,"div",19),D()),i&2){let a;T(2),ce("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),T(2),ge(!r._hasOutline()&&!r._control.disabled?4:-1),T(2),ge(r._hasOutline()?6:-1),T(),ge(r._hasIconPrefix?7:-1),T(),ge(r._hasTextPrefix?8:-1),T(2),ge(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),T(2),ge(r._hasTextSuffix?12:-1),T(),ge(r._hasIconSuffix?13:-1),T(),ge(r._hasOutline()?-1:14),T(),ce("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let o=r._getSubscriptMessageType();T(),ge((a=o)==="error"?16:a==="hint"?17:-1)}},dependencies:[SI,EI,xa,DI,nl],styles:[`.mdc-text-field {
1292  display: inline-flex;
1293  align-items: baseline;
1294  padding: 0 16px;
1295  position: relative;
1296  box-sizing: border-box;
1297  overflow: hidden;
1298  will-change: opacity, transform, color;
1299  border-top-left-radius: 4px;
1300  border-top-right-radius: 4px;
1301  border-bottom-right-radius: 0;
1302  border-bottom-left-radius: 0;
1303}
1304
1305.mdc-text-field__input {
1306  width: 100%;
1307  min-width: 0;
1308  border: none;
1309  border-radius: 0;
1310  background: none;
1311  padding: 0;
1312  -moz-appearance: none;
1313  -webkit-appearance: none;
1314  height: 28px;
1315}
1316.mdc-text-field__input::-webkit-calendar-picker-indicator, .mdc-text-field__input::-webkit-search-cancel-button {
1317  display: none;
1318}
1319.mdc-text-field__input::-ms-clear {
1320  display: none;
1321}
1322.mdc-text-field__input:focus {
1323  outline: none;
1324}
1325.mdc-text-field__input:invalid {
1326  box-shadow: none;
1327}
1328.mdc-text-field__input::placeholder {
1329  opacity: 0;
1330}
1331.mdc-text-field__input::-moz-placeholder {
1332  opacity: 0;
1333}
1334.mdc-text-field__input::-webkit-input-placeholder {
1335  opacity: 0;
1336}
1337.mdc-text-field__input:-ms-input-placeholder {
1338  opacity: 0;
1339}
1340.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mdc-text-field--focused .mdc-text-field__input::placeholder {
1341  opacity: 1;
1342}
1343.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mdc-text-field--focused .mdc-text-field__input::-moz-placeholder {
1344  opacity: 1;
1345}
1346.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder {
1347  opacity: 1;
1348}
1349.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder {
1350  opacity: 1;
1351}
1352.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder {
1353  opacity: 0;
1354}
1355.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder {
1356  opacity: 0;
1357}
1358.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder {
1359  opacity: 0;
1360}
1361.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder {
1362  opacity: 0;
1363}
1364.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input {
1365  height: 100%;
1366}
1367.mdc-text-field--outlined .mdc-text-field__input {
1368  display: flex;
1369  border: none !important;
1370  background-color: transparent;
1371}
1372.mdc-text-field--disabled .mdc-text-field__input {
1373  pointer-events: auto;
1374}
1375.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input {
1376  color: var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));
1377  caret-color: var(--mat-form-field-filled-caret-color, var(--mat-sys-primary));
1378}
1379.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder {
1380  color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
1381}
1382.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder {
1383  color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
1384}
1385.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder {
1386  color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
1387}
1388.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder {
1389  color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
1390}
1391.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input {
1392  color: var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));
1393  caret-color: var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary));
1394}
1395.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder {
1396  color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
1397}
1398.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder {
1399  color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
1400}
1401.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder {
1402  color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
1403}
1404.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder {
1405  color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
1406}
1407.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input {
1408  caret-color: var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error));
1409}
1410.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input {
1411  caret-color: var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error));
1412}
1413.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input {
1414  color: var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1415}
1416.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {
1417  color: var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1418}
1419@media (forced-colors: active) {
1420  .mdc-text-field--disabled .mdc-text-field__input {
1421    background-color: Window;
1422  }
1423}
1424
1425.mdc-text-field--filled {
1426  height: 56px;
1427  border-bottom-right-radius: 0;
1428  border-bottom-left-radius: 0;
1429  border-top-left-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));
1430  border-top-right-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));
1431}
1432.mdc-text-field--filled:not(.mdc-text-field--disabled) {
1433  background-color: var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant));
1434}
1435.mdc-text-field--filled.mdc-text-field--disabled {
1436  background-color: var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent));
1437}
1438
1439.mdc-text-field--outlined {
1440  height: 56px;
1441  overflow: visible;
1442  padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));
1443  padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);
1444}
1445[dir=rtl] .mdc-text-field--outlined {
1446  padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);
1447  padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));
1448}
1449
1450.mdc-floating-label {
1451  position: absolute;
1452  left: 0;
1453  transform-origin: left top;
1454  line-height: 1.15rem;
1455  text-align: left;
1456  text-overflow: ellipsis;
1457  white-space: nowrap;
1458  cursor: text;
1459  overflow: hidden;
1460  will-change: transform;
1461}
1462[dir=rtl] .mdc-floating-label {
1463  right: 0;
1464  left: auto;
1465  transform-origin: right top;
1466  text-align: right;
1467}
1468.mdc-text-field .mdc-floating-label {
1469  top: 50%;
1470  transform: translateY(-50%);
1471  pointer-events: none;
1472}
1473.mdc-notched-outline .mdc-floating-label {
1474  display: inline-block;
1475  position: relative;
1476  max-width: 100%;
1477}
1478.mdc-text-field--outlined .mdc-floating-label {
1479  left: 4px;
1480  right: auto;
1481}
1482[dir=rtl] .mdc-text-field--outlined .mdc-floating-label {
1483  left: auto;
1484  right: 4px;
1485}
1486.mdc-text-field--filled .mdc-floating-label {
1487  left: 16px;
1488  right: auto;
1489}
1490[dir=rtl] .mdc-text-field--filled .mdc-floating-label {
1491  left: auto;
1492  right: 16px;
1493}
1494.mdc-text-field--disabled .mdc-floating-label {
1495  cursor: default;
1496}
1497@media (forced-colors: active) {
1498  .mdc-text-field--disabled .mdc-floating-label {
1499    z-index: 1;
1500  }
1501}
1502.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label {
1503  display: none;
1504}
1505.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label {
1506  color: var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant));
1507}
1508.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label {
1509  color: var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary));
1510}
1511.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1511over .mdc-floating-label {
1512  color: var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant));
1513}
1514.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label {
1515  color: var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1516}
1517.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label {
1518  color: var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error));
1519}
1520.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label {
1521  color: var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error));
1522}
1523.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label {
1524  color: var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container));
1525}
1526.mdc-text-field--filled .mdc-floating-label {
1527  font-family: var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));
1528  font-size: var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));
1529  font-weight: var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));
1530  letter-spacing: var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking));
1531}
1532.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label {
1533  color: var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant));
1534}
1535.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label {
1536  color: var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary));
1537}
1538.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label {
1539  color: var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface));
1540}
1541.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label {
1542  color: var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1543}
1544.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label {
1545  color: var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error));
1546}
1547.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label {
1548  color: var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error));
1549}
1550.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label {
1551  color: var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container));
1552}
1553.mdc-text-field--outlined .mdc-floating-label {
1554  font-family: var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));
1555  font-size: var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));
1556  font-weight: var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));
1557  letter-spacing: var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking));
1558}
1559
1560.mdc-floating-label--float-above {
1561  cursor: auto;
1562  transform: translateY(-106%) scale(0.75);
1563}
1564.mdc-text-field--filled .mdc-floating-label--float-above {
1565  transform: translateY(-106%) scale(0.75);
1566}
1567.mdc-text-field--outlined .mdc-floating-label--float-above {
1568  transform: translateY(-37.25px) scale(1);
1569  font-size: 0.75rem;
1570}
1571.mdc-notched-outline .mdc-floating-label--float-above {
1572  text-overflow: clip;
1573}
1574.mdc-notched-outline--upgraded .mdc-floating-label--float-above {
1575  max-width: 133.3333333333%;
1576}
1577.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
1578  transform: translateY(-34.75px) scale(0.75);
1579}
1580.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
1581  font-size: 1rem;
1582}
1583
1584.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after {
1585  margin-left: 1px;
1586  margin-right: 0;
1587  content: "*";
1588}
1589[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after {
1590  margin-left: 0;
1591  margin-right: 1px;
1592}
1593
1594.mdc-notched-outline {
1595  display: flex;
1596  position: absolute;
1597  top: 0;
1598  right: 0;
1599  left: 0;
1600  box-sizing: border-box;
1601  width: 100%;
1602  max-width: 100%;
1603  height: 100%;
1604  text-align: left;
1605  pointer-events: none;
1606}
1607[dir=rtl] .mdc-notched-outline {
1608  text-align: right;
1609}
1610.mdc-text-field--outlined .mdc-notched-outline {
1611  z-index: 1;
1612}
1613
1614.mat-mdc-notch-piece {
1615  box-sizing: border-box;
1616  height: 100%;
1617  pointer-events: none;
1618  border: none;
1619  border-top: 1px solid;
1620  border-bottom: 1px solid;
1621}
1622.mdc-text-field--focused .mat-mdc-notch-piece {
1623  border-width: 2px;
1624}
1625.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece {
1626  border-color: var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));
1627  border-width: var(--mat-form-field-outlined-outline-width, 1px);
1628}
1629.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1629over .mat-mdc-notch-piece {
1630  border-color: var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface));
1631}
1632.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece {
1633  border-color: var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary));
1634}
1635.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece {
1636  border-color: var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
1637}
1638.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece {
1639  border-color: var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error));
1640}
1641.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece {
1642  border-color: var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container));
1643}
1644.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece {
1645  border-color: var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error));
1646}
1647.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece {
1648  border-width: var(--mat-form-field-outlined-focus-outline-width, 2px);
1649}
1650
1651.mdc-notched-outline__leading {
1652  border-left: 1px solid;
1653  border-right: none;
1654  border-top-right-radius: 0;
1655  border-bottom-right-radius: 0;
1656  border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1657  border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1658}
1659.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading {
1660  width: max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));
1661}
1662[dir=rtl] .mdc-notched-outline__leading {
1663  border-left: none;
1664  border-right: 1px solid;
1665  border-bottom-left-radius: 0;
1666  border-top-left-radius: 0;
1667  border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1668  border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1669}
1670
1671.mdc-notched-outline__trailing {
1672  flex-grow: 1;
1673  border-left: none;
1674  border-right: 1px solid;
1675  border-top-left-radius: 0;
1676  border-bottom-left-radius: 0;
1677  border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1678  border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1679}
1680[dir=rtl] .mdc-notched-outline__trailing {
1681  border-left: 1px solid;
1682  border-right: none;
1683  border-top-right-radius: 0;
1684  border-bottom-right-radius: 0;
1685  border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1686  border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
1687}
1688
1689.mdc-notched-outline__notch {
1690  flex: 0 0 auto;
1691  width: auto;
1692}
1693.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch {
1694  max-width: min(var(--mat-form-field-notch-max-width, 100%), calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2));
1695}
1696.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {
1697  max-width: min(100%, calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2));
1698}
1699.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {
1700  padding-top: 1px;
1701}
1702.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {
1703  padding-top: 2px;
1704}
1705.mdc-notched-outline--notched .mdc-notched-outline__notch {
1706  padding-left: 0;
1707  padding-right: 8px;
1708  border-top: none;
1709}
1710[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch {
1711  padding-left: 8px;
1712  padding-right: 0;
1713}
1714.mdc-notched-outline--no-label .mdc-notched-outline__notch {
1715  display: none;
1716}
1717
1718.mdc-line-ripple::before, .mdc-line-ripple::after {
1719  position: absolute;
1720  bottom: 0;
1721  left: 0;
1722  width: 100%;
1723  border-bottom-style: solid;
1724  content: "";
1725}
1726.mdc-line-ripple::before {
1727  z-index: 1;
1728  border-bottom-width: var(--mat-form-field-filled-active-indicator-height, 1px);
1729}
1730.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before {
1731  border-bottom-color: var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant));
1732}
1733.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1733over .mdc-line-ripple::before {
1734  border-bottom-color: var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface));
1735}
1736.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before {
1737  border-bottom-color: var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1738}
1739.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before {
1740  border-bottom-color: var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error));
1741}
1742.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before {
1743  border-bottom-color: var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container));
1744}
1745.mdc-line-ripple::after {
1746  transform: scaleX(0);
1747  opacity: 0;
1748  z-index: 2;
1749}
1750.mdc-text-field--filled .mdc-line-ripple::after {
1751  border-bottom-width: var(--mat-form-field-filled-focus-active-indicator-height, 2px);
1752}
1753.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after {
1754  border-bottom-color: var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary));
1755}
1756.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after {
1757  border-bottom-color: var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error));
1758}
1759
1760.mdc-line-ripple--active::after {
1761  transform: scaleX(1);
1762  opacity: 1;
1763}
1764
1765.mdc-line-ripple--deactivating::after {
1766  opacity: 0;
1767}
1768
1769.mdc-text-field--disabled {
1770  pointer-events: none;
1771}
1772
1773.mat-mdc-form-field-textarea-control {
1774  vertical-align: middle;
1775  resize: vertical;
1776  box-sizing: border-box;
1777  height: auto;
1778  margin: 0;
1779  padding: 0;
1780  border: none;
1781  overflow: auto;
1782}
1783
1784.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control {
1785  -moz-osx-font-smoothing: grayscale;
1786  -webkit-font-smoothing: antialiased;
1787  font: inherit;
1788  letter-spacing: inherit;
1789  text-decoration: inherit;
1790  text-transform: inherit;
1791  border: none;
1792}
1793
1794.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label {
1795  -moz-osx-font-smoothing: grayscale;
1796  -webkit-font-smoothing: antialiased;
1797  line-height: normal;
1798  pointer-events: all;
1799  will-change: auto;
1800}
1801
1802.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label {
1803  cursor: inherit;
1804}
1805
1806.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,
1807.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control {
1808  height: auto;
1809}
1810
1811.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color] {
1812  height: 23px;
1813}
1814
1815.mat-mdc-text-field-wrapper {
1816  height: auto;
1817  flex: auto;
1818  will-change: auto;
1819}
1820
1821.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper {
1822  padding-left: 0;
1823  --mat-mdc-form-field-label-offset-x: -16px;
1824}
1825
1826.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper {
1827  padding-right: 0;
1828}
1829
1830[dir=rtl] .mat-mdc-text-field-wrapper {
1831  padding-left: 16px;
1832  padding-right: 16px;
1833}
1834[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper {
1835  padding-left: 0;
1836}
1837[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper {
1838  padding-right: 0;
1839}
1840
1841.mat-form-field-disabled .mdc-text-field__input::placeholder {
1842  color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1843}
1844.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder {
1845  color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1846}
1847.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder {
1848  color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1849}
1850.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder {
1851  color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
1852}
1853
1854.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder {
1855  transition-delay: 40ms;
1856  transition-duration: 110ms;
1857  opacity: 1;
1858}
1859
1860.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label {
1861  left: auto;
1862  right: auto;
1863}
1864
1865.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input {
1866  display: inline-block;
1867}
1868
1869.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch {
1870  padding-top: 0;
1871}
1872
1873.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch {
1874  border-left: 1px solid transparent;
1875}
1876
1877[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch {
1878  border-left: none;
1879  border-right: 1px solid transparent;
1880}
1881
1882.mat-mdc-form-field-infix {
1883  min-height: var(--mat-form-field-container-height, 56px);
1884  padding-top: var(--mat-form-field-filled-with-label-container-padding-top, 24px);
1885  padding-bottom: var(--mat-form-field-filled-with-label-container-padding-bottom, 8px);
1886}
1887.mdc-text-field--outlined .mat-mdc-form-field-infix, .mdc-text-field--no-label .mat-mdc-form-field-infix {
1888  padding-top: var(--mat-form-field-container-vertical-padding, 16px);
1889  padding-bottom: var(--mat-form-field-container-vertical-padding, 16px);
1890}
1891
1892.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
1893  top: calc(var(--mat-form-field-container-height, 56px) / 2);
1894}
1895
1896.mdc-text-field--filled .mat-mdc-floating-label {
1897  display: var(--mat-form-field-filled-label-display, block);
1898}
1899
1900.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
1901  --mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1))
1902    scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
1903  transform: var(--mat-mdc-form-field-label-transform);
1904}
1905
1906@keyframes _mat-form-field-subscript-animation {
1907  from {
1908    opacity: 0;
1909    transform: translateY(-5px);
1910  }
1911  to {
1912    opacity: 1;
1913    transform: translateY(0);
1914  }
1915}
1916.mat-mdc-form-field-subscript-wrapper {
1917  box-sizing: border-box;
1918  width: 100%;
1919  position: relative;
1920}
1921
1922.mat-mdc-form-field-hint-wrapper,
1923.mat-mdc-form-field-error-wrapper {
1924  position: absolute;
1925  top: 0;
1926  left: 0;
1927  right: 0;
1928  padding: 0 16px;
1929  opacity: 1;
1930  transform: translateY(0);
1931  animation: _mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2);
1932}
1933
1934.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,
1935.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper {
1936  position: static;
1937}
1938
1939.mat-mdc-form-field-bottom-align::before {
1940  content: "";
1941  display: inline-block;
1942  height: 16px;
1943}
1944
1945.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before {
1946  content: unset;
1947}
1948
1949.mat-mdc-form-field-hint-end {
1950  order: 1;
1951}
1952
1953.mat-mdc-form-field-hint-wrapper {
1954  display: flex;
1955}
1956
1957.mat-mdc-form-field-hint-spacer {
1958  flex: 1 0 1em;
1959}
1960
1961.mat-mdc-form-field-error {
1962  display: block;
1963  color: var(--mat-form-field-error-text-color, var(--mat-sys-error));
1964}
1965
1966.mat-mdc-form-field-subscript-wrapper,
1967.mat-mdc-form-field-bottom-align::before {
1968  -moz-osx-font-smoothing: grayscale;
1969  -webkit-font-smoothing: antialiased;
1970  font-family: var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));
1971  line-height: var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));
1972  font-size: var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));
1973  letter-spacing: var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));
1974  font-weight: var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight));
1975}
1976
1977.mat-mdc-form-field-focus-overlay {
1978  top: 0;
1979  left: 0;
1980  right: 0;
1981  bottom: 0;
1982  position: absolute;
1983  opacity: 0;
1984  pointer-events: none;
1985  background-color: var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface));
1986}
1987.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay {
1988  opacity: var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
1989}
1990.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay {
1991  opacity: var(--mat-form-field-focus-state-layer-opacity, 0);
1992}
1993
1994select.mat-mdc-form-field-input-control {
1995  -moz-appearance: none;
1996  -webkit-appearance: none;
1997  background-color: transparent;
1998  display: inline-flex;
1999  box-sizing: border-box;
2000}
2001select.mat-mdc-form-field-input-control:not(:disabled) {
2002  cursor: pointer;
2003}
2004select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option {
2005  color: var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10));
2006}
2007select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled {
2008  color: var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent));
2009}
2010
2011.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {
2012  content: "";
2013  width: 0;
2014  height: 0;
2015  border-left: 5px solid transparent;
2016  border-right: 5px solid transparent;
2017  border-top: 5px solid;
2018  position: absolute;
2019  right: 0;
2020  top: 50%;
2021  margin-top: -2.5px;
2022  pointer-events: none;
2023  color: var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant));
2024}
2025[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {
2026  right: auto;
2027  left: 0;
2028}
2029.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after {
2030  color: var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary));
2031}
2032.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after {
2033  color: var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
2034}
2035.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control {
2036  padding-right: 15px;
2037}
2038[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control {
2039  padding-right: 0;
2040  padding-left: 15px;
2041}
2042
2043@media (forced-colors: active) {
2044  .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper {
2045    outline: solid 1px;
2046  }
2047}
2048@media (forced-colors: active) {
2049  .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper {
2050    outline-color: GrayText;
2051  }
2052}
2053
2054@media (forced-colors: active) {
2055  .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper {
2056    outline: dashed 3px;
2057  }
2058}
2059
2060@media (forced-colors: active) {
2061  .mat-mdc-form-field.mat-focused .mdc-notched-outline {
2062    border: dashed 3px;
2063  }
2064}
2065
2066.mat-mdc-form-field-input-control[type=date], .mat-mdc-form-field-input-control[type=datetime], .mat-mdc-form-field-input-control[type=datetime-local], .mat-mdc-form-field-input-control[type=month], .mat-mdc-form-field-input-control[type=week], .mat-mdc-form-field-input-control[type=time] {
2067  line-height: 1;
2068}
2069.mat-mdc-form-field-input-control::-webkit-datetime-edit {
2070  line-height: 1;
2071  padding: 0;
2072  margin-bottom: -2px;
2073}
2074
2075.mat-mdc-form-field {
2076  --mat-mdc-form-field-floating-label-scale: 0.75;
2077  display: inline-flex;
2078  flex-direction: column;
2079  min-width: 0;
2080  text-align: left;
2081  -moz-osx-font-smoothing: grayscale;
2082  -webkit-font-smoothing: antialiased;
2083  font-family: var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));
2084  line-height: var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));
2085  font-size: var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));
2086  letter-spacing: var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));
2087  font-weight: var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight));
2088}
2089.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above {
2090  font-size: calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale));
2091}
2092.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
2093  font-size: var(--mat-form-field-outlined-label-text-populated-size);
2094}
2095[dir=rtl] .mat-mdc-form-field {
2096  text-align: right;
2097}
2098
2099.mat-mdc-form-field-flex {
2100  display: inline-flex;
2101  align-items: baseline;
2102  box-sizing: border-box;
2103  width: 100%;
2104}
2105
2106.mat-mdc-text-field-wrapper {
2107  width: 100%;
2108  z-index: 0;
2109}
2110
2111.mat-mdc-form-field-icon-prefix,
2112.mat-mdc-form-field-icon-suffix {
2113  align-self: center;
2114  line-height: 0;
2115  pointer-events: auto;
2116  position: relative;
2117  z-index: 1;
2118}
2119.mat-mdc-form-field-icon-prefix > .mat-icon,
2120.mat-mdc-form-field-icon-suffix > .mat-icon {
2121  padding: 0 12px;
2122  box-sizing: content-box;
2123}
2124
2125.mat-mdc-form-field-icon-prefix {
2126  color: var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant));
2127}
2128.mat-form-field-disabled .mat-mdc-form-field-icon-prefix {
2129  color: var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
2130}
2131
2132.mat-mdc-form-field-icon-suffix {
2133  color: var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant));
2134}
2135.mat-form-field-disabled .mat-mdc-form-field-icon-suffix {
2136  color: var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
2137}
2138.mat-form-field-invalid .mat-mdc-form-field-icon-suffix {
2139  color: var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error));
2140}
2141.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix {
2142  color: var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container));
2143}
2144.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix {
2145  color: var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error));
2146}
2147
2148.mat-mdc-form-field-icon-prefix,
2149[dir=rtl] .mat-mdc-form-field-icon-suffix {
2150  padding: 0 4px 0 0;
2151}
2152
2153.mat-mdc-form-field-icon-suffix,
2154[dir=rtl] .mat-mdc-form-field-icon-prefix {
2155  padding: 0 0 0 4px;
2156}
2157
2158.mat-mdc-form-field-subscript-wrapper .mat-icon,
2159.mat-mdc-form-field label .mat-icon {
2160  width: 1em;
2161  height: 1em;
2162  font-size: inherit;
2163}
2164
2165.mat-mdc-form-field-infix {
2166  flex: auto;
2167  min-width: 0;
2168  width: 180px;
2169  position: relative;
2170  box-sizing: border-box;
2171}
2172.mat-mdc-form-field-infix:has(textarea[cols]) {
2173  width: auto;
2174}
2175
2176.mat-mdc-form-field .mdc-notched-outline__notch {
2177  margin-left: -1px;
2178  -webkit-clip-path: inset(-9em -999em -9em 1px);
2179  clip-path: inset(-9em -999em -9em 1px);
2180}
2181[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch {
2182  margin-left: 0;
2183  margin-right: -1px;
2184  -webkit-clip-path: inset(-9em 1px -9em -999em);
2185  clip-path: inset(-9em 1px -9em -999em);
2186}
2187
2188.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label {
2189  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);
2190}
2191.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input {
2192  transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
2193}
2194.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder {
2195  transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);
2196}
2197.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder {
2198  transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);
2199}
2200.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder {
2201  transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);
2202}
2203.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder {
2204  transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);
2205}
2206.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder {
2207  transition-delay: 40ms;
2208  transition-duration: 110ms;
2209}
2210.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder {
2211  transition-delay: 40ms;
2212  transition-duration: 110ms;
2213}
2214.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder {
2215  transition-delay: 40ms;
2216  transition-duration: 110ms;
2217}
2218.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder {
2219  transition-delay: 40ms;
2220  transition-duration: 110ms;
2221}
2222.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before {
2223  transition-duration: 75ms;
2224}
2225.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after {
2226  transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);
2227}
2228.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,
2229.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper {
2230  animation-duration: 300ms;
2231}
2232
2233.mdc-notched-outline .mdc-floating-label {
2234  max-width: calc(100% + 1px);
2235}
2236
2237.mdc-notched-outline--upgraded .mdc-floating-label--float-above {
2238  max-width: calc(133.3333333333% + 1px);
2239}
2240`],encapsulation:2,changeDetection:0})}return t})();var _m=(()=>{class t{_listeners=[];notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var nx=new W("CdkAccordion"),FI=(()=>{class t{_stateChanges=new te;_openCloseAllActions=new te;id=f(pt).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",ie]},exportAs:["cdkAccordion"],features:[Re([{provide:nx,useExisting:t}]),lt]})}return t})(),OI=(()=>{class t{accordion=f(nx,{optional:!0,skipSelf:!0});_changeDetectorRef=f(Ue);_expansionDispatcher=f(_m);_openCloseAllSubscription=tt.EMPTY;closed=new ne;opened=new ne;destroyed=new ne;expandedChange=new ne;id=f(pt).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let i=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,i)}
2240else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=ke(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,i)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===i&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",ie],disabled:[2,"disabled","disabled",ie]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Re([{provide:nx,useValue:void 0}])]})}return t})(),NI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({})}return t})();var Ta=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected=null;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new te;constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,e&&e.length&&(n?e.forEach(a=>this._markSelected(a)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n.map(a=>this._getConcreteValue(a)));n.forEach(a=>this._markSelected(a)),e.filter(a=>!i.has(this._getConcreteValue(a,i))).forEach(a=>this._unmarkSelected(a));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}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,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}};var Z0=class{applyChanges(n,e,i,r,a){n.forEachOperation((o,s,l)=>{let c,d;if(o.previousIndex==null){let u=i(o,s,l);c=e.createEmbeddedView(u.templateRef,u.context,u.index),d=Ja.INSERTED}else l==null?(e.remove(s),d=Ja.REMOVED):(c=e.get(s),e.move(c,l),d=Ja.MOVED);a&&a({context:c?.context,operation:d,record:o})})}detach(){}};var fU=["body"],pU=["bodyWrapper"],gU=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],_U=["mat-expansion-panel-header","*","mat-action-row"];function vU(t,n){}var bU=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],yU=["mat-panel-title","mat-panel-description","*"];function xU(t,n){t&1&&(Rt(0,"span",1),ui(),Rt(1,"svg",2),Wi(2,"path",3),Lt()())}var rx=new W("MAT_ACCORDION"),LI=new W("MAT_EXPANSION_PANEL"),wU=(()=>{class t{_template=f(At);_expansionPanel=f(LI,{optional:!0});constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),BI=new W("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),CU=(()=>
2240{class t extends OI{_viewContainerRef=f(Zt);_animationsDisabled=gt();_document=f(Ve);_ngZone=f(Te);_elementRef=f(he);_renderer=f(ft);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new ne;afterCollapse=new ne;_inputChanges=new te;accordion=f(rx,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=f(pt).getId("mat-expansion-panel-header-");constructor(){super();let e=f(BI,{optional:!0});this._expansionDispatcher=f(_m),e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(bt(null),vt(()=>this.expanded&&!this._portal),ai(1)).subscribe(()=>{this._portal=new yn(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}_transitionEndListener=({target:e,propertyName:i})=>{e===this._bodyWrapper?.nativeElement&&i==="grid-template-rows"&&this._ngZone.run(()=>
2240{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let e=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this._transitionEndListener),e.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,wU,5),i&2){let o;ae(o=oe())&&(r._lazyContent=o.first)}},viewQuery:function(i,r){if(i&1&&dt(fU,5)(pU,5),i&2){let a;ae(a=oe())&&(r._body=a.first),ae(a=oe())&&(r._bodyWrapper=a.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(i,r){i&2&&ce("mat-expanded",r.expanded)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",ie],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Re([{provide:rx,useValue:void 0},{provide:LI,useExisting:t}]),Ie,lt],ngContentSelectors:_U,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,r){i&1&&(Ge(gU),_e(0),w(1,"div",2,0)(3,"div",3,1)(5,"div",4),_e(6,1),xt(7,vU,0,0,"ng-template",5),D(),_e(8,2),D()()),i&2&&(T(),fe("inert",r.expanded?null:""),T(2),se("id",r.id),fe("aria-labelledby",r._headerId),T(4),se("cdkPortalOutlet",r._portal))},dependencies:[An],styles:[`.mat-expansion-panel {
2241  box-sizing: content-box;
2242  display: block;
2243  margin: 0;
2244  overflow: hidden;
2245}
2246.mat-expansion-panel.mat-expansion-panel-animations-enabled {
2247  transition: margin 225ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
2248}
2249.mat-expansion-panel {
2250  position: relative;
2251  background: var(--mat-expansion-container-background-color, var(--mat-sys-surface));
2252  color: var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));
2253  border-radius: var(--mat-expansion-container-shape, 12px);
2254}
2255.mat-expansion-panel:not([class*=mat-elevation-z]) {
2256  box-shadow: var(--mat-expansion-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));
2257}
2258.mat-accordion .mat-expansion-panel:not(.mat-expanded), .mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing) {
2259  border-radius: 0;
2260}
2261.mat-accordion .mat-expansion-panel:first-of-type {
2262  border-top-right-radius: var(--mat-expansion-container-shape, 12px);
2263  border-top-left-radius: var(--mat-expansion-container-shape, 12px);
2264}
2265.mat-accordion .mat-expansion-panel:last-of-type {
2266  border-bottom-right-radius: var(--mat-expansion-container-shape, 12px);
2267  border-bottom-left-radius: var(--mat-expansion-container-shape, 12px);
2268}
2269@media (forced-colors: active) {
2270  .mat-expansion-panel {
2271    outline: solid 1px;
2272  }
2273}
2274
2275.mat-expansion-panel-content-wrapper {
2276  display: grid;
2277  grid-template-rows: 0fr;
2278  grid-template-columns: 100%;
2279}
2280.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper {
2281  transition: grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1);
2282}
2283.mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper {
2284  grid-template-rows: 1fr;
2285}
2286@supports not (grid-template-rows: 0fr) {
2287  .mat-expansion-panel-content-wrapper {
2288    height: 0;
2289  }
2290  .mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper {
2291    height: auto;
2292  }
2293}
2294@media print {
2295  .mat-expansion-panel-content-wrapper {
2296    height: 0;
2297  }
2298  .mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper {
2299    height: auto;
2300  }
2301}
2302
2303.mat-expansion-panel-content {
2304  display: flex;
2305  flex-direction: column;
2306  overflow: visible;
2307  min-height: 0;
2308  visibility: hidden;
2309}
2310.mat-expansion-panel-animations-enabled .mat-expansion-panel-content {
2311  transition: visibility 190ms linear;
2312}
2313.mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper > .mat-expansion-panel-content {
2314  visibility: visible;
2315}
2316.mat-expansion-panel-content {
2317  font-family: var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));
2318  font-size: var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));
2319  font-weight: var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));
2320  line-height: var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));
2321  letter-spacing: var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking));
2322}
2323
2324.mat-expansion-panel-body {
2325  padding: 0 24px 16px;
2326}
2327
2328.mat-expansion-panel-spacing {
2329  margin: 16px 0;
2330}
2331.mat-accordion > .mat-expansion-panel-spacing:first-child, .mat-accordion > *:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing {
2332  margin-top: 0;
2333}
2334.mat-accordion > .mat-expansion-panel-spacing:last-child, .mat-accordion > *:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing {
2335  margin-bottom: 0;
2336}
2337
2338.mat-action-row {
2339  border-top-style: solid;
2340  border-top-width: 1px;
2341  display: flex;
2342  flex-direction: row;
2343  justify-content: flex-end;
2344  padding: 16px 8px 16px 24px;
2345  border-top-color: var(--mat-expansion-actions-divider-color, var(--mat-sys-outline));
2346}
2347.mat-action-row .mat-button-base,
2348.mat-action-row .mat-mdc-button-base {
2349  margin-left: 8px;
2350}
2351[dir=rtl] .mat-action-row .mat-button-base,
2352[dir=rtl] .mat-action-row .mat-mdc-button-base {
2353  margin-left: 0;
2354  margin-right: 8px;
2355}
2356`],encapsulation:2,changeDetection:0})}return t})();var SU=(()=>{class t{panel=f(CU,{host:!0});_element=f(he);_focusMonitor=f(Ii);_changeDetectorRef=f(Ue);_parentChangeSubscription=tt.EMPTY;constructor(){f(wt).load(Ci);let e=this.panel,i=f(BI,{optional:!0}),r=f(new gn("tabindex"),{optional:!0}),a=e.accordion?e.accordion._stateChanges.pipe(vt(o=>!!(o.hideToggle||o.togglePosition))):fn;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=Gt(e.opened,e.closed,a,e._inputChanges.pipe(vt(o=>!!(o.hideToggle||o.disabled||o.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(vt(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),i&&(this.expandedHeight=i.exp
2356andedHeight,this.collapsedHeight=i.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:zt(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(i,r){i&1&&de("click",function(){return r._toggle()})("keydown",function(o){return r._keydown(o)}),i&2&&(fe("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),Gi("height",r._getHeaderHeight()),ce("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Yt(e)]},ngContentSelectors:yU,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(i,r){i&1&&(Ge(bU),Rt(0,"span",0),_e(1),_e(2,1),_e(3,2),Lt(),pe(4,xU,3,0,"span",1)),i&2&&(ce("mat-content-hide-toggle",!r._showToggle()),T(4),ge(r._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header {
2357  display: flex;
2358  flex-direction: row;
2359  align-items: center;
2360  padding: 0 24px;
2361  border-radius: inherit;
2362}
2363.mat-expansion-panel-animations-enabled .mat-expansion-panel-header {
2364  transition: height 225ms cubic-bezier(0.4, 0, 0.2, 1);
2365}
2366.mat-expansion-panel-header::before {
2367  border-radius: inherit;
2368}
2369.mat-expansion-panel-header {
2370  height: var(--mat-expansion-header-collapsed-state-height, 48px);
2371  font-family: var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));
2372  font-size: var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));
2373  font-weight: var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));
2374  line-height: var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));
2375  letter-spacing: var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking));
2376}
2377.mat-expansion-panel-header.mat-expanded {
2378  height: var(--mat-expansion-header-expanded-state-height, 64px);
2379}
2380.mat-expansion-panel-header[aria-disabled=true] {
2381  color: var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
2382}
2383.mat-expansion-panel-header:not([aria-disabled=true]) {
2384  cursor: pointer;
2385}
2386.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover {
2387  background: var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));
2388}
2389@media (hover: none) {
2390  .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover {
2391    background: var(--mat-expansion-container-background-color, var(--mat-sys-surface));
2392  }
2393}
2394.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused {
2395  background: var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));
2396}
2397.mat-expansion-panel-header._mat-animation-noopable {
2398  transition: none;
2399}
2400.mat-expansion-panel-header:focus, .mat-expansion-panel-header:hover {
2401  outline: none;
2402}
2403.mat-expansion-panel-header.mat-expanded:focus, .mat-expansion-panel-header.mat-expanded:hover {
2404  background: inherit;
2405}
2406.mat-expansion-panel-header.mat-expansion-toggle-indicator-before {
2407  flex-direction: row-reverse;
2408}
2409.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator {
2410  margin: 0 16px 0 0;
2411}
2412[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator {
2413  margin: 0 0 0 16px;
2414}
2415
2416.mat-content {
2417  display: flex;
2418  flex: 1;
2419  flex-direction: row;
2420  overflow: hidden;
2421}
2422.mat-content.mat-content-hide-toggle {
2423  margin-right: 8px;
2424}
2425[dir=rtl] .mat-content.mat-content-hide-toggle {
2426  margin-right: 0;
2427  margin-left: 8px;
2428}
2429.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle {
2430  margin-left: 24px;
2431  margin-right: 0;
2432}
2433[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle {
2434  margin-right: 24px;
2435  margin-left: 0;
2436}
2437
2438.mat-expansion-panel-header-title {
2439  color: var(--mat-expansion-header-text-color, var(--mat-sys-on-surface));
2440}
2441
2442.mat-expansion-panel-header-title,
2443.mat-expansion-panel-header-description {
2444  display: flex;
2445  flex-grow: 1;
2446  flex-basis: 0;
2447  margin-right: 16px;
2448  align-items: center;
2449}
2450[dir=rtl] .mat-expansion-panel-header-title,
2451[dir=rtl] .mat-expansion-panel-header-description {
2452  margin-right: 0;
2453  margin-left: 16px;
2454}
2455.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,
2456.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description {
2457  color: inherit;
2458}
2459
2460.mat-expansion-panel-header-description {
2461  flex-grow: 2;
2462  color: var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant));
2463}
2464
2465.mat-expansion-panel-animations-enabled .mat-expansion-indicator {
2466  transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1);
2467}
2468.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator {
2469  transform: rotate(180deg);
2470}
2471.mat-expansion-indicator::after {
2472  border-style: solid;
2473  border-width: 0 2px 2px 0;
2474  content: "";
2475  padding: 3px;
2476  transform: rotate(45deg);
2477  vertical-align: middle;
2478  color: var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));
2479  display: var(--mat-expansion-legacy-header-indicator-display, none);
2480}
2481.mat-expansion-indicator svg {
2482  width: 24px;
2483  height: 24px;
2484  margin: 0 -8px;
2485  vertical-align: middle;
2486  fill: var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));
2487  display: var(--mat-expansion-header-indicator-display, inline-block);
2488}
2489
2490@media (forced-colors: active) {
2491  .mat-expansion-panel-content {
2492    border-top: 1px solid;
2493    border-top-left-radius: 0;
2494    border-top-right-radius: 0;
2495  }
2496}
2497`],encapsulation:2,changeDetection:0})}return t})(),Abe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return t})(),Rbe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),Pbe=(()=>{class t extends FI{_keyManager;_ownHeaders=new en;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(bt(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new fr(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["mat-accordion"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,SU,5),i&2){let o;ae(o=oe())&&(r._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",ie],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[Re([{provide:rx,useExisting:t}]),Ie]})}return t})(),Fbe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[NI,gr,Ye]})}return t})();var sa=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Md,oa,Ye]})}return t})();var VI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`textarea.cdk-textarea-autosize {
2498  resize: none;
2499}
2500
2501textarea.cdk-textarea-autosize-measuring {
2502  padding: 2px 0 !important;
2503  box-sizing: content-box !important;
2504  height: auto !important;
2505  overflow: hidden !important;
2506}
2507
2508textarea.cdk-textarea-autosize-measuring-firefox {
2509  padding: 2px 0 !important;
2510  box-sizing: content-box !important;
2511  height: 0 !important;
2512}
2513
2514@keyframes cdk-text-field-autofill-start { /*!*/ }
2515@keyframes cdk-text-field-autofill-end { /*!*/ }
2516.cdk-text-field-autofill-monitored:-webkit-autofill {
2517  animation: cdk-text-field-autofill-start 0s 1ms;
2518}
2519
2520.cdk-text-field-autofill-monitored:not(:-webkit-autofill) {
2521  animation: cdk-text-field-autofill-end 0s 1ms;
2522}
2523`],encapsulation:2,changeDetection:0})}return t})(),DU={passive:!0},UI=(()=>{class t{_platform=f(ht);_ngZone=f(Te);_renderer=f(Tn).createRenderer(null,null);_styleLoader=f(wt);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return fn;this._styleLoader.load(VI);let i=Bi(e),r=this._monitoredElements.get(i);if(r)return r.subject;let a=new te,o="cdk-text-field-autofilled",s=c=>{c.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(o)?(i.classList.add(o),this._ngZone.run(()=>a.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(o)&&(i.classList.remove(o),this._ngZone.run(()=>a.next({target:c.target,isAutofilled:!1})))},l=this._ngZone.runOutsideAngular(()=>(i.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(i,"animationstart",s,DU)));return this._monitoredElements.set(i,{subject:a,unlisten:l}),a}stopMonitoring(e){let i=Bi(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Jbe=(()=>{class t{_elementRef=f(he);_platform=f(ht);_ngZone=f(Te);_renderer=f(ft);_resizeEvents=new te;_previousValue;_initialHeight;_destroyed=new te;_listenerCleanups;_minRows;_maxRows;_enabled=!0;_previousMinRows=-1;_textareaElement;get minRows(){return this._minRows}set minRows(e){this._minRows=bn(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=bn(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_cachedLineHeight;_cachedPlaceholderHeight;_document=f(Ve);_hasFocus=!1;_isViewInited=!1;constructor(){f(wt).load(VI),this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){let e=this.minRows&&this._cachedLineHeight?`${this.minRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){let e=this.maxRows&&this._cachedLineHeight?`${this.maxRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{this._listenerCleanups=[this._renderer.listen("window","resize",()=>this._resizeEvents.next()),this._renderer.listen(this._textareaElement,"focus",this._handleFocusEvent),this._renderer.listen(this._textareaElement,"blur",this._handleFocusEvent)],this._resizeEvents.pipe(Ol(16)).subscribe(()=>{this._cachedLineHeight=this._cachedPlaceholderHeight=void 0,this.resizeToFitContent(!0)})}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._listenerCleanups?.forEach(e=>e()),this._resizeEvents.complete(),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1),i=e.style;e.rows=1,i.position="absolute",i.visibility="hidden",i.border="none",i.padding="0",i.height="",i.minHeight="",i.maxHeight="",i.top=i.bottom=i.left=i.right="auto",i.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){let e=this._textareaElement,i=e.style.marginBottom||"",r=this._platform.FIRE
2523FOX,a=this._hasFocus,o=r?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";a&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(o);let s=e.scrollHeight-4;return e.classList.remove(o),a&&(e.style.marginBottom=i),s}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||this._cachedPlaceholderHeight!=null)return;if(!this.placeholder){this._cachedPlaceholderHeight=0;return}let e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}_handleFocusEvent=e=>{this._hasFocus=e.type==="focus"};ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;let i=this._elementRef.nativeElement,r=i.value;if(!e&&this._minRows===this._previousMinRows&&r===this._previousValue)return;let a=this._measureScrollHeight(),o=Math.max(a,this._cachedPlaceholderHeight||0);i.style.height=`${o}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(i)):setTimeout(()=>this._scrollToCaretPosition(i))}),this._previousValue=r,this._previousMinRows=this._minRows}reset(){this._initialHeight!==void 0&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_scrollToCaretPosition(e){let{selectionStart:i,selectionEnd:r}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(i,r)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(i,r){i&1&&de("input",function(){return r._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",ie],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]})}return t})(),zI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({})}return t})();var J0=new W("MAT_INPUT_VALUE_ACCESSOR");var Co=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Gd=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,i,r,a){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=a}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,a=i?.isErrorState(r,e)??!1;a!==n&&(this.errorState=a,this._stateChanges.next())}};var EU=["button","checkbox","file","hidden","image","radio","range","reset","submit"],TU=new W("MAT_INPUT_CONFIG"),rl=(()=>{class t{_elementRef=f(he);_platform=f(ht);ngControl=f(vr,{optional:!0,self:!0});_autofillMonitor=f(UI);_ngZone=f(Te);_formField=f(dc,{optional:!0});_renderer=f(ft);_uid=f(pt).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=f(TU,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=!1;_isNativeSelect=!1;_isTextarea=!1;_isInFormField=!1;focused=!1;stateChanges=new te;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=yi(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(aa.required)??!1}set required(e){this._required=yi(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Ey().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=yi(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>Ey().has(e));constructor(){let e=f(il,{optional:!0}),i=f(to,{optional:!0}),r=f(Co),a=f(J0,{optional:!0,self:!0}),o=this._elementRef.nativeElement,s=o.nodeName.toLowerCase();a?Us(a.value)?this._signalBasedValueAccessor=a:this._inputValueAccessor=a:this._inputValueAccessor=o,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(o,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Gd(r,this.ngControl,i,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=o.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Vs(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let i=this._elementRef.nativeElement;i.type==="number"?(i.type="text",i.setSelectionRange(0,0),i.type="number"):i.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){EU.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let i=this._elementRef.nativeElement;
2523e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let i=e.target;!i.value&&i.selectionStart===0&&i.selectionEnd===0&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,r){i&1&&de("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),i&2&&(si("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),fe("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),ce("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",ie]},exportAs:["matInput"],features:[Re([{provide:Wd,useExisting:t}]),lt]})}return t})(),al=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[sa,sa,zI,Ye]})}return t})();function MU(t,n){if(t&1){let e=Pt();w(0,"div",1)(1,"button",2),de("click",function(){$e(e);let r=j();return We(r.action())}),Q(2),D()()}if(t&2){let e=j();T(2),Jt(" ",e.data.action," ")}}var AU=["label"];function RU(t,n){}var PU=Math.pow(2,31)-1,vm=class{_overlayRef;instance;containerInstance;_afterDismissed=new te;_afterOpened=new te;_onAction=new te;_durationTimeoutId;_dismissedByAction=!1;constructor(n,e){this._overlayRef=e,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,PU))}_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}},jI=new W("MatSnackBarData"),qd=class{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},FU=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return t})(),OU=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return t})(),NU=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return t})(),HI=(()=>{class t{snackBarRef=f(vm);data=f(jI);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(i,r){i&1&&(w(0,"div",0),Q(1),D(),pe(2,MU,3,1,"div",1)),i&2&&(T(),Jt(" ",r.data.message,`
2524`),T(),ge(r.hasAction?2:-1))},dependencies:[ia,FU,OU,NU],styles:[`.mat-mdc-simple-snack-bar {
2525  display: flex;
2526}
2527.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label {
2528  max-height: 50vh;
2529  overflow: auto;
2530}
2531`],encapsulation:2,changeDetection:0})}return t})(),ax="_mat-snack-bar-enter",ox="_mat-snack-bar-exit",LU=(()=>{class t extends Qs{_ngZone=f(Te);_elementRef=f(he);_changeDetectorRef=f(Ue);_platform=f(ht);_animationsDisabled=gt();snackBarConfig=f(qd);_document=f(Ve);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=f(He);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;
2531_onAnnounce=new te;_onExit=new te;_onEnter=new te;_animationState="void";_live;_label;_role;_liveElementId=f(pt).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}attachDomPortal=e=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),i};onAnimationEnd(e){e===ox?this._completeExit():e===ax&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?Nt(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(ax)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(ax)},200)))}exit(){return this._destroyed?Be(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?Nt(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(ox)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(ox),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(o=>e.classList.add(o)):e.classList.add(i)),this._exposeToModals();let r=this._label.nativeElement,a="mdc-snackbar__label";r.classList.toggle(a,!r.querySelector(`.${a}`))}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let a=i[r],o=a.getAttribute("aria-owns");this._trackedModals.add(a),o?o.indexOf(e)===-1&&a.setAttribute("aria-owns",o+" "+e):a.setAttribute("aria-owns",e)}}_clearFromModals(){this._trackedModals.forEach(e=>{let i=e.getAttribute("aria-owns");if(i){let r=i.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let e=this._elementRef.nativeElement,i=e.querySelector("[aria-hidden]"),r=e.querySelector("[aria-live]");if(i&&r){let a=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&i.contains(document.activeElement)&&(a=document.activeElement),i.removeAttribute("aria-hidden"),r.appendChild(i),a?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,r){if(i&1&&dt(An,7)(AU,7),i&2){let a;ae(a=oe())&&(r._portalOutlet=a.first),ae(a=oe())&&(r._label=a.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(i,r){i&1&&de("animationend",function(o){return r.onAnimationEnd(o.animationName)})("animationcancel",function(o){return r.onAnimationEnd(o.animationName)}),i&2&&ce("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[Ie],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(i,r){i&1&&(w(0,"div",1)(1,"div",2,0)(3,"div",3),xt(4,RU,0,0,"ng-template",4),D(),we(5,"div"),D()()),i&2&&(T(5),fe("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[An],styles:[`@keyframes _mat-snack-bar-enter {
2532  from {
2533    transform: scale(0.8);
2534    opacity: 0;
2535  }
2536  to {
2537    transform: scale(1);
2538    opacity: 1;
2539  }
2540}
2541@keyframes _mat-snack-bar-exit {
2542  from {
2543    opacity: 1;
2544  }
2545  to {
2546    opacity: 0;
2547  }
2548}
2549.mat-mdc-snack-bar-container {
2550  display: flex;
2551  align-items: center;
2552  justify-content: center;
2553  box-sizing: border-box;
2554  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
2555  margin: 8px;
2556}
2557.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container {
2558  width: 100vw;
2559}
2560
2561.mat-snack-bar-container-animations-enabled {
2562  opacity: 0;
2563}
2564.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible {
2565  opacity: 1;
2566}
2567.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter {
2568  animation: _mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards;
2569}
2570.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit {
2571  animation: _mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards;
2572}
2573
2574.mat-mdc-snackbar-surface {
2575  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);
2576  display: flex;
2577  align-items: center;
2578  justify-content: flex-start;
2579  box-sizing: border-box;
2580  padding-left: 0;
2581  padding-right: 8px;
2582}
2583[dir=rtl] .mat-mdc-snackbar-surface {
2584  padding-right: 0;
2585  padding-left: 8px;
2586}
2587.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
2588  min-width: 344px;
2589  max-width: 672px;
2590}
2591.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface {
2592  width: 100%;
2593  min-width: 0;
2594}
2595@media (forced-colors: active) {
2596  .mat-mdc-snackbar-surface {
2597    outline: solid 1px;
2598  }
2599}
2600.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
2601  color: var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));
2602  border-radius: var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));
2603  background-color: var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface));
2604}
2605
2606.mdc-snackbar__label {
2607  width: 100%;
2608  flex-grow: 1;
2609  box-sizing: border-box;
2610  margin: 0;
2611  padding: 14px 8px 14px 16px;
2612}
2613[dir=rtl] .mdc-snackbar__label {
2614  padding-left: 8px;
2615  padding-right: 16px;
2616}
2617.mat-mdc-snack-bar-container .mdc-snackbar__label {
2618  font-family: var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));
2619  font-size: var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));
2620  font-weight: var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));
2621  line-height: var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height));
2622}
2623
2624.mat-mdc-snack-bar-actions {
2625  display: flex;
2626  flex-shrink: 0;
2627  align-items: center;
2628  box-sizing: border-box;
2629}
2630
2631.mat-mdc-snack-bar-handset,
2632.mat-mdc-snack-bar-container,
2633.mat-mdc-snack-bar-label {
2634  flex: 1 1 auto;
2635}
2636
2637.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed {
2638  color: var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary));
2639}
2640.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) {
2641  --mat-button-text-state-layer-color: currentColor;
2642  --mat-button-text-ripple-color: currentColor;
2643}
2644.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element {
2645  opacity: 0.1;
2646}
2647`],encapsulation:2})}return t})(),BU=new W("mat-snack-bar-default-options",{providedIn:"root",factory:()=>new qd}),bm=(()=>{class t{_live=f(Xh);_injector=f(He);_breakpointObserver=f(qh);_parentSnackBar=f(t,{optional:!0,skipSelf:!0});_defaultConfig=f(BU);_animationsDisabled=gt();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=HI;snackBarContainerComponent=LU;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){let a=H(H({},this._defaultConfig),r);return a.data={message:e,action:i},a.announcementMessage===e&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector,a=He.create({parent:r||this._injector,providers:[{provide:qd,useValue:i}]}),o=new Lr(this.snackBarContainerComponent,i.viewContainerRef,a),s=e.attach(o);return s.instance.snackBarConfig=i,s.instance}_attach(e,i){let r=H(H(H({},new qd),this._defaultConfig),i),a=this._createOverlay(r),o=this._attachSnackBarContainer(a,r),s=new vm(o,a);if(e instanceof At){let l=new yn(e,null,{$implicit:r.data,snackBarRef:s});s.instance=o.attachTemplatePortal(l)}else{let l=this._createInjector(r,s),c=new Lr(e,void 0,l),d=o.attachComponentPortal(c);s.instance=d.instance}return this._breakpointObserver.observe(iT.HandsetPortrait).pipe(Ne(a.detachments())).subscribe(l=>{a.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&o._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(s,r),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter()}_createOverlay(e){let i=new na;i.direction=e.direction;let r=wo(this._injector),a=e.direction==="rtl",o=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!a||e.horizontalPosition==="end"&&a,s=!o&&e.horizontalPosition!=="center";return o?r.left("0"):s?r.right("0"):r.centerHorizontally(),e.verticalPosition==="top"?r.top("0"):r.bottom("0"),i.positionStrategy=r,i.disableAnimations=this._animationsDisabled,ra(this._injector,i)}_createInjector(e,i){let r=e&&e.viewContainerRef&&e.viewContainerRef.injector;return He.create({parent:r||this._injector,providers:[{provide:vm,useValue:i},{provide:jI,useValue:e.data}]})}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var sx=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({providers:[bm],imports:[_r,gr,Qn,HI,Ye]})}return t})();var VU=["*"];function UU(t,n){t&1&&_e(0)}var lx=(()=>{class t{_elementRef=f(he);constructor(){}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return t})(),cx=(()=>{class t{template=f(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkStepLabel",""]]})}return t})();
2647var uc={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},zU=new W("STEPPER_GLOBAL_OPTIONS"),eg=(()=>{class t{_stepperOptions;_stepper=f(ym);_displayDefaultIndicatorType;stepLabel;_childForms;content;stepControl;get interacted(){return this._interacted()}set interacted(e){this._interacted.set(e)}_interacted=ke(!1);interactedStream=new ne;label;errorMessage;ariaLabel;ariaLabelledby;get state(){return this._state()}set state(e){this._state.set(e)}_state=ke(void 0);get editable(){return this._editable()}set editable(e){this._editable.set(e)}_editable=ke(!0);optional=!1;get completed(){let e=this._completedOverride(),i=this._interacted();return e??(i&&(!this.stepControl||this.stepControl.valid))}set completed(e){this._completedOverride.set(e)}_completedOverride=ke(null);index=ke(-1);isSelected=pn(()=>this._stepper.selectedIndex===this.index());indicatorType=pn(()=>{let e=this.isSelected(),i=this.completed,r=this._state()??uc.NUMBER,a=this._editable();return this._showError()&&this.hasError&&!e?uc.ERROR:this._displayDefaultIndicatorType?!i||e?uc.NUMBER:a?uc.EDIT:uc.DONE:i&&!e?uc.DONE:i&&e?r:a&&e?uc.EDIT:r});isNavigable=pn(()=>{let e=this.isSelected();return this.completed||e||!this._stepper.linear});get hasError(){let e=this._customError();return e??this._getDefaultError()}set hasError(e){this._customError.set(e)}_customError=ke(null);_getDefaultError(){return this.interacted&&!!this.stepControl?.invalid}constructor(){let e=f(zU,{optional:!0});this._stepperOptions=e||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this._interacted.set(!1),this._completedOverride()!=null&&this._completedOverride.set(!1),this._customError()!=null&&this._customError.set(!1),this.stepControl&&(this._childForms?.forEach(e=>e.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this._interacted()||(this._interacted.set(!0),this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError()!=null}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["cdk-step"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,cx,5)(a,Ea,5),i&2){let o;ae(o=oe())&&(r.stepLabel=o.first),ae(o=oe())&&(r._childForms=o)}},viewQuery:function(i,r){if(i&1&&dt(At,7),i&2){let a;ae(a=oe())&&(r.content=a.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",ie],optional:[2,"optional","optional",ie],completed:[2,"completed","completed",ie],hasError:[2,"hasError","hasError",ie]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[lt],ngContentSelectors:VU,decls:1,vars:0,template:function(i,r){i&1&&(Ge(),zl(0,UU,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return t})(),ym=(()=>{class t{_dir=f(Vt,{optional:!0});_changeDetectorRef=f(Ue);_elementRef=f(he);_destroyed=new te;_keyManager;_steps;steps=new en;_stepHeader;_sortedHeaders=new en;get linear(){return this._linear()}set linear(e){this._linear.set(e)}_linear=ke(!1);get selectedIndex(){return this._selectedIndex()}set selectedIndex(e){this._steps?(this._isValidIndex(e),this.selectedIndex!==e&&(this.selected?._markAsInteracted(),!this._anyControlsInvalidOrPending(e)&&(e>=this.selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e))):this._selectedIndex.set(e)}_selectedIndex=ke(0);get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}selectionChange=new ne;selectedIndexChange=new ne;_groupId=f(pt).getId("cdk-stepper-");get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation(e==="vertical")}_orientation="horizontal";constructor(){}ngAfterContentInit(){this._steps.changes.pipe(bt(this._steps),Ne(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(i=>i._stepper===this)),this.steps.forEach((i,r)=>i.index.set(r)),this.steps.notifyOnChanges()})}ngAfterViewInit(){if(this._stepHeader.changes.pipe(bt(this._stepHeader),Ne(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((i,r)=>i._elementRef.nativeElement.compareDocumentPosition(r._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new fr(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),this._keyManager.updateActiveItem(this.selectedIndex),(this._dir?this._dir.change:Be()).pipe(bt(this._layoutDirection()),Ne(this._destroyed)).subscribe(e=>this._keyManager?.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this.selectedIndex),this.steps.changes.subscribe(()=>{this.selected||this._selectedIndex.set(Math.max(this.selectedIndex-1,0))}),this._isValidIndex(this.selectedIndex)||this._selectedIndex.set(0),this.linear&&this.selectedIndex>0){let e=this.steps.toArray().slice(0,this._selectedIndex());for(let i of e)i._markAsInteracted()}}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex()+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex()-1,0)}
2647reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`${this._groupId}-label-${e}`}_getStepContentId(e){return`${this._groupId}-content-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){let i=e-this._selectedIndex();return i<0?this._layoutDirection()==="rtl"?"next":"previous":i>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex()}_updateSelectedItemIndex(e){let i=this.steps.toArray(),r=this._selectedIndex();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:r,selectedStep:i[e],previouslySelectedStep:i[r]}),this._keyManager&&(this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e)),this._selectedIndex.set(e),this.selectedIndexChange.emit(e),this._stateChanged()}_onKeydown(e){let i=zt(e),r=e.keyCode,a=this._keyManager;a?.activeItemIndex!=null&&!i&&(r===32||r===13)?(this.selectedIndex=a.activeItemIndex,e.preventDefault()):a?.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(i=>{let r=i.stepControl;return(r?r.invalid||r.pending||!i.interacted:!i.completed)&&!i.optional&&!i._completedOverride()}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}
2647_containsFocus(){let e=this._elementRef.nativeElement,i=Fr();return e===i||e.contains(i)}_isValidIndex(e){return e>-1&&(!this.steps||e<this.steps.length)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkStepper",""]],contentQueries:function(i,r,a){if(i&1&&Tt(a,eg,5)(a,lx,5),i&2){let o;ae(o=oe())&&(r._steps=o),ae(o=oe())&&(r._stepHeader=o)}},inputs:{linear:[2,"linear","linear",ie],selectedIndex:[2,"selectedIndex","selectedIndex",Yt],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]})}return t})();var $I=(()=>{class t{_stepper=f(ym);type="button";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(i,r){i&1&&de("click",function(){return r._stepper.previous()}),i&2&&si("type",r.type)},inputs:{type:"type"}})}return t})(),WI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Ye]})}return t})();var jU=(t,n,e)=>({index:t,active:n,optional:e});function HU(t,n){if(t&1&&hi(0,2),t&2){let e=j();se("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",Xk(2,jU,e.index,e.active,e.optional))}}function $U(t,n){if(t&1&&(w(0,"span",7),Q(1),D()),t&2){let e=j(2);T(),Bt(e._getDefaultTextForState(e.state))}}function WU(t,n){if(t&1&&(w(0,"span",8),Q(1),D()),t&2){let e=j(3);T(),Bt(e._intl.completedLabel)}}function GU(t,n){if(t&1&&(w(0,"span",8),Q(1),D()),t&2){let e=j(3);T(),Bt(e._intl.editableLabel)}}function qU(t,n){if(t&1&&(pe(0,WU,2,1,"span",8)(1,GU,2,1,"span",8),w(2,"mat-icon",7),Q(3),D()),t&2){let e=j(2);ge(e.state==="done"?0:e.state==="edit"?1:-1),T(3),Bt(e._getDefaultTextForState(e.state))}}function YU(t,n){if(t&1&&pe(0,$U,2,1,"span",7)(1,qU,4,2),t&2){let e,i=j();ge((e=i.state)==="number"?0:1)}}function XU(t,n){t&1&&(w(0,"div",4),hi(1,9),D()),t&2&&(T(),se("ngTemplateOutlet",n.template))}function KU(t,n){if(t&1&&(w(0,"div",4),Q(1),D()),t&2){let e=j();T(),Bt(e.label)}}function QU(t,n){if(t&1&&(w(0,"div",5),Q(1),D()),t&2){let e=j();T(),Bt(e._intl.optionalLabel)}}function ZU(t,n){if(t&1&&(w(0,"div",6),Q(1),D()),t&2){let e=j();T(),Bt(e.errorMessage)}}var GI=["*"];function JU(t,n){}function ez(t,n){if(t&1&&(_e(0),xt(1,JU,0,0,"ng-template",0)),t&2){let e=j();T(),se("cdkPortalOutlet",e._portal)}}var tz=["animatedContainer"],qI=t=>({steps:t}),YI=t=>({step:t});function iz(t,n){t&1&&_e(0)}function nz(t,n){if(t&1&&(w(0,"div",5),hi(1,9)(2,6),D()),t&2){let e=j(2),i=qt(6);T(),se("ngTemplateOutlet",e.headerPrefix()),T(),se("ngTemplateOutlet",i)("ngTemplateOutletContext",Wl(3,qI,e.steps))}}function rz(t,n){if(t&1&&hi(0,6),t&2){let e=j(2),i=qt(6);se("ngTemplateOutlet",i)("ngTemplateOutletContext",Wl(2,qI,e.steps))}}function az(t,n){if(t&1&&(w(0,"div",10,2),hi(2,9),D()),t&2){let e=n.$implicit,i=n.$index,r=j(2);$t("mat-horizontal-stepper-content-"+r._getAnimationDirection(i)),se("id",r._getStepContentId(i)),fe("aria-labelledby",r._getStepLabelId(i))("inert",r.selectedIndex===i?null:""),T(2),se("ngTemplateOutlet",e.content)}}function oz(t,n){if(t&1&&(w(0,"div",3),pe(1,nz,3,5,"div",5)(2,rz,1,4,"ng-container",6),w(3,"div",7),tn(4,az,3,6,"div",8,Ha),D()()),t&2){let e=j();T(),ge(e.headerPrefix()?1:2),T(3),nn(e.steps)}}function sz(t,n){if(t&1&&hi(0,9),t&2){let e=j(2);se("ngTemplateOutlet",e.headerPrefix())}}function lz(t,n){if(t&1&&(w(0,"div",11),hi(1,6),w(2,"div",12,2)(4,"div",13)(5,"div",14),hi(6,9),D()()()()),t&2){let e=n.$implicit,i=n.$index,r=n.$index,a=n.$count,o=j(2),s=qt(4);T(),se("ngTemplateOutlet",s)("ngTemplateOutletContext",Wl(11,YI,e)),T(),ce("mat-stepper-vertical-line",r!==a-1)("mat-vertical-content-container-active",o.selectedIndex===i),fe("inert",o.selectedIndex===i?null:"")("aria-label",o.ariaLabel),T(2),se("id",o._getStepContentId(i)),fe("aria-labelledby",o._getStepLabelId(i)),T(2),se("ngTemplateOutlet",e.content)}}function cz(t,n){if(t&1&&(w(0,"div",4),pe(1,sz,1,1,"ng-container",9),tn(2,lz,7,13,"div",11,Ha),D()),t&2){let e=j();T(),ge(e.headerPrefix()?1:-1),T(),nn(e.steps)}}function dz(t,n){if(t&1){let e=Pt();w(0,"mat-step-header",15),de("click",function(){let r=$e(e).step;return We(r.select())})("keydown",function(r){$e(e);let a=j();return We(a._onKeydown(r))}),D()}if(t&2){let e=n.step,i=j();ce("mat-horizontal-stepper-header",i.orientation==="horizontal")("mat-vertical-stepper-header",i.orientation==="vertical"),se("tabIndex",i._getFocusIndex()===e.index()?0:-1)("id",i._getStepLabelId(e.index()))("index",e.index())("state",e.indicatorType())("label",e.stepLabel||e.label)("selected",e.isSelected())("active",e.isNavigable())("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",i._iconOverrides)("disableRipple",i.disableRipple||!e.isNavigable())("color",e.color||i.color),fe("role",i.orientation==="horizontal"?"tab":"button")("aria-posinset",i.orientation==="horizontal"?e.index()+1:null)("aria-setsize",i.orientation==="horizontal"?i.steps.length:null)("aria-selected",i.orientation==="horizontal"?e.isSelected():null)("aria-current",i.orientation==="vertical"&&e.isSelected()?"step":null)("aria-disabled",i.orientation==="vertical"&&e.isSelected()?"true":null)("aria-expanded",i.orientation==="vertical"?e.isSelected():null)("aria-controls",i._getStepContentId(e.index()))("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",e.isNavigable()?null:!0)}}function uz(t,n){t&1&&we(0,"div",17)}function hz(t,n){if(t&1&&(hi(0,6),pe(1,uz,1,0,"div",17)),t&2){let e=n.$implicit,i=n.$index,r=n.$count;j(2);let a=qt(4);se("ngTemplateOutlet",a)("ngTemplateOutletContext",Wl(3,YI,e)),T(),ge(i!==r-1?1:-1)}}
2647function mz(t,n){if(t&1&&(w(0,"div",16),tn(1,hz,2,5,null,null,Ha),D()),t&2){let e=n.steps,i=j();fe("aria-label",i.ariaLabel),T(),nn(e)}}var dx=(()=>{class t extends cx{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","matStepLabel",""]],features:[Ie]})}return t})(),fz=(()=>{class t{changes=new te;optionalLabel="Optional";completedLabel="Completed";editableLabel="Editable";static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ux=(()=>{class t extends lx{_intl=f(fz);_focusMonitor=f(Ii);_intlSubscription;state;label;errorMessage;iconOverrides;index;selected=!1;active=!1;optional=!1;disableRipple=!1;color;constructor(){super();let e=f(wt);e.load(Ci),e.load(Or);let i=f(Ue);this._intlSubscription=this._intl.changes.subscribe(()=>i.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._elementRef,e,i):this._elementRef.nativeElement.focus(i)}_stringLabel(){return this.label instanceof dx?null:this.label}_templateLabel(){return this.label instanceof dx?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getDefaultTextForState(e){return e=="number"?`${this.index+1}`:e=="edit"?"create":e=="error"?"warning":e}_hasEmptyLabel(){return!this._stringLabel()&&!this._templateLabel()&&!this._hasOptionalLabel()&&!this._hasErrorLabel()}_hasOptionalLabel(){return this.optional&&this.state!=="error"}_hasErrorLabel(){return this.state==="error"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","",1,"mat-step-header"],hostVars:4,hostBindings:function(i,r){i&2&&($t("mat-"+(r.color||"primary")),ce("mat-step-header-empty-label",r._hasEmptyLabel()))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},features:[Ie],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(i,r){if(i&1&&(we(0,"div",0),w(1,"div")(2,"div",1),pe(3,HU,1,6,"ng-container",2)(4,YU,2,1),D()(),w(5,"div",3),pe(6,XU,2,1,"div",4)(7,KU,2,1,"div",4),pe(8,QU,2,1,"div",5),pe(9,ZU,2,1,"div",6),D()),i&2){let a;se("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disableRipple),T(),$t(Yk("mat-step-icon-state-",r.state," mat-step-icon")),ce("mat-step-icon-selected",r.selected),T(2),ge(r.iconOverrides&&r.iconOverrides[r.state]?3:4),T(2),ce("mat-step-label-active",r.active)("mat-step-label-selected",r.selected)("mat-step-label-error",r.state=="error"),T(),ge((a=r._templateLabel())?6:r._stringLabel()?7:-1,a),T(2),ge(r._hasOptionalLabel()?8:-1),T(),ge(r._hasErrorLabel()?9:-1)}},dependencies:[pr,xa,os],styles:[`.mat-step-header {
2648  overflow: hidden;
2649  outline: none;
2650  cursor: pointer;
2651  position: relative;
2652  box-sizing: content-box;
2653  -webkit-tap-highlight-color: transparent;
2654}
2655.mat-step-header:focus-visible .mat-focus-indicator::before {
2656  content: "";
2657}
2658.mat-step-header:hover[aria-disabled=true] {
2659  cursor: default;
2660}
2661.mat-step-header:hover:not([aria-disabled]), .mat-step-header:hover[aria-disabled=false] {
2662  background-color: var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));
2663  border-radius: var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium));
2664}
2665.mat-step-header.cdk-keyboard-focused, .mat-step-header.cdk-program-focused {
2666  background-color: var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));
2667  border-radius: var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium));
2668}
2669@media (hover: none) {
2670  .mat-step-header:hover {
2671    background: none;
2672  }
2673}
2674@media (forced-colors: active) {
2675  .mat-step-header {
2676    outline: solid 1px;
2677  }
2678  .mat-step-header[aria-selected=true] .mat-step-label {
2679    text-decoration: underline;
2680  }
2681  .mat-step-header[aria-disabled=true] {
2682    outline-color: GrayText;
2683  }
2684  .mat-step-header[aria-disabled=true] .mat-step-label,
2685  .mat-step-header[aria-disabled=true] .mat-step-icon,
2686  .mat-step-header[aria-disabled=true] .mat-step-optional {
2687    color: GrayText;
2688  }
2689}
2690
2691.mat-step-optional {
2692  font-size: 12px;
2693  color: var(--mat-stepper-header-optional-label-text-color, var(--mat-sys-on-surface-variant));
2694}
2695
2696.mat-step-sub-label-error {
2697  font-size: 12px;
2698  font-weight: normal;
2699}
2700
2701.mat-step-icon {
2702  border-radius: 50%;
2703  height: 24px;
2704  width: 24px;
2705  flex-shrink: 0;
2706  position: relative;
2707  color: var(--mat-stepper-header-icon-foreground-color, var(--mat-sys-surface));
2708  background-color: var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant));
2709}
2710
2711.mat-step-icon-content {
2712  position: absolute;
2713  top: 50%;
2714  left: 50%;
2715  transform: translate(-50%, -50%);
2716  display: flex;
2717}
2718
2719.mat-step-icon .mat-icon {
2720  font-size: 16px;
2721  height: 16px;
2722  width: 16px;
2723}
2724
2725.mat-step-icon-state-error {
2726  background-color: var(--mat-stepper-header-error-state-icon-background-color, transparent);
2727  color: var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error));
2728}
2729.mat-step-icon-state-error .mat-icon {
2730  font-size: 24px;
2731  height: 24px;
2732  width: 24px;
2733}
2734
2735.mat-step-label {
2736  display: inline-block;
2737  white-space: nowrap;
2738  overflow: hidden;
2739  text-overflow: ellipsis;
2740  min-width: 50px;
2741  vertical-align: middle;
2742  font-family: var(--mat-stepper-header-label-text-font, var(--mat-sys-title-small-font));
2743  font-size: var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));
2744  font-weight: var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));
2745  color: var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant));
2746}
2747.mat-step-label.mat-step-label-active {
2748  color: var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant));
2749}
2750.mat-step-label.mat-step-label-error {
2751  color: var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));
2752  font-size: var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size));
2753}
2754.mat-step-label.mat-step-label-selected {
2755  font-size: var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));
2756  font-weight: var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight));
2757}
2758.mat-step-header-empty-label .mat-step-label {
2759  min-width: 0;
2760}
2761
2762.mat-step-text-label {
2763  text-overflow: ellipsis;
2764  overflow: hidden;
2765}
2766
2767.mat-step-header .mat-step-header-ripple {
2768  top: 0;
2769  left: 0;
2770  right: 0;
2771  bottom: 0;
2772  position: absolute;
2773  pointer-events: none;
2774}
2775
2776.mat-step-icon-selected {
2777  background-color: var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-sys-primary));
2778  color: var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary));
2779}
2780
2781.mat-step-icon-state-done {
2782  background-color: var(--mat-stepper-header-done-state-icon-background-color, var(--mat-sys-primary));
2783  color: var(--mat-stepper-header-done-state-icon-foreground-color, var(--mat-sys-on-primary));
2784}
2785
2786.mat-step-icon-state-edit {
2787  background-color: var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));
2788  color: var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary));
2789}
2790`],encapsulation:2,changeDetection:0})}return t})(),pz=(()=>{class t{templateRef=f(At);name;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}})}return t})(),gz=(()=>{class t{_template=f(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["ng-template","matStepContent",""]]})}return t})(),_z=(()=>{class t extends eg{_errorStateMatcher=f(Co,{skipSelf:!0});
2790_viewContainerRef=f(Zt);_isSelected=tt.EMPTY;stepLabel=void 0;color;_lazyContent;_portal;ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(gi(()=>this._stepper.selectionChange.pipe(ct(e=>e.selectedStep===this),bt(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new yn(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,i){let r=this._errorStateMatcher.isErrorState(e,i),a=!!(e&&e.invalid&&this.interacted);return r||a}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=ue({type:t,selectors:[["mat-step"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,dx,5)(a,gz,5),i&2){let o;ae(o=oe())&&(r.stepLabel=o.first),ae(o=oe())&&(r._lazyContent=o.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],features:[Re([{provide:Co,useExisting:t},{provide:eg,useExisting:t}]),Ie],ngContentSelectors:GI,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(i,r){i&1&&(Ge(),xt(0,ez,2,1,"ng-template"))},dependencies:[An],encapsulation:2,changeDetection:0})}return t})(),vz=(()=>{class t extends ym{_ngZone=f(Te);_renderer=f(ft);_animationsDisabled=gt();_cleanupTransition;_isAnimating=ke(!1);_stepHeader=void 0;_animatedContainers;_steps=void 0;steps=new en;_icons;animationDone=new ne;disableRipple=!1;color;labelPosition="end";headerPosition="top";ariaLabel=null;headerPrefix=ep(null);_iconOverrides={};get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}_animationDuration="";_isServer=!f(ht).isBrowser;constructor(){super();let i=f(he).nativeElement.nodeName.toLowerCase();this.orientation=i==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:i})=>this._iconOverrides[e]=i),this.steps.changes.pipe(Ne(this._destroyed)).subscribe(()=>this._stateChanged()),this.selectedIndexChange.pipe(Ne(this._destroyed)).subscribe(()=>{let e=this._getAnimationDuration();e==="0ms"||e==="0s"?this._onAnimationDone():this._isAnimating.set(!0)}),this._ngZone.runOutsideAngular(()=>{this._animationsDisabled||setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-stepper-animations-enabled"),this._cleanupTransition=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionend)},200)})}ngAfterViewInit(){if(super.ngAfterViewInit(),typeof queueMicrotask=="function"){let e=!1;this._animatedContainers.changes.pipe(bt(null),Ne(this._destroyed)).subscribe(()=>queueMicrotask(()=>{e||(e=!0,this.animationDone.emit()),this._stateChanged()}))}}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransition?.()}_getAnimationDuration(){return this._animationsDisabled?"0ms":this.animationDuration?this.animationDuration:this.orientation==="horizontal"?"500ms":"225ms"}_handleTransitionend=e=>{let i=e.target;if(!i)return;let r=this.orientation==="horizontal"&&e.propertyName==="transform"&&i.classList.contains("mat-horizontal-stepper-content-current"),a=this.orientation==="vertical"&&e.propertyName==="grid-template-rows"&&i.classList.contains("mat-vertical-content-container-active");(r||a)&&this._animatedContainers.find(s=>s.nativeElement===i)&&this._onAnimationDone()};_onAnimationDone(){this._isAnimating.set(!1),this.animationDone.emit()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(i,r,a){if(i&1&&Tt(a,_z,5)(a,pz,5),i&2){let o;ae(o=oe())&&(r._steps=o),ae(o=oe())&&(r._icons=o)}},viewQuery:function(i,r){if(i&1&&dt(ux,5)(tz,5),i&2){let a;ae(a=oe())&&(r._stepHeader=a),ae(a=oe())&&(r._animatedContainers=a)}},hostVars:14,hostBindings:function(i,r){i&2&&(Gi("--mat-stepper-animation-duration",r._getAnimationDuration()),ce("mat-stepper-horizontal",r.orientation==="horizontal")("mat-stepper-vertical",r.orientation==="vertical")("mat-stepper-label-position-end",r.orientation==="horizontal"&&r.labelPosition=="end")("mat-stepper-label-position-bottom",r.orientation==="horizontal"&&r.labelPosition=="bottom")("mat-stepper-header-position-bottom",r.headerPosition==="bottom")("mat-stepper-animating",r._isAnimating()))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",ariaLabel:[0,"aria-label","ariaLabel"],headerPrefix:[1,"headerPrefix"],animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[Re([{provide:ym,useExisting:t}]),Ie],ngContentSelectors:GI,decls:7,vars:2,consts:[["stepTemplate",""],["horizontalStepsTemplate",""],["animatedContainer",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-vertical-stepper-wrapper"],[1,"mat-horizontal-stepper-header-wrapper"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","class"],[3,"ngTemplateOutlet"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","regi
2790on",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"],["aria-orientation","horizontal","role","tablist",1,"mat-horizontal-stepper-header-container"],[1,"mat-stepper-horizontal-line"]],template:function(i,r){if(i&1&&(Ge(),pe(0,iz,1,0),pe(1,oz,6,1,"div",3)(2,cz,4,1,"div",4),xt(3,dz,1,27,"ng-template",null,0,_a)(5,mz,3,1,"ng-template",null,1,_a)),i&2){let a;ge(r._isServer?0:-1),T(),ge((a=r.orientation)==="horizontal"?1:a==="vertical"?2:-1)}},dependencies:[xa,ux],styles:[`.mat-stepper-vertical,
2791.mat-stepper-horizontal {
2792  display: block;
2793  font-family: var(--mat-stepper-container-text-font, var(--mat-sys-body-medium-font));
2794  background: var(--mat-stepper-container-color, var(--mat-sys-surface));
2795}
2796
2797.mat-horizontal-stepper-header-wrapper {
2798  align-items: center;
2799  display: flex;
2800}
2801
2802.mat-horizontal-stepper-header-container {
2803  white-space: nowrap;
2804  display: flex;
2805  align-items: center;
2806  flex-grow: 1;
2807}
2808.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container {
2809  align-items: flex-start;
2810}
2811.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container {
2812  order: 1;
2813}
2814
2815.mat-stepper-horizontal-line {
2816  border-top-width: 1px;
2817  border-top-style: solid;
2818  flex: auto;
2819  height: 0;
2820  margin: 0 -16px;
2821  min-width: 32px;
2822  border-top-color: var(--mat-stepper-line-color, var(--mat-sys-outline));
2823}
2824.mat-stepper-label-position-bottom .mat-stepper-horizontal-line {
2825  margin: 0;
2826  min-width: 0;
2827  position: relative;
2828  top: calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px);
2829}
2830
2831.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before, [dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before, .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after, [dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after {
2832  border-top-width: 1px;
2833  border-top-style: solid;
2834  content: "";
2835  display: inline-block;
2836  height: 0;
2837  position: absolute;
2838  width: calc(50% - 20px);
2839}
2840
2841.mat-horizontal-stepper-header {
2842  display: flex;
2843  overflow: hidden;
2844  align-items: center;
2845  padding: 0 24px;
2846  height: var(--mat-stepper-header-height, 72px);
2847}
2848.mat-horizontal-stepper-header .mat-step-icon {
2849  margin-right: 8px;
2850  flex: none;
2851}
2852[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon {
2853  margin-right: 0;
2854  margin-left: 8px;
2855}
2856.mat-horizontal-stepper-header.mat-step-header-empty-label .mat-step-icon {
2857  margin: 0;
2858}
2859.mat-horizontal-stepper-header::before, .mat-horizontal-stepper-header::after {
2860  border-top-color: var(--mat-stepper-line-color, var(--mat-sys-outline));
2861}
2862.mat-stepper-label-position-bottom .mat-horizontal-stepper-header {
2863  padding: calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px;
2864}
2865.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before, .mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after {
2866  top: calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px);
2867}
2868.mat-stepper-label-position-bottom .mat-horizontal-stepper-header {
2869  box-sizing: border-box;
2870  flex-direction: column;
2871  height: auto;
2872}
2873.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after, [dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after {
2874  right: 0;
2875}
2876.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before, [dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before {
2877  left: 0;
2878}
2879[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before, [dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after {
2880  display: none;
2881}
2882.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon {
2883  margin-right: 0;
2884  margin-left: 0;
2885}
2886.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label {
2887  padding: 16px 0 0 0;
2888  text-align: center;
2889  width: 100%;
2890}
2891
2892.mat-vertical-stepper-header {
2893  display: flex;
2894  align-items: center;
2895  height: 24px;
2896  padding: calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px;
2897}
2898.mat-vertical-stepper-header .mat-step-icon {
2899  margin-right: 12px;
2900}
2901[dir=rtl] .mat-vertical-stepper-header .mat-step-icon {
2902  margin-right: 0;
2903  margin-left: 12px;
2904}
2905
2906.mat-horizontal-stepper-wrapper {
2907  display: flex;
2908  flex-direction: column;
2909}
2910
2911.mat-horizontal-stepper-content {
2912  visibility: hidden;
2913  overflow: hidden;
2914  outline: 0;
2915  height: 0;
2916}
2917.mat-stepper-animations-enabled .mat-horizontal-stepper-content {
2918  transition: transform var(--mat-stepper-animation-duration, 0) cubic-bezier(0.35, 0, 0.25, 1);
2919}
2920.mat-horizontal-stepper-content.mat-horizontal-stepper-content-previous {
2921  transform: translate3d(-100%, 0, 0);
2922}
2923.mat-horizontal-stepper-content.mat-horizontal-stepper-content-next {
2924  transform: translate3d(100%, 0, 0);
2925}
2926.mat-horizontal-stepper-content.mat-horizontal-stepper-content-current {
2927  visibility: visible;
2928  transform: none;
2929  height: auto;
2930}
2931.mat-stepper-horizontal:not(.mat-stepper-animating) .mat-horizontal-stepper-content.mat-horizontal-stepper-content-current {
2932  overflow: visible;
2933}
2934
2935.mat-horizontal-content-container {
2936  overflow: hidden;
2937  padding: 0 24px 24px 24px;
2938}
2939@media (forced-colors: active) {
2940  .mat-horizontal-content-container {
2941    outline: solid 1px;
2942  }
2943}
2944.mat-stepper-header-position-bottom .mat-horizontal-content-container {
2945  padding: 24px 24px 0 24px;
2946}
2947
2948.mat-vertical-content-container {
2949  display: grid;
2950  grid-template-rows: 0fr;
2951  grid-template-columns: 100%;
2952  margin-left: 36px;
2953  border: 0;
2954  position: relative;
2955}
2956.mat-stepper-animations-enabled .mat-vertical-content-container {
2957  transition: grid-template-rows var(--mat-stepper-animation-duration, 0) cubic-bezier(0.4, 0, 0.2, 1);
2958}
2959.mat-vertical-content-container.mat-vertical-content-container-active {
2960  grid-template-rows: 1fr;
2961}
2962.mat-step:last-child .mat-vertical-content-container {
2963  border: none;
2964}
2965@media (forced-colors: active) {
2966  .mat-vertical-content-container {
2967    outline: solid 1px;
2968  }
2969}
2970[dir=rtl] .mat-vertical-content-container {
2971  margin-left: 0;
2972  margin-right: 36px;
2973}
2974@supports not (grid-template-rows: 0fr) {
2975  .mat-vertical-content-container {
2976    height: 0;
2977  }
2978  .mat-vertical-content-container.mat-vertical-content-container-active {
2979    height: auto;
2980  }
2981}
2982
2983.mat-stepper-vertical-line::before {
2984  content: "";
2985  position: absolute;
2986  left: 0;
2987  border-left-width: 1px;
2988  border-left-style: solid;
2989  border-left-color: var(--mat-stepper-line-color, var(--mat-sys-outline));
2990  top: calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));
2991  bottom: calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));
2992}
2993[dir=rtl] .mat-stepper-vertical-line::before {
2994  left: auto;
2995  right: 0;
2996}
2997
2998.mat-vertical-stepper-content {
2999  overflow: hidden;
3000  outline: 0;
3001  visibility: hidden;
3002}
3003.mat-stepper-animations-enabled .mat-vertical-stepper-content {
3004  transition: visibility var(--mat-stepper-animation-duration, 0) linear;
3005}
3006.mat-vertical-content-container-active > .mat-vertical-stepper-content {
3007  visibility: visible;
3008}
3009
3010.mat-vertical-content {
3011  padding: 0 24px 24px 24px;
3012}
3013`],encapsulation:2,changeDetection:0})}return t})();var Lxe=(()=>{class t extends $I{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(i,r){i&2&&si("type",r.type)},features:[Ie]})}return t})(),Bxe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({providers:[Co],imports:[gr,WI,ss,Nr,vz,ux,Ye]})}return t})();var bz=(()=>{class t{get vertical(){return this._vertical}set vertical(e){this._vertical=yi(e)}_vertical=!1;get inset(){return this._inset}set inset(e){this._inset=yi(e)}_inset=!1;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,r){i&2&&(fe("aria-orientation",r.vertical?"vertical":"horizontal"),ce("mat-divider-vertical",r.vertical)("mat-divider-horizontal",!r.vertical)("mat-divider-inset",r.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(i,r){},styles:[`.mat-divider {
3014  display: block;
3015  margin: 0;
3016  border-top-style: solid;
3017  border-top-color: var(--mat-divider-color, var(--mat-sys-outline-variant));
3018  border-top-width: var(--mat-divider-width, 1px);
3019}
3020.mat-divider.mat-divider-vertical {
3021  border-top: 0;
3022  border-right-style: solid;
3023  border-right-color: var(--mat-divider-color, var(--mat-sys-outline-variant));
3024  border-right-width: var(--mat-divider-width, 1px);
3025}
3026.mat-divider.mat-divider-inset {
3027  margin-left: 80px;
3028}
3029[dir=rtl] .mat-divider.mat-divider-inset {
3030  margin-left: auto;
3031  margin-right: 80px;
3032}
3033`],encapsulation:2,changeDetection:0})}return t})(),XI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Ye]})}return t})();var yz=["determinateSpinner"];
3033function xz(t,n){if(t&1&&(ui(),w(0,"svg",11),we(1,"circle",12),D()),t&2){let e=j();fe("viewBox",e._viewBox()),T(),Gi("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),fe("r",e._circleRadius())}}var wz=new W("mat-progress-spinner-default-options",{providedIn:"root",factory:()=>({diameter:KI})}),KI=100,Cz=10,hx=(()=>{class t{_elementRef=f(he);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=f(wz),i=Jh(),r=this._elementRef.nativeElement;this._noopAnimations=i==="di-disabled"&&!!e&&!e._forceAnimations,this.mode=r.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",!this._noopAnimations&&i==="reduced-motion"&&r.classList.add("mat-progress-spinner-reduced-motion"),e&&(e.color&&(this.color=this._defaultColor=e.color),e.diameter&&(this.diameter=e.diameter),e.strokeWidth&&(this.strokeWidth=e.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=KI;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-Cz)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&dt(yz,5),i&2){let a;ae(a=oe())&&(r._determinateCircle=a.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,r){i&2&&(fe("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),$t("mat-"+r.color),Gi("width",r.diameter,"px")("height",r.diameter,"px")("--mat-progress-spinner-size",r.diameter+"px")("--mat-progress-spinner-active-indicator-width",r.diameter+"px"),ce("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Yt],diameter:[2,"diameter","diameter",Yt],strokeWidth:[2,"strokeWidth","strokeWidth",Yt]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,r){if(i&1&&(xt(0,xz,2,8,"ng-template",null,0,_a),w(2,"div",2,1),ui(),w(4,"svg",3),we(5,"circle",4),D()(),ja(),w(6,"div",5)(7,"div",6)(8,"div",7),hi(9,8),D(),w(10,"div",9),hi(11,8),D(),w(12,"div",10),hi(13,8),D()()()),i&2){let a=qt(1);T(4),fe("viewBox",r._viewBox()),T(),Gi("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),fe("r",r._circleRadius()),T(4),se("ngTemplateOutlet",a),T(2),se("ngTemplateOutlet",a),T(2),se("ngTemplateOutlet",a)}},dependencies:[xa],styles:[`.mat-mdc-progress-spinner {
3034  --mat-progress-spinner-animation-multiplier: 1;
3035  display: block;
3036  overflow: hidden;
3037  line-height: 0;
3038  position: relative;
3039  direction: ltr;
3040  transition: opacity 250ms cubic-bezier(0.4, 0, 0.6, 1);
3041}
3042.mat-mdc-progress-spinner circle {
3043  stroke-width: var(--mat-progress-spinner-active-indicator-width, 4px);
3044}
3045.mat-mdc-progress-spinner._mat-animation-noopable, .mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle {
3046  transition: none !important;
3047}
3048.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,
3049.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,
3050.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container {
3051  animation: none !important;
3052}
3053.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle {
3054  stroke-dasharray: 0 !important;
3055}
3056@media (forced-colors: active) {
3057  .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,
3058  .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle {
3059    stroke: currentColor;
3060    stroke: CanvasText;
3061  }
3062}
3063
3064.mat-progress-spinner-reduced-motion {
3065  --mat-progress-spinner-animation-multiplier: 1.25;
3066}
3067
3068.mdc-circular-progress__determinate-container,
3069.mdc-circular-progress__indeterminate-circle-graphic,
3070.mdc-circular-progress__indeterminate-container,
3071.mdc-circular-progress__spinner-layer {
3072  position: absolute;
3073  width: 100%;
3074  height: 100%;
3075}
3076
3077.mdc-circular-progress__determinate-container {
3078  transform: rotate(-90deg);
3079}
3080.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container {
3081  opacity: 0;
3082}
3083
3084.mdc-circular-progress__indeterminate-container {
3085  font-size: 0;
3086  letter-spacing: 0;
3087  white-space: nowrap;
3088  opacity: 0;
3089}
3090.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container {
3091  opacity: 1;
3092  animation: mdc-circular-progress-container-rotate calc(1568.2352941176ms * var(--mat-progress-spinner-animation-multiplier)) linear infinite;
3093}
3094
3095.mdc-circular-progress__determinate-circle-graphic,
3096.mdc-circular-progress__indeterminate-circle-graphic {
3097  fill: transparent;
3098}
3099
3100.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,
3101.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic {
3102  stroke: var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary));
3103}
3104@media (forced-colors: active) {
3105  .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,
3106  .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic {
3107    stroke: CanvasText;
3108  }
3109}
3110
3111.mdc-circular-progress__determinate-circle {
3112  transition: stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1);
3113}
3114
3115.mdc-circular-progress__gap-patch {
3116  position: absolute;
3117  top: 0;
3118  left: 47.5%;
3119  box-sizing: border-box;
3120  width: 5%;
3121  height: 100%;
3122  overflow: hidden;
3123}
3124
3125.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic {
3126  left: -900%;
3127  width: 2000%;
3128  transform: rotate(180deg);
3129}
3130.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic {
3131  width: 200%;
3132}
3133.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic {
3134  left: -100%;
3135}
3136.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic {
3137  animation: mdc-circular-progress-left-spin calc(1333ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;
3138}
3139.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic {
3140  animation: mdc-circular-progress-right-spin calc(1333ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;
3141}
3142
3143.mdc-circular-progress__circle-clipper {
3144  display: inline-flex;
3145  position: relative;
3146  width: 50%;
3147  height: 100%;
3148  overflow: hidden;
3149}
3150
3151.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer {
3152  animation: mdc-circular-progress-spinner-layer-rotate calc(5332ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;
3153}
3154
3155@keyframes mdc-circular-progress-container-rotate {
3156  to {
3157    transform: rotate(360deg);
3158  }
3159}
3160@keyframes mdc-circular-progress-spinner-layer-rotate {
3161  12.5% {
3162    transform: rotate(135deg);
3163  }
3164  25% {
3165    transform: rotate(270deg);
3166  }
3167  37.5% {
3168    transform: rotate(405deg);
3169  }
3170  50% {
3171    transform: rotate(540deg);
3172  }
3173  62.5% {
3174    transform: rotate(675deg);
3175  }
3176  75% {
3177    transform: rotate(810deg);
3178  }
3179  87.5% {
3180    transform: rotate(945deg);
3181  }
3182  100% {
3183    transform: rotate(1080deg);
3184  }
3185}
3186@keyframes mdc-circular-progress-left-spin {
3187  from {
3188    transform: rotate(265deg);
3189  }
3190  50% {
3191    transform: rotate(130deg);
3192  }
3193  to {
3194    transform: rotate(265deg);
3195  }
3196}
3197@keyframes mdc-circular-progress-right-spin {
3198  from {
3199    transform: rotate(-265deg);
3200  }
3201  50% {
3202    transform: rotate(-130deg);
3203  }
3204  to {
3205    transform: rotate(-265deg);
3206  }
3207}
3208`],encapsulation:2,changeDetection:0})}return t})();var tg=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Ye]})}return t})();var kz=["*",[["mat-toolbar-row"]]],Dz=["*","mat-toolbar-row"],Ez=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),QI=(()=>{class t{_elementRef=f(he);_platform=f(ht);_document=f(Ve);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,Ez,5),i&2){let o;ae(o=oe())&&(r._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){i&2&&($t(r.color?"mat-"+r.color:""),ce("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:Dz,decls:2,vars:0,template:function(i,r){i&1&&(Ge(kz),_e(0),_e(1,1))},styles:[`.mat-toolbar {
3209  background: var(--mat-toolbar-container-background-color, var(--mat-sys-surface));
3210  color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));
3211}
3212.mat-toolbar, .mat-toolbar h1, .mat-toolbar h2, .mat-toolbar h3, .mat-toolbar h4, .mat-toolbar h5, .mat-toolbar h6 {
3213  font-family: var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));
3214  font-size: var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));
3215  line-height: var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));
3216  font-weight: var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));
3217  letter-spacing: var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));
3218  margin: 0;
3219}
3220@media (forced-colors: active) {
3221  .mat-toolbar {
3222    outline: solid 1px;
3223  }
3224}
3225.mat-toolbar .mat-form-field-underline,
3226.mat-toolbar .mat-form-field-ripple,
3227.mat-toolbar .mat-focused .mat-form-field-ripple {
3228  background-color: currentColor;
3229}
3230.mat-toolbar .mat-form-field-label,
3231.mat-toolbar .mat-focused .mat-form-field-label,
3232.mat-toolbar .mat-select-value,
3233.mat-toolbar .mat-select-arrow,
3234.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow {
3235  color: inherit;
3236}
3237.mat-toolbar .mat-input-element {
3238  caret-color: currentColor;
3239}
3240.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed {
3241  --mat-button-text-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));
3242  --mat-button-outlined-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));
3243}
3244
3245.mat-toolbar-row, .mat-toolbar-single-row {
3246  display: flex;
3247  box-sizing: border-box;
3248  padding: 0 16px;
3249  width: 100%;
3250  flex-direction: row;
3251  align-items: center;
3252  white-space: nowrap;
3253  height: var(--mat-toolbar-standard-height, 64px);
3254}
3255@media (max-width: 599px) {
3256  .mat-toolbar-row, .mat-toolbar-single-row {
3257    height: var(--mat-toolbar-mobile-height, 56px);
3258  }
3259}
3260
3261.mat-toolbar-multiple-rows {
3262  display: flex;
3263  box-sizing: border-box;
3264  flex-direction: column;
3265  width: 100%;
3266  min-height: var(--mat-toolbar-standard-height, 64px);
3267}
3268@media (max-width: 599px) {
3269  .mat-toolbar-multiple-rows {
3270    min-height: var(--mat-toolbar-mobile-height, 56px);
3271  }
3272}
3273`],encapsulation:2,changeDetection:0})}return t})();var ZI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Ye]})}return t})();var tM=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],iM=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Mz(t,n){t&1&&(w(0,"span",3),_e(1,1),D())}function Az(t,n){t&1&&(w(0,"span",6),_e(1,2),D())}
3273function Rz(t,n){t&1&&(w(0,"span",3),_e(1,1),w(2,"span",7),ui(),w(3,"svg",8),we(4,"path",9),D()()())}function Pz(t,n){t&1&&(w(0,"span",6),_e(1,2),D())}var Fz=`.mdc-evolution-chip,
3274.mdc-evolution-chip__cell,
3275.mdc-evolution-chip__action {
3276  display: inline-flex;
3277  align-items: center;
3278}
3279
3280.mdc-evolution-chip {
3281  position: relative;
3282  max-width: 100%;
3283}
3284
3285.mdc-evolution-chip__cell,
3286.mdc-evolution-chip__action {
3287  height: 100%;
3288}
3289
3290.mdc-evolution-chip__cell--primary {
3291  flex-basis: 100%;
3292  overflow-x: hidden;
3293}
3294
3295.mdc-evolution-chip__cell--trailing {
3296  flex: 1 0 auto;
3297}
3298
3299.mdc-evolution-chip__action {
3300  align-items: center;
3301  background: none;
3302  border: none;
3303  box-sizing: content-box;
3304  cursor: pointer;
3305  display: inline-flex;
3306  justify-content: center;
3307  outline: none;
3308  padding: 0;
3309  text-decoration: none;
3310  color: inherit;
3311}
3312
3313.mdc-evolution-chip__action--presentational {
3314  cursor: auto;
3315}
3316
3317.mdc-evolution-chip--disabled,
3318.mdc-evolution-chip__action:disabled {
3319  pointer-events: none;
3320}
3321@media (forced-colors: active) {
3322  .mdc-evolution-chip--disabled,
3323  .mdc-evolution-chip__action:disabled {
3324    forced-color-adjust: none;
3325  }
3326}
3327
3328.mdc-evolution-chip__action--primary {
3329  font: inherit;
3330  letter-spacing: inherit;
3331  white-space: inherit;
3332  overflow-x: hidden;
3333}
3334.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before {
3335  border-width: var(--mat-chip-outline-width, 1px);
3336  border-radius: var(--mat-chip-container-shape-radius, 8px);
3337  box-sizing: border-box;
3338  content: "";
3339  height: 100%;
3340  left: 0;
3341  position: absolute;
3342  pointer-events: none;
3343  top: 0;
3344  width: 100%;
3345  z-index: 1;
3346  border-style: solid;
3347}
3348.mat-mdc-standard-chip .mdc-evolution-chip__action--primary {
3349  padding-left: 12px;
3350  padding-right: 12px;
3351}
3352.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
3353  padding-left: 0;
3354  padding-right: 12px;
3355}
3356[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
3357  padding-left: 12px;
3358  padding-right: 0;
3359}
3360.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before {
3361  border-color: var(--mat-chip-outline-color, var(--mat-sys-outline));
3362}
3363.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before {
3364  border-color: var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant));
3365}
3366.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before {
3367  border-color: var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
3368}
3369.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before {
3370  border-width: var(--mat-chip-flat-selected-outline-width, 0);
3371}
3372.mat-mdc-basic-chip .mdc-evolution-chip__action--primary {
3373  font: inherit;
3374}
3375.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {
3376  padding-left: 0;
3377  padding-right: 12px;
3378}
3379[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {
3380  padding-left: 12px;
3381  padding-right: 0;
3382}
3383.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
3384  padding-left: 12px;
3385  padding-right: 0;
3386}
3387[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
3388  padding-left: 0;
3389  padding-right: 12px;
3390}
3391.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
3392  padding-left: 0;
3393  padding-right: 0;
3394}
3395.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
3396  padding-left: 0;
3397  padding-right: 0;
3398}
3399[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
3400  padding-left: 0;
3401  padding-right: 0;
3402}
3403.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
3404  padding-left: 0;
3405  padding-right: 12px;
3406}
3407[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
3408  padding-left: 12px;
3409  padding-right: 0;
3410}
3411.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
3412  padding-left: 0;
3413  padding-right: 0;
3414}
3415[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
3416  padding-left: 0;
3417  padding-right: 0;
3418}
3419
3420.mdc-evolution-chip__action--secondary {
3421  position: relative;
3422  overflow: visible;
3423}
3424.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary {
3425  color: var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant));
3426}
3427.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary {
3428  color: var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface));
3429}
3430.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary {
3431  padding-left: 8px;
3432  padding-right: 8px;
3433}
3434.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary {
3435  padding-left: 8px;
3436  padding-right: 8px;
3437}
3438.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary {
3439  padding-left: 8px;
3440  padding-right: 8px;
3441}
3442[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary {
3443  padding-left: 8px;
3444  padding-right: 8px;
3445}
3446
3447.mdc-evolution-chip__text-label {
3448  -webkit-user-select: none;
3449  user-select: none;
3450  white-space: nowrap;
3451  text-overflow: ellipsis;
3452  overflow: hidden;
3453}
3454.mat-mdc-standard-chip .mdc-evolution-chip__text-label {
3455  font-family: var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));
3456  line-height: var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));
3457  font-size: var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));
3458  font-weight: var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));
3459  letter-spacing: var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking));
3460}
3461.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {
3462  color: var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant));
3463}
3464.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {
3465  color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));
3466}
3467.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label, .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label {
3468  color: var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
3469}
3470
3471.mdc-evolution-chip__graphic {
3472  align-items: center;
3473  display: inline-flex;
3474  justify-content: center;
3475  overflow: hidden;
3476  pointer-events: none;
3477  position: relative;
3478  flex: 1 0 auto;
3479}
3480.mat-mdc-standard-chip .mdc-evolution-chip__graphic {
3481  width: var(--mat-chip-with-avatar-avatar-size, 24px);
3482  height: var(--mat-chip-with-avatar-avatar-size, 24px);
3483  font-size: var(--mat-chip-with-avatar-avatar-size, 24px);
3484}
3485.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic {
3486  transition: width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
3487}
3488.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic {
3489  width: 0;
3490}
3491.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
3492  padding-left: 6px;
3493  padding-right: 6px;
3494}
3495.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
3496  padding-left: 4px;
3497  padding-right: 8px;
3498}
3499[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
3500  padding-left: 8px;
3501  padding-right: 4px;
3502}
3503.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
3504  padding-left: 6px;
3505  padding-right: 6px;
3506}
3507.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
3508  padding-left: 4px;
3509  padding-right: 8px;
3510}
3511[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
3512  padding-left: 8px;
3513  padding-right: 4px;
3514}
3515.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic {
3516  padding-left: 0;
3517}
3518
3519.mdc-evolution-chip__checkmark {
3520  position: absolute;
3521  opacity: 0;
3522  top: 50%;
3523  left: 50%;
3524  height: 20px;
3525  width: 20px;
3526}
3527.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark {
3528  color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));
3529}
3530.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark {
3531  color: var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface));
3532}
3533.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark {
3534  transition: transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
3535  transform: translate(-75%, -50%);
3536}
3537.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {
3538  transform: translate(-50%, -50%);
3539  opacity: 1;
3540}
3541
3542.mdc-evolution-chip__checkmark-svg {
3543  display: block;
3544}
3545
3546.mdc-evolution-chip__checkmark-path {
3547  stroke-width: 2px;
3548  stroke-dasharray: 29.7833385;
3549  stroke-dashoffset: 29.7833385;
3550  stroke: currentColor;
3551}
3552.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path {
3553  transition: stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1);
3554}
3555.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path {
3556  stroke-dashoffset: 0;
3557}
3558@media (forced-colors: active) {
3559  .mdc-evolution-chip__checkmark-path {
3560    stroke: CanvasText !important;
3561  }
3562}
3563
3564.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing {
3565  height: 18px;
3566  width: 18px;
3567  font-size: 18px;
3568}
3569.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove {
3570  opacity: calc(var(--mat-chip-trailing-action-opacity, 1) * var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));
3571}
3572.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus {
3573  opacity: calc(var(--mat-chip-trailing-action-focus-opacity, 1) * var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));
3574}
3575
3576.mat-mdc-standard-chip {
3577  border-radius: var(--mat-chip-container-shape-radius, 8px);
3578  height: var(--mat-chip-container-height, 32px);
3579}
3580.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) {
3581  background-color: var(--mat-chip-elevated-container-color, transparent);
3582}
3583.mat-mdc-standard-chip.mdc-evolution-chip--disabled {
3584  background-color: var(--mat-chip-elevated-disabled-container-color);
3585}
3586.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) {
3587  background-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));
3588}
3589.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled {
3590  background-color: var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
3591}
3592@media (forced-colors: active) {
3593  .mat-mdc-standard-chip {
3594    outline: solid 1px;
3595  }
3596}
3597
3598.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary {
3599  border-radius: var(--mat-chip-with-avatar-avatar-shape-radius, 24px);
3600  width: var(--mat-chip-with-icon-icon-size, 18px);
3601  height: var(--mat-chip-with-icon-icon-size, 18px);
3602  font-size: var(--mat-chip-with-icon-icon-size, 18px);
3603}
3604.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary {
3605  opacity: 0;
3606}
3607.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary {
3608  color: var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant));
3609}
3610.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary {
3611  color: var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface));
3612}
3613
3614.mat-mdc-chip-highlighted {
3615  --mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));
3616  --mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));
3617  --mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));
3618  --mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0);
3619}
3620
3621.mat-mdc-chip-focus-overlay {
3622  background: var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));
3623}
3624.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay {
3625  background: var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));
3626}
3627.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay {
3628  background: var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));
3629  opacity: var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
3630}
3631.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover, .mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay {
3632  background: var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));
3633  opacity: var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
3634}
3635.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay {
3636  background: var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));
3637  opacity: var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
3638}
3639.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted.c
3639dk-focused .mat-mdc-chip-focus-overlay {
3640  background: var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));
3641  opacity: var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
3642}
3643
3644.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar {
3645  opacity: var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38);
3646}
3647
3648.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {
3649  opacity: var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38);
3650}
3651
3652.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {
3653  opacity: var(--mat-chip-with-icon-disabled-icon-opacity, 0.38);
3654}
3655
3656.mat-mdc-standard-chip.mdc-evolution-chip--disabled {
3657  opacity: var(--mat-chip-disabled-container-opacity, 1);
3658}
3659.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing {
3660  color: var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container));
3661}
3662.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {
3663  color: var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface));
3664}
3665
3666.mat-mdc-chip-edit, .mat-mdc-chip-remove {
3667  opacity: var(--mat-chip-trailing-action-opacity, 1);
3668}
3669.mat-mdc-chip-edit:focus, .mat-mdc-chip-remove:focus {
3670  opacity: var(--mat-chip-trailing-action-focus-opacity, 1);
3671}
3672.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {
3673  background-color: var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant));
3674}
3675.mat-mdc-chip-edit:hover::after, .mat-mdc-chip-remove:hover::after {
3676  opacity: calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)));
3677}
3678.mat-mdc-chip-edit:focus::after, .mat-mdc-chip-remove:focus::after {
3679  opacity: calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)));
3680}
3681
3682.mat-mdc-chip-selected .mat-mdc-chip-remove::after,
3683.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after {
3684  background-color: var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container));
3685}
3686
3687.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after {
3688  opacity: calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)));
3689}
3690.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after {
3691  opacity: calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)));
3692}
3693
3694.mat-mdc-standard-chip {
3695  -webkit-tap-highlight-color: transparent;
3696}
3697.mat-mdc-standard-chip .mat-mdc-chip-graphic,
3698.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon {
3699  box-sizing: content-box;
3700}
3701.mat-mdc-standard-chip._mat-animation-noopable,
3702.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,
3703.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,
3704.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path {
3705  transition-duration: 1ms;
3706  animation-duration: 1ms;
3707}
3708
3709.mat-mdc-chip-focus-overlay {
3710  top: 0;
3711  left: 0;
3712  right: 0;
3713  bottom: 0;
3714  position: absolute;
3715  pointer-events: none;
3716  opacity: 0;
3717  border-radius: inherit;
3718  transition: opacity 150ms linear;
3719}
3720._mat-animation-noopable .mat-mdc-chip-focus-overlay {
3721  transition: none;
3722}
3723.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay {
3724  display: none;
3725}
3726
3727.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple {
3728  top: 0;
3729  left: 0;
3730  right: 0;
3731  bottom: 0;
3732  position: absolute;
3733  pointer-events: none;
3734  border-radius: inherit;
3735}
3736
3737.mat-mdc-chip-avatar {
3738  text-align: center;
3739  line-height: 1;
3740  color: var(--mat-chip-with-icon-icon-color, currentColor);
3741}
3742
3743.mat-mdc-chip {
3744  position: relative;
3745  z-index: 0;
3746}
3747
3748.mat-mdc-chip-action-label {
3749  text-align: left;
3750  z-index: 1;
3751}
3752[dir=rtl] .mat-mdc-chip-action-label {
3753  text-align: right;
3754}
3755.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label {
3756  position: relative;
3757}
3758.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator {
3759  position: absolute;
3760  top: 0;
3761  right: 0;
3762  bottom: 0;
3763  left: 0;
3764  pointer-events: none;
3765}
3766.mat-mdc-chip-action-label .mat-focus-indicator::before {
3767  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
3768}
3769
3770.mat-mdc-chip-edit::before, .mat-mdc-chip-remove::before {
3771  margin: calc(var(--mat-focus-indicator-border-width, 3px) * -1);
3772  left: 8px;
3773  right: 8px;
3774}
3775.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {
3776  content: "";
3777  display: block;
3778  opacity: 0;
3779  position: absolute;
3780  top: -3px;
3781  bottom: -3px;
3782  left: 5px;
3783  right: 5px;
3784  border-radius: 50%;
3785  box-sizing: border-box;
3786  padding: 12px;
3787  margin: -12px;
3788  background-clip: content-box;
3789}
3790.mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {
3791  width: 18px;
3792  height: 18px;
3793  font-size: 18px;
3794  box-sizing: content-box;
3795}
3796
3797.mat-chip-edit-input {
3798  cursor: text;
3799  display: inline-block;
3800  color: inherit;
3801  outline: 0;
3802}
3803
3804@media (forced-colors: active) {
3805  .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple) {
3806    outline-width: 3px;
3807  }
3808}
3809
3810.mat-mdc-chip-action:focus-visible .mat-focus-indicator::before {
3811  content: "";
3812}
3813
3814.mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {
3815  min-height: fit-content;
3816}
3817
3818img.mdc-evolution-chip__icon {
3819  min-height: 0;
3820}
3821`;var nM=["*"],Oz=`.mat-mdc-chip-set {
3822  display: flex;
3823}
3824.mat-mdc-chip-set:focus {
3825  outline: none;
3826}
3827.mat-mdc-chip-set .mdc-evolution-chip-set__chips {
3828  min-width: 100%;
3829  margin-left: -8px;
3830  margin-right: 0;
3831}
3832.mat-mdc-chip-set .mdc-evolution-chip {
3833  margin: 4px 0 4px 8px;
3834}
3835[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips {
3836  margin-left: 0;
3837  margin-right: -8px;
3838}
3839[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip {
3840  margin-left: 0;
3841  margin-right: 8px;
3842}
3843
3844.mdc-evolution-chip-set__chips {
3845  display: flex;
3846  flex-flow: wrap;
3847  min-width: 0;
3848}
3849
3850.mat-mdc-chip-set-stacked {
3851  flex-direction: column;
3852  align-items: flex-start;
3853}
3854.mat-mdc-chip-set-stacked .mat-mdc-chip {
3855  width: 100%;
3856}
3857.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic {
3858  flex-grow: 0;
3859}
3860.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary {
3861  flex-basis: 100%;
3862  justify-content: start;
3863}
3864
3865input.mat-mdc-chip-input {
3866  flex: 1 0 150px;
3867  margin-left: 8px;
3868}
3869[dir=rtl] input.mat-mdc-chip-input {
3870  margin-left: 0;
3871  margin-right: 8px;
3872}
3873.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder {
3874  opacity: 1;
3875}
3876.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder {
3877  opacity: 1;
3878}
3879.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder {
3880  opacity: 1;
3881}
3882.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder {
3883  opacity: 1;
3884}
3885.mat-mdc-chip-set + input.mat-mdc-chip-input {
3886  margin-left: 0;
3887  margin-right: 0;
3888}
3889`,_x=new W("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),mx=new W("MatChipAvatar"),JI=new W("MatChipTrailingIcon"),eM=new W("MatChipEdit"),fx=new W("MatChipRemove"),vx=new W("MatChip"),rM=(()=>{class t{_elementRef=f(he);_parentChip=f(vx);_isPrimary=!0;_isLeading=!1;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(e){this._disabled=e}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}constructor(){f(wt).load(Ci),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","matChipContent",""]],hostAttrs:[1,"mat-mdc-chip-action","mdc-evolution-chip__action","mdc-evolution-chip__action--presentational"],hostVars:8,hostBindings:function(i,r){i&2&&(fe("disabled",r._getDisabledAttribute())("aria-disabled",r.disabled),ce("mdc-evolution-chip__action--primary",r._isPrimary)("mdc-evolution-chip__action--secondary",!r._isPrimary)("mdc-evolution-chip__action--trailing",!r._isPrimary&&!r._isLeading))},inputs:{disabled:[2,"disabled","disabled",ie],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:Yt(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return t})(),bx=(()=>{class t extends rM{_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled?null:this.tabIndex.toString()}_handleClick(e){!this.disabled&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","matChipAction",""]],hostVars:3,hostBindings:function(i,r){i&1&&de("click",function(o){return r._handleClick(o)})("keydown",function(o){return r._handleKeydown(o)}),i&2&&(fe("tabindex",r._getTabindex()),ce("mdc-evolution-chip__action--presentational",!1))},features:[Ie]})}return t})(),P1e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[Re([{provide:mx,useExisting:t}])]})}return t})();var F1e=(()=>{class t extends bx{_isPrimary=!1;_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(i,r){i&2&&fe("aria-hidden",null)},features:[Re([{provide:fx,useExisting:t}]),Ie]})}return t})(),px=(()=>{class t{_changeDetectorRef=f(Ue);_elementRef=f(he);_tagName=f(Zk);_ngZone=f(Te);_focusMonitor=f(Ii);_globalRippleOptions=f(Ks,{optional:!0});_document=f(Ve);_onFocus=new te;_onBlur=new te;_isBasicChip=!1;role=null;_hasFocusInternal=!1;_pendingFocus=!1;_actionChanges;_animationsDisabled=gt();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=f(pt).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=!1;_hadFocusOnRemove=!1;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}_disabled=!1;removed=new ne;destroyed=new ne;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=f(b0);_injector=f(He);constructor(){let e=f(wt);e.load(Ci),e.load(Or),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pe
3889ndingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Gt(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}))}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(i=>{let r=i._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){let e=[];return this.editIcon&&e.push(this.editIcon),this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),e}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().length>0}_edit(e){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let i=e!==null;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,r,a){if(i&1&&Tt(a,mx,5)(a,eM,5)(a,JI,5)(a,fx,5)(a,mx,5)(a,JI,5)(a,eM,5)(a,fx,5),i&2){let o;ae(o=oe())&&(r.leadingIcon=o.first),ae(o=oe())&&(r.editIcon=o.first),ae(o=oe())&&(r.trailingIcon=o.first),ae(o=oe())&&(r.removeIcon=o.first),ae(o=oe())&&(r._allLeadingIcons=o),ae(o=oe())&&(r._allTrailingIcons=o),ae(o=oe())&&(r._allEditIcons=o),ae(o=oe())&&(r._allRemoveIcons=o)}},viewQuery:function(i,r){if(i&1&&dt(bx,5),i&2){let a;ae(a=oe())&&(r.primaryAction=a.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(i,r){i&1&&de("keydown",function(o){return r._handleKeydown(o)}),i&2&&(si("id",r.id),fe("role",r.role)("aria-label",r.ariaLabel),$t("mat-"+(r.color||"primary")),ce("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-basic-chip",r._isBasicChip)("mat-mdc-standard-chip",!r._isBasicChip)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon())("_mat-animation-noopable",r._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",ie],highlighted:[2,"highlighted","highlighted",ie],disableRipple:[2,"disableRipple","disableRipple",ie],disabled:[2,"disabled","disabled",ie]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Re([{provide:vx,useExisting:t}])],ngContentSelectors:iM,decls:8,vars:2,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipContent",""],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,r){i&1&&(Ge(tM),we(0,"span",0),w(1,"span",1)(2,"span",2),pe(3,Mz,2,0,"span",3),w(4,"span",4),_e(5),we(6,"span",5),D()()(),pe(7,Az,2,0,"span",6)
3889),i&2&&(T(3),ge(r.leadingIcon?3:-1),T(4),ge(r._hasTrailingIcon()?7:-1))},dependencies:[rM],styles:[`.mdc-evolution-chip,
3890.mdc-evolution-chip__cell,
3891.mdc-evolution-chip__action {
3892  display: inline-flex;
3893  align-items: center;
3894}
3895
3896.mdc-evolution-chip {
3897  position: relative;
3898  max-width: 100%;
3899}
3900
3901.mdc-evolution-chip__cell,
3902.mdc-evolution-chip__action {
3903  height: 100%;
3904}
3905
3906.mdc-evolution-chip__cell--primary {
3907  flex-basis: 100%;
3908  overflow-x: hidden;
3909}
3910
3911.mdc-evolution-chip__cell--trailing {
3912  flex: 1 0 auto;
3913}
3914
3915.mdc-evolution-chip__action {
3916  align-items: center;
3917  background: none;
3918  border: none;
3919  box-sizing: content-box;
3920  cursor: pointer;
3921  display: inline-flex;
3922  justify-content: center;
3923  outline: none;
3924  padding: 0;
3925  text-decoration: none;
3926  color: inherit;
3927}
3928
3929.mdc-evolution-chip__action--presentational {
3930  cursor: auto;
3931}
3932
3933.mdc-evolution-chip--disabled,
3934.mdc-evolution-chip__action:disabled {
3935  pointer-events: none;
3936}
3937@media (forced-colors: active) {
3938  .mdc-evolution-chip--disabled,
3939  .mdc-evolution-chip__action:disabled {
3940    forced-color-adjust: none;
3941  }
3942}
3943
3944.mdc-evolution-chip__action--primary {
3945  font: inherit;
3946  letter-spacing: inherit;
3947  white-space: inherit;
3948  overflow-x: hidden;
3949}
3950.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before {
3951  border-width: var(--mat-chip-outline-width, 1px);
3952  border-radius: var(--mat-chip-container-shape-radius, 8px);
3953  box-sizing: border-box;
3954  content: "";
3955  height: 100%;
3956  left: 0;
3957  position: absolute;
3958  pointer-events: none;
3959  top: 0;
3960  width: 100%;
3961  z-index: 1;
3962  border-style: solid;
3963}
3964.mat-mdc-standard-chip .mdc-evolution-chip__action--primary {
3965  padding-left: 12px;
3966  padding-right: 12px;
3967}
3968.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
3969  padding-left: 0;
3970  padding-right: 12px;
3971}
3972[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
3973  padding-left: 12px;
3974  padding-right: 0;
3975}
3976.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before {
3977  border-color: var(--mat-chip-outline-color, var(--mat-sys-outline));
3978}
3979.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before {
3980  border-color: var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant));
3981}
3982.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before {
3983  border-color: var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
3984}
3985.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before {
3986  border-width: var(--mat-chip-flat-selected-outline-width, 0);
3987}
3988.mat-mdc-basic-chip .mdc-evolution-chip__action--primary {
3989  font: inherit;
3990}
3991.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {
3992  padding-left: 0;
3993  padding-right: 12px;
3994}
3995[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {
3996  padding-left: 12px;
3997  padding-right: 0;
3998}
3999.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
4000  padding-left: 12px;
4001  padding-right: 0;
4002}
4003[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
4004  padding-left: 0;
4005  padding-right: 12px;
4006}
4007.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
4008  padding-left: 0;
4009  padding-right: 0;
4010}
4011.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
4012  padding-left: 0;
4013  padding-right: 0;
4014}
4015[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
4016  padding-left: 0;
4017  padding-right: 0;
4018}
4019.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
4020  padding-left: 0;
4021  padding-right: 12px;
4022}
4023[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
4024  padding-left: 12px;
4025  padding-right: 0;
4026}
4027.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
4028  padding-left: 0;
4029  padding-right: 0;
4030}
4031[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
4032  padding-left: 0;
4033  padding-right: 0;
4034}
4035
4036.mdc-evolution-chip__action--secondary {
4037  position: relative;
4038  overflow: visible;
4039}
4040.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary {
4041  color: var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant));
4042}
4043.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary {
4044  color: var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface));
4045}
4046.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary {
4047  padding-left: 8px;
4048  padding-right: 8px;
4049}
4050.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary {
4051  padding-left: 8px;
4052  padding-right: 8px;
4053}
4054.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary {
4055  padding-left: 8px;
4056  padding-right: 8px;
4057}
4058[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary {
4059  padding-left: 8px;
4060  padding-right: 8px;
4061}
4062
4063.mdc-evolution-chip__text-label {
4064  -webkit-user-select: none;
4065  user-select: none;
4066  white-space: nowrap;
4067  text-overflow: ellipsis;
4068  overflow: hidden;
4069}
4070.mat-mdc-standard-chip .mdc-evolution-chip__text-label {
4071  font-family: var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));
4072  line-height: var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));
4073  font-size: var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));
4074  font-weight: var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));
4075  letter-spacing: var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking));
4076}
4077.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {
4078  color: var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant));
4079}
4080.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {
4081  color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));
4082}
4083.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label, .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label {
4084  color: var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
4085}
4086
4087.mdc-evolution-chip__graphic {
4088  align-items: center;
4089  display: inline-flex;
4090  justify-content: center;
4091  overflow: hidden;
4092  pointer-events: none;
4093  position: relative;
4094  flex: 1 0 auto;
4095}
4096.mat-mdc-standard-chip .mdc-evolution-chip__graphic {
4097  width: var(--mat-chip-with-avatar-avatar-size, 24px);
4098  height: var(--mat-chip-with-avatar-avatar-size, 24px);
4099  font-size: var(--mat-chip-with-avatar-avatar-size, 24px);
4100}
4101.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic {
4102  transition: width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
4103}
4104.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic {
4105  width: 0;
4106}
4107.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
4108  padding-left: 6px;
4109  padding-right: 6px;
4110}
4111.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
4112  padding-left: 4px;
4113  padding-right: 8px;
4114}
4115[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
4116  padding-left: 8px;
4117  padding-right: 4px;
4118}
4119.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
4120  padding-left: 6px;
4121  padding-right: 6px;
4122}
4123.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
4124  padding-left: 4px;
4125  padding-right: 8px;
4126}
4127[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
4128  padding-left: 8px;
4129  padding-right: 4px;
4130}
4131.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic {
4132  padding-left: 0;
4133}
4134
4135.mdc-evolution-chip__checkmark {
4136  position: absolute;
4137  opacity: 0;
4138  top: 50%;
4139  left: 50%;
4140  height: 20px;
4141  width: 20px;
4142}
4143.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark {
4144  color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));
4145}
4146.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark {
4147  color: var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface));
4148}
4149.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark {
4150  transition: transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
4151  transform: translate(-75%, -50%);
4152}
4153.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {
4154  transform: translate(-50%, -50%);
4155  opacity: 1;
4156}
4157
4158.mdc-evolution-chip__checkmark-svg {
4159  display: block;
4160}
4161
4162.mdc-evolution-chip__checkmark-path {
4163  stroke-width: 2px;
4164  stroke-dasharray: 29.7833385;
4165  stroke-dashoffset: 29.7833385;
4166  stroke: currentColor;
4167}
4168.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path {
4169  transition: stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1);
4170}
4171.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path {
4172  stroke-dashoffset: 0;
4173}
4174@media (forced-colors: active) {
4175  .mdc-evolution-chip__checkmark-path {
4176    stroke: CanvasText !important;
4177  }
4178}
4179
4180.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing {
4181  height: 18px;
4182  width: 18px;
4183  font-size: 18px;
4184}
4185.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove {
4186  opacity: calc(var(--mat-chip-trailing-action-opacity, 1) * var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));
4187}
4188.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus {
4189  opacity: calc(var(--mat-chip-trailing-action-focus-opacity, 1) * var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));
4190}
4191
4192.mat-mdc-standard-chip {
4193  border-radius: var(--mat-chip-container-shape-radius, 8px);
4194  height: var(--mat-chip-container-height, 32px);
4195}
4196.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) {
4197  background-color: var(--mat-chip-elevated-container-color, transparent);
4198}
4199.mat-mdc-standard-chip.mdc-evolution-chip--disabled {
4200  background-color: var(--mat-chip-elevated-disabled-container-color);
4201}
4202.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) {
4203  background-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));
4204}
4205.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled {
4206  background-color: var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
4207}
4208@media (forced-colors: active) {
4209  .mat-mdc-standard-chip {
4210    outline: solid 1px;
4211  }
4212}
4213
4214.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary {
4215  border-radius: var(--mat-chip-with-avatar-avatar-shape-radius, 24px);
4216  width: var(--mat-chip-with-icon-icon-size, 18px);
4217  height: var(--mat-chip-with-icon-icon-size, 18px);
4218  font-size: var(--mat-chip-with-icon-icon-size, 18px);
4219}
4220.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary {
4221  opacity: 0;
4222}
4223.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary {
4224  color: var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant));
4225}
4226.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary {
4227  color: var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface));
4228}
4229
4230.mat-mdc-chip-highlighted {
4231  --mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));
4232  --mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));
4233  --mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));
4234  --mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0);
4235}
4236
4237.mat-mdc-chip-focus-overlay {
4238  background: var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));
4239}
4240.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay {
4241  background: var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));
4242}
4243.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay {
4244  background: var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));
4245  opacity: var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
4246}
4247.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover, .mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay {
4248  background: var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));
4249  opacity: var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
4250}
4251.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay {
4252  background: var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));
4253  opacity: var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
4254}
4255.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted.c
4255dk-focused .mat-mdc-chip-focus-overlay {
4256  background: var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));
4257  opacity: var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
4258}
4259
4260.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar {
4261  opacity: var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38);
4262}
4263
4264.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {
4265  opacity: var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38);
4266}
4267
4268.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {
4269  opacity: var(--mat-chip-with-icon-disabled-icon-opacity, 0.38);
4270}
4271
4272.mat-mdc-standard-chip.mdc-evolution-chip--disabled {
4273  opacity: var(--mat-chip-disabled-container-opacity, 1);
4274}
4275.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing {
4276  color: var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container));
4277}
4278.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {
4279  color: var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface));
4280}
4281
4282.mat-mdc-chip-edit, .mat-mdc-chip-remove {
4283  opacity: var(--mat-chip-trailing-action-opacity, 1);
4284}
4285.mat-mdc-chip-edit:focus, .mat-mdc-chip-remove:focus {
4286  opacity: var(--mat-chip-trailing-action-focus-opacity, 1);
4287}
4288.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {
4289  background-color: var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant));
4290}
4291.mat-mdc-chip-edit:hover::after, .mat-mdc-chip-remove:hover::after {
4292  opacity: calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)));
4293}
4294.mat-mdc-chip-edit:focus::after, .mat-mdc-chip-remove:focus::after {
4295  opacity: calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)));
4296}
4297
4298.mat-mdc-chip-selected .mat-mdc-chip-remove::after,
4299.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after {
4300  background-color: var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container));
4301}
4302
4303.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after {
4304  opacity: calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)));
4305}
4306.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after {
4307  opacity: calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)));
4308}
4309
4310.mat-mdc-standard-chip {
4311  -webkit-tap-highlight-color: transparent;
4312}
4313.mat-mdc-standard-chip .mat-mdc-chip-graphic,
4314.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon {
4315  box-sizing: content-box;
4316}
4317.mat-mdc-standard-chip._mat-animation-noopable,
4318.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,
4319.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,
4320.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path {
4321  transition-duration: 1ms;
4322  animation-duration: 1ms;
4323}
4324
4325.mat-mdc-chip-focus-overlay {
4326  top: 0;
4327  left: 0;
4328  right: 0;
4329  bottom: 0;
4330  position: absolute;
4331  pointer-events: none;
4332  opacity: 0;
4333  border-radius: inherit;
4334  transition: opacity 150ms linear;
4335}
4336._mat-animation-noopable .mat-mdc-chip-focus-overlay {
4337  transition: none;
4338}
4339.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay {
4340  display: none;
4341}
4342
4343.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple {
4344  top: 0;
4345  left: 0;
4346  right: 0;
4347  bottom: 0;
4348  position: absolute;
4349  pointer-events: none;
4350  border-radius: inherit;
4351}
4352
4353.mat-mdc-chip-avatar {
4354  text-align: center;
4355  line-height: 1;
4356  color: var(--mat-chip-with-icon-icon-color, currentColor);
4357}
4358
4359.mat-mdc-chip {
4360  position: relative;
4361  z-index: 0;
4362}
4363
4364.mat-mdc-chip-action-label {
4365  text-align: left;
4366  z-index: 1;
4367}
4368[dir=rtl] .mat-mdc-chip-action-label {
4369  text-align: right;
4370}
4371.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label {
4372  position: relative;
4373}
4374.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator {
4375  position: absolute;
4376  top: 0;
4377  right: 0;
4378  bottom: 0;
4379  left: 0;
4380  pointer-events: none;
4381}
4382.mat-mdc-chip-action-label .mat-focus-indicator::before {
4383  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
4384}
4385
4386.mat-mdc-chip-edit::before, .mat-mdc-chip-remove::before {
4387  margin: calc(var(--mat-focus-indicator-border-width, 3px) * -1);
4388  left: 8px;
4389  right: 8px;
4390}
4391.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {
4392  content: "";
4393  display: block;
4394  opacity: 0;
4395  position: absolute;
4396  top: -3px;
4397  bottom: -3px;
4398  left: 5px;
4399  right: 5px;
4400  border-radius: 50%;
4401  box-sizing: border-box;
4402  padding: 12px;
4403  margin: -12px;
4404  background-clip: content-box;
4405}
4406.mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {
4407  width: 18px;
4408  height: 18px;
4409  font-size: 18px;
4410  box-sizing: content-box;
4411}
4412
4413.mat-chip-edit-input {
4414  cursor: text;
4415  display: inline-block;
4416  color: inherit;
4417  outline: 0;
4418}
4419
4420@media (forced-colors: active) {
4421  .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple) {
4422    outline-width: 3px;
4423  }
4424}
4425
4426.mat-mdc-chip-action:focus-visible .mat-focus-indicator::before {
4427  content: "";
4428}
4429
4430.mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {
4431  min-height: fit-content;
4432}
4433
4434img.mdc-evolution-chip__icon {
4435  min-height: 0;
4436}
4437`],encapsulation:2,changeDetection:0})}return t})();var Nz=(()=>{class t extends px{_defaultOptions=f(_x,{optional:!0});chipListSelectable=!0;_chipListMultiple=!1;_chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=e,this._changeDetectorRef.markForCheck()}_selectable=!0;get selected(){return this._selected}set selected(e){this._setSelectedState(e,!1,!0)}_selected=!1;get ariaSelected(){return this.selectable?this.selected.toString():null}basicChipAttrName="mat-basic-chip-option";selectionChange=new ne;ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(e=!1){return this._setSelectedState(!this.selected,e,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(e,i,r){e!==this.selected&&(this._selected=e,r&&this.selectionChange.emit({source:this,isUserInput:i,selected:this.selected}),this._changeDetectorRef.markForCheck())}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=ue({type:t,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(i,r){i&2&&(si("id",r.id),fe("tabindex",null)("aria-label",null)("aria-description",null)("role",r.role),ce("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--filter",!r._isBasicChip)("mdc-evolution-chip--selectable",!r._isBasicChip)("mat-mdc-chip-selected",r.selected)("mat-mdc-chip-multiple",r._chipListMultiple)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-chip-with-avatar",r.leadingIcon)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--selected",r.selected)("mdc-evolution-chip--selecting",!r._animationsDisabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-primary-graphic",r._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",ie],selected:[2,"selected","selected",ie]},outputs:{selectionChange:"selectionChange"},features:[Re([{provide:px,useExisting:t},{provide:vx,useExisting:t}]),Ie],ngContentSelectors:iM,decls:8,vars:6,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(i,r){i&1&&(Ge(tM),we(0,"span",0),w(1,"span",1)(2,"button",2),pe(3,Rz,5,0,"span",3),w(4,"span",4),_e(5),we(6,"span",5),D()()(),pe(7,Pz,2,0,"span",6)
4437),i&2&&(T(2),se("_allowFocusWhenDisabled",!0),fe("aria-description",r.ariaDescription)("aria-label",r.ariaLabel)("aria-selected",r.ariaSelected),T(),ge(r._hasLeadingGraphic()?3:-1),T(4),ge(r._hasTrailingIcon()?7:-1))},dependencies:[bx],styles:[Fz],encapsulation:2,changeDetection:0})}return t})();var Lz=(()=>{class t{_elementRef=f(he);_changeDetectorRef=f(Ue);_dir=f(Vt,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new te;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(e){this._explicitRole=e}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new en;constructor(){}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&e<this._chips.length}_allowFocusEscape(){let e=this._elementRef.nativeElement.tabIndex;e!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=e))}_getChipStream(e){return this._chips.changes.pipe(bt(null),gi(()=>Gt(...this._chips.map(e))))}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-mdc-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(bt(this._chips)).subscribe(e=>{let i=[];e.forEach(r=>r._getActions().forEach(a=>i.push(a))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new fr(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(Ne(this._destroyed)).subscribe(({chip:e})=>{let i=e._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(Ne(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(bt(null),Ne(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(Ne(this._destroyed)).subscribe(e=>{let r=this._chips.toArray().indexOf(e.chip),a=e.chip._hasFocus(),o=e.chip._hadFocusOnRemove&&this._keyManager.activeItem&&e.chip._getActions().includes(this._keyManager.activeItem),s=a||o;this._isValidIndex(r)&&s&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[e];i.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-chip-set"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,px,5),i&2){let o;ae(o=oe())&&(r._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,r){i&1&&de("keydown",function(o){return r._handleKeydown(o)}),i&2&&fe("role",r.role)},inputs:{disabled:[2,"disabled","disabled",ie],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Yt(e)]},ngContentSelectors:nM,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,r){i&1&&(Ge(),Rt(0,"div",0),_e(1),Lt
4437())},styles:[`.mat-mdc-chip-set {
4438  display: flex;
4439}
4440.mat-mdc-chip-set:focus {
4441  outline: none;
4442}
4443.mat-mdc-chip-set .mdc-evolution-chip-set__chips {
4444  min-width: 100%;
4445  margin-left: -8px;
4446  margin-right: 0;
4447}
4448.mat-mdc-chip-set .mdc-evolution-chip {
4449  margin: 4px 0 4px 8px;
4450}
4451[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips {
4452  margin-left: 0;
4453  margin-right: -8px;
4454}
4455[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip {
4456  margin-left: 0;
4457  margin-right: 8px;
4458}
4459
4460.mdc-evolution-chip-set__chips {
4461  display: flex;
4462  flex-flow: wrap;
4463  min-width: 0;
4464}
4465
4466.mat-mdc-chip-set-stacked {
4467  flex-direction: column;
4468  align-items: flex-start;
4469}
4470.mat-mdc-chip-set-stacked .mat-mdc-chip {
4471  width: 100%;
4472}
4473.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic {
4474  flex-grow: 0;
4475}
4476.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary {
4477  flex-basis: 100%;
4478  justify-content: start;
4479}
4480
4481input.mat-mdc-chip-input {
4482  flex: 1 0 150px;
4483  margin-left: 8px;
4484}
4485[dir=rtl] input.mat-mdc-chip-input {
4486  margin-left: 0;
4487  margin-right: 8px;
4488}
4489.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder {
4490  opacity: 1;
4491}
4492.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder {
4493  opacity: 1;
4494}
4495.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder {
4496  opacity: 1;
4497}
4498.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder {
4499  opacity: 1;
4500}
4501.mat-mdc-chip-set + input.mat-mdc-chip-input {
4502  margin-left: 0;
4503  margin-right: 0;
4504}
4505`],encapsulation:2,changeDetection:0})}return t})(),gx=class{source;value;constructor(n,e){this.source=n,this.value=e}},Bz={provide:xn,useExisting:_i(()=>Vz),multi:!0},Vz=(()=>{class t extends Lz{_onTouched=()=>{};_onChange=()=>{};_defaultRole="listbox";_defaultOptions=f(_x,{optional:!0});get multiple(){return this._multiple}set multiple(e){this._multiple=e,this._syncListboxProperties()}_multiple=!1;get selected(){let e=this._chips.toArray().filter(i=>i.selected);return this.multiple?e:e[0]}ariaOrientation="horizontal";get selectable(){return this._selectable}set selectable(e){this._selectable=e,this._syncListboxProperties()}_selectable=!0;compareWith=(e,i)=>e===i;required=!1;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncListboxProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get chipSelectionChanges(){return this._getChipStream(e=>e.selectionChange)}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get value(){return this._value}set value(e){this._chips&&this._chips.length&&this._setSelectionByValue(e,!1),this._value=e}_value;change=new ne;_chips=void 0;ngAfterContentInit(){this._chips.changes.pipe(bt(null),Ne(this._destroyed)).subscribe(()=>{this.value!==void 0&&Promise.resolve().then(()=>{this._setSelectionByValue(this.value,!1)}),this._syncListboxProperties()}),this.chipBlurChanges.pipe(Ne(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(Ne(this._destroyed)).subscribe(e=>{this.multiple||this._chips.forEach(i=>{i!==e.source&&i._setSelectedState(!1,!1,!1)}),e.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;let e=this._getFirstSelectedChip();e&&!e.disabled?e.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(e){e!=null?this.value=e:this.value=void 0}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_setSelectionByValue(e,i=!0){this._clearSelection(),Array.isArray(e)?e.forEach(r=>this._selectValue(r,i)):this._selectValue(e,i)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(e){e.keyCode===9&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let e=null;Array.isArray(this.selected)?e=this.selected.map(i=>i.value):e=this.selected?this.selected.value:void 0,this._value=e,this.change.emit(new gx(this,e)),this._onChange(e),this._changeDetectorRef.markForCheck()}_clearSelection(e){this._chips.forEach(i=>
4505{i!==e&&i.deselect()})}_selectValue(e,i){let r=this._chips.find(a=>a.value!=null&&this.compareWith(a.value,e));return r&&(i?r.selectViaInteraction():r.select()),r}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(e=>{e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable,e._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,e._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(e){return!1}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=ue({type:t,selectors:[["mat-chip-listbox"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,Nz,5),i&2){let o;ae(o=oe())&&(r._chips=o)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:10,hostBindings:function(i,r){i&1&&de("focus",function(){return r.focus()})("blur",function(){return r._blur()})("keydown",function(o){return r._keydown(o)}),i&2&&(si("tabIndex",r.disabled||r.empty?-1:r.tabIndex),fe("role",r.role)("aria-required",r.role?r.required:null)("aria-disabled",r.disabled.toString())("aria-multiselectable",r.multiple)("aria-orientation",r.ariaOrientation),ce("mat-mdc-chip-list-disabled",r.disabled)("mat-mdc-chip-list-required",r.required))},inputs:{multiple:[2,"multiple","multiple",ie],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",ie],compareWith:"compareWith",required:[2,"required","required",ie],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",ie],value:"value"},outputs:{change:"change"},features:[Re([Bz]),Ie],ngContentSelectors:nM,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,r){i&1&&(Ge(),Rt(0,"div",0),_e(1),Lt())},styles:[Oz],encapsulation:2,changeDetection:0})}return t})();var O1e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({providers:[Co,{provide:_x,useValue:{separatorKeyCodes:[13]}}],imports:[Nr,Ye]})}return t})();var yx=new W("MAT_DATE_LOCALE",{providedIn:"root",factory:()=>f(nd)}),Yd="Method not implemented",Jn=class{locale;_localeChanges=new te;localeChanges=this._localeChanges;setTime(n,e,i,r){throw new Error(Yd)}getHours(n){throw new Error(Yd)}getMinutes(n){throw new Error(Yd)}getSeconds(n){throw new Error(Yd)}parseTime(n,e){throw new Error(Yd)}addSeconds(n,e){throw new Error(Yd)}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,e){return this.getYear(n)-this.getYear(e)||this.getMonth(n)-this.getMonth(e)||this.getDate(n)-this.getDate(e)}compareTime(n,e){return this.getHours(n)-this.getHours(e)||this.getMinutes(n)-this.getMinutes(e)||this.getSeconds(n)-this.getSeconds(e)}sameDate(n,e){if(n&&e){let i=this.isValid(n),r=this.isValid(e);return i&&r?!this.compareDate(n,e):i==r}return n==e}sameTime(n,e){if(n&&e){let i=this.isValid(n),r=this.isValid(e);return i&&r?!this.compareTime(n,e):i==r}return n==e}clampDate(n,e,i){return e&&this.compareDate(n,e)<0?e:i&&this.compareDate(n,i)>0?i:n}},ol=new W("mat-date-formats");var Uz=["mat-calendar-body",""];function zz(t,n){return this._trackRow(n)}var uM=(t,n)=>n.id;function jz(t,n){if(t&1&&(Rt(0,"tr",0)(1,"td",3),Q(2),Lt()()),t&2){let e=j();T(),Gi("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),fe("colspan",e.numCols),T(),Jt(" ",e.label," ")}}function Hz(t,n){if(t&1&&(Rt(0,"td",3),Q(1),Lt()),t&2){let e=j(2);Gi("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),fe("colspan",e._firstRowOffset),T(),Jt(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function $z(t,n){if(t&1){let e=Pt();Rt(0,"td",6)(1,"button",7),ed("click",function(r){let a=$e(e).$implicit,o=j(2);return We(o._cellClicked(a,r))})("focus",function(r){let a=$e(e).$implicit,o=j(2);return We(o._emitActiveDateChange(a,r))}),Rt(2,"span",8),Q(3),Lt(),Wi(4,"span",9),Lt()()}if(t&2){let e=n.$implicit,i=n.$index,r=j().$index,a=j();Gi("width",a._cellWidth)("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),fe("data-mat-row",r)("data-mat-col",i),T(),$t(e.cssClasse
4505s),ce("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",a._isActiveCell(r,i))("mat-calendar-body-range-start",a._isRangeStart(e.compareValue))("mat-calendar-body-range-end",a._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",a._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",a._isComparisonBridgeStart(e.compareValue,r,i))("mat-calendar-body-comparison-bridge-end",a._isComparisonBridgeEnd(e.compareValue,r,i))("mat-calendar-body-comparison-start",a._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",a._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",a._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",a._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",a._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",a._isInPreview(e.compareValue)),si("tabIndex",a._isActiveCell(r,i)?0:-1),fe("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",a._isSelected(e.compareValue))("aria-current",a.todayValue===e.compareValue?"date":null)("aria-describedby",a._getDescribedby(e.compareValue)),T(),ce("mat-calendar-body-selected",a._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",a._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",a.todayValue===e.compareValue),T(),Jt(" ",e.displayValue," ")}}function Wz(t,n){if(t&1&&(Rt(0,"tr",1),pe(1,Hz,2,6,"td",4),tn(2,$z,5,49,"td",5,uM),Lt()),t&2){let e=n.$implicit,i=n.$index,r=j();T(),ge(i===0&&r._firstRowOffset?1:-1),T(),nn(e)}}function Gz(t,n){if(t&1&&(w(0,"th",2)(1,"span",6),Q(2),D(),w(3,"span",3),Q(4),D()()),t&2){let e=n.$implicit;T(2),Bt(e.long),T(2),Bt(e.narrow)}}var qz=["*"];function Yz(t,n){}function Xz(t,n){if(t&1){let e=Pt();w(0,"mat-month-view",4),$l("activeDateChange",function(r){$e(e);let a=j();return Hl(a.activeDate,r)||(a.activeDate=r),We(r)}),de("_userSelection",function(r){$e(e);let a=j();return We(a._dateSelected(r))})("dragStarted",function(r){$e(e);let a=j();return We(a._dragStarted(r))})("dragEnded",function(r){$e(e);let a=j();return We(a._dragEnded(r))}),D()}if(t&2){let e=j();jl("activeDate",e.activeDate),se("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function Kz(t,n){if(t&1){let e=Pt();w(0,"mat-year-view",5),$l("activeDateChange",function(r){$e(e);let a=j();return Hl(a.activeDate,r)||(a.activeDate=r),We(r)}),de("monthSelected",function(r){$e(e);let a=j();return We(a._monthSelectedInYearView(r))})("selectedChange",function(r){$e(e);let a=j();return We(a._goToDateInView(r,"month"))}),D()}if(t&2){let e=j();jl("activeDate",e.activeDate),se("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Qz(t,n){if(t&1){let e=Pt();w(0,"mat-multi-year-view",6),$l("activeDateChange",function(r){$e(e);let a=j();return Hl(a.activeDate,r)||(a.activeDate=r),We(r)}),de("yearSelected",function(r){$e(e);let a=j();return We(a._yearSelectedInMultiYearView(r))})("selectedChange",function(r){$e(e);let a=j();return We(a._goToDateInView(r,"year"))}),D()}if(t&2){let e=j();jl("activeDate",e.activeDate),se("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Zz(t,n){}var Jz=["button"],ej=[[["","matDatepickerToggleIcon",""]]],tj=["[matDatepickerToggleIcon]"];function ij(t,n){t&1&&(ui(),w(0,"svg",2),we(1,"path",3),D())}var Qd=(()=>{class t{changes=new te;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,i){return`${e} \u2013 ${i}`}formatYearRangeLabel(e,i){return`${e} to ${i}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),nj=0,wm=class{value;displayValue;ariaLabel;enabled;compareValue;rawValue;id=nj++;
4505cssClasses;constructor(n,e,i,r,a,o=n,s){this.value=n,this.displayValue=e,this.ariaLabel=i,this.enabled=r,this.compareValue=o,this.rawValue=s,this.cssClasses=a instanceof Set?Array.from(a):a}},rj={passive:!1,capture:!0},ig={passive:!0,capture:!0},aM={passive:!0},Kd=(()=>{class t{_elementRef=f(he);_ngZone=f(Te);_platform=f(ht);_intl=f(Qd);_eventCleanups;_skipNextFocus=!1;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart=null;comparisonEnd=null;previewStart=null;previewEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;selectedValueChange=new ne;previewChange=new ne;activeDateChange=new ne;dragStarted=new ne;dragEnded=new ne;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=f(He);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=f(ft),i=f(pt);this._startDateLabelId=i.getId("mat-calendar-body-start-"),this._endDateLabelId=i.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=i.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=i.getId("mat-calendar-body-comparison-end-"),f(wt).load(Ci),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,a=[e.listen(r,"touchmove",this._touchmoveHandler,rj),e.listen(r,"mouseenter",this._enterHandler,ig),e.listen(r,"focus",this._enterHandler,ig),e.listen(r,"mouseleave",this._leaveHandler,ig),e.listen(r,"blur",this._leaveHandler,ig),e.listen(r,"mousedown",this._mousedownHandler,aM),e.listen(r,"touchstart",this._mousedownHandler,aM)];this._platform.isBrowser&&a.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=a})}_cellClicked(e,i){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:i})}_emitActiveDateChange(e,i){e.enabled&&this.activeDateChange.emit({value:e.value,event:i})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let i=e.numCols,{rows:r,numCols:a}=this;(e.rows||i)&&(this._firstRowOffset=r&&r.length&&r[0].length?a-r[0].length:0),(e.cellAspectRatio||i||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/a}%`),(i||!this._cellWidth)&&(this._cellWidth=`${100/a}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,i){let r=e*this.numCols+i;return e&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(e=!0){Nt(()=>{setTimeout(()=>{let i=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(e||(this._skipNextFocus=!0),i.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return Cx(e,this.startValue,this.endValue)}_isRangeEnd(e){return Sx(e,this.startValue,this.endValue)}_isInRange(e){return kx(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return Cx(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,i,r){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let a=this.rows[i][r-1];if(!a){let o=this.rows[i-1];a=o&&o[o.length-1]}return a&&!this._isRangeEnd(a.compareValue)}_isComparisonBridgeEnd(e,i,r){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let a=this.rows[i][r+1];if(!a){let o=this.rows[i+1];a=o&&o[0]}return a&&!this._isRangeStart(a.compareValue)}_isComparisonEnd(e){return Sx(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return kx(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return Cx(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return Sx(e,this.previewStart,this.previewEnd)}_isInPreview(e){return kx(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let i=this._getCellFromElement(e.target);i&&this._ngZone.run(()=>this.previewChange.emit({value:i.enabled?i:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let i=oM(e),r=i?this._getCellFromElement(i):null;i!==e.target&&(this._didDragSinceMouseDown=!0),wx(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r?.enabled?r:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let i=e.target&&this._getCellFromElement(e.target);!i||!this._isInRange(i.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:i.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let i=wx(e.target);if(!i){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}i.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let r=this._getCellFromElement(i);this.dragEnded.emit({value:r?.rawValue??null,event:e})})};_touchendHandler=e=>{let i=oM(e);i&&this._mouseupHandler({target:i})};_getCellFromElement(e){let i=wx(e);if(i){let r=i.getAttribute("data-mat-row"),a=i.getAttribute("data-mat-col");if(r&&a)return this.rows[parseInt(r)]?.[parseInt(a)]||null}return null}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numC
4505ols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[lt],attrs:Uz,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(i,r){i&1&&(pe(0,jz,3,6,"tr",0),tn(1,Wz,4,1,"tr",1,zz,!0),Rt(3,"span",2),Q(4),Lt(),Rt(5,"span",2),Q(6),Lt(),Rt(7,"span",2),Q(8),Lt(),Rt(9,"span",2),Q(10),Lt()),i&2&&(ge(r._firstRowOffset<r.labelMinRequiredCells?0:-1),T(),nn(r.rows),T(2),si("id",r._startDateLabelId),T(),Jt(" ",r.startDateAccessibleName,`
4506`),T(),si("id",r._endDateLabelId),T(),Jt(" ",r.endDateAccessibleName,`
4507`),T(),si("id",r._comparisonStartDateLabelId),T(),td(" ",r.comparisonDateAccessibleName," ",r.startDateAccessibleName,`
4508`),T(),si("id",r._comparisonEndDateLabelId),T(),td(" ",r.comparisonDateAccessibleName," ",r.endDateAccessibleName,`
4509`))},styles:[`.mat-calendar-body {
4510  min-width: 224px;
4511}
4512
4513.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
4514  border-color: var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary));
4515}
4516
4517.mat-calendar-body-label {
4518  height: 0;
4519  line-height: 0;
4520  text-align: start;
4521  padding-left: 4.7142857143%;
4522  padding-right: 4.7142857143%;
4523  font-size: var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size));
4524  font-weight: var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight));
4525  color: var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface));
4526}
4527
4528.mat-calendar-body-hidden-label {
4529  display: none;
4530}
4531
4532.mat-calendar-body-cell-container {
4533  position: relative;
4534  height: 0;
4535  line-height: 0;
4536}
4537
4538.mat-calendar-body-cell {
4539  position: absolute;
4540  top: 0;
4541  left: 0;
4542  width: 100%;
4543  height: 100%;
4544  background: none;
4545  text-align: center;
4546  outline: none;
4547  margin: 0;
4548  font-family: var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));
4549  font-size: var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size));
4550  -webkit-user-select: none;
4551  user-select: none;
4552  cursor: pointer;
4553  outline: none;
4554  border: none;
4555  -webkit-tap-highlight-color: transparent;
4556}
4557.mat-calendar-body-cell::-moz-focus-inner {
4558  border: 0;
4559}
4560
4561.mat-calendar-body-cell::before,
4562.mat-calendar-body-cell::after,
4563.mat-calendar-body-cell-preview {
4564  content: "";
4565  position: absolute;
4566  top: 5%;
4567  left: 0;
4568  z-index: 0;
4569  box-sizing: border-box;
4570  display: block;
4571  height: 90%;
4572  width: 100%;
4573}
4574
4575.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,
4576.mat-calendar-body-range-start::after,
4577.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,
4578.mat-calendar-body-comparison-start::after,
4579.mat-calendar-body-preview-start .mat-calendar-body-cell-preview {
4580  left: 5%;
4581  width: 95%;
4582  border-top-left-radius: 999px;
4583  border-bottom-left-radius: 999px;
4584}
4585[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,
4586[dir=rtl] .mat-calendar-body-range-start::after,
4587[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,
4588[dir=rtl] .mat-calendar-body-comparison-start::after,
4589[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview {
4590  left: 0;
4591  border-radius: 0;
4592  border-top-right-radius: 999px;
4593  border-bottom-right-radius: 999px;
4594}
4595
4596.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,
4597.mat-calendar-body-range-end::after,
4598.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,
4599.mat-calendar-body-comparison-end::after,
4600.mat-calendar-body-preview-end .mat-calendar-body-cell-preview {
4601  width: 95%;
4602  border-top-right-radius: 999px;
4603  border-bottom-right-radius: 999px;
4604}
4605[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,
4606[dir=rtl] .mat-calendar-body-range-end::after,
4607[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,
4608[dir=rtl] .mat-calendar-body-comparison-end::after,
4609[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview {
4610  left: 5%;
4611  border-radius: 0;
4612  border-top-left-radius: 999px;
4613  border-bottom-left-radius: 999px;
4614}
4615
4616[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,
4617[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after {
4618  width: 95%;
4619  border-top-right-radius: 999px;
4620  border-bottom-right-radius: 999px;
4621}
4622
4623.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after, [dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,
4624.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,
4625[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after {
4626  width: 90%;
4627}
4628
4629.mat-calendar-body-in-preview {
4630  color: var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary));
4631}
4632.mat-calendar-body-in-preview .mat-calendar-body-cell-preview {
4633  border-top: dashed 1px;
4634  border-bottom: dashed 1px;
4635}
4636
4637.mat-calendar-body-preview-start .mat-calendar-body-cell-preview {
4638  border-left: dashed 1px;
4639}
4640[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview {
4641  border-left: 0;
4642  border-right: dashed 1px;
4643}
4644
4645.mat-calendar-body-preview-end .mat-calendar-body-cell-preview {
4646  border-right: dashed 1px;
4647}
4648[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview {
4649  border-right: 0;
4650  border-left: dashed 1px;
4651}
4652
4653.mat-calendar-body-disabled {
4654  cursor: default;
4655}
4656.mat-calendar-body-disabled > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
4657  color: var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
4658}
4659.mat-calendar-body-disabled > .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
4660  border-color: var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
4661}
4662@media (forced-colors: active) {
4663  .mat-calendar-body-disabled {
4664    opacity: 0.5;
4665  }
4666}
4667
4668.mat-calendar-body-cell-content {
4669  top: 5%;
4670  left: 5%;
4671  z-index: 1;
4672  display: flex;
4673  align-items: center;
4674  justify-content: center;
4675  box-sizing: border-box;
4676  width: 90%;
4677  height: 90%;
4678  line-height: 1;
4679  border-width: 1px;
4680  border-style: solid;
4681  border-radius: 999px;
4682  color: var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));
4683  border-color: var(--mat-datepicker-calendar-date-outline-color, transparent);
4684}
4685.mat-calendar-body-cell-content.mat-focus-indicator {
4686  position: absolute;
4687}
4688@media (forced-colors: active) {
4689  .mat-calendar-body-cell-content {
4690    border: none;
4691  }
4692}
4693
4694.cdk-keyboard-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical), .cdk-program-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
4695  background-color: var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));
4696}
4697
4698@media (hover: hover) {
4699  .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
4700    background-color: var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));
4701  }
4702}
4703.mat-calendar-body-selected {
4704  background-color: var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));
4705  color: var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary));
4706}
4707.mat-calendar-body-disabled > .mat-calendar-body-selected {
4708  background-color: var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
4709}
4710.mat-calendar-body-selected.mat-calendar-body-today {
4711  box-shadow: inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary));
4712}
4713
4714.mat-calendar-body-in-range::before {
4715  background: var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container));
4716}
4717
4718.mat-calendar-body-comparison-identical,
4719.mat-calendar-body-in-comparison-range::before {
4720  background: var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container));
4721}
4722
4723.mat-calendar-body-comparison-identical,
4724.mat-calendar-body-in-comparison-range::before {
4725  background: var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container));
4726}
4727
4728.mat-calendar-body-comparison-bridge-start::before,
4729[dir=rtl] .mat-calendar-body-comparison-bridge-end::before {
4730  background: linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%);
4731}
4732
4733.mat-calendar-body-comparison-bridge-end::before,
4734[dir=rtl] .mat-calendar-body-comparison-bridge-start::before {
4735  background: linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%);
4736}
4737
4738.mat-calendar-body-in-range > .mat-calendar-body-comparison-identical,
4739.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after {
4740  background: var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container));
4741}
4742
4743.mat-calendar-body-comparison-identical.mat-calendar-body-selected,
4744.mat-calendar-body-in-comparison-range > .mat-calendar-body-selected {
4745  background: var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary));
4746}
4747
4748@media (forced-colors: active) {
4749  .mat-datepicker-popup:not(:empty),
4750  .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected {
4751    outline: solid 1px;
4752  }
4753  .mat-calendar-body-today {
4754    outline: dotted 1px;
4755  }
4756  .mat-calendar-body-cell::before,
4757  .mat-calendar-body-cell::after,
4758  .mat-calendar-body-selected {
4759    background: none;
4760  }
4761  .mat-calendar-body-in-range::before,
4762  .mat-calendar-body-comparison-bridge-start::before,
4763  .mat-calendar-body-comparison-bridge-end::before {
4764    border-top: solid 1px;
4765    border-bottom: solid 1px;
4766  }
4767  .mat-calendar-body-range-start::before {
4768    border-left: solid 1px;
4769  }
4770  [dir=rtl] .mat-calendar-body-range-start::before {
4771    border-left: 0;
4772    border-right: solid 1px;
4773  }
4774  .mat-calendar-body-range-end::before {
4775    border-right: solid 1px;
4776  }
4777  [dir=rtl] .mat-calendar-body-range-end::before {
4778    border-right: 0;
4779    border-left: solid 1px;
4780  }
4781  .mat-calendar-body-in-comparison-range::before {
4782    border-top: dashed 1px;
4783    border-bottom: dashed 1px;
4784  }
4785  .mat-calendar-body-comparison-start::before {
4786    border-left: dashed 1px;
4787  }
4788  [dir=rtl] .mat-calendar-body-comparison-start::before {
4789    border-left: 0;
4790    border-right: dashed 1px;
4791  }
4792  .mat-calendar-body-comparison-end::before {
4793    border-right: dashed 1px;
4794  }
4795  [dir=rtl] .mat-calendar-body-comparison-end::before {
4796    border-right: 0;
4797    border-left: dashed 1px;
4798  }
4799}
4800`],encapsulation:2,changeDetection:0})}return t})();function xx(t){return t?.nodeName==="TD"}function wx(t){let n;return xx(t)?n=t:xx(t.parentNode)?n=t.parentNode:xx(t.parentNode?.parentNode)&&(n=t.parentNode.parentNode),n?.getAttribute("data-mat-row")!=null?n:null}function Cx(t,n,e){return e!==null&&n!==e&&t<e&&t===n}function Sx(t,n,e){return n!==null&&n!==e&&t>=n&&t===e}function kx(t,n,e,i){return i&&n!==null&&e!==null&&n!==e&&t>=n&&t<=e}function oM(t){let n=t.changedTouches[0];return document.elementFromPoint(n.clientX,n.clientY)}var Ia=class{start;end;_disableStructuralEquivalency;constructor(n,e){this.start=n,this.end=e}},Cm=(()=>{class t{selection;_adapter;_selectionChanged=new te;selectionChanged=this._selectionChanged;constructor(e,i){this.selection=e,this._adapter=i,this.selection=e}updateSelection(e,i){let r=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:i,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}static \u0275fac=function(i){Zc()};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})(),aj=(()=>{class t extends Cm{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let e=new t(this._adapter);return e.updateSelection(this.selection,this),e}static \u0275fac=function(i){return new(i||t)(Ke(Jn))};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})();var hM={provide:Cm,useFactory:()=>f(Cm,{optional:!0,skipSelf:!0})||new aj(f(Jn))};var mM=new W("MAT_DATE_RANGE_SELECTION_STRATEGY");var Dx=7,oj=0,sM=(()=>{class t{_changeDetectorRef=f(Ue);_dateFormats=f(ol,{optional:!0});_dateAdapter=f(Jn,{optional:!0});_dir=f(Vt,{optional:!0});_rangeStrategy=f(mM,{optional:!0});_rerenderSubscription=tt.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(i,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Ia?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}_selected=null;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;activeDrag=null;selectedChange=new ne;_userSelection=new ne;dragStarted=new ne;dragEnded=new ne;activeDateChange=new ne;_matCalendarBody;_monthLabel=ke("");_weeks=ke([]);_firstWeekOffset=ke(0);_rangeStart=ke(null);_rangeEnd=ke(null);_comparisonRangeStart=ke(null);_comparisonRangeEnd=ke(null);_previewStart=ke(null);_previewEnd=ke(null);_isRange=ke(!1);_todayDate=ke(null);_weekdays=ke([]);constructor(){f(wt).load(Or),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(bt(null)).subscribe(()=>this._init())}ngOnChanges(e){let i=e.comparisonStart||e.comparisonEnd;i&&!i.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){let i=e.value,r=this._getDateFromDayOfMonth(i),a,o;this._selected instanceof Ia?(a=this._getDateInCurrentMonth(this._selected.start),o=this._getDateInCurrentMonth(this._selected.end)):a=o=this._getDateInCurrentMonth(this._selected),(a!==i||o!==i)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&e.preventDefault();return;case 27:this._previewEnd()!=null&&!zt(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation());return;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate.set(this._getCellCompareValue(this._dateAdapter.today())),this._monthLabel.set(this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase());let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset.set((Dx+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%Dx),this._initWeek
4800days(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:i}){if(this._rangeStrategy){let r=i?i.rawValue:null,a=this._rangeStrategy.createPreview(r,this.selected,e);if(this._previewStart.set(this._getCellCompareValue(a.start)),this._previewEnd.set(this._getCellCompareValue(a.end)),this.activeDrag&&r){let o=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,r,e);o&&(this._previewStart.set(this._getCellCompareValue(o.start)),this._previewEnd.set(this._getCellCompareValue(o.end)))}}}_dragEnded(e){if(this.activeDrag)if(e.value){let i=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:i??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){let e=this._dateAdapter.getFirstDayOfWeek(),i=this._dateAdapter.getDayOfWeekNames("narrow"),a=this._dateAdapter.getDayOfWeekNames("long").map((o,s)=>({long:o,narrow:i[s],id:oj++}));this._weekdays.set(a.slice(e).concat(a.slice(0,e)))}_createWeekCells(){let e=this._dateAdapter.getNumDaysInMonth(this.activeDate),i=this._dateAdapter.getDateNames(),r=[[]];for(let a=0,o=this._firstWeekOffset();a<e;a++,o++){o==Dx&&(r.push([]),o=0);let s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a+1),l=this._shouldEnableDate(s),c=this._dateAdapter.format(s,this._dateFormats.display.dateA11yLabel),d=this.dateClass?this.dateClass(s,"month"):void 0;r[r.length-1].push(new wm(a+1,i[a],c,l,d,this._getCellCompareValue(s),s))}this._weeks.set(r)}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,i){return!!(e&&i&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(i)&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i))}_getCellCompareValue(e){if(e){let i=this._dateAdapter.getYear(e),r=this._dateAdapter.getMonth(e),a=this._dateAdapter.getDate(e);return new Date(i,r,a).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(e){e instanceof Ia?(this._rangeStart.set(this._getCellCompareValue(e.start)),this._rangeEnd.set(this._getCellCompareValue(e.end)),this._isRange.set(!0)):(this._rangeStart.set(this._getCellCompareValue(e)),this._rangeEnd.set(this._rangeStart()),this._isRange.set(!1)),this._comparisonRangeStart.set(this._getCellCompareValue(this.comparisonStart)),this._comparisonRangeEnd.set(this._getCellCompareValue(this.comparisonEnd))}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart.set(null),this._previewEnd.set(null)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-month-view"]],viewQuery:function(i,r){if(i&1&&dt(Kd,5),i&2){let a;ae(a=oe())&&(r._matCalendarBody=a.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[lt],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(i,r){i&1&&(w(0,"table",0)(1,"thead",1)(2,"tr"),tn(3,Gz,5,2,"th",2,uM),D(),w(5,"tr",3),we(6,"th",4),D()(),w(7,"tbody",5),de("selectedValueChange",function(o){return r._dateSelected(o)})("activeDateChange",function(o){return r._updateActiveDate(o)})("previewChange",function(o){return r._previewChanged(o)})("dragStarted",function(o){return r.dragStarted.emit(o)})("dragEnded",function(o){return r._dragEnded(o)})("keyup",function(o){return r._handleCalendarBodyKeyup(o)})("keydown",function(o){return r._handleCalendarBodyKeydown(o)}),D()()),i&2&&(T(3),nn(r._weekdays()),T(4),se("label",r._monthLabel())("rows",r._weeks())("todayValue",r._todayDate(
4800))("startValue",r._rangeStart())("endValue",r._rangeEnd())("comparisonStart",r._comparisonRangeStart())("comparisonEnd",r._comparisonRangeEnd())("previewStart",r._previewStart())("previewEnd",r._previewEnd())("isRange",r._isRange())("labelMinRequiredCells",3)("activeCell",r._dateAdapter.getDate(r.activeDate)-1)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName))},dependencies:[Kd],encapsulation:2,changeDetection:0})}return t})(),la=24,Ex=4,lM=(()=>{class t{_changeDetectorRef=f(Ue);_dateAdapter=f(Jn,{optional:!0});_dir=f(Vt,{optional:!0});_rerenderSubscription=tt.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),fM(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Ia?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}_selected=null;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;selectedChange=new ne;yearSelected=new ne;activeDateChange=new ne;_matCalendarBody;_years=ke([]);_todayYear=ke(0);_selectedYear=ke(null);constructor(){this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(bt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear.set(this._dateAdapter.getYear(this._dateAdapter.today()));let i=this._dateAdapter.getYear(this._activeDate)-xm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate),r=[];for(let a=0,o=[];a<la;a++)o.push(i+a),o.length==Ex&&(r.push(o.map(s=>this._createCellForYear(s))),o=[]);this._years.set(r),this._changeDetectorRef.markForCheck()}_yearSelected(e){let i=e.value,r=this._dateAdapter.createDate(i,0,1),a=this._getDateFromYear(i);this.yearSelected.emit(r),this.selectedChange.emit(a)}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromYear(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ex);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ex);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-xm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,la-xm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-la*10:-la);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?la*10:la);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return xm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){let i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,i,1));return this._dateAdapter.createDate(e,i,Math.min(this._dateAdapter.getDate(this.activeDate),r))}
4800_createCellForYear(e){let i=this._dateAdapter.createDate(e,0,1),r=this._dateAdapter.getYearName(i),a=this.dateClass?this.dateClass(i,"multi-year"):void 0;return new wm(e,r,r,this._shouldEnableYear(e),a)}_shouldEnableYear(e){if(e==null||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let i=this._dateAdapter.createDate(e,0,1);for(let r=i;this._dateAdapter.getYear(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedYear(e){if(this._selectedYear.set(null),e instanceof Ia){let i=e.start||e.end;i&&this._selectedYear.set(this._dateAdapter.getYear(i))}else e&&this._selectedYear.set(this._dateAdapter.getYear(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(i,r){if(i&1&&dt(Kd,5),i&2){let a;ae(a=oe())&&(r._matCalendarBody=a.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(i,r){i&1&&(w(0,"table",0)(1,"thead",1)(2,"tr"),we(3,"th",2),D()(),w(4,"tbody",3),de("selectedValueChange",function(o){return r._yearSelected(o)})("activeDateChange",function(o){return r._updateActiveDate(o)})("keyup",function(o){return r._handleCalendarBodyKeyup(o)})("keydown",function(o){return r._handleCalendarBodyKeydown(o)}),D()()),i&2&&(T(4),se("rows",r._years())("todayValue",r._todayYear())("startValue",r._selectedYear())("endValue",r._selectedYear())("numCols",4)("cellAspectRatio",4/7)("activeCell",r._getActiveCell()))},dependencies:[Kd],encapsulation:2,changeDetection:0})}return t})();function fM(t,n,e,i,r){let a=t.getYear(n),o=t.getYear(e),s=pM(t,i,r);return Math.floor((a-s)/la)===Math.floor((o-s)/la)}function xm(t,n,e,i){let r=t.getYear(n);return sj(r-pM(t,e,i),la)}function pM(t,n,e){let i=0;return e?i=t.getYear(e)-la+1:n&&(i=t.getYear(n)),i}function sj(t,n){return(t%n+n)%n}var cM=(()=>{class t{_changeDetectorRef=f(Ue);_dateFormats=f(ol,{optional:!0});_dateAdapter=f(Jn,{optional:!0});_dir=f(Vt,{optional:!0});_rerenderSubscription=tt.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(i)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Ia?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}_selected=null;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;selectedChange=new ne;monthSelected=new ne;activeDateChange=new ne;_matCalendarBody;_months=ke([]);_yearLabel=ke("");_todayMonth=ke(null);_selectedMonth=ke(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(bt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){let i=e.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1);this.monthSelected.emit(r);let a=this._getDateFromMonth(i);this.selectedChange.emit(a)}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromMonth(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth.set(this._getMonthInCurrentYear(this._dateAdapter.today())),this._yearLabel.set(this._dateAdapter.getYearName(this.activeDate));let e=this._dateAdapter.getMonthNames("short");this._months.set([[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(i=>i.map(r=>this._createCellForMonth(r,e[r])))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){let i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.getNumDaysInMonth(i);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(e,i){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),a=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),o=this.dateClass?this.dateClass(r,"year"):void 0;return new wm(e,i.toLocaleUpperCase(),a,this._shouldEnableMonth(e),o)}_shouldEnableMonth(e){let i=this._dateAdapter.getYear(this.activeDate);if(e==null||this._isYearAndMonthAfterMaxDate(i,e)||this._isYearAndMonthBeforeMinDate(i,e))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(i,e,1);for(let a=r;this._dateAdapter.getMonth(a)==e;a=this._dateAdapter.addCalendarDays(a,1))if(this.dateFilter(a))return!0;return!1}_isYearAndMonthAfterMaxDate(e,i){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),a=this._dateAdapter.getMonth(this.maxDate);return e>r||e===r&&i>a}return!1}_isYearAndMonthBeforeMinDate(e,i){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),a=this._dateAdapter.getMonth(this.minDate);return e<r||e===r&&i<a}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(e){e instanceof Ia?this._selectedMonth.set(this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end)):this._selectedMonth.set(this._getMonthInCurrentYear(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-year-view"]],viewQuery:function(i,r){if(i&1&&dt(Kd,5),i&2){let a;ae(a=oe())&&(r._matCalendarBody=a.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(i,r){i&1&&(w(0,"table",0)(1,"thead",1)(2,"tr"),we(3,"th",2),D()(),w(4,"tbody",3),de("selectedValueChange",function(o){return r._monthSelected(o)})("activeDateChange",function(o){return r._updateActiveDate(o)})("keyup",function(o){return r._handleCalendarBodyKeyup(o)})("keydown",function(o){return r._handleCalendarBodyKeydown(o)}),D()()),i&2&&(T(4),se("label",r._yearLabel())("rows",r._months())("todayValue",r._todayMonth())("startValue",r._selectedMonth())("endValue",r._selectedMonth())("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",r._dateAdapter.getMonth(r.activeDate)))},dependencies:[Kd],encapsulation:2,changeDetection:0})}return t})(),gM=(()=>{class t{_intl=f(Qd);calendar=f(Tx);_dateAdapter=f(Jn,{optional:!0});_dateFormats=f(ol,{optional:!0});_periodButtonText;_periodButtonDescription;
4800_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){f(wt).load(Or);let e=f(Ue);this._updateLabels(),this.calendar.stateChanges.subscribe(()=>{this._updateLabels(),e.markForCheck()})}get periodButtonText(){return this._periodButtonText}get periodButtonDescription(){return this._periodButtonDescription}get periodButtonLabel(){return this._periodButtonLabel}get prevButtonLabel(){return this._prevButtonLabel}get nextButtonLabel(){return this._nextButtonLabel}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.previousEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-la))}nextClicked(){this.nextEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:la))}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_updateLabels(){let e=this.calendar,i=this._intl,r=this._dateAdapter;e.currentView==="month"?(this._periodButtonText=r.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonDescription=r.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonLabel=i.switchToMultiYearViewLabel,this._prevButtonLabel=i.prevMonthLabel,this._nextButtonLabel=i.nextMonthLabel):e.currentView==="year"?(this._periodButtonText=r.getYearName(e.activeDate),this._periodButtonDescription=r.getYearName(e.activeDate),this._periodButtonLabel=i.switchToMonthViewLabel,this._prevButtonLabel=i.prevYearLabel,this._nextButtonLabel=i.nextYearLabel):(this._periodButtonText=i.formatYearRange(...this._formatMinAndMaxYearLabels()),this._periodButtonDescription=i.formatYearRangeLabel(...this._formatMinAndMaxYearLabels()),this._periodButtonLabel=i.switchToMonthViewLabel,this._prevButtonLabel=i.prevMultiYearLabel,this._nextButtonLabel=i.nextMultiYearLabel)}_isSameView(e,i){return this.calendar.currentView=="month"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(i):this.calendar.currentView=="year"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i):fM(this._dateAdapter,e,i,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let i=this._dateAdapter.getYear(this.calendar.activeDate)-xm(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),r=i+la-1,a=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),o=this._dateAdapter.getYearName(this._dateAdapter.createDate(r,0,1));return[a,o]}_periodButtonLabelId=f(pt).getId("mat-calendar-period-label-");static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:qz,decls:17,vars:13,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["matButton","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-previous-button",3,"click","disabled","matTooltip"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-next-button",3,"click","disabled","matTooltip"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(i,r){i&1&&(Ge(),w(0,"div",0)(1,"div",1)(2,"span",2),Q(3),D(),w(4,"button",3),de("click",function(){return r.currentPeriodClicked()}),w(5,"span",4),Q(6),D(),ui(),w(7,"svg",5),we(8,"polygon",6),D()(),ja(),we(9,"div",7),_e(10),w(11,"button",8),de("click",function(){return r.previousClicked()}),ui(),w(12,"svg",9),we(13,"path",10),D()(),ja(),w(14,"button",11),de("click",function(){return r.nextClicked()}),ui(),w(15,"svg",9),we(16,"path",12),D()()()()),i&2&&(T(2),se("id",r._periodButtonLabelId),T(),Bt(r.periodButtonDescription),T(),fe("aria-label",r.periodButtonLabel)("aria-describedby",r._periodButtonLabelId),T(2),Bt(r.periodButtonText),T(),ce("mat-calendar-invert",r.calendar.currentView!=="month"),T(4),se("disabled",!r.previousEnabled())("matTooltip",r.prevButtonLabel),fe("aria-label",r.prevButtonLabel),T(3),se("disabled",!r.nextEnabled())("matTooltip",r.nextButtonLabel),fe("aria-label",r.nextButtonLabel))},dependencies:[ia,Za,Js],encapsulation:2,changeDetection:0})}return t})(),Tx=(()=>{class t{_dateAdapter=f(Jn,{optional:!0});_dateFormats=f(ol,{optional:!0});_changeDetectorRef=f(Ue);_elementRef=f(he);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt=null;startView="month";get selected(){return this._selected}set selected(e){e instanceof Ia?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_selected=null;
4800get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;selectedChange=new ne;yearSelected=new ne;monthSelected=new ne;viewChanged=new ne(!0);_userSelection=new ne;_userDragDrop=new ne;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(e){let i=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),i&&(this.stateChanges.next(),this.viewChanged.emit(i))}_currentView;_activeDrag=null;stateChanges=new te;constructor(){this._intlChanges=f(Qd).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new Lr(this.headerComponent||gM),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){let i=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,r=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,a=i||r||e.dateFilter;if(a&&!a.firstChange){let o=this._getCurrentViewComponent();o&&(this._elementRef.nativeElement.contains(Fr())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),o._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()?._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()?._init()}_dateSelected(e){let i=e.value;(this.selected instanceof Ia||i&&!this._dateAdapter.sameDate(i,this.selected))&&this.selectedChange.emit(i),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,i){this.activeDate=e,this.currentView=i}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-calendar"]],viewQuery:function(i,r){if(i&1&&dt(sM,5)(cM,5)(lM,5),i&2){let a;ae(a=oe())&&(r.monthView=a.first),ae(a=oe())&&(r.yearView=a.first),ae(a=oe())&&(r.multiYearView=a.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[Re([hM]),lt],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(i,r){if(i&1&&(xt(0,Yz,0,0,"ng-template",0),w(1,"div",1),pe(2,Xz,1,11,"mat-month-view",2)(3,Kz,1,6,"mat-year-view",3)(4,Qz,1,6,"mat-multi-year-view",3),D()),i&2){let a;se("cdkPortalOutlet",r._calendarHeaderPortal),T(2),ge((a=r.currentView)==="month"?2:a==="year"?3:a==="multi-year"?4:-1)}},dependencies:[An,Gh,sM,cM,lM],styles:[`.mat-calendar {
4801  display: block;
4802  line-height: normal;
4803  font-family: var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));
4804  font-size: var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size));
4805}
4806
4807.mat-calendar-header {
4808  padding: 8px 8px 0 8px;
4809}
4810
4811.mat-calendar-content {
4812  padding: 0 8px 8px 8px;
4813  outline: none;
4814}
4815
4816.mat-calendar-controls {
4817  display: flex;
4818  align-items: center;
4819  margin: 5% calc(4.7142857143% - 16px);
4820}
4821
4822.mat-calendar-spacer {
4823  flex: 1 1 auto;
4824}
4825
4826.mat-calendar-period-button {
4827  min-width: 0;
4828  margin: 0 8px;
4829  font-size: var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));
4830  font-weight: var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));
4831  --mat-button-text-label-text-color: var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant));
4832}
4833
4834.mat-calendar-arrow {
4835  display: inline-block;
4836  width: 10px;
4837  height: 5px;
4838  margin: 0 0 0 5px;
4839  vertical-align: middle;
4840  fill: var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant));
4841}
4842.mat-calendar-arrow.mat-calendar-invert {
4843  transform: rotate(180deg);
4844}
4845[dir=rtl] .mat-calendar-arrow {
4846  margin: 0 5px 0 0;
4847}
4848@media (forced-colors: active) {
4849  .mat-calendar-arrow {
4850    fill: CanvasText;
4851  }
4852}
4853
4854.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),
4855.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled) {
4856  color: var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant));
4857}
4858[dir=rtl] .mat-calendar-previous-button,
4859[dir=rtl] .mat-calendar-next-button {
4860  transform: rotate(180deg);
4861}
4862
4863.mat-calendar-table {
4864  border-spacing: 0;
4865  border-collapse: collapse;
4866  width: 100%;
4867}
4868
4869.mat-calendar-table-header th {
4870  text-align: center;
4871  padding: 0 0 8px 0;
4872  color: var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));
4873  font-size: var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));
4874  font-weight: var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight));
4875}
4876
4877.mat-calendar-table-header-divider {
4878  position: relative;
4879  height: 1px;
4880}
4881.mat-calendar-table-header-divider::after {
4882  content: "";
4883  position: absolute;
4884  top: 0;
4885  left: -8px;
4886  right: -8px;
4887  height: 1px;
4888  background: var(--mat-datepicker-calendar-header-divider-color, transparent);
4889}
4890
4891.mat-calendar-body-cell-content::before {
4892  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1);
4893}
4894
4895.mat-calendar-body-cell:focus-visible .mat-focus-indicator::before {
4896  content: "";
4897}
4898`],encapsulation:2,changeDetection:0})}return t})(),lj=new W("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let t=f(He);return()=>eo(t)}}),_M=(()=>{class t{_elementRef=f(he);_animationsDisabled=gt();_changeDetectorRef=f(Ue);_globalModel=f(Cm);_dateAdapter=f(Jn);_ngZone=f(Te);_rangeSelectionStrategy=f(mM,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;_isAbove=!1;_animationDone=new te;_isAnimating=!1;_closeButtonText;_closeButtonFocused=!1;_actionsPortal=null;_dialogLabelId=null;constructor(){if(f(wt).load(Or),this._closeButtonText=f(Qd).closeCalendarLabel,!this._animationsDisabled){let e=this._elementRef.nativeElement,i=f(ft);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(e,"animationstart",this._handleAnimationEvent),i.listen(e,"animationend",this._handleAnimationEvent),i.listen(e,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(e=>e()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){let i=this._model.selection,r=e.value,a=i instanceof Ia;if(a&&this._rangeSelectionStrategy){let o=this._rangeSelectionStrategy.selectionFinished(r,i,e.event);this._model.updateSelection(o,this)}else r&&(a||!this._dateAdapter.sameDate(r,i))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=e=>{let i=this._elementRef.nativeElement;e.target!==i||!e.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=e.type==="animationstart",i.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())};
4898_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,i){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,i&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(i,r){if(i&1&&dt(Tx,5),i&2){let a;ae(a=oe())&&(r._calendar=a.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(i,r){i&2&&($t(r.color?"mat-"+r.color:""),ce("mat-datepicker-content-touch",r.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!r._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","matButton","elevated",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(i,r){i&1&&(w(0,"div",0)(1,"mat-calendar",1),de("yearSelected",function(o){return r.datepicker._selectYear(o)})("monthSelected",function(o){return r.datepicker._selectMonth(o)})("viewChanged",function(o){return r.datepicker._viewChanged(o)})("_userSelection",function(o){return r._handleUserSelection(o)})("_userDragDrop",function(o){return r._handleUserDragDrop(o)}),D(),xt(2,Zz,0,0,"ng-template",2),w(3,"button",3),de("focus",function(){return r._closeButtonFocused=!0})("blur",function(){return r._closeButtonFocused=!1})("click",function(){return r.datepicker.close()}),Q(4),D()()),i&2&&(ce("mat-datepicker-content-container-with-custom-header",r.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",r._actionsPortal),fe("aria-modal",!0)("aria-labelledby",r._dialogLabelId??void 0),T(),$t(r.datepicker.panelClass),se("id",r.datepicker.id)("startAt",r.datepicker.startAt)("startView",r.datepicker.startView)("minDate",r.datepicker._getMinDate())("maxDate",r.datepicker._getMaxDate())("dateFilter",r.datepicker._getDateFilter())("headerComponent",r.datepicker.calendarHeaderComponent)("selected",r._getSelected())("dateClass",r.datepicker.dateClass)("comparisonStart",r.comparisonStart)("comparisonEnd",r.comparisonEnd)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName),T(),se("cdkPortalOutlet",r._actionsPortal),T(),ce("cdk-visually-hidden",!r._closeButtonFocused),se("color",r.color||"primary"),T(),Bt(r._closeButtonText))},dependencies:[by,Tx,An,ia],styles:[`@keyframes _mat-datepicker-content-dropdown-enter {
4899  from {
4900    opacity: 0;
4901    transform: scaleY(0.8);
4902  }
4903  to {
4904    opacity: 1;
4905    transform: none;
4906  }
4907}
4908@keyframes _mat-datepicker-content-dialog-enter {
4909  from {
4910    opacity: 0;
4911    transform: scale(0.8);
4912  }
4913  to {
4914    opacity: 1;
4915    transform: none;
4916  }
4917}
4918@keyframes _mat-datepicker-content-exit {
4919  from {
4920    opacity: 1;
4921  }
4922  to {
4923    opacity: 0;
4924  }
4925}
4926.mat-datepicker-content {
4927  display: block;
4928  background-color: var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));
4929  color: var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));
4930  box-shadow: var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));
4931  border-radius: var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large));
4932}
4933.mat-datepicker-content.mat-datepicker-content-animations-enabled {
4934  animation: _mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1);
4935}
4936.mat-datepicker-content .mat-calendar {
4937  width: 296px;
4938  height: 354px;
4939}
4940.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar {
4941  height: auto;
4942}
4943.mat-datepicker-content .mat-datepicker-close-button {
4944  position: absolute;
4945  top: 100%;
4946  left: 0;
4947  margin-top: 8px;
4948}
4949.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button {
4950  display: none;
4951}
4952
4953.mat-datepicker-content-container {
4954  display: flex;
4955  flex-direction: column;
4956  justify-content: space-between;
4957}
4958
4959.mat-datepicker-content-touch {
4960  display: block;
4961  max-height: 80vh;
4962  box-shadow: var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));
4963  border-radius: var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));
4964  position: relative;
4965  overflow: visible;
4966  min-height: fit-content;
4967}
4968.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled {
4969  animation: _mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1);
4970}
4971.mat-datepicker-content-touch .mat-datepicker-content-container {
4972  min-height: 312px;
4973  max-height: 788px;
4974  min-width: 250px;
4975  max-width: 750px;
4976}
4977.mat-datepicker-content-touch .mat-calendar {
4978  width: 100%;
4979  height: auto;
4980}
4981
4982.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled {
4983  animation: _mat-datepicker-content-exit 100ms linear;
4984}
4985
4986@media all and (orientation: landscape) {
4987  .mat-datepicker-content-touch .mat-datepicker-content-container {
4988    width: 64vh;
4989    height: 80vh;
4990  }
4991}
4992@media all and (orientation: portrait) {
4993  .mat-datepicker-content-touch .mat-datepicker-content-container {
4994    width: 80vw;
4995    height: 100vw;
4996  }
4997  .mat-datepicker-content-touch .mat-datepicker-content-container-with-actions {
4998    height: 115vw;
4999  }
5000}
5001`],encapsulation:2,changeDetection:0})}return t})(),dM=(()=>{class t{_injector=f(He);
5001_viewContainerRef=f(Zt);_dateAdapter=f(Jn,{optional:!0});_dir=f(Vt,{optional:!0});_model=f(Cm);_animationsDisabled=gt();_scrollStrategy=f(lj);_inputStateChanges=tt.EMPTY;_document=f(Ve);calendarHeaderComponent;get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt=null;startView="month";get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}_color;touchUi=!1;get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}_disabled;xPosition="start";yPosition="below";restoreFocus=!0;yearSelected=new ne;monthSelected=new ne;viewChanged=new ne(!0);dateClass;openedStream=new ne;closedStream=new ne;get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=rT(e)}_panelClass;get opened(){return this._opened}set opened(e){e?this.open():this.close()}_opened=!1;id=f(pt).getId("mat-datepicker-");_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}_overlayRef=null;_componentRef=null;_focusedElementBeforeOpen=null;_backdropHarnessClass=`${this.id}-backdrop`;_actionsPortal=null;datepickerInput;stateChanges=new te;_changeDetectorRef=f(Ue);constructor(){this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(e){let i=e.xPosition||e.yPosition;if(i&&!i.firstChange&&this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;r instanceof Bd&&(this._setConnectedPositions(r),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal,this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=Fr(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;let e=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",i=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:r,location:a}=this._componentRef;r._animationDone.pipe(ai(1)).subscribe(()=>{let o=this._document.activeElement;e&&(!o||o===this._document.activeElement||a.nativeElement.contains(o))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),r._startExitAnimation()}e?setTimeout(i):i()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let e=this.touchUi,i=new Lr(_M,this._viewContainerRef),r=this._overlayRef=ra(this._injector,new na({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:e?Zs(this._injector):this._scrollStrategy(),panelClass:`mat-datepicker-${e?"dialog":"popup"}`,disableAnimations:this._animationsDisabled}));this._getCloseStream(r).subscribe(a=>{a&&a.preventDefault(),this.close()}
5001),r.keydownEvents().subscribe(a=>{let o=a.keyCode;(o===38||o===40||o===37||o===39||o===33||o===34)&&a.preventDefault()}),this._componentRef=r.attach(i),this._forwardContentValues(this._componentRef.instance),e||Nt(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return wo(this._injector).centerHorizontally().centerVertically()}_getDropdownStrategy(){let e=cs(this._injector,this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){let i=this.xPosition==="end"?"end":"start",r=i==="start"?"end":"start",a=this.yPosition==="above"?"bottom":"top",o=a==="top"?"bottom":"top";return e.withPositions([{originX:i,originY:o,overlayX:i,overlayY:a},{originX:i,originY:a,overlayX:i,overlayY:o},{originX:r,originY:o,overlayX:r,overlayY:a},{originX:r,originY:a,overlayX:r,overlayY:o}])}_getCloseStream(e){let i=["ctrlKey","shiftKey","metaKey"];return Gt(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(vt(r=>r.keyCode===27&&!zt(r)||this.datepickerInput&&zt(r,"altKey")&&r.keyCode===38&&i.every(a=>!zt(r,a)))))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",ie],disabled:[2,"disabled","disabled",ie],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",ie],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",ie]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[lt]})}return t})(),vM=(()=>{class t extends dM{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=ue({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[Re([hM,{provide:dM,useExisting:t}]),Ie],decls:0,vars:0,template:function(i,r){},encapsulation:2,changeDetection:0})}return t})(),Xd=class{target;targetElement;value=null;constructor(n,e){this.target=n,this.targetElement=e,this.value=this.target.value}},cj=(()=>{class t{_elementRef=f(he);_dateAdapter=f(Jn,{optional:!0});_dateFormats=f(ol,{optional:!0});_isInitialized=!1;get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e,!0)}_model;get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){let i=e,r=this._elementRef.nativeElement;this._disabled!==i&&(this._disabled=i,this.stateChanges.next(void 0)),i&&this._isInitialized&&r.blur&&r.blur()}_disabled;dateChange=new ne;dateInput=new ne;stateChanges=new te;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=tt.EMPTY;_localeSubscription=tt.EMPTY;_pendingValue=null;_parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}};_filterValidator=e=>{let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!i||this._matchesFilter(i)?null:{matDatepickerFilter:!0}};_minValidator=e=>{let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMinDate();return!r||!i||this._dateAdapter.compareDate(r,i)<=0?null:{matDatepickerMin:{min:r,actual:i}}};_maxValidator=e=>{let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMaxDate();return!r||!i||this._dateAdapter.compareDate(r,i)>=0?null:{matDatepickerMax:{max:r,actual:i}}};_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(i=>{if(this._shouldHandleChangeEvent(i)){let r=this._getValueFromModel(i.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Xd(this,this._elementRef.nativeElement)),this.dateChange.emit(new Xd(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value,!0)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){dj(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}
5001registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e,e!==this.value)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){let i=["ctrlKey","shiftKey","metaKey"];zt(e,"altKey")&&e.keyCode===40&&i.every(a=>!zt(e,a))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){let i=e.target.value,r=this._lastValueValid,a=this._dateAdapter.parse(i,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(a),a=this._dateAdapter.getValidDateOrNull(a);let o=!this._dateAdapter.sameDate(a,this.value);!a||o?this._cvaOnChange(a):(i&&!this.value&&this._cvaOnChange(a),r!==this._lastValueValid&&this._validatorOnChange()),o&&(this._assignValue(a),this.dateInput.emit(new Xd(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Xd(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e!=null?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e,i){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),i&&this._formatValue(e)}_matchesFilter(e){let i=this._getDateFilter();return!i||i(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",ie]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[lt]})}return t})();function dj(t,n){let e=Object.keys(t);for(let i of e){let{previousValue:r,currentValue:a}=t[i];if(n.isDateInstance(r)&&n.isDateInstance(a)){if(!n.sameDate(r,a))return!0}else return!0}return!1}var uj={provide:xn,useExisting:_i(()=>ng),multi:!0},hj={provide:br,useExisting:_i(()=>ng),multi:!0},ng=(()=>{class t extends cj{_formField=f(dc,{optional:!0});_closedSubscription=tt.EMPTY;_openedSubscription=tt.EMPTY;set matDatepicker(e){e&&(this._datepicker=e,this._ariaOwns.set(e.opened?e.id:null),this._closedSubscription=e.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=e.openedStream.subscribe(()=>{this._ariaOwns.set(e.id)}),this._registerModel(e.registerInput(this)))}_datepicker;_ariaOwns=ke(null);get min(){return this._min}set min(e){let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(i,this._min)||(this._min=i,this._validatorOnChange())}_min=null;get max(){return this._max}set max(e){let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(i,this._max)||(this._max=i,this._validatorOnChange())}_max=null;get dateFilter(){return this._dateFilter}set dateFilter(e){let i=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==i&&this._validatorOnChange()}_dateFilter;_validator=null;constructor(){super(),this._validator=aa.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(i,r){i&1&&de("input",function(o){return r._onInput(o)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(o){return r._onKeydown(o)}),i&2&&(si("disabled",r.disabled),fe("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",r._ariaOwns())("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[Re([uj,hj,{provide:J0,useExisting:t}]),Ie]})}return t})(),mj=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","matDatepickerToggleIcon",""]]})}return t})(),Ix=(()=>{class t{_intl=f(Qd);_changeDetectorRef=f(Ue);_stateChanges=tt.EMPTY;datepicker;tabIndex=null;ariaLabel;get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=e}_disabled;disableRipple=!1;_customIcon;_button;constructor(){let e=f(new gn("tabindex"),{optional:!0}),i=Number(e);this.tabIndex=i||i===0?i:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){let e=this.datepicker?this.datepicker.stateChanges:Be(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Be(),r=this.datepicker?Gt(this.datepicker.openedStream,this.datepicker.closedStream):Be();this._stateChanges.unsubscribe(),this._stateChanges=Gt(this._intl.changes,e,i,r).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-datepicker-toggle"]],c
5001ontentQueries:function(i,r,a){if(i&1&&Tt(a,mj,5),i&2){let o;ae(o=oe())&&(r._customIcon=o.first)}},viewQuery:function(i,r){if(i&1&&dt(Jz,5),i&2){let a;ae(a=oe())&&(r._button=a.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(i,r){i&1&&de("click",function(o){return r._open(o)}),i&2&&(fe("tabindex",null)("data-mat-calendar",r.datepicker?r.datepicker.id:null),ce("mat-datepicker-toggle-active",r.datepicker&&r.datepicker.opened)("mat-accent",r.datepicker&&r.datepicker.color==="accent")("mat-warn",r.datepicker&&r.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",ie],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[lt],ngContentSelectors:tj,decls:4,vars:7,consts:[["button",""],["matIconButton","","type","button",3,"tabIndex","disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(i,r){i&1&&(Ge(ej),w(0,"button",1,0),pe(2,ij,2,0,":svg:svg",2),_e(3),D()),i&2&&(se("tabIndex",r.disabled?-1:r.tabIndex)("disabled",r.disabled)("disableRipple",r.disableRipple),fe("aria-haspopup",r.datepicker?"dialog":null)("aria-label",r.ariaLabel||r._intl.openCalendarLabel)("aria-expanded",r.datepicker?r.datepicker.opened:null),T(2),ge(r._customIcon?-1:2))},dependencies:[Za],styles:[`.mat-datepicker-toggle {
5002  pointer-events: auto;
5003  color: var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant));
5004}
5005.mat-datepicker-toggle button {
5006  color: inherit;
5007}
5008
5009.mat-datepicker-toggle-active {
5010  color: var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-primary));
5011}
5012
5013@media (forced-colors: active) {
5014  .mat-datepicker-toggle-default-icon {
5015    color: CanvasText;
5016  }
5017}
5018`],encapsulation:2,changeDetection:0})}return t})();var bM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({providers:[Qd],imports:[Qn,_r,ac,gr,_M,Ix,gM,Ye,Zn]})}return t})();function pj(t,n){}var sl=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var Ax=(()=>{class t extends Qs{_elementRef=f(he);_focusTrapFactory=f(Rd);_config;_interactivityChecker=f(Ad);_ngZone=f(Te);_focusMonitor=f(Ii);_renderer=f(ft);_changeDetectorRef=f(Ue);_injector=f(He);_platform=f(ht);_document=f(Ve);_portalOutlet;_focusTrapped=new te;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=f(sl,{optional:!0})||new sl,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{a(),o(),e.removeAttribute("tabindex")},a=this._renderer.listen(e,"blur",r),o=this._renderer.listen(e,"mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(e){this._isDestroyed||Nt(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=Fr(),a=this._elementRef.nativeElement;
vendor: 16,815 bytes, lines 5018-5197
5018(!r||r===this._document.body||r===a||a.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,i=Fr();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Fr()))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&dt(An,7),i&2){let a;ae(a=oe())&&(r._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&fe("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Ie],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&xt(0,pj,0,0,"ng-template",0)},dependencies:[An],styles:[`.cdk-dialog-container {
5019  display: block;
5020  width: 100%;
5021  height: 100%;
5022  min-height: inherit;
5023  max-height: inherit;
5024}
5025`],encapsulation:2})}return t})(),Sm=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new te;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!zt(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this._canClose(n)){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(n,e,this.componentInstance))}},gj=new W("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=f(He);return()=>Zs(t)}}),_j=new W("DialogData"),vj=new W("DefaultDialogConfig");function bj(t){let n=ke(t),e=new ne;return{valueSignal:n,get value(){return n()},change:e,ngOnDestroy(){e.complete()}}}var Rx=(()=>{class t{_injector=f(He);_defaultOptions=f(vj,{optional:!0});_parentDialog=f(t,{optional:!0,skipSelf:!0});_overlayContainer=f(I0);_idGenerator=f(pt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new te;_afterOpenedAtThisLevel=new te;_ariaHiddenElements=new Map;_scrollStrategy=f(gj);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=fo(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(bt(void 0)));constructor(){}open(e,i){let r=this._defaultOptions||new sl;i=H(H({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let a=this._getOverlayConfig(i),o=ra(this._injector,a),s=new Sm(o,i),l=this._attachContainer(o,s,i);if(s.containerInstance=l,!this.openDialogs.length){let c=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(ai(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(c)}):this._hideNonDialogContentFromAssistiveTechnology(c)}return this._attachDialogContent(e,s,l,i),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){Mx(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){Mx(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Mx(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new na({positionStrategy:e.positionStrategy||wo().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let a=r.injector||r.viewContainerRef?.injector,o=[{provide:sl,useValue:r},{provide:Sm,useValue:i},{provide:Ld,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,o.push(...r.container.providers(r))):s=Ax;let l=new Lr(s,r.viewContainerRef,He.create({parent:a||this._injector,providers:o}));return e.attach(l).instance}_attachDialogContent(e,i,r,a){if(e instanceof At){let o=this._createInjector(a,i,r,void 0),s={$implicit:a.data,dialogRef:i};a.templateContext&&(s=H(H({},s),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),r.attachTemplatePortal(new yn(e,null,s,o))}else{let o=this._createInjector(a,i,r,this._injector),s=r.attachComponentPortal(new Lr(e,a.viewContainerRef,o));i.componentRef=s,i.componentInstance=s.instance}}_createInjector(e,i,r,a){let o=e.injector||e.viewContainerRef?.injector,s=[{provide:_j,useValue:e.data},{provide:Sm,useValue:i}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(i,e,r)):s.push(...e.providers)),e.direction&&(!o||!o.get(Vt,null,{optional:!0}))&&s.push({provide:Vt,useValue:bj(e.direction)}),He.create({parent:o||a,providers:s})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,o)=>{a?o.setAttribute("aria-hidden",a):o.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let a=i[r];a!==e&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&!a.hasAttribute("popover")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Mx(t,n){let e=t.length;for(;e--;)n(t[e])}var yM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({providers:[Rx],imports:[_r,gr,ac,gr]})}return t})();function yj(t,n){}var ag=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},Px="mdc-dialog--open",xM="mdc-dialog--opening",wM="mdc-dialog--closing",xj=150,wj=75,Cj=(()=>{class t extends Ax{_animationStateChanged=new ne;_animationsEnabled=!gt();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?SM(this._config.enterAnimationDuration)??xj:0;_exitAnimationDuration=this._animationsEnabled?SM(this._config.exitAnimationDuration)??wj:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(CM,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(xM,Px)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Px),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Px),this._animationsEnabled?(this._hostElement.style.setProperty(CM,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(wM)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(xM,wM)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=ue({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(si("id",r._config.id),fe("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),ce("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[Ie],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(w(0,"div",0)(1,"div",1),xt(2,yj,0,0,"ng-template",2),D()())},dependencies:[An],styles:[`.mat-mdc-dialog-container {
5026  width: 100%;
5027  height: 100%;
5028  display: block;
5029  box-sizing: border-box;
5030  max-height: inherit;
5031  min-height: inherit;
5032  min-width: inherit;
5033  max-width: inherit;
5034  outline: 0;
5035}
5036
5037.cdk-overlay-pane.mat-mdc-dialog-panel {
5038  max-width: var(--mat-dialog-container-max-width, 560px);
5039  min-width: var(--mat-dialog-container-min-width, 280px);
5040}
5041@media (max-width: 599px) {
5042  .cdk-overlay-pane.mat-mdc-dialog-panel {
5043    max-width: var(--mat-dialog-container-small-max-width, calc(100vw - 32px));
5044  }
5045}
5046
5047.mat-mdc-dialog-inner-container {
5048  display: flex;
5049  flex-direction: row;
5050  align-items: center;
5051  justify-content: space-around;
5052  box-sizing: border-box;
5053  height: 100%;
5054  opacity: 0;
5055  transition: opacity linear var(--mat-dialog-transition-duration, 0ms);
5056  max-height: inherit;
5057  min-height: inherit;
5058  min-width: inherit;
5059  max-width: inherit;
5060}
5061.mdc-dialog--closing .mat-mdc-dialog-inner-container {
5062  transition: opacity 75ms linear;
5063  transform: none;
5064}
5065.mdc-dialog--open .mat-mdc-dialog-inner-container {
5066  opacity: 1;
5067}
5068._mat-animation-noopable .mat-mdc-dialog-inner-container {
5069  transition: none;
5070}
5071
5072.mat-mdc-dialog-surface {
5073  display: flex;
5074  flex-direction: column;
5075  flex-grow: 0;
5076  flex-shrink: 0;
5077  box-sizing: border-box;
5078  width: 100%;
5079  height: 100%;
5080  position: relative;
5081  overflow-y: auto;
5082  outline: 0;
5083  transform: scale(0.8);
5084  transition: transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);
5085  max-height: inherit;
5086  min-height: inherit;
5087  min-width: inherit;
5088  max-width: inherit;
5089  box-shadow: var(--mat-dialog-container-elevation-shadow, none);
5090  border-radius: var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));
5091  background-color: var(--mat-dialog-container-color, var(--mat-sys-surface, white));
5092}
5093[dir=rtl] .mat-mdc-dialog-surface {
5094  text-align: right;
5095}
5096.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface {
5097  transform: none;
5098}
5099._mat-animation-noopable .mat-mdc-dialog-surface {
5100  transition: none;
5101}
5102.mat-mdc-dialog-surface::before {
5103  position: absolute;
5104  box-sizing: border-box;
5105  width: 100%;
5106  height: 100%;
5107  top: 0;
5108  left: 0;
5109  border: 2px solid transparent;
5110  border-radius: inherit;
5111  content: "";
5112  pointer-events: none;
5113}
5114
5115.mat-mdc-dialog-title {
5116  display: block;
5117  position: relative;
5118  flex-shrink: 0;
5119  box-sizing: border-box;
5120  margin: 0 0 1px;
5121  padding: var(--mat-dialog-headline-padding, 6px 24px 13px);
5122}
5123.mat-mdc-dialog-title::before {
5124  display: inline-block;
5125  width: 0;
5126  height: 40px;
5127  content: "";
5128  vertical-align: 0;
5129}
5130[dir=rtl] .mat-mdc-dialog-title {
5131  text-align: right;
5132}
5133.mat-mdc-dialog-container .mat-mdc-dialog-title {
5134  color: var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
5135  font-family: var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));
5136  line-height: var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));
5137  font-size: var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));
5138  font-weight: var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));
5139  letter-spacing: var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em));
5140}
5141
5142.mat-mdc-dialog-content {
5143  display: block;
5144  flex-grow: 1;
5145  box-sizing: border-box;
5146  margin: 0;
5147  overflow: auto;
5148  max-height: 65vh;
5149}
5150.mat-mdc-dialog-content > :first-child {
5151  margin-top: 0;
5152}
5153.mat-mdc-dialog-content > :last-child {
5154  margin-bottom: 0;
5155}
5156.mat-mdc-dialog-container .mat-mdc-dialog-content {
5157  color: var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));
5158  font-family: var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));
5159  line-height: var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));
5160  font-size: var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));
5161  font-weight: var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));
5162  letter-spacing: var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em));
5163}
5164.mat-mdc-dialog-container .mat-mdc-dialog-content {
5165  padding: var(--mat-dialog-content-padding, 20px 24px);
5166}
5167.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content {
5168  padding: var(--mat-dialog-with-actions-content-padding, 20px 24px 0);
5169}
5170.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content {
5171  padding-top: 0;
5172}
5173
5174.mat-mdc-dialog-actions {
5175  display: flex;
5176  position: relative;
5177  flex-shrink: 0;
5178  flex-wrap: wrap;
5179  align-items: center;
5180  box-sizing: border-box;
5181  min-height: 52px;
5182  margin: 0;
5183  border-top: 1px solid transparent;
5184  padding: var(--mat-dialog-actions-padding, 16px 24px);
5185  justify-content: var(--mat-dialog-actions-alignment, flex-end);
5186}
5187@media (forced-colors: active) {
5188  .mat-mdc-dialog-actions {
5189    border-top-color: CanvasText;
5190  }
5191}
5192.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] {
5193  justify-content: start;
5194}
5195.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] {
5196  justify-content: center;
5197}
5198.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] {
5199  justify-content: flex-end;
5200}
5201.mat-mdc-dialog-actions .mat-button-base + .mat-button-base,
5202.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {
5203  margin-left: 8px;
5204}
5205[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base,
5206[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {
5207  margin-left: 0;
5208  margin-right: 8px;
5209}
5210
5211.mat-mdc-dialog-component-host {
5212  display: contents;
5213}
5214`],encapsulation:2})}return t})(),CM="--mat-dialog-transition-duration";function SM(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?bn(t.substring(0,t.length-2)):t.endsWith("s")?bn(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var rg=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(rg||{}),So=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new Fl(1);_beforeClosed=new Fl(1);_result;_closeFallbackTimeout;_state=rg.OPEN;_closeInteractionType;constructor(n,e,i){this._ref=n,this._config=e,this._containerInstance=i,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(vt(r=>r.state==="opened"),ai(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(vt(r=>r.state==="closed"),ai(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Gt(this.backdropClick(),this.keydownEvents().pipe(vt(r=>r.keyCode===27&&!this.disableClose&&!zt(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),kM(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){let e=this._config.closePredicate;e&&!e(n,this._config,this.componentInstance)||(this._result=n,this._containerInstance._animationStateChanged.pipe(vt(i=>i.state==="closing"),ai(1)).subscribe(i=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=rg.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=rg.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function kM(t,n,e){return t._closeInteractionType=n,t.close(e)}var hc=new W("MatMdcDialogData"),Sj=new W("mat-mdc-dialog-default-options"),kj=new W("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=f(He);return()=>Zs(t)}}),Zd=(()=>{class t{_defaultOptions=f(Sj,{optional:!0});_scrollStrategy=f(kj);_parentDialog=f(t,{optional:!0,skipSelf:!0});_idGenerator=f(pt);_injector=f(He);_dialog=f(Rx);_animationsDisabled=gt();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new te;_afterOpenedAtThisLevel=new te;dialogConfigClass=ag;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=fo(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(bt(void 0)));constructor(){this._dialogRefConstructor=So,this._dialogContainerType=Cj,this._dialogDataToken=hc}open(e,i){let r;i=H(H({},this._defaultOptions||new ag),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(e,et(H({},i),{positionStrategy:wo(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||i.enterAnimationDuration?.toLocaleStr
5214ing()==="0"||i.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:sl,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(o,s,l)=>(r=new this._dialogRefConstructor(o,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=a.componentRef,r.componentInstance=a.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let o=this.openDialogs.indexOf(r);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jd=(()=>{class t{dialogRef=f(So,{optional:!0});_elementRef=f(he);_dialog=f(Zd);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=EM(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){kM(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&de("click",function(o){return r._onButtonClick(o)}),i&2&&fe("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[lt]})}return t})(),DM=(()=>{class t{_dialogRef=f(So,{optional:!0});_elementRef=f(he);_dialog=f(Zd);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=EM(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t})}return t})(),eu=(()=>{class t extends DM{id=f(pt).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&si("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Ie]})}return t})(),mc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[jk([ls])]})}return t})(),tu=(()=>{class t extends DM{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&ce("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[Ie]})}return t})();function EM(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}var iu=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({providers:[Zd],imports:[yM,_r,gr,Ye]})}return t})();var Ej="type.googleapis.com/google.protobuf.Int64Value",Tj="type.googleapis.com/google.protobuf.UInt64Value";function AM(t,n){let e={};for(let i in t)t.hasOwnProperty(i)&&(e[i]=n(t[i]));return e}function og(t){if(t==null)return null;if(t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&isFinite(t)||t===!0||t===!1||Object.prototype.toString.call(t)==="[object String]")return t;if(t instanceof Date)return t.toISOString();if(Array.isArray(t))return t.map(n=>og(n));if(typeof t=="function"||typeof t=="object")return AM(t,n=>og(n));throw new Error("Data cannot be encoded in JSON: "+t)}function nu(t){if(t==null)return t;if(t["@type"])switch(t["@type"]){case Ej:case Tj:{let n=Number(t.value);if(isNaN(n))throw new Error("Data cannot be decoded from JSON: "+t);return n}default:throw new Error("Data cannot be decoded from JSON: "+t)}return Array.isArray(t)?t.map(n=>nu(n)):typeof t=="function"||typeof t=="object"?AM(t,n=>nu(n)):t}var Lx="functions";var TM={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENT
5214ED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"},Vr=class t extends mr{constructor(n,e,i){super(`${Lx}/${n}`,e||""),this.details=i,Object.setPrototypeOf(this,t.prototype)}};function Ij(t){if(t>=200&&t<300)return"ok";switch(t){case 0:return"internal";case 400:return"invalid-argument";case 401:return"unauthenticated";case 403:return"permission-denied";case 404:return"not-found";case 409:return"aborted";case 429:return"resource-exhausted";case 499:return"cancelled";case 500:return"internal";case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline-exceeded"}return"unknown"}function sg(t,n){let e=Ij(t),i=e,r;try{let a=n&&n.error;if(a){let o=a.status;if(typeof o=="string"){if(!TM[o])return new Vr("internal","internal");e=TM[o],i=o}let s=a.message;typeof s=="string"&&(i=s),r=a.details,r!==void 0&&(r=nu(r))}}catch(a){}return e==="ok"?null:new Vr(e,i,r)}var Fx=class{constructor(n,e,i,r){this.app=n,this.auth=null,this.messaging=null,this.appCheck=null,this.serverAppAppCheckToken=null,On(n)&&n.settings.appCheckToken&&(this.serverAppAppCheckToken=n.settings.appCheckToken),this.auth=e.getImmediate({optional:!0}),this.messaging=i.getImmediate({optional:!0}),this.auth||e.get().then(a=>this.auth=a,()=>{}),this.messaging||i.get().then(a=>this.messaging=a,()=>{}),this.appCheck||r?.get().then(a=>this.appCheck=a,()=>{})}getAuthToken(){return S(this,null,function*(){if(this.auth)try{return(yield this.auth.getToken())?.accessToken}catch(n){return}})}getMessagingToken(){return S(this,null,function*(){if(!(!this.messaging||!("Notification"in self)||Notification.permission!=="granted"))try{return yield this.messaging.getToken()}catch(n){return}})}getAppCheckToken(n){return S(this,null,function*(){if(this.serverAppAppCheckToken)return this.serverAppAppCheckToken;if(this.appCheck){let e=n?yield this.appCheck.getLimitedUseToken():yield this.appCheck.getToken();return e.error?null:e.token}return null})}getContext(n){return S(this,null,function*(){let e=yield this.getAuthToken(),i=yield this.getMessagingToken(),r=yield this.getAppCheckToken(n);return{authToken:e,messagingToken:i,appCheckToken:r}})}};var Ox="us-central1",Mj=/^data: (.*?)(?:\n|$)/;function Aj(t){let n=null;return{promise:new Promise((e,i)=>{n=setTimeout(()=>{i(new Vr("deadline-exceeded","deadline-exceeded"))},t)}),cancel:()=>{n&&clearTimeout(n)}}}var Nx=class{constructor(n,e,i,r,a=Ox,o=(...s)=>fetch(...s)){this.app=n,this.fetchImpl=o,this.emulatorOrigin=null,this.contextProvider=new Fx(n,e,i,r),this.cancelAllRequests=new Promise(s=>{this.deleteService=()=>Promise.resolve(s())});try{let s=new URL(a);this.customDomain=s.origin+(s.pathname==="/"?"":s.pathname),this.region=Ox}catch(s){this.customDomain=null,this.region=a}}_delete(){return this.deleteService()}_url(n){let e=this.app.options.projectId;return this.emulatorOrigin!==null?`${this.emulatorOrigin}/${e}/${this.region}/${n}`:this.customDomain!==null?`${this.customDomain}/${n}`:`https://${this.region}-${e}.cloudfunctions.net/${n}`}};function Rj(t,n,e){let i=_o(n);t.emulatorOrigin=`http${i?"s":""}://${n}:${e}`,i&&(rd(t.emulatorOrigin+"/backends"),ad("Functions",!0))}function Pj(t,n,e){let i=r=>Oj(t,n,r,e||{});return i.stream=(r,a)=>Lj(t,n,r,a),i}function RM(t){return t.emulatorOrigin&&_o(t.emulatorOrigin)?"include":void 0}function Fj(t,n,e,i,r){return S(this,null,function*(){e["Content-Type"]="application/json";let a;try{a=yield i(t,{method:"POST",body:JSON.stringify(n),headers:e,credentials:RM(r)})}catch(s){return{status:0,json:null}}let o=null;try{o=yield a.json()}catch(s){}return{status:a.status,json:o}})}function PM(t,n){return S(this,null,function*(){let e={},i=yield t.contextProvider.getContext(n.limitedUseAppCheckTokens);return i.authToken&&(e.Authorization="Bearer "+i.authToken),i.messagingToken&&(e["Firebase-Instance-ID-Token"]=i.messagingToken),i.appCheckToken!==null&&(e["X-Firebase-AppCheck"]=i.appCheckToken),e})}function Oj(t,n,e,i){let r=t._url(n);return Nj(t,r,e,i)}function Nj(t,n,e,i){return S(this,null,function*(){e=og(e);let r={data:e},a=yield PM(t,i),o=i.timeout||7e4,s=Aj(o),l=yield Promise.race([Fj(n,r,a,t.fetchImpl,t),s.promise,t.cancelAllRequests]);if(s.cancel(),!l)throw new Vr("cancelled","Firebase Functions instance was deleted.");let c=sg(l.status,l.json);if(c)throw c;
vendor: 4,767 bytes, lines 5214-5215
5214if(!l.json)throw new Vr("internal","Response is not valid JSON object.");let d=l.json.data;if(typeof d>"u"&&(d=l.json.result),typeof d>"u")throw new Vr("internal","Response is missing data field.");return{data:nu(d)}})}function Lj(t,n,e,i){let r=t._url(n);return Bj(t,r,e,i||{})}function Bj(t,n,e,i){return S(this,null,function*(){e=og(e);let r={data:e},a=yield PM(t,i);a["Content-Type"]="application/json",a.Accept="text/event-stream";let o;try{o=yield t.fetchImpl(n,{method:"POST",body:JSON.stringify(r),headers:a,signal:i?.signal,credentials:RM(t)})}catch(h){if(h instanceof Error&&h.name==="AbortError"){let g=new Vr("cancelled","Request was cancelled.");return{data:Promise.reject(g),stream:{[Symbol.asyncIterator](){return{next(){return Promise.reject(g)}}}}}}let m=sg(0,null);return{data:Promise.reject(m),stream:{[Symbol.asyncIterator](){return{next(){return Promise.reject(m)}}}}}}let s,l,c=new Promise((h,m)=>{s=h,l=m});i?.signal?.addEventListener("abort",()=>{let h=new Vr("cancelled","Request was cancelled.");l(h)});let d=o.body.getReader(),u=Vj(d,s,l,i?.signal);return{stream:{[Symbol.asyncIterator](){let h=u.getReader();return{next(){return S(this,null,function*(){let{value:g,done:_}=yield h.read();return{value:g,done:_}})},return(){return S(this,null,function*(){return yield h.cancel(),{done:!0,value:void 0}})}}}},data:c}})}function Vj(t,n,e,i){let r=(o,s)=>{let l=o.match(Mj);if(!l)return;let c=l[1];try{let d=JSON.parse(c);if("result"in d){n(nu(d.result));return}if("message"in d){s.enqueue(nu(d.message));return}if("error"in d){let u=sg(0,d);s.error(u),e(u);return}}catch(d){if(d instanceof Vr){s.error(d),e(d);return}}},a=new TextDecoder;return new ReadableStream({start(o){let s="";return l();function l(){return S(this,null,function*(){if(i?.aborted){let c=new Vr("cancelled","Request was cancelled");return o.error(c),e(c),Promise.resolve()}try{let{value:c,done:d}=yield t.read();if(d){s.trim()&&r(s.trim(),o),o.close();return}if(i?.aborted){let h=new Vr("cancelled","Request was cancelled");o.error(h),e(h),yield t.cancel();return}s+=a.decode(c,{stream:!0});let u=s.split(`
5215`);s=u.pop()||"";for(let h of u)h.trim()&&r(h.trim(),o);return l()}catch(c){let d=c instanceof Vr?c:sg(0,null);o.error(d),e(d)}})}},cancel(){return t.cancel()}})}var IM="@firebase/functions",MM="0.13.1";var Uj="auth-internal",zj="app-check-internal",jj="messaging-internal";function Hj(t){let n=(e,{instanceIdentifier:i})=>{let r=e.getProvider("app").getImmediate(),a=e.getProvider(Uj),o=e.getProvider(jj),s=e.getProvider(zj);return new Nx(r,a,o,s,i)};Gn(new Wn(Lx,n,"PUBLIC").setMultipleInstances(!0)),_n(IM,MM,t),_n(IM,MM,"esm2020")}function ru(t=$a(),n=Ox){let i=qn(ti(t),Lx).getImmediate({identifier:n}),r=ip("functions");return r&&$j(i,...r),i}function $j(t,n,e){Rj(ti(t),n,e)}function lg(t,n,e){return Pj(ti(t),n,e)}Hj();function XM(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}}var KM=XM,QM=new vo("auth","Firebase",XM());var fg=new dd("@firebase/auth");function Wj(t,...n){fg.logLevel<=rb.WARN&&fg.warn(`Auth (${zs}): ${t}`,...n)}function dg(t,...n){fg.logLevel<=rb.ERROR&&fg.error(`Auth (${zs}): ${t}`,...n)}function Ma(t,...n){throw o1(t,...n)}function no(t,...n){return o1(t,...n)}function a1(t,n,e){let i=et(H({},KM()),{[n]:e});return new vo("auth","Firebase",i).create(n,{appName:t.name})}function fs(t){return a1(t,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function ZM(t,n,e){let i=e;if(!(n instanceof i))throw i.name!==n.constructor.name&&Ma(t,"argument-error"),a1(t,"argument-error",`Type of ${n.constructor.name} does not match expected instance.Did you pass a reference from a different Auth SDK?`)}function o1(t,...n){if(typeof t!="string"){let e=n[0],i=[...n.slice(1)];return i[0]&&(i[0].appName=t.name),t._errorFactory.create(e,...i)}return QM.create(t,...n)}function st(t,n,...e){if(!t)throw o1(n,...e)}function hs(t){let n="INTERNAL ASSERTION FAILED: "+t;throw dg(n),new Error(n)}function gs(t,n){t||hs(n)}function Ux(){return typeof self<"u"&&self.location?.href||""}function Gj(){return FM()==="http:"||FM()==="https:"}function FM(){return typeof self<"u"&&self.location?.protocol||null}function qj(){return typeof navigator<"u"&&navigator&&"onLine"in navigator&&typeof navigator.onLine=="boolean"&&(Gj()||np()||"connection"in navigator)?navigator.onLine:!0}function Yj(){if(typeof navigator>"u")return null;let t=navigator;return t.languages&&t.languages[0]||t.language||null}var fc=class{constructor(n,e){this.shortDelay=n,this.longDelay=e,gs(e>
5215n,"Short delay should be less than long delay!"),this.isMobile=cD()||uD()}get(){return qj()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}};function s1(t,n){gs(t.emulator,"Emulator should always be set here");let{url:e}=t.emulator;return n?`${e}${n.startsWith("/")?n.slice(1):n}`:e}var pg=class{static initialize(n,e,i){this.fetchImpl=n,e&&(this.headersImpl=e),i&&(this.responseImpl=i)}static fetch(){if(this.fetchImpl)return this.fetchImpl;if(typeof self<"u"&&"fetch"in self)return self.fetch;if(typeof globalThis<"u"&&globalThis.fetch)return globalThis.fetch;if(typeof fetch<"u")return fetch;hs("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){if(this.headersImpl)return this.headersImpl;if(typeof self<"u"&&"Headers"in self)return self.Headers;if(typeof globalThis<"u"&&globalThis.Headers)return globalThis.Headers;if(typeof Headers<"u")return Headers;hs("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){if(this.responseImpl)return this.responseImpl;if(typeof self<"u"&&"Response"in self)return self.Response;if(typeof globalThis<"u"&&globalThis.Response)return globalThis.Response;if(typeof Response<"u")return Response;hs("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}};var Xj={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"};var Kj=["/v1/accounts:signInWithCustomToken","/v1/accounts:signInWithEmailLink","/v1/accounts:signInWithIdp","/v1/accounts:signInWithPassword","/v1/accounts:signInWithPhoneNumber","/v1/token"],Qj=new fc(3e4,6e4);function dl(t,n){return t.tenantId&&!n.tenantId?et(H({},n),{tenantId:t.tenantId}):n}function ro(a,o,s,l){return S(this,arguments,function*(t,n,e,i,r={}){return JM(t,r,()=>S(null,null,function*(){let c={},d={};i&&(n==="GET"?d=i:c={body:JSON.stringify(i)});let u=sd(H({key:t.config.apiKey},d)).slice(1),h=yield t._getAdditionalHeaders();h["Content-Type"]="application/json",t.languageCode&&(h["X-Firebase-Locale"]=t.languageCode);let m=H({method:n,headers:h},c);return dD()||(m.referrerPolicy="no-referrer"),t.emulatorConfig&&_o(t.emulatorConfig.host)&&(m.credentials="include"),pg.fetch()(yield eA(t,t.config.apiHost,e,u),m)}))})}function JM(t,n,e){return S(this,null,function*(){t._canInitEmulator=!1;let i=H(H({},Xj),n);try{let r=new zx(t),a=yield Promise.race([e(),r.promise]);r.clearNetworkTimeout();let o=yield a.json();if("needConfirmation"in o)throw cg(t,"account-exists-with-different-credential",o);if(a.ok&&!("errorMessage"in o))return o;{let s=a.ok?o.errorMessage:o.error.message,[l,c]=s.split(" : ");if(l==="FEDERATED_USER_ID_ALREADY_LINKED")throw cg(t,"credential-already-in-use",o);if(l==="EMAIL_EXISTS")throw cg(t,"email-already-in-use",o);if(l==="USER_DISABLED")throw cg(t,"user-disabled",o);let d=i[l]||l.toLowerCase().replace(/[_\s]+/g,"-");if(c)throw a1(t,d,c);Ma(t,d)}}catch(r){if(r instanceof mr)throw r;Ma(t,"network-request-failed",{message:String(r)})}})}function Eg(a,o,s,l){return S(this,arguments,function*(t,n,e,i,r={}){let c=yield ro(t,n,e,i,r);return"mfaPendingCredential"in c&&Ma(t,"multi-factor-auth-required",{_serverResponse:c}),c})}function eA(t,n,e,i){return S(this,null,function*(){let r=`${n}${e}?${i}`,a=t,o=a.config.emulator?s1(t.config,r):`${t.config.apiScheme}://${r}`;return Kj.includes(e)&&(yield a._persistenceManagerAvailable,a._getPersistenceType()==="COOKIE")?a._getPersistence()._getFinalTarget(o).toString():o})}function Zj(t){switch(t){case"ENFORCE":return"ENFORCE";case"AUDIT":return"AUDIT";case"OFF":return"OFF";default:return"ENFORCEMENT_STATE_UNSPECIFIED"}}var zx=class{clearNetworkTimeout(){clearTimeout(this.timer)}constructor(n){this.auth=n,this.timer=null,this.promise=new Promise((e,i)=>{this.timer=setTimeout(()=>i(no(this.auth,"network-request-failed")),Qj.get())})}};function cg(t,n,e){let i={appName:t.name};e.email&&(i.email=e.email),e.phoneNumber&&(i.phoneNumber=e.phoneNumber);let r=no(t,n,i);return r.customData._tokenResponse=e,r}function OM(t){return t!==void 0&&t.enterprise!==void 0}var jx=class{constructor(n){if(this.siteKey="",this.recaptchaEnforcementState=[],n.recaptchaKey===void 0)throw new Error("recaptchaKey undefined");this.siteKey=n.recaptchaKey.split("/")[3],this.recaptchaEnforcementState=n.recaptchaEnforcementState}getProviderEnforcementState(n){if(!this.recaptchaEnforcementState||this.recaptchaEnforcementState.length===0)return null;for(let e of this.recaptchaEnforcementState)if(e.provider&&e.provider===n)return Zj(e.enforcementState);return null}isProviderEnabled(n){return this.getProviderEnforcementState(n)==="ENFORCE"||this.getProviderEnforcementState(n)==="AUDIT"}isAnyProviderEnabled(){return this.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")||this.isProviderEnabled("PHONE_PRO
5215VIDER")}};function Jj(t,n){return S(this,null,function*(){return ro(t,"GET","/v2/recaptchaConfig",dl(t,n))})}function e9(t,n){return S(this,null,function*(){return ro(t,"POST","/v1/accounts:delete",n)})}function gg(t,n){return S(this,null,function*(){return ro(t,"POST","/v1/accounts:lookup",n)})}function Dm(t){if(t)try{let n=new Date(Number(t));if(!isNaN(n.getTime()))return n.toUTCString()}catch(n){}}function tA(t,n=!1){return S(this,null,function*(){let e=ti(t),i=yield e.getIdToken(n),r=l1(i);st(r&&r.exp&&r.auth_time&&r.iat,e.auth,"internal-error");let a=typeof r.firebase=="object"?r.firebase:void 0,o=a?.sign_in_provider;return{claims:r,token:i,authTime:Dm(Bx(r.auth_time)),issuedAtTime:Dm(Bx(r.iat)),expirationTime:Dm(Bx(r.exp)),signInProvider:o||null,signInSecondFactor:a?.sign_in_second_factor||null}})}function Bx(t){return Number(t)*1e3}function l1(t){let[n,e,i]=t.split(".");if(n===void 0||e===void 0||i===void 0)return dg("JWT malformed, contained fewer than 3 sections"),null;try{let r=aD(e);return r?JSON.parse(r):(dg("Failed to decode base64 JWT payload"),null)}catch(r){return dg("Caught error parsing JWT payload as JSON",r?.toString()),null}}function NM(t){let n=l1(t);return st(n,"internal-error"),st(typeof n.exp<"u","internal-error"),st(typeof n.iat<"u","internal-error"),Number(n.exp)-Number(n.iat)}function pc(t,n,e=!1){return S(this,null,function*(){if(e)return n;try{return yield n}catch(i){throw i instanceof mr&&t9(i)&&t.auth.currentUser===t&&(yield t.auth.signOut()),i}})}function t9({code:t}){return t==="auth/user-disabled"||t==="auth/user-token-expired"}var Hx=class{constructor(n){this.user=n,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,this.timerId!==null&&clearTimeout(this.timerId))}getInterval(n){if(n){let e=this.errorBackoff;return this.errorBackoff=Math.min(this.errorBackoff*2,96e4),e}else{this.errorBackoff=3e4;let i=(this.user.stsTokenManager.expirationTime??0)-Date.now()-3e5;return Math.max(0,i)}}schedule(n=!1){if(!this.isRunning)return;let e=this.getInterval(n);this.timerId=setTimeout(()=>S(this,null,function*(){yield this.iteration()}),e)}iteration(){return S(this,null,function*(){try{yield this.user.getIdToken(!0)}catch(n){n?.code==="auth/network-request-failed"&&this.schedule(!0);return}this.schedule()})}};var Tm=class{constructor(n,e){this.createdAt=n,this.lastLoginAt=e,this._initializeTime()}_initializeTime(){this.lastSignInTime=Dm(this.lastLoginAt),this.creationTime=Dm(this.createdAt)}_copy(n){this.createdAt=n.createdAt,this.lastLoginAt=n.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}};function _g(t){return S(this,null,function*(){let n=t.auth,e=yield t.getIdToken(),i=yield pc(t,gg(n,{idToken:e}));st(i?.users.length,n,"internal-error");let r=i.users[0];t._notifyReloadListener(r);let a=r.providerUserInfo?.length?nA(r.providerUserInfo):[],o=i9(t.providerData,a),s=t.isAnonymous,l=!(t.email&&r.passwordHash)&&!o?.length,c=s?l:!1,d={uid:r.localId,displayName:r.displayName||null,photoURL:r.photoUrl||null,email:r.email||null,emailVerified:r.emailVerified||!1,phoneNumber:r.phoneNumber||null,tenantId:r.tenantId||null,providerData:o,metadata:new Tm(r.createdAt,r.lastLoginAt),isAnonymous:c};Object.assign(t,d)})}function iA(t){return S(this,null,function*(){let n=ti(t);yield _g(n),yield n.auth._persistUserIfCurrent(n),n.auth._notifyListenersIfCurrent(n)})}function i9(t,n){return[...t.filter(i=>!n.some(r=>r.providerId===i.providerId)),...n]}function nA(t){return t.map(i=>{var r=i,{providerId:n}=r,e=Wc(r,["providerId"]);return{providerId:n,uid:e.rawId||"",displayName:e.displayName||null,email:e.email||null,phoneNumber:e.phoneNumber||null,photoURL:e.photoUrl||null}})}function n9(t,n){return S(this,null,function*(){let e=yield JM(t,{},()=>S(null,null,function*(){let i=sd({grant_type:"refresh_token",refresh_token:n}).slice(1),{tokenApiHost:r,apiKey:a}=t.config,o=yield eA(t,r,"/v1/token",`key=${a}`),s=yield t._getAdditionalHeaders();s["Content-Type"]="application/x-www-form-urlencoded";let l={method:"POST",headers:s,body:i};return t.emulatorConfig&&_o(t.emulatorConfig.host)&&(l.credentials="include"),pg.fetch()(o,l)}));return{accessToken:e.access_token,expiresIn:e.expires_in,refreshToken:e.refresh_token}})}function r9(t,n){return S(this,null,function*(){return ro(t,"POST","/v2/accounts:revokeToken",dl(t,n))})}var Em=class t{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(n){st(n.idToken,"internal-error"),st(typeof n.idToken<"u","internal-error"),st(typeof n.refreshToken<"u","internal-error");let e="expiresIn"in n&&typeof n.expiresIn<"u"?Number(n.expiresIn):NM(n.idToken);this.updateTokensAndExpiration(n.idToken,n.refreshToken,e)}updateFromIdToken(n){st(n.length!==0,"internal-error");let e=NM(n);this.updateTokensAndExpiration(n,null,e)}getToken(n,e=!1){return S(this,null,function*(){return!e&&this.accessToken&&!this.isExpired?this.accessToken:(st(this.refreshToken,n,"user-token-expired"),this.refreshToken?(yield this.refresh(n,this.refreshToken),this.accessToken):null)})}clearRefreshToken(){this.refreshToken=null}refresh(n,e){return S(this,null,function*(){let{accessToken:i,refreshToken:r,expires
vendor: 11,354 bytes, line 5215
5215In:a}=yield n9(n,e);this.updateTokensAndExpiration(i,r,Number(a))})}updateTokensAndExpiration(n,e,i){this.refreshToken=e||null,this.accessToken=n||null,this.expirationTime=Date.now()+i*1e3}static fromJSON(n,e){let{refreshToken:i,accessToken:r,expirationTime:a}=e,o=new t;return i&&(st(typeof i=="string","internal-error",{appName:n}),o.refreshToken=i),r&&(st(typeof r=="string","internal-error",{appName:n}),o.accessToken=r),a&&(st(typeof a=="number","internal-error",{appName:n}),o.expirationTime=a),o}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(n){this.accessToken=n.accessToken,this.refreshToken=n.refreshToken,this.expirationTime=n.expirationTime}_clone(){return Object.assign(new t,this.toJSON())}_performRefresh(){return hs("not implemented")}};function ll(t,n){st(typeof t=="string"||typeof t>"u","internal-error",{appName:n})}var cl=class t{constructor(a){var o=a,{uid:n,auth:e,stsTokenManager:i}=o,r=Wc(o,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new Hx(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=n,this.auth=e,this.stsTokenManager=i,this.accessToken=i.accessToken,this.displayName=r.displayName||null,this.email=r.email||null,this.emailVerified=r.emailVerified||!1,this.phoneNumber=r.phoneNumber||null,this.photoURL=r.photoURL||null,this.isAnonymous=r.isAnonymous||!1,this.tenantId=r.tenantId||null,this.providerData=r.providerData?[...r.providerData]:[],this.metadata=new Tm(r.createdAt||void 0,r.lastLoginAt||void 0)}getIdToken(n){return S(this,null,function*(){let e=yield pc(this,this.stsTokenManager.getToken(this.auth,n));return st(e,this.auth,"internal-error"),this.accessToken!==e&&(this.accessToken=e,yield this.auth._persistUserIfCurrent(this),this.auth._notifyListenersIfCurrent(this)),e})}getIdTokenResult(n){return tA(this,n)}reload(){return iA(this)}_assign(n){this!==n&&(st(this.uid===n.uid,this.auth,"internal-error"),this.displayName=n.displayName,this.photoURL=n.photoURL,this.email=n.email,this.emailVerified=n.emailVerified,this.phoneNumber=n.phoneNumber,this.isAnonymous=n.isAnonymous,this.tenantId=n.tenantId,this.providerData=n.providerData.map(e=>H({},e)),this.metadata._copy(n.metadata),this.stsTokenManager._assign(n.stsTokenManager))}_clone(n){let e=new t(et(H({},this),{auth:n,stsTokenManager:this.stsTokenManager._clone()}));return e.metadata._copy(this.metadata),e}_onReload(n){st(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=n,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(n){this.reloadListener?this.reloadListener(n):this.reloadUserInfo=n}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}_updateTokensIfNecessary(n,e=!1){return S(this,null,function*(){let i=!1;n.idToken&&n.idToken!==this.stsTokenManager.accessToken&&(this.stsTokenManager.updateFromServerResponse(n),i=!0),e&&(yield _g(this)),yield this.auth._persistUserIfCurrent(this),i&&this.auth._notifyListenersIfCurrent(this)})}delete(){return S(this,null,function*(){if(On(this.auth.app))return Promise.reject(fs(this.auth));let n=yield this.getIdToken();return yield pc(this,e9(this.auth,{idToken:n})),this.stsTokenManager.clearRefreshToken(),this.auth.signOut()})}toJSON(){return et(H({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isAnonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(n=>H({},n)),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(n,e){let i=e.displayName??void 0,r=e.email??void 0,a=e.phoneNumber??void 0,o=e.photoURL??void 0,s=e.tenantId??void 0,l=e._redirectEventId??void 0,c=e.createdAt??void 0,d=e.lastLoginAt??void 0,{uid:u,emailVerified:h,isAnonymous:m,providerData:g,stsTokenManager:_}=e;st(u&&_,n,"internal-error");let p=Em.fromJSON(this.name,_);st(typeof u=="string",n,"internal-error"),ll(i,n.name),ll(r,n.name),st(typeof h=="boolean",n,"internal-error"),st(typeof m=="boolean",n,"internal-error"),ll(a,n.name),ll(o,n.name),ll(s,n.name),ll(l,n.name),ll(c,n.name),ll(d,n.name);let v=new t({uid:u,auth:n,email:r,emailVerified:h,displayName:i,isAnonymous:m,photoURL:o,phoneNumber:a,tenantId:s,stsTokenManager:p,createdAt:c,lastLoginAt:d});return g&&Array.isArray(g)&&(v.providerData=g.map(b=>H({},b))),l&&(v._redirectEventId=l),v}static _fromIdTokenResponse(n,e,i=!1){return S(this,null,function*(){let r=new Em;r.updateFromServerResponse(e);let a=new t({uid:e.localId,auth:n,stsTokenManager:r,isAnonymous:i});return yield _g(a),a})}static _fromGetAccountInfoResponse(n,e,i){return S(this,null,function*(){let r=e.users[0];st(r.localId!==void 0,"internal-error");let a=r.providerUserInfo!==void 0?nA(r.providerUserInfo):[],o=!(r.email&&r.passwordHash)&&!a?.length,s=new Em;s.updateFromIdToken(i);let l=new t({uid:r.localId,auth:n,stsTokenManager:s,isAnonymous:o}),c={uid:r.localId,displayName:r.displayName||null,photoURL:r.photoUrl||null,email:r.email||null,emailVerified:r.emailVerified||!1,phoneNumber:r.phoneNumber||null,tenantId:r.tenantId||null,providerData:a,metadata:new Tm(r.createdAt,r.lastLoginAt),isAnonymous:!(r.email&&r.passwordHash)&&!a?.length};return Object.assign(l,c),l})}};var LM=new Map;function ms(t){gs(t instanceof Function,"Expected a class definition");let n=LM.get(t);return n?(gs(n instanceof t,"Instance stored in cache mismatched with class"),n):(n=new t,LM.set(t,n),n)}var a9=(()=>{class t{constructor(){this.type="NONE",this.storage={}}_isAvailable(){return S(this,null,function*(){return!0})}_set(e,i){return S(this,null,function*(){this.storage[e]=i})}_get(e){return S(this,null,function*(){let i=this.storage[e];return i===void 0?null:i})}_remove(e){return S(this,null,function*(){delete this.storage[e]})}_addListener(e,i){}_removeListener(e,i){}}return t.type="NONE",t})(),$x=a9;function ug(t,n,e){return`firebase:${t}:${n}:${e}`}var vg=class t{constructor(n,e,i){this.persistence=n,this.auth=e,this.userKey=i;let{config:r,name:a}=this.auth;this.fullUserKey=ug(this.userKey,r.apiKey,a),this.fullPersistenceKey=ug("persistence",r.apiKey,a),this.boundEventHandler=e._onStorageEvent.bind(e),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(n){return this.persistence._set(this.fullUserKey,n.toJSON())}getCurrentUser(){return S(this,null,function*(){let n=yield this.persistence._get(this.fullUserKey);if(!n)return null;if(typeof n=="string"){let e=yield gg(this.auth,{idToken:n}).catch(()=>{});return e?cl._fromGetAccountInfoResponse(this.auth,e,n):null}return cl._fromJSON(this.auth,n)})}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}setPersistence(n){return S(this,null,function*(){if(this.persistence===n)return;let e=yield this.getCurrentUser();if(yield this.removeCurrentUser(),this.persistence=n,e)return this.setCurrentUser(e)})}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static create(n,e,i="authUser"){return S(this,null,function*(){if(!e.length)return new t(ms($x),n,i);let r=(yield Promise.all(e.map(c=>S(null,null,function*(){if(yield c._isAvailable())return c})))).filter(c=>c),a=r[0]||ms($x),o=ug(i,n.config.apiKey,n.name),s=null;for(let c of e)try{let d=yield c._get(o);if(d){let u;if(typeof d=="string"){let h=yield gg(n,{idToken:d}).catch(()=>{});if(!h)break;u=yield cl._fromGetAccountInfoResponse(n,h,d)}else u=cl._fromJSON(n,d);c!==a&&(s=u),a=c;break}}catch(d){}let l=r.filter(c=>c._shouldAllowMigration);return!a._shouldAllowMigration||!l.length?new t(a,n,i):(a=l[0],s&&(yield a._set(o,s.toJSON())),yield Promise.all(e.map(c=>S(null,null,function*(){if(c!==a)try{yield c._remove(o)}catch(d){}}))),new t(a,n,i))})}};function BM(t){let n=t.toLowerCase();if(n.includes("opera/")||n.includes("opr/")||n.includes("opios/"))return"Opera";if(sA(n))return"IEMobile";if(n.includes("msie")||n.includes("trident/"))return"IE";if(n.includes("edge/"))return"Edge";if(rA(n))return"Firefox";if(n.includes("silk/"))return"Silk";if(cA(n))return"Blackberry";if(dA(n))return"Webos";if(aA(n))return"Safari";if((n.includes("chrome/")||oA(n))&&!n.includes("edge/"))return"Chrome";if(lA(n))return"Android";{let e=/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/,i=t.match(e);if(i?.length===2)return i[1]}return"Other"}function rA(t=Ir()){return/firefox\//i.test(t)}function aA(t=Ir()){let n=t.toLowerCase();return n.includes("safari/")&&!n.includes("chrome/")&&!n.includes("crios/")&&!n.includes("android")}function oA(t=Ir()){return/crios\//i.test(t)}function sA(t=Ir()){return/iemobile/i.test(t)}function lA(t=Ir()){return/android/i.test(t)}function cA(t=Ir()){return/blackberry/i.test(t)}function dA(t=Ir()){return/webos/i.test(t)}function c1(t=Ir()){return/iphone|ipad|ipod/i.test(t)||/macintosh/i.test(t)&&/mobile/i.test(t)}function o9(t=Ir()){return c1(t)&&!!window.navigator?.standalone}function s9(){return hD()&&document.documentMode===10}function uA(t=Ir()){return c1(t)||lA(t)||dA(t)||cA(t)||/windows phone/i.test(t)||sA(t)}function hA(t,n=[]){let e;switch(t){case"Browser":e=BM(Ir());break;case"Worker":e=`${BM(Ir())}-${t}`;break;default:e=t}let i=n.length?n.join(","):"FirebaseCore-web";return`${e}/JsCore/${zs}/${i}`}var Wx=class{constructor(n){this.auth=n,this.queue=[]}pushCallback(n,e){let i=a=>new Promise((o,s)=>{try{let l=n(a);o(l)}catch(l){s(l)}});i.onAbort=e,this.queue.push(i);let r=this.queue.length-1;return()=>{this.queue[r]=()=>Promise.resolve()}}runMiddleware(n){return S(this,null,function*(){if(this.auth.currentUser===n)return;let e=[];try{for(let i of this.queue)yield i(n),i.onAbort&&e.push(i.onAbort)}catch(i){e.reverse();for(let r of e)try{r()}catch(a){}throw this.auth._errorFactory.create("login-blocked",{originalMessage:i?.message})}})}};function l9(e){return S(this,arguments,function*(t,n={}){return ro(t,"GET","/v2/passwordPolicy",dl(t,n))})}var c9=6,Gx=class{constructor(n){let e=n.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=e.minPasswordLength??c9,e.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=e.maxPasswordLength),e.containsLowercaseCharacter!==void 0&&(this.customStrengthOptions.containsLowercaseLetter=e.containsLowercaseCharacter),e.containsUppercaseCharacter!==void 0&&(this.customStrengthOptions.containsUppercaseLetter=e.containsUppercaseCharacter),e.containsNumericCharacter!==void 0&&(this.customStrengthOptions.containsNumericCharacter=e.containsNumericCharacter),e.containsNonAlphanumericCharacter!==void 0&&(this.customStrengthOptions.containsNonAlphanumericCharacter=e.containsNonAlphanumericCharacter),this.enforcementState=n.enforcementState,this.enforcementState==="ENFORCEMENT_STATE_UNSPECIFIED"&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=n.allowedNonAlphanumericCharacters?.join("")??"",this.forceUpgradeOnSignin=n.forceUpgradeOnSignin??!1,this.schemaVersion=n.schemaVersion}
5215validatePassword(n){let e={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(n,e),this.validatePasswordCharacterOptions(n,e),e.isValid&&(e.isValid=e.meetsMinPasswordLength??!0),e.isValid&&(e.isValid=e.meetsMaxPasswordLength??!0),e.isValid&&(e.isValid=e.containsLowercaseLetter??!0),e.isValid&&(e.isValid=e.containsUppercaseLetter??!0),e.isValid&&(e.isValid=e.containsNumericCharacter??!0),e.isValid&&(e.isValid=e.containsNonAlphanumericCharacter??!0),e}validatePasswordLengthOptions(n,e){let i=this.customStrengthOptions.minPasswordLength,r=this.customStrengthOptions.maxPasswordLength;i&&(e.meetsMinPasswordLength=n.length>=i),r&&(e.meetsMaxPasswordLength=n.length<=r)}validatePasswordCharacterOptions(n,e){this.updatePasswordCharacterOptionsStatuses(e,!1,!1,!1,!1);let i;for(let r=0;r<n.length;r++)i=n.charAt(r),this.updatePasswordCharacterOptionsStatuses(e,i>="a"&&i<="z",i>="A"&&i<="Z",i>="0"&&i<="9",this.allowedNonAlphanumericCharacters.includes(i))}updatePasswordCharacterOptionsStatuses(n,e,i,r,a){this.customStrengthOptions.containsLowercaseLetter&&(n.containsLowercaseLetter||(n.containsLowercaseLetter=e)),this.customStrengthOptions.containsUppercaseLetter&&(n.containsUppercaseLetter||(n.containsUppercaseLetter=i)),this.customStrengthOptions.containsNumericCharacter&&(n.containsNumericCharacter||(n.containsNumericCharacter=r)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(n.containsNonAlphanumericCharacter||(n.containsNonAlphanumericCharacter=a))}};var qx=class{constructor(n,e,i,r){this.app=n,this.heartbeatServiceProvider=e,this.appCheckServiceProvider=i,this.config=r,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new bg(this),this.idTokenSubscription=new bg(this),this.beforeStateQueue=new Wx(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=QM,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this._resolvePersistenceManagerAvailable=void 0,this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=n.name,this.clientVersion=r.sdkClientVersion,this._persistenceManagerAvailable=new Promise(a=>this._resolvePersistenceManagerAvailable=a)}_initializeWithPersistence(n,e){return e&&(this._popupRedirectResolver=ms(e)),this._initializationPromise=this.queue(()=>S(this,null,function*(){if(!this._deleted&&(this.persistenceManager=yield vg.create(this,n),this._resolvePersistenceManagerAvailable?.(),!this._deleted)){if(this._popupRedirectResolver?._shouldInitProactively)try{yield this._popupRedirectResolver._initialize(this)}catch(i){}yield this.initializeCurrentUser(e),this.lastNotifiedUid=this.currentUser?.uid||null,!this._deleted&&(this._isInitialized=!0)}})),this._initializationPromise}_onStorageEvent(){return S(this,null,function*(){if(this._deleted)return;let n=yield this.assertedPersistence.getCurrentUser();if(!(!this.currentUser&&!n)){if(this.currentUser&&n&&this.currentUser.uid===n.uid){this._currentUser._assign(n),yield this.currentUser.getIdToken();return}yield this._updateCurrentUser(n,!0)}})}initializeCurrentUserFromIdToken(n){return S(this,null,function*(){try{let e=yield gg(this,{idToken:n}),i=yield cl._fromGetAccountInfoResponse(this,e,n);yield this.directlySetCurrentUser(i)}catch(e){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",e),yield this.directlySetCurrentUser(null)}})}initializeCurrentUser(n){return S(this,null,function*(){if(On(this.app)){let a=this.app.settings.authIdToken;return a?new Promise(o=>{setTimeout(()=>this.initializeCurrentUserFromIdToken(a).then(o,o))}):this.directlySetCurrentUser(null)}let e=yield this.assertedPersistence.getCurrentUser(),i=e,r=!1;if(n&&this.config.authDomain){yield this.getOrInitRedirectPersistenceManager();let a=this.redirectUser?._redirectEventId,o=i?._redirectEventId,s=yield this.tryRedirectSignIn(n);(!a||a===o)&&s?.user&&(i=s.user,r=!0)}if(!i)return this.directlySetCurrentUser(null);
vendor: 7,668 bytes, line 5215
5215if(!i._redirectEventId){if(r)try{yield this.beforeStateQueue.runMiddleware(i)}catch(a){i=e,this._popupRedirectResolver._overrideRedirectResult(this,()=>Promise.reject(a))}return i?this.reloadAndSetCurrentUserOrClear(i):this.directlySetCurrentUser(null)}return st(this._popupRedirectResolver,this,"argument-error"),yield this.getOrInitRedirectPersistenceManager(),this.redirectUser&&this.redirectUser._redirectEventId===i._redirectEventId?this.directlySetCurrentUser(i):this.reloadAndSetCurrentUserOrClear(i)})}tryRedirectSignIn(n){return S(this,null,function*(){let e=null;try{e=yield this._popupRedirectResolver._completeRedirectFn(this,n,!0)}catch(i){yield this._setRedirectUser(null)}return e})}reloadAndSetCurrentUserOrClear(n){return S(this,null,function*(){try{yield _g(n)}catch(e){if(e?.code!=="auth/network-request-failed")return this.directlySetCurrentUser(null)}return this.directlySetCurrentUser(n)})}useDeviceLanguage(){this.languageCode=Yj()}_delete(){return S(this,null,function*(){this._deleted=!0})}updateCurrentUser(n){return S(this,null,function*(){if(On(this.app))return Promise.reject(fs(this));let e=n?ti(n):null;return e&&st(e.auth.config.apiKey===this.config.apiKey,this,"invalid-user-token"),this._updateCurrentUser(e&&e._clone(this))})}_updateCurrentUser(n,e=!1){return S(this,null,function*(){if(!this._deleted)return n&&st(this.tenantId===n.tenantId,this,"tenant-id-mismatch"),e||(yield this.beforeStateQueue.runMiddleware(n)),this.queue(()=>S(this,null,function*(){yield this.directlySetCurrentUser(n),this.notifyAuthListeners()}))})}signOut(){return S(this,null,function*(){return On(this.app)?Promise.reject(fs(this)):(yield this.beforeStateQueue.runMiddleware(null),(this.redirectPersistenceManager||this._popupRedirectResolver)&&(yield this._setRedirectUser(null)),this._updateCurrentUser(null,!0))})}setPersistence(n){return On(this.app)?Promise.reject(fs(this)):this.queue(()=>S(this,null,function*(){yield this.assertedPersistence.setPersistence(ms(n))}))}_getRecaptchaConfig(){return this.tenantId==null?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}validatePassword(n){return S(this,null,function*(){this._getPasswordPolicyInternal()||(yield this._updatePasswordPolicy());let e=this._getPasswordPolicyInternal();return e.schemaVersion!==this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(this._errorFactory.create("unsupported-password-policy-schema-version",{})):e.validatePassword(n)})}_getPasswordPolicyInternal(){return this.tenantId===null?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}_updatePasswordPolicy(){return S(this,null,function*(){let n=yield l9(this),e=new Gx(n);this.tenantId===null?this._projectPasswordPolicy=e:this._tenantPasswordPolicies[this.tenantId]=e})}_getPersistenceType(){return this.assertedPersistence.persistence.type}_getPersistence(){return this.assertedPersistence.persistence}_updateErrorMap(n){this._errorFactory=new vo("auth","Firebase",n())}onAuthStateChanged(n,e,i){return this.registerStateListener(this.authStateSubscription,n,e,i)}beforeAuthStateChanged(n,e){return this.beforeStateQueue.pushCallback(n,e)}onIdTokenChanged(n,e,i){return this.registerStateListener(this.idTokenSubscription,n,e,i)}authStateReady(){return new Promise((n,e)=>{if(this.currentUser)n();else{let i=this.onAuthStateChanged(()=>{i(),n()},e)}})}revokeAccessToken(n){return S(this,null,function*(){if(this.currentUser){let e=yield this.currentUser.getIdToken(),i={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:n,idToken:e};this.tenantId!=null&&(i.tenantId=this.tenantId),yield r9(this,i)}})}toJSON(){return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:this._currentUser?.toJSON()}}_setRedirectUser(n,e){return S(this,null,function*(){let i=yield this.getOrInitRedirectPersistenceManager(e);return n===null?i.removeCurrentUser():i.setCurrentUser(n)})}getOrInitRedirectPersistenceManager(n){return S(this,null,function*(){if(!this.redirectPersistenceManager){let e=n&&ms(n)||this._popupRedirectResolver;st(e,this,"argument-error"),this.redirectPersistenceManager=yield vg.create(this,[ms(e._redirectPersistence)],"redirectUser"),this.redirectUser=yield this.redirectPersistenceManager.getCurrentUser()}return this.redirectPersistenceManager})}_redirectUserForId(n){return S(this,null,function*(){return this._isInitialized&&(yield this.queue(()=>S(this,null,function*(){}))),this._currentUser?._redirectEventId===n?this._currentUser:this.redirectUser?._redirectEventId===n?this.redirectUser:null})}_persistUserIfCurrent(n){return S(this,null,function*(){if(n===this.currentUser)return this.queue(()=>S(this,null,function*(){return this.directlySetCurrentUser(n)}))})}_notifyListenersIfCurrent(n){n===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);let n=this.currentUser?.uid??null;this.lastNotifiedUid!==n&&(this.lastNotifiedUid=n,this.authStateSubscription.next(this.currentUser))}registerStateListener(n,e,i,r){if(this._deleted)return()=>{};let a=typeof e=="function"?e:e.next.bind(e),o=!1,s=this._isInitialized?Promise.resolve():this._initializationPromise;if(st(s,this,"internal-error"),s.then(()=>{o||a(this.currentUser)}),typeof e=="function"){let l=n.addObserver(e,i,r);return()=>{o=!0,l()}}else{let l=n.addObserver(e);return()=>{o=!0,l()}}}directlySetCurrentUser(n){return S(this,null,function*(){this.currentUser&&this.currentUser!==n&&this._currentUser._stopProactiveRefresh(),n&&this.isProactiveRefreshEnabled&&n._startProactiveRefresh(),this.currentUser=n,n?yield this.assertedPersistence.setCurrentUser(n):yield this.assertedPersistence.removeCurrentUser()})}queue(n){return this.operations=this.operations.then(n,n),this.operations}get assertedPersistence(){return st(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(n){!n||this.frameworks.includes(n)||(this.frameworks.push(n),this.frameworks.sort(),this.clientVersion=hA(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}_getAdditionalHeaders(){return S(this,null,function*(){let n={"X-Client-Version":this.clientVersion};this.app.options.appId&&(n["X-Firebase-gmpid"]=this.app.options.appId);let e=yield this.heartbeatServiceProvider.getImmediate({optional:!0})?.getHeartbeatsHeader();e&&(n["X-Firebase-Client"]=e);let i=yield this._getAppCheckToken();return i&&(n["X-Firebase-AppCheck"]=i),n})}_getAppCheckToken(){return S(this,null,function*(){if(On(this.app)&&this.app.settings.appCheckToken)return this.app.settings.appCheckToken;let n=yield this.appCheckServiceProvider.getImmediate({optional:!0})?.getToken();return n?.error&&Wj(`Error while retrieving App Check token: ${n.error}`),n?.token})}};function Do(t){return ti(t)}var bg=class{constructor(n){this.auth=n,this.observer=null,this.addObserver=gD(e=>this.observer=e)}get next(){return st(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}};var Tg={loadJS(){return S(this,null,function*(){throw new Error("Unable to load external scripts")})},recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function d9(t){Tg=t}function mA(t){return Tg.loadJS(t)}function u9(){return Tg.recaptchaEnterpriseScript}
5215function h9(){return Tg.gapiScript}function fA(t){return`__${t}${Math.floor(Math.random()*1e6)}`}var Yx=class{constructor(){this.enterprise=new Xx}ready(n){n()}execute(n,e){return Promise.resolve("token")}render(n,e){return""}},Xx=class{ready(n){n()}execute(n,e){return Promise.resolve("token")}render(n,e){return""}};var m9="recaptcha-enterprise",pA="NO_RECAPTCHA",Kx=class{constructor(n){this.type=m9,this.auth=Do(n)}verify(n="verify",e=!1){return S(this,null,function*(){function i(a){return S(this,null,function*(){if(!e){if(a.tenantId==null&&a._agentRecaptchaConfig!=null)return a._agentRecaptchaConfig.siteKey;if(a.tenantId!=null&&a._tenantRecaptchaConfigs[a.tenantId]!==void 0)return a._tenantRecaptchaConfigs[a.tenantId].siteKey}return new Promise((o,s)=>S(null,null,function*(){Jj(a,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}).then(l=>{if(l.recaptchaKey===void 0)s(new Error("recaptcha Enterprise site key undefined"));else{let c=new jx(l);return a.tenantId==null?a._agentRecaptchaConfig=c:a._tenantRecaptchaConfigs[a.tenantId]=c,o(c.siteKey)}}).catch(l=>{s(l)})}))})}function r(a,o,s){let l=window.grecaptcha;OM(l)?l.enterprise.ready(()=>{l.enterprise.execute(a,{action:n}).then(c=>{o(c)}).catch(()=>{o(pA)})}):s(Error("No reCAPTCHA enterprise script loaded."))}return this.auth.settings.appVerificationDisabledForTesting?new Yx().execute("siteKey",{action:"verify"}):new Promise((a,o)=>{i(this.auth).then(s=>{if(!e&&OM(window.grecaptcha))r(s,a,o);else{if(typeof window>"u"){o(new Error("RecaptchaVerifier is only supported in browser"));return}let l=u9();l.length!==0&&(l+=s),mA(l).then(()=>{r(s,a,o)}).catch(c=>{o(c)})}}).catch(s=>{o(s)})})})}};function km(t,n,e,i=!1,r=!1){return S(this,null,function*(){let a=new Kx(t),o;if(r)o=pA;else try{o=yield a.verify(e)}catch(l){o=yield a.verify(e,!0)}let s=H({},n);if(e==="mfaSmsEnrollment"||e==="mfaSmsSignIn"){if("phoneEnrollmentInfo"in s){let l=s.phoneEnrollmentInfo.phoneNumber,c=s.phoneEnrollmentInfo.recaptchaToken;Object.assign(s,{phoneEnrollmentInfo:{phoneNumber:l,recaptchaToken:c,captchaResponse:o,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}})}else if("phoneSignInInfo"in s){let l=s.phoneSignInInfo.recaptchaToken;Object.assign(s,{phoneSignInInfo:{recaptchaToken:l,captchaResponse:o,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}})}return s}return i?Object.assign(s,{captchaResp:o}):Object.assign(s,{captchaResponse:o}),Object.assign(s,{clientType:"CLIENT_TYPE_WEB"}),Object.assign(s,{recaptchaVersion:"RECAPTCHA_ENTERPRISE"}),s})}function Qx(t,n,e,i,r){return S(this,null,function*(){if(r==="EMAIL_PASSWORD_PROVIDER")if(t._getRecaptchaConfig()?.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")){let a=yield km(t,n,e,e==="getOobCode");return i(t,a)}else return i(t,n).catch(a=>S(null,null,function*(){if(a.code==="auth/missing-recaptcha-token"){console.log(`${e} is protected by reCAPTCHA Enterprise for this project. Automatically triggering the reCAPTCHA flow and restarting the flow.`);let o=yield km(t,n,e,e==="getOobCode");return i(t,o)}else return Promise.reject(a)}));else if(r==="PHONE_PROVIDER")if(t._getRecaptchaConfig()?.isProviderEnabled("PHONE_PROVIDER")){let a=yield km(t,n,e);return i(t,a).catch(o=>S(null,null,function*(){if(t._getRecaptchaConfig()?.getProviderEnforcementState("PHONE_PROVIDER")==="AUDIT"&&(o.code==="auth/missing-recaptcha-token"||o.code==="auth/invalid-app-credential")){console.log(`Failed to verify with reCAPTCHA Enterprise. Automatically triggering the reCAPTCHA v2 flow to complete the ${e} flow.`);let s=yield km(t,n,e,!1,!0);return i(t,s)}return Promise.reject(o)}))}else{let a=yield km(t,n,e,!1,!0);return i(t,a)}else return Promise.reject(r+" provider is not supported.")})}function gA(t,n){let e=qn(t,"auth");if(e.isInitialized()){let r=e.getImmediate(),a=e.getOptions();if(od(a,n??{}))return r;Ma(r,"already-initialized")}return e.initialize({options:n})}function f9(t,n){let e=n?.persistence||[],i=(Array.isArray(e)?e:[e]).map(ms);n?.errorMap&&t._updateErrorMap(n.errorMap),t._initializeWithPersistence(i,n?.popupRedirectResolver)}function _A(t,n,e){let i=Do(t);st(/^https?:\/\//.test(n),i,"invalid-emulator-scheme");let r=!!e?.disableWarnings,a=vA(n),{host:o,port:s}=p9(n),l=s===null?"":`:${s}`,c={url:`${a}//${o}${l}/`},d=Object.freeze({host:o,port:s,protocol:a.replace(":",""),options:Object.freeze({disableWarnings:r})});if(!i._canInitEmulator){st(i.config.emulator&&i.emulatorConfig,i,"emulator-config-failed"),st(od(c,i.config.emulator)&&od(d,i.emulatorConfig),i,"emulator-config-failed");return}i.config.emulator=c,i.emulatorConfig=d,i.settings.appVerificationDisabledForTesting=!0,_o(o)?(rd(`${a}//${o}${l}`),ad("Auth",!0)):r||g9()}function vA(t){let n=t.indexOf(":");return n<0?"":t.substr(0,n+1)}function p9(t){let n=vA(t),e=/(\/\/)?([^?#/]+)/.exec(t.substr(n.length));if(!e)return{host:"",port:null};let i=e[2].split("@").pop()||"",r=/^(\[[^\]]+\])(:|$)/.exec(i);if(r){let a=r[1];return{host:a,port:VM(i.substr(a.length+1))}}else{let[a,o]=i.split(":");return{host:a,port:VM(o)}}}
5215function VM(t){if(!t)return null;let n=Number(t);return isNaN(n)?null:n}function g9(){function t(){let n=document.createElement("p"),e=n.style;n.innerText="Running in emulator mode. Do not use with production credentials.",e.position="fixed",e.width="100%",e.backgroundColor="#ffffff",e.border=".1em solid #000000",e.color="#b50000",e.bottom="0px",e.left="0px",e.margin="0px",e.zIndex="10000",e.textAlign="center",n.classList.add("firebase-emulator-warning"),document.body.appendChild(n)}typeof console<"u"&&typeof console.info=="function"&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only.  Do not use with production credentials."),typeof window<"u"&&typeof document<"u"&&(document.readyState==="loading"?window.addEventListener("DOMContentLoaded",t):t())}var gc=class{constructor(n,e){this.providerId=n,this.signInMethod=e}toJSON(){return hs("not implemented")}_getIdTokenResponse(n){return hs("not implemented")}_linkToIdToken(n,e){return hs("not implemented")}_getReauthenticationResolver(n){return hs("not implemented")}};function _9(t,n){return S(this,null,function*(){return ro(t,"POST","/v1/accounts:update",n)})}function v9(t,n){return S(this,null,function*(){return ro(t,"POST","/v1/accounts:signUp",n)})}function b9(t,n){return S(this,null,function*(){return Eg(t,"POST","/v1/accounts:signInWithPassword",dl(t,n))})}function y9(t,n){return S(this,null,function*(){return ro(t,"POST","/v1/accounts:sendOobCode",dl(t,n))})}function x9(t,n){return S(this,null,function*(){return y9(t,n)})}function w9(t,n){return S(this,null,function*(){return Eg(t,"POST","/v1/accounts:signInWithEmailLink",dl(t,n))})}function C9(t,n){return S(this,null,function*(){return Eg(t,"POST","/v1/accounts:signInWithEmailLink",dl(t,n))})}var Im=class t extends gc{constructor(n,e,i,r=null){super("password",i),this._email=n,this._password=e,this._tenantId=r}static _fromEmailAndPassword(n,e){return new t(n,e,"password")}static _fromEmailAndCode(n,e,i=null){return new t(n,e,"emailLink",i)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(n){let e=typeof n=="string"?JSON.parse(n):n;if(e?.email&&e?.password){if(e.signInMethod==="password")return this._fromEmailAndPassword(e.email,e.password);if(e.signInMethod==="emailLink")return this._fromEmailAndCode(e.email,e.password,e.tenantId)}return null}_getIdTokenResponse(n){return S(this,null,function*(){switch(this.signInMethod){case"password":let e={returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"};return Qx(n,e,"signInWithPassword",b9,"EMAIL_PASSWORD_PROVIDER");case"emailLink":return w9(n,{email:this._email,oobCode:this._password});default:Ma(n,"internal-error")}})}_linkToIdToken(n,e){return S(this,null,function*(){switch(this.signInMethod){case"password":let i={idToken:e,returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"};return Qx(n,i,"signUpPassword",v9,"EMAIL_PASSWORD_PROVIDER");case"emailLink":return C9(n,{idToken:e,email:this._email,oobCode:this._password});default:Ma(n,"internal-error")}})}_getReauthenticationResolver(n){return this._getIdTokenResponse(n)}};function ps(t,n){return S(this,null,function*(){return Eg(t,"POST","/v1/accounts:signInWithIdp",dl(t,n))})}var S9="http://localhost",au=class t extends gc{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(n){let e=new t(n.providerId,n.signInMethod);return n.idToken||n.accessToken?(n.idToken&&(e.idToken=n.idToken),n.accessToken&&(e.accessToken=n.accessToken),n.nonce&&!n.pendingToken&&(e.nonce=n.nonce),n.pendingToken&&(e.pendingToken=n.pendingToken)):n.oauthToken&&n.oauthTokenSecret?(e.accessToken=n.oauthToken,e.secret=n.oauthTokenSecret):Ma("argument-error"),e}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,n
5215once:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(n){let s=typeof n=="string"?JSON.parse(n):n,{providerId:i,signInMethod:r}=s,a=Wc(s,["providerId","signInMethod"]);if(!i||!r)return null;let o=new t(i,r);return o.idToken=a.idToken||void 0,o.accessToken=a.accessToken||void 0,o.secret=a.secret,o.nonce=a.nonce,o.pendingToken=a.pendingToken||null,o}_getIdTokenResponse(n){let e=this.buildRequest();return ps(n,e)}_linkToIdToken(n,e){let i=this.buildRequest();return i.idToken=e,ps(n,i)}_getReauthenticationResolver(n){let e=this.buildRequest();return e.autoCreate=!1,ps(n,e)}buildRequest(){let n={requestUri:S9,returnSecureToken:!0};if(this.pendingToken)n.pendingToken=this.pendingToken;else{let e={};this.idToken&&(e.id_token=this.idToken),this.accessToken&&(e.access_token=this.accessToken),this.secret&&(e.oauth_token_secret=this.secret),e.providerId=this.providerId,this.nonce&&!this.pendingToken&&(e.nonce=this.nonce),n.postBody=sd(e)}return n}};function k9(t){switch(t){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}function D9(t){let n=ld(cd(t)).link,e=n?ld(cd(n)).deep_link_id:null,i=ld(cd(t)).deep_link_id;return(i?ld(cd(i)).link:null)||i||e||n||t}var yg=class t{constructor(n){let e=ld(cd(n)),i=e.apiKey??null,r=e.oobCode??null,a=k9(e.mode??null);st(i&&r&&a,"argument-error"),this.apiKey=i,this.operation=a,this.code=r,this.continueUrl=e.continueUrl??null,this.languageCode=e.lang??null,this.tenantId=e.tenantId??null}static parseLink(n){let e=D9(n);try{return new t(e)}catch(i){return null}}};var d1=(()=>{class t{constructor(){this.providerId=t.PROVIDER_ID}static credential(e,i){return Im._fromEmailAndPassword(e,i)}static credentialWithLink(e,i){let r=yg.parseLink(i);return st(r,"argument-error"),Im._fromEmailAndCode(e,r.code,r.tenantId)}}t.PROVIDER_ID="password",t.EMAIL_PASSWORD_SIGN_IN_METHOD="password",t.EMAIL_LINK_SIGN_IN_METHOD="emailLink";return t})(),_c=class{constructor(n){this.providerId=n,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(n){this.defaultLanguageCode=n}setCustomParameters(n){return this.customParameters=n,this}getCustomParameters(){return this.customParameters}};var ou=class extends _c{constructor(){super(...arguments),this.scopes=[]}addScope(n){return this.scopes.includes(n)||this.scopes.push(n),this}getScopes(){return[...this.scopes]}};var u1=(()=>{class t extends ou{constructor(){super("facebook.com")}
5215static credential(e){return au._fromParams({providerId:t.PROVIDER_ID,signInMethod:t.FACEBOOK_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return t.credentialFromTaggedObject(e)}static credentialFromError(e){return t.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e||!("oauthAccessToken"in e)||!e.oauthAccessToken)return null;try{return t.credential(e.oauthAccessToken)}catch(i){return null}}}t.FACEBOOK_SIGN_IN_METHOD="facebook.com",t.PROVIDER_ID="facebook.com";return t})(),h1=(()=>{class t extends ou{constructor(){super("google.com"),this.addScope("profile")}static credential(e,i){return au._fromParams({providerId:t.PROVIDER_ID,signInMethod:t.GOOGLE_SIGN_IN_METHOD,idToken:e,accessToken:i})}static credentialFromResult(e){return t.credentialFromTaggedObject(e)}static credentialFromError(e){return t.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;let{oauthIdToken:i,oauthAccessToken:r}=e;if(!i&&!r)return null;try{return t.credential(i,r)}catch(a){return null}}}t.GOOGLE_SIGN_IN_METHOD="google.com",t.PROVIDER_ID="google.com";return t})(),m1=(()=>{class t extends ou{constructor(){super("github.com")}
5215static credential(e){return au._fromParams({providerId:t.PROVIDER_ID,signInMethod:t.GITHUB_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return t.credentialFromTaggedObject(e)}static credentialFromError(e){return t.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e||!("oauthAccessToken"in e)||!e.oauthAccessToken)return null;try{return t.credential(e.oauthAccessToken)}catch(i){return null}}}t.GITHUB_SIGN_IN_METHOD="github.com",t.PROVIDER_ID="github.com";return t})(),E9="http://localhost",xg=class t extends gc{constructor(n,e){super(n,n),this.pendingToken=e}_getIdTokenResponse(n){let e=this.buildRequest();return ps(n,e)}_linkToIdToken(n,e){let i=this.buildRequest();return i.idToken=e,ps(n,i)}_getReauthenticationResolver(n){let e=this.buildRequest();return e.autoCreate=!1,ps(n,e)}toJSON(){return{signInMethod:this.signInMethod,providerId:this.providerId,pendingToken:this.pendingToken}}static fromJSON(n){let e=typeof n=="string"?JSON.parse(n):n,{providerId:i,signInMethod:r,pendingToken:a}=e;return!i||!r||!a||i!==r?null:new t(i,a)}static _create(n,e){return new t(n,e)}buildRequest(){return{requestUri:E9,returnSecureToken:!0,pendingToken:this.pendingToken}}};var T9="saml.",su=class t extends _c{constructor(n){st(n.startsWith(T9),"argument-error"),super(n)}static credentialFromResult(n){return t.samlCredentialFromTaggedObject(n)}static credentialFromError(n){return t.samlCredentialFromTaggedObject(n.customData||{})}static credentialFromJSON(n){let e=xg.fromJSON(n);return st(e,"argument-error"),e}static samlCredentialFromTaggedObject({_tokenResponse:n}){if(!n)return null;let{pendingToken:e,providerId:i}=n;if(!e||!i)return null;try{return xg._create(i,e)}catch(r){return null}}};var Mm=class t{constructor(n){this.user=n.user,this.providerId=n.providerId,this._tokenResponse=n._tokenResponse,this.operationType=n.operationType}static _fromIdTokenResponse(n,e,i,r=!1){return S(this,null,function*(){let a=yield cl._fromIdTokenResponse(n,i,r),o=UM(i);return new t({user:a,providerId:o,_tokenResponse:i,operationType:e})})}static _forOperation(n,e,i){return S(this,null,function*(){yield n._updateTokensIfNecessary(i,!0);let r=UM(i);return new t({user:n,providerId:r,_tokenResponse:i,operationType:e})})}};function UM(t){return t.providerId?t.providerId:"phoneNumber"in t?"phone":null}var Zx=class t extends mr{constructor(n,e,i,r){super(e.code,e.message),this.operationType=i,this.user=r,Object.setPrototypeOf(this,t.prototype),this.customData={appName:n.name,tenantId:n.tenantId??void 0,_serverResponse:e.customData._serverResponse,operationType:i}}static _fromErrorAndOperation(n,e,i,r){return new t(n,e,i,r)}};function bA(t,n,e,i){return(n==="reauthenticate"?e._getReauthenticationResolver(t):e._getIdTokenResponse(t)).catch(a=>{throw a.code==="auth/multi-factor-auth-required"?Zx._fromErrorAndOperation(t,a,n,i):a})}function I9(t,n,e=!1){return S(this,null,function*(){let i=yield pc(t,n._linkToIdToken(t.auth,yield t.getIdToken()),e);return Mm._forOperation(t,"link",i)})}function M9(t,n,e=!1){return S(this,null,function*(){let{auth:i}=t;if(On(i.app))return Promise.reject(fs(i));let r="reauthenticate";try{let a=yield pc(t,bA(i,r,n,t),e);st(a.idToken,i,"internal-error");let o=l1(a.idToken);st(o,i,"internal-error");let{sub:s}=o;return st(t.uid===s,i,"user-mismatch"),Mm._forOperation(t,r,a)}catch(a){throw a?.code==="auth/user-not-found"&&Ma(i,"user-mismatch"),a}})}function yA(t,n,e=!1){return S(this,null,function*(){if(On(t.app))return Promise.reject(fs(t));let i="signIn",r=yield bA(t,i,n),a=yield Mm._fromIdTokenResponse(t,i,r);return e||(yield t._updateCurrentUser(a.user)),a})}function xA(t,n){return S(this,null,function*(){return yA(Do(t),n)})}function A9(t,n,e){st(e.url?.length>0,t,"invalid-continue-uri"),st(typeof e.dynamicLinkDomain>"u"||e.dynamicLinkDomain.length>0,t,"invalid-dynamic-link-domain"),st(typeof e.linkDomain>"u"||e.linkDomain.length>0,t,"invalid-hosting-link-domain"),n.continueUrl=e.url,n.dynamicLinkDomain=e.dynamicLinkDomain,n.linkDomain=e.linkDomain,n.canHandleCodeInApp=e.handleCodeInApp,e.
5215iOS&&(st(e.iOS.bundleId.length>0,t,"missing-ios-bundle-id"),n.iOSBundleId=e.iOS.bundleId),e.android&&(st(e.android.packageName.length>0,t,"missing-android-pkg-name"),n.androidInstallApp=e.android.installApp,n.androidMinimumVersionCode=e.android.minimumVersion,n.androidPackageName=e.android.packageName)}function R9(t){return S(this,null,function*(){let n=Do(t);n._getPasswordPolicyInternal()&&(yield n._updatePasswordPolicy())})}function Rm(t,n,e){return S(this,null,function*(){let i=Do(t),r={requestType:"PASSWORD_RESET",email:n,clientType:"CLIENT_TYPE_WEB"};e&&A9(i,r,e),yield Qx(i,r,"getOobCode",x9,"EMAIL_PASSWORD_PROVIDER")})}function Pm(t,n,e){return On(t.app)?Promise.reject(fs(t)):xA(ti(t),d1.credential(n,e)).catch(i=>S(null,null,function*(){throw i.code==="auth/password-does-not-meet-requirements"&&R9(t),i}))}function P9(t,n){return S(this,null,function*(){return ro(t,"POST","/v1/accounts:update",n)})}function f1(i,r){return S(this,arguments,function*(t,{displayName:n,photoURL:e}){if(n===void 0&&e===void 0)return;let a=ti(t),s={idToken:yield a.getIdToken(),displayName:n,photoUrl:e,returnSecureToken:!0},l=yield pc(a,P9(a.auth,s));a.displayName=l.displayName||null,a.photoURL=l.photoUrl||null;
5215let c=a.providerData.find(({providerId:d})=>d==="password");c&&(c.displayName=a.displayName,c.photoURL=a.photoURL),yield a._updateTokensIfNecessary(l)})}function p1(t,n){return F9(ti(t),null,n)}function F9(t,n,e){return S(this,null,function*(){let{auth:i}=t,a={idToken:yield t.getIdToken(),returnSecureToken:!0};n&&(a.email=n),e&&(a.password=e);let o=yield pc(t,_9(i,a));yield t._updateTokensIfNecessary(o,!0)})}function wA(t,n,e,i){return ti(t).onIdTokenChanged(n,e,i)}function CA(t,n,e){return ti(t).beforeAuthStateChanged(n,e)}function lu(t,n,e,i){return ti(t).onAuthStateChanged(n,e,i)}function Fm(t){return ti(t).signOut()}var wg="__sak";var Cg=class{constructor(n,e){this.storageRetriever=n,this.type=e}_isAvailable(){try{return this.storage?(this.storage.setItem(wg,"1"),this.storage.removeItem(wg),Promise.resolve(!0)):Promise.resolve(!1)}catch(n){return Promise.resolve(!1)}}_set(n,e){return this.storage.setItem(n,JSON.stringify(e)),Promise.resolve()}_get(n){let e=this.storage.getItem(n);return Promise.resolve(e?JSON.parse(e):null)}_remove(n){return this.storage.removeItem(n),Promise.resolve()}get storage(){return this.storageRetriever()}};var O9=1e3,N9=10,L9=(()=>{class t extends Cg{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(e,i)=>this.onStorageEvent(e,i),this.listeners={},this.localCache={},this.pollTimer=null,this.fallbackToPolling=uA(),this._shouldAllowMigration=!0}forAllChangedKeys(e){for(let i of Object.keys(this.listeners)){let r=this.storage.getItem(i),a=this.localCache[i];r!==a&&e(i,a,r)}}onStorageEvent(e,i=!1){if(!e.key){this.forAllChangedKeys((s,l,c)=>{this.notifyListeners(s,c)});return}let r=e.key;i?this.detachListener():this.stopPolling();let a=()=>{let s=this.storage.getItem(r);!i&&this.localCache[r]===s||this.notifyListeners(r,s)},o=this.storage.getItem(r);s9()&&o!==e.newValue&&e.newValue!==e.oldValue?setTimeout(a,N9):a()}notifyListeners(e,i){this.localCache[e]=i;let r=this.listeners[e];if(r)for(let a of Array.from(r))a(i&&JSON.parse(i))}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((e,i,r)=>{this.onStorageEvent(new StorageEvent("storage",{key:e,oldValue:i,newValue:r}),!0)})},O9)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(e,i){Object.keys(this.listeners).length===0&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[e]||(this.listeners[e]=new Set,this.localCache[e]=this.storage.getItem(e)),this.listeners[e].add(i)}_removeListener(e,i){this.listeners[e]&&(this.listeners[e].delete(i),this.listeners[e].size===0&&delete this.listeners[e]),Ob
vendor: 8,123 bytes, line 5215
5215ject.keys(this.listeners).length===0&&(this.detachListener(),this.stopPolling())}_set(e,i){return S(this,null,function*(){yield Pl(t.prototype,this,"_set").call(this,e,i),this.localCache[e]=JSON.stringify(i)})}_get(e){return S(this,null,function*(){let i=yield Pl(t.prototype,this,"_get").call(this,e);return this.localCache[e]=JSON.stringify(i),i})}_remove(e){return S(this,null,function*(){yield Pl(t.prototype,this,"_remove").call(this,e),delete this.localCache[e]})}}return t.type="LOCAL",t})(),SA=L9;var B9=(()=>{class t extends Cg{constructor(){super(()=>window.sessionStorage,"SESSION")}_addListener(e,i){}_removeListener(e,i){}}return t.type="SESSION",t})(),g1=B9;function V9(t){return Promise.all(t.map(n=>S(null,null,function*(){try{return{fulfilled:!0,value:yield n}}catch(e){return{fulfilled:!1,reason:e}}})))}var U9=(()=>{class t{constructor(e){this.eventTarget=e,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(e){let i=this.receivers.find(a=>a.isListeningto(e));if(i)return i;let r=new t(e);return this.receivers.push(r),r}isListeningto(e){return this.eventTarget===e}handleEvent(e){return S(this,null,function*(){let i=e,{eventId:r,eventType:a,data:o}=i.data,s=this.handlersMap[a];if(!s?.size)return;i.ports[0].postMessage({status:"ack",eventId:r,eventType:a});let l=Array.from(s).map(d=>S(this,null,function*(){return d(i.origin,o)})),c=yield V9(l);i.ports[0].postMessage({status:"done",eventId:r,eventType:a,response:c})})}_subscribe(e,i){Object.keys(this.handlersMap).length===0&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[e]||(this.handlersMap[e]=new Set),this.handlersMap[e].add(i)}_unsubscribe(e,i){this.handlersMap[e]&&i&&this.handlersMap[e].delete(i),(!i||this.handlersMap[e].size===0)&&delete this.handlersMap[e],Object.keys(this.handlersMap).length===0&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}t.receivers=[];return t})();function _1(t="",n=10){let e="";for(let i=0;i<n;i++)e+=Math.floor(Math.random()*10);return t+e}var Jx=class{constructor(n){this.target=n,this.handlers=new Set}removeMessageHandler(n){n.messageChannel&&(n.messageChannel.port1.removeEventListener("message",n.onMessage),n.messageChannel.port1.close()),this.handlers.delete(n)}_send(n,e,i=50){return S(this,null,function*(){let r=typeof MessageChannel<"u"?new MessageChannel:null;if(!r)throw new Error("connection_unavailable");let a,o;return new Promise((s,l)=>{let c=_1("",20);r.port1.start();let d=setTimeout(()=>{l(new Error("unsupported_event"))},i);o={messageChannel:r,onMessage(u){let h=u;if(h.data.eventId===c)switch(h.data.status){case"ack":clearTimeout(d),a=setTimeout(()=>{l(new Error("timeout"))},3e3);break;case"done":clearTimeout(a),s(h.data.response);break;default:clearTimeout(d),clearTimeout(a),l(new Error("invalid_response"));break}}},this.handlers.add(o),r.port1.addEventListener("message",o.onMessage),this.target.postMessage({eventType:n,eventId:c,data:e},[r.port2])}).finally(()=>{o&&this.removeMessageHandler(o)})})}};function ko(){return window}function z9(t){ko().location.href=t}function kA(){return typeof ko().WorkerGlobalScope<"u"&&typeof ko().importScripts=="function"}function j9(){return S(this,null,function*(){if(!navigator?.serviceWorker)return null;try{return(yield navigator.serviceWorker.ready).active}catch(t){return null}})}function H9(){return navigator?.serviceWorker?.controller||null}function $9(){return kA()?self:null}var DA="firebaseLocalStorageDb",W9=1,Sg="firebaseLocalStorage",EA="fbase_key",vc=class{constructor(n){this.request=n}toPromise(){return new Promise((n,e)=>{this.request.addEventListener("success",()=>{n(this.request.result)}),this.request.addEventListener("error",()=>{e(this.request.error)})})}};function Ig(t,n){return t.transaction([Sg],n?"readwrite":"readonly").objectStore(Sg)}function G9(){let t=indexedDB.deleteDatabase(DA);return new vc(t).toPromise()}function e1(){let t=indexedDB.open(DA,W9);return new Promise((n,e)=>{t.addEventListener("error",()=>{e(t.error)}),t.addEventListener("upgradeneeded",()=>{let i=t.result;try{i.createObjectStore(Sg,{keyPath:EA})}catch(r){e(r)}}),t.addEventListener("success",()=>S(null,null,function*(){let i=t.result;i.objectStoreNames.contains(Sg)?n(i):(i.close(),yield G9(),n(yield e1()))}))})}function zM(t,n,e){return S(this,null,function*(){let i=Ig(t,!0).put({[EA]:n,value:e});return new vc(i).toPromise()})}function q9(t,n){return S(this,null,function*(){let e=Ig(t,!1).get(n),i=yield new vc(e).toPromise();return i===void 0?null:i.value})}function jM(t,n){let e=Ig(t,!0).delete(n);return new vc(e).toPromise()}var Y9=800,X9=3,K9=(()=>{class t{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}_openDb(){return S(this,null,function*(){return this.db?this.db:(this.db=yield e1(),this.db)})}_withRetries(e){return S(this,null,function*(){let i=0;for(;;)try{let r=yield this._openDb();return yield e(r)}catch(r){if(i++>X9)throw r;this.db&&(this.db.close(),this.db=void 0)}})}initializeServiceWorkerMessaging(){return S(this,null,function*(){return kA()?this.initializeReceiver():this.initializeSender()})}initializeReceiver(){return S(this,null,function*(){this.receiver=U9._getInstance($9()),this.receiver._subscribe("keyChanged",(e,i)=>S(this,null,function*(){return{keyProcessed:(yield this._poll()).includes(i.key)}})),this.receiver._subscribe("ping",(e,i)=>S(this,null,function*(){return["keyChanged"]}))})}initializeSender(){return S(this,null,function*(){if(this.activeServiceWorker=yield j9(),!this.activeServiceWorker)return;this.sender=new Jx(this.activeServiceWorker);let e=yield this.sender._send("ping",{},800);e&&e[0]?.fulfilled&&e[0]?.value.includes("keyChanged")&&(this.serviceWorkerReceiverAvailable=!0)})}notifyServiceWorker(e){return S(this,null,function*(){if(!(!this.sender||!this.activeServiceWorker||H9()!==this.activeServiceWorker))try{yield this.sender._send("keyChanged",{key:e},this.serviceWorkerReceiverAvailable?800:50)}catch(i){}})}_isAvailable(){return S(this,null,function*(){try{if(!indexedDB)return!1;let e=yield e1();return yield zM(e,wg,"1"),yield jM(e,wg),!0}catch(e){}return!1})}_withPendingWrite(e){return S(this,null,function*(){this.pendingWrites++;try{yield e()}finally{this.pendingWrites--}})}_set(e,i){return S(this,null,function*(){return this._withPendingWrite(()=>S(this,null,function*(){return yield this._withRetries(r=>zM(r,e,i)),this.localCache[e]=i,this.notifyServiceWorker(e)}))})}_get(e){return S(this,null,function*(){let i=yield this._withRetries(r=>q9(r,e));return this.localCache[e]=i,i})}_remove(e){return S(this,null,function*(){return this._withPendingWrite(()=>S(this,null,function*(){return yield this._withRetries(i=>jM(i,e)),delete this.localCache[e],this.notifyServiceWorker(e)}))})}_poll(){return S(this,null,function*(){let e=yield this._withRetries(a=>{let o=Ig(a,!1).getAll();return new vc(o).toPromise()});if(!e)return[];if(this.pendingWrites!==0)return[];let i=[],r=new Set;if(e.length!==0)for(let{fbase_key:a,value:o}of e)r.add(a),JSON.stringify(this.localCache[a])!==JSON.stringify(o)&&(this.notifyListeners(a,o),i.push(a));for(let a of Object.keys(this.localCache))this.localCache[a]&&!r.has(a)&&(this.notifyListeners(a,null),i.push(a));return i})}notifyListeners(e,i){this.localCache[e]=i;let r=this.listeners[e];if(r)for(let a of Array.from(r))a(i)}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>S(this,null,function*(){return this._poll()}),Y9)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(e,i){Object.keys(this.listeners).length===0&&this.startPolling(),this.listeners[e]||(this.listeners[e]=new Set,this._get(e)),this.listeners[e].add(i)}_removeListener(e,i){this.listeners[e]&&(this.listeners[e].delete(i),this.listeners[e].size===0&&delete this.listeners[e]),Ob
5215ject.keys(this.listeners).length===0&&this.stopPolling()}}return t.type="LOCAL",t})(),TA=K9;var mCe=fA("rcb"),fCe=new fc(3e4,6e4);function v1(t,n){return n?ms(n):(st(t._popupRedirectResolver,t,"argument-error"),t._popupRedirectResolver)}var Am=class extends gc{constructor(n){super("custom","custom"),this.params=n}_getIdTokenResponse(n){return ps(n,this._buildIdpRequest())}_linkToIdToken(n,e){return ps(n,this._buildIdpRequest(e))}_getReauthenticationResolver(n){return ps(n,this._buildIdpRequest())}_buildIdpRequest(n){let e={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return n&&(e.idToken=n),e}};function Q9(t){return yA(t.auth,new Am(t),t.bypassAuthState)}function Z9(t){let{auth:n,user:e}=t;return st(e,n,"internal-error"),M9(e,new Am(t),t.bypassAuthState)}function J9(t){return S(this,null,function*(){let{auth:n,user:e}=t;return st(e,n,"internal-error"),I9(e,new Am(t),t.bypassAuthState)})}var kg=class{constructor(n,e,i,r,a=!1){this.auth=n,this.resolver=i,this.user=r,this.bypassAuthState=a,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(e)?e:[e]}execute(){return new Promise((n,e)=>S(this,null,function*(){this.pendingPromise={resolve:n,reject:e};try{this.eventManager=yield this.resolver._initialize(this.auth),yield this.onExecution(),this.eventManager.registerConsumer(this)}catch(i){this.reject(i)}}))}onAuthEvent(n){return S(this,null,function*(){let{urlResponse:e,sessionId:i,postBody:r,tenantId:a,error:o,type:s}=n;if(o){this.reject(o);return}let l={auth:this.auth,requestUri:e,sessionId:i,tenantId:a||void 0,postBody:r||void 0,user:this.user,bypassAuthState:this.bypassAuthState};try{this.resolve(yield this.getIdpTask(s)(l))}catch(c){this.reject(c)}})}onError(n){this.reject(n)}getIdpTask(n){switch(n){case"signInViaPopup":case"signInViaRedirect":return Q9;case"linkViaPopup":case"linkViaRedirect":return J9;case"reauthViaPopup":case"reauthViaRedirect":return Z9;default:Ma(this.auth,"internal-error")}}resolve(n){gs(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(n),this.unregisterAndCleanUp()}reject(n){gs(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(n),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}};var e7=new fc(2e3,1e4);function Om(t,n,e){return S(this,null,function*(){if(On(t.app))return Promise.reject(no(t,"operation-not-supported-in-this-environment"));let i=Do(t);ZM(t,n,_c);let r=v1(i,e);return new t7(i,"signInViaPopup",n,r).executeNotNull()})}var t7=(()=>{class t extends kg{constructor(e,i,r,a,o){super(e,i,a,o),this.provider=r,this.authWindow=null,this.pollId=null,t.currentPopupAction&&t.currentPopupAction.cancel(),t.currentPopupAction=this}executeNotNull(){return S(this,null,function*(){let e=yield this.execute();return st(e,this.auth,"internal-error"),e})}onExecution(){return S(this,null,function*(){gs(this.filter.length===1,"Popup operations only handle one event");let e=_1();this.authWindow=yield this.resolver._openPopup(this.auth,this.provider,this.filter[0],e),this.authWindow.associatedEvent=e,this.resolver._originValidation(this.auth).catch(i=>{this.reject(i)}),this.resolver._isIframeWebStorageSupported(this.auth,i=>{i||this.reject(no(this.auth,"web-storage-unsupported"))}),this.pollUserCancellation()})}get eventId(){return this.authWindow?.associatedEvent||null}cancel(){this.reject(no(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,t.currentPopupAction=null}pollUserCancellation(){let e=()=>{if(this.authWindow?.window?.closed){this.pollId=window.setTimeout(()=>{this.pollId=null,this.reject(no(this.auth,"popup-closed-by-user"))},8e3);return}this.pollId=window.setTimeout(e,e7.get())};e()}}t.currentPopupAction=null;return t})(),i7="pendingRedirect",hg=new Map,t1=class t extends kg{constructor(n,e,i=!1){super(n,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],e,void 0,i),this.eventId=null}execute(){return S(this,null,function*(){let n=hg.get(this.auth._key());if(!n){try{let i=(yield n7(this.resolver,this.auth))?yield Pl(t.prototype,this,"execute").call(this):null;n=()=>Promise.resolve(i)}catch(e){n=()=>Promise.reject(e)}hg.set(this.auth._key(),n)}return this.bypassAuthState||hg.set(this.auth._key(),()=>Promise.resolve(null)),n()})}
5215onAuthEvent(n){return S(this,null,function*(){if(n.type==="signInViaRedirect")return Pl(t.prototype,this,"onAuthEvent").call(this,n);if(n.type==="unknown"){this.resolve(null);return}if(n.eventId){let e=yield this.auth._redirectUserForId(n.eventId);if(e)return this.user=e,Pl(t.prototype,this,"onAuthEvent").call(this,n);this.resolve(null)}})}onExecution(){return S(this,null,function*(){})}cleanUp(){}};function n7(t,n){return S(this,null,function*(){let e=MA(n),i=IA(t);if(!(yield i._isAvailable()))return!1;let r=(yield i._get(e))==="true";return yield i._remove(e),r})}function r7(t,n){return S(this,null,function*(){return IA(t)._set(MA(n),"true")})}function a7(t,n){hg.set(t._key(),n)}function IA(t){return ms(t._redirectPersistence)}function MA(t){return ug(i7,t.config.apiKey,t.name)}function b1(t,n,e){return o7(t,n,e)}function o7(t,n,e){return S(this,null,function*(){if(On(t.app))return Promise.reject(fs(t));let i=Do(t);ZM(t,n,_c),yield i._initializationPromise;let r=v1(i,e);return yield r7(r,i),r._openRedirect(i,n,"signInViaRedirect")})}function y1(t,n){return S(this,null,function*(){return yield Do(t)._initializationPromise,AA(t,n,!1)})}function AA(t,n,e=!1){return S(this,null,function*(){if(On(t.app))return Promise.reject(fs(t));let i=Do(t),r=v1(i,n),o=yield new t1(i,r,e).execute();return o&&!e&&(delete o.user._redirectEventId,yield i._persistUserIfCurrent(o.user),yield i._setRedirectUser(null,n)),o})}var s7=600*1e3,i1=class{constructor(n){this.auth=n,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=Date.now()}registerConsumer(n){this.consumers.add(n),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,n)&&(this.sendToConsumer(this.queuedRedirectEvent,n),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(n){this.consumers.delete(n)}onEvent(n){if(this.hasEventBeenHandled(n))return!1;let e=!1;return this.consumers.forEach(i=>{this.isEventForConsumer(n,i)&&(e=!0,this.sendToConsumer(n,i),this.saveEventToCache(n))}),this.hasHandledPotentialRedirect||!l7(n)||(this.hasHandledPotentialRedirect=!0,e||(this.queuedRedirectEvent=n,e=!0)),e}sendToConsumer(n,e){if(n.error&&!RA(n)){let i=n.error.code?.split("auth/")[1]||"internal-error";e.onError(no(this.auth,i))}else e.onAuthEvent(n)}isEventForConsumer(n,e){let i=e.eventId===null||!!n.eventId&&n.eventId===e.eventId;return e.filter.includes(n.type)&&i}hasEventBeenHandled(n){return Date.now()-this.lastProcessedEventTime>=s7&&this.cachedEventUids.clear(),this.cachedEventUids.has(HM(n))}saveEventToCache(n){this.cachedEventUids.add(HM(n)),this.lastProcessedEventTime=Date.now()}};function HM(t){return[t.type,t.eventId,t.sessionId,t.tenantId].filter(n=>n).join("-")}function RA({type:t,error:n}){return t==="unknown"&&n?.code==="auth/no-auth-event"}function l7(t){switch(t.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return RA(t);default:return!1}}function c7(e){return S(this,arguments,function*(t,n={}){return ro(t,"GET","/v1/projects",n)})}var d7=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,u7=/^https?/;function h7(t){return S(this,null,function*(){if(t.config.emulator)return;let{authorizedDomains:n}=yield c7(t);for(let e of n)try{if(m7(e))return}catch(i){}Ma(t,"unauthorized-domain")})}function m7(t){let n=Ux(),{protocol:e,hostname:i}=new URL(n);if(t.startsWith("chrome-extension://")){let o=new URL(t);return o.hostname===""&&i===""?e==="chrome-extension:"&&t.replace("chrome-extension://","")===n.replace("chrome-extension://",""):e==="chrome-extension:"&&o.hostname===i}if(!u7.test(e))return!1;if(d7.test(t))return i===t;let r=t.replace(/\./g,"\\.");return new RegExp("^(.+\\."+r+"|"+r+")$","i").test(i)}var f7=new fc(3e4,6e4);function $M(){let t=ko().___jsl;if(t?.H){for(let n of Object.keys(t.H))if(t.H[n].r=t.H[n].r||[],t.H[n].L=t.H[n].L||[],t.H[n].r=[...t.H[n].L],t.CP)for(let e=0;e<t.CP.length;e++)t.CP[e]=null}}function p7(t){return new Promise((n,e)=>{function i(){$M(),gapi.load("gapi.iframes",{callback:()=>{n(gapi.iframes.getContext())},ontimeout:()=>{$M(),e(no(t,"network-request-failed"))},timeout:f7.get()})}if(ko().gapi?.iframes?.Iframe)n(gapi.iframes.getContext());else if(ko().gapi?.load)i();else{let r=fA("iframefcb");return ko()[r]=()=>{gapi.load?i():e(no(t,"network-request-failed"))},mA(`${h9()}?onload=${r}`).catch(a=>e(a))}}).catch(n=>{throw mg=null,n})}var mg=null;function g7(t){return mg=mg||p7(t),mg}var _7=new fc(5e3,15e3),v7="__/auth/iframe",b7="emulator/auth/iframe",
5215y7={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},x7=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);function w7(t){let n=t.config;st(n.authDomain,t,"auth-domain-config-required");let e=n.emulator?s1(n,b7):`https://${t.config.authDomain}/${v7}`,i={apiKey:n.apiKey,appName:t.name,v:zs},r=x7.get(t.config.apiHost);r&&(i.eid=r);let a=t._getFrameworks();return a.length&&(i.fw=a.join(",")),`${e}?${sd(i).slice(1)}`}function C7(t){return S(this,null,function*(){let n=yield g7(t),e=ko().gapi;return st(e,t,"internal-error"),n.open({where:document.body,url:w7(t),messageHandlersFilter:e.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:y7,dontclear:!0},i=>new Promise((r,a)=>S(null,null,function*(){yield i.restyle({setHideOnLeave:!1});let o=no(t,"network-request-failed"),s=ko().setTimeout(()=>{a(o)},_7.get());function l(){ko().clearTimeout(s),r(i)}i.ping(l).then(l,()=>{a(o)})})))})}var S7={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"},k7=500,D7=600,E7="_blank",T7="http://localhost",Dg=class{constructor(n){this.window=n,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch(n){}}};function I7(t,n,e,i=k7,r=D7){let a=Math.max((window.screen.availHeight-r)/2,0).toString(),o=Math.max((window.screen.availWidth-i)/2,0).toString(),s="",l=et(H({},S7),{width:i.toString(),height:r.toString(),top:a,left:o}),c=Ir().toLowerCase();e&&(s=oA(c)?E7:e),rA(c)&&(n=n||T7,l.scrollbars="yes");let d=Object.entries(l).reduce((h,[m,g])=>`${h}${m}=${g},`,"");if(o9(c)&&s!=="_self")return M7(n||"",s),new Dg(null);let u=window.open(n||"",s,d);st(u,t,"popup-blocked");try{u.focus()}catch(h){}return new Dg(u)}function M7(t,n){let e=document.createElement("a");e.href=t,e.target=n;let i=document.createEvent("MouseEvent");i.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),e.dispatchEvent(i)}var A7="__/auth/handler",R7="emulator/auth/handler",P7=encodeURIComponent("fac");function WM(t,n,e,i,r,a){return S(this,null,function*(){st(t.config.authDomain,t,"auth-domain-config-required"),st(t.config.apiKey,t,"invalid-api-key");let o={apiKey:t.config.apiKey,appName:t.name,authType:e,redirectUrl:i,v:zs,eventId:r};if(n instanceof _c){n.setDefaultLanguage(t.languageCode),o.providerId=n.providerId||"",pD(n.getCustomParameters())||(o.customParameters=JSON.stringify(n.getCustomParameters()));for(let[d,u]of Object.entries(a||{}))o[d]=u}if(n instanceof ou){let d=n.getScopes().filter(u=>u!=="");d.length>0&&(o.scopes=d.join(","))}t.tenantId&&(o.tid=t.tenantId);let s=o;for(let d of Object.keys(s))s[d]===void 0&&delete s[d];let l=yield t._getAppCheckToken(),c=l?`#${P7}=${encodeURIComponent(l)}`:"";return`${F7(t)}?${sd(s).slice(1)}${c}`})}function F7({config:t}){return t.emulator?s1(t,R7):`https://${t.authDomain}/${A7}`}var Vx="webStorageSupport",n1=class{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=g1,this._completeRedirectFn=AA,this._overrideRedirectResult=a7}_openPopup(n,e,i,r){return S(this,null,function*(){gs(this.eventManagers[n._key()]?.manager,"_initialize() not called before _openPopup()");let a=yield WM(n,e,i,Ux(),r);return I7(n,a,_1())})}_openRedirect(n,e,i,r){return S(this,null,function*(){yield this._originValidation(n);let a=yield WM(n,e,i,Ux(),r);return z9(a),new Promise(()=>{})})}_initialize(n){let e=n._key();if(this.eventManagers[e]){let{manager:r,promise:a}=this.eventManagers[e];return r?Promise.resolve(r):(gs(a,"If manager is not set, promise should be"),a)}let i=this.initAndGetManager(n);return this.eventManagers[e]={promise:i},i.catch(()=>{delete this.eventManagers[e]}),i}initAndGetManager(n){return S(this,null,function*(){let e=yield C7(n),i=new i1(n);return e.register("authEvent",r=>(st(r?.authEvent,n,"invalid-auth-event"),{status:i.onEvent(r.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[n._key()]={manager:i},this.iframes[n._key()]=e,i})}_isIframeWebStorageSupported(n,e){this.iframes[n._key()].send(Vx,{type:Vx},r=>{let a=r?.[0]?.[Vx];a!==void 0&&e(!!a),Ma(n,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(n){let e=n._key();return this.originValidationPromises[e]||(this.originValidationPromises[e]=h7(n)),this.originValidationPromises[e]}get _shouldInitProactively(){return uA()||aA()||c1()}},PA=n1;var GM="@firebase/auth",qM="1.12.0";var r1=class{constructor(n){this.auth=n,this.internalListeners=new Map}getUid(){return this.assertAuthConfigured(),this.auth.currentUser?.uid||null}getToken(n){return S(this,null,function*(){return this.assertAuthConfigured(),yield this.auth._initializationPromise,this.auth.currentUser?{accessToken:yield this.auth.currentUser.getIdToken(n)}:null})}addAuthTokenListener(n){if(this.assertAuthConfigured(),this.internalListeners.has(n))return;let e=this.auth.onIdTokenChanged(i=>{n(i?.stsTokenManager.accessToken||null)});this.internalListeners.set(n,e),this.updateProactiveRefresh()}removeAuthTokenListener(n){this.assertAuthConfigured();let e=this.internalListeners.get(n);e&&(this.internalListeners.delete(n),e(),this.updateProactiveRefresh())}assertAuthConfigured(){st(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}};function O7(t){switch(t){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}function N7(t){Gn(new Wn("auth",(n,{options:e})=>{let i=n.getProvider("app").getImmediate(),r=n.getProvider("heartbeat"),a=n.getProvider("app-check-internal"),{apiKey:o,authDomain:s}=i.options;st(o&&!o.includes(":"),"invalid-api-key",{appName:i.name});let l={apiKey:o,authDomain:s,clientPlatform:t,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:hA(t)},c=new qx(i,r,a,l);return f9(c,e),c},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((n,e,i)=>{n.getProvider("auth-internal").initialize()})),Gn(new Wn("auth-internal",n=>{let e=Do(n.getProvider("auth").getImmediate());return(i=>new r1(i))(e)},"PRIVATE").setInstantiationMode("EXPLICIT")),_n(GM,qM,O7(t)),_n(GM,qM,"esm2020")}var L7=300,B7=nb("authIdTokenMaxAge")||L7,YM=null,V7=t=>n=>S(null,null,function*(){let e=n&&(yield n.getIdTokenResult()),i=e&&(new Date().getTime()-Date.parse(e.issuedAtTime))/1e3;if(i&&i>B7)return;let r=e?.token;YM!==r&&(YM=r,yield fetch(t,{method:r?"POST":"DELETE",headers:r?{Authorization:`Bearer ${r}`}:{}}))});function Eo(t=$a()){let n=qn(t,"auth");if(n.isInitialized())return n.getImmediate();let e=gA(t,{popupRedirectResolver:PA,persistence:[TA,SA,g1]}),i=nb("authTokenSyncURL");if(i&&typeof isSecureContext=="boolean"&&isSecureContext){let a=new URL(i,location.origin);if(location.origin===a.origin){let o=V7(a.toString());CA(e,o,()=>o(e.currentUser)),wA(e,s=>o(s))}}let r=sD("auth");return r&&_A(e,`http://${r}`),e}function U7(){return document.getElementsByTagName("head")?.[0]??document}d9({loadJS(t){return new Promise((n,e)=>{let i=document.createElement("script");i.setAttribute("src",t),i.onload=n,i.onerror=r=>{let a=no("internal-error");a.customData=r,e(a)},i.type="text/javascript",i.charset="UTF-8",U7().appendChild(i)})},gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="});N7("Browser");var NA="@firebase/installations",S1="0.6.19";var LA=1e4,BA=`w:${S1}`,VA="FIS_v2",H7="https://firebaseinstallations.googleapis.com/v1",$7=3600*1e3,W7="installations",G7="Installations";var q7={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."},yc=new vo(W7,G7,q7);function UA(t){return t instanceof mr&&t.code.includes("request-failed")}function zA({projectId:t}){return`${H7}/projects/${t}/installations`}
5215function jA(t){return{token:t.token,requestStatus:2,expiresIn:X7(t.expiresIn),creationTime:Date.now()}}function HA(t,n){return S(this,null,function*(){let i=(yield n.json()).error;return yc.create("request-failed",{requestName:t,serverCode:i.code,serverMessage:i.message,serverStatus:i.status})})}function $A({apiKey:t}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":t})}function Y7(t,{refreshToken:n}){let e=$A(t);return e.append("Authorization",K7(n)),e}function WA(t){return S(this,null,function*(){let n=yield t();return n.status>=500&&n.status<600?t():n})}function X7(t){return Number(t.replace("s","000"))}function K7(t){return`${VA} ${t}`}function Q7(i,r){return S(this,arguments,function*({appConfig:t,heartbeatServiceProvider:n},{fid:e}){let a=zA(t),o=$A(t),s=n.getImmediate({optional:!0});if(s){let u=yield s.getHeartbeatsHeader();u&&o.append("x-firebase-client",u)}let l={fid:e,authVersion:VA,appId:t.appId,sdkVersion:BA},c={method:"POST",headers:o,body:JSON.stringify(l)},d=yield WA(()=>fetch(a,c));if(d.ok){let u=yield d.json();return{fid:u.fid||e,registrationStatus:2,refreshToken:u.refreshToken,authToken:jA(u.authToken)}}else throw yield HA("Create Installation",d)})}function GA(t){return new Promise(n=>{setTimeout(n,t)})}function Z7(t){return btoa(String.fromCharCode(...t)).replace(/\+/g,"-").replace(/\//g,"_")}var J7=/^[cdef][\w-]{21}$/,C1="";function eH(){try{let t=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(t),t[0]=112+t[0]%16;let e=tH(t);return J7.test(e)?e:C1}catch(t){return C1}}function tH(t){return Z7(t).substr(0,22)}function Ag(t){return`${t.appName}!${t.appId}`}var qA=new Map;function YA(t,n){let e=Ag(t);XA(e,n),iH(e,n)}function XA(t,n){let e=qA.get(t);if(e)for(let i of e)i(n)}function iH(t,n){let e=nH();e&&e.postMessage({key:t,fid:n}),rH()}var bc=null;function nH(){return!bc&&"BroadcastChannel"in self&&(bc=new BroadcastChannel("[Firebase] FID Change"),bc.onmessage=t=>{XA(t.data.key,t.data.fid)}),bc}function rH(){qA.size===0&&bc&&(bc.close(),bc=null)}var aH="firebase-installations-database",oH=1,xc="firebase-installations-store",x1=null;function k1(){return x1||(x1=_D(aH,oH,{upgrade:(t,n)=>{n===0&&t.createObjectStore(xc)}})),x1}function Mg(t,n){return S(this,null,function*(){let e=Ag(t),r=(yield k1()).transaction(xc,"readwrite"),a=r.objectStore(xc),o=yield a.get(e);return yield a.put(n,e),yield r.done,(!o||o.fid!==n.fid)&&YA(t,n.fid),n})}function KA(t){return S(this,null,function*(){let n=Ag(t),i=(yield k1()).transaction(xc,"readwrite");yield i.objectStore(xc).delete(n),yield i.done})}function Rg(t,n){return S(this,null,function*(){let e=Ag(t),r=(yield k1()).transaction(xc,"readwrite"),a=r.objectStore(xc),o=yield a.get(e),s=n(o);return s===void 0?yield a.delete(e):yield a.put(s,e),yield r.done,s&&(!o||o.fid!==s.fid)&&YA(t,s.fid),s})}function D1(t){return S(this,null,function*(){let n,e=yield Rg(t.appConfig,i=>{let r=sH(i),a=lH(t,r);return n=a.registrationPromise,a.installationEntry});return e.fid===C1?{installationEntry:yield n}:{installationEntry:e,registrationPromise:n}})}function sH(t){let n=t||{fid:eH(),registrationStatus:0};return QA(n)}function lH(t,n){if(n.registrationStatus===0){if(!navigator.onLine){let r=Promise.reject(yc.create("app-offline"));return{installationEntry:n,registrationPromise:r}}let e={fid:n.fid,registrationStatus:1,registrationTime:Date.now()},i=cH(t,e);return{installationEntry:e,registrationPromise:i}}else return n.registrationStatus===1?{installationEntry:n,registrationPromise:dH(t)}:{installationEntry:n}}function cH(t,n){return S(this,null,function*(){try{let e=yield Q7(t,n);return Mg(t.appConfig,e)}catch(e){throw UA(e)&&e.customData.serverCode===409?yield KA(t.appConfig):yield Mg(t.appConfig,{fid:n.fid,registrationStatus:0}),e}})}function dH(t){return S(this,null,function*(){let n=yield FA(t.appConfig);for(;n.registrationStatus===1;)yield GA(100),n=yield FA(t.appConfig);if(n.registrationStatus===0){let{installationEntry:e,registrationPromise:i}=yield D1(t);return i||e}return n})}function FA(t){return Rg(t,n=>{if(!n)throw yc.create("installation-not-found");return QA(n)})}function QA(t){return uH(t)?{fid:t.fid,registrationStatus:0}:t}function uH(t){return t.registrationStatus===1&&t.registrationTime+LA<Date.now()}function hH(i,r){return S(this,arguments,function*({appConfig:t,heartbeatServiceProvider:n},e){let a=mH(t,e),o=Y7(t,e),s=n.getImmediate({optional:!0});if(s){let u=yield s.getHeartbeatsHeader();u&&o.append("x-firebase-client",u)}let l={installation:{sdkVersion:BA,appId:t.appId}},c={method:"POST",headers:o,body:JSON.stringify(l)},d=yield WA(()=>fetch(a,c));if(d.ok){let u=yield d.json();return jA(u)}else throw yield HA("Generate Auth Token",d)})}function mH(t,{fid:n}){return`${zA(t)}/${n}/authTokens:generate`}function E1(t,n=!1){return S(this,null,function*(){let e,i=yield Rg(t.appConfig,a=>
5215{if(!ZA(a))throw yc.create("not-registered");let o=a.authToken;if(!n&&gH(o))return a;if(o.requestStatus===1)return e=fH(t,n),a;{if(!navigator.onLine)throw yc.create("app-offline");let s=vH(a);return e=pH(t,s),s}});return e?yield e:i.authToken})}function fH(t,n){return S(this,null,function*(){let e=yield OA(t.appConfig);for(;e.authToken.requestStatus===1;)yield GA(100),e=yield OA(t.appConfig);let i=e.authToken;return i.requestStatus===0?E1(t,n):i})}function OA(t){return Rg(t,n=>{if(!ZA(n))throw yc.create("not-registered");let e=n.authToken;return bH(e)?et(H({},n),{authToken:{requestStatus:0}}):n})}function pH(t,n){return S(this,null,function*(){try{let e=yield hH(t,n),i=et(H({},n),{authToken:e});return yield Mg(t.appConfig,i),e}catch(e){if(UA(e)&&(e.customData.serverCode===401||e.customData.serverCode===404))yield KA(t.appConfig);else{let i=et(H({},n),{authToken:{requestStatus:0}});yield Mg(t.appConfig,i)}throw e}})}function ZA(t){return t!==void 0&&t.registrationStatus===2}function gH(t){return t.requestStatus===2&&!_H(t)}function _H(t){let n=Date.now();return n<t.creationTime||t.creationTime+t.expiresIn<n+$7}function vH(t){let n={requestStatus:1,requestTime:Date.now()};return et(H({},t),{authToken:n})}function bH(t){return t.requestStatus===1&&t.requestTime+LA<Date.now()}function yH(t){return S(this,null,function*(){let n=t,{installationEntry:e,registrationPromise:i}=yield D1(n);return i?i.catch(console.error):E1(n).catch(console.error),e.fid})}function xH(t,n=!1){return S(this,null,function*(){let e=t;return yield wH(e),(yield E1(e,n)).token})}function wH(t){return S(this,null,function*(){let{registrationPromise:n}=yield D1(t);n&&(yield n)})}function CH(t){if(!t||!t.options)throw w1("App Configuration");if(!t.name)throw w1("App Name");let n=["projectId","apiKey","appId"];for(let e of n)if(!t.options[e])throw w1(e);return{appName:t.name,projectId:t.options.projectId,apiKey:t.options.apiKey,appId:t.options.appId}}function w1(t){return yc.create("missing-app-config-values",{valueName:t})}var JA="installations",SH="installations-internal",kH=t=>{let n=t.getProvider("app").getImmediate(),e=CH(n),i=qn(n,"heartbeat");return{app:n,appConfig:e,heartbeatServiceProvider:i,_delete:()=>Promise.resolve()}},DH=t=>{let n=t.getProvider("app").getImmediate(),e=qn(n,JA).getImmediate();return{getId:()=>yH(e),getToken:r=>xH(e,r)}};function EH(){Gn(new Wn(JA,kH,"PUBLIC")),Gn(new Wn(SH,DH,"PRIVATE"))}EH();_n(NA,S1);_n(NA,S1,"esm2020");var Pg="analytics",TH="firebase_id",IH="origin",MH=60*1e3,AH="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",F1="https://www.googletagmanager.com/gtag/js";var yr=new dd("@firebase/analytics");var RH={"already-exists":"A Firebase Analytics instance with the appId {$id}  already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-initialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.',"no-client-id":'The "client_id" field is empty.',"invali
5215d-gtag-resource":"Trusted Types detected an invalid gtag resource: {$gtagURL}."},ca=new vo("analytics","Analytics",RH);function PH(t){if(!t.startsWith(F1)){let n=ca.create("invalid-gtag-resource",{gtagURL:t});return yr.warn(n.message),""}return t}function oR(t){return Promise.all(t.map(n=>n.catch(e=>e)))}function FH(t,n){let e;return window.trustedTypes&&(e=window.trustedTypes.createPolicy(t,n)),e}function OH(t,n){let e=FH("firebase-js-sdk-policy",{createScriptURL:PH}),i=document.createElement("script"),r=`${F1}?l=${t}&id=${n}`;i.src=e?e?.createScriptURL(r):r,i.async=!0,document.head.appendChild(i)}function NH(t){let n=[];return Array.isArray(window[t])?n=window[t]:window[t]=n,n}function LH(t,n,e,i,r,a){return S(this,null,function*(){let o=i[r];try{if(o)yield n[o];else{let l=(yield oR(e)).find(c=>c.measurementId===r);l&&(yield n[l.appId])}}catch(s){yr.error(s)}t("config",r,a)})}function BH(t,n,e,i,r){return S(this,null,function*(){try{let a=[];if(r&&r.send_to){let o=r.send_to;Array.isArray(o)||(o=[o]);let s=yield oR(e);for(let l of o){let c=s.find(u=>u.measurementId===l),d=c&&n[c.appId];if(d)a.push(d);else{a=[];break}}}a.length===0&&(a=Object.values(n)),yield Promise.all(a),t("event",i,r||{})}catch(a){yr.error(a)}})}function VH(t,n,e,i){function r(a,...o){return S(this,null,function*(){try{if(a==="event"){let[s,l]=o;yield BH(t,n,e,s,l)}else if(a==="config"){let[s,l]=o;yield LH(t,n,e,i,s,l)}else if(a==="consent"){let[s,l]=o;t("consent",s,l)}else if(a==="get"){let[s,l,c]=o;t("get",s,l,c)}else if(a==="set"){let[s]=o;t("set",s)}else t(a,...o)}catch(s){yr.error(s)}})}return r}function UH(t,n,e,i,r){let a=function(...o){window[i].push(arguments)};return window[r]&&typeof window[r]=="function"&&(a=window[r]),window[r]=VH(a,t,n,e),{gtagCore:a,wrappedGtag:window[r]}}function zH(t){let n=window.document.getElementsByTagName("script");for(let e of Object.values(n))if(e.src&&e.src.includes(F1)&&e.src.includes(t))return e;return null}var jH=30,HH=1e3,I1=class{constructor(n={},e=HH){this.throttleMetadata=n,this.intervalMillis=e}getThrottleMetadata(n){return this.throttleMetadata[n]}setThrottleMetadata(n,e){this.throttleMetadata[n]=e}deleteThrottleMetadata(n){delete this.throttleMetadata[n]}},sR=new I1;function $H(t){return new Headers({Accept:"application/json","x-goog-api-key":t})}function WH(t){return S(this,null,function*(){let{appId:n,apiKey:e}=t,i={method:"GET",headers:$H(e)},r=AH.replace("{app-id}",n),a=yield fetch(r,i);if(a.status!==200&&a.status!==304){let o="";try{let s=yield a.json();s.error?.message&&(o=s.error.message)}catch(s){}throw ca.create("config-fetch-failed",{httpStatus:a.status,responseMessage:o})}return a.json()})}function GH(i){return S(this,arguments,function*(t,n=sR,e){let{appId:r,apiKey:a,measurementId:o}=t.options;if(!r)throw ca.create("no-app-id");if(!a){if(o)return{measurementId:o,appId:r};throw ca.create("no-api-key")}let s=n.getThrottleMetadata(r)||{backoffCount:0,throttleEndTimeMillis:Date.now()},l=new M1;return setTimeout(()=>S(null,null,function*(){l.abort()}),e!==void 0?e:MH),lR({appId:r,apiKey:a,measurementId:o},s,l,n)})}function lR(a,o,s){return S(this,arguments,function*(t,{throttleEndTimeMillis:n,backoffCount:e},i,r=sR){let{appId:l,measurementId:c}=t;try{yield qH(i,n)}catch(d){if(c)return yr.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${c} provided in the "measurementId" field in the local Firebase config. [${d?.message}]`),{appId:l,measurementId:c};throw d}try{let d=yield WH(t);return r.deleteThrottleMetadata(l),d}catch(d){let u=d;if(!YH(u)){if(r.deleteThrottleMetadata(l),c)return yr.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${c} provided in the "measurementId" field in the local Firebase config. [${u?.message}]`),{appId:l,measurementId:c};throw d}let h=Number(u?.customData?.httpStatus)===503?fh(e,r.intervalMillis,jH):fh(e,r.intervalMillis),m={throttleEndTimeMillis:Date.now()+h,backoffCount:e+1};return r.setThrottleMetadata(l,m),yr.debug(`Calling attemptFetch again in ${h} millis`),lR(t,m,i,r)}})}function qH(t,n){return new Promise((e,i)=>{let r=Math.max(n-Date.now(),0),a=setTimeout(e,r);t.addEventListener(()=>{clearTimeout(a),i(ca.create("fetch-throttle",{throttleEndTimeMillis:n}))})})}function YH(t){if(!(t instanceof mr)||!t.customData)return!1;let n=Number(t.customData.httpStatus);return n===429||n===500||n===503||n===504}var M1=class{constructor(){this.listeners=[]}addEventListener(n){this.listeners.push(n)}
5215abort(){this.listeners.forEach(n=>n())}};var A1;function XH(t,n,e,i,r){return S(this,null,function*(){if(r&&r.global){t("event",e,i);return}else{let a=yield n,o=et(H({},i),{send_to:a});t("event",e,o)}})}function KH(t,n,e,i){return S(this,null,function*(){if(i&&i.global){let r={};for(let a of Object.keys(e))r[`user_properties.${a}`]=e[a];return t("set",r),Promise.resolve()}else{let r=yield n;t("config",r,{update:!0,user_properties:e})}})}var R1;function QH(t){R1=t}function ZH(t){A1=t}function JH(){return S(this,null,function*(){if(mh())try{yield mD()}catch(t){return yr.warn(ca.create("indexeddb-unavailable",{errorInfo:t?.toString()}).message),!1}else return yr.warn(ca.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;return!0})}function e$(t,n,e,i,r,a,o){return S(this,null,function*(){let s=GH(t);s.then(h=>{e[h.measurementId]=h.appId,t.options.measurementId&&h.measurementId!==t.options.measurementId&&yr.warn(`The measurement ID in the local Firebase config (${t.options.measurementId}) does not match the measurement ID fetched from the server (${h.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(h=>yr.error(h)),n.push(s);let l=JH().then(h=>{if(h)return i.getId()}),[c,d]=yield Promise.all([s,l]);zH(a)||OH(a,c.measurementId),R1&&(r("consent","default",R1),QH(void 0)),r("js",new Date);let u=o?.config??{};return u[IH]="firebase",u.update=!0,d!=null&&(u[TH]=d),r("config",c.measurementId,u),A1&&(r("set",A1),ZH(void 0)),c.measurementId})}var P1=class{constructor(n){this.app=n}_delete(){return delete cu[this.app.options.appId],Promise.resolve()}},cu={},eR=[],tR={},T1="dataLayer",t$="gtag",iR,O1,nR=!1;function i$(){let t=[];if(np()&&t.push("This is a browser extension environment."),fD()||t.push("Cookies are not available."),t.length>0){let n=t.map((i,r)=>`(${r+1}) ${i}`).join(" "),e=ca.create("invalid-analytics-context",{errorInfo:n});yr.warn(e.message)}}function n$(t,n,e){i$();let i=t.options.appId;if(!i)throw ca.create("no-app-id");if(!t.options.apiKey)if(t.options.measurementId)yr.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${t.options.measurementId} provided in the "measurementId" field in the local Firebase config.`);else throw ca.create("no-api-key");if(cu[i]!=null)throw ca.create("already-exists",{id:i});if(!nR){NH(T1);let{wrappedGtag:a,gtagCore:o}=UH(cu,eR,tR,T1,t$);O1=a,iR=o,nR=!0}return cu[i]=e$(t,eR,tR,n,iR,T1,e),new P1(t)}function Fg(t=$a()){t=ti(t);let n=qn(t,Pg);return n.isInitialized()?n.getImmediate():r$(t)}function r$(t,n={}){let e=qn(t,Pg);if(e.isInitialized()){let r=e.getImmediate();if(od(n,e.getOptions()))return r;throw ca.create("already-initialized")}return e.initialize({options:n})}function a$(t,n,e){t=ti(t),KH(O1,cu[t.app.options.appId],n,e).catch(i=>yr.error(i))}function o$(t,n,e,i){t=ti(t),XH(O1,cu[t.app.options.appId],n,e,i).catch(r=>yr.error(r))}var rR="@firebase/analytics",aR="0.10.19";function s$(){Gn(new Wn(Pg,(n,{options:e})=>{let i=n.getProvider("app").getImmediate(),r=n.getProvider("installations-internal").getImmediate();return n$(i,r,e)},"PUBLIC")),Gn(new Wn("analytics-internal",t,"PRIVATE")),_n(rR,aR),_n(rR,aR,"esm2020");function t(n){try{let e=n.getProvider(Pg).getImmediate();return{logEvent:(i,r,a)=>o$(e,i,r,a),setUserProperties:(i,r)=>a$(e,i,r)}}catch(e){throw ca.create("interop-component-reg-failed",{reason:e})}}}s$();var l$="firebase",c$="12.9.0";_n(l$,c$,"app");var B1=new Map,fR={activated:!1,tokenObservers:[]},d$={initialized:!1,enabled:!1};function wn(t){return B1.get(t)||H({},fR)}function u$(t,n){return B1.set(t,n),B1.get(t)}function Lg(){return d$}var pR="https://content-firebaseappcheck.googleapis.com/v1";var h$="exchangeRecaptchaEnterpriseToken",m$="exchangeDebugToken",cR={OFFSET_DURATION:300*1e3,RETRIAL_MIN_WAIT:30*1e3,RETRIAL_MAX_WAIT:960*1e3},f$=1440*60*1e3;var V1=class{constructor(n,e,i,r,a){if(this.operation=n,this.retryPolicy=e,this.getWaitDuration=i,this.lowerBound=r,this.up
5215perBound=a,this.pending=null,this.nextErrorWaitInterval=r,r>a)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(n){return S(this,null,function*(){this.stop();try{this.pending=new hh,this.pending.promise.catch(e=>{}),yield p$(this.getNextRun(n)),this.pending.resolve(),yield this.pending.promise,this.pending=new hh,this.pending.promise.catch(e=>{}),yield this.operation(),this.pending.resolve(),yield this.pending.promise,this.process(!0).catch(()=>{})}catch(e){this.retryPolicy(e)?this.process(!1).catch(()=>{}):this.stop()}})}getNextRun(n){if(n)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{let e=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),e}}};function p$(t){return new Promise(n=>{setTimeout(n,t)})}var g$={"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.","initial-throttle":"{$httpStatus} error. Attempts allowed again after {$time}",throttled:"Requests throttled due to previous {$httpStatus} error. Attempts allowed again after {$time}"},Ur=new vo("appCheck","AppCheck",g$);function dR(t=!1){return t?self.grecaptcha?.enterprise:self.grecaptcha}function j1(t){if(!wn(t).activated)throw Ur.create("use-before-activation",{appName:t.name})}function gR(t){let n=Math.round(t/1e3),e=Math.floor(n/(3600*24)),i=Math.floor((n-e*3600*24)/3600),r=Math.floor((n-e*3600*24-i*3600)/60),a=n-e*3600*24-i*3600-r*60,o="";return e&&(o+=Og(e)+"d:"),i&&(o+=Og(i)+"h:"),o+=Og(r)+"m:"+Og(a)+"s",o}function Og(t){return t===0?"00":t>=10?t.toString():"0"+t}function H1(i,r){return S(this,arguments,function*({url:t,body:n},e){let a={"Content-Type":"application/json"},o=e.getImmediate({optional:!0});if(o){let m=yield o.getHeartbeatsHeader();m&&(a["X-Firebase-Client"]=m)}let s={method:"POST",body:JSON.stringify(n),headers:a},l;try{l=yield fetch(t,s)}catch(m){throw Ur.create("fetch-network-error",{originalErrorMessage:m?.message})}if(l.status!==200)throw Ur.create("fetch-status-error",{httpStatus:l.status});let c;try{c=yield l.json()}catch(m){throw Ur.create("fetch-parse-error",{originalErrorMessage:m?.message})}let d=c.ttl.match(/^([\d.]+)(s)$/);if(!d||!d[2]||isNaN(Number(d[1])))throw Ur.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${c.ttl}`});let u=Number(d[1])*1e3,h=Date.now();return{token:c.token,expireTimeMillis:h+u,issuedAtTimeMillis:h}})}function _$(t,n){let{projectId:e,appId:i,apiKey:r}=t.options;return{url:`${pR}/projects/${e}/apps/${i}:${h$}?key=${r}`,body:{recaptcha_enterprise_token:n}}}function _R(t,n){let{projectId:e,appId:i,apiKey:r}=t.options;return{url:`${pR}/projects/${e}/apps/${i}:${m$}?key=${r}`,body:{debug_token:n}}}var v$="firebase-app-check-database",b$=1,Nm="firebase-app-check-store",vR="debug-token",Ng=null;function bR(){return Ng||(Ng=new Promise((t,n)=>{try{let e=indexedDB.open(v$,b$);e.onsuccess=i=>{t(i.target.result)},e.onerror=i=>{n(Ur.create("storage-open",{originalErrorMessage:i.target.error?.message}))},e.onupgradeneeded=i=>{let r=i.target.result;i.oldVersion===0&&r.createObjectStore(Nm,{keyPath:"compositeKey"})}}catch(e){n(Ur.create("storage-open",{originalErrorMessage:e?.message}))}}),Ng)}function y$(t){return xR(wR(t))}function x$(t,n){return yR(wR(t),n)}function w$(t){return yR(vR,t)}function C$(){return xR(vR)}function yR(t,n){return S(this,null,function*(){let i=(yield bR()).transaction(Nm,"readwrite"),a=i.objectStore(Nm).put({compositeKey:t,value:n});return new Promise((o,s)=>{a.onsuccess=l=>{o()},i.onerror=l=>{s(Ur.create("storage-set",{originalErrorMessage:l.target.error?.message}))}})})}function xR(t){return S(this,null,function*(){let e=(yield bR()).transaction(Nm,"readonly"),r=e.objectStore(Nm).get(t);return new Promise((a,o)=>{r.onsuccess=s=>{let l=s.target.result;a(l?l.value:void 0)},e.onerror=s=>{o(Ur.create("storage-get",{originalErrorMessage:s.target.error?.message}))}})})}function wR(t){return`${t.options.appId}-${t.name}`}var ul=new dd("@firebase/app-check");function S$(t){return S(this,null,function*(){if(mh()){let n;try{n=yield y$(t)}catch(e){ul.warn(`Failed to read token from IndexedDB. Error: ${e}`)}return n}})}function N1(t,n){return mh()?x$(t,n).catch(e=>{ul.warn(`Failed to write token to IndexedDB. Error: ${e}`)}):Promise.resolve()}function k$(){return S(this,null,function*(){let t;try{t=yield C$()}catch(n){}if(t)return t;{let n=crypto.randomUUID();return w$(n).catch(e=>ul.warn(`Failed to persist debug token to IndexedDB. Error: ${e}`)),n}})}function $1(){return Lg().enabled}function W1(){return S(this,null,function*(){let t=Lg();if(t.enabled&&t.token)return t.token.promise;throw Error(`
5216            Can't get debug token in production mode.
5217        `)})}
5217function D$(){let t=oD(),n=Lg();if(n.initialized=!0,typeof t.FIREBASE_APPCHECK_DEBUG_TOKEN!="string"&&t.FIREBASE_APPCHECK_DEBUG_TOKEN!==!0)return;n.enabled=!0;let e=new hh;n.token=e,typeof t.FIREBASE_APPCHECK_DEBUG_TOKEN=="string"?e.resolve(t.FIREBASE_APPCHECK_DEBUG_TOKEN):e.resolve(k$())}var E$={error:"UNKNOWN_ERROR"};function T$(t){return rD.encodeString(JSON.stringify(t),!1)}function U1(t,n=!1,e=!1){return S(this,null,function*(){let i=t.app;j1(i);let r=wn(i),a=r.token,o;if(a&&!du(a)&&(r.token=void 0,a=void 0),!a){let c=yield r.cachedTokenPromise;c&&(du(c)?a=c:yield N1(i,void 0))}if(!n&&a&&du(a))return{token:a.token};let s=!1;if($1())try{r.exchangeTokenPromise||(r.exchangeTokenPromise=H1(_R(i,yield W1()),t.heartbeatServiceProvider).finally(()=>{r.exchangeTokenPromise=void 0}),s=!0);let c=yield r.exchangeTokenPromise;return yield N1(i,c),r.token=c,{token:c.token}}catch(c){return c.code==="appCheck/throttled"||c.code==="appCheck/initial-throttle"?ul.warn(c.message):e&&ul.error(c),L1(c)}try{r.exchangeTokenPromise||(r.exchangeTokenPromise=r.provider.getToken().finally(()=>{r.exchangeTokenPromise=void 0}),s=!0),a=yield wn(i).exchangeTokenPromise}catch(c){c.code==="appCheck/throttled"||c.code==="appCheck/initial-throttle"?ul.warn(c.message):e&&ul.error(c),o=c}let l;return a?o?du(a)?l={token:a.token,internalError:o}:l=L1(o):(l={token:a.token},r.token=a,yield N1(i,a)):l=L1(o),s&&kR(i,l),l})}function I$(t){return S(this,null,function*(){let n=t.app;j1(n);let{provider:e}=wn(n);if($1()){let i=yield W1(),{token:r}=yield H1(_R(n,i),t.heartbeatServiceProvider);return{token:r}}else{let{token:i}=yield e.getToken();return{token:i}}})}function CR(t,n,e,i){let{app:r}=t,a=wn(r),o={next:e,error:i,type:n};if(a.tokenObservers=[...a.tokenObservers,o],a.token&&du(a.token)){let s=a.token;Promise.resolve().then(()=>{e({token:s.token}),uR(t)}).catch(()=>{})}a.cachedTokenPromise.then(()=>uR(t))}function SR(t,n){let e=wn(t),i=e.tokenObservers.filter(r=>r.next!==n);i.length===0&&e.tokenRefresher&&e.tokenRefresher.isRunning()&&e.tokenRefresher.stop(),e.tokenObservers=i}function uR(t){let{app:n}=t,e=wn(n),i=e.tokenRefresher;i||(i=M$(t),e.tokenRefresher=i),!i.isRunning()&&e.isTokenAutoRefreshEnabled&&i.start()}function M$(t){let{app:n}=t;return new V1(()=>S(null,null,function*(){let e=wn(n),i;if(e.token?i=yield U1(t,!0):i=yield U1(t),i.error)throw i.error;if(i.internalError)throw i.internalError}),()=>!0,()=>{let e=wn(n);if(e.token){let i=e.token.issuedAtTimeMillis+(e.token.expireTimeMillis-e.token.issuedAtTimeMillis)*.5+3e5,r=e.token.expireTimeMillis-300*1e3;return i=Math.min(i,r),Math.max(0,i-Date.now())}else return 0},cR.RETRIAL_MIN_WAIT,cR.RETRIAL_MAX_WAIT)}function kR(t,n){let e=wn(t).tokenObservers;for(let i of e)try{i.type==="EXTERNAL"&&n.error!=null?i.error(n.error):i.next(n)}catch(r){}}function du(t){return t.expireTimeMillis-Date.now()>0}function L1(t){return{token:T$(E$),error:t}}var z1=class{constructor(n,e){this.app=n,this.heartbeatServiceProvider=e}_delete(){let{tokenObservers:n}=wn(this.app);for(let e of n)SR(this.app,e.next);return Promise.resolve()}};function A$(t,n){return new z1(t,n)}function R$(t){return{getToken:n=>U1(t,n),getLimitedUseToken:()=>I$(t),addTokenListener:n=>CR(t,"INTERNAL",n),removeTokenListener:n=>SR(t.app,n)}}var P$="@firebase/app-check",F$="0.11.0";var O$="https://www.google.com/recaptcha/enterprise.js";function N$(t,n){let e=new hh,i=wn(t);i.reCAPTCHAState={initialized:e};let r=L$(t),a=dR(!0);return a?hR(t,n,a,r,e):U$(()=>{let o=dR(!0);if(!o)throw new Error("no recaptcha");hR(t,n,o,r,e)}),e.promise}function hR(t,n,e,i,r){e.ready(()=>{V$(t,n,e,i),r.resolve(e)})}function L$(t){let n=`fire_app_check_${t.name}`,e=document.createElement("div");return e.id=n,e.style.display="none",document.body.appendChild(e),n}function B$(t){return S(this,null,function*(){j1(t);let e=yield wn(t).reCAPTCHAState.initialized.promise;return new Promise((i,r)=>{let a=wn(t).reCAPTCHAState;e.ready(()=>{i(e.execute(a.widgetId,{action:"fire_app_check"}))})})})}function V$(t,n,e,i){let r=e.render(i,{sitekey:n,size:"invisible",callback:()=>{wn(t).reCAPTCHAState.succeeded=!0},"error-callback":()=>{wn(t).reCAPTCHAState.succeeded=!1}}),a=wn(t);a.reCAPTCHAState=et(H({},a.reCAPTCHAState),{widgetId:r})}function U$(t){let n=document.createElement("script");n.src=O$,n.onload=t,document.head.appendChild(n)}var uu=class t{constructor(n){this._siteKey=n,this._throttleData=null}getToken(){return S(this,null,function*(){j$(this._throttleData);let n=yield B$(this._app).catch(i=>{throw Ur.create("recaptcha-error")});if(!wn(this._app).reCAPTCHAState?.succeeded)throw Ur.create("recaptcha-error");let e;try{e=yield H1(_$(this._app,n),this._heartbeatServiceProvider)}catch(i){throw i.code?.includes("fetch-status-error")?(this._throttleData=z$(Number(i.customData?.httpStatus),this._throttleData),Ur.create("initial-throttle",{time:gR(this._throttleData.allowRequestsAfter-Date.now()),httpStatus:this._throttleData.httpStatus})):i}return this._throttleData=null,e})}initialize(n){this._app=n,this._heartbeatServiceProvider=qn(n,"heartbeat"),N$
5217(n,this._siteKey).catch(()=>{})}isEqual(n){return n instanceof t?this._siteKey===n._siteKey:!1}};function z$(t,n){if(t===404||t===403)return{backoffCount:1,allowRequestsAfter:Date.now()+f$,httpStatus:t};{let e=n?n.backoffCount:0,i=fh(e,1e3,2);return{backoffCount:e+1,allowRequestsAfter:Date.now()+i,httpStatus:t}}}function j$(t){if(t&&Date.now()-t.allowRequestsAfter<=0)throw Ur.create("throttled",{time:gR(t.allowRequestsAfter-Date.now()),httpStatus:t.httpStatus})}function Bg(t=$a(),n){t=ti(t);let e=qn(t,"app-check");if(Lg().initialized||D$(),$1()&&W1().then(r=>console.log(`App Check debug token: ${r}. You will need to add it to your app's App Check settings in the Firebase console for it to work.`)),e.isInitialized()){let r=e.getImmediate(),a=e.getOptions();if(a.isTokenAutoRefreshEnabled===n.isTokenAutoRefreshEnabled&&a.provider.isEqual(n.provider))return r;throw Ur.create("already-initialized",{appName:t.name})}let i=e.initialize({options:n});return H$(t,n.provider,n.isTokenAutoRefreshEnabled),wn(t).isTokenAutoRefreshEnabled&&CR(i,"INTERNAL",()=>{}),i}function H$(t,n,e=!1){let i=u$(t,H({},fR));i.activated=!0,i.provider=n,i.cachedTokenPromise=S$(t).then(r=>(r&&du(r)&&(i.token=r,kR(t,{token:r.token})),r)),i.isTokenAutoRefreshEnabled=e&&t.automaticDataCollectionEnabled,!t.automaticDataCollectionEnabled&&e&&ul.warn("`isTokenAutoRefreshEnabled` is true but `automaticDataCollectionEnabled` was set to false during `initializeApp()`. This blocks automatic token refresh."),i.provider.initialize(t)}var $$="app-check",mR="app-check-internal";function W$(){Gn(new Wn($$,t=>{let n=t.getProvider("app").getImmediate(),e=t.getProvider("heartbeat");return A$(n,e)},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((t,n,e)=>{t.getProvider(mR).initialize()})),Gn(new Wn(mR,t=>{let n=t.getProvider("app-check").getImmediate();return R$(n)},"PUBLIC").setInstantiationMode("EXPLICIT")),_n(P$,F$)}W$();var FR="firebasestorage.googleapis.com",OR="storageBucket",G$=120*1e3,q$=600*1e3,Y$=1e3;var qi=class t extends mr{constructor(n,e,i=0){super(G1(n),`Firebase Storage: ${e} (${G1(n)})`),this.status_=i,this.customData={serverResponse:null},this._baseMessage=this.message,Object.setPrototypeOf(this,t.prototype)}get status(){return this.status_}set status(n){this.status_=n}_codeEquals(n){return G1(n)===this.code}get serverResponse(){return this.customData.serverResponse}set serverResponse(n){this.customData.serverResponse=n,this.customData.serverResponse?this.message=`${this._baseMessage}
5218${this.customData.serverResponse}`:this.message=this._baseMessage}},Vi=(function(t){return t.UNKNOWN="unknown",t.OBJECT_NOT_FOUND="object-not-found",t.BUCKET_NOT_FOUND="bucket-not-found",t.PROJECT_NOT_FOUND="project-not-found",t.QUOTA_EXCEEDED="quota-exceeded",t.UNAUTHENTICATED="unauthenticated",t.UNAUTHORIZED="unauthorized",t.UNAUTHORIZED_APP="unauthorized-app",t.RETRY_LIMIT_EXCEEDED="retry-limit-exceeded",t.INVALID_CHECKSUM="invalid-checksum",t.CANCELED="canceled",t.INVALID_EVENT_NAME="invalid-event-name",t.INVALID_URL="invalid-url",t.INVALID_DEFAULT_BUCKET="invalid-default-bucket",t.NO_DEFAULT_BUCKET="no-default-bucket",t.CANNOT_SLICE_BLOB="cannot-slice-blob",t.SERVER_FILE_WRONG_SIZE="server-file-wrong-size",t.NO_DOWNLOAD_URL="no-download-url",t.INVALID_ARGUMENT="invalid-argument",t.INVALID_ARGUMENT_COUNT="invalid-argument-count",t.APP_DELETED="app-deleted",t.INVALID_ROOT_OPERATION="invalid-root-operation",t.INVALID_FORMAT="invalid-format",t.INTERNAL_ERROR="internal-error",t.UNSUPPORTED_ENVIRONMENT="unsupported-environment",t})(Vi||{});function G1(t){return"storage/"+t}function iw(){let t="An unknown error occurred, please check the error payload for server response.";return new qi(Vi.UNKNOWN,t)}function X$(t){return new qi(Vi.OBJECT_NOT_FOUND,"Object '"+t+"' does not exist.")}function K$(t){return new qi(Vi.QUOTA_EXCEEDED,"Quota for bucket '"+t+"' exceeded, please view quota on https://firebase.google.com/pricing/.")}function Q$(){let t="User is not authenticated, please authenticate using Firebase Authentication and try again.";return new qi(Vi.UNAUTHENTICATED,t)}function Z$(){return new qi(Vi.UNAUTHORIZED_APP,"This app does not have permission to access Firebase Storage on this project.")}function J$(t){return new qi(Vi.UNAUTHORIZED,"User does not have permission to access '"+t+"'.")}function NR(){return new qi(Vi.RETRY_LIMIT_EXCEEDED,"Max retry time for operation exceeded, please try again.")}function LR(){return new qi(Vi.CANCELED,"User canceled the upload/download.")}function eW(t){return new qi(Vi.INVALID_URL,"Invalid URL '"+t+"'.")}function tW(t){return new qi(Vi.INVALID_DEFAULT_BUCKET,"Invalid default bucket '"+t+"'.")}function iW(){return new qi(Vi.NO_DEFAULT_BUCKET,"No default bucket found. Did you set the '"+OR+"' property when initializing the app?")}function BR(){return new qi(Vi.CANNOT_SLICE_BLOB,"Cannot slice blob for upload. Please retry the upload.")}function nW(){return new qi(Vi.SERVER_FILE_WRONG_SIZE,"Server recorded incorrect upload file size, please retry the upload.")}function rW(){return new qi(Vi.NO_DOWNLOAD_URL,"The given file does not have any download URLs.")}function aW(t){return new qi(Vi.UNSUPPORTED_ENVIRONMENT,`${t} is missing. Make sure to install the required polyfills. See https://firebase.google.com/docs/web/environments-js-sdk#polyfills for more information.`)}function Y1(t){return new qi(Vi.INVALID_ARGUMENT,t)}function VR(){return new qi(Vi.APP_DELETED,"The Firebase app was deleted.")}function oW(t){return new qi(Vi.INVALID_ROOT_OPERATION,"The operation '"+t+"' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').")}function Bm(t,n){return new qi(Vi.INVALID_FORMAT,"String does not match format '"+t+"': "+n)}function Lm(t){throw new qi(Vi.INTERNAL_ERROR,"Internal error: "+t)}var da=class t{constructor(n,e){this.bucket=n,this.path_=e}get path(){return this.path_}get isRoot(){return this.path.length===0}fullServerUrl(){let n=encodeURIComponent;return"/b/"+n(this.bucket)+"/o/"+n(this.path)}bucketOnlyServerUrl(){return"/b/"+encodeURIComponent(this.bucket)+"/o"}static makeFromBucketSpec(n,e){let i;try{i=t.makeFromUrl(n,e)}catch(r){return new t(n,"")}if(i.path==="")return i;throw tW(n)}static makeFromUrl(n,e){let i=null,r="([A-Za-z0-9.\\-_]+)";
vendor: 8,719 bytes, line 5218
5218function a(E){E.path.charAt(E.path.length-1)==="/"&&(E.path_=E.path_.slice(0,-1))}let o="(/(.*))?$",s=new RegExp("^gs://"+r+o,"i"),l={bucket:1,path:3};function c(E){E.path_=decodeURIComponent(E.path)}let d="v[A-Za-z0-9_]+",u=e.replace(/[.]/g,"\\."),h="(/([^?#]*).*)?$",m=new RegExp(`^https?://${u}/${d}/b/${r}/o${h}`,"i"),g={bucket:1,path:3},_=e===FR?"(?:storage.googleapis.com|storage.cloud.google.com)":e,p="([^?#]*)",v=new RegExp(`^https?://${_}/${r}/${p}`,"i"),y=[{regex:s,indices:l,postModify:a},{regex:m,indices:g,postModify:c},{regex:v,indices:{bucket:1,path:2},postModify:c}];for(let E=0;E<y.length;E++){let F=y[E],A=F.regex.exec(n);if(A){let C=A[F.indices.bucket],M=A[F.indices.path];M||(M=""),i=new t(C,M),F.postModify(i);break}}if(i==null)throw eW(n);return i}},X1=class{constructor(n){this.promise_=Promise.reject(n)}getPromise(){return this.promise_}cancel(n=!1){}};function sW(t,n,e){let i=1,r=null,a=null,o=!1,s=0;function l(){return s===2}let c=!1;function d(...p){c||(c=!0,n.apply(null,p))}function u(p){r=setTimeout(()=>{r=null,t(m,l())},p)}function h(){a&&clearTimeout(a)}function m(p,...v){if(c){h();return}if(p){h(),d.call(null,p,...v);return}if(l()||o){h(),d.call(null,p,...v);return}i<64&&(i*=2);let y;s===1?(s=2,y=0):y=(i+Math.random())*1e3,u(y)}let g=!1;function _(p){g||(g=!0,h(),!c&&(r!==null?(p||(s=2),clearTimeout(r),u(0)):p||(s=1)))}return u(0),a=setTimeout(()=>{o=!0,_(!0)},e),_}function lW(t){t(!1)}function cW(t){return t!==void 0}function dW(t){return typeof t=="function"}function uW(t){return typeof t=="object"&&!Array.isArray(t)}function jg(t){return typeof t=="string"||t instanceof String}function DR(t){return nw()&&t instanceof Blob}function nw(){return typeof Blob<"u"}function K1(t,n,e,i){if(i<n)throw Y1(`Invalid value for '${t}'. Expected ${n} or greater.`);if(i>e)throw Y1(`Invalid value for '${t}'. Expected ${e} or less.`)}function _s(t,n,e){let i=n;return e==null&&(i=`https://${n}`),`${e}://${i}/v0${t}`}function UR(t){let n=encodeURIComponent,e="?";for(let i in t)if(t.hasOwnProperty(i)){let r=n(i)+"="+n(t[i]);e=e+r+"&"}return e=e.slice(0,-1),e}var fu=(function(t){return t[t.NO_ERROR=0]="NO_ERROR",t[t.NETWORK_ERROR=1]="NETWORK_ERROR",t[t.ABORT=2]="ABORT",t})(fu||{});function zR(t,n){let e=t>=500&&t<600,r=[408,429].indexOf(t)!==-1,a=n.indexOf(t)!==-1;return e||r||a}var Q1=class{constructor(n,e,i,r,a,o,s,l,c,d,u,h=!0,m=!1){this.url_=n,this.method_=e,this.headers_=i,this.body_=r,this.successCodes_=a,this.additionalRetryCodes_=o,this.callback_=s,this.errorCallback_=l,this.timeout_=c,this.progressCallback_=d,this.connectionFactory_=u,this.retry=h,this.isUsingEmulator=m,this.pendingConnection_=null,this.backoffId_=null,this.canceled_=!1,this.appDelete_=!1,this.promise_=new Promise((g,_)=>{this.resolve_=g,this.reject_=_,this.start_()})}start_(){let n=(i,r)=>{if(r){i(!1,new mu(!1,null,!0));return}let a=this.connectionFactory_();this.pendingConnection_=a;let o=s=>{let l=s.loaded,c=s.lengthComputable?s.total:-1;this.progressCallback_!==null&&this.progressCallback_(l,c)};this.progressCallback_!==null&&a.addUploadProgressListener(o),a.send(this.url_,this.method_,this.isUsingEmulator,this.body_,this.headers_).then(()=>{this.progressCallback_!==null&&a.removeUploadProgressListener(o),this.pendingConnection_=null;let s=a.getErrorCode()===fu.NO_ERROR,l=a.getStatus();if(!s||zR(l,this.additionalRetryCodes_)&&this.retry){let d=a.getErrorCode()===fu.ABORT;i(!1,new mu(!1,null,d));return}let c=this.successCodes_.indexOf(l)!==-1;i(!0,new mu(c,a))})},e=(i,r)=>{let a=this.resolve_,o=this.reject_,s=r.connection;if(r.wasSuccessCode)try{let l=this.callback_(s,s.getResponse());cW(l)?a(l):a()}catch(l){o(l)}else if(s!==null){let l=iw();l.serverResponse=s.getErrorText(),this.errorCallback_?o(this.errorCallback_(s,l)):o(l)}else if(r.canceled){let l=this.appDelete_?VR():LR();o(l)}else{let l=NR();o(l)}};this.canceled_?e(!1,new mu(!1,null,!0)):this.backoffId_=sW(n,e,this.timeout_)}getPromise(){return this.promise_}cancel(n){this.canceled_=!0,this.appDelete_=n||!1,this.backoffId_!==null&&lW(this.backoffId_),this.pendingConnection_!==null&&this.pendingConnection_.abort()}},mu=class{constructor(n,e,i){this.wasSuccessCode=n,this.connection=e,this.canceled=!!i}};function hW(t,n){n!==null&&n.length>0&&(t.Authorization="Firebase "+n)}function mW(t,n){t["X-Firebase-Storage-Version"]="webjs/"+(n??"AppManager")}function fW(t,n){n&&(t["X-Firebase-GMPID"]=n)}function pW(t,n){n!==null&&(t["X-Firebase-AppCheck"]=n)}function gW(t,n,e,i,r,a,o=!0,s=!1){let l=UR(t.urlParams),c=t.url+l,d=Object.assign({},t.headers);return fW(d,n),hW(d,e),mW(d,a),pW(d,i),new Q1(c,t.method,d,t.body,t.successCodes,t.additionalRetryCodes,t.handler,t.errorHandler,t.timeout,t.progressCallback,r,o,s)}function _W(){return typeof BlobBuilder<"u"?BlobBuilder:typeof WebKitBlobBuilder<"u"?WebKitBlobBuilder:void 0}function vW(...t){let n=_W();if(n!==void 0){let e=new n;for(let i=0;i<t.length;i++)e.append(t[i]);return e.getBlob()}else{if(nw())return new Blob(t);throw new qi(Vi.UNSUPPORTED_ENVIRONMENT,"This browser doesn't seem to support creating Blobs")}}function bW(t,n,e){return t.webkitSlice?t.webkitSlice(n,e):t.mozSlice?t.mozSlice(n,e):t.slice?t.slice(n,e):null}function yW(t){if(typeof atob>"u")throw aW("base-64");return atob(t)}var To={RAW:"raw",BASE64:"base64",BASE64URL:"base64url",DATA_URL:"data_url"},Vm=class{constructor(n,e){this.data=n,this.contentType=e||null}};function xW(t,n){switch(t){case To.RAW:return new Vm(jR(n));case To.BASE64:case To.BASE64URL:return new Vm(HR(t,n));case To.DATA_URL:return new Vm(CW(n),SW(n))}throw iw()}function jR(t){let n=[];for(let e=0;e<t.length;e++){let i=t.charCodeAt(e);if(i<=127)n.push(i);else if(i<=2047)n.push(192|i>>6,128|i&63);else if((i&64512)===55296)if(!(e<t.length-1&&(t.charCodeAt(e+1)&64512)===56320))n.push(239,191,189);else{let a=i,o=t.charCodeAt(++e);i=65536|(a&1023)<<10|o&1023,n.push(240|i>>18,128|i>>12&63,128|i>>6&63,128|i&63)}else(i&64512)===56320?n.push(239,191,189):n.push(224|i>>12,128|i>>6&63,128|i&63)}return new Uint8Array(n)}function wW(t){let n;try{n=decodeURIComponent(t)}catch(e){throw Bm(To.DATA_URL,"Malformed data URL.")}return jR(n)}function HR(t,n){switch(t){case To.BASE64:{let r=n.indexOf("-")!==-1,a=n.indexOf("_")!==-1;if(r||a)throw Bm(t,"Invalid character '"+(r?"-":"_")+"' found: is it base64url encoded?");break}case To.BASE64URL:{let r=n.indexOf("+")!==-1,a=n.indexOf("/")!==-1;if(r||a)throw Bm(t,"Invalid character '"+(r?"+":"/")+"' found: is it base64 encoded?");n=n.replace(/-/g,"+").replace(/_/g,"/");break}}let e;try{e=yW(n)}catch(r){throw r.message.includes("polyfill")?r:Bm(t,"Invalid character found")}let i=new Uint8Array(e.length);for(let r=0;r<e.length;r++)i[r]=e.charCodeAt(r);return i}var Ug=class{constructor(n){this.base64=!1,this.contentType=null;let e=n.match(/^data:([^,]+)?,/);if(e===null)throw Bm(To.DATA_URL,"Must be formatted 'data:[<mediatype>][;base64],<data>");let i=e[1]||null;i!=null&&(this.base64=kW(i,";base64"),this.contentType=this.base64?i.substring(0,i.length-7):i),this.rest=n.substring(n.indexOf(",")+1)}};function CW(t){let n=new Ug(t);return n.base64?HR(To.BASE64,n.rest):wW(n.rest)}function SW(t){return new Ug(t).contentType}function kW(t,n){return t.length>=n.length?t.substring(t.length-n.length)===n:!1}var Um=class t{constructor(n,e){let i=0,r="";DR(n)?(this.data_=n,i=n.size,r=n.type):n instanceof ArrayBuffer?(e?this.data_=new Uint8Array(n):(this.data_=new Uint8Array(n.byteLength),this.data_.set(new Uint8Array(n))),i=this.data_.length):n instanceof Uint8Array&&(e?this.data_=n:(this.data_=new Uint8Array(n.length),this.data_.set(n)),i=n.length),this.size_=i,this.type_=r}size(){return this.size_}type(){return this.type_}slice(n,e){if(DR(this.data_)){let i=this.data_,r=bW(i,n,e);return r===null?null:new t(r)}else{let i=new Uint8Array(this.data_.buffer,n,e-n);return new t(i,!0)}}static getBlob(...n){if(nw()){let e=n.map(i=>i instanceof t?i.data_:i);return new t(vW.apply(null,e))}else{let e=n.map(o=>jg(o)?xW(To.RAW,o).data:o.data_),i=0;e.forEach(o=>{i+=o.byteLength});let r=new Uint8Array(i),a=0;return e.forEach(o=>{for(let s=0;s<o.length;s++)r[a++]=o[s]}),new t(r,!0)}}uploadData(){return this.data_}};function rw(t){let n;try{n=JSON.parse(t)}catch(e){return null}return uW(n)?n:null}function DW(t){if(t.length===0)return null;let n=t.lastIndexOf("/");return n===-1?"":t.slice(0,n)}function EW(t,n){let e=n.split("/").filter(i=>i.length>0).join("/");return t.length===0?e:t+"/"+e}function $R(t){let n=t.lastIndexOf("/",t.length-2);return n===-1?t:t.slice(n+1)}function TW(t,n){return n}var Ln=class{constructor(n,e,i,r){this.server=n,this.local=e||n,this.writable=!!i,this.xform=r||TW}},Vg=null;function IW(t){return!jg(t)||t.length<2?t:$R(t)}
5218function jm(){if(Vg)return Vg;let t=[];t.push(new Ln("bucket")),t.push(new Ln("generation")),t.push(new Ln("metageneration")),t.push(new Ln("name","fullPath",!0));function n(a,o){return IW(o)}let e=new Ln("name");e.xform=n,t.push(e);function i(a,o){return o!==void 0?Number(o):o}let r=new Ln("size");return r.xform=i,t.push(r),t.push(new Ln("timeCreated")),t.push(new Ln("updated")),t.push(new Ln("md5Hash",null,!0)),t.push(new Ln("cacheControl",null,!0)),t.push(new Ln("contentDisposition",null,!0)),t.push(new Ln("contentEncoding",null,!0)),t.push(new Ln("contentLanguage",null,!0)),t.push(new Ln("contentType",null,!0)),t.push(new Ln("metadata","customMetadata",!0)),Vg=t,Vg}function MW(t,n){function e(){let i=t.bucket,r=t.fullPath,a=new da(i,r);return n._makeStorageReference(a)}Object.defineProperty(t,"ref",{get:e})}function AW(t,n,e){let i={};i.type="file";let r=e.length;for(let a=0;a<r;a++){let o=e[a];i[o.local]=o.xform(i,n[o.server])}return MW(i,t),i}function WR(t,n,e){let i=rw(n);return i===null?null:AW(t,i,e)}function RW(t,n,e,i){let r=rw(n);if(r===null||!jg(r.downloadTokens))return null;let a=r.downloadTokens;if(a.length===0)return null;let o=encodeURIComponent;return a.split(",").map(c=>{let d=t.bucket,u=t.fullPath,h="/b/"+o(d)+"/o/"+o(u),m=_s(h,e,i),g=UR({alt:"media",token:c});return m+g})[0]}function aw(t,n){let e={},i=n.length;for(let r=0;r<i;r++){let a=n[r];a.writable&&(e[a.server]=t[a.local])}return JSON.stringify(e)}var ER="prefixes",TR="items";function PW(t,n,e){let i={prefixes:[],items:[],nextPageToken:e.nextPageToken};if(e[ER])for(let r of e[ER]){let a=r.replace(/\/$/,""),o=t._makeStorageReference(new da(n,a));i.prefixes.push(o)}if(e[TR])for(let r of e[TR]){let a=t._makeStorageReference(new da(n,r.name));i.items.push(a)}return i}function FW(t,n,e){let i=rw(e);return i===null?null:PW(t,n,i)}var Aa=class{constructor(n,e,i,r){this.url=n,this.method=e,this.handler=i,this.timeout=r,this.urlParams={},this.headers={},this.body=null,this.errorHandler=null,this.progressCallback=null,this.successCodes=[200],this.additionalRetryCodes=[]}};function Io(t){if(!t)throw iw()}function Hg(t,n){function e(i,r){let a=WR(t,r,n);return Io(a!==null),a}return e}function OW(t,n){function e(i,r){let a=FW(t,n,r);return Io(a!==null),a}return e}function NW(t,n){function e(i,r){let a=WR(t,r,n);return Io(a!==null),RW(a,r,t.host,t._protocol)}return e}function _u(t){function n(e,i){let r;return e.getStatus()===401?e.getErrorText().includes("Firebase App Check token is invalid")?r=Z$():r=Q$():e.getStatus()===402?r=K$(t.bucket):e.getStatus()===403?r=J$(t.path):r=i,r.status=e.getStatus(),r.serverResponse=i.serverResponse,r}return n}function Hm(t){let n=_u(t);function e(i,r){let a=n(i,r);return i.getStatus()===404&&(a=X$(t.path)),a.serverResponse=r.serverResponse,a}return e}function GR(t,n,e){let i=n.fullServerUrl(),r=_s(i,t.host,t._protocol),a="GET",o=t.maxOperationRetryTime,s=new Aa(r,a,Hg(t,e),o);return s.errorHandler=Hm(n),s}function LW(t,n,e,i,r){let a={};n.isRoot?a.prefix="":a.prefix=n.path+"/",e&&e.length>0&&(a.delimiter=e),i&&(a.pageToken=i),r&&(a.maxResults=r);let o=n.bucketOnlyServerUrl(),s=_s(o,t.host,t._protocol),l="GET",c=t.maxOperationRetryTime,d=new Aa(s,l,OW(t,n.bucket),c);return d.urlParams=a,d.errorHandler=_u(n),d}function BW(t,n,e){let i=n.fullServerUrl(),r=_s(i,t.host,t._protocol)+"?alt=media",a="GET",o=t.maxOperationRetryTime,s=new Aa(r,a,(l,c)=>c,o);return s.errorHandler=Hm(n),e!==void 0&&(s.headers.Range=`bytes=0-${e}`,s.successCodes=[200,206]),s}function VW(t,n,e){let i=n.fullServerUrl(),r=_s(i,t.host,t._protocol),a="GET",o=t.maxOperationRetryTime,s=new Aa(r,a,NW(t,e),o);return s.errorHandler=Hm(n),s}function UW(t,n,e,i){let r=n.fullServerUrl(),a=_s(r,t.host,t._protocol),o="PATCH",s=aw(e,i),l={"Content-Type":"application/json; charset=utf-8"},c=t.maxOperationRetryTime,d=new Aa(a,o,Hg(t,i),c);return d.headers=l,d.body=s,d.errorHandler=Hm(n),d}function zW(t,n){let e=n.fullServerUrl(),i=_s(e,t.host,t._protocol),r="DELETE",a=t.maxOperationRetryTime;function o(l,c){}let s=new Aa(i,r,o,a);return s.successCodes=[200,204],s.errorHandler=Hm(n),s}function jW(t,n){return t&&t.contentType||n&&n.type()||"application/octet-stream"}function qR(t,n,e){let i=Object.assign({},e);return i.fullPath=t.path,i.size=n.size(),i.contentType||(i.contentType=jW(null,n)),i}function YR(t,n,e,i,r){let a=n.bucketOnlyServerUrl(),o={"X-Goog-Upload-Protocol":"multipart"};function s(){let y="";for(let E=0;E<2;E++)y=y+Math.random().toString().slice(2);return y}let l=s();o["Content-Type"]="multipart/related; boundary="+l;let c=qR(n,i,r),d=aw(c,e),u="--"+l+`\r
5219Content-Type: application/json; charset=utf-8\r
5220\r
5221`+d+`\r
5222--`+l+`\r
5223Content-Type: `+c.contentType+`\r
5224\r
5225`,h=`\r
5226--`+l+"--",m=Um.getBlob(u,i,h);if(m===null)throw BR();let g={name:c.fullPath},_=_s(a,t.host,t._protocol),p="POST",v=t.maxUploadRetryTime,b=new Aa(_,p,Hg(t,e),v);
vendor: 7,937 bytes, line 5226
5226return b.urlParams=g,b.headers=o,b.body=m.uploadData(),b.errorHandler=_u(n),b}var pu=class{constructor(n,e,i,r){this.current=n,this.total=e,this.finalized=!!i,this.metadata=r||null}};function ow(t,n){let e=null;try{e=t.getResponseHeader("X-Goog-Upload-Status")}catch(r){Io(!1)}return Io(!!e&&(n||["active"]).indexOf(e)!==-1),e}function HW(t,n,e,i,r){let a=n.bucketOnlyServerUrl(),o=qR(n,i,r),s={name:o.fullPath},l=_s(a,t.host,t._protocol),c="POST",d={"X-Goog-Upload-Protocol":"resumable","X-Goog-Upload-Command":"start","X-Goog-Upload-Header-Content-Length":`${i.size()}`,"X-Goog-Upload-Header-Content-Type":o.contentType,"Content-Type":"application/json; charset=utf-8"},u=aw(o,e),h=t.maxUploadRetryTime;function m(_){ow(_);let p;try{p=_.getResponseHeader("X-Goog-Upload-URL")}catch(v){Io(!1)}return Io(jg(p)),p}let g=new Aa(l,c,m,h);return g.urlParams=s,g.headers=d,g.body=u,g.errorHandler=_u(n),g}function $W(t,n,e,i){let r={"X-Goog-Upload-Command":"query"};function a(c){let d=ow(c,["active","final"]),u=null;try{u=c.getResponseHeader("X-Goog-Upload-Size-Received")}catch(m){Io(!1)}u||Io(!1);let h=Number(u);return Io(!isNaN(h)),new pu(h,i.size(),d==="final")}let o="POST",s=t.maxUploadRetryTime,l=new Aa(e,o,a,s);return l.headers=r,l.errorHandler=_u(n),l}var IR=256*1024;function WW(t,n,e,i,r,a,o,s){let l=new pu(0,0);if(o?(l.current=o.current,l.total=o.total):(l.current=0,l.total=i.size()),i.size()!==l.total)throw nW();let c=l.total-l.current,d=c;r>0&&(d=Math.min(d,r));let u=l.current,h=u+d,m="";d===0?m="finalize":c===d?m="upload, finalize":m="upload";let g={"X-Goog-Upload-Command":m,"X-Goog-Upload-Offset":`${l.current}`},_=i.slice(u,h);if(_===null)throw BR();function p(E,F){let A=ow(E,["active","final"]),C=l.current+d,M=i.size(),L;return A==="final"?L=Hg(n,a)(E,F):L=null,new pu(C,M,A==="final",L)}let v="POST",b=n.maxUploadRetryTime,y=new Aa(e,v,p,b);return y.headers=g,y.body=_.uploadData(),y.progressCallback=s||null,y.errorHandler=_u(t),y}var zr={RUNNING:"running",PAUSED:"paused",SUCCESS:"success",CANCELED:"canceled",ERROR:"error"};function q1(t){switch(t){case"running":case"pausing":case"canceling":return zr.RUNNING;case"paused":return zr.PAUSED;case"success":return zr.SUCCESS;case"canceled":return zr.CANCELED;case"error":return zr.ERROR;default:return zr.ERROR}}var Z1=class{constructor(n,e,i){if(dW(n)||e!=null||i!=null)this.next=n,this.error=e??void 0,this.complete=i??void 0;else{let a=n;this.next=a.next,this.error=a.error,this.complete=a.complete}}};function hu(t){return(...n)=>{Promise.resolve().then(()=>t(...n))}}var MR=null,zg=class{constructor(){this.sent_=!1,this.xhr_=new XMLHttpRequest,this.initXhr(),this.errorCode_=fu.NO_ERROR,this.sendPromise_=new Promise(n=>{this.xhr_.addEventListener("abort",()=>{this.errorCode_=fu.ABORT,n()}),this.xhr_.addEventListener("error",()=>{this.errorCode_=fu.NETWORK_ERROR,n()}),this.xhr_.addEventListener("load",()=>{n()})})}send(n,e,i,r,a){if(this.sent_)throw Lm("cannot .send() more than once");if(_o(n)&&i&&(this.xhr_.withCredentials=!0),this.sent_=!0,this.xhr_.open(e,n,!0),a!==void 0)for(let o in a)a.hasOwnProperty(o)&&this.xhr_.setRequestHeader(o,a[o].toString());return r!==void 0?this.xhr_.send(r):this.xhr_.send(),this.sendPromise_}getErrorCode(){if(!this.sent_)throw Lm("cannot .getErrorCode() before sending");return this.errorCode_}getStatus(){if(!this.sent_)throw Lm("cannot .getStatus() before sending");try{return this.xhr_.status}catch(n){return-1}}getResponse(){if(!this.sent_)throw Lm("cannot .getResponse() before sending");return this.xhr_.response}getErrorText(){if(!this.sent_)throw Lm("cannot .getErrorText() before sending");return this.xhr_.statusText}abort(){this.xhr_.abort()}getResponseHeader(n){return this.xhr_.getResponseHeader(n)}addUploadProgressListener(n){this.xhr_.upload!=null&&this.xhr_.upload.addEventListener("progress",n)}removeUploadProgressListener(n){this.xhr_.upload!=null&&this.xhr_.upload.removeEventListener("progress",n)}},J1=class extends zg{initXhr(){this.xhr_.responseType="text"}};function ao(){return MR?MR():new J1}var ew=class extends zg{initXhr(){this.xhr_.responseType="arraybuffer"}};function GW(){return new ew}var tw=class{isExponentialBackoffExpired(){return this.sleepTime>this.maxSleepTime}constructor(n,e,i=null){this._transferred=0,this._needToFetchStatus=!1,this._needToFetchMetadata=!1,this._observers=[],this._error=void 0,this._uploadUrl=void 0,this._request=void 0,this._chunkMultiplier=1,this._resolve=void 0,this._reject=void 0,this._ref=n,this._blob=e,this._metadata=i,this._mappings=jm(),this._resumable=this._shouldDoResumable(this._blob),this._state="running",this._errorHandler=r=>{if(this._request=void 0,this._chunkMultiplier=1,r._codeEquals(Vi.CANCELED))this._needToFetchStatus=!0,this.completeTransitions_();else{let a=this.isExponentialBackoffExpired();if(zR(r.status,[]))if(a)r=NR();else{this.sleepTime=Math.max(this.sleepTime*2,Y$),this._needToFetchStatus=!0,this.completeTransitions_();return}this._error=r,this._transition("error")}},this._metadataErrorHandler=r=>{this._request=void 0,r._codeEquals(Vi.CANCELED)?this.completeTransitions_():(this._error=r,this._transition("error"))},this.sleepTime=0,this.maxSleepTime=this._ref.storage.maxUploadRetryTime,this._promise=new Promise((r,a)=>{this._resolve=r,this._reject=a,this._start()}),this._promise.then(null,()=>{})}_makeProgressCallback(){let n=this._transferred;return e=>this._updateProgress(n+e)}_shouldDoResumable(n){return n.size()>256*1024}_start(){this._state==="running"&&this._request===void 0&&(this._resumable?this._uploadUrl===void 0?this._createResumable():this._needToFetchStatus?this._fetchStatus():this._needToFetchMetadata?this._fetchMetadata():this.pendingTimeout=setTimeout(()=>{this.pendingTimeout=void 0,this._continueUpload()},this.sleepTime):this._oneShotUpload())}_resolveToken(n){Promise.all([this._ref.storage._getAuthToken(),this._ref.storage._getAppCheckToken()]).then(([e,i])=>{switch(this._state){case"running":n(e,i);break;case"canceling":this._transition("canceled");break;case"pausing":this._transition("paused");break}})}_createResumable(){this._resolveToken((n,e)=>{let i=HW(this._ref.storage,this._ref._location,this._mappings,this._blob,this._metadata),r=this._ref.storage._makeRequest(i,ao,n,e);this._request=r,r.getPromise().then(a=>{this._request=void 0,this._uploadUrl=a,this._needToFetchStatus=!1,this.completeTransitions_()},this._errorHandler)})}_fetchStatus(){let n=this._uploadUrl;this._resolveToken((e,i)=>{let r=$W(this._ref.storage,this._ref._location,n,this._blob),a=this._ref.storage._makeRequest(r,ao,e,i);this._request=a,a.getPromise().then(o=>{o=o,this._request=void 0,this._updateProgress(o.current),this._needToFetchStatus=!1,o.finalized&&(this._needToFetchMetadata=!0),this.completeTransitions_()},this._errorHandler)})}_continueUpload(){let n=IR*this._chunkMultiplier,e=new pu(this._transferred,this._blob.size()),i=this._uploadUrl;this._resolveToken((r,a)=>{let o;try{o=WW(this._ref._location,this._ref.storage,i,this._blob,n,this._mappings,e,this._makeProgressCallback())}catch(l){this._error=l,this._transition("error");return}let s=this._ref.storage._makeRequest(o,ao,r,a,!1);this._request=s,s.getPromise().then(l=>{this._increaseMultiplier(),this._request=void 0,this._updateProgress(l.current),l.finalized?(this._metadata=l.metadata,this._transition("success")):this.completeTransitions_()},this._errorHandler)})}_increaseMultiplier(){IR*this._chunkMultiplier*2<32*1024*1024&&(this._chunkMultiplier*=2)}_fetchMetadata(){this._resolveToken((n,e)=>{let i=GR(this._ref.storage,this._ref._location,this._mappings),r=this._ref.storage._makeRequest(i,ao,n,e);this._request=r,r.getPromise().then(a=>{this._request=void 0,this._metadata=a,this._transition("success")},this._metadataErrorHandler)})}_oneShotUpload(){this._resolveToken((n,e)=>{let i=YR(this._ref.storage,this._ref._location,this._mappings,this._blob,this._metadata),r=this._ref.storage._makeRequest
5226(i,ao,n,e);this._request=r,r.getPromise().then(a=>{this._request=void 0,this._metadata=a,this._updateProgress(this._blob.size()),this._transition("success")},this._errorHandler)})}_updateProgress(n){let e=this._transferred;this._transferred=n,this._transferred!==e&&this._notifyObservers()}_transition(n){if(this._state!==n)switch(n){case"canceling":case"pausing":this._state=n,this._request!==void 0?this._request.cancel():this.pendingTimeout&&(clearTimeout(this.pendingTimeout),this.pendingTimeout=void 0,this.completeTransitions_());break;case"running":let e=this._state==="paused";this._state=n,e&&(this._notifyObservers(),this._start());break;case"paused":this._state=n,this._notifyObservers();break;case"canceled":this._error=LR(),this._state=n,this._notifyObservers();break;case"error":this._state=n,this._notifyObservers();break;case"success":this._state=n,this._notifyObservers();break}}completeTransitions_(){switch(this._state){case"pausing":this._transition("paused");break;case"canceling":this._transition("canceled");break;case"running":this._start();break}}get snapshot(){let n=q1(this._state);return{bytesTransferred:this._transferred,totalBytes:this._blob.size(),state:n,metadata:this._metadata,task:this,ref:this._ref}}on(n,e,i,r){let a=new Z1(e||void 0,i||void 0,r||void 0);return this._addObserver(a),()=>{this._removeObserver(a)}}then(n,e){return this._promise.then(n,e)}catch(n){return this.then(null,n)}_addObserver(n){this._observers.push(n),this._notifyObserver(n)}_removeObserver(n){let e=this._observers.indexOf(n);e!==-1&&this._observers.splice(e,1)}_notifyObservers(){this._finishPromise(),this._observers.slice().forEach(e=>{this._notifyObserver(e)})}_finishPromise(){if(this._resolve!==void 0){let n=!0;switch(q1(this._state)){case zr.SUCCESS:hu(this._resolve.bind(null,this.snapshot))();break;case zr.CANCELED:case zr.ERROR:let e=this._reject;hu(e.bind(null,this._error))();break;default:n=!1;break}n&&(this._resolve=void 0,this._reject=void 0)}}_notifyObserver(n){switch(q1(this._state)){case zr.RUNNING:case zr.PAUSED:n.next&&hu(n.next.bind(n,this.snapshot))();break;case zr.SUCCESS:n.complete&&hu(n.complete.bind(n))();break;case zr.CANCELED:case zr.ERROR:n.error&&hu(n.error.bind(n,this._error))();break;default:n.error&&hu(n.error.bind(n,this._error))()}}resume(){let n=this._state==="paused"||this._state==="pausing";return n&&this._transition("running"),n}pause(){let n=this._state==="running";return n&&this._transition("pausing"),n}cancel(){let n=this._state==="running"||this._state==="pausing";return n&&this._transition("canceling"),n}};var gu=class t{constructor(n,e){this._service=n,e instanceof da?this._location=e:this._location=da.makeFromUrl(e,n.host)}toString(){return"gs://"+this._location.bucket+"/"+this._location.path}_newRef(n,e){return new t(n,e)}get root(){let n=new da(this._location.bucket,"");return this._newRef(this._service,n)}get bucket(){return this._location.bucket}get fullPath(){return this._location.path}get name(){return $R(this._location.path)}get storage(){return this._service}get parent(){let n=DW(this._location.path);if(n===null)return null;let e=new da(this._location.bucket,n);return new t(this._service,e)}_throwIfRoot(n){if(this._location.path==="")throw oW(n)}};function qW(t,n){t._throwIfRoot("getBytes");let e=BW(t.storage,t._location,n);return t.storage.makeRequestWithTokens(e,GW).then(i=>n!==void 0?i.slice(0,n):i)}function YW(t,n,e){t._throwIfRoot("uploadBytes");let i=YR(t.storage,t._location,jm(),new Um(n,!0),e);return t.storage.makeRequestWithTokens(i,ao).then(r=>({metadata:r,ref:t}))}function XW(t,n,e){return t._throwIfRoot("uploadBytesResumable"),new tw(t,new Um(n),e)}function KW(t){let n={prefixes:[],items:[]};return XR(t,n).then(()=>n)}function XR(t,n,e){return S(this,null,function*(){let r=yield QW(t,{pageToken:e});n.prefixes.push(...r.prefixes),n.items.push(...r.items),r.nextPageToken!=null&&(yield XR(t,n,r.nextPageToken))})}function QW(t,n){n!=null&&typeof n.maxResults=="number"&&K1("options.maxResults",1,1e3,n.maxResults);let e=n||{},i=LW(t.storage,t._location,"/",e.pageToken,e.maxResults);return t.storage.makeRequestWithTokens(i,ao)}function ZW(t){t._throwIfRoot("getMetadata");let n=GR(t.storage,t._location,jm());return t.storage.makeRequestWithTokens(n,ao)}function JW(t,n){t._throwIfRoot("updateMetadata");let e=UW(t.storage,t._location,n,jm());return t.storage.makeRequestWithTokens(e,ao)}function eG(t){t._throwIfRoot("getDownloadURL");let n=VW(t.storage,t._location,jm());return t.storage.makeRequestWithTokens(n,ao).then(e=>{if(e===null)throw rW();return e})}function tG(t){t._throwIfRoot("deleteObject");let n=zW(t.storage,t._location);return t.storage.makeRequestWithTokens(n,ao)}function iG(t,n){let e=EW(t._location.path,n),i=new da(t._location.bucket,e);return new gu(t.storage,i)}function nG(t){return/^[A-Za-z]+:\/\//.test(t)}function rG(t,n){return new gu(t,n)}function KR(t,n){if(t instanceof zm){let e=t;if(e._bucket==null)throw iW();let i=new gu(e,e._bucket);return n!=null?KR(i,n):i}else return n!==void 0?iG(t,n):t}
5226function aG(t,n){if(n&&nG(n)){if(t instanceof zm)return rG(t,n);throw Y1("To use ref(service, url), the first argument must be a Storage instance.")}else return KR(t,n)}function AR(t,n){let e=n?.[OR];return e==null?null:da.makeFromBucketSpec(e,t)}function oG(t,n,e,i={}){t.host=`${n}:${e}`;let r=_o(n);r&&(rd(`https://${t.host}/b`),ad("Storage",!0)),t._isUsingEmulator=!0,t._protocol=r?"https":"http";let{mockUserToken:a}=i;a&&(t._overrideAuthToken=typeof a=="string"?a:lD(a,t.app.options.projectId))}var zm=class{constructor(n,e,i,r,a,o=!1){this.app=n,this._authProvider=e,this._appCheckProvider=i,this._url=r,this._firebaseVersion=a,this._isUsingEmulator=o,this._bucket=null,this._host=FR,this._protocol="https",this._appId=null,this._deleted=!1,this._maxOperationRetryTime=G$,this._maxUploadRetryTime=q$,this._requests=new Set,r!=null?this._bucket=da.makeFromBucketSpec(r,this._host):this._bucket=AR(this._host,this.app.options)}get host(){return this._host}set host(n){this._host=n,this._url!=null?this._bucket=da.makeFromBucketSpec(this._url,n):this._bucket=AR(n,this.app.options)}get maxUploadRetryTime(){return this._maxUploadRetryTime}set maxUploadRetryTime(n){K1("time",0,Number.POSITIVE_INFINITY,n),this._maxUploadRetryTime=n}get maxOperationRetryTime(){return this._maxOperationRetryTime}set maxOperationRetryTime(n){K1("time",0,Number.POSITIVE_INFINITY,n),this._maxOperationRetryTime=n}_getAuthToken(){return S(this,null,function*(){if(this._overrideAuthToken)return this._overrideAuthToken;let n=this._authProvider.getImmediate({optional:!0});if(n){let e=yield n.getToken();if(e!==null)return e.accessToken}return null})}_getAppCheckToken(){return S(this,null,function*(){if(On(this.app)&&this.app.settings.appCheckToken)return this.app.settings.appCheckToken;let n=this._appCheckProvider.getImmediate({optional:!0});return n?(yield n.getToken()).token:null})}_delete(){return this._deleted||(this._deleted=!0,this._requests.forEach(n=>n.cancel()),this._requests.clear()),Promise.resolve()}_makeStorageReference(n){return new gu(this,n)}_makeRequest(n,e,i,r,a=!0){if(this._deleted)return new X1(VR());{let o=gW(n,this._appId,i,r,e,this._firebaseVersion,a,this._isUsingEmulator);return this._requests.add(o),o.getPromise().then(()=>this._requests.delete(o),()=>this._requests.delete(o)),o}}makeRequestWithTokens(n,e){return S(this,null,function*(){let[i,r]=yield Promise.all([this._getAuthToken(),this._getAppCheckToken()]);return this._makeRequest(n,e,i,r).getPromise()})}},RR="@firebase/storage",PR="0.14.0";var QR="storage";function ZR(t,n){return t=ti(t),qW(t,n)}function JR(t,n,e){return t=ti(t),YW(t,n,e)}function sw(t,n,e){return t=ti(t),XW(t,n,e)}function vu(t){return t=ti(t),ZW(t)}function eP(t,n){return t=ti(t),JW(t,n)}function $m(t){return t=ti(t),KW(t)}function wc(t){return t=ti(t),eG(t)}function lw(t){return t=ti(t),tG(t)}function Ra(t,n){return t=ti(t),aG(t,n)}function $g(t=$a(),n){t=ti(t);let i=qn(t,QR).getImmediate({identifier:n}),r=ip("storage");return r&&sG(i,...r),i}function sG(t,n,e,i={}){oG(t,n,e,i)}function lG(t,{instanceIdentifier:n}){let e=t.getProvider("app").getImmediate(),i=t.getProvider("auth-internal"),r=t.getProvider("app-check-internal");return new zm(e,i,r,n,zs)}function cG(){Gn(new Wn(QR,lG,"PUBLIC").setMultipleInstances(!0)),_n(RR,PR,""),_n(RR,PR,"esm2020")}cG();var Wg=(()=>{class t{_animationsDisabled=gt();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&ce("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},styles:[`.mat-pseudo-checkbox {
5227  border-radius: 2px;
5228  cursor: pointer;
5229  display: inline-block;
5230  vertical-align: middle;
5231  box-sizing: border-box;
5232  position: relative;
5233  flex-shrink: 0;
5234  transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1), background-color 90ms cubic-bezier(0, 0, 0.2, 0.1);
5235}
5236.mat-pseudo-checkbox::after {
5237  position: absolute;
5238  opacity: 0;
5239  content: "";
5240  border-bottom: 2px solid currentColor;
5241  transition: opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);
5242}
5243.mat-pseudo-checkbox._mat-animation-noopable {
5244  transition: none !important;
5245  animation: none !important;
5246}
5247.mat-pseudo-checkbox._mat-animation-noopable::after {
5248  transition: none;
5249}
5250
5251.mat-pseudo-checkbox-disabled {
5252  cursor: default;
5253}
5254
5255.mat-pseudo-checkbox-indeterminate::after {
5256  left: 1px;
5257  opacity: 1;
5258  border-radius: 2px;
5259}
5260
5261.mat-pseudo-checkbox-checked::after {
5262  left: 1px;
5263  border-left: 2px solid currentColor;
5264  transform: rotate(-45deg);
5265  opacity: 1;
5266  box-sizing: content-box;
5267}
5268
5269.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after {
5270  color: var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary));
5271}
5272.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 {
5273  color: var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
5274}
5275
5276.mat-pseudo-checkbox-full {
5277  border-color: var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));
5278  border-width: 2px;
5279  border-style: solid;
5280}
5281.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled {
5282  border-color: var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
5283}
5284.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate {
5285  background-color: var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));
5286  border-color: transparent;
5287}
5288.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after {
5289  color: var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary));
5290}
5291.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled {
5292  background-color: var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
5293}
5294.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 {
5295  color: var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface));
5296}
5297
5298.mat-pseudo-checkbox {
5299  width: 18px;
5300  height: 18px;
5301}
5302
5303.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after {
5304  width: 14px;
5305  height: 6px;
5306  transform-origin: center;
5307  top: -4.2426406871px;
5308  left: 0;
5309  bottom: 0;
5310  right: 0;
5311  margin: auto;
5312}
5313.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after {
5314  top: 8px;
5315  width: 16px;
5316}
5317
5318.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after {
5319  width: 10px;
5320  height: 4px;
5321  transform-origin: center;
5322  top: -2.8284271247px;
5323  left: 0;
5324  bottom: 0;
5325  right: 0;
5326  margin: auto;
5327}
5328.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after {
5329  top: 6px;
5330  width: 12px;
5331}
5332`],encapsulation:2,changeDetection:0})}return t})();var Gg=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Ye]})}return t})();var tP=["*"],iP=`.mdc-list {
5333  margin: 0;
5334  padding: 8px 0;
5335  list-style-type: none;
5336}
5337.mdc-list:focus {
5338  outline: none;
5339}
5340
5341.mdc-list-item {
5342  display: flex;
5343  position: relative;
5344  justify-content: flex-start;
5345  overflow: hidden;
5346  padding: 0;
5347  align-items: stretch;
5348  cursor: pointer;
5349  padding-left: 16px;
5350  padding-right: 16px;
5351  background-color: var(--mat-list-list-item-container-color, transparent);
5352  border-radius: var(--mat-list-list-item-container-shape, var(--mat-sys-corner-none));
5353}
5354.mdc-list-item.mdc-list-item--selected {
5355  background-color: var(--mat-list-list-item-selected-container-color);
5356}
5357.mdc-list-item:focus {
5358  outline: 0;
5359}
5360.mdc-list-item.mdc-list-item--disabled {
5361  cursor: auto;
5362}
5363.mdc-list-item.mdc-list-item--with-one-line {
5364  height: var(--mat-list-list-item-one-line-container-height, 48px);
5365}
5366.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start {
5367  align-self: center;
5368  margin-top: 0;
5369}
5370.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end {
5371  align-self: center;
5372  margin-top: 0;
5373}
5374.mdc-list-item.mdc-list-item--with-two-lines {
5375  height: var(--mat-list-list-item-two-line-container-height, 64px);
5376}
5377.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start {
5378  align-self: flex-start;
5379  margin-top: 16px;
5380}
5381.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end {
5382  align-self: center;
5383  margin-top: 0;
5384}
5385.mdc-list-item.mdc-list-item--with-three-lines {
5386  height: var(--mat-list-list-item-three-line-container-height, 88px);
5387}
5388.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start {
5389  align-self: flex-start;
5390  margin-top: 16px;
5391}
5392.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end {
5393  align-self: flex-start;
5394  margin-top: 16px;
5395}
5396.mdc-list-item.mdc-list-item--selected::before, .mdc-list-item.mdc-list-item--selected:focus::before, .mdc-list-item:not(.mdc-list-item--selected):focus::before {
5397  position: absolute;
5398  box-sizing: border-box;
5399  width: 100%;
5400  height: 100%;
5401  top: 0;
5402  left: 0;
5403  content: "";
5404  pointer-events: none;
5405}
5406
5407a.mdc-list-item {
5408  color: inherit;
5409  text-decoration: none;
5410}
5411
5412.mdc-list-item__start {
5413  fill: currentColor;
5414  flex-shrink: 0;
5415  pointer-events: none;
5416}
5417.mdc-list-item--with-leading-icon .mdc-list-item__start {
5418  color: var(--mat-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));
5419  width: var(--mat-list-list-item-leading-icon-size, 24px);
5420  height: var(--mat-list-list-item-leading-icon-size, 24px);
5421  margin-left: 16px;
5422  margin-right: 32px;
5423}
5424[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start {
5425  margin-left: 32px;
5426  margin-right: 16px;
5427}
5428.mdc-list-item--with-leading-icon:hover .mdc-list-item__start {
5429  color: var(--mat-list-list-item-hover-leading-icon-color);
5430}
5431.mdc-list-item--with-leading-avatar .mdc-list-item__start {
5432  width: var(--mat-list-list-item-leading-avatar-size, 40px);
5433  height: var(--mat-list-list-item-leading-avatar-size, 40px);
5434  margin-left: 16px;
5435  margin-right: 16px;
5436  border-radius: 50%;
5437}
5438.mdc-list-item--with-leading-avatar .mdc-list-item__start, [dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start {
5439  margin-left: 16px;
5440  margin-right: 16px;
5441  border-radius: 50%;
5442}
5443
5444.mdc-list-item__end {
5445  flex-shrink: 0;
5446  pointer-events: none;
5447}
5448.mdc-list-item--with-trailing-meta .mdc-list-item__end {
5449  font-family: var(--mat-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));
5450  line-height: var(--mat-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));
5451  font-size: var(--mat-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));
5452  font-weight: var(--mat-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));
5453  letter-spacing: var(--mat-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking));
5454}
5455.mdc-list-item--with-trailing-icon .mdc-list-item__end {
5456  color: var(--mat-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));
5457  width: var(--mat-list-list-item-trailing-icon-size, 24px);
5458  height: var(--mat-list-list-item-trailing-icon-size, 24px);
5459}
5460.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end {
5461  color: var(--mat-list-list-item-hover-trailing-icon-color);
5462}
5463.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end {
5464  color: var(--mat-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant));
5465}
5466.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end {
5467  color: var(--mat-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary));
5468}
5469
5470.mdc-list-item__content {
5471  text-overflow: ellipsis;
5472  white-space: nowrap;
5473  overflow: hidden;
5474  align-self: center;
5475  flex: 1;
5476  pointer-events: none;
5477}
5478.mdc-list-item--with-two-lines .mdc-list-item__content, .mdc-list-item--with-three-lines .mdc-list-item__content {
5479  align-self: stretch;
5480}
5481
5482.mdc-list-item__primary-text {
5483  text-overflow: ellipsis;
5484  white-space: nowrap;
5485  overflow: hidden;
5486  color: var(--mat-list-list-item-label-text-color, var(--mat-sys-on-surface));
5487  font-family: var(--mat-list-list-item-label-text-font, var(--mat-sys-body-large-font));
5488  line-height: var(--mat-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));
5489  font-size: var(--mat-list-list-item-label-text-size, var(--mat-sys-body-large-size));
5490  font-weight: var(--mat-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));
5491  letter-spacing: var(--mat-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking));
5492}
5493.mdc-list-item:hover .mdc-list-item__primary-text {
5494  color: var(--mat-list-list-item-hover-label-text-color, var(--mat-sys-on-surface));
5495}
5496.mdc-list-item:focus .mdc-list-item__primary-text {
5497  color: var(--mat-list-list-item-focus-label-text-color, var(--mat-sys-on-surface));
5498}
5499.mdc-list-item--with-two-lines .mdc-list-item__primary-text, .mdc-list-item--with-three-lines .mdc-list-item__primary-text {
5500  display: block;
5501  margin-top: 0;
5502  line-height: normal;
5503  margin-bottom: -20px;
5504}
5505.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before, .mdc-list-item--with-three-lines .mdc-list-item__primary-text::before {
5506  display: inline-block;
5507  width: 0;
5508  height: 28px;
5509  content: "";
5510  vertical-align: 0;
5511}
5512.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after, .mdc-list-item--with-three-lines .mdc-list-item__primary-text::after {
5513  display: inline-block;
5514  width: 0;
5515  height: 20px;
5516  content: "";
5517  vertical-align: -20px;
5518}
5519
5520.mdc-list-item__secondary-text {
5521  text-overflow: ellipsis;
5522  white-space: nowrap;
5523  overflow: hidden;
5524  display: block;
5525  margin-top: 0;
5526  color: var(--mat-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));
5527  font-family: var(--mat-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));
5528  line-height: var(--mat-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));
5529  font-size: var(--mat-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));
5530  font-weight: var(--mat-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));
5531  letter-spacing: var(--mat-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking));
5532}
5533.mdc-list-item__secondary-text::before {
5534  display: inline-block;
5535  width: 0;
5536  height: 20px;
5537  content: "";
5538  vertical-align: 0;
5539}
5540.mdc-list-item--with-three-lines .mdc-list-item__secondary-text {
5541  white-space: normal;
5542  line-height: 20px;
5543}
5544.mdc-list-item--with-overline .mdc-list-item__secondary-text {
5545  white-space: nowrap;
5546  line-height: auto;
5547}
5548
5549.mdc-list-item--with-leading-radio.mdc-list-item,
5550.mdc-list-item--with-leading-checkbox.mdc-list-item,
5551.mdc-list-item--with-leading-icon.mdc-list-item,
5552.mdc-list-item--with-leading-avatar.mdc-list-item {
5553  padding-left: 0;
5554  padding-right: 16px;
5555}
5556[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,
5557[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,
5558[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,
5559[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item {
5560  padding-left: 16px;
5561  padding-right: 0;
5562}
5563.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,
5564.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,
5565.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,
5566.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text {
5567  display: block;
5568  margin-top: 0;
5569  line-height: normal;
5570  margin-bottom: -20px;
5571}
5572.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,
5573.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,
5574.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,
5575.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before {
5576  display: inline-block;
5577  width: 0;
5578  height: 32px;
5579  content: "";
5580  vertical-align: 0;
5581}
5582.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,
5583.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,
5584.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,
5585.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after {
5586  display: inline-block;
5587  width: 0;
5588  height: 20px;
5589  content: "";
5590  vertical-align: -20px;
5591}
5592.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,
5593.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,
5594.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,
5595.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end {
5596  display: block;
5597  margin-top: 0;
5598  line-height: normal;
5599}
5600.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,
5601.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,
5602.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,
5603.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before {
5604  display: inline-block;
5605  width: 0;
5606  height: 32px;
5607  content: "";
5608  vertical-align: 0;
5609}
5610
5611.mdc-list-item--with-trailing-icon.mdc-list-item, [dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item {
5612  padding-left: 0;
5613  padding-right: 0;
5614}
5615.mdc-list-item--with-trailing-icon .mdc-list-item__end {
5616  margin-left: 16px;
5617  margin-right: 16px;
5618}
5619
5620.mdc-list-item--with-trailing-meta.mdc-list-item {
5621  padding-left: 16px;
5622  padding-right: 0;
5623}
5624[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item {
5625  padding-left: 0;
5626  padding-right: 16px;
5627}
5628.mdc-list-item--with-trailing-meta .mdc-list-item__end {
5629  -webkit-user-select: none;
5630  user-select: none;
5631  margin-left: 28px;
5632  margin-right: 16px;
5633}
5634[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end {
5635  margin-left: 16px;
5636  margin-right: 28px;
5637}
5638.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end, .mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end {
5639  display: block;
5640  line-height: normal;
5641  align-self: flex-start;
5642  margin-top: 0;
5643}
5644.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before, .mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before {
5645  display: inline-block;
5646  width: 0;
5647  height: 28px;
5648  content: "";
5649  vertical-align: 0;
5650}
5651
5652.mdc-list-item--with-leading-radio .mdc-list-item__start,
5653.mdc-list-item--with-leading-checkbox .mdc-list-item__start {
5654  margin-left: 8px;
5655  margin-right: 24px;
5656}
5657[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,
5658[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start {
5659  margin-left: 24px;
5660  margin-right: 8px;
5661}
5662.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,
5663.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start {
5664  align-self: flex-start;
5665  margin-top: 8px;
5666}
5667
5668.mdc-list-item--with-trailing-radio.mdc-list-item,
5669.mdc-list-item--with-trailing-checkbox.mdc-list-item {
5670  padding-left: 16px;
5671  padding-right: 0;
5672}
5673[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,
5674[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item {
5675  padding-left: 0;
5676  padding-right: 16px;
5677}
5678.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon, .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,
5679.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,
5680.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar {
5681  padding-left: 0;
5682}
5683[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon, [dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,
5684[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,
5685[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar {
5686  paddin
5686g-right: 0;
5687}
5688.mdc-list-item--with-trailing-radio .mdc-list-item__end,
5689.mdc-list-item--with-trailing-checkbox .mdc-list-item__end {
5690  margin-left: 24px;
5691  margin-right: 8px;
5692}
5693[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,
5694[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end {
5695  margin-left: 8px;
5696  margin-right: 24px;
5697}
5698.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,
5699.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end {
5700  align-self: flex-start;
5701  margin-top: 8px;
5702}
5703
5704.mdc-list-group__subheader {
5705  margin: 0.75rem 16px;
5706}
5707
5708.mdc-list-item--disabled .mdc-list-item__start,
5709.mdc-list-item--disabled .mdc-list-item__content,
5710.mdc-list-item--disabled .mdc-list-item__end {
5711  opacity: 1;
5712}
5713.mdc-list-item--disabled .mdc-list-item__primary-text,
5714.mdc-list-item--disabled .mdc-list-item__secondary-text {
5715  opacity: var(--mat-list-list-item-disabled-label-text-opacity, 0.3);
5716}
5717.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start {
5718  color: var(--mat-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));
5719  opacity: var(--mat-list-list-item-disabled-leading-icon-opacity, 0.38);
5720}
5721.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end {
5722  color: var(--mat-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));
5723  opacity: var(--mat-list-list-item-disabled-trailing-icon-opacity, 0.38);
5724}
5725
5726.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing, [dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing {
5727  padding-left: 0;
5728  padding-right: 0;
5729}
5730
5731.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text {
5732  color: var(--mat-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface));
5733}
5734
5735.mdc-list-item:hover::before {
5736  background-color: var(--mat-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));
5737  opacity: var(--mat-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
5738}
5739
5740.mdc-list-item.mdc-list-item--disabled::before {
5741  background-color: var(--mat-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));
5742  opacity: var(--mat-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
5743}
5744
5745.mdc-list-item:focus::before {
5746  background-color: var(--mat-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));
5747  opacity: var(--mat-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
5748}
5749
5750.mdc-list-item--disabled .mdc-radio,
5751.mdc-list-item--disabled .mdc-checkbox {
5752  opacity: var(--mat-list-list-item-disabled-label-text-opacity, 0.3);
5753}
5754
5755.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar {
5756  border-radius: var(--mat-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));
5757  background-color: var(--mat-list-list-item-leading-avatar-color, var(--mat-sys-primary-container));
5758}
5759
5760.mat-mdc-list-item-icon {
5761  font-size: var(--mat-list-list-item-leading-icon-size, 24px);
5762}
5763
5764@media (forced-colors: active) {
5765  a.mdc-list-item--activated::after {
5766    content: "";
5767    position: absolute;
5768    top: 50%;
5769    right: 16px;
5770    transform: translateY(-50%);
5771    width: 10px;
5772    height: 0;
5773    border-bottom: solid 10px;
5774    border-radius: 10px;
5775  }
5776  a.mdc-list-item--activated [dir=rtl]::after {
5777    right: auto;
5778    left: 16px;
5779  }
5780}
5781
5782.mat-mdc-list-base {
5783  display: block;
5784}
5785.mat-mdc-list-base .mdc-list-item__start,
5786.mat-mdc-list-base .mdc-list-item__end,
5787.mat-mdc-list-base .mdc-list-item__content {
5788  pointer-events: auto;
5789}
5790
5791.mat-mdc-list-item,
5792.mat-mdc-list-option {
5793  width: 100%;
5794  box-sizing: border-box;
5795  -webkit-tap-highlight-color: transparent;
5796}
5797.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),
5798.mat-mdc-list-option:not(.mat-mdc-list-item-interactive) {
5799  cursor: default;
5800}
5801.mat-mdc-list-item .mat-divider-inset,
5802.mat-mdc-list-option .mat-divider-inset {
5803  position: absolute;
5804  left: 0;
5805  right: 0;
5806  bottom: 0;
5807}
5808.mat-mdc-list-item .mat-mdc-list-item-avatar ~ .mat-divider-inset,
5809.mat-mdc-list-option .mat-mdc-list-item-avatar ~ .mat-divider-inset {
5810  margin-left: 72px;
5811}
5812[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar ~ .mat-divider-inset,
5813[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar ~ .mat-divider-inset {
5814  margin-right: 72px;
5815}
5816
5817.mat-mdc-list-item-interactive::before {
5818  top: 0;
5819  left: 0;
5820  right: 0;
5821  bottom: 0;
5822  position: absolute;
5823  content: "";
5824  opacity: 0;
5825  pointer-events: none;
5826  border-radius: inherit;
5827}
5828
5829.mat-mdc-list-item > .mat-focus-indicator {
5830  top: 0;
5831  left: 0;
5832  right: 0;
5833  bottom: 0;
5834  position: absolute;
5835  pointer-events: none;
5836}
5837.mat-mdc-list-item:focus-visible > .mat-focus-indicator::before {
5838  content: "";
5839}
5840
5841.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text {
5842  white-space: nowrap;
5843  line-height: normal;
5844}
5845.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text {
5846  display: -webkit-box;
5847  -webkit-box-orient: vertical;
5848  -webkit-line-clamp: 2;
5849}
5850
5851mat-action-list button {
5852  background: none;
5853  color: inherit;
5854  border: none;
5855  font: inherit;
5856  outline: inherit;
5857  -webkit-tap-highlight-color: transparent;
5858  text-align: start;
5859}
5860mat-action-list button::-moz-focus-inner {
5861  border: 0;
5862}
5863
5864.mdc-list-item--with-leading-icon .mdc-list-item__start {
5865  margin-inline-start: var(--mat-list-list-item-leading-icon-start-space, 16px);
5866  margin-inline-end: var(--mat-list-list-item-leading-icon-end-space, 16px);
5867}
5868
5869.mat-mdc-nav-list .mat-mdc-list-item {
5870  border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));
5871  --mat-focus-indicator-border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));
5872}
5873.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated {
5874  background-color: var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container));
5875}
5876`,nP=["unscopedContent"],dG=["text"],uG=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],hG=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],mG=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],fG=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"];function pG(t,n){t&1&&_e(0,4)}function gG(t,n){if(t&1&&(w(0,"div",11),we(1,"input",12),w(2,"div",13),ui(),w(3,"svg",14),we(4,"path",15),D(),ja(),we(5,"div",16),D()()),t&2){let e=j();ce("mdc-checkbox--disabled",e.disabled),T(),se("checked",e.selected)("disabled",e.disabled)}}function _G(t,n){if(t&1&&(w(0,"div",17),we(1,"input",18),w(2,"div",19),we(3,"div",20)(4,"div",21),D()()),t&2){let e=j();ce("mdc-radio--disabled",e.disabled),T(),se("checked",e.selected)("disabled",e.disabled)}}function vG(t,n){}function bG(t,n){if(t&1&&(w(0,"span",4),xt(1,vG,0,0,"ng-template",6),D()),t&2){j();let e=qt(3);T(),se("ngTemplateOutlet",e)}}function yG(t,n){}function xG(t,n){if(t&1&&(w(0,"span",5),xt(1,yG,0,0,"ng-template",6),D()),t&2){j();let e=qt(5);T(),se("ngTemplateOutlet",e)}}function wG(t,n){}function CG(t,n){if(t&1&&xt(0,wG,0,0,"ng-template",6),t&2){j();let e=qt(1);se("ngTemplateOutlet",e)}}function SG(t,n){}function kG(t,n){if(t&1&&(w(0,"span",9),xt(1,SG,0,0,"ng-template",6),D()),t&2){j();let e=qt(3);T(),se("ngTemplateOutlet",e)}}function DG(t,n){}function EG(t,n){if(t&1&&(w(0,"span",9),xt(1,DG,0,0,"ng-template",6),D()),t&2){j();let e=qt(5);T(),se("ngTemplateOutlet",e)}}function TG(t,n){}function IG(t,n){if(t&1&&xt(0,TG,0,0,"ng-template",6),t&2){j();let e=qt(1);se("ngTemplateOutlet",e)}}var rP=new W("ListOption"),qg=(()=>{class t{_elementRef=f(he);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return t})(),Yg=(()=>{class t{_elementRef=f(he);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return t})(),uw=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return t})(),aP=(()=>{class t{_listOption=f(rP,{optional:!0});constructor(){}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,hostVars:4,hostBindings:function(i,r){i&2&&ce("mdc-list-item__start",r._isAlignedAtStart())("mdc-list-item__end",!r._isAlignedAtStart())}})}return t})(),MG=(()=>{class t extends aP{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[Ie]})}return t})(),hw=(()=>{class t extends aP{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[Ie]})}return t})(),AG=new W("MAT_LIST_CONFIG"),Wm=(()=>{class t{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=yi(e)}_disableRipple=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(yi(e))}_disabled=ke(!1);_defaultOptions=f(AG,{optional:!0});static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,hostVars:1,hostBindings:function(i,r){i&2&&fe("aria-disabled",r.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return t})(),cw=(()=>{class t{_elementRef=f(he);_ngZone=f(Te);
5876_listBase=f(Wm,{optional:!0});_platform=f(ht);_hostElement;_isButtonElement;_noopAnimations=gt();_avatars;_icons;set lines(e){this._explicitLines=bn(e,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=yi(e)}_disableRipple=!1;get disabled(){return this._disabled()||!!this._listBase?.disabled}set disabled(e){this._disabled.set(yi(e))}_disabled=ke(!1);_subscriptions=new tt;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){f(wt).load(Ci);let e=f(Ks,{optional:!0});this.rippleConfig=e||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new sc(this,this._ngZone,this._hostElement,this._platform,f(He)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(Gt(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();let i=this._explicitLines??this._inferLinesFromContent(),r=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",i===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",i===3),this._hasUnscopedTextContent){let a=this._titles.length===0&&i===1;r.classList.toggle("mdc-list-item__primary-text",a),r.classList.toggle("mdc-list-item__secondary-text",!a)}else r.classList.remove("mdc-list-item__primary-text"),r.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!!(e.textContent&&e.textContent.trim()))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,contentQueries:function(i,r,a){if(i&1&&Tt(a,MG,4)(a,hw,4),i&2){let o;ae(o=oe())&&(r._avatars=o),ae(o=oe())&&(r._icons=o)}},hostVars:4,hostBindings:function(i,r){i&2&&(fe("aria-disabled",r.disabled)("disabled",r._isButtonElement&&r.disabled||null),ce("mdc-list-item--disabled",r.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return t})();var oP=(()=>{class t extends Wm{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=ue({type:t,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[Re([{provide:Wm,useExisting:t}]),Ie],ngContentSelectors:tP,decls:1,vars:0,template:function(i,r){i&1&&(Ge(),_e(0))},styles:[iP],encapsulation:2,changeDetection:0})}return t})(),sP=(()=>{class t extends cw{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(e){this._activated=yi(e)}_activated=!1;_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return this._meta.length!==0&&(this._avatars.length!==0||this._icons.length!==0)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=ue({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(i,r,a){if(i&1&&Tt(a,Yg,5)(a,qg,5)(a,uw,5),i&2){let o;ae(o=oe())&&(r._lines=o),ae(o=oe())&&(r._titles=o),ae(o=oe())&&(r._meta=o)}},viewQuery:function(i,r){if(i&1&&dt(nP,5)(dG,5),i&2){let a;ae(a=oe())&&(r._unscopedContent=a.first),ae(a=oe())&&(r._itemText=a.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(i,r){i&2&&(fe("aria-current",r._getAriaCurrent()),ce("mdc-list-item--activated",r.activated)("mdc-list-item--with-leading-avatar",r._avatars.length!==0)("mdc-list-item--with-leading-icon",r._icons.length!==0)("mdc-list-item--with-trailing-meta",r._meta.length!==0)("mat-mdc-list-item-both-leading-and-trailing",r._hasBothLeadingAndTrailing())("_mat-animation-noopable",r._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[Ie],ngContentSelectors:hG,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(i,r){i&1&&(Ge(uG),_e(0),w(1,"span",1),_e(2,1),_e(3,2),w(4,"span",2,0),de("cdkObserveContent",function(){return r._updateItemLines(!0)}),_e(6,3),D()(),_e(7,4),_e(8,5),we(9,"div",3))},dependencies:[Yh],encapsulation:2,changeDetection:0})}return t})(),lP=new W("SelectionList"),RG=(()=>{class t extends cw{_selectionList=f(lP);_changeDetectorRef=f(Ue);_lines;_titles;_unscopedContent;selectedChange=new ne;togglePosition="after";get checkboxPosition(){return this.togglePosition}set checkboxPosition(e){this.togglePosition=e}get color(){return this._color||this._selectionList.color}set color(e){this._color=e}_color;get value(){return this._value}set value(e){this.selected&&e!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=e}_value;get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(e){let i=yi(e);i!==this._selected&&(this._setSelected(i),(i||this._selectionList.multiple)&&this._selectionList._reportValueChange())}_selected=!1;_inputsInitialized=!1;ngOnInit(){let e=this._selectionList;e._value&&e._value.some(r=>e.compareWith(this._value,r))&&this._setSelected(!0);let i=this._selected;Promise.resolve().then(()=>{(this._selected||i)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt(e){return this._selectionList.multiple&&this._getTogglePosition()===e}_hasRadioAt(e){return!this._selectionList.multiple&&this._getTogglePosition()===e&&!this._selectionList.hideSingleSelectionIndicator}_hasIconsOrAvatarsAt(e){return this._hasProjected("icons",e)||this._hasProjected("avatars",e)}_hasProjected(e,i){return this._getTogglePosition()!==i&&(e==="avatars"?this._avatars.length!==0:this._icons.length!==0)}_handleBlur(){this._selectionList._onTouched()}_getTogglePosition(){return this.togglePosition||"after"}_setSelected(e){return e===this._selected?!1:(this._selected=e,e?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(e),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex(e){this._hostElement.setAttribute("tabindex",e+"")}_hasBothLeadingAndTrailing(){let e=this._hasProjected("avatars","before")||this._hasProjected("icons","before")||this._hasCheckboxAt("before")||this._hasRadioAt("before"),i=this._hasProjected("icons","after")||this._hasProjected("avatars","after")||this._hasCheckboxAt("after")||this._hasRadioAt("after");return e&&i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=ue({type:t,selectors:[["mat-list-option"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,Yg,5)(a,qg,5),i&2){let o;ae(o=oe())&&(r._lines=o),ae(o=oe())&&(r._titles=o)}},viewQuery:function(i,r){if(i&1&&dt(nP,5),i&2){let a;ae(a=oe())&&(r._unscopedContent=a.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:27,hostBindings:function(i,r){i&1&&de("blur",function(){return r._handleBlur()})("click",function(){return r._toggleOnInteraction()}),i&2&&(fe("aria-selected",r.selected),ce("mdc-list-item--selected",r.selected&&!r._selectionList.multiple&&r._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",r._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",r._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",r._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",r._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",r._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",r._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",r._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",r._hasRadioAt("after"))("mat-mdc-list-item-both-leading-and-trailing",r._hasBothLeadingAndTrailing())("mat-accent",r.color!=="primary"&&r.color!=="warn")("mat-warn",r.color==="warn")("_mat-animation-noopable",r._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[Re([{provide:cw,useExisting:t},{provide:rP,useExisting:t}]),Ie],ngContentSelectors:fG,decls:20,vars:4,consts:[["icons",""],["checkbox",""],["radio",""],["unscopedContent",""],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mdc-list-item__end"],[1,"mat-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner
5876-circle"]],template:function(i,r){i&1&&(Ge(mG),xt(0,pG,1,0,"ng-template",null,0,_a)(2,gG,6,4,"ng-template",null,1,_a)(4,_G,5,4,"ng-template",null,2,_a),pe(6,bG,2,1,"span",4)(7,xG,2,1,"span",5),pe(8,CG,1,1,null,6),w(9,"span",7),_e(10),_e(11,1),w(12,"span",8,3),de("cdkObserveContent",function(){return r._updateItemLines(!0)}),_e(14,2),D()(),pe(15,kG,2,1,"span",9)(16,EG,2,1,"span",9),pe(17,IG,1,1,null,6),_e(18,3),we(19,"div",10)),i&2&&(T(6),ge(r._hasCheckboxAt("before")?6:r._hasRadioAt("before")?7:-1),T(2),ge(r._hasIconsOrAvatarsAt("before")?8:-1),T(7),ge(r._hasCheckboxAt("after")?15:r._hasRadioAt("after")?16:-1),T(2),ge(r._hasIconsOrAvatarsAt("after")?17:-1))},dependencies:[xa,Yh],styles:[`.mat-mdc-list-option-with-trailing-avatar.mdc-list-item, [dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item {
5877  padding-left: 0;
5878  padding-right: 0;
5879}
5880.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end {
5881  margin-left: 16px;
5882  margin-right: 16px;
5883  width: 40px;
5884  height: 40px;
5885}
5886.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text {
5887  display: block;
5888  margin-top: 0;
5889  line-height: normal;
5890  margin-bottom: -20px;
5891}
5892.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before {
5893  display: inline-block;
5894  width: 0;
5895  height: 32px;
5896  content: "";
5897  vertical-align: 0;
5898}
5899.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after {
5900  display: inline-block;
5901  width: 0;
5902  height: 20px;
5903  content: "";
5904  vertical-align: -20px;
5905}
5906.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end {
5907  border-radius: 50%;
5908}
5909
5910.mat-mdc-list-option .mdc-checkbox {
5911  display: inline-block;
5912  position: relative;
5913  flex: 0 0 18px;
5914  box-sizing: content-box;
5915  width: 18px;
5916  height: 18px;
5917  line-height: 0;
5918  white-space: nowrap;
5919  cursor: pointer;
5920  vertical-align: bottom;
5921  padding: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2);
5922  margin: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
5923}
5924.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control {
5925  position: absolute;
5926  margin: 0;
5927  padding: 0;
5928  opacity: 0;
5929  cursor: inherit;
5930  z-index: 1;
5931  width: var(--mat-checkbox-state-layer-size, 40px);
5932  height: var(--mat-checkbox-state-layer-size, 40px);
5933  top: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
5934  right: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
5935  left: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
5936}
5937.mat-mdc-list-option .mdc-checkbox--disabled {
5938  cursor: default;
5939  pointer-events: none;
5940}
5941.mat-mdc-list-option .mdc-checkbox__background {
5942  display: inline-flex;
5943  position: absolute;
5944  align-items: center;
5945  justify-content: center;
5946  box-sizing: border-box;
5947  width: 18px;
5948  height: 18px;
5949  border: 2px solid currentColor;
5950  border-radius: 2px;
5951  background-color: transparent;
5952  pointer-events: none;
5953  will-change: background-color, border-color;
5954  transition: background-color 90ms cubic-bezier(0.4, 0, 0.6, 1), border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);
5955  -webkit-print-color-adjust: exact;
5956  color-adjust: exact;
5957  border-color: var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));
5958  top: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2);
5959  left: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2);
5960}
5961.mat-mdc-list-option .mdc-checkbox__native-control:enabled:checked ~ .mdc-checkbox__background,
5962.mat-mdc-list-option .mdc-checkbox__native-control:enabled:indeterminate ~ .mdc-checkbox__background {
5963  border-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));
5964  background-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));
5965}
5966.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background {
5967  border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
5968}
5969@media (forced-colors: active) {
5970  .mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background {
5971    border-color: GrayText;
5972  }
5973}
5974.mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background,
5975.mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background {
5976  background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
5977  border-color: transparent;
5978}
5979@media (forced-colors: active) {
5980  .mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background,
5981  .mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background {
5982    border-color: GrayText;
5983  }
5984}
5985.mat-mdc-list-option .mdc-checkbox:hover > .mdc-checkbox__native-control:not(:checked) ~ .mdc-checkbox__background,
5986.mat-mdc-list-option .mdc-checkbox:hover > .mdc-checkbox__native-control:not(:indeterminate) ~ .mdc-checkbox__background {
5987  border-color: var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));
5988  background-color: transparent;
5989}
5990.mat-mdc-list-option .mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
5991.mat-mdc-list-option .mdc-checkbox:hover > .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
5992  border-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));
5993  background-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));
5994}
5995.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:checked) ~ .mdc-checkbox__background,
5996.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:indeterminate) ~ .mdc-checkbox__background {
5997  border-color: var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface));
5998}
5999.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:checked ~ .mdc-checkbox__background,
6000.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:indeterminate ~ .mdc-checkbox__background {
6001  border-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));
6002  background-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));
6003}
6004.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background,
6005.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background,
6006.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background {
6007  border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
6008}
6009@media (forced-colors: active) {
6010  .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background,
6011  .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background,
6012  .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background {
6013    border-color: GrayText;
6014  }
6015}
6016.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
6017.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
6018  background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
6019  border-color: transparent;
6020}
6021.mat-mdc-list-option .mdc-checkbox__checkmark {
6022  position: absolute;
6023  top: 0;
6024  right: 0;
6025  bottom: 0;
6026  left: 0;
6027  width: 100%;
6028  opacity: 0;
6029  transition: opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);
6030  color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary));
6031}
6032@media (forced-colors: active) {
6033  .mat-mdc-list-option .mdc-checkbox__checkmark {
6034    color: CanvasText;
6035  }
6036}
6037.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark, .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark {
6038  color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface));
6039}
6040@media (forced-colors: active) {
6041  .mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark, .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark {
6042    color: GrayText;
6043  }
6044}
6045.mat-mdc-list-option .mdc-checkbox__checkmark-path {
6046  transition: stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);
6047  stroke: currentColor;
6048  stroke-width: 3.12px;
6049  stroke-dashoffset: 29.7833385;
6050  stroke-dasharray: 29.7833385;
6051}
6052.mat-mdc-list-option .mdc-checkbox__mixedmark {
6053  width: 100%;
6054  height: 0;
6055  transform: scaleX(0) rotate(0deg);
6056  border-width: 1px;
6057  border-style: solid;
6058  opacity: 0;
6059  transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);
6060  border-color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary));
6061}
6062@media (forced-colors: active) {
6063  .mat-mdc-list-option .mdc-checkbox__mixedmark {
6064    margin: 0 1px;
6065  }
6066}
6067.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark {
6068  border-color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface));
6069}
6070@media (forced-colors: active) {
6071  .mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark {
6072    border-color: GrayText;
6073  }
6074}
6075.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,
6076.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,
6077.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,
6078.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background {
6079  animation-duration: 180ms;
6080  animation-timing-function: linear;
6081}
6082.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path {
6083  animation: mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;
6084  transition: none;
6085}
6086.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark {
6087  animation: mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;
6088  transition: none;
6089}
6090.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path {
6091  animation: mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;
6092  transition: none;
6093}
6094.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark {
6095  animation: mdc-checkbox-checked-indeterminate-checkmark 90ms linear;
6096  transition: none;
6097}
6098.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark {
6099  animation: mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;
6100  transition: none;
6101}
6102.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark {
6103  animation: mdc-checkbox-indeterminate-checked-checkmark 500ms linear;
6104  transition: none;
6105}
6106.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark {
6107  animation: mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;
6108  transition: none;
6109}
6110.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark {
6111  animation: mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;
6112  transition: none;
6113}
6114.mat-mdc-list-option .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
6115.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
6116  transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1);
6117}
6118.mat-mdc-list-option .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,
6119.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path {
6120  stroke-dashoffset: 0;
6121}
6122.mat-mdc-list-option .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark {
6123  transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1), transform 180ms cubic-bezier(0, 0, 0.2, 1);
6124  opacity: 1;
6125}
6126.mat-mdc-list-option .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark {
6127  transform: scaleX(1) rotate(-45deg);
6128}
6129.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark {
6130  transform: rotate(45deg);
6131  opacity: 0;
6132  transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);
6133}
6134.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark {
6135  transform: scaleX(1) rotate(0deg);
6136  opacity: 1;
6137}
6138@keyframes mdc-checkbox-unchecked-checked-checkmark-path {
6139  0%, 50% {
6140    stroke-dashoffset: 29.7833385;
6141  }
6142  50% {
6143    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
6144  }
6145  100% {
6146    stroke-dashoffset: 0;
6147  }
6148}
6149@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark {
6150  0%, 68.2% {
6151    transform: scaleX(0);
6152  }
6153  68.2% {
6154    animation-timing-function: cubic-bezier(0, 0, 0, 1);
6155  }
6156  100% {
6157    transform: scaleX(1);
6158  }
6159}
6160@keyframes mdc-checkbox-checked-unchecked-checkmark-path {
6161  from {
6162    animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
6163    opacity: 1;
6164    stroke-dashoffset: 0;
6165  }
6166  to {
6167    opacity: 0;
6168    stroke-dashoffset: -29.7833385;
6169  }
6170}
6171@keyframes mdc-checkbox-checked-indeterminate-checkmark {
6172  from {
6173    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
6174    transform: rotate(0deg);
6175    opacity: 1;
6176  }
6177  to {
6178    transform: rotate(45deg);
6179    opacity: 0;
6180  }
6181}
6182@keyframes mdc-checkbox-indeterminate-checked-checkmark {
6183  from {
6184    animation-timing-function: cubic-bezier(0.14, 0, 0, 1);
6185    transform: rotate(45deg);
6186    opacity: 0;
6187  }
6188  to {
6189    transform: rotate(360deg);
6190    opacity: 1;
6191  }
6192}
6193@keyframes mdc-checkbox-checked-indeterminate-mixedmark {
6194  from {
6195    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
6196    transform: rotate(-45deg);
6197    opacity: 0;
6198  }
6199  to {
6200    transform: rotate(0deg);
6201    opacity: 1;
6202  }
6203}
6204@keyframes mdc-checkbox-indeterminate-checked-mixedmark {
6205  from {
6206    animation-timing-function: cubic-bezier(0.14, 0, 0, 1);
6207    transform: rotate(0deg);
6208    opacity: 1;
6209  }
6210  to {
6211    transform: rotate(315deg);
6212    opacity: 0;
6213  }
6214}
6215@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark {
6216  0% {
6217    animation-timing-function: linear;
6218    transform: scaleX(1);
6219    opacity: 1;
6220  }
6221  32.8%, 100% {
6222    transform: scaleX(0);
6223    opacity: 0;
6224  }
6225}
6226.mat-mdc-list-option .mdc-radio {
6227  display: inline-block;
6228  position: relative;
6229  flex: 0 0 auto;
6230  box-sizing: content-box;
6231  width: 20px;
6232  height: 20px;
6233  cursor: pointer;
6234  will-change: opacity, transform, border-color, color;
6235  padding: calc((var(--mat-radio-state-layer-size, 40px) - 20px) / 2);
6236}
6237.mat-mdc-list-option .mdc-radio__background {
6238  display: inline-block;
6239  position: relative;
6240  box-sizing: border-box;
6241  width: 20px;
6242  height: 20px;
6243}
6244.mat-mdc-list-option .mdc-radio__background::before {
6245  position: absolute;
6246  transform: scale(0, 0);
6247  border-radius: 50%;
6248  opacity: 0;
6249  pointer-events: none;
6250  content: "";
6251  transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);
6252  width: var(--mat-radio-state-layer-size, 40px);
6253  height: var(--mat-radio-state-layer-size, 40px);
6254  top: calc(-1 * (var(--mat-radio-state-layer-size, 40px) - 20px) / 2);
6255  left: calc(-1 * (var(--mat-radio-state-layer-size, 40px) - 20px) / 2);
6256}
6257.mat-mdc-list-option .mdc-radio__outer-circle {
6258  position: absolute;
6259  top: 0;
6260  left: 0;
6261  box-sizing: border-box;
6262  width: 100%;
6263  height: 100%;
6264  border-width: 2px;
6265  border-style: solid;
6266  border-radius: 50%;
6267  transition: border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);
6268}
6269.mat-mdc-list-option .mdc-radio__inner-circle {
6270  position: absolute;
6271  top: 0;
6272  left: 0;
6273  box-sizing: border-box;
6274  width: 100%;
6275  height: 100%;
6276  transform: scale(0);
6277  border-radius: 50%;
6278  transition: transform 90ms cubic-bezier(0.4, 0, 0.6, 1), background-color 90ms cubic-bezier(0.4, 0, 0.6, 1);
6279}
6280@media (forced-colors: active) {
6281  .mat-mdc-list-option .mdc-radio__inner-circle {
6282    background-color: CanvasText !important;
6283  }
6284}
6285.mat-mdc-list-option .mdc-radio__native-control {
6286  position: absolute;
6287  margin: 0;
6288  padding: 0;
6289  opacity: 0;
6290  top: 0;
6291  right: 0;
6292  left: 0;
6293  cursor: inherit;
6294  z-index: 1;
6295  width: var(--mat-radio-state-layer-size, 40px);
6296  height: var(--mat-radio-state-layer-size, 40px);
6297}
6298.mat-mdc-list-option .mdc-radio__native-control:checked + .mdc-radio__background, .mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background {
6299  transition: opacity 90ms cubic-bezier(0, 0, 0.2, 1), transform 90ms cubic-bezier(0, 0, 0.2, 1);
6300}
6301.mat-mdc-list-option .mdc-radio__native-control:checked + .mdc-radio__background > .mdc-radio__outer-circle, .mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__outer-circle {
6302  transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1);
6303}
6304.mat-mdc-list-option .mdc-radio__native-control:checked + .mdc-radio__background > .mdc-radio__inner-circle, .mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__inner-circle {
6305  transition: transform 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1);
6306}
6307.mat-mdc-list-option .mdc-radio__native-control:disabled:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle {
6308  border-color: var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));
6309  opacity: var(--mat-radio-disabled-unselected-icon-opacity, 0.38);
6310}
6311.mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background {
6312  cursor: default;
6313}
6314.mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__outer-circle {
6315  border-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));
6316  opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38);
6317}
6318.mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__inner-circle {
6319  background-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));
6320  opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38);
6321}
6322.mat-mdc-list-option .mdc-radio__native-control:enabled:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle {
6323  border-color: var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant));
6324}
6325.mat-mdc-list-option .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__outer-circle {
6326  border-color: var(--mat-radio-selected-icon-color, var(--mat-sys-primary));
6327}
6328.mat-mdc-list-option .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__inner-circle {
6329  background-color: var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor));
6330}
6331.mat-mdc-list-option .mdc-radio__native-control:checked + .mdc-radio__background >
6331 .mdc-radio__inner-circle {
6332  transform: scale(0.5);
6333  transition: transform 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1);
6334}
6335.mat-mdc-list-option._mat-animation-noopable .mdc-radio__background::before,
6336.mat-mdc-list-option._mat-animation-noopable .mdc-radio__outer-circle,
6337.mat-mdc-list-option._mat-animation-noopable .mdc-radio__inner-circle {
6338  transition: none !important;
6339}
6340.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mat-mdc-checkbox-touch-target,
6341.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__native-control,
6342.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__ripple,
6343.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mat-mdc-checkbox-ripple::before,
6344.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__background,
6345.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark,
6346.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,
6347.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__mixedmark, .mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mat-mdc-checkbox-touch-target,
6348.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__native-control,
6349.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__ripple,
6350.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mat-mdc-checkbox-ripple::before,
6351.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__background,
6352.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark,
6353.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,
6354.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__mixedmark {
6355  transition: none !important;
6356  animation: none !important;
6357}
6358.mat-mdc-list-option .mdc-checkbox__native-control, .mat-mdc-list-option .mdc-radio__native-control {
6359  display: none;
6360}
6361
6362@media (forced-colors: active) {
6363  .mat-mdc-list-option.mdc-list-item--selected::after {
6364    content: "";
6365    position: absolute;
6366    top: 50%;
6367    right: 16px;
6368    transform: translateY(-50%);
6369    width: 10px;
6370    height: 0;
6371    border-bottom: solid 10px;
6372    border-radius: 10px;
6373  }
6374  .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after {
6375    right: auto;
6376    left: 16px;
6377  }
6378}
6379`],encapsulation:2,changeDetection:0})}return t})();var PG={provide:xn,useExisting:_i(()=>FG),multi:!0},dw=class{source;options;constructor(n,e){this.source=n,this.options=e}},FG=(()=>{class t extends Wm{_element=f(he);_ngZone=f(Te);_renderer=f(ft);_initialized=!1;_keyManager;_listenerCleanups;_destroyed=new te;_isDestroyed=!1;_onChange=e=>{};_items;selectionChange=new ne;color="accent";compareWith=(e,i)=>e===i;get multiple(){return this._multiple}set multiple(e){let i=yi(e);i!==this._multiple&&(this._multiple=i,this.selectedOptions=new Ta(this._multiple,this.selectedOptions.selected))}_multiple=!0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=yi(e)}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;selectedOptions=new Ta(this._multiple);_value=null;_onTouched=()=>{};_changeDetectorRef=f(Ue);constructor(){super(),this._isNonInteractive=!1}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._listenerCleanups=[this._renderer.listen(this._element.nativeElement,"focusin",this._handleFocusin),this._renderer.listen(this._element.nativeElement,"focusout",this._handleFocusout)]}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}
6379ngOnChanges(e){let i=e.disabled,r=e.disableRipple,a=e.hideSingleSelectionIndicator;(r&&!r.firstChange||i&&!i.firstChange||a&&!a.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._listenerCleanups?.forEach(e=>e()),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(e){this._element.nativeElement.focus(e)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){let e=this._getSelectedOptionValues();this._onChange(e),this._value=e}}_emitChangeEvent(e){this.selectionChange.emit(new dw(this,e))}writeValue(e){this._value=e,this.options&&this._setOptionsFromValues(e||[])}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this._markOptionsForCheck()}get disabled(){return this._selectionListDisabled()}set disabled(e){this._selectionListDisabled.set(yi(e)),this._selectionListDisabled()&&this._keyManager?.setActiveItem(-1)}_selectionListDisabled=ke(!1);registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}_watchForSelectionChange(){this.selectedOptions.changed.pipe(Ne(this._destroyed)).subscribe(e=>{for(let i of e.added)i.selected=!0;for(let i of e.removed)i.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(e){this.options.forEach(i=>i._setSelected(!1)),e.forEach(i=>{let r=this.options.find(a=>a.selected?!1:this.compareWith(a.value,i));r&&r._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(e=>e.selected).map(e=>e.value)}_markOptionsForCheck(){this.options&&this.options.forEach(e=>e._markForCheck())}_setAllOptionsSelected(e,i){let r=[];return this.options.forEach(a=>{(!i||!a.disabled)&&a._setSelected(e)&&r.push(a)}),r.length&&this._reportValueChange(),r}get options(){return this._items}_handleKeydown(e){let i=this._keyManager.activeItem;if((e.keyCode===13||e.keyCode===32)&&!this._keyManager.isTyping()&&i&&!i.disabled)e.preventDefault(),i._toggleOnInteraction();else if(e.keyCode===65&&this.multiple&&!this._keyManager.isTyping()&&zt(e,"ctrlKey","metaKey")){let r=this.options.some(a=>!a.disabled&&!a.selected);e.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(r,!0))}else this._keyManager.onKeydown(e)}_handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})};_handleFocusin=e=>{if(this.disabled)return;let i=this._items.toArray().findIndex(r=>r._elementRef.nativeElement.contains(e.target));i>-1?this._setActiveOption(i):this._resetActiveOption()};_setupRovingTabindex(){this._keyManager=new fr(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(e=>this._setActiveOption(e)),this._items.changes.pipe(Ne(this._destroyed)).subscribe(()=>{let e=this._keyManager.activeItem;(!e||this._items.toArray().indexOf(e)===-1)&&this._resetActiveOption()})}_setActiveOption(e){this._items.forEach((i,r)=>i._setTabindex(r===e?0:-1)),this._keyManager.updateActiveItem(e)}_resetActiveOption(){if(this.disabled){this._setActiveOption(-1);return}let e=this._items.find(i=>i.selected&&!i.disabled)||this._items.first;this._setActiveOption(e?this._items.toArray().indexOf(e):-1)}_containsFocus(){let e=Fr();return e&&this._element.nativeElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-selection-list"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,RG,5),i&2){let o;ae(o=oe())&&(r._items=o)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(i,r){i&1&&de("keydown",function(o){return r._handleKeydown(o)}),i&2&&fe("aria-multiselectable",r.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[Re([PG,{provide:Wm,useExisting:t},{provide:lP,useExisting:t}]),Ie,lt],ngContentSelectors:tP,decls:1,vars:0,template:function(i,r){i&1&&(Ge(),_e(0))},styles:[iP],encapsulation:2,changeDetection:0})}return t})(),cP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Md,Nr,Gg,Ye,XI]})}return t})();var NG=["mat-menu-item",""],LG=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],BG=["mat-icon, [matMenuItemIcon]","*"];function VG(t,n){t&1&&(ui(),w(0,"svg",2),we(1,"polygon",3),D())}var UG=["*"];function zG(t,n){if(t&1){let e=Pt();Rt(0,"div",0),ed("click",function(){$e(e);let r=j();
vendor: 11,336 bytes, lines 6379-6449
6379return We(r.closed.emit("click"))})("animationstart",function(r){$e(e);let a=j();return We(a._onAnimationStart(r.animationName))})("animationend",function(r){$e(e);let a=j();return We(a._onAnimationDone(r.animationName))})("animationcancel",function(r){$e(e);let a=j();return We(a._onAnimationDone(r.animationName))}),Rt(1,"div",1),_e(2),Lt()()}if(t&2){let e=j();$t(e._classList),ce("mat-menu-panel-animations-disabled",e._animationsDisabled)("mat-menu-panel-exit-animation",e._panelAnimationState==="void")("mat-menu-panel-animating",e._isAnimating()),si("id",e.panelId),fe("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var fw=new W("MAT_MENU_PANEL"),Gm=(()=>{class t{_elementRef=f(he);_document=f(Ve);_focusMonitor=f(Ii);_parentMenu=f(fw,{optional:!0});_changeDetectorRef=f(Ue);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new te;_focused=new te;_highlighted=!1;_triggersSubmenu=!1;constructor(){f(wt).load(Ci),this._parentMenu?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r<i.length;r++)i[r].remove();return e.textContent?.trim()||""}_setHighlighted(e){this._highlighted=e,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(e){this._triggersSubmenu=e,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(i,r){i&1&&de("click",function(o){return r._checkDisabled(o)})("mouseenter",function(){return r._handleMouseEnter()}),i&2&&(fe("role",r.role)("tabindex",r._getTabIndex())("aria-disabled",r.disabled)("disabled",r.disabled||null),ce("mat-mdc-menu-item-highlighted",r._highlighted)("mat-mdc-menu-item-submenu-trigger",r._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",ie],disableRipple:[2,"disableRipple","disableRipple",ie]},exportAs:["matMenuItem"],attrs:NG,ngContentSelectors:BG,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(i,r){i&1&&(Ge(LG),_e(0),w(1,"span",0),_e(2,1),D(),we(3,"div",1),pe(4,VG,2,0,":svg:svg",2)),i&2&&(T(3),se("matRippleDisabled",r.disableRipple||r.disabled)("matRippleTrigger",r._getHostElement()),T(),ge(r._triggersSubmenu?4:-1))},dependencies:[pr],encapsulation:2,changeDetection:0})}return t})();var jG=new W("MatMenuContent");var HG=new W("mat-menu-default-options",{providedIn:"root",factory:()=>({overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"})}),mw="_mat-menu-enter",Xg="_mat-menu-exit",yu=(()=>{class t{_elementRef=f(he);_changeDetectorRef=f(Ue);_injector=f(He);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=gt();_allItems;_directDescendantItems=new en;_classList={};_panelAnimationState="void";_animationDone=new te;_isAnimating=ke(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger=!1;hasBackdrop;set panelClass(e){let i=this._previousPanelClass,r=H({},this._classList);i&&i.length&&i.split(" ").forEach(a=>{r[a]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(a=>{r[a]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new ne;close=this.closed;panelId=f(pt).getId("mat-menu-panel-");constructor(){let e=f(HG);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new fr(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(bt(this._directDescendantItems),gi(e=>Gt(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let i=this._keyManager;if(this._panelAnimationState==="enter"&&i.activeItem?._hasFocus()){let r=e.toArray(),a=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[a]&&!r[a].disabled?i.setActiveItem(a):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(bt(this._directDescendantItems),gi(i=>Gt(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let i=e.keyCode,r=this._keyManager;switch(i){case 27:zt(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(i===38||i===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=Nt(()=>{let i=this._resolvePanel();if(!i||!i.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,i=this.yPosition){this._classList=et(H({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":i==="above","mat-menu-below":i==="below"}),this._changeDetectorRef.markForCheck()}_onAnimationDone(e){let i=e===Xg;(i||e===mw)&&(i&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(i?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(e){(e===mw||e===Xg)&&this._isAnimating.set(!0)}_setIsOpen(e){if(this._panelAnimationState=e?"enter":"void",e){if(this._keyManager.activeItemIndex===0){let i=this._resolvePanel();i&&(i.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(Xg),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?mw:Xg)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(bt(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-menu"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,jG,5)(a,Gm,5)(a,Gm,4),i&2){let o;ae(o=oe())&&(r.lazyContent=o.first),ae(o=oe())&&(r._allItems=o),ae(o=oe())&&(r.items=o)}},viewQuery:function(i,r){if(i&1&&dt(At,5),i&2){let a;ae(a=oe())&&(r.templateRef=a.first)}},hostVars:3,hostBindings:function(i,r){i&2&&fe("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",ie],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:ie(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[Re([{provide:fw,useExisting:t}])],ngContentSelectors:UG,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(i,r){i&1&&(Ge(),zl(0,zG,3,12,"ng-template"))},styles:[`mat-menu {
6380  display: none;
6381}
6382
6383.mat-mdc-menu-content {
6384  margin: 0;
6385  padding: 8px 0;
6386  outline: 0;
6387}
6388.mat-mdc-menu-content,
6389.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text {
6390  -moz-osx-font-smoothing: grayscale;
6391  -webkit-font-smoothing: antialiased;
6392  flex: 1;
6393  white-space: normal;
6394  font-family: var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));
6395  line-height: var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));
6396  font-size: var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));
6397  letter-spacing: var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));
6398  font-weight: var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight));
6399}
6400
6401@keyframes _mat-menu-enter {
6402  from {
6403    opacity: 0;
6404    transform: scale(0.8);
6405  }
6406  to {
6407    opacity: 1;
6408    transform: none;
6409  }
6410}
6411@keyframes _mat-menu-exit {
6412  from {
6413    opacity: 1;
6414  }
6415  to {
6416    opacity: 0;
6417  }
6418}
6419.mat-mdc-menu-panel {
6420  min-width: 112px;
6421  max-width: 280px;
6422  overflow: auto;
6423  box-sizing: border-box;
6424  outline: 0;
6425  animation: _mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);
6426  border-radius: var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));
6427  background-color: var(--mat-menu-container-color, var(--mat-sys-surface-container));
6428  box-shadow: var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));
6429  will-change: transform, opacity;
6430}
6431.mat-mdc-menu-panel.mat-menu-panel-exit-animation {
6432  animation: _mat-menu-exit 100ms 25ms linear forwards;
6433}
6434.mat-mdc-menu-panel.mat-menu-panel-animations-disabled {
6435  animation: none;
6436}
6437.mat-mdc-menu-panel.mat-menu-panel-animating {
6438  pointer-events: none;
6439}
6440.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty) {
6441  display: none;
6442}
6443@media (forced-colors: active) {
6444  .mat-mdc-menu-panel {
6445    outline: solid 1px;
6446  }
6447}
6448.mat-mdc-menu-panel .mat-divider {
6449  border-top-color: var(--mat-menu-divider-color, var(--mat-sys-surface-variant));
6450  margin-bottom: var(--mat-menu-divider-bottom-spacing, 8px);
6451  margin-top: var(--mat-menu-divider-top-spacing, 8px);
6452}
6453
6454.mat-mdc-menu-item {
6455  display: flex;
6456  position: relative;
6457  align-items: center;
6458  justify-content: flex-start;
6459  overflow: hidden;
6460  padding: 0;
6461  cursor: pointer;
6462  width: 100%;
6463  text-align: left;
6464  box-sizing: border-box;
6465  color: inherit;
6466  font-size: inherit;
6467  background: none;
6468  text-decoration: none;
6469  margin: 0;
6470  min-height: 48px;
6471  padding-left: var(--mat-menu-item-leading-spacing, 12px);
6472  padding-right: var(--mat-menu-item-trailing-spacing, 12px);
6473  -webkit-user-select: none;
6474  user-select: none;
6475  cursor: pointer;
6476  outline: none;
6477  border: none;
6478  -webkit-tap-highlight-color: transparent;
6479}
6480.mat-mdc-menu-item::-moz-focus-inner {
6481  border: 0;
6482}
6483[dir=rtl] .mat-mdc-menu-item {
6484  padding-left: var(--mat-menu-item-trailing-spacing, 12px);
6485  padding-right: var(--mat-menu-item-leading-spacing, 12px);
6486}
6487.mat-mdc-menu-item:has(.material-icons, mat-icon, [matButtonIcon]) {
6488  padding-left: var(--mat-menu-item-with-icon-leading-spacing, 12px);
6489  padding-right: var(--mat-menu-item-with-icon-trailing-spacing, 12px);
6490}
6491[dir=rtl] .mat-mdc-menu-item:has(.material-icons, mat-icon, [matButtonIcon]) {
6492  padding-left: var(--mat-menu-item-with-icon-trailing-spacing, 12px);
6493  padding-right: var(--mat-menu-item-with-icon-leading-spacing, 12px);
6494}
6495.mat-mdc-menu-item, .mat-mdc-menu-item:visited, .mat-mdc-menu-item:link {
6496  color: var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface));
6497}
6498.mat-mdc-menu-item .mat-icon-no-color,
6499.mat-mdc-menu-item .mat-mdc-menu-submenu-icon {
6500  color: var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant));
6501}
6502.mat-mdc-menu-item[disabled] {
6503  cursor: default;
6504  opacity: 0.38;
6505}
6506.mat-mdc-menu-item[disabled]::after {
6507  display: block;
6508  position: absolute;
6509  content: "";
6510  top: 0;
6511  left: 0;
6512  bottom: 0;
6513  right: 0;
6514}
6515.mat-mdc-menu-item:focus {
6516  outline: 0;
6517}
6518.mat-mdc-menu-item .mat-icon {
6519  flex-shrink: 0;
6520  margin-right: var(--mat-menu-item-spacing, 12px);
6521  height: var(--mat-menu-item-icon-size, 24px);
6522  width: var(--mat-menu-item-icon-size, 24px);
6523}
6524[dir=rtl] .mat-mdc-menu-item {
6525  text-align: right;
6526}
6527[dir=rtl] .mat-mdc-menu-item .mat-icon {
6528  margin-right: 0;
6529  margin-left: var(--mat-menu-item-spacing, 12px);
6530}
6531.mat-mdc-menu-item:not([disabled]):hover {
6532  background-color: var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));
6533}
6534.mat-mdc-menu-item:not([disabled]).cdk-program-focused, .mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused, .mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted {
6535  background-color: var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));
6536}
6537@media (forced-colors: active) {
6538  .mat-mdc-menu-item {
6539    margin-top: 1px;
6540  }
6541}
6542
6543.mat-mdc-menu-submenu-icon {
6544  width: var(--mat-menu-item-icon-size, 24px);
6545  height: 10px;
6546  fill: currentColor;
6547  padding-left: var(--mat-menu-item-spacing, 12px);
6548}
6549[dir=rtl] .mat-mdc-menu-submenu-icon {
6550  padding-right: var(--mat-menu-item-spacing, 12px);
6551  padding-left: 0;
6552}
6553[dir=rtl] .mat-mdc-menu-submenu-icon polygon {
6554  transform: scaleX(-1);
6555  transform-origin: center;
6556}
6557@media (forced-colors: active) {
6558  .mat-mdc-menu-submenu-icon {
6559    fill: CanvasText;
6560  }
6561}
6562
6563.mat-mdc-menu-item .mat-mdc-menu-ripple {
6564  top: 0;
6565  left: 0;
6566  right: 0;
6567  bottom: 0;
6568  position: absolute;
6569  pointer-events: none;
6570}
6571`],encapsulation:2,changeDetection:0})}return t})(),$G=new W("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=f(He);return()=>eo(t)}});var bu=new WeakMap,WG=(()=>{class t{_canHaveBackdrop;_element=f(he);_viewContainerRef=f(Zt);_menuItemInstance=f(Gm,{optional:!0,self:!0});_dir=f(Vt,{optional:!0});_focusMonitor=f(Ii);_ngZone=f(Te);_injector=f(He);_scrollStrategy=f($G);_changeDetectorRef=f(Ue);_animationsDisabled=gt();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=tt.EMPTY;_menuCloseSubscription=tt.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(e){e!==this._menuInternal&&(this._menuInternal=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),(i==="click"||i==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal=null;constructor(e){this._canHaveBackdrop=e;let i=f(fw,{optional:!0});this._parentMaterialMenu=i instanceof yu?i:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&bu.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(e){if(this._triggerIsAriaDisabled())return;let i=this._menu;if(this._menuOpen||!i)return;this._pendingRemoval?.unsubscribe();let r=bu.get(i);bu.set(i,this),r&&r!==this&&r._closeMenu();let a=this._createOverlay(i),o=a.getConfig(),s=o.positionStrategy;this._setPosition(i,s),this._canHaveBackdrop?o.hasBackdrop=i.hasBackdrop==null?!this._triggersSubmenu():i.hasBackdrop:o.hasBackdrop=i.hasBackdrop??!1,a.hasAttached()||(a.attach(this._getPortal(i)),i.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),i.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,i.direction=this.dir,e&&i.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),i instanceof yu&&(i._setIsOpen(!0),i._directDescendantItems.changes.pipe(Ne(i.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}_destroyMenu(e){let i=this._overlayRef,r=this._menu;!i||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),r instanceof yu&&this._ownsMenu(r)?(this._pendingRemoval=r._animationDone.pipe(ai(1)).subscribe(()=>{i.detach(),bu.has(r)||r.lazyContent?.detach()}),r._setIsOpen(!1)):(i.detach(),r?.lazyContent?.detach()),r&&this._ownsMenu(r)&&bu.delete(r),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}
6571_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=ra(this._injector,i),this._overlayRef.keydownEvents().subscribe(r=>{this._menu instanceof yu&&this._menu._handleKeydown(r)})}return this._overlayRef}_getOverlayConfig(e){return new na({positionStrategy:cs(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{this._ngZone.run(()=>{let a=r.connectionPair.overlayX==="start"?"after":"before",o=r.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(a,o)})})}_setPosition(e,i){let[r,a]=e.xPosition==="before"?["end","start"]:["start","end"],[o,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,c]=[o,s],[d,u]=[r,a],h=0;if(this._triggersSubmenu()){if(u=r=e.xPosition==="before"?"start":"end",a=d=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let m=this._parentMaterialMenu.items.first;this._parentInnerPadding=m?m._getHostElement().offsetTop:0}h=o==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l=o==="top"?"bottom":"top",c=s==="top"?"bottom":"top");i.withPositions([{originX:r,originY:l,overlayX:d,overlayY:o,offsetY:h},{originX:a,originY:l,overlayX:u,overlayY:o,offsetY:h},{originX:r,originY:c,overlayX:d,overlayY:s,offsetY:-h},{originX:a,originY:c,overlayX:u,overlayY:s,offsetY:-h}])}_menuClosingActions(){let e=this._getOutsideClickStream(this._overlayRef),i=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:Be(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(vt(o=>this._menuOpen&&o!==this._menuItemInstance)):Be();return Gt(e,r,a,i)}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new yn(e.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(e){return bu.get(e)===this}_triggerIsAriaDisabled(){return ie(this._element.nativeElement.getAttribute("aria-disabled"))}static \u0275fac=function(i){Zc()};static \u0275dir=G({type:t})}return t})(),dP=(()=>{class t extends WG{_cleanupTouchstart;_hoverSubscription=tt.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){this._menu=e}menuData;restoreFocus=!0;menuOpened=new ne;onMenuOpen=this.menuOpened;menuClosed=new ne;onMenuClose=this.menuClosed;constructor(){super(!0);let e=f(ft);this._cleanupTouchstart=e.listen(this._element.nativeElement,"touchstart",i=>{ns(i)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(e){return e.backdropClick()}_handleMousedown(e){is(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let i=e.keyCode;(i===13||i===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===39&&this.dir==="ltr"||i===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(e=>{e===this._menuItemInstance&&!e.disabled&&this._parentMaterialMenu?._panelAnimationState!=="void"&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,r){i&1&&de("click",function(o){return r._handleClick(o)})("mousedown",function(o){return r._handleMousedown(o)})("keydown",function(o){return r._handleKeydown(o)}),i&2&&fe("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu==null?null:r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[Ie]})}return t})();var uP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Nr,_r,Ye,Zn]})}return t})();function qG(t,n){t&1&&Wi(0,"div",2)}var YG=new W("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var pw=(()=>{class t{_elementRef=f(he);_ngZone=f(Te);_changeDetectorRef=f(Ue);_renderer=f(ft);_cleanupTransitionEnd;constructor(){let e=Jh(),i=f(YG,{optional:!0});this._isNoopAnimation=e==="di-disabled",e==="reduced-motion"&&this._elementRef.nativeElement.classList.add("mat-progress-bar-reduced-motion"),i&&(i.color&&(this.color=this._defaultColor=i.color),this.mode=i.mode||this.mode)}_isNoopAnimation;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";get value(){return this._value}set value(e){this._value=hP(e||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=hP(e||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new ne;get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupTransitionEnd=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._transitionendHandler)})}ngOnDestroy(){this._cleanupTransitionEnd?.()}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}_transitionendHandler=e=>{this.animationEnd.observers.length===0||!e.target||!e.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(i,r){i&2&&(fe("aria-valuenow",r._isIndeterminate()?null:r.value)("mode",r.mode),$t("mat-"+r.color),ce("_mat-animation-noopable",r._isNoopAnimation)("mdc-linear-progress--animation-ready",!r._isNoopAnimation)("mdc-linear-progress--indeterminate",r._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",Yt],bufferValue:[2,"bufferValue","bufferValue",Yt],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(i,r){i&1&&(Rt(0,"div",0),Wi(1,"div",1),pe(2,qG,1,0,"div",2),Lt(),Rt(3,"div",3),Wi(4,"span",4),Lt(),Rt(5,"div",5),Wi(6,"span",4),Lt()),i&2&&(T(),Gi("flex-basis",r._getBufferBarFlexBasis()),T(),ge(r.mode==="buffer"?2:-1),T(),Gi("transform",r._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar {
6572  --mat-progress-bar-animation-multiplier: 1;
6573  display: block;
6574  text-align: start;
6575}
6576.mat-mdc-progress-bar[mode=query] {
6577  transform: scaleX(-1);
6578}
6579.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,
6580.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,
6581.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,
6582.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner {
6583  animation: none;
6584}
6585.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,
6586.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar {
6587  transition: transform 1ms;
6588}
6589
6590.mat-progress-bar-reduced-motion {
6591  --mat-progress-bar-animation-multiplier: 2;
6592}
6593
6594.mdc-linear-progress {
6595  position: relative;
6596  width: 100%;
6597  transform: translateZ(0);
6598  outline: 1px solid transparent;
6599  overflow-x: hidden;
6600  transition: opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
6601  height: max(var(--mat-progress-bar-track-height, 4px), var(--mat-progress-bar-active-indicator-height, 4px));
6602}
6603@media (forced-colors: active) {
6604  .mdc-linear-progress {
6605    outline-color: CanvasText;
6606  }
6607}
6608
6609.mdc-linear-progress__bar {
6610  position: absolute;
6611  top: 0;
6612  bottom: 0;
6613  margin: auto 0;
6614  width: 100%;
6615  animation: none;
6616  transform-origin: top left;
6617  transition: transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
6618  height: var(--mat-progress-bar-active-indicator-height, 4px);
6619}
6620.mdc-linear-progress--indeterminate .mdc-linear-progress__bar {
6621  transition: none;
6622}
6623[dir=rtl] .mdc-linear-progress__bar {
6624  right: 0;
6625  transform-origin: center right;
6626}
6627
6628.mdc-linear-progress__bar-inner {
6629  display: inline-block;
6630  position: absolute;
6631  width: 100%;
6632  animation: none;
6633  border-top-style: solid;
6634  border-color: var(--mat-progress-bar-active-indicator-color, var(--mat-sys-primary));
6635  border-top-width: var(--mat-progress-bar-active-indicator-height, 4px);
6636}
6637
6638.mdc-linear-progress__buffer {
6639  display: flex;
6640  position: absolute;
6641  top: 0;
6642  bottom: 0;
6643  margin: auto 0;
6644  width: 100%;
6645  overflow: hidden;
6646  height: var(--mat-progress-bar-track-height, 4px);
6647  border-radius: var(--mat-progress-bar-track-shape, var(--mat-sys-corner-none));
6648}
6649
6650.mdc-linear-progress__buffer-dots {
6651  background-image: radial-gradient(circle, var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant)) calc(var(--mat-progress-bar-track-height, 4px) / 2), transparent 0);
6652  background-repeat: repeat-x;
6653  background-size: calc(calc(var(--mat-progress-bar-track-height, 4px) / 2) * 5);
6654  background-position: left;
6655  flex: auto;
6656  transform: rotate(180deg);
6657  animation: mdc-linear-progress-buffering calc(250ms * var(--mat-progress-bar-animation-multiplier)) infinite linear;
6658}
6659@media (forced-colors: active) {
6660  .mdc-linear-progress__buffer-dots {
6661    background-color: ButtonBorder;
6662  }
6663}
6664[dir=rtl] .mdc-linear-progress__buffer-dots {
6665  animation: mdc-linear-progress-buffering-reverse calc(250ms * var(--mat-progress-bar-animation-multiplier)) infinite linear;
6666  transform: rotate(0);
6667}
6668
6669.mdc-linear-progress__buffer-bar {
6670  flex: 0 1 100%;
6671  transition: flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
6672  background-color: var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant));
6673}
6674
6675.mdc-linear-progress__primary-bar {
6676  transform: scaleX(0);
6677}
6678.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar {
6679  left: -145.166611%;
6680}
6681.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar {
6682  animation: mdc-linear-progress-primary-indeterminate-translate calc(2s * var(--mat-progress-bar-animation-multiplier)) infinite linear;
6683}
6684.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar > .mdc-linear-progress__bar-inner {
6685  animation: mdc-linear-progress-primary-indeterminate-scale calc(2s * var(--mat-progress-bar-animation-multiplier)) infinite linear;
6686}
6687[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar {
6688  animation-name: mdc-linear-progress-primary-indeterminate-translate-reverse;
6689}
6690[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar {
6691  right: -145.166611%;
6692  left: auto;
6693}
6694
6695.mdc-linear-progress__secondary-bar {
6696  display: none;
6697}
6698.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar {
6699  left: -54.888891%;
6700  display: block;
6701}
6702.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar {
6703  animation: mdc-linear-progress-secondary-indeterminate-translate calc(2s * var(--mat-progress-bar-animation-multiplier)) infinite linear;
6704}
6705.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar > .mdc-linear-progress__bar-inner {
6706  animation: mdc-linear-progress-secondary-indeterminate-scale calc(2s * var(--mat-progress-bar-animation-multiplier)) infinite linear;
6707}
6708[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar {
6709  animation-name: mdc-linear-progress-secondary-indeterminate-translate-reverse;
6710}
6711[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar {
6712  right: -54.888891%;
6713  left: auto;
6714}
6715
6716@keyframes mdc-linear-progress-buffering {
6717  from {
6718    transform: rotate(180deg) translateX(calc(var(--mat-progress-bar-track-height, 4px) * -2.5));
6719  }
6720}
6721@keyframes mdc-linear-progress-primary-indeterminate-translate {
6722  0% {
6723    transform: translateX(0);
6724  }
6725  20% {
6726    animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);
6727    transform: translateX(0);
6728  }
6729  59.15% {
6730    animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);
6731    transform: translateX(83.67142%);
6732  }
6733  100% {
6734    transform: translateX(200.611057%);
6735  }
6736}
6737@keyframes mdc-linear-progress-primary-indeterminate-scale {
6738  0% {
6739    transform: scaleX(0.08);
6740  }
6741  36.65% {
6742    animation-timing-function: cubic-bezier(0.334731, 0.12482, 0.785844, 1);
6743    transform: scaleX(0.08);
6744  }
6745  69.15% {
6746    animation-timing-function: cubic-bezier(0.06, 0.11, 0.6, 1);
6747    transform: scaleX(0.661479);
6748  }
6749  100% {
6750    transform: scaleX(0.08);
6751  }
6752}
6753@keyframes mdc-linear-progress-secondary-indeterminate-translate {
6754  0% {
6755    animation-timing-function: cubic-bezier(0.15, 0, 0.515058, 0.409685);
6756    transform: translateX(0);
6757  }
6758  25% {
6759    animation-timing-function: cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);
6760    transform: translateX(37.651913%);
6761  }
6762  48.35% {
6763    animation-timing-function: cubic-bezier(0.4, 0.627035, 0.6, 0.902026);
6764    transform: translateX(84.386165%);
6765  }
6766  100% {
6767    transform: translateX(160.277782%);
6768  }
6769}
6770@keyframes mdc-linear-progress-secondary-indeterminate-scale {
6771  0% {
6772    animation-timing-function: cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);
6773    transform: scaleX(0.08);
6774  }
6775  19.15% {
6776    animation-timing-function: cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);
6777    transform: scaleX(0.457104);
6778  }
6779  44.15% {
6780    animation-timing-function: cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);
6781    transform: scaleX(0.72796);
6782  }
6783  100% {
6784    transform: scaleX(0.08);
6785  }
6786}
6787@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse {
6788  0% {
6789    transform: translateX(0);
6790  }
6791  20% {
6792    animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);
6793    transform: translateX(0);
6794  }
6795  59.15% {
6796    animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);
6797    transform: translateX(-83.67142%);
6798  }
6799  100% {
6800    transform: translateX(-200.611057%);
6801  }
6802}
6803@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse {
6804  0% {
6805    animation-timing-function: cubic-bezier(0.15, 0, 0.515058, 0.409685);
6806    transform: translateX(0);
6807  }
6808  25% {
6809    animation-timing-function: cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);
6810    transform: translateX(-37.651913%);
6811  }
6812  48.35% {
6813    animation-timing-function: cubic-bezier(0.4, 0.627035, 0.6, 0.902026);
6814    transform: translateX(-84.386165%);
6815  }
6816  100% {
6817    transform: translateX(-160.277782%);
6818  }
6819}
6820@keyframes mdc-linear-progress-buffering-reverse {
6821  from {
6822    transform: translateX(-10px);
6823  }
6824}
6825`],encapsulation:2,changeDetection:0})}return t})();function hP(t,n=0,e=100){return Math.max(n,Math.min(e,t))}var mP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Ye]})}return t})();var KG=["mat-internal-form-field",""],QG=["*"],Kg=(()=>{class t{labelPosition="after";static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mdc-form-field--align-en
6825d",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:KG,ngContentSelectors:QG,decls:1,vars:0,template:function(i,r){i&1&&(Ge(),_e(0))},styles:[`.mat-internal-form-field {
6826  -moz-osx-font-smoothing: grayscale;
6827  -webkit-font-smoothing: antialiased;
6828  display: inline-flex;
6829  align-items: center;
6830  vertical-align: middle;
6831}
6832.mat-internal-form-field > label {
6833  margin-left: 0;
6834  margin-right: auto;
6835  padding-left: 4px;
6836  padding-right: 0;
6837  order: 0;
6838}
6839[dir=rtl] .mat-internal-form-field > label {
6840  margin-left: auto;
6841  margin-right: 0;
6842  padding-left: 0;
6843  padding-right: 4px;
6844}
6845
6846.mdc-form-field--align-end > label {
6847  margin-left: auto;
6848  margin-right: 0;
6849  padding-left: 0;
6850  padding-right: 4px;
6851  order: -1;
6852}
6853[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label {
6854  margin-left: 0;
6855  margin-right: auto;
6856  padding-left: 4px;
6857  padding-right: 0;
6858}
6859`],encapsulation:2,changeDetection:0})}return t})();var ZG=["input"],JG=["label"],eq=["*"],gw={color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1},tq=new W("mat-checkbox-default-options",{providedIn:"root",factory:()=>gw}),er=(function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t})(er||{}),_w=class{source;checked},vw=(()=>{class t{_elementRef=f(he);_changeDetectorRef=f(Ue);_ngZone=f(Te);_animationsDisabled=gt();_options=f(tq,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new _w;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required=!1;labelPosition="after";name=null;change=new ne;indeterminateChange=new ne;value;disableRipple=!1;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=er.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){f(wt).load(Ci);let e=f(new gn("tabindex"),{optional:!0});this._options=this._options||gw,this.color=this._options.color||gw.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=f(pt).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(e){let i=e!=this._indeterminate();this._indeterminate.set(e),i&&(e?this._transitionCheckState(er.Indeterminate):this._transitionCheckState(this.checked?er.Checked:er.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=ke(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(!(i===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(a)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?er.Checked:er.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationsDisabled)return"";switch(e){case er.Init:if(i===er.Checked)return this._animationClasses.uncheckedToChecked;if(i==er.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case er.Unchecked:return i===er.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case er.Checked:return i===er.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case er.Indeterminate:return i===er.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-checkbox"]],viewQuery:function(i,r){if(i&1&&dt(ZG,5)(JG,5),i&2){let a;ae(a=oe())&&(r._inputElement=a.first),ae(a=oe())&&(r._labelElement=a.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(i,r){i&2&&(si("id",r.id),fe("tabindex",null)("aria-label",null)("aria-labelledby",null),$t(r.color?"mat-"+r.color:"mat-accent"),ce("_mat-animation-noopable",r._animationsDisabled)("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",ie],ariaControl
vendor: 14,998 bytes, lines 6859-7118
6859s:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",ie],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",ie],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Yt(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",ie],checked:[2,"checked","checked",ie],disabled:[2,"disabled","disabled",ie],indeterminate:[2,"indeterminate","indeterminate",ie]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Re([{provide:xn,useExisting:_i(()=>t),multi:!0},{provide:br,useExisting:t,multi:!0}]),lt],ngContentSelectors:eq,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],["aria-hidden","true",1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],["aria-hidden","true",1,"mdc-checkbox__ripple"],["aria-hidden","true",1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","","aria-hidden","true",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,r){if(i&1&&(Ge(),w(0,"div",3),de("click",function(o){return r._preventBubblingFromLabel(o)}),w(1,"div",4,0)(3,"div",5),de("click",function(){return r._onTouchTargetClick()}),D(),w(4,"input",6,1),de("blur",function(){return r._onBlur()})("click",function(){return r._onInputClick()})("change",function(o){return r._onInteractionEvent(o)}),D(),we(6,"div",7),w(7,"div",8),ui(),w(8,"svg",9),we(9,"path",10),D(),ja(),we(10,"div",11),D(),we(11,"div",12),D(),w(12,"label",13,2),_e(14),D()()),i&2){let a=qt(2);se("labelPosition",r.labelPosition),T(4),ce("mdc-checkbox--selected",r.checked),se("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),fe("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-controls",r.ariaControls)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("aria-expanded",r.ariaExpanded)("aria-owns",r.ariaOwns)("name",r.name)("value",r.value),T(7),se("matRippleTrigger",a)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),T(),se("for",r.inputId)}},dependencies:[pr,Kg],styles:[`.mdc-checkbox {
6860  display: inline-block;
6861  position: relative;
6862  flex: 0 0 18px;
6863  box-sizing: content-box;
6864  width: 18px;
6865  height: 18px;
6866  line-height: 0;
6867  white-space: nowrap;
6868  cursor: pointer;
6869  vertical-align: bottom;
6870  padding: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2);
6871  margin: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
6872}
6873.mdc-checkbox:hover > .mdc-checkbox__ripple {
6874  opacity: var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
6875  background-color: var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface));
6876}
6877.mdc-checkbox:hover > .mat-mdc-checkbox-ripple > .mat-ripple-element {
6878  background-color: var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface));
6879}
6880.mdc-checkbox .mdc-checkbox__native-control:focus + .mdc-checkbox__ripple {
6881  opacity: var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
6882  background-color: var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface));
6883}
6884.mdc-checkbox .mdc-checkbox__native-control:focus ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
6885  background-color: var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface));
6886}
6887.mdc-checkbox:active > .mdc-checkbox__native-control + .mdc-checkbox__ripple {
6888  opacity: var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
6889  background-color: var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary));
6890}
6891.mdc-checkbox:active > .mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
6892  background-color: var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary));
6893}
6894.mdc-checkbox:hover > .mdc-checkbox__native-control:checked + .mdc-checkbox__ripple {
6895  opacity: var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
6896  background-color: var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary));
6897}
6898.mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
6899  background-color: var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary));
6900}
6901.mdc-checkbox .mdc-checkbox__native-control:focus:checked + .mdc-checkbox__ripple {
6902  opacity: var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
6903  background-color: var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary));
6904}
6905.mdc-checkbox .mdc-checkbox__native-control:focus:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
6906  background-color: var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary));
6907}
6908.mdc-checkbox:active > .mdc-checkbox__native-control:checked + .mdc-checkbox__ripple {
6909  opacity: var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
6910  background-color: var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface));
6911}
6912.mdc-checkbox:active > .mdc-checkbox__native-control:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element {
6913  background-color: var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface));
6914}
6915.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element,
6916.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control + .mdc-checkbox__ripple {
6917  background-color: var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface));
6918}
6919.mdc-checkbox .mdc-checkbox__native-control {
6920  position: absolute;
6921  margin: 0;
6922  padding: 0;
6923  opacity: 0;
6924  cursor: inherit;
6925  z-index: 1;
6926  width: var(--mat-checkbox-state-layer-size, 40px);
6927  height: var(--mat-checkbox-state-layer-size, 40px);
6928  top: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
6929  right: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
6930  left: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2);
6931}
6932
6933.mdc-checkbox--disabled {
6934  cursor: default;
6935  pointer-events: none;
6936}
6937
6938.mdc-checkbox__background {
6939  display: inline-flex;
6940  position: absolute;
6941  align-items: center;
6942  justify-content: center;
6943  box-sizing: border-box;
6944  width: 18px;
6945  height: 18px;
6946  border: 2px solid currentColor;
6947  border-radius: 2px;
6948  background-color: transparent;
6949  pointer-events: none;
6950  will-change: background-color, border-color;
6951  transition: background-color 90ms cubic-bezier(0.4, 0, 0.6, 1), border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);
6952  -webkit-print-color-adjust: exact;
6953  color-adjust: exact;
6954  border-color: var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));
6955  top: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2);
6956  left: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2);
6957}
6958
6959.mdc-checkbox__native-control:enabled:checked ~ .mdc-checkbox__background,
6960.mdc-checkbox__native-control:enabled:indeterminate ~ .mdc-checkbox__background {
6961  border-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));
6962  background-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));
6963}
6964
6965.mdc-checkbox--disabled .mdc-checkbox__background {
6966  border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
6967}
6968@media (forced-colors: active) {
6969  .mdc-checkbox--disabled .mdc-checkbox__background {
6970    border-color: GrayText;
6971  }
6972}
6973
6974.mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background,
6975.mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background {
6976  background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
6977  border-color: transparent;
6978}
6979@media (forced-colors: active) {
6980  .mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background,
6981  .mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background {
6982    border-color: GrayText;
6983  }
6984}
6985
6986.mdc-checkbox:hover > .mdc-checkbox__native-control:not(:checked) ~ .mdc-checkbox__background,
6987.mdc-checkbox:hover > .mdc-checkbox__native-control:not(:indeterminate) ~ .mdc-checkbox__background {
6988  border-color: var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));
6989  background-color: transparent;
6990}
6991
6992.mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
6993.mdc-checkbox:hover > .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
6994  border-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));
6995  background-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));
6996}
6997
6998.mdc-checkbox__native-control:focus:focus:not(:checked) ~ .mdc-checkbox__background,
6999.mdc-checkbox__native-control:focus:focus:not(:indeterminate) ~ .mdc-checkbox__background {
7000  border-color: var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface));
7001}
7002
7003.mdc-checkbox__native-control:focus:focus:checked ~ .mdc-checkbox__background,
7004.mdc-checkbox__native-control:focus:focus:indeterminate ~ .mdc-checkbox__background {
7005  border-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));
7006  background-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));
7007}
7008
7009.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background,
7010.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background,
7011.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background {
7012  border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
7013}
7014@media (forced-colors: active) {
7015  .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background,
7016  .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background,
7017  .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background {
7018    border-color: GrayText;
7019  }
7020}
7021.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
7022.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
7023  background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
7024  border-color: transparent;
7025}
7026
7027.mdc-checkbox__checkmark {
7028  position: absolute;
7029  top: 0;
7030  right: 0;
7031  bottom: 0;
7032  left: 0;
7033  width: 100%;
7034  opacity: 0;
7035  transition: opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);
7036  color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary));
7037}
7038@media (forced-colors: active) {
7039  .mdc-checkbox__checkmark {
7040    color: CanvasText;
7041  }
7042}
7043
7044.mdc-checkbox--disabled .mdc-checkbox__checkmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark {
7045  color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface));
7046}
7047@media (forced-colors: active) {
7048  .mdc-checkbox--disabled .mdc-checkbox__checkmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark {
7049    color: GrayText;
7050  }
7051}
7052
7053.mdc-checkbox__checkmark-path {
7054  transition: stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);
7055  stroke: currentColor;
7056  stroke-width: 3.12px;
7057  stroke-dashoffset: 29.7833385;
7058  stroke-dasharray: 29.7833385;
7059}
7060
7061.mdc-checkbox__mixedmark {
7062  width: 100%;
7063  height: 0;
7064  transform: scaleX(0) rotate(0deg);
7065  border-width: 1px;
7066  border-style: solid;
7067  opacity: 0;
7068  transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);
7069  border-color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary));
7070}
7071@media (forced-colors: active) {
7072  .mdc-checkbox__mixedmark {
7073    margin: 0 1px;
7074  }
7075}
7076
7077.mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark {
7078  border-color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface));
7079}
7080@media (forced-colors: active) {
7081  .mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark {
7082    border-color: GrayText;
7083  }
7084}
7085
7086.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,
7087.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,
7088.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,
7089.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background {
7090  animation-duration: 180ms;
7091  animation-timing-function: linear;
7092}
7093
7094.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path {
7095  animation: mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;
7096  transition: none;
7097}
7098
7099.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark {
7100  animation: mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;
7101  transition: none;
7102}
7103
7104.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path {
7105  animation: mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;
7106  transition: none;
7107}
7108
7109.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark {
7110  animation: mdc-checkbox-checked-indeterminate-checkmark 90ms linear;
7111  transition: none;
7112}
7113.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark {
7114  animation: mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;
7115  transition: none;
7116}
7117
7118.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark {
7119  animation: mdc-checkbox-indeterminate-checked-checkmark 500ms linear;
7120  transition: none;
7121}
7122.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark {
7123  animation: mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;
7124  transition: none;
7125}
7126
7127.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark {
7128  animation: mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;
7129  transition: none;
7130}
7131
7132.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
7133.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
7134  transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1);
7135}
7136.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,
7137.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path {
7138  stroke-dashoffset: 0;
7139}
7140
7141.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark {
7142  transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1), transform 180ms cubic-bezier(0, 0, 0.2, 1);
7143  opacity: 1;
7144}
7145.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark {
7146  transform: scaleX(1) rotate(-45deg);
7147}
7148
7149.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark {
7150  transform: rotate(45deg);
7151  opacity: 0;
7152  transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);
7153}
7154.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark {
7155  transform: scaleX(1) rotate(0deg);
7156  opacity: 1;
7157}
7158
7159@keyframes mdc-checkbox-unchecked-checked-checkmark-path {
7160  0%, 50% {
7161    stroke-dashoffset: 29.7833385;
7162  }
7163  50% {
7164    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
7165  }
7166  100% {
7167    stroke-dashoffset: 0;
7168  }
7169}
7170@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark {
7171  0%, 68.2% {
7172    transform: scaleX(0);
7173  }
7174  68.2% {
7175    animation-timing-function: cubic-bezier(0, 0, 0, 1);
7176  }
7177  100% {
7178    transform: scaleX(1);
7179  }
7180}
7181@keyframes mdc-checkbox-checked-unchecked-checkmark-path {
7182  from {
7183    animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
7184    opacity: 1;
7185    stroke-dashoffset: 0;
7186  }
7187  to {
7188    opacity: 0;
7189    stroke-dashoffset: -29.7833385;
7190  }
7191}
7192@keyframes mdc-checkbox-checked-indeterminate-checkmark {
7193  from {
7194    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
7195    transform: rotate(0deg);
7196    opacity: 1;
7197  }
7198  to {
7199    transform: rotate(45deg);
7200    opacity: 0;
7201  }
7202}
7203@keyframes mdc-checkbox-indeterminate-checked-checkmark {
7204  from {
7205    animation-timing-function: cubic-bezier(0.14, 0, 0, 1);
7206    transform: rotate(45deg);
7207    opacity: 0;
7208  }
7209  to {
7210    transform: rotate(360deg);
7211    opacity: 1;
7212  }
7213}
7214@keyframes mdc-checkbox-checked-indeterminate-mixedmark {
7215  from {
7216    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
7217    transform: rotate(-45deg);
7218    opacity: 0;
7219  }
7220  to {
7221    transform: rotate(0deg);
7222    opacity: 1;
7223  }
7224}
7225@keyframes mdc-checkbox-indeterminate-checked-mixedmark {
7226  from {
7227    animation-timing-function: cubic-bezier(0.14, 0, 0, 1);
7228    transform: rotate(0deg);
7229    opacity: 1;
7230  }
7231  to {
7232    transform: rotate(315deg);
7233    opacity: 0;
7234  }
7235}
7236@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark {
7237  0% {
7238    animation-timing-function: linear;
7239    transform: scaleX(1);
7240    opacity: 1;
7241  }
7242  32.8%, 100% {
7243    transform: scaleX(0);
7244    opacity: 0;
7245  }
7246}
7247.mat-mdc-checkbox {
7248  display: inline-block;
7249  position: relative;
7250  -webkit-tap-highlight-color: transparent;
7251}
7252.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mat-mdc-checkbox-touch-target,
7253.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__native-control,
7254.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__ripple,
7255.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mat-mdc-checkbox-ripple::before,
7256.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background,
7257.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark,
7258.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,
7259.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__mixedmark {
7260  transition: none !important;
7261  animation: none !important;
7262}
7263.mat-mdc-checkbox label {
7264  cursor: pointer;
7265}
7266.mat-mdc-checkbox .mat-internal-form-field {
7267  color: var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));
7268  font-family: var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));
7269  line-height: var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));
7270  font-size: var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));
7271  letter-spacing: var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));
7272  font-weight: var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight));
7273}
7274.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive {
7275  pointer-events: auto;
7276}
7277.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input {
7278  cursor: default;
7279}
7280.mat-mdc-checkbox.mat-mdc-checkbox-disabled label {
7281  cursor: default;
7282  color: var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
7283}
7284@media (forced-colors: active) {
7285  .mat-mdc-checkbox.mat-mdc-checkbox-disabled label {
7286    color: GrayText;
7287  }
7288}
7289.mat-mdc-checkbox label:empty {
7290  display: none;
7291}
7292.mat-mdc-checkbox .mdc-checkbox__ripple {
7293  opacity: 0;
7294}
7295
7296.mat-mdc-checkbox .mat-mdc-checkbox-ripple,
7297.mdc-checkbox__ripple {
7298  top: 0;
7299  left: 0;
7300  right: 0;
7301  bottom: 0;
7302  position: absolute;
7303  border-radius: 50%;
7304  pointer-events: none;
7305}
7306.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),
7307.mdc-checkbox__ripple:not(:empty) {
7308  transform: translateZ(0);
7309}
7310
7311.mat-mdc-checkbox-ripple .mat-ripple-element {
7312  opacity: 0.1;
7313}
7314
7315.mat-mdc-checkbox-touch-target {
7316  position: absolute;
7317  top: 50%;
7318  left: 50%;
7319  height: var(--mat-checkbox-touch-target-size, 48px);
7320  width: var(--mat-checkbox-touch-target-size, 48px);
7321  transform: translate(-50%, -50%);
7322  display: var(--mat-checkbox-touch-target-display, block);
7323}
7324
7325.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before {
7326  border-radius: 50%;
7327}
7328
7329.mdc-checkbox__native-control:focus-visible ~ .mat-focus-indicator::before {
7330  content: "";
7331}
7332`],encapsulation:2,changeDetection:0})}return t})(),fP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[vw,Ye]})}return t})();var nq=["text"],rq=[[["mat-icon"]],"*"],aq=["mat-icon","*"];function oq(t,n){if(t&1&&we(0,"mat-pseudo-checkbox",1),t&2){let e=j();se("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function sq(t,n){if(t&1&&we(0,"mat-pseudo-checkbox",3),t&2){let e=j();se("disabled",e.disabled)}}function lq(t,n){if(t&1&&(w(0,"span",4),Q(1),D()),t&2){let e=j();T(),Jt("(",e.group.label,")")}}var yw=new W("MAT_OPTION_PARENT_COMPONENT"),xw=new W("MatOptgroup");var bw=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},vs=(()=>{class t{_element=f(he);_changeDetectorRef=f(Ue);_parent=f(yw,{optional:!0});group=f(xw,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=f(pt).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=ke(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new ne;_text;_stateChanges=new te;constructor(){let e=f(wt);e.load(Ci),e.load(Or),this._signalDisableRipple=!!this._parent&&Us(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!zt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new bw(this,e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&dt(nq,7),i&2){let a;ae(a=oe())&&(r._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&de("click",function(){return r._selectViaInteraction()})("keydown",function(o){return r._handleKeydown(o)}),i&2&&(si("id",r.id),fe("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),ce("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",ie]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:aq,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-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(Ge(rq),pe(0,oq,1,2,"mat-pseudo-checkbox",1),_e(1),w(2,"span",2,0),_e(4,1),D(),pe(5,sq,1,1,"mat-pseudo-checkbox",3),pe(6,lq,2,1,"span",4),we(7,"div",5)),i&2&&(ge(r.multiple?0:-1),T(5),ge(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),T(),ge(r.group&&r.group._inert?6:-1),T(),se("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[Wg,pr],styles:[`.mat-mdc-option {
7333  -webkit-user-select: none;
7334  user-select: none;
7335  -moz-osx-font-smoothing: grayscale;
7336  -webkit-font-smoothing: antialiased;
7337  display: flex;
7338  position: relative;
7339  align-items: center;
7340  justify-content: flex-start;
7341  overflow: hidden;
7342  min-height: 48px;
7343  padding: 0 16px;
7344  cursor: pointer;
7345  -webkit-tap-highlight-color: transparent;
7346  color: var(--mat-option-label-text-color, var(--mat-sys-on-surface));
7347  font-family: var(--mat-option-label-text-font, var(--mat-sys-label-large-font));
7348  line-height: var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));
7349  font-size: var(--mat-option-label-text-size, var(--mat-sys-body-large-size));
7350  letter-spacing: var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));
7351  font-weight: var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight));
7352}
7353.mat-mdc-option:hover:not(.mdc-list-item--disabled) {
7354  background-color: var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));
7355}
7356.mat-mdc-option:focus.mdc-list-item, .mat-mdc-option.mat-mdc-option-active.mdc-list-item {
7357  background-color: var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));
7358  outline: 0;
7359}
7360.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) {
7361  background-color: var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container));
7362}
7363.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) .mdc-list-item__primary-text {
7364  color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container));
7365}
7366.mat-mdc-option .mat-pseudo-checkbox {
7367  --mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container));
7368}
7369.mat-mdc-option.mdc-list-item {
7370  align-items: center;
7371  background: transparent;
7372}
7373.mat-mdc-option.mdc-list-item--disabled {
7374  cursor: default;
7375  pointer-events: none;
7376}
7377.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 {
7378  opacity: 0.38;
7379}
7380.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) {
7381  padding-left: 32px;
7382}
7383[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) {
7384  padding-left: 16px;
7385  padding-right: 32px;
7386}
7387.mat-mdc-option .mat-icon,
7388.mat-mdc-option .mat-pseudo-checkbox-full {
7389  margin-right: 16px;
7390  flex-shrink: 0;
7391}
7392[dir=rtl] .mat-mdc-option .mat-icon,
7393[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full {
7394  margin-right: 0;
7395  margin-left: 16px;
7396}
7397.mat-mdc-option .mat-pseudo-checkbox-minimal {
7398  margin-left: 16px;
7399  flex-shrink: 0;
7400}
7401[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal {
7402  margin-right: 16px;
7403  margin-left: 0;
7404}
7405.mat-mdc-option .mat-mdc-option-ripple {
7406  top: 0;
7407  left: 0;
7408  right: 0;
7409  bottom: 0;
7410  position: absolute;
7411  pointer-events: none;
7412}
7413.mat-mdc-option .mdc-list-item__primary-text {
7414  white-space: normal;
7415  font-size: inherit;
7416  font-weight: inherit;
7417  letter-spacing: inherit;
7418  line-height: inherit;
7419  font-family: inherit;
7420  text-decoration: inherit;
7421  text-transform: inherit;
7422  margin-right: auto;
7423}
7424[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text {
7425  margin-right: 0;
7426  margin-left: auto;
7427}
7428@media (forced-colors: active) {
7429  .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after {
7430    content: "";
7431    position: absolute;
7432    top: 50%;
7433    right: 16px;
7434    transform: translateY(-50%);
7435    width: 10px;
7436    height: 0;
7437    border-bottom: solid 10px;
7438    border-radius: 10px;
7439  }
7440  [dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after {
7441    right: auto;
7442    left: 16px;
7443  }
7444}
7445
7446.mat-mdc-option-multiple {
7447  --mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent);
7448}
7449
7450.mat-mdc-option-active .mat-focus-indicator::before {
7451  content: "";
7452}
7453`],encapsulation:2,changeDetection:0})}return t})();function pP(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),a=0;for(let o=0;o<t+1;o++)i[o].group&&i[o].group===r[a]&&a++;return a}return 0}function gP(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}var ww=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Nr,Gg,vs,Ye]})}return t})();var cq=["trigger"],dq=["panel"],uq=[[["mat-select-trigger"]],"*"],hq=["mat-select-trigger","*"];function mq(t,n){if(t&1&&(w(0,"span",4),Q(1),D()),t&2){let e=j();T(),Bt(e.placeholder)}}function fq(t,n){t&1&&_e(0)}function pq(t,n){if(t&1&&(w(0,"span",11),Q(1),D()),
7453t&2){let e=j(2);T(),Bt(e.triggerValue)}}function gq(t,n){if(t&1&&(w(0,"span",5),pe(1,fq,1,0)(2,pq,2,1,"span",11),D()),t&2){let e=j();T(),ge(e.customTrigger?1:2)}}function _q(t,n){if(t&1){let e=Pt();w(0,"div",12,1),de("keydown",function(r){$e(e);let a=j();return We(a._handleKeydown(r))}),_e(2,1),D()}if(t&2){let e=j();$t(e.panelClass),ce("mat-select-panel-animations-enabled",!e._animationsDisabled)("mat-primary",(e._parentFormField==null?null:e._parentFormField.color)==="primary")("mat-accent",(e._parentFormField==null?null:e._parentFormField.color)==="accent")("mat-warn",(e._parentFormField==null?null:e._parentFormField.color)==="warn")("mat-undefined",!(e._parentFormField!=null&&e._parentFormField.color)),fe("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var vq=new W("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=f(He);return()=>eo(t)}}),bq=new W("MAT_SELECT_CONFIG"),yq=new W("MatSelectTrigger"),Cw=class{source;value;constructor(n,e){this.source=n,this.value=e}},qm=(()=>{class t{_viewportRuler=f(Mn);_changeDetectorRef=f(Ue);_elementRef=f(he);_dir=f(Vt,{optional:!0});_idGenerator=f(pt);_renderer=f(ft);_parentFormField=f(dc,{optional:!0});ngControl=f(vr,{self:!0,optional:!0});_liveAnnouncer=f(Xh);_defaultOptions=f(bq,{optional:!0});_animationsDisabled=gt();_popoverLocation;_initialized=new te;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,a=pP(e,this.options,this.optionGroups),o=i._getHostElement();e===0&&a===1?r.scrollTop=0:r.scrollTop=gP(o.offsetTop,o.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Cw(this,e)}_scrollStrategyFactory=f(vq);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new te;_errorStateTracker;stateChanges=new te;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=ke(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(aa.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=fo(()=>{let e=this.options;return e?e.changes.pipe(bt(e),gi(()=>Gt(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(gi(()=>this.optionSelectionChanges))});openedChange=new ne;
7453_openedStream=this.openedChange.pipe(vt(e=>e),ct(()=>{}));_closedStream=this.openedChange.pipe(vt(e=>!e),ct(()=>{}));selectionChange=new ne;valueChange=new ne;constructor(){let e=f(Co),i=f(il,{optional:!0}),r=f(to,{optional:!0}),a=f(new gn("tabindex"),{optional:!0}),o=f(om,{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Gd(e,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=a==null?0:parseInt(a)||0,this._popoverLocation=o?.usePopover===!1?null:"inline",this.id=this.id}ngOnInit(){this._selectionModel=new Ta(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Ne(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Ne(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(bt(null),Ne(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval),e.panelClass&&this.panelClass instanceof Set&&(this.panelClass=Array.from(this.panelClass))}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(ai(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&f0(this._trackedModal,"aria-owns",i),ky(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;f0(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",a=>{a.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,a=i===13||i===32,o=this._keyManager;if(!o.isTyping()&&a&&!zt(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;o.onKeydown(e);let l=this.selected;l&&s!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,a=r===40||r===38,o=i.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(!o&&(r===13||r===32)&&i.activeItem&&!zt(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!o&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(s?l.select():l.deselect())})}else{let s=i.activeItemIndex;i.onKeydown(e),this._multiple&&a&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!zt(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>
7453i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch(a){return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Vd?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Zh(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Gt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ne(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Gt(...this.options.map(i=>i._stateChanges)).pipe(Ne(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){e=i;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let i=this._elementRef.nativeElement;
7453e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(e){let i=Ki(e);i&&(i.tagName==="MAT-OPTION"||i.classList.contains("cdk-overlay-backdrop")||i.closest(".mat-mdc-select-panel"))||(this.focus(),this.open())}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,yq,5)(a,vs,5)(a,xw,5),i&2){let o;ae(o=oe())&&(r.customTrigger=o.first),ae(o=oe())&&(r.options=o),ae(o=oe())&&(r.optionGroups=o)}},viewQuery:function(i,r){if(i&1&&dt(cq,5)(dq,5)(M0,5),i&2){let a;ae(a=oe())&&(r.trigger=a.first),ae(a=oe())&&(r.panel=a.first),ae(a=oe())&&(r._overlayDir=a.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(i,r){i&1&&de("keydown",function(o){return r._handleKeydown(o)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(fe("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),ce("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple)("mat-select-open",r.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",ie],disableRipple:[2,"disableRipple","disableRipple",ie],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Yt(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",ie],placeholder:"placeholder",required:[2,"required","required",ie],multiple:[2,"multiple","multiple",ie],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",ie],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Yt],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",ie]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Re([{provide:Wd,useExisting:t},{provide:yw,useExisting:t}]),lt],ngContentSelectors:hq,decls:11,vars:10,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions","cdkConnectedOverlayUsePopover"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",1,"mat-mdc-select-panel","mdc-menu-surface","mdc-menu-surface--open",3,"keydown"]],template:function(i,r){if(i&1&&(Ge(uq),w(0,"div",2,0),de("click",function(){return r.open()}),w(3,"div",3),pe(4,mq,2,1,"span",4)(5,gq,3,1,"span",5),D(),w(6,"div",6)(7,"div",7),ui(),w(8,"svg",8),we(9,"path",9),D()()()(),xt(10,_q,3,16,"ng-template",10),de("detach",function(){return r.close()})("backdropClick",function(){return r.close()})("overlayKeydown",function(o){return r._handleOverlayKeydown(o)})),i&2){let a=qt(1);T(3),fe("id",r._valueId),T(),ge(r.empty?4:5),T(6),se("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||a)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)("cdkConnectedOverlayUsePopover",r._popoverLocation)}},dependencies:[Vd,M0],styles:[`@keyframes _mat-select-enter {
7454  from {
7455    opacity: 0;
7456    transform: scaleY(0.8);
7457  }
7458  to {
7459    opacity: 1;
7460    transform: none;
7461  }
7462}
7463@keyframes _mat-select-exit {
7464  from {
7465    opacity: 1;
7466  }
7467  to {
7468    opacity: 0;
7469  }
7470}
7471.mat-mdc-select {
7472  display: inline-block;
7473  width: 100%;
7474  outline: none;
7475  -moz-osx-font-smoothing: grayscale;
7476  -webkit-font-smoothing: antialiased;
7477  color: var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));
7478  font-family: var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));
7479  line-height: var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));
7480  font-size: var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));
7481  font-weight: var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));
7482  letter-spacing: var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking));
7483}
7484
7485div.mat-mdc-select-panel {
7486  box-shadow: var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));
7487}
7488
7489.mat-mdc-select-disabled {
7490  color: var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
7491}
7492.mat-mdc-select-disabled .mat-mdc-select-placeholder {
7493  color: var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
7494}
7495
7496.mat-mdc-select-trigger {
7497  display: inline-flex;
7498  align-items: center;
7499  cursor: pointer;
7500  position: relative;
7501  box-sizing: border-box;
7502  width: 100%;
7503}
7504.mat-mdc-select-disabled .mat-mdc-select-trigger {
7505  -webkit-user-select: none;
7506  user-select: none;
7507  cursor: default;
7508}
7509
7510.mat-mdc-select-value {
7511  width: 100%;
7512  overflow: hidden;
7513  text-overflow: ellipsis;
7514  white-space: nowrap;
7515}
7516
7517.mat-mdc-select-value-text {
7518  white-space: nowrap;
7519  overflow: hidden;
7520  text-overflow: ellipsis;
7521}
7522
7523.mat-mdc-select-arrow-wrapper {
7524  height: 24px;
7525  flex-shrink: 0;
7526  display: inline-flex;
7527  align-items: center;
7528}
7529.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper {
7530  transform: none;
7531}
7532
7533.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,
7534.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after {
7535  color: var(--mat-select-invalid-arrow-color, var(--mat-sys-error));
7536}
7537
7538.mat-mdc-select-arrow {
7539  width: 10px;
7540  height: 5px;
7541  position: relative;
7542  color: var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant));
7543}
7544.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow {
7545  color: var(--mat-select-focused-arrow-color, var(--mat-sys-primary));
7546}
7547.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow {
7548  color: var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
7549}
7550.mat-select-open .mat-mdc-select-arrow {
7551  transform: rotate(180deg);
7552}
7553.mat-form-field-animations-enabled .mat-mdc-select-arrow {
7554  transition: transform 80ms linear;
7555}
7556.mat-mdc-select-arrow svg {
7557  fill: currentColor;
7558  position: absolute;
7559  top: 50%;
7560  left: 50%;
7561  transform: translate(-50%, -50%);
7562}
7563@media (forced-colors: active) {
7564  .mat-mdc-select-arrow svg {
7565    fill: CanvasText;
7566  }
7567  .mat-mdc-select-disabled .mat-mdc-select-arrow svg {
7568    fill: GrayText;
7569  }
7570}
7571
7572div.mat-mdc-select-panel {
7573  width: 100%;
7574  max-height: 275px;
7575  outline: 0;
7576  overflow: auto;
7577  padding: 8px 0;
7578  box-sizing: border-box;
7579  transform-origin: top center;
7580  border-radius: 0 0 4px 4px;
7581  position: relative;
7582  background-color: var(--mat-select-panel-background-color, var(--mat-sys-surface-container));
7583}
7584.mat-mdc-select-panel-above div.mat-mdc-select-panel {
7585  border-radius: 4px 4px 0 0;
7586  transform-origin: bottom center;
7587}
7588@media (forced-colors: active) {
7589  div.mat-mdc-select-panel {
7590    outline: solid 1px;
7591  }
7592}
7593
7594.mat-select-panel-animations-enabled {
7595  animation: _mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1);
7596}
7597.mat-select-panel-animations-enabled.mat-select-panel-exit {
7598  animation: _mat-select-exit 100ms linear;
7599}
7600
7601.mat-mdc-select-placeholder {
7602  transition: color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);
7603  color: var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant));
7604}
7605.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder, ._mat-animation-noopable .mat-mdc-select-placeholder {
7606  transition: none;
7607}
7608.mat-form-field-hide-placeholder .mat-mdc-select-placeholder {
7609  color: transparent;
7610  -webkit-text-fill-color: transparent;
7611  transition: none;
7612  display: block;
7613}
7614
7615.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper {
7616  cursor: pointer;
7617}
7618.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label {
7619  max-width: calc(100% - 18px);
7620}
7621.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above {
7622  max-width: calc(100% / 0.75 - 24px);
7623}
7624.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch {
7625  max-width: calc(100% - 60px);
7626}
7627.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch {
7628  max-width: calc(100% - 24px);
7629}
7630
7631.mat-mdc-select-min-line:empty::before {
7632  content: " ";
7633  white-space: pre;
7634  width: 1px;
7635  display: inline-block;
7636  visibility: hidden;
7637}
7638
7639.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper {
7640  transform: var(--mat-select-arrow-transform, translateY(-8px));
7641}
7642`],encapsulation:2,changeDetection:0})}return t})();var Ym=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[_r,ww,Ye,Zn,sa,ww]})}return t})();function wq(t,n){if(t&1&&(w(0,"mat-option",17),Q(1),D()),t&2){let e=n.$implicit;se("value",e),T(),Jt(" ",e," ")}}function Cq(t,n){if(t&1){let e=Pt();w(0,"mat-form-field",14)(1,"mat-select",16,0),de("selectionChange",function(r){$e(e);let a=j(2);return We(a._changePageSize(r.value))}),tn(3,wq,2,2,"mat-option",17,Ha),D(),w(5,"div",18),de("click",function(){$e(e);let r=qt(2);return We(r.open())}),D()()}if(t&2){let e=j(2);se("appearance",e._formFieldAppearance)("color",e.color),T(),se("value",e.pageSize)("disabled",e.disabled),dh("aria-labelledby",e._pageSizeLabelId),se("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),T(2),nn(e._displayedPageSizeOptions)}}function Sq(t,n){if(t&1&&(w(0,"div",15),Q(1),D()),t&2){let e=j(2);T(),Bt(e.pageSize)}}function kq(t,n){if(t&1&&(w(0,"div",3)(1,"div",13),Q(2),D(),pe(3,Cq,6,7,"mat-form-field",14),pe(4,Sq,2,1,"div",15),D()),t&2){let e=j();T(),fe("id",e._pageSizeLabelId),T(),Jt(" ",e._intl.itemsPerPageLabel," "),T(),ge(e._displayedPageSizeOptions.length>1?3:-1),T(),ge(e._displayedPageSizeOptions.length<=1?4:-1)}}function Dq(t,n){if(t&1){let e=Pt();w(0,"button",19),de("click",function(){$e(e);let r=j();return We(r._buttonClicked(0,r._previousButtonsDisabled()))}),ui(),w(1,"svg",8),we(2,"path",20),D()()}if(t&2){let e=j();se("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("disabled",e._previousButtonsDisabled())("tabindex",e._previousButtonsDisabled()?-1:null),fe("aria-label",e._intl.firstPageLabel)}}function Eq(t,n){if(t&1){let e=Pt();w(0,"button",21),de("click",function(){$e(e);let r=j();return We(r._buttonClicked(r.getNumberOfPages()-1,r._nextButtonsDisabled()))}),ui(),w(1,"svg",8),we(2,"path",22),D()()}if(t&2){let e=j();se("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("disabled",e._nextButtonsDisabled())("tabindex",e._nextButtonsDisabled()?-1:null),fe("aria-label",e._intl.lastPageLabel)}}var Sw=(()=>{class t{changes=new te;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(e,i,r)=>{if(r==0||i==0)return`0 of ${r}`;r=Math.max(r,0);let a=e*i,o=a<r?Math.min(a+i,r):a+i;return`${a+1} \u2013 ${o} of ${r}`};static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Tq=50;var Iq=new W("MAT_PAGINATOR_DEFAULT_OPTIONS"),Xm=(()=>{class t{_intl=f(Sw);_changeDetectorRef=f(Ue);_formFieldAppearance;_pageSizeLabelId=f(pt).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new Fl(1);color;get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>Yt(i,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new ne;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){let e=this._intl,i=f(Iq,{optional:!0});if(this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){let{pageSize:r,pageSizeOptions:a,hidePageSize:o,showFirstLastButtons:s}=i;r!=null&&(this._pageSize=r),a!=null&&(this._pageSizeOptions=a),o!=null&&(this.hidePageSize=o),s!=null&&(this.show
7642FirstLastButtons=s)}this._formFieldAppearance=i?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let e=this.getNumberOfPages()-1;return this.pageIndex<e&&this.pageSize!=0}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(e){let i=this.pageIndex*this.pageSize,r=this.pageIndex;this.pageIndex=Math.floor(i/e)||0,this.pageSize=e,this._emitPageEvent(r)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:Tq),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((e,i)=>e-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(e){let i=this.pageIndex;e!==i&&(this.pageIndex=e,this._emitPageEvent(i))}_buttonClicked(e,i){i||this._navigate(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",Yt],length:[2,"length","length",Yt],pageSize:[2,"pageSize","pageSize",Yt],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",ie],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",ie],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",ie]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-atomic","true","aria-live","polite","role","status",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["aria-hidden","true",1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(i,r){i&1&&(w(0,"div",1)(1,"div",2),pe(2,kq,5,4,"div",3),w(3,"div",4)(4,"div",5),Q(5),D(),pe(6,Dq,3,5,"button",6),w(7,"button",7),de("click",function(){return r._buttonClicked(r.pageIndex-1,r._previousButtonsDisabled())}),ui(),w(8,"svg",8),we(9,"path",9),D()(),ja(),w(10,"button",10),de("click",function(){return r._buttonClicked(r.pageIndex+1,r._nextButtonsDisabled())}),ui(),w(11,"svg",8),we(12,"path",11),D()(),pe(13,Eq,3,5,"button",12),D()()()),i&2&&(T(2),ge(r.hidePageSize?-1:2),T(3),Jt(" ",r._intl.getRangeLabel(r.pageIndex,r.pageSize,r.length)," "),T(),ge(r.showFirstLastButtons?6:-1),T(),se("matTooltip",r._intl.previousPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("disabled",r._previousButtonsDisabled())("tabindex",r._previousButtonsDisabled()?-1:null),fe("aria-label",r._intl.previousPageLabel),T(3),se("matTooltip",r._intl.nextPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("disabled",r._nextButtonsDisabled())("tabindex",r._nextButtonsDisabled()?-1:null),fe("aria-label",r._intl.nextPageLabel),T(3),ge(r.showFirstLastButtons?13:-1))},dependencies:[oa,qm,vs,Za,Js],styles:[`.mat-mdc-paginator {
7643  display: block;
7644  -moz-osx-font-smoothing: grayscale;
7645  -webkit-font-smoothing: antialiased;
7646  color: var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));
7647  background-color: var(--mat-paginator-container-background-color, var(--mat-sys-surface));
7648  font-family: var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));
7649  line-height: var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));
7650  font-size: var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));
7651  font-weight: var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));
7652  letter-spacing: var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));
7653  --mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px);
7654  --mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px);
7655}
7656.mat-mdc-paginator .mat-mdc-select-value {
7657  font-size: var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size));
7658}
7659.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper {
7660  display: none;
7661}
7662.mat-mdc-paginator .mat-mdc-select {
7663  line-height: 1.5;
7664}
7665
7666.mat-mdc-paginator-outer-container {
7667  display: flex;
7668}
7669
7670.mat-mdc-paginator-container {
7671  display: flex;
7672  align-items: center;
7673  justify-content: flex-end;
7674  padding: 0 8px;
7675  flex-wrap: wrap;
7676  width: 100%;
7677  min-height: var(--mat-paginator-container-size, 56px);
7678}
7679
7680.mat-mdc-paginator-page-size {
7681  display: flex;
7682  align-items: baseline;
7683  margin-right: 8px;
7684}
7685[dir=rtl] .mat-mdc-paginator-page-size {
7686  margin-right: 0;
7687  margin-left: 8px;
7688}
7689
7690.mat-mdc-paginator-page-size-label {
7691  margin: 0 4px;
7692}
7693
7694.mat-mdc-paginator-page-size-select {
7695  margin: 0 4px;
7696  width: var(--mat-paginator-page-size-select-width, 84px);
7697}
7698
7699.mat-mdc-paginator-range-label {
7700  margin: 0 32px 0 24px;
7701}
7702
7703.mat-mdc-paginator-range-actions {
7704  display: flex;
7705  align-items: center;
7706}
7707
7708.mat-mdc-paginator-icon {
7709  display: inline-block;
7710  width: 28px;
7711  fill: var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant));
7712}
7713.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon {
7714  fill: var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
7715}
7716[dir=rtl] .mat-mdc-paginator-icon {
7717  transform: rotate(180deg);
7718}
7719
7720@media (forced-colors: active) {
7721  .mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,
7722  .mat-mdc-paginator-icon {
7723    fill: currentColor;
7724  }
7725  .mat-mdc-paginator-range-actions .mat-mdc-icon-button {
7726    outline: solid 1px;
7727  }
7728  .mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled] {
7729    color: GrayText;
7730  }
7731}
7732.mat-mdc-paginator-touch-target {
7733  display: var(--mat-paginator-touch-target-display, block);
7734  position: absolute;
7735  top: 50%;
7736  left: 50%;
7737  width: var(--mat-paginator-page-size-select-width, 84px);
7738  height: var(--mat-paginator-page-size-select-touch-target-height, 48px);
7739  background-color: transparent;
7740  transform: translate(-50%, -50%);
7741  cursor: pointer;
7742}
7743`],encapsulation:2,changeDetection:0})}return t})(),_P=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Qn,Ym,A0,Xm]})}return t})();var Aq=[[["caption"]],[["colgroup"],["col"]],"*"],Rq=["caption","colgroup, col","*"];function Pq(t,n){t&1&&_e(0,2)}function Fq(t,n){t&1&&(w(0,"thead",0),hi(1,1),D(),w(2,"tbody",0),hi(3,2)(4,3),D(),w(5,"tfoot",0),hi(6,4),D())}function Oq(t,n){t&1&&hi(0,1)(1,2)(2,3)(3,4)}var oo=new W("CDK_TABLE");var Jg=(()=>{class t{template=f(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),e_=(()=>{class t{template=f(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),yP=(()=>{class t{template=f(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})(),hl=(()=>{class t{_table=f(oo,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,r,a){if(i&1&&Tt(a,Jg,5)(a,e_,5)(a,yP,5),i&2){let o;ae(o=oe())&&(r.cell=o.first),ae(o=oe())&&(r.headerCell=o.first),ae(o=oe())&&(r.footerCell=o.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",ie],stickyEnd:[2,"stickyEnd","stickyEnd",ie]}})}return t})(),Zg=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}},xP=(()=>{class t extends Zg{constructor(){super(f(hl),f(he))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Ie]})}return t})();var wP=(()=>{class t extends Zg{constructor(){let e=f(hl),i=f(he);super(e,i);let r=e._table?._getCellRole();r&&i.nativeElement.setAttribute("role",r)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Ie]})}return t})();var Dw=(()=>{class t{template=f(At);_differs=f(Xo);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof Qm?e.headerCell.template:this instanceof Ew?e.footerCell.template:e.cell.template}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,features:[lt]})}return t})(),Qm=(()=>{class t extends Dw{_table=f(oo,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(f(At),f(Xo))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",ie]},features:[Ie,lt]})}return t})(),Ew=(()=>{class t extends Dw{_table=f(oo,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(f(At),f(Xo))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",ie]},features:[Ie,lt]})}return t})(),t_=(()=>{class t extends Dw{_table=f(oo,{optional:!0});when;constructor(){super(f(At),f(Xo))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[Ie]})}return t})(),Cc=(()=>{class t{_viewContainer=f(Zt);cells;context;static mostRecentCellOutlet=null;constructor(){t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkCellOutlet",""]]})}return t})(),Tw=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&hi(0,0)},dependencies:[Cc],encapsulation:2})}return t})();var Iw=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&hi(0,0)},dependencies:[Cc],encapsulation:2})}return t})(),CP=(()=>{class t{templateRef=f(At);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["ng-template","cdkNoDataRow",""]]})}return t})(),vP=["top","bottom","left","right"],kw=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(n=>this._updateCachedSizes(n)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(n,e,i=!0,r=!0,a,o,s){this._isNativeHtmlTable=n,this._stickCellCss=e,this._isBrowser=i,this._needsPositionStickyOnElement=r,this.direction=a,this._positionListener=o,this._tableInjector=s,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(n);let i=[];for(let r of n)r.nodeType===r.ELEMENT_NODE&&i.push(r,...Array.from(r.children));Nt({write:()=>{for(let r of i)this._removeStickyStyle(r,e)}},{injector:this._tableInjector})}updateStickyColumns(n,e,i,r=!0,a=!0){if(!n.length||!this._isBrowser||!(e.some(p=>p)||i.some(p=>p))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let o=n[0],s=o.children.length,l=this.direction==="rtl",c=l?"right":"left",d=l?"left"
7743:"right",u=e.lastIndexOf(!0),h=i.indexOf(!0),m,g,_;a&&this._updateStickyColumnReplayQueue({rows:[...n],stickyStartStates:[...e],stickyEndStates:[...i]}),Nt({earlyRead:()=>{m=this._getCellWidths(o,r),g=this._getStickyStartColumnPositions(m,e),_=this._getStickyEndColumnPositions(m,i)},write:()=>{for(let p of n)for(let v=0;v<s;v++){let b=p.children[v];e[v]&&this._addStickyStyle(b,c,g[v],v===u),i[v]&&this._addStickyStyle(b,d,_[v],v===h)}this._positionListener&&m.some(p=>!!p)&&(this._positionListener.stickyColumnsUpdated({sizes:u===-1?[]:m.slice(0,u+1).map((p,v)=>e[v]?p:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:h===-1?[]:m.slice(h).map((p,v)=>i[v+h]?p:null).reverse()}))}},{injector:this._tableInjector})}stickRows(n,e,i){if(!this._isBrowser)return;let r=i==="bottom"?n.slice().reverse():n,a=i==="bottom"?e.slice().reverse():e,o=[],s=[],l=[];Nt({earlyRead:()=>{for(let c=0,d=0;c<r.length;c++){if(!a[c])continue;o[c]=d;let u=r[c];l[c]=this._isNativeHtmlTable?Array.from(u.children):[u];let h=this._retrieveElementSize(u).height;d+=h,s[c]=h}},write:()=>{let c=a.lastIndexOf(!0);for(let d=0;d<r.length;d++){if(!a[d])continue;let u=o[d],h=d===c;for(let m of l[d])this._addStickyStyle(m,i,u,h)}i==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:s,offsets:o,elements:l}):this._positionListener?.stickyFooterRowsUpdated({sizes:s,offsets:o,elements:l})}},{injector:this._tableInjector})}updateStickyFooterContainer(n,e){this._isNativeHtmlTable&&Nt({write:()=>{let i=n.querySelector("tfoot");i&&(e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(n,e){if(!n.classList.contains(this._stickCellCss))return;for(let r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);vP.some(r=>e.indexOf(r)===-1&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){let e={top:100,bottom:10,left:1,right:1},i=0;for(let r of vP)n.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let i=[],r=n.children;for(let a=0;a<r.length;a++){let o=r[a];i.push(this._retrieveElementSize(o).width)}return this._cachedCellWidths=i,i}_getStickyStartColumnPositions(n,e){let i=[],r=0;for(let a=0;a<n.length;a++)e[a]&&(i[a]=r,r+=n[a]);return i}_getStickyEndColumnPositions(n,e){let i=[],r=0;for(let a=n.length;a>0;a--)e[a]&&(i[a]=r,r+=n[a]);return i}_retrieveElementSize(n){let e=this._elemSizeCache.get(n);if(e)return e;let i=n.getBoundingClientRect(),r={width:i.width,height:i.height};return this._resizeObserver&&(this._elemSizeCache.set(n,r),this._resizeObserver.observe(n,{box:"border-box"})),r}_updateStickyColumnReplayQueue(n){this._removeFromStickyColumnReplayQueue(n.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(n)}_removeFromStickyColumnReplayQueue(n){let e=new Set(n);for(let i of this._updatedStickyColumnsParamsToReplay)i.rows=i.rows.filter(r=>!e.has(r));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(i=>!!i.rows.length)}_updateCachedSizes(n){let e=!1;for(let i of n){let r=i.borderBoxSize?.length?{width:i.borderBoxSize[0].inlineSize,height:i.borderBoxSize[0].blockSize}:{width:i.contentRect.width,height:i.contentRect.height};r.width!==this._elemSizeCache.get(i.target)?.width&&Nq(i.target)&&(e=!0),this._elemSizeCache.set(i.target,r)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let i of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(i.rows,i.stickyStart
7743States,i.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}};function Nq(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(n=>t.classList.contains(n))}var Km=new W("STICKY_POSITIONING_LISTENER");var Mw=(()=>{class t{viewContainer=f(Zt);elementRef=f(he);constructor(){let e=f(oo);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","rowOutlet",""]]})}return t})(),Aw=(()=>{class t{viewContainer=f(Zt);elementRef=f(he);constructor(){let e=f(oo);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),Rw=(()=>{class t{viewContainer=f(Zt);elementRef=f(he);constructor(){let e=f(oo);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),Pw=(()=>{class t{viewContainer=f(Zt);elementRef=f(he);constructor(){let e=f(oo);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})(),Fw=(()=>{class t{_differs=f(Xo);_changeDetectorRef=f(Ue);_elementRef=f(he);_dir=f(Vt,{optional:!0});_platform=f(ht);_viewRepeater;_viewportRuler=f(Mn);_injector=f(He);_virtualScrollViewport=f(yT,{optional:!0,host:!0});_positionListener=f(Km,{optional:!0})||f(Km,{optional:!0,skipSelf:!0});_document=f(Ve);_data;_renderedRange;_onDestroy=new te;_renderRows;_renderChangeSubscription=null;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef=null;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow=null;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_headerRowStickyUpdates=new te;_footerRowStickyUpdates=new te;_disableVirtualScrolling=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&(this._switchDataSource(e),this._changeDetectorRef.markForCheck())}_dataSource;_dataSourceChanges=new te;_dataStream=new te;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._virtualScrollEnabled()?!0:this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;recycleRows=!1;contentChanged=new ne;viewChange=new Hi({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;constructor(){f(new gn("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((i,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(Ne(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._viewRepeater=this.recycleRows||this._virtualScrollEnabled()?new C0:new Z0,this._virtualScrollEnabled()&&this._setupVirtualScrolling(this._virtualScrollViewport),this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e
7743=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._headerRowStickyUpdates.complete(),this._footerRowStickyUpdates.complete(),this._onDestroy.next(),this._onDestroy.complete(),tm(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,a,o)=>this._getEmbeddedViewArgs(r.item,o),r=>r.item.data,r=>{r.operation===Ja.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let a=i.get(r.currentIndex);a.context.$implicit=r.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=bP(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none")}let i=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=bP(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none")}let i=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this.fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((a,o)=>{this._addStickyColumnStyles([a],this._headerRowDefs[o])}),this._rowDefs.forEach(a=>{let o=[];for(let s=0;s<i.length;s++)this._renderRows[s].rowDef===a&&o.push(i[s]);this._addStickyColumnStyles(o,a)}),r.forEach((a,o)=>{this._addStickyColumnStyles([a],this._footerRowDefs[o])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}stickyColumnsUpdated(e){this._positionListener?.stickyColumnsUpdated(e)}stickyEndColumnsUpdated(e){this._positionListener?.stickyEndColumnsUpdated(e)}stickyHeaderRowsUpdated(e){this._headerRowStickyUpdates.next(e),this._positionListener?.stickyHeaderRowsUpdated(e)}stickyFooterRowsUpdated(e){this._footerRowStickyUpdates.next(e),this._positionListener?.stickyFooterRowsUpdated(e)}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){if(!Array.isArray(this._data)||!this._renderedRange)return[];let e=[],i=Math.min(this._data.length,this._renderedRange.end),r=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let a=this._renderedRange.start;a<i;a++){let o=this._data[a],s=this._getRenderRowsForData(o,a,r.get(o));this._cachedRenderRowsMap.has(o)||this._cachedRenderRowsMap.set(o,new WeakMap);for(let l=0;l<s.length;l++){let c=s[l],d=this._cachedRenderRowsMap.get(c.data);d.has(c.rowDef)?d.get(c.rowDef).push(c):d.set(c.rowDef,[c]),e.push(c)}}return e}_getRenderRowsForData(e,i,r){return this._getRowDefs(e,i).map(o=>{let s=r&&r.has(o)?r.get(o):[];if(s.length){let l=s.shift();return l.dataIndex=i,l}else return{data:e,rowDef:o,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Qg(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEac
7743h(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Qg(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Qg(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Qg(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(o,s)=>{let l=!!s.getColumnsDiff();return o||l},i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let a=this._footerRowDefs.reduce(e,!1);return a&&this._forceRenderFooterRows(),i||r||a}_switchDataSource(e){this._data=[],tm(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;tm(this.dataSource)?e=this.dataSource.connect(this):mo(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Be(this.dataSource)),this._renderChangeSubscription=Wo([e,this.viewChange]).pipe(Ne(this._onDestroy)).subscribe(([i,r])=>{this._data=i||[],this._renderedRange=r,this._dataStream.next(i),this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){let r=Array.from(i?.columns||[]).map(s=>{let l=this._columnDefsByName.get(s);return l}),a=r.map(s=>s.sticky),o=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,a,o,!this.fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let i=[];for(let r=0;r<e.viewContainer.length;r++){let a=e.viewContainer.get(r);i.push(a.rootNodes[0])}return i}_getRowDefs(e,i){if(this._rowDefs.length===1)return[this._rowDefs[0]];let r=[];if(this.multiTemplateDataRows)r=this._rowDefs.filter(a=>!a.when||a.when(i,e));else{let a=this._rowDefs.find(o=>o.when&&o.when(i,e))||this._defaultRowDef;a&&r.push(a)}return r.length,r}_getEmbeddedViewArgs(e,i){let r=e.rowDef,a={$implicit:e.data};return{templateRef:r.template,context:a,index:i}}_renderRow(e,i,r,a={}){let o=e.viewContainer.createEmbeddedView(i.template,a,r);return this._renderCellTemplateForItem(i,a),o}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))Cc.mostRecentCellOutlet&&Cc.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i<r;i++){let o=e.get(i).context;o.count=r,o.first=i===0,o.last=i===r-1,o.even=i%2===0,o.odd=!o.even,this.multiTemplateDataRows?(o.dataIndex=this._renderRows[i].dataIndex,o.renderIndex=i):o.index=this._renderRows[i].dataIndex}}_getCellTemplates(e){return!e||!e.columns?[]:Array.from(e.columns,i=>{let r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr",i=this._injector;this._stickyStyler=new kw(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this,i),(this._dir?this._dir.change:Be()).pipe(Ne(this._onDestroy)).subscribe(r=>{this._stickyStyler.direction=r,this.updateStickyColumnStyles()})}_setupVirtualScrolling(e){let i=typeof requestAnimationFrame<"u"?oh:jv;this.viewChange.next({start:0,end:0}),e.renderedRangeStream.pipe(Ol(0,i),Ne(this._onDestroy)).subscribe(this.viewChange),e.attach({dataStream:this._dataStream,measureRangeSize:(r,a)=>this._measureRangeSize(r,a)}),Wo([e.renderedContentOffset,this._headerRowStickyUpdates]).pipe(Ne(this._onDestroy)).subscribe(([r,a])=>
7743{if(!(!a.sizes||!a.offsets||!a.elements))for(let o=0;o<a.elements.length;o++){let s=a.elements[o];if(s){let l=a.offsets[o],c=r!==0?Math.max(r-l,l):-l;for(let d of s)d.style.top=`${-c}px`}}}),Wo([e.renderedContentOffset,this._footerRowStickyUpdates]).pipe(Ne(this._onDestroy)).subscribe(([r,a])=>{if(!(!a.sizes||!a.offsets||!a.elements))for(let o=0;o<a.elements.length;o++){let s=a.elements[o];if(s)for(let l of s)l.style.bottom=`${r+a.offsets[o]}px`}})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(i){let a=r.createEmbeddedView(e.templateRef),o=a.rootNodes[0];if(a.rootNodes.length===1&&o?.nodeType===this._document.ELEMENT_NODE){o.setAttribute("role","row"),o.classList.add(...e._contentClassNames);let s=o.querySelectorAll(e._cellSelector);for(let l=0;l<s.length;l++)s[l].classList.add(...e._cellClassNames)}}else r.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}_measureRangeSize(e,i){if(e.start>=e.end||i!=="vertical")return 0;let r=this.viewChange.value,a=this._rowOutlet.viewContainer;e.start<r.start||e.end>r.end;let o=e.start-r.start,s=e.end-e.start,l,c;for(let h=0;h<s;h++){let m=a.get(h+o);if(m&&m.rootNodes.length){l=c=m.rootNodes[0];break}}for(let h=s-1;h>-1;h--){let m=a.get(h+o);if(m&&m.rootNodes.length){c=m.rootNodes[m.rootNodes.length-1];break}}let d=l?.getBoundingClientRect?.(),u=c?.getBoundingClientRect?.();return d&&u?u.bottom-d.top:0}_virtualScrollEnabled(){return!this._disableVirtualScrolling&&this._virtualScrollViewport!=null}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,r,a){if(i&1&&Tt(a,CP,5)(a,hl,5)(a,t_,5)(a,Qm,5)(a,Ew,5),i&2){let o;ae(o=oe())&&(r._noDataRow=o.first),ae(o=oe())&&(r._contentColumnDefs=o),ae(o=oe())&&(r._contentRowDefs=o),ae(o=oe())&&(r._contentHeaderRowDefs=o),ae(o=oe())&&(r._contentFooterRowDefs=o)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,r){i&2&&ce("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",ie],fixedLayout:[2,"fixedLayout","fixedLayout",ie],recycleRows:[2,"recycleRows","recycleRows",ie]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Re([{provide:oo,useExisting:t},{provide:Km,useValue:null}])],ngContentSelectors:Rq,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Ge(Aq),_e(0),_e(1,1),pe(2,Pq,1,0),pe(3,Fq,7,0)(4,Oq,4,0)),i&2&&(T(2),ge(r._isServer?2:-1),T(),ge(r._isNativeHtmlTable?3:4))},dependencies:[Aw,Mw,Pw,Rw],styles:[`.cdk-table-fixed-layout {
7744  table-layout: fixed;
7745}
7746`],encapsulation:2})}return t})();function Qg(t,n){return t.concat(Array.from(n))}function bP(t,n){let e=n.toUpperCase(),i=t.viewContainer.element.nativeElement;for(;i;){let r=i.nodeType===1?i.nodeName:null;if(r===e)return i;if(r==="TABLE")break;i=i.parentNode}return null}var SP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[im]})}return t})();var Lq=["mat-sort-header",""],Bq=["*",[["","matSortHeaderIcon",""]]],Vq=["*","[matSortHeaderIcon]"];function Uq(t,n){t&1&&(ui(),Rt(0,"svg",3),Wi(1,"path",4),Lt())}function zq(t,n){t&1&&(Rt(0,"div",2),_e(1,1,null,Uq,2,0),Lt())}var kP=new W("MAT_SORT_DEFAULT_OPTIONS"),i_=(()=>{class t{_defaultOptions;_initializedStream=new Fl(1);sortables=new Map;_stateChanges=new te;active;start="asc";get direction(){return this._direction}set direction(e){this._direction=e}_direction="";disableClear;disabled=!1;sortChange=new ne;initialized=this._initializedStream;constructor(e){this._defaultOptions=e}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let i=e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,r=jq(e.start||this.start,i),a=r.indexOf(this.direction)+1;return a>=r.length&&(a=0),r[a]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(i){return new(i||t)(Qe(kP,8))};static \u0275dir=G({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",ie],disabled:[2,"matSortDisabled","disabled",ie]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[lt]})}return t})();function jq(t,n){let e=["asc","desc"];return t=="desc"&&e.reverse(),n||e.push(""),e}var DP=(()=>{class t{_sort=f(i_,{optional:!0});_columnDef=f(hl,{optional:!0});_changeDetectorRef=f(Ue);_focusMonitor=f(Ii);_elementRef=f(he);_ariaDescriber=f(p0,{optional:!0});_renderChanges;_animationsDisabled=gt();_recentlyCleared=ke(null);_sortButton;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}_sortActionDescription="Sort";disableClear;constructor(){f(wt).load(Ci);let e=f(kP,{optional:!0});this._sort,e?.arrowPosition&&(this.arrowPosition=e?.arrowPosition)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=Gt(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>{Promise.resolve().then(()=>this._recentlyCleared.set(null))})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._renderChanges?.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_toggleOnInteraction(){if(!this._isDisabled()){let e=this._isSorted(),i=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(e&&!this._isSorted()?i:null)}}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(i,r){i&1&&de("click",function(){return r._toggleOnInteraction()})("keydown",function(o){return r._handleKeydown(o)})("mouseleave",function(){return r._recentlyCleared.set(null)}),i&2&&(fe("aria-sort",r._getAriaSortAttribute()),ce("mat-sort-header-disabled",r._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",ie],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",ie]},exportAs:["matSortHeader"],attrs:Lq,ngContentSelectors:Vq,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(i,r){i&1&&(Ge(Bq),Rt(0,"div",0)(1,"div",1),_e(2),Lt(),pe(3,zq,3,0,"div",2),Lt()),i&2&&(ce("mat-sort-header-sorted",r._isSorted())("mat-sort-header-position-before",r.arrowPosition==="before")("mat-sort-header-descending",r._sort.direction==="desc")("mat-sort-header-ascending",r._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",r._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",r._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",r._animationsDisabled),fe("tabindex",r._isDisabled()?null:0)("role",r._isDisabled()?null:"button"),T(3),ge(r._renderArrow()?3:-1))},styles:[`.mat-sort-header {
7747  cursor: pointer;
7748}
7749
7750.mat-sort-header-disabled {
7751  cursor: default;
7752}
7753
7754.mat-sort-header-container {
7755  display: flex;
7756  align-items: center;
7757  letter-spacing: normal;
7758  outline: 0;
7759}
7760[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container, [mat-sort-header].cdk-program-focused .mat-sort-header-container {
7761  border-bottom: solid 1px currentColor;
7762}
7763.mat-sort-header-container::before {
7764  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
7765}
7766
7767.mat-sort-header-content {
7768  display: flex;
7769  align-items: center;
7770}
7771
7772.mat-sort-header-position-before {
7773  flex-direction: row-reverse;
7774}
7775
7776@keyframes _mat-sort-header-recently-cleared-ascending {
7777  from {
7778    transform: translateY(0);
7779    opacity: 1;
7780  }
7781  to {
7782    transform: translateY(-25%);
7783    opacity: 0;
7784  }
7785}
7786@keyframes _mat-sort-header-recently-cleared-descending {
7787  from {
7788    transform: translateY(0) rotate(180deg);
7789    opacity: 1;
7790  }
7791  to {
7792    transform: translateY(25%) rotate(180deg);
7793    opacity: 0;
7794  }
7795}
7796.mat-sort-header-arrow {
7797  height: 12px;
7798  width: 12px;
7799  position: relative;
7800  transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1), opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);
7801  opacity: 0;
7802  overflow: visible;
7803  color: var(--mat-sort-arrow-color, var(--mat-sys-on-surface));
7804}
7805.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow, .mat-sort-header.cdk-program-focused .mat-sort-header-arrow, .mat-sort-header:hover .mat-sort-header-arrow {
7806  opacity: 0.54;
7807}
7808.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow {
7809  opacity: 1;
7810}
7811.mat-sort-header-descending .mat-sort-header-arrow {
7812  transform: rotate(180deg);
7813}
7814.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow {
7815  transform: translateY(-25%);
7816}
7817.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow {
7818  transition: none;
7819  animation: _mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
7820}
7821.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow {
7822  transition: none;
7823  animation: _mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
7824}
7825.mat-sort-header-animations-disabled .mat-sort-header-arrow {
7826  transition-duration: 0ms;
7827  animation-duration: 0ms;
7828}
7829.mat-sort-header-arrow > svg, .mat-sort-header-arrow [matSortHeaderIcon] {
7830  width: 24px;
7831  height: 24px;
7832  fill: currentColor;
7833  position: absolute;
7834  top: 50%;
7835  left: 50%;
7836  margin: -12px 0 0 -12px;
7837  transform: translateZ(0);
7838}
7839.mat-sort-header-arrow, [dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow {
7840  margin: 0 0 0 6px;
7841}
7842.mat-sort-header-position-before .mat-sort-header-arrow, [dir=rtl] .mat-sort-header-arrow {
7843  margin: 0 6px 0 0;
7844}
7845`],encapsulation:2,changeDetection:0})}return t})(),EP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Ye]})}return t})();var $q=[[["caption"]],[["colgroup"],["col"]],"*"],Wq=["caption","colgroup, col","*"];function Gq(t,n){t&1&&_e(0,2)}function qq(t,n){t&1&&(w(0,"thead",0),hi(1,1),D(),w(2,"tbody",2),hi(3,3)(4,4),D(),w(5,"tfoot",0),hi(6,5),D())}function Yq(t,n){t&1&&hi(0,1)(1,3)(2,4)(3,5)}var TP=(()=>{class t extends Fw{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=ue({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mat-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[Re([{provide:Fw,useExisting:t},{provide:oo,useExisting:t},{provide:Km,useValue:null}]),Ie],ngContentSelectors:Wq,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Ge($q),_e(0),_e(1,1),pe(2,Gq,1,0),pe(3,qq,7,0)(4,Yq,4,0)),i&2&&(T(2),ge(r._isServer?2:-1),T(),ge(r._isNativeHtmlTable?3:4))},dependencies:[Aw,Mw,Pw,Rw],styles:[`.mat-mdc-table-sticky {
7846  position: sticky !important;
7847}
7848
7849mat-table {
7850  display: block;
7851}
7852
7853mat-header-row {
7854  min-height: var(--mat-table-header-container-height, 56px);
7855}
7856
7857mat-row {
7858  min-height: var(--mat-table-row-item-container-height, 52px);
7859}
7860
7861mat-footer-row {
7862  min-height: var(--mat-table-footer-container-height, 52px);
7863}
7864
7865mat-row, mat-header-row, mat-footer-row {
7866  display: flex;
7867  border-width: 0;
7868  border-bottom-width: 1px;
7869  border-style: solid;
7870  align-items: center;
7871  box-sizing: border-box;
7872}
7873
7874mat-cell:first-of-type, mat-header-cell:first-of-type, mat-footer-cell:first-of-type {
7875  padding-left: 24px;
7876}
7877[dir=rtl] mat-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type) {
7878  padding-left: 0;
7879  padding-right: 24px;
7880}
7881mat-cell:last-of-type, mat-header-cell:last-of-type, mat-footer-cell:last-of-type {
7882  padding-right: 24px;
7883}
7884[dir=rtl] mat-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type) {
7885  padding-right: 0;
7886  padding-left: 24px;
7887}
7888
7889mat-cell, mat-header-cell, mat-footer-cell {
7890  flex: 1;
7891  display: flex;
7892  align-items: center;
7893  overflow: hidden;
7894  word-wrap: break-word;
7895  min-height: inherit;
7896}
7897
7898.mat-mdc-table {
7899  min-width: 100%;
7900  border: 0;
7901  border-spacing: 0;
7902  table-layout: auto;
7903  white-space: normal;
7904  background-color: var(--mat-table-background-color, var(--mat-sys-surface));
7905}
7906
7907.mat-table-fixed-layout {
7908  table-layout: fixed;
7909}
7910
7911.mdc-data-table__cell {
7912  box-sizing: border-box;
7913  overflow: hidden;
7914  text-align: start;
7915  text-overflow: ellipsis;
7916}
7917
7918.mdc-data-table__cell,
7919.mdc-data-table__header-cell {
7920  padding: 0 16px;
7921}
7922
7923.mat-mdc-header-row {
7924  -moz-osx-font-smoothing: grayscale;
7925  -webkit-font-smoothing: antialiased;
7926  height: var(--mat-table-header-container-height, 56px);
7927  color: var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
7928  font-family: var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));
7929  line-height: var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));
7930  font-size: var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));
7931  font-weight: var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500));
7932}
7933
7934.mat-mdc-row {
7935  height: var(--mat-table-row-item-container-height, 52px);
7936  color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
7937}
7938
7939.mat-mdc-row,
7940.mdc-data-table__content {
7941  -moz-osx-font-smoothing: grayscale;
7942  -webkit-font-smoothing: antialiased;
7943  font-family: var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));
7944  line-height: var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));
7945  font-size: var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));
7946  font-weight: var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight));
7947}
7948
7949.mat-mdc-footer-row {
7950  -moz-osx-font-smoothing: grayscale;
7951  -webkit-font-smoothing: antialiased;
7952  height: var(--mat-table-footer-con
7952tainer-height, 52px);
7953  color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
7954  font-family: var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));
7955  line-height: var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));
7956  font-size: var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));
7957  font-weight: var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));
7958  letter-spacing: var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking));
7959}
7960
7961.mat-mdc-header-cell {
7962  border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));
7963  border-bottom-width: var(--mat-table-row-item-outline-width, 1px);
7964  border-bottom-style: solid;
7965  letter-spacing: var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));
7966  font-weight: inherit;
7967  line-height: inherit;
7968  box-sizing: border-box;
7969  text-overflow: ellipsis;
7970  overflow: hidden;
7971  outline: none;
7972  text-align: start;
7973}
7974.mdc-data-table__row:last-child > .mat-mdc-header-cell {
7975  border-bottom: none;
7976}
7977
7978.mat-mdc-cell {
7979  border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));
7980  border-bottom-width: var(--mat-table-row-item-outline-width, 1px);
7981  border-bottom-style: solid;
7982  letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));
7983  line-height: inherit;
7984}
7985.mdc-data-table__row:last-child > .mat-mdc-cell {
7986  border-bottom: none;
7987}
7988
7989.mat-mdc-footer-cell {
7990  letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));
7991}
7992
7993mat-row.mat-mdc-row,
7994mat-header-row.mat-mdc-header-row,
7995mat-footer-row.mat-mdc-footer-row {
7996  border-bottom: none;
7997}
7998
7999.mat-mdc-table tbody,
8000.mat-mdc-table tfoot,
8001.mat-mdc-table thead,
8002.mat-mdc-cell,
8003.mat-mdc-footer-cell,
8004.mat-mdc-header-row,
8005.mat-mdc-row,
8006.mat-mdc-footer-row,
8007.mat-mdc-table .mat-mdc-header-cell {
8008  background: inherit;
8009}
8010
8011.mat-mdc-table mat-header-row.mat-mdc-header-row,
8012.mat-mdc-table mat-row.mat-mdc-row,
8013.mat-mdc-table mat-footer-row.mat-mdc-footer-cell {
8014  height: unset;
8015}
8016
8017mat-header-cell.mat-mdc-header-cell,
8018mat-cell.mat-mdc-cell,
8019mat-footer-cell.mat-mdc-footer-cell {
8020  align-self: stretch;
8021}
8022`],encapsulation:2})}return t})(),IP=(()=>{class t extends Jg{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","matCellDef",""]],features:[Re([{provide:Jg,useExisting:t}]),Ie]})}return t})(),MP=(()=>{class t extends e_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","matHeaderCellDef",""]],features:[Re([{provide:e_,useExisting:t}]),Ie]})}return t})();var AP=(()=>{class t extends hl{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[Re([{provide:hl,useExisting:t}]),Ie]})}return t})(),RP=(()=>{class t extends xP{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Ie]})}return t})();var PP=(()=>{class t extends wP{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Ie]})}return t})();var FP=(()=>{class t extends Qm{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",ie]},features:[Re([{provide:Qm,useExisting:t}]),Ie]})}return t})();var OP=(()=>{class t extends t_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[Re([{provide:t_,useExisting:t}]),Ie]})}return t})(),NP=(()=>{class t extends Tw{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=ue({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Re([{provide:Tw,useExisting:t}]),Ie],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&hi(0,0)},dependencies:[Cc],encapsulation:2})}return t})();var LP=(()=>{class t extends Iw{static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=ue({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Re([{provide:Iw,useExisting:t}]),Ie],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&hi(0,0)},dependencies:[Cc],encapsulation:2})}return t})();var BP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[SP,Ye]})}return t})();var of={};
8022of.version="0.20.3";var fa=1200,Ru=1252,ii,Kq=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],Qq={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},PF=function(t){Kq.indexOf(t)!=-1&&(Ru=Qq[0]=t)};function Zq(){PF(1252)}var sf=function(t){fa=t,PF(t)};function Jq(){sf(1200),Zq()}function eY(t){for(var n=[],e=0;e<t.length>>1;++e)n[e]=String.fromCharCode(t.charCodeAt(2*e+1)+(t.charCodeAt(2*e)<<8));return n.join("")}var n_=function(n){return String.fromCharCode(n)},VP=function(n){return String.fromCharCode(n)};var Fo=null,UP=!0,rr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function h_(t){for(var n="",e=0,i=0,r=0,a=0,o=0,s=0,l=0,c=0;c<t.length;)e=t.charCodeAt(c++),a=e>>2,i=t.charCodeAt(c++),o=(e&3)<<4|i>>4,r=t.charCodeAt(c++),s=(i&15)<<2|r>>6,l=r&63,isNaN(i)?s=l=64:isNaN(r)&&(l=64),n+=rr.charAt(a)+rr.charAt(o)+rr.charAt(s)+rr.charAt(l);return n}function tY(t){for(var n="",e=0,i=0,r=0,a=0,o=0,s=0,l=0,c=0;c<t.length;)e=t.charCodeAt(c++),e>255&&(e=95),a=e>>2,i=t.charCodeAt(c++),i>255&&(i=95),o=(e&3)<<4|i>>4,r=t.charCodeAt(c++),r>255&&(r=95),s=(i&15)<<2|r>>6,l=r&63,isNaN(i)?s=l=64:isNaN(r)&&(l=64),n+=rr.charAt(a)+rr.charAt(o)+rr.charAt(s)+rr.charAt(l);return n}function iY(t){for(var n="",e=0,i=0,r=0,a=0,o=0,s=0,l=0,c=0;c<t.length;)e=t[c++],a=e>>2,i=t[c++],o=(e&3)<<4|i>>4,r=t[c++],s=(i&15)<<2|r>>6,l=r&63,isNaN(i)?s=l=64:isNaN(r)&&(l=64),n+=rr.charAt(a)+rr.charAt(o)+rr.charAt(s)+rr.charAt(l);return n}function fl(t){var n="",e=0,i=0,r=0,a=0,o=0,s=0,l=0;if(t.slice(0,5)=="data:"){var c=t.slice(0,1024).indexOf(";base64,");c>-1&&(t=t.slice(c+8))}t=t.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<t.length;)a=rr.indexOf(t.charAt(c++)),o=rr.indexOf(t.charAt(c++)),e=a<<2|o>>4,n+=String.fromCharCode(e),s=rr.indexOf(t.charAt(c++)),i=(o&15)<<4|s>>2,s!==64&&(n+=String.fromCharCode(i)),l=rr.indexOf(t.charAt(c++)),r=(s&3)<<6|l,l!==64&&(n+=String.fromCharCode(r));return n}var di=(function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node})(),Lo=(function(){if(typeof Buffer<"u"){var t=!Buffer.from;if(!t)try{Buffer.from("foo","utf8")}catch(n){t=!0}return t?function(n,e){return e?new Buffer(n,e):new Buffer(n)}:Buffer.from.bind(Buffer)}return function(){}})(),lf=(function(){if(typeof Buffer>"u")return!1;var t=Lo([65,0]);if(!t)return!1;var n=t.toString("utf16le");return n.length==1})();function Ec(t){return di?Buffer.alloc?Buffer.alloc(t):new Buffer(t):typeof Uint8Array<"u"?new Uint8Array(t):new Array(t)}function zP(t){return di?Buffer.allocUnsafe?Buffer.allocUnsafe(t):new Buffer(t):typeof Uint8Array<"u"?new Uint8Array(t):new Array(t)}var ha=function(n){return di?Lo(n,"binary"):n.split("").map(function(e){return e.charCodeAt(0)&255})};function I_(t){if(typeof ArrayBuffer>"u")return ha(t);for(var n=new ArrayBuffer(t.length),e=new Uint8Array(n),i=0;i!=t.length;++i)e[i]=t.charCodeAt(i)&255;return n}function Tc(t){if(Array.isArray(t))return t.map(function(i){return String.fromCharCode(i)}).join("");for(var n=[],e=0;e<t.length;++e)n[e]=String.fromCharCode(t[e]);return n.join("")}function nY(t){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(t)}var ln=di?function(t){return Buffer.concat(t.map(function(n){return Buffer.isBuffer(n)?n:Lo(n)}))}:function(t){if(typeof Uint8Array<"u"){var n=0,e=0;for(n=0;n<t.length;++n)e+=t[n].length;var i=new Uint8Array(e),r=0;for(n=0,e=0;n<t.length;e+=r,++n)r=t[n].length,t[n]instanceof Uint8Array?i.set(t[n],e):typeof t[n]=="string"?i.set(new Uint8Array(ha(t[n])),e):i.set(new Uint8Array(t[n]),e);return i}return[].concat.apply([],t.map(function(a){return Array.isArray(a)?a:[].slice.call(a)}))};function rY(t){for(var n=[],e=0,i=t.length+250,r=Ec(t.length+255),a=0;a<t.length;++a){var o=t.charCodeAt(a);if(o<128)r[e++]=o;else if(o<2048)r[e++]=192|o>>6&31,r[e++]=128|o&63;else if(o>=55296&&o<57344){o=(o&1023)+64;var s=t.charCodeAt(++a)&1023;r[e++]=240|o>>8&7,r[e++]=128|o>>2&63,r[e++]=128|s>>6&15|(o&3)<<4,r[e++]=128|s&63}else r[e++]=224|o>>12&15,r[e++]=128|o>>6&63,r[e++]=128|o&63;e>i&&(n.push(r.slice(0,e)),e=0,r=Ec(65535),i=65530)}return n.push(r.slice(0,e)),ln(n)}var Su=/\u0000/g,r_=/[\u0001-\u0006]/g;function ku(t){for(var n="",e=t.length-1;e>=0;)n+=t.charAt(e--);return n}function lo(t,n){var e=""+t;return e.length>=n?e:Ui("0",n-e.length)+e}function iC(t,n){var e=""+t;return e.length>=n?e:Ui(" ",n-e.length)+e}function m_(t,n){var e=""+t;return e.length>=n?e:e+Ui(" ",n-e.length)}function aY(t,n){var e=""+Math.round(t);return e.length>=n?e:Ui("0",n-e.length)+e}function oY(t,n){var e=""+t;return e.length>=n?e:Ui("0",n-e.length)+e}var jP=Math.pow(2,32);function xu(t,n){if(t>jP||t<-jP)return aY(t,n);var e=Math.round(t);return oY(e,n)}function f_(t,n){return n=n||0,t.length>=7+n&&(t.charCodeAt(n)|32)===103&&(t.charCodeAt(n+1)|32)===101&&(t.charCodeAt(n+2)|32)===110&&(t.charCodeAt(n+3)|32)===101&&(t.charCodeAt(n+4)|32)===114&&(t.charCodeAt(n+5)|32)===97&&(t.charCodeAt(n+6)|32)===108}var HP=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],Ow=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function sY(t){return t||(t={}),t[0]="General",t[1]="0",t[2]="0.00",t[3]="#,##0",t[4]="#,##0.00",t[9]="0%",t[10]="0.00%",t[11]="0.00E+00",t[12]="# ?/?",t[13]="# ??/??",t[14]="m/d/yy",t[15]="d-mmm-yy",t[16]="d-mmm",t[17]="mmm-yy",t[18]="h:mm AM/PM",t[19]="h:mm:ss AM/PM",t[20]="h:mm",t[21]="h:mm:ss",t[22]="m/d/yy h:mm",t[37]="#,##0 ;(#,##0)",t[38]="#,##0 ;[Red](#,##0)",t[39]="#,##0.00;(#,##0.00)",t[40]="#,##0.00;[Red](#,##0.00)",t[45]="mm:ss",t[46]="[h]:mm:ss",t[47]="mmss.0",t[48]="##0.0E+0",t[49]="@",t[56]='"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "',t}var Fi={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "'},$P={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:4
vendor: 4,495 bytes, line 8022
80226,81:47,82:0},lY={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function p_(t,n,e){for(var i=t<0?-1:1,r=t*i,a=0,o=1,s=0,l=1,c=0,d=0,u=Math.floor(r);c<n&&(u=Math.floor(r),s=u*o+a,d=u*c+l,!(r-u<5e-8));)r=1/(r-u),a=o,o=s,l=c,c=d;if(d>n&&(c>n?(d=l,s=a):(d=c,s=o)),!e)return[0,i*s,d];var h=Math.floor(i*s/d);return[h,i*s-h*d,d]}function cY(t){var n=t.toPrecision(16);if(n.indexOf("e")>-1){var e=n.slice(0,n.indexOf("e"));return e=e.indexOf(".")>-1?e.slice(0,e.slice(0,2)=="0."?17:16):e.slice(0,15)+Ui("0",e.length-15),e+n.slice(n.indexOf("e"))}var i=n.indexOf(".")>-1?n.slice(0,n.slice(0,2)=="0."?17:16):n.slice(0,15)+Ui("0",n.length-15);return Number(i)}function wu(t,n,e){if(t>2958465||t<0)return null;t=cY(t);var i=t|0,r=Math.floor(86400*(t-i)),a=0,o=[],s={D:i,T:r,u:86400*(t-i)-r,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),n&&n.date1904&&(i+=1462),s.u>.9999&&(s.u=0,++r==86400&&(s.T=r=0,++i,++s.D)),i===60)o=e?[1317,10,29]:[1900,2,29],a=3;else if(i===0)o=e?[1317,8,29]:[1900,1,0],a=6;else{i>60&&--i;var l=new Date(1900,0,1);l.setDate(l.getDate()+i-1),o=[l.getFullYear(),l.getMonth()+1,l.getDate()],a=l.getDay(),i<60&&(a=(a+6)%7),e&&(a=fY(l,o))}return s.y=o[0],s.m=o[1],s.d=o[2],s.S=r%60,r=Math.floor(r/60),s.M=r%60,r=Math.floor(r/60),s.H=r,s.q=a,s}function nC(t){return t.indexOf(".")==-1?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function dY(t){return t.indexOf("E")==-1?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function uY(t){var n=t<0?12:11,e=nC(t.toFixed(12));return e.length<=n||(e=t.toPrecision(10),e.length<=n)?e:t.toExponential(5)}function hY(t){var n=nC(t.toFixed(11));return n.length>(t<0?12:11)||n==="0"||n==="-0"?t.toPrecision(6):n}function mY(t){if(!isFinite(t))return isNaN(t)?"#NUM!":"#DIV/0!";var n=Math.floor(Math.log(Math.abs(t))*Math.LOG10E),e;return n>=-4&&n<=-1?e=t.toPrecision(10+n):Math.abs(n)<=9?e=uY(t):n===10?e=t.toFixed(10).substr(0,12):e=hY(t),nC(dY(e.toUpperCase()))}function Xw(t,n){switch(typeof t){case"string":return t;case"boolean":return t?"TRUE":"FALSE";case"number":return(t|0)===t?t.toString(10):mY(t);case"undefined":return"";case"object":if(t==null)return"";if(t instanceof Date)return Ss(14,zn(t,n&&n.date1904),n)}throw new Error("unsupported value in General format: "+t)}function fY(t,n){n[0]-=581;var e=t.getDay();return t<60&&(e=(e+6)%7),e}function pY(t,n,e,i){var r="",a=0,o=0,s=e.y,l,c=0;switch(t){case 98:s=e.y+543;case 121:switch(n.length){case 1:case 2:l=s%100,c=2;break;default:l=s%1e4,c=4;break}break;case 109:switch(n.length){case 1:case 2:l=e.m,c=n.length;break;case 3:return Ow[e.m-1][1];case 5:return Ow[e.m-1][0];default:return Ow[e.m-1][2]}break;case 100:switch(n.length){case 1:case 2:l=e.d,c=n.length;break;case 3:return HP[e.q][0];default:return HP[e.q][1]}break;case 104:switch(n.length){case 1:case 2:l=1+(e.H+11)%12,c=n.length;break;default:throw"bad hour format: "+n}break;case 72:switch(n.length){case 1:case 2:l=e.H,c=n.length;break;default:throw"bad hour format: "+n}break;case 77:switch(n.length){case 1:case 2:l=e.M,c=n.length;break;default:throw"bad minute format: "+n}break;case 115:if(n!="s"&&n!="ss"&&n!=".0"&&n!=".00"&&n!=".000")throw"bad second format: "+n;return e.u===0&&(n=="s"||n=="ss")?lo(e.S,n.length):(i>=2?o=i===3?1e3:100:o=i===1?10:1,a=Math.round(o*(e.S+e.u)),a>=60*o&&(a=0),n==="s"?a===0?"0":""+a/o:(r=lo(a,2+i),n==="ss"?r.substr(0,2):"."+r.substr(2,n.length-1)));case 90:switch(n){case"[h]":case"[hh]":l=e.D*24+e.H;break;case"[m]":case"[mm]":l=(e.D*24+e.H)*60+e.M;break;case"[s]":case"[ss]":l=((e.D*24+e.H)*60+e.M)*60+(i==0?Math.round(e.S+e.u):e.S);break;default:throw"bad abstime format: "+n}c=n.length===3?1:2;break;case 101:l=s,c=1;break}var d=c>0?lo(l,c):"";return d}function ml(t){var n=3;if(t.length<=n)return t;for(var e=t.length%n,i=t.substr(0,e);e!=t.length;e+=n)i+=(i.length>0?",":"")+t.substr(e,n);return i}var FF=/%/g;function gY(t,n,e){var i=n.replace(FF,""),r=n.length-i.length;return xs(t,i,e*Math.pow(10,2*r))+Ui("%",r)}function _Y(t,n,e){for(var i=n.length-1;
vendor: 4,714 bytes, line 8022
8022n.charCodeAt(i-1)===44;)--i;return xs(t,n.substr(0,i),e/Math.pow(10,3*(n.length-i)))}function OF(t,n){var e,i=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(n==0)return"0.0E+0";if(n<0)return"-"+OF(t,-n);var r=t.indexOf(".");r===-1&&(r=t.indexOf("E"));var a=Math.floor(Math.log(n)*Math.LOG10E)%r;if(a<0&&(a+=r),e=(n/Math.pow(10,a)).toPrecision(i+1+(r+a)%r),e.indexOf("e")===-1){var o=Math.floor(Math.log(n)*Math.LOG10E);for(e.indexOf(".")===-1?e=e.charAt(0)+"."+e.substr(1)+"E+"+(o-e.length+a):e+="E+"+(o-a);e.substr(0,2)==="0.";)e=e.charAt(0)+e.substr(2,r)+"."+e.substr(2+r),e=e.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");e=e.replace(/\+-/,"-")}e=e.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(s,l,c,d){return l+c+d.substr(0,(r+a)%r)+"."+d.substr(a)+"E"})}else e=n.toExponential(i);return t.match(/E\+00$/)&&e.match(/e[+-]\d$/)&&(e=e.substr(0,e.length-1)+"0"+e.charAt(e.length-1)),t.match(/E\-/)&&e.match(/e\+/)&&(e=e.replace(/e\+/,"e")),e.replace("e","E")}var NF=/# (\?+)( ?)\/( ?)(\d+)/;function vY(t,n,e){var i=parseInt(t[4],10),r=Math.round(n*i),a=Math.floor(r/i),o=r-a*i,s=i;return e+(a===0?"":""+a)+" "+(o===0?Ui(" ",t[1].length+1+t[4].length):iC(o,t[1].length)+t[2]+"/"+t[3]+lo(s,t[4].length))}function bY(t,n,e){return e+(n===0?"":""+n)+Ui(" ",t[1].length+2+t[4].length)}var LF=/^#*0*\.([0#]+)/,BF=/\)[^)]*[0#]/,VF=/\(###\) ###\\?-####/;function wr(t){for(var n="",e,i=0;i!=t.length;++i)switch(e=t.charCodeAt(i)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(e)}return n}function WP(t,n){var e=Math.pow(10,n);return""+Math.round(t*e)/e}function GP(t,n){var e=t-Math.floor(t),i=Math.pow(10,n);return n<(""+Math.round(e*i)).length?0:Math.round(e*i)}function yY(t,n){return n<(""+Math.round((t-Math.floor(t))*Math.pow(10,n))).length?1:0}function xY(t){return t<2147483647&&t>-2147483648?""+(t>=0?t|0:t-1|0):""+Math.floor(t)}function Pa(t,n,e){if(t.charCodeAt(0)===40&&!n.match(BF)){var i=n.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return e>=0?Pa("n",i,e):"("+Pa("n",i,-e)+")"}if(n.charCodeAt(n.length-1)===44)return _Y(t,n,e);if(n.indexOf("%")!==-1)return gY(t,n,e);if(n.indexOf("E")!==-1)return OF(n,e);if(n.charCodeAt(0)===36)return"$"+Pa(t,n.substr(n.charAt(1)==" "?2:1),e);var r,a,o,s,l=Math.abs(e),c=e<0?"-":"";if(n.match(/^00+$/))return c+xu(l,n.length);if(n.match(/^[#?]+$/))return r=xu(e,0),r==="0"&&(r=""),r.length>n.length?r:wr(n.substr(0,n.length-r.length))+r;if(a=n.match(NF))return vY(a,l,c);if(n.match(/^#+0+$/))return c+xu(l,n.length-n.indexOf("0"));if(a=n.match(LF))return r=WP(e,a[1].length).replace(/^([^\.]+)$/,"$1."+wr(a[1])).replace(/\.$/,"."+wr(a[1])).replace(/\.(\d*)$/,function(g,_){return"."+_+Ui("0",wr(a[1]).length-_.length)}),n.indexOf("0.")!==-1?r:r.replace(/^0\./,".");if(n=n.replace(/^#+([0.])/,"$1"),a=n.match(/^(0*)\.(#*)$/))return c+WP(l,a[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=n.match(/^#{1,3},##0(\.?)$/))return c+ml(xu(l,0));if(a=n.match(/^#,##0\.([#0]*0)$/))return e<0?"-"+Pa(t,n,-e):ml(""+(Math.floor(e)+yY(e,a[1].length)))+"."+lo(GP(e,a[1].length),a[1].length);if(a=n.match(/^#,#*,#0/))return Pa(t,n.replace(/^#,#*,/,""),e);if(a=n.match(/^([0#]+)(\\?-([0#]+))+$/))return r=ku(Pa(t,n.replace(/[\\-]/g,""),e)),o=0,ku(ku(n.replace(/\\/g,"")).replace(/[0#]/g,function(g){return o<r.length?r.charAt(o++):g==="0"?"0":""}));if(n.match(VF))return r=Pa(t,"##########",e),"("+r.substr(0,3)+") "+r.substr(3,3)+"-"+r.substr(6);var d="";if(a=n.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(a[4].length,7),s=p_(l,Math.pow(10,o)-1,!1),r=""+c,d=xs("n",a[1],s[1]),d.charAt(d.length-1)==" "&&(d=d.substr(0,d.length-1)+"0"),r+=d+a[2]+"/"+a[3],d=m_(s[2],o),d.length<a[4].length&&(d=wr(a[4].substr(a[4].length-d.length))+d),r+=d,r;if(a=n.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(a[1].length,a[4].length),7),s=p_(l,Math.pow(10,o)-1,!0),c+(s[0]||(s[1]?"":"0"))+" "+(s[1]?iC(s[1],o)+a[2]+"/"+a[3]+m_(s[2],o):Ui(" ",2*o+1+a[2].length+a[3].length));if(a=n.match(/^[#0?]+$/))return r=xu(e,0),n.length<=r.length?r:wr(n.substr(0,n.length-r.length))+r;if(a=n.match(/^([#0?]+)\.([#0]+)$/)){r=""+e.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,"$1"),o=r.indexOf(".");var u=n.indexOf(".")-o,h=n.length-r.length-u;return wr(n.substr(0,u)+r+n.substr(n.length-h))}if(a=n.match(/^00,000\.([#0]*0)$/))return o=GP(e,a[1].length),e<0?"-"+Pa(t,n,-e):ml(xY(e)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(g){return"00,"+(g.length<3?lo(0,3-g.length):"")+g})+"."+lo(o,a[1].length);switch(n){case"###,##0.00":return Pa(t,"#,##0.00",e);case"###,###":case"##,###":case"#,###":var m=ml(xu(l,0));return m!=="0"?c+m:"";
vendor: 10,412 bytes, line 8022
8022case"###,###.00":return Pa(t,"###,##0.00",e).replace(/^0\./,".");case"#,###.00":return Pa(t,"#,##0.00",e).replace(/^0\./,".");default:}throw new Error("unsupported format |"+n+"|")}function wY(t,n,e){for(var i=n.length-1;n.charCodeAt(i-1)===44;)--i;return xs(t,n.substr(0,i),e/Math.pow(10,3*(n.length-i)))}function CY(t,n,e){var i=n.replace(FF,""),r=n.length-i.length;return xs(t,i,e*Math.pow(10,2*r))+Ui("%",r)}function UF(t,n){var e,i=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(n==0)return"0.0E+0";if(n<0)return"-"+UF(t,-n);var r=t.indexOf(".");r===-1&&(r=t.indexOf("E"));var a=Math.floor(Math.log(n)*Math.LOG10E)%r;if(a<0&&(a+=r),e=(n/Math.pow(10,a)).toPrecision(i+1+(r+a)%r),!e.match(/[Ee]/)){var o=Math.floor(Math.log(n)*Math.LOG10E);e.indexOf(".")===-1?e=e.charAt(0)+"."+e.substr(1)+"E+"+(o-e.length+a):e+="E+"+(o-a),e=e.replace(/\+-/,"-")}e=e.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(s,l,c,d){return l+c+d.substr(0,(r+a)%r)+"."+d.substr(a)+"E"})}else e=n.toExponential(i);return t.match(/E\+00$/)&&e.match(/e[+-]\d$/)&&(e=e.substr(0,e.length-1)+"0"+e.charAt(e.length-1)),t.match(/E\-/)&&e.match(/e\+/)&&(e=e.replace(/e\+/,"e")),e.replace("e","E")}function Mo(t,n,e){if(t.charCodeAt(0)===40&&!n.match(BF)){var i=n.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return e>=0?Mo("n",i,e):"("+Mo("n",i,-e)+")"}if(n.charCodeAt(n.length-1)===44)return wY(t,n,e);if(n.indexOf("%")!==-1)return CY(t,n,e);if(n.indexOf("E")!==-1)return UF(n,e);if(n.charCodeAt(0)===36)return"$"+Mo(t,n.substr(n.charAt(1)==" "?2:1),e);var r,a,o,s,l=Math.abs(e),c=e<0?"-":"";if(n.match(/^00+$/))return c+lo(l,n.length);if(n.match(/^[#?]+$/))return r=""+e,e===0&&(r=""),r.length>n.length?r:wr(n.substr(0,n.length-r.length))+r;if(a=n.match(NF))return bY(a,l,c);if(n.match(/^#+0+$/))return c+lo(l,n.length-n.indexOf("0"));if(a=n.match(LF))return r=(""+e).replace(/^([^\.]+)$/,"$1."+wr(a[1])).replace(/\.$/,"."+wr(a[1])),r=r.replace(/\.(\d*)$/,function(g,_){return"."+_+Ui("0",wr(a[1]).length-_.length)}),n.indexOf("0.")!==-1?r:r.replace(/^0\./,".");if(n=n.replace(/^#+([0.])/,"$1"),a=n.match(/^(0*)\.(#*)$/))return c+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=n.match(/^#{1,3},##0(\.?)$/))return c+ml(""+l);if(a=n.match(/^#,##0\.([#0]*0)$/))return e<0?"-"+Mo(t,n,-e):ml(""+e)+"."+Ui("0",a[1].length);if(a=n.match(/^#,#*,#0/))return Mo(t,n.replace(/^#,#*,/,""),e);if(a=n.match(/^([0#]+)(\\?-([0#]+))+$/))return r=ku(Mo(t,n.replace(/[\\-]/g,""),e)),o=0,ku(ku(n.replace(/\\/g,"")).replace(/[0#]/g,function(g){return o<r.length?r.charAt(o++):g==="0"?"0":""}));if(n.match(VF))return r=Mo(t,"##########",e),"("+r.substr(0,3)+") "+r.substr(3,3)+"-"+r.substr(6);var d="";if(a=n.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(a[4].length,7),s=p_(l,Math.pow(10,o)-1,!1),r=""+c,d=xs("n",a[1],s[1]),d.charAt(d.length-1)==" "&&(d=d.substr(0,d.length-1)+"0"),r+=d+a[2]+"/"+a[3],d=m_(s[2],o),d.length<a[4].length&&(d=wr(a[4].substr(a[4].length-d.length))+d),r+=d,r;if(a=n.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(a[1].length,a[4].length),7),s=p_(l,Math.pow(10,o)-1,!0),c+(s[0]||(s[1]?"":"0"))+" "+(s[1]?iC(s[1],o)+a[2]+"/"+a[3]+m_(s[2],o):Ui(" ",2*o+1+a[2].length+a[3].length));if(a=n.match(/^[#0?]+$/))return r=""+e,n.length<=r.length?r:wr(n.substr(0,n.length-r.length))+r;if(a=n.match(/^([#0]+)\.([#0]+)$/)){r=""+e.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,"$1"),o=r.indexOf(".");var u=n.indexOf(".")-o,h=n.length-r.length-u;return wr(n.substr(0,u)+r+n.substr(n.length-h))}if(a=n.match(/^00,000\.([#0]*0)$/))return e<0?"-"+Mo(t,n,-e):ml(""+e).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(g){return"00,"+(g.length<3?lo(0,3-g.length):"")+g})+"."+lo(0,a[1].length);switch(n){case"###,###":case"##,###":case"#,###":var m=ml(""+l);return m!=="0"?c+m:"";default:if(n.match(/\.[0#?]*$/))return Mo(t,n.slice(0,n.lastIndexOf(".")),e)+wr(n.slice(n.lastIndexOf(".")))}throw new Error("unsupported format |"+n+"|")}function xs(t,n,e){return(e|0)===e?Mo(t,n,e):Pa(t,n,e)}function SY(t){for(var n=[],e=!1,i=0,r=0;i<t.length;++i)switch(t.charCodeAt(i)){case 34:e=!e;break;case 95:case 42:case 92:++i;break;case 59:n[n.length]=t.substr(r,i-r),r=i+1}if(n[n.length]=t.substr(r),e===!0)throw new Error("Format |"+t+"| unterminated string ");return n}var zF=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Ic(t){for(var n=0,e="",i="";n<t.length;)switch(e=t.charAt(n)){case"G":f_(t,n)&&(n+=6),n++;break;case'"':for(;t.charCodeAt(++n)!==34&&n<t.length;);++n;break;case"\\":n+=2;break;case"_":n+=2;break;case"@":++n;break;case"B":case"b":if(t.charAt(n+1)==="1"||t.charAt(n+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"\u4E0A":if(t.substr(n,3).toUpperCase()==="A/P"||t.substr(n,5).toUpperCase()==="AM/PM"||t.substr(n,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348")return!0;++n;break;case"[":for(i=e;t.charAt(n++)!=="]"&&n<t.length;)i+=t.charAt(n);if(i.match(zF))return!0;break;case".":case"0":case"#":for(;n<t.length&&("0#?.,E+-%".indexOf(e=t.charAt(++n))>-1||e=="\\"&&t.charAt(n+1)=="-"&&"0#".indexOf(t.charAt(n+2))>-1););break;case"?":for(;t.charAt(++n)===e;);break;case"*":++n,(t.charAt(n)==" "||t.charAt(n)=="*")&&++n;break;case"(":case")":++n;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;n<t.length&&"0123456789".indexOf(t.charAt(++n))>-1;);break;case" ":++n;break;default:++n;break}return!1}function kY(t,n,e,i){for(var r=[],a="",o=0,s="",l="t",c,d,u,h="H";o<t.length;)switch(s=t.charAt(o)){case"G":if(!f_(t,o))throw new Error("unrecognized character "+s+" in "+t);r[r.length]={t:"G",v:"General"},o+=7;break;case'"':for(a="";(u=t.charCodeAt(++o))!==34&&o<t.length;)a+=String.fromCharCode(u);r[r.length]={t:"t",v:a},++o;break;case"\\":var m=t.charAt(++o),g=m==="("||m===")"?m:"t";r[r.length]={t:g,v:m},++o;break;case"_":r[r.length]={t:"t",v:" "},o+=2;break;case"@":r[r.length]={t:"T",v:n},++o;break;case"B":case"b":if(t.charAt(o+1)==="1"||t.charAt(o+1)==="2"){if(c==null&&(c=wu(n,e,t.charAt(o+1)==="2"),c==null))return"";r[r.length]={t:"X",v:t.substr(o,2)},l=s,o+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":s=s.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(n<0||c==null&&(c=wu(n,e),c==null))return"";for(a=s;++o<t.length&&t.charAt(o).toLowerCase()===s;)a+=s;s==="m"&&l.toLowerCase()==="h"&&(s="M"),s==="h"&&(s=h),r[r.length]={t:s,v:a},l=s;break;case"A":case"a":case"\u4E0A":var _={t:s,v:s};if(c==null&&(c=wu(n,e)),t.substr(o,3).toUpperCase()==="A/P"?(c!=null&&(_.v=c.H>=12?t.charAt(o+2):s),_.t="T",h="h",o+=3):t.substr(o,5).toUpperCase()==="AM/PM"?(c!=null&&(_.v=c.H>=12?"PM":"AM"),_.t="T",o+=5,h="h"):t.substr(o,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348"?(c!=null&&(_.v=c.H>=12?"\u4E0B\u5348":"\u4E0A\u5348"),_.t="T",o+=5,h="h"):(_.t="t",++o),c==null&&_.t==="T")return"";r[r.length]=_,l=s;break;case"[":for(a=s;t.charAt(o++)!=="]"&&o<t.length;)a+=t.charAt(o);if(a.slice(-1)!=="]")throw'unterminated "[" block: |'+a+"|";if(a.match(zF)){if(c==null&&(c=wu(n,e),c==null))return"";r[r.length]={t:"Z",v:a.toLowerCase()},l=a.charAt(1)}else a.indexOf("$")>-1&&(a=(a.match(/\$([^-\[\]]*)/)||[])[1]||"$",Ic(t)||(r[r.length]={t:"t",v:a}));break;case".":if(c!=null){for(a=s;++o<t.length&&(s=t.charAt(o))==="0";)a+=s;r[r.length]={t:"s",v:a};break}case"0":case"#":for(a=s;++o<t.length&&"0#?.,E+-%".indexOf(s=t.charAt(o))>-1;)a+=s;r[r.length]={t:"n",v:a};break;case"?":for(a=s;t.charAt(++o)===s;)a+=s;r[r.length]={t:s,v:a},l=s;break;case"*":++o,(t.charAt(o)==" "||t.charAt(o)=="*")&&++o;break;case"(":case")":r[r.length]={t:i===1?"t":s,v:s},++o;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(a=s;o<t.length&&"0123456789".indexOf(t.charAt(++o))>-1;)a+=t.charAt(o);r[r.length]={t:"D",v:a};break;case" ":r[r.length]={t:s,v:s},++o;break;case"$":r[r.length]={t:"t",v:"$"},++o;break;default:if(",$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP".indexOf(s)===-1)throw new Error("unrecognized character "+s+" in "+t);r[r.length]={t:"t",v:s},++o;break}var p=0,v=0,b;for(o=r.length-1,l="t";o>=0;--o)switch(r[o].t){case"h":case"H":r[o].t=h,l="h",p<1&&(p=1);break;case"s":(b=r[o].v.match(/\.0+$/))&&(v=Math.max(v,b[0].length-1),p=4),p<3&&(p=3);case"d":case"y":case"e":l=r[o].t;break;case"M":l=r[o].t,p<2&&(p=2);break;case"m":l==="s"&&(r[o].t="M",p<2&&(p=2));break;case"X":break;case"Z":p<1&&r[o].v.match(/[Hh]/)&&(p=1),p<2&&r[o].v.match(/[Mm]/)&&(p=2),p<3&&r[o].v.match(/[Ss]/)&&(p=3)}var y;switch(p){case 0:break;case 1:case 2:case 3:c.u>=.5&&(c.u=0,++c.S),c.S>=60&&(c.S=0,++c.M),c.M>=60&&(c.M=0,++c.H),c.H>=24&&(c.H=0,++c.D,y=wu(c.D),y.u=c.u,y.S=c.S,y.M=c.M,y.H=c.H,c=y);break;case 4:switch(v){case 1:c.u=Math.round(c.u*10)/10;break;case 2:c.u=Math.round(c.u*100)/100;break;case 3:c.u=Math.round(c.u*1e3)/1e3;break}c.u>=1&&(c.u=0,++c.S),c.S>=60&&(c.S=0,++c.M),c.M>=60&&(c.M=0,++c.H),c.H>=24&&(c.H=0,++c.D,y=wu(c.D),y.u=c.u,y.S=c.S,y.M=c.M,y.H=c.H,c=y);break}var E="",F;for(o=0;o<r.length;++o)switch(r[o].t){case"t":case"T":case" ":case"D":break;case"X":r[o].v="",r[o].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":r[o].v=pY(r[o].t.charCodeAt(0),r[o].v,c,v),r[o].t="t";break;case"n":case"?":for(F=o+1;r[F]!=null&&((s=r[F].t)==="?"||s==="D"||(s===" "||s==="t")&&r[F+1]!=null&&(r[F+1].t==="?"||r[F+1].t==="t"&&r[F+1].v==="/")||r[o].t==="("&&(s===" "||s==="n"||s===")")||s==="t"&&(r[F].v==="/"||r[F].v===" "&&r[F+1]!=null&&r[F+1].t=="?"));)r[o].v+=r[F].v,r[F]={v:"",t:";"},++F;E+=r[o].v,o=F-1;break;case"G":r[o].t="t",r[o].v=Xw(n,e);break}var A="",C,M;if(E.length>0){E.charCodeAt(0)==40?(C=n<0&&E.charCodeAt(0)===45?-n:n,M=xs("n",E,C)):(C=n<0&&i>1?-n:n,M=xs("n",E,C),C<0&&r[0]&&r[0].t=="t"&&(M=M.substr(1),r[0].v="-"+r[0].v)),F=M.length-1;var L=r.length;for(o=0;o<r.length;++o)if(r[o]!=null&&r[o].t!="t"&&r[o].v.indexOf(".")>-1){L=o;break}var V=r.length;if(L===r.length&&M.indexOf("E")===-1){for(o=r.length-1;o>=0;--o)r[o]==null||"n?".indexOf(r[o].t)===-1||(F>=r[o].v.length-1?(F-=r[o].v.length,r[o].v=M.substr(F+1,r[o].v.length)):F<0?r[o].v="":(r[o].v=M.substr(0,F+1),F=-1),r[o].t="t",V=o);F>=0&&V<r.length&&(r[V].v=M.substr(0,F+1)+r[V].v)}else if(L!==r.length&&M.indexOf("E")===-1){for(F=M.indexOf(".")-1,o=L;o>=0;--o)if(!(r[o]==null||"n?".indexOf(r[o].t)===-1)){for(d=r[o].v.indexOf(".")>
8022-1&&o===L?r[o].v.indexOf(".")-1:r[o].v.length-1,A=r[o].v.substr(d+1);d>=0;--d)F>=0&&(r[o].v.charAt(d)==="0"||r[o].v.charAt(d)==="#")&&(A=M.charAt(F--)+A);r[o].v=A,r[o].t="t",V=o}for(F>=0&&V<r.length&&(r[V].v=M.substr(0,F+1)+r[V].v),F=M.indexOf(".")+1,o=L;o<r.length;++o)if(!(r[o]==null||"n?(".indexOf(r[o].t)===-1&&o!==L)){for(d=r[o].v.indexOf(".")>-1&&o===L?r[o].v.indexOf(".")+1:0,A=r[o].v.substr(0,d);d<r[o].v.length;++d)F<M.length&&(A+=M.charAt(F++));r[o].v=A,r[o].t="t",V=o}}}for(o=0;o<r.length;++o)r[o]!=null&&"n?".indexOf(r[o].t)>-1&&(C=i>1&&n<0&&o>0&&r[o-1].v==="-"?-n:n,r[o].v=xs(r[o].t,r[o].v,C),r[o].t="t");var z="";for(o=0;o!==r.length;++o)r[o]!=null&&(z+=r[o].v);return z}var qP=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function YP(t,n){if(n==null)return!1;var e=parseFloat(n[2]);switch(n[1]){case"=":if(t==e)return!0;break;case">":if(t>e)return!0;break;case"<":if(t<e)return!0;break;case"<>":if(t!=e)return!0;break;case">=":if(t>=e)return!0;break;case"<=":if(t<=e)return!0;break}return!1}function DY(t,n){var e=SY(t),i=e.length,r=e[i-1].indexOf("@");if(i<4&&r>-1&&--i,e.length>4)throw new Error("cannot find right format for |"+e.join("|")+"|");if(typeof n!="number")return[4,e.length===4||r>-1?e[e.length-1]:"@"];switch(typeof n=="number"&&!isFinite(n)&&(n=0),e.length){case 1:e=r>-1?["General","General","General",e[0]]:[e[0],e[0],e[0],"@"];break;case 2:e=r>-1?[e[0],e[0],e[0],e[1]]:[e[0],e[1],e[0],"@"];break;case 3:e=r>-1?[e[0],e[1],e[0],e[2]]:[e[0],e[1],e[2],"@"];break;case 4:break}var a=n>0?e[0]:n<0?e[1]:e[2];if(e[0].indexOf("[")===-1&&e[1].indexOf("[")===-1)return[i,a];if(e[0].match(/\[[=<>]/)!=null||e[1].match(/\[[=<>]/)!=null){var o=e[0].match(qP),s=e[1].match(qP);return YP(n,o)?[i,e[0]]:YP(n,s)?[i,e[1]]:[i,e[o!=null&&s!=null?2:1]]}return[i,a]}function Ss(t,n,e){e==null&&(e={});var i="";switch(typeof t){case"string":t=="m/d/yy"&&e.dateNF?i=e.dateNF:i=t;break;case"number":t==14&&e.dateNF?i=e.dateNF:i=(e.table!=null?e.table:Fi)[t],i==null&&(i=e.table&&e.table[$P[t]]||Fi[$P[t]]),i==null&&(i=lY[t]||"General");break}if(f_(i,0))return Xw(n,e);n instanceof Date&&(n=zn(n,e.date1904));var r=DY(i,n);if(f_(r[1]))return Xw(n,e);if(n===!0)n="TRUE";else if(n===!1)n="FALSE";else{if(n===""||n==null)return"";if(isNaN(n)&&r[1].indexOf("0")>-1)return"#NUM!";if(!isFinite(n)&&r[1].indexOf("0")>-1)return"#DIV/0!"}return kY(r[1],n,e,r[0])}function jF(t,n){if(typeof n!="number"){n=+n||-1;for(var e=0;e<392;++e){if(Fi[e]==null){n<0&&(n=e);continue}if(Fi[e]==t){n=e;break}}n<0&&(n=391)}return Fi[n]=t,n}function M_(t){for(var n=0;n!=392;++n)t[n]!==void 0&&jF(t[n],n)}function A_(){Fi=sY()}var g_=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function EY(t){var n=typeof t=="number"?Fi[t]:t;return n=n.replace(g_,"(\\d+)"),g_.lastIndex=0,new RegExp("^"+n+"$")}function TY(t,n,e){var i=-1,r=-1,a=-1,o=-1,s=-1,l=-1;(n.match(g_)||[]).forEach(function(u,h){var m=parseInt(e[h+1],10);switch(u.toLowerCase().charAt(0)){case"y":i=m;break;case"d":a=m;break;case"h":o=m;break;case"s":l=m;break;case"m":o>=0?s=m:r=m;break}}),g_.lastIndex=0,l>=0&&s==-1&&r>=0&&(s=r,r=-1);var c=(""+(i>=0?i:new Date().getFullYear())).slice(-4)+"-"+("00"+(r>=1?r:1)).slice(-2)+"-"+("00"+(a>=1?a:1)).slice(-2);c.length==7&&(c="0"+c),c.length==8&&(c="20"+c);var d=("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return o==-1&&s==-1&&l==-1?c:i==-1&&r==-1&&a==-1?d:c+"T"+d}var IY={"d.m":"d\\.m"};function MY(t,n){return jF(IY[t]||t,n)}var XP=(function(){var t={};t.version="1.2.0";function n(){for(var C=0,M=new Array(256),L=0;L!=256;++L)C=L,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,M[L]=C;return typeof Int32Array<"u"?new Int32Array(M):M}var e=n();function i(C){var M=0,L=0,V=0,z=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(V=0;V!=256;++V)z[V]=C[V];for(V=0;V!=256;++V)for(L=C[V],M=256+V;M<4096;M+=256)L=z[M]=L>>>8^C[L&255];var ee=[];for(V=1;V!=16;++V)ee[V-1]=typeof Int32Array<"u"&&typeof z.subarray=="function"?z.subarray(V*256,V*256+256):z.slice(V*256,V*256+256);return ee}var r=i(e),a=r[0],o=r[1],s=r[2],l=r[3],c=r[4],d=r[5],u=r[6],h=r[7],m=r[8],g=r[9],_=r[10],p=r[11],v=r[12],b=r[13],y=r[14];function E(C,M){for(var L=M^-1,V=0,z=C.length;V<z;)L=L>>>
vendor: 31,965 bytes, lines 8022-8032
80228^e[(L^C.charCodeAt(V++))&255];return~L}function F(C,M){for(var L=M^-1,V=C.length-15,z=0;z<V;)L=y[C[z++]^L&255]^b[C[z++]^L>>8&255]^v[C[z++]^L>>16&255]^p[C[z++]^L>>>24]^_[C[z++]]^g[C[z++]]^m[C[z++]]^h[C[z++]]^u[C[z++]]^d[C[z++]]^c[C[z++]]^l[C[z++]]^s[C[z++]]^o[C[z++]]^a[C[z++]]^e[C[z++]];for(V+=15;z<V;)L=L>>>8^e[(L^C[z++])&255];return~L}function A(C,M){for(var L=M^-1,V=0,z=C.length,ee=0,ze=0;V<z;)ee=C.charCodeAt(V++),ee<128?L=L>>>8^e[(L^ee)&255]:ee<2048?(L=L>>>8^e[(L^(192|ee>>6&31))&255],L=L>>>8^e[(L^(128|ee&63))&255]):ee>=55296&&ee<57344?(ee=(ee&1023)+64,ze=C.charCodeAt(V++)&1023,L=L>>>8^e[(L^(240|ee>>8&7))&255],L=L>>>8^e[(L^(128|ee>>2&63))&255],L=L>>>8^e[(L^(128|ze>>6&15|(ee&3)<<4))&255],L=L>>>8^e[(L^(128|ze&63))&255]):(L=L>>>8^e[(L^(224|ee>>12&15))&255],L=L>>>8^e[(L^(128|ee>>6&63))&255],L=L>>>8^e[(L^(128|ee&63))&255]);return~L}return t.table=e,t.bstr=E,t.buf=F,t.str=A,t})(),ki=(function(){var n={};n.version="1.2.2";function e(x,P){for(var k=x.split("/"),I=P.split("/"),R=0,O=0,Z=Math.min(k.length,I.length);R<Z;++R){if(O=k[R].length-I[R].length)return O;if(k[R]!=I[R])return k[R]<I[R]?-1:1}return k.length-I.length}function i(x){if(x.charAt(x.length-1)=="/")return x.slice(0,-1).indexOf("/")===-1?x:i(x.slice(0,-1));var P=x.lastIndexOf("/");return P===-1?x:x.slice(0,P+1)}function r(x){if(x.charAt(x.length-1)=="/")return r(x.slice(0,-1));var P=x.lastIndexOf("/");return P===-1?x:x.slice(P+1)}function a(x,P){typeof P=="string"&&(P=new Date(P));var k=P.getHours();k=k<<6|P.getMinutes(),k=k<<5|P.getSeconds()>>>1,x.write_shift(2,k);var I=P.getFullYear()-1980;I=I<<4|P.getMonth()+1,I=I<<5|P.getDate(),x.write_shift(2,I)}function o(x){var P=x.read_shift(2)&65535,k=x.read_shift(2)&65535,I=new Date,R=k&31;k>>>=5;var O=k&15;k>>>=4,I.setMilliseconds(0),I.setFullYear(k+1980),I.setMonth(O-1),I.setDate(R);var Z=P&31;P>>>=5;var le=P&63;return P>>>=6,I.setHours(P),I.setMinutes(le),I.setSeconds(Z<<1),I}function s(x){Cr(x,0);for(var P={},k=0;x.l<=x.length-4;){var I=x.read_shift(2),R=x.read_shift(2),O=x.l+R,Z={};switch(I){case 21589:k=x.read_shift(1),k&1&&(Z.mtime=x.read_shift(4)),R>5&&(k&2&&(Z.atime=x.read_shift(4)),k&4&&(Z.ctime=x.read_shift(4))),Z.mtime&&(Z.mt=new Date(Z.mtime*1e3));break;case 1:{var le=x.read_shift(4),X=x.read_shift(4);Z.usz=X*Math.pow(2,32)+le,le=x.read_shift(4),X=x.read_shift(4),Z.csz=X*Math.pow(2,32)+le}break}x.l=O,P[I]=Z}return P}var l;function c(){return l||(l=Jm)}function d(x,P){if(x[0]==80&&x[1]==75)return pk(x,P);if((x[0]|32)==109&&(x[1]|32)==105)return m3(x,P);if(x.length<512)throw new Error("CFB file size "+x.length+" < 512");var k=3,I=512,R=0,O=0,Z=0,le=0,X=0,K=[],J=x.slice(0,512);Cr(J,0);var Se=u(J);switch(k=Se[0],k){case 3:I=512;break;case 4:I=4096;break;case 0:if(Se[1]==0)return pk(x,P);default:throw new Error("Major Version: Expected 3 or 4 saw "+k)}I!==512&&(J=x.slice(0,I),Cr(J,28));var Ee=x.slice(0,I);h(J,k);var Xe=J.read_shift(4,"i");if(k===3&&Xe!==0)throw new Error("# Directory Sectors: Expected 0 saw "+Xe);J.l+=4,Z=J.read_shift(4,"i"),J.l+=4,J.chk("00100000","Mini Stream Cutoff Size: "),le=J.read_shift(4,"i"),R=J.read_shift(4,"i"),X=J.read_shift(4,"i"),O=J.read_shift(4,"i");for(var Ae=-1,Ce=0;Ce<109&&(Ae=J.read_shift(4,"i"),!(Ae<0));++Ce)K[Ce]=Ae;var kt=m(x,I);p(X,O,kt,I,K);var Ei=b(kt,Z,K,I);Z<Ei.length&&(Ei[Z].name="!Directory"),R>0&&le!==ze&&(Ei[le].name="!MiniFAT"),Ei[K[0]].name="!FAT",Ei.fat_addrs=K,Ei.ssz=I;var Er={},Ji=[],qr=[],rh=[];y(Z,Ei,kt,Ji,R,Er,qr,le),g(qr,rh,Ji),Ji.shift();var ah={FileIndex:qr,FullPaths:rh};return P&&P.raw&&(ah.raw={header:Ee,sectors:kt}),ah}function u(x){if(x[x.l]==80&&x[x.l+1]==75)return[0,0];x.chk(rt,"Header Signature: "),x.l+=16;var P=x.read_shift(2,"u");return[x.read_shift(2,"u"),P]}function h(x,P){var k=9;switch(x.l+=2,k=x.read_shift(2)){case 9:if(P!=3)throw new Error("Sector Shift: Expected 9 saw "+k);break;case 12:if(P!=4)throw new Error("Sector Shift: Expected 12 saw "+k);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+k)}x.chk("0600","Mini Sector Shift: "),x.chk("000000000000","Reserved: ")}function m(x,P){for(var k=Math.ceil(x.length/P)-1,I=[],R=1;R<k;++R)I[R-1]=x.slice(R*P,(R+1)*P);return I[k-1]=x.slice(k*P),I}function g(x,P,k){for(var I=0,R=0,O=0,Z=0,le=0,X=k.length,K=[],J=[];I<X;++I)K[I]=J[I]=I,P[I]=k[I];for(;le<J.length;++le)I=J[le],R=x[I].L,O=x[I].R,Z=x[I].C,K[I]===I&&(R!==-1&&K[R]!==R&&(K[I]=K[R]),O!==-1&&K[O]!==O&&(K[I]=K[O])),Z!==-1&&(K[Z]=I),R!==-1&&I!=K[I]&&(K[R]=K[I],J.lastIndexOf(R)<le&&J.push(R)),O!==-1&&I!=K[I]&&(K[O]=K[I],J.lastIndexOf(O)<le&&J.push(O));for(I=1;I<X;++I)K[I]===I&&(O!==-1&&K[O]!==O?K[I]=K[O]:R!==-1&&K[R]!==R&&(K[I]=K[R]));for(I=1;I<X;++I)if(x[I].type!==0){if(le=I,le!=K[le])do le=K[le],P[I]=P[le]+"/"+P[I];while(le!==0&&K[le]!==-1&&le!=K[le]);K[I]=-1}for(P[0]+="/",I=1;I<X;++I)x[I].type!==2&&(P[I]+="/")}function _(x,P,k){for(var I=x.start,R=x.size,O=[],Z=I;k&&R>0&&Z>=0;)O.push(P.slice(Z*ee,Z*ee+ee)),R-=ee,Z=kc(k,Z*4);return O.length===0?q(0):ln(O).slice(0,x.size)}function p(x,P,k,I,R){var O=ze;if(x===ze){if(P!==0)throw new Error("DIFAT chain shorter than expected")}else if(x!==-1){var Z=k[x],le=(I>>>2)-1;if(!Z)return;for(var X=0;X<le&&(O=kc(Z,X*4))!==ze;++X)R.push(O);P>=1&&p(kc(Z,I-4),P-1,k,I,R)}}function v(x,P,k,I,R){var O=[],Z=[];R||(R=[]);var le=I-1,X=0,K=0;for(X=P;X>=0;){R[X]=!0,O[O.length]=X,Z.push(x[X]);var J=k[Math.floor(X*4/I)];if(K=X*4&le,I<4+K)throw new Error("FAT boundary crossed: "+X+" 4 "+I);if(!x[J])break;X=kc(x[J],K)}return{nodes:O,data:iF([Z])}}function b(x,P,k,I){var R=x.length,O=[],Z=[],le=[],X=[],K=I-1,J=0,Se=0,Ee=0,Xe=0;for(J=0;J<R;++J)if(le=[],Ee=J+P,Ee>=R&&(Ee-=R),!Z[Ee]){X=[];var Ae=[];for(Se=Ee;Se>=0;){Ae[Se]=!0,Z[Se]=!0,le[le.length]=Se,X.push(x[Se]);var Ce=k[Math.floor(Se*4/I)];if(Xe=Se*4&K,I<4+Xe)throw new Error("FAT boundary crossed: "+Se+" 4 "+I);if(!x[Ce]||(Se=kc(x[Ce],Xe),Ae[Se]))break}O[Ee]={nodes:le,data:iF([X])}}return O}function y(x,P,k,I,R,O,Z,le){for(var X=0,K=I.length?2:0,J=P[x].data,Se=0,Ee=0,Xe;Se<J.length;Se+=128){var Ae=J.slice(Se,Se+128);Cr(Ae,64),Ee=Ae.read_shift(2),Xe=F_(Ae,0,Ee-K),I.push(Xe);var Ce={name:Xe,type:Ae.read_shift(1),color:Ae.read_shift(1),L:Ae.read_shift(4,"i"),R:Ae.read_shift(4,"i"),C:Ae.read_shift(4,"i"),clsid:Ae.read_shift(16),state:Ae.read_shift(4,"i"),start:0,size:0},kt=Ae.read_shift(2)+Ae.read_shift(2)+Ae.read_shift(2)+Ae.read_shift(2);kt!==0&&(Ce.ct=E(Ae,Ae.l-8));var Ei=Ae.read_shift(2)+Ae.read_shift(2)+Ae.read_shift(2)+Ae.read_shift(2);Ei!==0&&(Ce.mt=E(Ae,Ae.l-8)),Ce.start=Ae.read_shift(4,"i"),Ce.size=Ae.read_shift(4,"i"),Ce.size<0&&Ce.start<0&&(Ce.size=Ce.type=0,Ce.start=ze,Ce.name=""),Ce.type===5?(X=Ce.start,R>0&&X!==ze&&(P[X].name="!StreamData")):Ce.size>=4096?(Ce.storage="fat",P[Ce.start]===void 0&&(P[Ce.start]=v(k,Ce.start,P.fat_addrs,P.ssz)),P[Ce.start].name=Ce.name,Ce.content=P[Ce.start].data.slice(0,Ce.size)):(Ce.storage="minifat",Ce.size<0?Ce.size=0:X!==ze&&Ce.start!==ze&&P[X]&&(Ce.content=_(Ce,P[X].data,(P[le]||{}).data))),Ce.content&&Cr(Ce.content,0),O[Xe]=Ce,Z.push(Ce)}}function E(x,P){return new Date((Rn(x,P+4)/1e7*Math.pow(2,32)+Rn(x,P)/1e7-11644473600)*1e3)}function F(x,P){return c(),d(l.readFileSync(x),P)}function A(x,P){var k=P&&P.type;switch(k||di&&Buffer.isBuffer(x)&&(k="buffer"),k||"base64"){case"file":return F(x,P);case"base64":return d(ha(fl(x)),P);case"binary":return d(ha(x),P)}return d(x,P)}function C(x,P){var k=P||{},I=k.root||"Root Entry";if(x.FullPaths||(x.FullPaths=[]),x.FileIndex||(x.FileIndex=[]),x.FullPaths.length!==x.FileIndex.length)throw new Error("inconsistent CFB structure");x.FullPaths.length===0&&(x.FullPaths[0]=I+"/",x.FileIndex[0]={name:I,type:5}),k.CLSID&&(x.FileIndex[0].clsid=k.CLSID),M(x)}function M(x){var P="�Sh33tJ5";if(!ki.find(x,"/"+P)){var k=q(4);k[0]=55,k[1]=k[3]=50,k[2]=54,x.FileIndex.push({name:P,type:2,content:k,size:4,L:69,R:69,C:69}),x.FullPaths.push(x.FullPaths[0]+P),L(x)}}function L(x,P){C(x);for(var k=!1,I=!1,R=x.FullPaths.length-1;R>=0;--R){var O=x.FileIndex[R];switch(O.type){case 0:I?k=!0:(x.FileIndex.pop(),x.FullPaths.pop());break;case 1:case 2:case 5:I=!0,isNaN(O.R*O.L*O.C)&&(k=!0),O.R>-1&&O.L>-1&&O.R==O.L&&(k=!0);break;default:k=!0;break}}if(!(!k&&!P)){var Z=new Date(1987,1,19),le=0,X=Object.create?Object.create(null):{},K=[];for(R=0;R<x.FullPaths.length;++R)X[x.FullPaths[R]]=!0,x.FileIndex[R].type!==0&&K.push([x.FullPaths[R],x.FileIndex[R]]);for(R=0;R<K.length;++R){var J=i(K[R][0]);for(I=X[J];!I;){for(;i(J)&&!X[i(J)];)J=i(J);K.push([J,{name:r(J).replace("/",""),type:1,clsid:yt,ct:Z,mt:Z,content:null}]),X[J]=!0,J=i(K[R][0]),I=X[J]}}for(K.sort(function(Xe,Ae){return e(Xe[0],Ae[0])}),x.FullPaths=[],x.FileIndex=[],R=0;R<K.length;++R)x.FullPaths[R]=K[R][0],x.FileIndex[R]=K[R][1];for(R=0;R<K.length;++R){var Se=x.FileIndex[R],Ee=x.FullPaths[R];if(Se.name=r(Ee).replace("/",""),Se.L=Se.R=Se.C=-(Se.color=1),Se.size=Se.content?Se.content.length:0,Se.start=0,Se.clsid=Se.clsid||yt,R===0)Se.C=K.length>1?1:-1,Se.size=0,Se.type=5;else if(Ee.slice(-1)=="/"){for(le=R+1;le<K.length&&i(x.FullPaths[le])!=Ee;++le);for(Se.C=le>=K.length?-1:le,le=R+1;le<K.length&&i(x.FullPaths[le])!=i(Ee);++le);Se.R=le>=K.length?-1:le,Se.type=1}else i(x.FullPaths[R+1]||"")==i(Ee)&&(Se.R=R+1),Se.type=2}}}function V(x,P){var k=P||{};if(k.fileType=="mad")return f3(x,k);if(L(x),k.fileType==="zip")return s3(x,k);var I=(function(Xe){for(var Ae=0,Ce=0,kt=0;kt<Xe.FileIndex.length;++kt){var Ei=Xe.FileIndex[kt];if(Ei.content){var Er=Ei.content.length;Er>0&&(Er<4096?Ae+=Er+63>>6:Ce+=Er+511>>9)}}for(var Ji=Xe.FullPaths.length+3>>2,qr=Ae+7>>3,rh=Ae+127>>7,ah=qr+Ce+Ji+rh,Rl=ah+127>>7,zv=Rl<=109?0:Math.ceil((Rl-109)/127);ah+Rl+zv+127>>7>Rl;)zv=++Rl<=109?0:Math.ceil((Rl-109)/127);var $o=[1,zv,Rl,rh,Ji,Ce,Ae,0];return Xe.FileIndex[0].size=Ae<<6,$o[7]=(Xe.FileIndex[0].start=$o[0]+$o[1]+$o[2]+$o[3]+$o[4]+$o[5])+($o[6]+7>>3),$o})(x),R=q(I[7]<<9),O=0,Z=0;{for(O=0;O<8;++O)R.write_shift(1,Me[O]);for(O=0;O<8;++O)R.write_shift(2,0);for(R.write_shift(2,62),R.write_shift(2,3),R.write_shift(2,65534),R.write_shift(2,9),R.write_shift(2,6),O=0;O<3;++O)R.write_shift(2,0);for(R.write_shift(4,0),R.write_shift(4,I[2]),R.write_shift(4,I[0]+I[1]+I[2]+I[3]-1),R.write_shift(4,0),R.write_shift(4,4096),R.write_shift(4,I[3]?I[0]+I[1]+I[2]-1:ze),R.write_shift(4,I[3]),R.write_shift(-4,I[1]?I[0]-1:ze),R.write_shift(4,I[1]),O=0;O<109;++O)R.write_shift(-4,O<I[2]?I[1]+O:-1)}if(I[1])for(Z=0;Z<I[1];++Z){for(;O<236+Z*127;++O)R.write_shift(-4,O<I[2]?I[1]+O:-1);R.write_shift(-4,Z===I[1]-1?ze:Z+1)}var le=function(Xe){for(Z+=Xe;O<Z-1;++O)R.write_shift(-4,O+1);Xe&&(++O,R.write_shift(-4,ze))};for(Z=O=0,Z+=I[1];O<Z;++O)R.write_shift(-4,je.DIFSECT);for(Z+=I[2];O<Z;++O)R.write_shift(-4,je.FATSECT);le(I[3]),le(I[4]);for(var X=0,K=0,J=x.FileIndex[0];X<x.FileIndex.length;++X)J=x.FileIndex[X],J.content&&(K=J.content.length,!(K<4096)&&(J.start=Z,le(K+511>>9)));for(le(I[6]+7>>3);R.l&511;)R.write_shift(-4,je.ENDOFCHAIN);for(Z=O=0,X=0;X<x.FileIndex.length;++X)J=x.FileIndex[X],J.content&&(K=J.content.length,!(!K||K>=4096)&&(J.start=Z,le(K+63>>6)));for(;R.l&511;)R.write_shift(-4,je.ENDOFCHAIN);for(O=0;O<I[4]<<2;++O){var Se=x.FullPaths[O];if(!Se||Se.length===0){for(X=0;X<17;++X)R.write_shift(4,0);for(X=0;X<3;++X)R.write_shift(4,-1);for(X=0;X<12;++X)R.write_shift(4,0);continue}J=x.FileIndex[O],O===0&&(J.start=J.size?J.start-1:ze);var Ee=O===0&&k.root||J.name;if(Ee.length>31&&(console.error("Name "+Ee+" will be truncated to "+Ee.slice(0,31)),Ee=Ee.slice(0,31)),K=2*(Ee.length+1),R.write_shift(64,Ee,"utf16le"),R.write_shift(2,K),R.write_shift(1,J.type),R.write_shift(1,J.color),R.write_shift(-4,J.L),R.write_shift(-4,J.R),R.write_shift(-4,J.C),J.clsid)R.write_shift(16,J.clsid,"hex");else for(X=0;X<4;++X)R.write_shift(4,0);R.write_shift(4,J.state||0),R.write_shift(4,0),R.write_shift(4,0),R.write_shift(4,0),R.write_shift(4,0),R.write_shift(4,J.start),R.write_shift(4,J.size),R.write_shift(4,0)}for(O=1;O<x.FileIndex.length;++O)if(J=x.FileIndex[O],J.size>=4096)if(R.l=J.start+1<<9,di&&Buffer.isBuffer(J.content))J.content.copy(R,R.l,0,J.size),R.l+=J.size+511&-512;else{for(X=0;X<J.size;++X)R.write_shift(1,J.content[X]);for(;X&511;++X)R.write_shift(1,0)}for(O=1;O<x.FileIndex.length;++O)if(J=x.FileIndex[O],J.size>0&&J.size<4096)if(di&&Buffer.isBuffer(J.content))J.content.copy(R,R.l,0,J.size),R.l+=J.size+63&-64;else{for(X=0;X<J.size;++X)R.write_shift(1,J.content[X]);for(;X&63;++X)R.write_shift(1,0)}if(di)R.l=R.length;else for(;R.l<R.length;)R.write_shift(1,0);return R}function z(x,P){var k=x.FullPaths.map(function(X){return X.toUpperCase()}),I=k.map(function(X){var K=X.split("/");return K[K.length-(X.slice(-1)=="/"?2:1)]}),R=!1;P.charCodeAt(0)===47?(R=!0,P=k[0].slice(0,-1)+P):R=P.indexOf("/")!==-1;var O=P.toUpperCase(),Z=R===!0?k.indexOf(O):I.indexOf(O);if(Z!==-1)return x.FileIndex[Z];var le=!O.match(r_);for(O=O.replace(Su,""),le&&(O=O.replace(r_,"!")),Z=0;Z<k.length;++Z)if((le?k[Z].replace(r_,"!"):k[Z]).replace(Su,"")==O||(le?I[Z].replace(r_,"!"):I[Z]).replace(Su,"")==O)return x.FileIndex[Z];return null}var ee=64,ze=-2,rt="d0cf11e0a1b11ae1",Me=[208,207,17,224,161,177,26,225],yt="00000000000000000000000000000000",je={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:ze,FREESECT:-1,HEADER_SIGNATURE:rt,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:yt,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function ri(x,P,k){c();var I=V(x,k);l.writeFileSync(P,I)}function Ht(x){for(var P=new Array(x.length),k=0;k<x.length;++k)P[k]=String.fromCharCode(x[k]);return P.join("")}function wi(x,P){var k=V(x,P);switch(P&&P.type||"buffer"){case"file":return c(),l.writeFileSync(P.filename,k),k;case"binary":return typeof k=="string"?k:Ht(k);case"base64":return h_(typeof k=="string"?k:Ht(k));case"buffer":if(di)return Buffer.isBuffer(k)?k:Lo(k);case"array":return typeof k=="string"?ha(k):k}return k}var kn;function _t(x){try{var P=x.InflateRaw,k=new P;if(k._processChunk(new Uint8Array([3,0]),k._finishFlushFlag),k.bytesRead)kn=x;else throw new Error("zlib does not expose bytesRead")}catch(I){console.error("cannot use native zlib: "+(I.message||I))}}function St(x,P){if(!kn)return nh(x,P);var k=kn.InflateRaw,I=new k,R=I._processChunk(x.slice(x.l),I._finishFlushFlag);return x.l+=I.bytesRead,R}function Et(x){return kn?kn.deflateRawSync(x):jf(x)}var Ft=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ot=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],Wt=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function N(x){var P=(x<<1|x<<11)&139536|(x<<5|x<<15)&558144;return(P>>16|P>>8|P)&255}for(var Y=typeof Uint8Array<"u",U=Y?new Uint8Array(256):[],B=0;B<256;++B)U[B]=N(B);function ve(x,P){var k=U[x&255];return P<=8?k>>>8-P:(k=k<<8|U[x>>8&255],P<=16?k>>>16-P:(k=k<<8|U[x>>16&255],k>>>24-P))}function qe(x,P){var k=P&7,I=P>>>3;return(x[I]|(k<=6?0:x[I+1]<<8))>>>k&3}function mt(x,P){var k=P&7,I=P>>>3;return(x[I]|(k<=5?0:x[I+1]<<8))>>>k&7}function Je(x,P){var k=P&7,I=P>>>3;return(x[I]|(k<=4?0:x[I+1]<<8))>>>k&15}function Fe(x,P){var k=P&7,I=P>>>3;return(x[I]|(k<=3?0:x[I+1]<<8))>>>k&31}function Qt(x,P){var k=P&7,I=P>>>3;return(x[I]|(k<=1?0:x[I+1]<<8))>>>k&127}function Xt(x,P,k){var I=P&7,R=P>>>3,O=(1<<k)-1,Z=x[R]>>>I;return k<8-I||(Z|=x[R+1]<<8-I,k<16-I)||(Z|=x[R+2]<<16-I,k<24-I)||(Z|=x[R+3]<<24-I),Z&O}function it(x,P,k){var I=P&7,R=P>>>3;return I<=5?x[R]|=(k&7)<<I:(x[R]|=k<<I&255,x[R+1]=(k&7)>>8-I),P+3}function Li(x,P,k){var I=P&7,R=P>>>3;return k=(k&1)<<I,x[R]|=k,P+1}function ji(x,P,k){var I=P&7,R=P>>>3;return k<<=I,x[R]|=k&255,k>>>=8,x[R+1]=k,P+8}function Fn(x,P,k){var I=P&7,R=P>>>3;return k<<=I,x[R]|=k&255,k>>>=8,x[R+1]=k&255,x[R+2]=k>>>8,P+16}function ga(x,P){var k=x.length,I=2*k>P?2*k:P+5,R=0;if(k>=P)return x;if(di){var O=zP(I);if(x.copy)x.copy(O);else for(;R<x.length;++R)O[R]=x[R];return O}else if(Y){var Z=new Uint8Array(I);if(Z.set)Z.set(x);else for(;R<k;++R)Z[R]=x[R];return Z}return x.length=I,x}function Pe(x){for(var P=new Array(x),k=0;k<x;++k)P[k]=0;return P}function Oe(x,P,k){var I=1,R=0,O=0,Z=0,le=0,X=x.length,K=Y?new Uint16Array(32):Pe(32);for(O=0;O<32;++O)K[O]=0;for(O=X;O<k;++O)x[O]=0;X=x.length;var J=Y?new Uint16Array(X):Pe(X);for(O=0;O<X;++O)K[R=x[O]]++,I<R&&(I=R),J[O]=0;for(K[0]=0,O=1;O<=I;++O)K[O+16]=le=le+K[O-1]<<1;for(O=0;O<X;++O)le=x[O],le!=0&&(J[O]=K[le+16]++);var Se=0;for(O=0;O<X;++O)if(Se=x[O],Se!=0)for(le=ve(J[O],I)>>I-Se,Z=(1<<I+4-Se)-1;Z>=0;--Z)P[le|Z<<Se]=Se&15|O<<4;return I}var Il=Y?new Uint16Array(512):Pe(512),Ua=Y?new Uint16Array(32):Pe(32);if(!Y){for(var Dn=0;Dn<512;++Dn)Il[Dn]=0;for(Dn=0;Dn<32;++Dn)Ua[Dn]=0}(function(){for(var x=[],P=0;P<32;P++)x.push(5);Oe(x,Ua,32);var k=[];for(P=0;P<=143;P++)k.push(8);for(;P<=255;P++)k.push(9);for(;P<=279;P++)k.push(7);for(;P<=287;P++)k.push(8);Oe(k,Il,288)})();var Ml=(function(){for(var P=Y?new Uint8Array(32768):[],k=0,I=0;k<Wt.length-1;++k)for(;I<Wt[k+1];++I)P[I]=k;for(;I<32768;++I)P[I]=29;var R=Y?new Uint8Array(259):[];for(k=0,I=0;k<Ot.length-1;++k)for(;I<Ot[k+1];++I)R[I]=k;function O(le,X){for(var K=0;K<le.length;){var J=Math.min(65535,le.length-K),Se=K+J==le.length;for(X.write_shift(1,+Se),X.write_shift(2,J),X.write_shift(2,~J&65535);J-- >0;)X[X.l++]=le[K++]}return X.l}function Z(le,X){for(var K=0,J=0,Se=Y?new Uint16Array(32768):[];J<le.length;){var Ee=Math.min(65535,le.length-J);if(Ee<10){for(K=it(X,K,+(J+Ee==le.length)),K&7&&(K+=8-(K&7)),X.l=K/8|0,X.write_shift(2,Ee),X.write_shift(2,~Ee&65535);Ee-- >0;)X[X.l++]=le[J++];K=X.l*8;continue}K=it(X,K,+(J+Ee==le.length)+2);for(var Xe=0;Ee-- >0;){var Ae=le[J];Xe=(Xe<<5^Ae)&32767;var Ce=-1,kt=0;if((Ce=Se[Xe])&&(Ce|=J&-32768,Ce>J&&(Ce-=32768),Ce<J))for(;le[Ce+kt]==le[J+kt]&&kt<250;)++kt;if(kt>2){Ae=R[kt],Ae<=22?K=ji(X,K,U[Ae+1]>>1)-1:(ji(X,K,3),K+=5,ji(X,K,U[Ae-23]>>5),K+=3);var Ei=Ae<8?0:Ae-4>>2;Ei>0&&(Fn(X,K,kt-Ot[Ae]),K+=Ei),Ae=P[J-Ce],K=ji(X,K,U[Ae]>>3),K-=3;var Er=Ae<4?0:Ae-2>>1;Er>0&&(Fn(X,K,J-Ce-Wt[Ae]),K+=Er);for(var Ji=0;Ji<kt;++Ji)Se[Xe]=J&32767,Xe=(Xe<<5^le[J])&32767,++J;Ee-=kt-1}else Ae<=143?Ae=Ae+48:K=Li(X,K,1),K=ji(X,K,U[Ae]),Se[Xe]=J&32767,++J}K=ji(X,K,0)-1}return X.l=(K+7)/8|0,X.l}return function(X,K){return X.length<8?O(X,K):Z(X,K)}})();function jf(x){var P=q(50+Math.floor(x.length*1.1)),k=Ml(x,P);return P.slice(0,k)}var ih=Y?new Uint16Array(32768):Pe(32768),oi=Y?new Uint16Array(32768):Pe(32768),cr=Y?new Uint16Array(128):Pe(128),Ps=1,Hf=1;function Fs(x,P){var k=Fe(x,P)+257;P+=5;var I=Fe(x,P)+1;P+=5;var R=Je(x,P)+4;P+=4;for(var O=0,Z=Y?new Uint8Array(19):Pe(19),le=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],X=1,K=Y?new Uint8Array(8):Pe(8),J=Y?new Uint8Array(8):Pe(8),Se=Z.length,Ee=0;Ee<R;++Ee)Z[Ft[Ee]]=O=mt(x,P),X<O&&(X=O),K[O]++,P+=3;var Xe=0;for(K[0]=0,Ee=1;Ee<=X;++Ee)J[Ee]=Xe=Xe+K[Ee-1]<<1;for(Ee=0;Ee<Se;++Ee)(Xe=Z[Ee])!=0&&(le[Ee]=J[Xe]++);var Ae=0;for(Ee=0;Ee<Se;++Ee)if(Ae=Z[Ee],Ae!=0){Xe=U[le[Ee]]>>8-Ae;for(var Ce=(1<<7-Ae)-1;Ce>=0;--Ce)cr[Xe|Ce<<Ae]=Ae&7|Ee<<3}var kt=[];for(X=1;kt.length<k+I;)switch(Xe=cr[Qt(x,P)],P+=Xe&7,Xe>>>=3){case 16:for(O=3+qe(x,P),P+=2,Xe=kt[kt.length-1];O-- >0;)kt.push(Xe);break;case 17:for(O=3+mt(x,P),P+=3;O-- >0;)kt.push(0);break;case 18:for(O=11+Qt(x,P),P+=7;O-- >0;)kt.push(0);break;default:kt.push(Xe),X<Xe&&(X=Xe);break}var Ei=kt.slice(0,k),Er=kt.slice(k);for(Ee=k;Ee<286;++Ee)Ei[Ee]=0;for(Ee=I;Ee<30;++Ee)Er[Ee]=0;return Ps=Oe(Ei,ih,286),Hf=Oe(Er,oi,30),P}function Al(x,P){if(x[0]==3&&!(x[1]&3))return[Ec(P),2];for(var k=0,I=0,R=zP(P||1<<18),O=0,Z=R.length>>>0,le=0,X=0;(I&1)==0;){if(I=mt(x,k),k+=3,I>>>1)I>>1==1?(le=9,X=5):(k=Fs(x,k),le=Ps,X=Hf);else{k&7&&(k+=8-(k&7));var K=x[k>>>3]|x[(k>>>3)+1]<<8;if(k+=32,K>0)for(!P&&Z<O+K&&(R=ga(R,O+K),Z=R.length);K-- >0;)R[O++]=x[k>>>3],k+=8;continue}for(;;){!P&&Z<O+32767&&(R=ga(R,O+32767),Z=R.length);var J=Xt(x,k,le),Se=I>>>1==1?Il[J]:ih[J];if(k+=Se&15,Se>>>=4,(Se>>>8&255)===0)R[O++]=Se;else{if(Se==256)break;Se-=257;var Ee=Se<8?0:Se-4>>2;Ee>5&&(Ee=0);var Xe=O+Ot[Se];Ee>0&&(Xe+=Xt(x,k,Ee),k+=Ee),J=Xt(x,k,X),Se=I>>>1==1?Ua[J]:oi[J],k+=Se&15,Se>>>=4;var Ae=Se<4?0:Se-2>>1,Ce=Wt[Se];for(Ae>0&&(Ce+=Xt(x,k,Ae),k+=Ae),!P&&Z<Xe&&(R=ga(R,Xe+100),Z=R.length);O<Xe;)R[O]=R[O-Ce],++O}}}return P?[R,k+7>>>3]:[R.slice(0,O),k+7>>>3]}function nh(x,P){var k=x.slice(x.l||0),I=Al(k,P);return x.l+=I[1],I[0]}function fk(x,P){if(x)typeof console<"u"&&console.error(P);else throw new Error(P)}function pk(x,P){var k=x;Cr(k,0);var I=[],R=[],O={FileIndex:I,FullPaths:R};C(O,{root:P.root});for(var Z=k.length-4;(k[Z]!=80||k[Z+1]!=75||k[Z+2]!=5||k[Z+3]!=6)&&Z>=0;)--Z;k.l=Z+4,k.l+=4;var le=k.read_shift(2);k.l+=6;var X=k.read_shift(4);for(k.l=X,Z=0;Z<le;++Z){k.l+=20;var K=k.read_shift(4),J=k.read_shift(4),Se=k.read_shift(2),Ee=k.read_shift(2),Xe=k.read_shift(2);k.l+=8;var Ae=k.read_shift(4),Ce=s(k.slice(k.l+Se,k.l+Se+Ee));k.l+=Se+Ee+Xe;var kt=k.l;k.l=Ae+4,Ce&&Ce[1]&&((Ce[1]||{}).usz&&(J=Ce[1].usz),(Ce[1]||{}).csz&&(K=Ce[1].csz)),o3(k,K,J,O,Ce),k.l=kt}return O}function o3(x,P,k,I,R){x.l+=2;var O=x.read_shift(2),Z=x.read_shift(2),le=o(x);if(O&8257)throw new Error("Unsupported ZIP encryption");for(var X=x.read_shift(4),K=x.read_shift(4),J=x.read_shift(4),Se=x.read_shift(2),Ee=x.read_shift(2),Xe="",Ae=0;Ae<Se;++Ae)Xe+=String.fromCharCode(x[x.l++]);if(Ee){var Ce=s(x.slice(x.l,x.l+Ee));(Ce[21589]||{}).mt&&(le=Ce[21589].mt),(Ce[1]||{}).usz&&(J=Ce[1].usz),(Ce[1]||{}).csz&&(K=Ce[1].csz),R&&((R[21589]||{}).mt&&(le=R[21589].mt),(R[1]||{}).usz&&(J=R[1].usz),(R[1]||{}).csz&&(K=R[1].csz))}x.l+=Ee;var kt=x.slice(x.l,x.l+K);switch(Z){case 8:kt=St(x,J);break;case 0:x.l+=K;break;default:throw new Error("Unsupported ZIP Compression method "+Z)}var Ei=!1;O&8&&(X=x.read_shift(4),X==134695760&&(X=x.read_shift(4),Ei=!0),K=x.read_shift(4),J=x.read_shift(4)),K!=P&&fk(Ei,"Bad compressed size: "+P+" != "+K),J!=k&&fk(Ei,"Bad uncompressed size: "+k+" != "+J),Uv(I,Xe,kt,{unsafe:!0,mt:le})}function s3(x,P){var k=P||{},I=[],R=[],O=q(1),Z=k.compression?8:0,le=0,X=!1;X&&(le|=8);var K=0,J=0,Se=0,Ee=0,Xe=x.FullPaths[0],Ae=Xe,Ce=x.FileIndex[0],kt=[],Ei=0;for(K=1;K<x.FullPaths.length;++K)if(Ae=x.FullPaths[K].slice(Xe.length),Ce=x.FileIndex[K],!(!Ce.size||!Ce.content||Array.isArray(Ce.content)&&Ce.content.length==0||Ae=="�Sh33tJ5")){var Er=Se,Ji=q(Ae.length);for(J=0;J<Ae.length;++J)Ji.write_shift(1,Ae.charCodeAt(J)&127);Ji=Ji.slice(0,Ji.l),kt[Ee]=typeof Ce.content=="string"?XP.bstr(Ce.content,0):XP.buf(Ce.content,0);var qr=typeof Ce.content=="string"?ha(Ce.content):Ce.content;Z==8&&(qr=Et(qr)),O=q(30),O.write_shift(4,67324752),O.write_shift(2,20),O.write_shift(2,le),O.write_shift(2,Z),Ce.mt?a(O,Ce.mt):O.write_shift(4,0),O.write_shift(-4,le&8?0:kt[Ee]),O.write_shift(4,le&8?0:qr.length),O.write_shift(4,le&8?0:Ce.content.length),O.write_shift(2,Ji.length),O.write_shift(2,0),Se+=O.length,I.push(O),Se+=Ji.length,I.push(Ji),Se+=qr.length,I.push(qr),le&8&&(O=q(12),O.write_shift(-4,kt[Ee]),O.write_shift(4,qr.length),O.write_shift(4,Ce.content.length),Se+=O.l,I.push(O)),O=q(46),O.write_shift(4,33639248),O.write_shift(2,0),O.write_shift(2,20),O.write_shift(2,le),O.write_shift(2,Z),O.write_shift(4,0),O.write_shift(-4,kt[Ee]),O.write_shift(4,qr.length),O.write_shift(4,Ce.content.length),O.write_shift(2,Ji.length),O.write_shift(2,0),O.write_shift(2,0),O.write_shift(2,0),O.write_shift(2,0),O.write_shift(4,0),O.write_shift(4,Er),Ei+=O.l,R.push(O),Ei+=Ji.length,R.push(Ji),++Ee}return O=q(22),O.write_shift(4,101010256),O.write_shift(2,0),O.write_shift(2,0),O.write_shift(2,Ee),O.write_shift(2,Ee),O.write_shift(4,Ei),O.write_shift(4,Se),O.write_shift(2,0),ln([ln(I),ln(R),O])}var $f={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function l3(x,P){if(x.ctype)return x.ctype;var k=x.name||"",I=k.match(/\.([^\.]+)$/);return I&&$f[I[1]]||P&&(I=(k=P).match(/[\.\\]([^\.\\])+$/),I&&$f[I[1]])?$f[I[1]]:"application/octet-stream"}function c3(x){for(var P=h_(x),k=[],I=0;I<P.length;I+=76)k.push(P.slice(I,I+76));return k.join(`\r
8023`)+`\r
8024`}function d3(x){var P=x.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(K){var J=K.charCodeAt(0).toString(16).toUpperCase();return"="+(J.length==1?"0"+J:J)});P=P.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),P.charAt(0)==`
8025`&&(P="=0D"+P.slice(1)),P=P.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,`
8026=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var k=[],I=P.split(`\r
8027`),R=0;R<I.length;++R){var O=I[R];if(O.length==0){k.push("");continue}for(var Z=0;Z<O.length;){var le=76,X=O.slice(Z,Z+le);X.charAt(le-1)=="="?le--:X.charAt(le-2)=="="?le-=2:X.charAt(le-3)=="="&&(le-=3),X=O.slice(Z,Z+le),Z+=le,Z<O.length&&(X+="="),k.push(X)}}return k.join(`\r
8028`)}function u3(x){for(var P=[],k=0;k<x.length;++k){for(var I=x[k];k<=x.length&&I.charAt(I.length-1)=="=";)I=I.slice(0,I.length-1)+x[++k];P.push(I)}for(var R=0;R<P.length;++R)P[R]=P[R].replace(/[=][0-9A-Fa-f]{2}/g,function(O){return String.fromCharCode(parseInt(O.slice(1),16))});return ha(P.join(`\r
8029`))}function h3(x,P,k){for(var I="",R="",O="",Z,le=0;le<10;++le){var X=P[le];if(!X||X.match(/^\s*$/))break;var K=X.match(/^([^:]*?):\s*([^\s].*)$/);if(K)switch(K[1].toLowerCase()){case"content-location":I=K[2].trim();break;case"content-type":O=K[2].trim();break;case"content-transfer-encoding":R=K[2].trim();break}}switch(++le,R.toLowerCase()){case"base64":Z=ha(fl(P.slice(le).join("")));break;case"quoted-printable":Z=u3(P.slice(le));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+R)}var J=Uv(x,I.slice(k.length),Z,{unsafe:!0});O&&(J.ctype=O)}function m3(x,P){if(Ht(x.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var k=P&&P.root||"",I=(di&&Buffer.isBuffer(x)?x.toString("binary"):Ht(x)).split(`\r
8030`),R=0,O="";for(R=0;R<I.length;++R)if(O=I[R],!!/^Content-Location:/i.test(O)&&(O=O.slice(O.indexOf("file")),k||(k=O.slice(0,O.lastIndexOf("/")+1)),O.slice(0,k.length)!=k))for(;k.length>0&&(k=k.slice(0,k.length-1),k=k.slice(0,k.lastIndexOf("/")+1),O.slice(0,k.length)!=k););var Z=(I[1]||"").match(/boundary="(.*?)"/);if(!Z)throw new Error("MAD cannot find boundary");var le="--"+(Z[1]||""),X=[],K=[],J={FileIndex:X,FullPaths:K};C(J);var Se,Ee=0;for(R=0;R<I.length;++R){var Xe=I[R];Xe!==le&&Xe!==le+"--"||(Ee++&&h3(J,I.slice(Se,R),k),Se=R)}return J}function f3(x,P){var k=P||{},I=k.boundary||"SheetJS";I="------="+I;for(var R=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+I.slice(2)+'"',"","",""],O=x.FullPaths[0],Z=O,le=x.FileIndex[0],X=1;X<x.FullPaths.length;++X)if(Z=x.FullPaths[X].slice(O.length),le=x.FileIndex[X],!(!le.size||!le.content||Z=="�Sh33tJ5")){Z=Z.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(kt){return"_x"+kt.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(kt){return"_u"+kt.charCodeAt(0).toString(16)+"_"});for(var K=le.content,J=di&&Buffer.isBuffer(K)?K.toString("binary"):Ht(K),Se=0,Ee=Math.min(1024,J.length),Xe=0,Ae=0;Ae<=Ee;++Ae)(Xe=J.charCodeAt(Ae))>=32&&Xe<128&&++Se;var Ce=Se>=Ee*4/5;R.push(I),R.push("Content-Location: "+(k.root||"file:///C:/SheetJS/")+Z),R.push("Content-Transfer-Encoding: "+(Ce?"quoted-printable":"base64")),R.push("Content-Type: "+l3(le,Z)),R.push(""),R.push(Ce?d3(J):c3(J))}return R.push(I+`--\r
8031`),R.join(`\r
8032`)}function p3(x){var P={};return C(P,x),P}function Uv(x,P,k,I){var R=I&&I.unsafe;R||C(x);var O=!R&&ki.find(x,P);if(!O){var Z=x.FullPaths[0];P.slice(0,Z.length)==Z?Z=P:(Z.slice(-1)!="/"&&(Z+="/"),Z=(Z+P).replace("//","/")),O={name:r(P),type:2},x.FileIndex.push(O),x.FullPaths.push(Z),R||ki.utils.cfb_gc(x)}return O.content=k,O.size=k?k.length:0,I&&(I.CLSID&&(O.clsid=I.CLSID),I.mt&&(O.mt=I.mt),I.ct&&(O.ct=I.ct)),O}function g3(x,P){C(x);var k=ki.find(x,P);if(k){for(var I=0;I<x.FileIndex.length;++I)if(x.FileIndex[I]==k)return x.FileIndex.splice(I,1),x.FullPaths.splice(I,1),!0}return!1}function _3(x,P,k){C(x);var I=ki.find(x,P);if(I){for(var R=0;R<x.FileIndex.length;++R)if(x.FileIndex[R]==I)return x.FileIndex[R].name=r(k),x.FullPaths[R]=k,!0}return!1}function v3(x){L(x,!0)}return n.find=z,n.read=A,n.parse=d,n.write=wi,n.writeFile=ri,n.utils={cfb_new:p3,cfb_add:Uv,cfb_del:g3,cfb_mov:_3,cfb_gc:v3,ReadShift:tf,CheckField:eO,prep_blob:Cr,bconcat:ln,use_zlib:_t,_deflateRaw:jf,_inflateRaw:nh,consts:je},n})(),Jm;function KP(t){return typeof t=="string"?I_(t):Array.isArray(t)?nY(t):t}function pf(t,n,e){if(typeof Jm<"u"&&Jm.writeFileSync)return e?Jm.writeFileSync(t,n,e):Jm.writeFileSync(t,n);if(typeof Deno<"u"){if(e&&typeof n=="string")switch(e){case"utf8":n=new TextEncoder(e).encode(n);break;case"binary":n=I_(n);break;default:throw new Error("Unsupported encoding "+e)}return Deno.writeFileSync(t,n)}var i=e=="utf8"?ys(n):n;if(typeof IE_SaveFile<"u")return IE_SaveFile(i,t);if(typeof Blob<"u"){var r=new Blob([KP(i)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(r,t);if(typeof saveAs<"u")return saveAs(r,t);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var a=URL.createObjectURL(r);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(a)},6e4),chrome.downloads.download({url:a,filename:t,saveAs:!0});var o=document.createElement("a");if(o.download!=null)return o.download=t,o.href=a,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(a)},6e4),a}else if(typeof URL<"u"&&!URL.createObjectURL&&typeof chrome=="object"){var s="data:application/octet-stream;base64,"+iY(new Uint8Array(KP(i)));return chrome.downloads.download({url:s,filename:t,saveAs:!0})}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var l=File(t);return l.open("w"),l.encoding="binary",Array.isArray(n)&&(n=Tc(n)),l.write(n),l.close(),n}catch(c){if(!c.message||c.message.indexOf("onstruct")==-1)throw c}throw new Error("cannot save file "+t)}function cn(t){for(var n=Object.keys(t),e=[],i=0;i<n.length;++i)Object.prototype.hasOwnProperty.call(t,n[i])&&e.push(n[i]);return e}function QP(t,n){for(var e=[],i=cn(t),r=0;r!==i.length;++r)e[t[i[r]][n]]==null&&(e[t[i[r]][n]]=i[r]);return e}function rC(t){for(var n=[],e=cn(t),i=0;i!==e.length;++i)n[t[e[i]]]=e[i];return n}function R_(t){for(var n=[],e=cn(t),i=0;i!==e.length;++i)n[t[e[i]]]=parseInt(e[i],10);return n}function AY(t){for(var n=[],e=cn(t),i=0;i!==e.length;++i)n[t[e[i]]]==null&&(n[t[e[i]]]=[]),n[t[e[i]]].push(e[i]);return n}var HF=Date.UTC(1899,11,30,0,0,0),RY=Date.UTC(1899,11,31,0,0,0),PY=Date.UTC(1904,0,1,0,0,0);function zn(t,n){var e=t.getTime(),i=(e-HF)/(1440*60*1e3);return n?(i-=1462,i<-1402?i-1:i):i<60?i-1:i}function Du(t){if(t>=60&&t<61)return t;var n=new Date;return n.setTime((t>60?t:t+1)*24*60*60*1e3+HF),n}var FY=/^(\d+):(\d+)(:\d+)?(\.\d+)?$/,OY=/^(\d+)-(\d+)-(\d+)$/,$F=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)?(\.\d+)?$/;function Hr(t,n){if(t instanceof Date)return t;var e=t.match(FY);if(e)return new Date((n?PY:RY)+((parseInt(e[1],10)*60+parseInt(e[2],10))*60+(e[3]?parseInt(e[3].slice(1),10):0))*1e3+(e[4]?parseInt((e[4]+"000").slice(1,4),10):0));if(e=t.match(OY),e)return new Date(Date.UTC(+e[1],+e[2]-1,+e[3],0,0,0,0));if(e=t.match($F),e)return new Date(Date.UTC(+e[1],+e[2]-1,+e[3],+e[4],+e[5],e[6]&&parseInt(e[6].slice(1),10)||0,e[7]&&parseInt((e[7]+"0000").slice(1,4),10)||0));var i=new Date(t);return i}function aC(t,n){if(di&&Buffer.isBuffer(t)){if(n&&lf){if(t[0]==255&&t[1]==254)return ys(t.slice(2).toString("utf16le"));if(t[1]==254&&t[2]==255)return ys(eY(t.slice(2).toString("binary")))}return t.toString("binary")}if(typeof TextDecoder<"u")try{if(n){if(t[0]==255&&t[1]==254)return ys(new TextDecoder("utf-16le").decode(t.slice(2)));if(t[0]==254&&t[1]==255)return ys(new TextDecoder("utf-16be").decode(t.slice(2)))}var e={"\u20AC":"\x80","\u201A":"\x82",\u0192:"\x83","\u201E":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87","\u02C6":"\x88","\u2030":"\x89",\u0160:"\x8A","\u2039":"\x8B",\u0152:"\x8C",\u017D:"\x8
8032E","\u2018":"\x91","\u2019":"\x92","\u201C":"\x93","\u201D":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02DC":"\x98","\u2122":"\x99",\u0161:"\x9A","\u203A":"\x9B",\u0153:"\x9C",\u017E:"\x9E",\u0178:"\x9F"};return Array.isArray(t)&&(t=new Uint8Array(t)),new TextDecoder("latin1").decode(t).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(a){return e[a]||a})}catch(a){}var i=[],r=0;try{for(r=0;r<t.length-65536;r+=65536)i.push(String.fromCharCode.apply(0,t.slice(r,r+65536)));i.push(String.fromCharCode.apply(0,t.slice(r)))}catch(a){try{for(;r<t.length-16384;r+=16384)i.push(String.fromCharCode.apply(0,t.slice(r,r+16384)));i.push(String.fromCharCode.apply(0,t.slice(r)))}catch(o){for(;r!=t.length;++r)i.push(String.fromCharCode(t[r]))}}return i.join("")}function sr(t){if(typeof JSON<"u"&&!Array.isArray(t))return JSON.parse(JSON.stringify(t));if(typeof t!="object"||t==null)return t;if(t instanceof Date)return new Date(t.getTime());var n={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=sr(t[e]));return n}function Ui(t,n){for(var e="";e.length<n;)e+=t;return e}function ws(t){var n=Number(t);if(!isNaN(n))return isFinite(n)?n:NaN;if(!/\d/.test(t))return n;var e=1,i=t.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return e*=100,""});return!isNaN(n=Number(i))||(i=i.replace(/[(]([^()]*)[)]/,function(r,a){return e=-e,a}),!isNaN(n=Number(i)))?n/e:n}var NY=/^(0?\d|1[0-2])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))\s+([ap])m?$/,LY=/^([01]?\d|2[0-3])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))$/,BY=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)(\.\d+)?[Z]?$/,VY=new Date("6/9/69 00:00 UTC").valueOf()==-177984e5;function UY(t){return t[2]?t[3]?t[4]?new Date(Date.UTC(1899,11,31,+t[1]%12+(t[7]=="p"?12:0),+t[2],+t[4],parseFloat(t[3])*1e3)):new Date(Date.UTC(1899,11,31,t[7]=="p"?12:0,+t[1],+t[2],parseFloat(t[3])*1e3)):t[5]?new Date(Date.UTC(1899,11,31,+t[1]%12+(t[7]=="p"?12:0),+t[2],+t[5],t[6]?parseFloat(t[6])*1e3:0)):new Date(Date.UTC(1899,11,31,+t[1]%12+(t[7]=="p"?12:0),+t[2],0,0)):new Date(Date.UTC(1899,11,31,+t[1]%12+(t[7]=="p"?12:0),0,0,0))}function zY(t){return t[2]?t[3]?t[4]?new Date(Date.UTC(1899,11,31,+t[1],+t[2],+t[4],parseFloat(t[3])*1e3)):new Date(Date.UTC(1899,11,31,0,+t[1],+t[2],parseFloat(t[3])*1e3)):t[5]?new Date(Date.UTC(1899,11,31,+t[1],+t[2],+t[5],t[6]?parseFloat(t[6])*1e3:0)):new Date(Date.UTC(1899,11,31,+t[1],+t[2],0,0)):new Date(Date.UTC(1899,11,31,+t[1],0,0,0))}var jY=["january","february","march","april","may","june","july","august","september","october","november","december"];function __(t){if(BY.test(t))return t.indexOf("Z")==-1?P_(new Date(t)):new Date(t);var n=t.toLowerCase(),e=n.replace(/\s+/g," ").trim(),i=e.match(NY);if(i)return UY(i);if(i=e.match(LY),i)return zY(i);if(i=e.match($F),i)return new Date(Date.UTC(+i[1],+i[2]-1,+i[3],+i[4],+i[5],i[6]&&parseInt(i[6].slice(1),10)||0,i[7]&&parseInt((i[7]+"0000").slice(1,4),10)||0));var r=new Date(VY&&t.indexOf("UTC")==-1?t+" UTC":t),a=new Date(NaN),o=r.getYear(),s=r.getMonth(),l=r.getDate();if(isNaN(l))return a;if(n.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(n=n.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),n.length>3&&jY.indexOf(n)==-1)return a}else if(n.replace(/[ap]m?/,"").match(/[a-z]/))return a;return o<0||o>8099||t.match(/[^-0-9:,\/\\\ ]/)?a:r}function Pu(t){return new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds())}function P_(t){return new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()))}function It(t,n,e){if(t.FullPaths){if(Array.isArray(e)&&typeof e[0]=="string"&&(e=e.join("")),typeof e=="string"){var i;return di?i=Lo(e):i=rY(e),ki.utils.cfb_add(t,n,i)}ki.utils.cfb_add(t,n,e)}else t.file(n,e)}function oC(){return ki.utils.cfb_new()}var un=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
8033`;var HY={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},sC=rC(HY);var lC=/[&<>'"]/g,$Y=/[\u0000-\u0008\u000b-\u001f\uFFFE-\uFFFF]/g;function Mt(t){var n=t+"";return n.replace(lC,function(e){return sC[e]}).replace($Y,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function ZP(t){return Mt(t).replace(/ /g,"_x0020_")}var WF=/[\u0000-\u001f]/g;function Nw(t){var n=t+"";return n.replace(lC,function(e){return sC[e]}).replace(/\n/g,"<br/>").replace(WF,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function WY(t){var n=t+"";return n.replace(lC,function(e){return sC[e]}).replace(WF,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}function GY(t){return t.replace(/(\r\n|[\r\n])/g,"&#10;")}function qY(t){switch(t){case 1:case!0:case"1":case"true":return!0;case 0:case!1:case"0":case"false":return!1}return!1}function Lw(t){for(var n="",e=0,i=0,r=0,a=0,o=0,s=0;e<t.length;){if(i=t.charCodeAt(e++),i<128){n+=String.fromCharCode(i);continue}if(r=t.charCodeAt(e++),i>191&&i<224){o=(i&31)<<6,o|=r&63,n+=String.fromCharCode(o);continue}if(a=t.charCodeAt(e++),i<240){n+=String.fromCharCode((i&15)<<12|(r&63)<<6|a&63);continue}o=t.charCodeAt(e++),s=((i&7)<<18|(r&63)<<12|(a&63)<<6|o&63)-65536,n+=String.fromCharCode(55296+(s>>>10&1023)),n+=String.fromCharCode(56320+(s&1023))}return n}function JP(t){var n=Ec(2*t.length),e,i,r=1,a=0,o=0,s;for(i=0;i<t.length;i+=r)r=1,(s=t.charCodeAt(i))<128?e=s:s<224?(e=(s&31)*64+(t.charCodeAt(i+1)&63),r=2):s<240?(e=(s&15)*4096+(t.charCodeAt(i+1)&63)*64+(t.charCodeAt(i+2)&63),r=3):(r=4,e=(s&7)*262144+(t.charCodeAt(i+1)&63)*4096+(t.charCodeAt(i+2)&63)*64+(t.charCodeAt(i+3)&63),e-=65536,o=55296+(e>>>10&1023),e=56320+(e&1023)),o!==0&&(n[a++]=o&255,n[a++]=o>>>8,o=0),n[a++]=e%256,n[a++]=e>>>8;return n.slice(0,a).toString("ucs2")}function eF(t){return Lo(t,"binary").toString("utf8")}var a_="foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3",Eu=di&&(eF(a_)==Lw(a_)&&eF||JP(a_)==Lw(a_)&&JP)||Lw,ys=di?function(t){return Lo(t,"utf8").toString("binary")}:function(t){for(var n=[],e=0,i=0,r=0;e<t.length;)switch(i=t.charCodeAt(e++),!0){case i<128:n.push(String.fromCharCode(i));break;case i<2048:n.push(String.fromCharCode(192+(i>>6))),n.push(String.fromCharCode(128+(i&63)));break;case(i>=55296&&i<57344):i-=55296,r=t.charCodeAt(e++)-56320+(i<<10),n.push(String.fromCharCode(240+(r>>18&7))),n.push(String.fromCharCode(144+(r>>12&63))),n.push(String.fromCharCode(128+(r>>6&63))),n.push(String.fromCharCode(128+(r&63)));break;default:n.push(String.fromCharCode(224+(i>>12))),n.push(String.fromCharCode(128+(i>>6&63))),n.push(String.fromCharCode(128+(i&63)))}return n.join("")},YY=(function(){var t=[["nbsp"," "],["middot","\xB7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(n){return[new RegExp("&"+n[0]+";","ig"),n[1]]});return function(e){for(var i=e.replace(/^[\t\n\r ]+/,"").replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1").replace(/>\s+/g,">").replace(/\b\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,`
8034`).replace(/<[^<>]*>/g,""),r=0;r<t.length;++r)i=i.replace(t[r][0],t[r][1]);return i}})();var GF=/(^\s|\s$|\n)/;function Vn(t,n){return"<"+t+(n.match(GF)?' xml:space="preserve"':"")+">"+n+"</"+t+">"}function cf(t){return cn(t).map(function(n){return" "+n+'="'+t[n]+'"'}).join("")}function De(t,n,e){return"<"+t+(e!=null?cf(e):"")+(n!=null?(n.match(GF)?' xml:space="preserve"':"")+">"+n+"</"+t:"/")+">"}function Kw(t,n){try{return t.toISOString().replace(/\.\d*/,"")}catch(e){if(n)throw e}return""}function XY(t,n){switch(typeof t){case"string":var e=De("vt:lpwstr",Mt(t));return n&&(e=e.replace(/&quot;/g,"_x0022_")),e;case"number":return De((t|0)==t?"vt:i4":"vt:r8",Mt(String(t)));case"boolean":return De("vt:bool",t?"true":"false")}if(t instanceof Date)return De("vt:filetime",Kw(t));throw new Error("Unable to serialize "+t)}
vendor: 7,099 bytes, line 8034
8034var Pn={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},Ou=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],ma={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function KY(t,n){for(var e=1-2*(t[n+7]>>>7),i=((t[n+7]&127)<<4)+(t[n+6]>>>4&15),r=t[n+6]&15,a=5;a>=0;--a)r=r*256+t[n+a];return i==2047?r==0?e*(1/0):NaN:(i==0?i=-1022:(i-=1023,r+=Math.pow(2,52)),e*Math.pow(2,i-52)*r)}function QY(t,n,e){var i=(n<0||1/n==-1/0?1:0)<<7,r=0,a=0,o=i?-n:n;isFinite(o)?o==0?r=a=0:(r=Math.floor(Math.log(o)/Math.LN2),a=o*Math.pow(2,52-r),r<=-1023&&(!isFinite(a)||a<Math.pow(2,52))?r=-1022:(a-=Math.pow(2,52),r+=1023)):(r=2047,a=isNaN(n)?26985:0);for(var s=0;s<=5;++s,a/=256)t[e+s]=a&255;t[e+6]=(r&15)<<4|a&15,t[e+7]=r>>4|i}var tF=function(t){for(var n=[],e=10240,i=0;i<t[0].length;++i)if(t[0][i])for(var r=0,a=t[0][i].length;r<a;r+=e)n.push.apply(n,t[0][i].slice(r,r+e));return n},iF=di?function(t){return t[0].length>0&&Buffer.isBuffer(t[0][0])?Buffer.concat(t[0].map(function(n){return Buffer.isBuffer(n)?n:Lo(n)})):tF(t)}:tF,nF=function(t,n,e){for(var i=[],r=n;r<e;r+=2)i.push(String.fromCharCode(ef(t,r)));return i.join("").replace(Su,"")},F_=di?function(t,n,e){return!Buffer.isBuffer(t)||!lf?nF(t,n,e):t.toString("utf16le",n,e).replace(Su,"")}:nF,rF=function(t,n,e){for(var i=[],r=n;r<n+e;++r)i.push(("0"+t[r].toString(16)).slice(-2));return i.join("")},qF=di?function(t,n,e){return Buffer.isBuffer(t)?t.toString("hex",n,n+e):rF(t,n,e)}:rF,aF=function(t,n,e){for(var i=[],r=n;r<e;r++)i.push(String.fromCharCode(Cu(t,r)));return i.join("")},Nu=di?function(n,e,i){return Buffer.isBuffer(n)?n.toString("utf8",e,i):aF(n,e,i)}:aF,YF=function(t,n){var e=Rn(t,n);return e>0?Nu(t,n+4,n+4+e-1):""},cC=YF,XF=function(t,n){var e=Rn(t,n);return e>0?Nu(t,n+4,n+4+e-1):""},dC=XF,KF=function(t,n){var e=2*Rn(t,n);return e>0?Nu(t,n+4,n+4+e-1):""},uC=KF,QF=function(n,e){var i=Rn(n,e);return i>0?F_(n,e+4,e+4+i):""},hC=QF,ZF=function(t,n){var e=Rn(t,n);return e>0?Nu(t,n+4,n+4+e):""},mC=ZF,JF=function(t,n){return KY(t,n)},v_=JF,fC=function(n){return Array.isArray(n)||typeof Uint8Array<"u"&&n instanceof Uint8Array};di&&(cC=function(n,e){if(!Buffer.isBuffer(n))return YF(n,e);var i=n.readUInt32LE(e);return i>0?n.toString("utf8",e+4,e+4+i-1):""},dC=function(n,e){if(!Buffer.isBuffer(n))return XF(n,e);var i=n.readUInt32LE(e);return i>0?n.toString("utf8",e+4,e+4+i-1):""},uC=function(n,e){if(!Buffer.isBuffer(n)||!lf)return KF(n,e);var i=2*n.readUInt32LE(e);return n.toString("utf16le",e+4,e+4+i-1)},hC=function(n,e){if(!Buffer.isBuffer(n)||!lf)return QF(n,e);var i=n.readUInt32LE(e);return n.toString("utf16le",e+4,e+4+i)},mC=function(n,e){if(!Buffer.isBuffer(n))return ZF(n,e);var i=n.readUInt32LE(e);return n.toString("utf8",e+4,e+4+i)},v_=function(n,e){return Buffer.isBuffer(n)?n.readDoubleLE(e):JF(n,e)},fC=function(n){return Buffer.isBuffer(n)||Array.isArray(n)||typeof Uint8Array<"u"&&n instanceof Uint8Array});function ZY(){F_=function(t,n,e){return ii.utils.decode(1200,t.slice(n,e)).replace(Su,"")},Nu=function(t,n,e){return ii.utils.decode(65001,t.slice(n,e))},cC=function(t,n){var e=Rn(t,n);return e>0?ii.utils.decode(Ru,t.slice(n+4,n+4+e-1)):""},dC=function(t,n){var e=Rn(t,n);return e>0?ii.utils.decode(fa,t.slice(n+4,n+4+e-1)):""},uC=function(t,n){var e=2*Rn(t,n);return e>0?ii.utils.decode(1200,t.slice(n+4,n+4+e-1)):""},hC=function(t,n){var e=Rn(t,n);return e>0?ii.utils.decode(1200,t.slice(n+4,n+4+e)):""},mC=function(t,n){var e=Rn(t,n);return e>0?ii.utils.decode(65001,t.slice(n+4,n+4+e)):""}}typeof ii<"u"&&ZY();var Cu=function(t,n){return t[n]},ef=function(t,n){return t[n+1]*256+t[n]},JY=function(t,n){var e=t[n+1]*256+t[n];return e<32768?e:(65535-e+1)*-1},Rn=function(t,n){return t[n+3]*(1<<24)+(t[n+2]<<16)+(t[n+1]<<8)+t[n]},kc=function(t,n){return t[n+3]<<24|t[n+2]<<16|t[n+1]<<8|t[n]},eX=function(t,n){return t[n]<<24|t[n+1]<<16|t[n+2]<<8|t[n+3]};function tf(t,n){var e="",i,r,a=[],o,s,l,c;switch(n){case"dbcs":if(c=this.l,di&&Buffer.isBuffer(this)&&lf)e=this.slice(this.l,this.l+2*t).toString("utf16le");else for(l=0;l<t;++l)e+=String.fromCharCode(ef(this,c)),c+=2;t*=2;break;case"utf8":e=Nu(this,this.l,this.l+t);break;case"utf16le":t*=2,e=F_(this,this.l,this.l+t);break;case"wstr":if(typeof ii<"u")e=ii.utils.decode(fa,this.slice(this.l,this.l+2*t));else return tf.call(this,t,"dbcs");t=2*t;break;case"lpstr-ansi":e=cC(this,this.l),t=4+Rn(this,this.l);break;case"lpstr-cp":e=dC(this,this.l),t=4+Rn(this,this.l);break;case"lpwstr":e=uC(this,this.l),t=4+2*Rn(this,this.l);break;case"lpp4":t=4+Rn(this,this.l),e=hC(this,this.l),t&2&&(t+=2);break;case"8lpp4":t=4+Rn(this,this.l),e=mC(this,this.l),t&3&&(t+=4-(t&3));break;case"cstr":for(t=0,e="";(o=Cu(this,this.l+t++))!==0;)a.push(n_(o));e=a.join("");break;case"_wstr":for(t=0,e="";(o=ef(this,this.l+t))!==0;)a.push(n_(o)),t+=2;t+=2,e=a.join("");break;case"dbcs-cont":for(e="",c=this.l,l=0;l<t;++l){if(this.lens&&this.lens.indexOf(c)!==-1)return o=Cu(this,c),this.l=c+1,s=tf.call(this,t-l,o?"dbcs-cont":"sbcs-cont"),a.join("")+s;a.push(n_(ef(this,c))),c+=2}e=a.join(""),t*=2;break;case"cpstr":if(typeof ii<"u"){e=ii.utils.decode(fa,this.slice(this.l,this.l+t));break}case"sbcs-cont":for(e="",c=this.l,l=0;l!=t;++l){if(this.lens&&this.lens.indexOf(c)!==-1)return o=Cu(this,c),this.l=c+1,s=tf.call(this,t-l,o?"dbcs-cont":"sbcs-cont"),a.join("")+s;a.push(n_(Cu(this,c))),c+=1}e=a.join("");break;default:switch(t){case 1:return i=Cu(this,this.l),this.l++,i;case 2:return i=(n==="i"?JY:ef)(this,this.l),this.l+=2,i;case 4:case-4:return n==="i"||(this[this.l+3]&128)===0?(i=(t>0?kc:eX)(this,this.l),this.l+=4,i):(r=Rn(this,this.l),this.l+=4,r);case 8:case-8:if(n==="f")return t==8?r=v_(this,this.l):r=v_([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,r;t=8;
8034case 16:e=qF(this,this.l,t);break}}return this.l+=t,e}var tX=function(t,n,e){t[e]=n&255,t[e+1]=n>>>8&255,t[e+2]=n>>>16&255,t[e+3]=n>>>24&255},iX=function(t,n,e){t[e]=n&255,t[e+1]=n>>8&255,t[e+2]=n>>16&255,t[e+3]=n>>24&255},nX=function(t,n,e){t[e]=n&255,t[e+1]=n>>>8&255};function rX(t,n,e){var i=0,r=0;if(e==="dbcs"){for(r=0;r!=n.length;++r)nX(this,n.charCodeAt(r),this.l+2*r);i=2*n.length}else if(e==="sbcs"||e=="cpstr")if(typeof ii<"u"&&Ru==874){for(r=0;r!=n.length;++r){var a=ii.utils.encode(Ru,n.charAt(r));this[this.l+r]=a[0]}i=n.length}else if(typeof ii<"u"&&e=="cpstr"){if(a=ii.utils.encode(fa,n),a.length==n.length)for(r=0;r<n.length;++r)a[r]==0&&n.charCodeAt(r)!=0&&(a[r]=95);if(a.length==2*n.length)for(r=0;r<n.length;++r)a[2*r]==0&&a[2*r+1]==0&&n.charCodeAt(r)!=0&&(a[2*r]=95);for(r=0;r<a.length;++r)this[this.l+r]=a[r];i=a.length}else{for(n=n.replace(/[^\x00-\x7F]/g,"_"),r=0;r!=n.length;++r)this[this.l+r]=n.charCodeAt(r)&255;i=n.length}else if(e==="hex"){for(;r<t;++r)this[this.l++]=parseInt(n.slice(2*r,2*r+2),16)||0;return this}else if(e==="utf16le"){var o=Math.min(this.l+t,this.length);for(r=0;r<Math.min(n.length,t);++r){var s=n.charCodeAt(r);this[this.l++]=s&255,this[this.l++]=s>>8}for(;this.l<o;)this[this.l++]=0;return this}else switch(t){case 1:i=1,this[this.l]=n&255;break;case 2:i=2,this[this.l]=n&255,n>>>=8,this[this.l+1]=n&255;break;case 3:i=3,this[this.l]=n&255,n>>>=8,this[this.l+1]=n&255,n>>>=8,this[this.l+2]=n&255;break;case 4:i=4,tX(this,n,this.l);break;case 8:if(i=8,e==="f"){QY(this,n,this.l);break}case 16:break;case-4:i=4,iX(this,n,this.l);break}return this.l+=i,this}function eO(t,n){var e=qF(this,this.l,t.length>>1);if(e!==t)throw new Error(n+"Expected "+t+" saw "+e);this.l+=t.length>>1}function Cr(t,n){t.l=n,t.read_shift=tf,t.chk=eO,t.write_shift=rX}function No(t,n){t.l+=n}function q(t){var n=Ec(t);return Cr(n,0),n}function ar(){var t=[],n=di?16384:2048,e=di&&typeof q(n).copy=="function",i=function(u){var h=q(u);return Cr(h,0),h},r=i(n),a=function(){r&&(r.l&&(r.length>r.l&&(r=r.slice(0,r.l),r.l=r.length),r.length>0&&t.push(r)),r=null)},o=function(u){return r&&u<r.length-r.l?r:(a(),r=i(Math.max(u+1,n)))},s=function(){return a(),ln(t)},l=function(){return a(),t},c=function(u){a(),r=u,r.l==null&&(r.l=r.length),o(n)};return{next:o,push:c,end:s,_bufs:t,end2:l}}function me(t,n,e,i){var r=+n,a;if(!isNaN(r)){i||(i=ute[r].p||(e||[]).length||0),a=1+(r>=128?1:0)+1,i>=128&&++a,i>=16384&&++a,i>=2097152&&++a;var o=t.next(a);r<=127?o.write_shift(1,r):(o.write_shift(1,(r&127)+128),o.write_shift(1,r>>7));for(var s=0;s!=4;++s)if(i>=128)o.write_shift(1,(i&127)+128),i>>=7;else{o.write_shift(1,i);break}i>0&&fC(e)&&t.push(e)}}function nf(t,n,e){var i=sr(t);if(n.s?(i.cRel&&(i.c+=n.s.c),i.rRel&&(i.r+=n.s.r)):(i.cRel&&(i.c+=n.c),i.rRel&&(i.r+=n.r)),!e||e.biff<12){for(;i.c>=256;)i.c-=256;for(;i.r>=65536;)i.r-=65536}return i}function oF(t,n,e){var i=sr(t);return i.s=nf(i.s,n.s,e),i.e=nf(i.e,n.s,e),i}function rf(t,n){if(t.cRel&&t.c<0)for(t=sr(t);t.c<0;)t.c+=n>8?16384:256;if(t.rRel&&t.r<0)for(t=sr(t);t.r<0;)t.r+=n>8?1048576:n>5?65536:16384;var e=Yi(t);return!t.cRel&&t.cRel!=null&&(e=sX(e)),!t.rRel&&t.rRel!=null&&(e=aX(e)),e}function Bw(t,n){return t.s.r==0&&!t.s.rRel&&t.e.r==(n.biff>=12?1048575:n.biff>=8?65536:16384)&&!t.e.rRel?(t.s.cRel?"":"$")+pi(t.s.c)+":"+(t.e.cRel?"":"$")+pi(t.e.c):t.s.c==0&&!t.s.cRel&&t.e.c==(n.biff>=12?16383:255)&&!t.e.cRel?(t.s.rRel?"":"$")+xi(t.s.r)+":"+(t.e.rRel?"":"$")+xi(t.e.r):rf(t.s,n.biff)+":"+rf(t.e,n.biff)}function pC(t){return parseInt(oX(t),10)-1}function xi(t){return""+(t+1)}function aX(t){return t.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function oX(t){return t.replace(/\$(\d+)$/,"$1")}function gC(t){for(var n=lX(t),e=0,i=0;i!==n.length;++i)e=26*e+n.charCodeAt(i)-64;return e-1}function pi(t){if(t<0)throw new Error("invalid column "+t);var n="";for(++t;t;t=Math.floor((t-1)/26))n=String.fromCharCode((t-1)%26+65)+n;return n}function sX(t){return t.replace(/^([A-Z])/,"$$$1")}function lX(t){return t.replace(/^\$([A-Z])/,"$1")}function cX(t){return t.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function zi(t){for(var n=0,e=0,i=0;i<t.length;++i){var r=t.charCodeAt(i);r>=48&&r<=57?n=10*n+(r-48):r>=65&&r<=90&&(e=26*e+(r-64))}return{c:e-1,r:n-1}}function Yi(t){for(var n=t.c+1,e="";n;n=(n-1)/26|0)e=String.fromCharCode((n-1)%26+65)+e;return e+(t.r+1)}function Un(t){var n=t.indexOf(":");return n==-1?{s:zi(t),e:zi(t)}:{s:zi(t.slice(0,n)),e:zi(t.slice(n+1))}}function dn(t,n){return typeof n>"u"||typeof n=="number"?dn(t.s,t.e):(typeof t!="string"&&(t=Yi(t)),typeof n!="str
8034ing"&&(n=Yi(n)),t==n?t:t+":"+n)}function df(t){var n=Un(t);return"$"+pi(n.s.c)+"$"+xi(n.s.r)+":$"+pi(n.e.c)+"$"+xi(n.e.r)}function uf(t,n){if(!t&&!(n&&n.biff<=5&&n.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(t)?"'"+t.replace(/'/g,"''")+"'":t}function Oi(t){var n={s:{c:0,r:0},e:{c:0,r:0}},e=0,i=0,r=0,a=t.length;for(e=0;i<a&&!((r=t.charCodeAt(i)-64)<1||r>26);++i)e=26*e+r;for(n.s.c=--e,e=0;i<a&&!((r=t.charCodeAt(i)-48)<0||r>9);++i)e=10*e+r;if(n.s.r=--e,i===a||r!=10)return n.e.c=n.s.c,n.e.r=n.s.r,n;for(++i,e=0;i!=a&&!((r=t.charCodeAt(i)-64)<1||r>26);++i)e=26*e+r;for(n.e.c=--e,e=0;i!=a&&!((r=t.charCodeAt(i)-48)<0||r>9);++i)e=10*e+r;return n.e.r=--e,n}function sF(t,n){var e=t.t=="d"&&n instanceof Date;if(t.z!=null)try{return t.w=Ss(t.z,e?zn(n):n)}catch(i){}try{return t.w=Ss((t.XF||{}).numFmtId||(e?14:0),e?zn(n):n)}catch(i){return""+n}}function ks(t,n,e){return t==null||t.t==null||t.t=="z"?"":t.w!==void 0?t.w:(t.t=="d"&&!t.z&&e&&e.dateNF&&(t.z=e.dateNF),t.t=="e"?kr[t.v]||t.v:n==null?sF(t,t.v):sF(t,n))}function Lu(t,n){var e=n&&n.sheet?n.sheet:"Sheet1",i={};return i[e]=t,{SheetNames:[e],Sheets:i}}function dX(t){var n={},e=t||{};return e.dense&&(n["!data"]=[]),n}function tO(t,n,e){var i=e||{},r=t?t["!data"]!=null:i.dense;Fo!=null&&r==null&&(r=Fo);var a=t||(r?{"!data":[]}:{});r&&!a["!data"]&&(a["!data"]=[]);var o=0,s=0;if(a&&i.origin!=null)if(typeof i.origin=="number")o=i.origin;else{var l=typeof i.origin=="string"?zi(i.origin):i.origin;o=l.r,s=l.c}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(a["!ref"]){var d=Oi(a["!ref"]);c.s.c=d.s.c,c.s.r=d.s.r,c.e.c=Math.max(c.e.c,d.e.c),c.e.r=Math.max(c.e.r,d.e.r),o==-1&&(c.e.r=o=a["!ref"]?d.e.r+1:0)}else c.s.c=c.e.c=c.s.r=c.e.r=0;for(var u=[],h=!1,m=0;m!=n.length;++m)if(n[m]){if(!Array.isArray(n[m]))throw new Error("aoa_to_sheet expects an array of arrays");var g=o+m;r&&(a["!data"][g]||(a["!data"][g]=[]),u=a["!data"][g]);for(var _=n[m],p=0;p!=_.length;++p)if(!(typeof _[p]>"u")){var v={v:_[p],t:""},b=s+p;if(c.s.r>g&&(c.s.r=g),c.s.c>b&&(c.s.c=b),c.e.r<g&&(c.e.r=g),c.e.c<b&&(c.e.c=b),h=!0,_[p]&&typeof _[p]=="object"&&!Array.isArray(_[p])&&!(_[p]instanceof Date))v=_[p];else if(Array.isArray(v.v)&&(v.f=_[p][1],v.v=v.v[0]),v.v===null)if(v.f)v.t="n";else if(i.nullError)v.t="e",v.v=0;else if(i.sheetStubs)v.t="z";else continue;else typeof v.v=="number"?isFinite(v.v)?v.t="n":isNaN(v.v)?(v.t="e",v.v=15):(v.t="e",v.v=7):typeof v.v=="boolean"?v.t="b":v.v instanceof Date?(v.z=i.dateNF||Fi[14],i.UTC||(v.v=P_(v.v)),i.cellDates?(v.t="d",v.w=Ss(v.z,zn(v.v,i.date1904))):(v.t="n",v.v=zn(v.v,i.date1904),v.w=Ss(v.z,v.v))):v.t="s";if(r)u[b]&&u[b].z&&(v.z=u[b].z),u[b]=v;else{var y=pi(b)+(g+1);a[y]&&a[y].z&&(v.z=a[y].z),a[y]=v}}}return h&&c.s.c<104e5&&(a["!ref"]=dn(c)),a}function Bu(t,n){return tO(null,t,n)}function uX(t){return t.read_shift(4,"i")}function co(t,n){return n||(n=q(4)),n.write_shift(4,t),n}function or(t){var n=t.read_shift(4);return n===0?"":t.read_shift(n,"dbcs")}function Cn(t,n){var e=!1;return n==null&&(e=!0,n=q(4+2*t.length)),n.write_shift(4,t.length),t.length>0&&n.write_shift(0,t,"dbcs"),e?n.slice(0,n.l):n}function hX(t){return{ich:t.read_shift(2),ifnt:t.read_shift(2)}}function mX(t,n){return n||(n=q(4)),n.write_shift(2,t.ich||0),n.write_shift(2,t.ifnt||0),n}function _C(t,n){var e=t.l,i=t.read_shift(1),r=or(t),a=[],o={t:r,h:r};if((i&1)!==0){for(var s=t.read_shift(4),l=0;l!=s;++l)a.push(hX(t));o.r=a}else o.r=[{ich:0,ifnt:0}];return t.l=e+n,o}function fX(t,n){var e=!1;return n==null&&(e=!0,n=q(15+4*t.t.length)),n.write_shift(1,0),Cn(t.t,n),e?n.slice(0,n.l):n}var pX=_C;function gX(t,n){var e=!1;return n==null&&(e=!0,n=q(23+4*t.t.length)),n.write_shift(1,1),Cn(t.t,n),n.write_shift(4,1),mX({ich:0,ifnt:0},n),e?n.slice(0,n.l):n}function Na(t){var n=t.read_shift(4),e=t.read_shift(2);return e+=t.read_shift(1)<<16,t.l++,{c:n,iStyleRef:e}}function Rc(t,n){return n==null&&(n=q(8)),n.write_shift(-4,t.c),n.write_shift(3,t.iStyleRef||t.s),n.write_shift(1,0),n}function Pc(t){var n=t.read_shift(2);return n+=t.read_shift(1)<<16,t.l++,{c:-1,iStyleRef:n}}function Fc(t,n){return n==null&&(n=q(4)),n.write_shift(3,t.iStyleRef||t.s),n.write_shift(1,0),n}var _X=or,iO=Cn;function O_(t){var n=t.read_shift(4);return n===0||n===4294967295?"":t.read_shift(n,"dbcs")}function hf(t,n){var e=!1;return n==null&&(e=!0,n=q(127)),n.write_shift(4,t.length>0?t.length:4294967295),t.length>0&&n.write_shift(0,t,"dbcs"),e?n.slice(0,n.l):n}var vX=or,Qw=O_,vC=hf;function bC(t){var n=t.slice(t.l,t.l+4),e=n[0]&1,i=n[0]&2;t.l+=4;var r=i===0?v_([0,0,0,0,n[0]&252,n[1],n[2],n[3]],0):kc(n,0)>>2;return e?r/100:r}function nO(t,n){n==null&&(n=q(4));var e=0,i=0,r=t*100;if(t==(t|0)&&t>=-(1<<29)&&t<1<<29?i=1:r==(r|0)&&r>=-(1<<29)&&r<1<<29&&(i=1,e=1),i)n.write_shift(-4,((e?r:t)<<2)+(e+2));else throw new Error("unsupported RkNumber "+t)}function rO(t){var n={s:{},e:{}};return n.s.r=t.read_shift(4),n.e.r=t.read_shift(4),n.s.c=t.read_shift(4),n.e.c=t.read_shift(4),n}
8034function bX(t,n){return n||(n=q(16)),n.write_shift(4,t.s.r),n.write_shift(4,t.e.r),n.write_shift(4,t.s.c),n.write_shift(4,t.e.c),n}var Oc=rO,Vu=bX;function Uu(t){if(t.length-t.l<8)throw"XLS Xnum Buffer underflow";return t.read_shift(8,"f")}function Mc(t,n){return(n||q(8)).write_shift(8,t,"f")}function yX(t){var n={},e=t.read_shift(1),i=e>>>1,r=t.read_shift(1),a=t.read_shift(2,"i"),o=t.read_shift(1),s=t.read_shift(1),l=t.read_shift(1);switch(t.l++,i){case 0:n.auto=1;break;case 1:n.index=r;var c=IX[r];c&&(n.rgb=bF(c));break;case 2:n.rgb=bF([o,s,l]);break;case 3:n.theme=r;break}return a!=0&&(n.tint=a>0?a/32767:a/32768),n}function b_(t,n){if(n||(n=q(8)),!t||t.auto)return n.write_shift(4,0),n.write_shift(4,0),n;t.index!=null?(n.write_shift(1,2),n.write_shift(1,t.index)):t.theme!=null?(n.write_shift(1,6),n.write_shift(1,t.theme)):(n.write_shift(1,5),n.write_shift(1,0));var e=t.tint||0;if(e>0?e*=32767:e<0&&(e*=32768),n.write_shift(2,e),!t.rgb||t.theme!=null)n.write_shift(2,0),n.write_shift(1,0),n.write_shift(1,0);else{var i=t.rgb||"FFFFFF";typeof i=="number"&&(i=("000000"+i.toString(16)).slice(-6)),n.write_shift(1,parseInt(i.slice(0,2),16)),n.write_shift(1,parseInt(i.slice(2,4),16)),n.write_shift(1,parseInt(i.slice(4,6),16)),n.write_shift(1,255)}return n}function xX(t){var n=t.read_shift(1);t.l++;var e={fBold:n&1,fItalic:n&2,fUnderline:n&4,fStrikeout:n&8,fOutline:n&16,fShadow:n&32,fCondense:n&64,fExtend:n&128};return e}function wX(t,n){n||(n=q(2));var e=(t.italic?2:0)|(t.strike?8:0)|(t.outline?16:0)|(t.shadow?32:0)|(t.condense?64:0)|(t.extend?128:0);return n.write_shift(1,e),n.write_shift(1,0),n}var aO=2,ua=3,o_=11;var y_=19,s_=64,CX=65,SX=71,kX=4108,DX=4126,Bn=80;var lF={1:{n:"CodePage",t:aO},2:{n:"Category",t:Bn},3:{n:"PresentationFormat",t:Bn},4:{n:"ByteCount",t:ua},5:{n:"LineCount",t:ua},6:{n:"ParagraphCount",t:ua},7:{n:"SlideCount",t:ua},8:{n:"NoteCount",t:ua},9:{n:"HiddenCount",t:ua},10:{n:"MultimediaClipCount",t:ua},11:{n:"ScaleCrop",t:o_},12:{n:"HeadingPairs",t:kX},13:{n:"TitlesOfParts",t:DX},14:{n:"Manager",t:Bn},15:{n:"Company",t:Bn},16:{n:"LinksUpToDate",t:o_},17:{n:"CharacterCount",t:ua},19:{n:"SharedDoc",t:o_},22:{n:"HyperlinksChanged",t:o_},23:{n:"AppVersion",t:ua,p:"version"},24:{n:"DigSig",t:CX},26:{n:"ContentType",t:Bn},27:{n:"ContentStatus",t:Bn},28:{n:"Language",t:Bn},29:{n:"Version",t:Bn},255:{},2147483648:{n:"Locale",t:y_},2147483651:{n:"Behavior",t:y_},1919054434:{}},cF={1:{n:"CodePage",t:aO},2:{n:"Title",t:Bn},3:{n:"Subject",t:Bn},4:{n:"Author",t:Bn},5:{n:"Keywords",t:Bn},6:{n:"Comments",t:Bn},7:{n:"Template",t:Bn},8:{n:"LastAuthor",t:Bn},9:{n:"RevNumber",t:Bn},10:{n:"EditTime",t:s_},11:{n:"LastPrinted",t:s_},12:{n:"CreatedDate",t:s_},13:{n:"ModifiedDate",t:s_},14:{n:"PageCount",t:ua},15:{n:"WordCount",t:ua},16:{n:"CharCount",t:ua},17:{n:"Thumbnail",t:SX},18:{n:"Application",t:Bn},19:{n:"DocSecurity",t:ua},255:{},2147483648:{n:"Locale",t:y_},2147483651:{n:"Behavior",t:y_},1919054434:{}};function EX(t){return t.map(function(n){return[n>>16&255,n>>8&255,n&255]})}var TX=EX([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,0,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),IX=sr(TX),kr={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Oo={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},MX=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"],AX={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},l_={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"}
8034,comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function oO(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function sO(t,n,e){var i=AY(AX),r=[],a;e||(r[r.length]=un,r[r.length]=De("Types",null,{xmlns:Pn.CT,"xmlns:xsd":Pn.xsd,"xmlns:xsi":Pn.xsi}),r=r.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["t
8034if","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(c){return De("Default",null,{Extension:c[0],ContentType:c[1]})})));var o=function(c){t[c]&&t[c].length>0&&(a=t[c][0],r[r.length]=De("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:l_[c][n.bookType]||l_[c].xlsx}))},s=function(c){(t[c]||[]).forEach(function(d){r[r.length]=De("Override",null,{PartName:(d[0]=="/"?"":"/")+d,ContentType:l_[c][n.bookType]||l_[c].xlsx})})},l=function(c){(t[c]||[]).forEach(function(d){r[r.length]=De("Override",null,{PartName:(d[0]=="/"?"":"/")+d,ContentType:i[c][0]})})};return o("workbooks"),s("sheets"),s("charts"),l("themes"),["strs","styles"].forEach(o),["coreprops","extprops","custprops"].forEach(l),l("vba"),l("comments"),l("threadedcomments"),l("drawings"),s("metadata"),l("people"),!e&&r.length>2&&(r[r.length]="</Types>",r[1]=r[1].replace("/>",">")),r.join("")}var Kt
vendor: 2,568 bytes, line 8034
8034={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",CONN:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function 
8034lO(t){var n=t.lastIndexOf("/");return t.slice(0,n+1)+"_rels/"+t.slice(n+1)+".rels"}function Tu(t){var n=[un,De("Relationships",null,{xmlns:Pn.RELS})];return cn(t["!id"]).forEach(function(e){n[n.length]=De("Relationship",null,t["!id"][e])}),n.length>2&&(n[n.length]="</Relationships>",n[1]=n[1].replace("/>",">")),n.join("")}function ci(t,n,e,i,r,a){if(r||(r={}),t["!id"]||(t["!id"]={}),t["!idx"]||(t["!idx"]=1),n<0)for(n=t["!idx"];t["!id"]["rId"+n];++n);if(t["!idx"]=n+1,r.Id="rId"+n,r.Type=i,r.Target=e,a?r.TargetMode=a:[Kt.HLINK,Kt.XPATH,Kt.XMISS].indexOf(r.Type)>-1&&(r.TargetMode="External"),t["!id"][r.Id])throw new Error("Cannot rewrite rId "+n);return t["!id"][r.Id]=r,t[("/"+r.Target).replace("//","/")]=r,n}function RX(t){var n=[un];n.push(`<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">
8035`),n.push(`  <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>
8036`);for(var e=0;e<t.length;++e)n.push('  <manifest:file-entry manifest:full-path="'+t[e][0]+'" manifest:media-type="'+t[e][1]+`"/>
8037`);return n.push("</manifest:manifest>"),n.join("")}function dF(t,n,e){return['  <rdf:Description rdf:about="'+t+`">
8038`,'    <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(e||"odf")+"#"+n+`"/>
8038
8039`,`  </rdf:Description>
8040`].join("")}function PX(t,n){return['  <rdf:Description rdf:about="'+t+`">
8041`,'    <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+n+`"/>
8042`,`  </rdf:Description>
8043`].join("")}function FX(t){var n=[un];n.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
8044`);for(var e=0;e!=t.length;++e)n.push(dF(t[e][0],t[e][1])),n.push(PX("",t[e][0]));return n.push(dF("","Document","pkg")),n.push("</rdf:RDF>"),n.join("")}function cO(t,n){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+of.version+"</meta:generator></office:meta></office:document-meta>"}var Dc=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function Vw(t,n,e,i,r){r[t]!=null||n==null||n===""||(r[t]=n,n=Mt(n),i[i.length]=e?De(t,n,e):Vn(t,n))}function dO(t,n){var e=n||{},i=[un,De("cp:coreProperties",null,{"xmlns:cp":Pn.CORE_PROPS,"xmlns:dc":Pn.dc,"xmlns:dcterms":Pn.dcterms,"xmlns:dcmitype":Pn.dcmitype,"xmlns:xsi":Pn.xsi})],r={};if(!t&&!e.Props)return i.join("");t&&(t.CreatedDate!=null&&Vw("dcterms:created",typeof t.CreatedDate=="string"?t.CreatedDate:Kw(t.CreatedDate,e.WTF),{"xsi:type":"dcterms:W3CDTF"},i,r),t.ModifiedDate!=null&&Vw("dcterms:modified",typeof t.ModifiedDate=="string"?t.ModifiedDate:Kw(t.ModifiedDate,e.WTF),{"xsi:type":"dcterms:W3CDTF"},i,r));for(var a=0;a!=Dc.length;++a){var o=Dc[a],s=e.Props&&e.Props[o[1]]!=null?e.Props[o[1]]:t?t[o[1]]:null;s===!0?s="1":s===!1?s="0":typeof s=="number"&&(s=String(s)),s!=null&&Vw(o[0],s,null,i,r)}return i.length>2&&(i[i.length]="</cp:coreProperties>",i[1]=i[1].replace("/>",">")),i.join("")}var Iu=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],uO=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function hO(t){var n=[],e=De;return t||(t={}),t.Application="SheetJS",n[n.length]=un,n[n.length]=De("Properties",null,{xmlns:Pn.EXT_PROPS,"xmlns:vt":Pn.vt}),Iu.forEach(function(i){if(t[i[1]]!==void 0){var r;switch(i[2]){case"string":r=Mt(String(t[i[1]]));break;case"bool":r=t[i[1]]?"true":"false";break}r!==void 0&&(n[n.length]=e(i[0],r))}}),n[n.length]=e("HeadingPairs",e("vt:vector",e("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+e("vt:variant",e("vt:i4",String(t.Worksheets))),{size:2,baseType:"variant"})),n[n.length]=e("TitlesOfParts",e("vt:vector",t.SheetNames.map(function(i){return"<vt:lpstr>"+Mt(i)+"</vt:lpstr>"}).join(""),{size:t.Worksheets,baseType:"lpstr"})),n.length>2&&(n[n.length]="</Properties>",n[1]=n[1].replace("/>",">")),n.join("")}function mO(t){var n=[un,De("Properties",null,{xmlns:Pn.CUST_PROPS,"xmlns:vt":Pn.vt})];if(!t)return n.join("");var e=1;return cn(t).forEach(function(r){++e,n[n.length]=De("property",XY(t[r],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:e,name:Mt(r)})}),n.length>2&&(n[n.length]="</Properties>",n[1]=n[1].replace("/>",">")),n.join("")}var uF={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function OX(t,n){var e=[];return cn(uF).map(function(i){for(var r=0;r<Dc.length;++r)if(Dc[r][1]==i)return Dc[r];for(r=0;r<Iu.length;++r)if(Iu[r][1]==i)return Iu[r];throw i}
8044).forEach(function(i){if(t[i[1]]!=null){var r=n&&n.Props&&n.Props[i[1]]!=null?n.Props[i[1]]:t[i[1]];i[2]==="date"&&(r=new Date(r).toISOString().replace(/\.\d*Z/,"Z")),typeof r=="number"?r=String(r):r===!0||r===!1?r=r?"1":"0":r instanceof Date&&(r=new Date(r).toISOString().replace(/\.\d*Z/,"")),e.push(Vn(uF[i[1]]||i[1],r))}}),De("DocumentProperties",e.join(""),{xmlns:ma.o})}function NX(t,n){var e=["Worksheets","SheetNames"],i="CustomDocumentProperties",r=[];return t&&cn(t).forEach(function(a){if(Object.prototype.hasOwnProperty.call(t,a)){for(var o=0;o<Dc.length;++o)if(a==Dc[o][1])return;for(o=0;o<Iu.length;++o)if(a==Iu[o][1])return;for(o=0;o<e.length;++o)if(a==e[o])return;var s=t[a],l="string";typeof s=="number"?(l="float",s=String(s)):s===!0||s===!1?(l="boolean",s=s?"1":"0"):s=String(s),r.push(De(ZP(a),s,{"dt:dt":l}))}}),n&&cn(n).forEach(function(a){if(Object.prototype.hasOwnProperty.call(n,a)&&!(t&&Object.prototype.hasOwnProperty.call(t,a))){var o=n[a],s="string";typeof o=="number"?(s="float",o=String(o)):o===!0||o===!1?(s="boolean",o=o?"1":"0"):o instanceof Date?(s="dateTime.tz",o=o.toISOString()):o=String(o),r.push(De(ZP(a),o,{"dt:dt":s}))}}),"<"+i+' xmlns="'+ma.o+'">'+r.join("")+"</"+i+">"}function LX(t){var n=typeof t=="string"?new Date(Date.parse(t)):t,e=n.getTime()/1e3+11644473600,i=e%Math.pow(2,32),r=(e-i)/Math.pow(2,32);i*=1e7,r*=1e7;var a=i/Math.pow(2,32)|0;a>0&&(i=i%Math.pow(2,32),r+=a);var o=q(8);return o.write_shift(4,i),o.write_shift(4,r),o}function hF(t,n){var e=q(4),i=q(4);switch(e.write_shift(4,t==80?31:t),t){case 3:i.write_shift(-4,n);break;case 5:i=q(8),i.write_shift(8,n,"f");break;case 11:i.write_shift(4,n?1:0);break;case 64:i=LX(n);break;case 31:case 80:for(i=q(4+2*(n.length+1)+(n.length%2?0:2)),i.write_shift(4,n.length+1),i.write_shift(0,n,"dbcs");i.l!=i.length;)i.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+n)}return ln([e,i])}var fO=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function BX(t){switch(typeof t){case"boolean":return 11;case"number":return(t|0)==t?3:5;case"string":return 31;case"object":if(t instanceof Date)return 64;break}return-1}function mF(t,n,e){var i=q(8),r=[],a=[],o=8,s=0,l=q(8),c=q(8);if(l.write_shift(4,2),l.write_shift(4,1200),c.write_shift(4,1),a.push(l),r.push(c),o+=8+l.length,!n){c=q(8),c.write_shift(4,0),r.unshift(c);var d=[q(4)];for(d[0].write_shift(4,t.length),s=0;s<t.length;++s){var u=t[s][0];for(l=q(8+2*(u.length+1)+(u.length%2?0:2)),l.write_shift(4,s+2),l.write_shift(4,u.length+1),l.write_shift(0,u,"dbcs");l.l!=l.length;)l.write_shift(1,0);d.push(l)}l=ln(d),a.unshift(l),o+=8+l.length}for(s=0;s<t.length;++s)if(!(n&&!n[t[s][0]])&&!(fO.indexOf(t[s][0])>-1||uO.indexOf(t[s][0])>-1)&&t[s][1]!=null){var h=t[s][1],m=0;if(n){m=+n[t[s][0]];var g=e[m];if(g.p=="version"&&typeof h=="string"){var _=h.split(".");h=(+_[0]<<16)+(+_[1]||0)}l=hF(g.t,h)}else{var p=BX(h);p==-1&&(p=31,h=String(h)),l=hF(p,h)}a.push(l),c=q(8),c.write_shift(4,n?m:2+s),r.push(c),o+=8+l.length}var v=8*(a.length+1);for(s=0;s<a.length;++s)r[s].write_shift(4,v),v+=a[s].length;return i.write_shift(4,o),i.write_shift(4,a.length),ln([i].concat(r).concat(a))}function fF(t,n,e,i,r,a){var o=q(r?68:48),s=[o];o.write_shift(2,65534),o.write_shift(2,0),o.write_shift(4,842412599),o.write_shift(16,ki.utils.consts.HEADER_CLSID,"hex"),o.write_shift(4,r?2:1),o.write_shift(16,n,"hex"),o.write_shift(4,r?68:48);var l=mF(t,e,i);if(s.push(l),r){var c=mF(r,null,null);o.write_shift(16,a,"hex"),o.write_shift(4,68+l.length),s.push(c)}return ln(s)}function VX(t,n){n||(n=q(t));for(var e=0;e<t;++e)n.write_shift(1,0);return n}function UX(t,n){return t.read_shift(n)===1}function nr(t,n){return n||(n=q(2)),n.write_shift(2,+!!t),n}function u_(t){return t.read_shift(2,"u")}function Oa(t,n){return n||(n=q(2)),n.write_shift(2,t),n}function pO(t,n,e){return e||(e=q(2)),e.write_shift(1,n=="e"?+t:+!!t),e.write_shift(1,n=="e"?1:0),e}function gO(t,n,e){var i=t.read_shift(e&&e.biff>=12?2:1),r="sbcs-cont",a=fa;if(e&&e.biff>=8&&(fa=1200),!e||e.biff==8){var o=t.read_shift(1);o&&(r="dbcs-cont")}else e.biff==12&&(r="wstr");e.biff>=2&&e.biff<=5&&(r="cpstr");var s=i?t.read_shift(i,r):"";return fa=a,s}function zX(t){var n=t.t||"",e=1,i=q(3+(e>1?2:0));i.write_shift(2,n.length),i.write_shift(1,(e>1?8:0)|1),e>1&&i.write_shift(2,e);var r=q(2*n.length);r.write_shift(2*n.length,n,"utf16le");var a=[i,r];return ln(a)}function jX(t,n,e){var i;if(e){if(e.biff>=2&&e.biff<=5)return t.read_shift(n,"cpstr");if(e.biff>=12)return t.read_shift(n,"dbcs-cont")}var r=t.read_shift(1);return r===0?i=t.read_shift(n,"sbcs-cont"):i=t.read_shift(n,"dbcs-cont"),i}function HX(t,n,e){var i=t.read_shift(e&&e.biff==2?1:2);return i===0?(t.l++,""):jX(t,i,e)}function $X(t,n,e){if(e.biff>5)return HX(t,n,e);var i=t.read_shift(1);return i===0?(t.l++,""):t.read_shift(i,e.biff<=4||!t.lens?"cpstr":"sbcs-cont")}function _O(t,n,e){return e||(e=q(3+2*t.length)),e.write_shift(2,t.length),e.write_shift(1,1),e.write_shift(31,t,"utf16le"),e}function pF(t,n){n||(n=q(6+t.length*2)),n.write_shift(4,1+t.length);for(var e=0;e<t.length;++e)n.write_shift(2,t.charCodeAt(e));return n.write_shift(2,0),n}function WX(t){var n=q(512),e=0,i=t.Target;i.slice(0,7)=="file://"&&(i=i.slice(7));var r=i.indexOf("#"),a=r>-1?31:23;switch(i.charAt(0)){case"#":a=28;break;case".":a&=-3;break}n.write_shift(4,2),n.write_shift(4,a);var o=[8,6815827,6619237,4849780,83];for(e=0;e<o.length;++e)n.write_shift(4,o[e]);if(a==28)i=i.slice(1),pF(i,n);else if(a&2){for(o="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),e=0;e<o.length;++e)n.write_shift(1,parseInt(o[e],16));var s=r>-1?i.slice(0,r):i;for(n.write_shift(4,2*(s.length+1)),e=0;e<s.length;
vendor: 14,504 bytes, line 8044
8044++e)n.write_shift(2,s.charCodeAt(e));n.write_shift(2,0),a&8&&pF(r>-1?i.slice(r+1):"",n)}else{for(o="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),e=0;e<o.length;++e)n.write_shift(1,parseInt(o[e],16));for(var l=0;i.slice(l*3,l*3+3)=="../"||i.slice(l*3,l*3+3)=="..\\";)++l;for(n.write_shift(2,l),n.write_shift(4,i.length-3*l+1),e=0;e<i.length-3*l;++e)n.write_shift(1,i.charCodeAt(e+3*l)&255);for(n.write_shift(1,0),n.write_shift(2,65535),n.write_shift(2,57005),e=0;e<6;++e)n.write_shift(4,0)}return n.slice(0,n.l)}function Ac(t,n,e,i){return i||(i=q(6)),i.write_shift(2,t),i.write_shift(2,n),i.write_shift(2,e||0),i}function GX(t,n,e){var i=e.biff>8?4:2,r=t.read_shift(i),a=t.read_shift(i,"i"),o=t.read_shift(i,"i");return[r,a,o]}function qX(t){var n=t.read_shift(2),e=t.read_shift(2),i=t.read_shift(2),r=t.read_shift(2);return{s:{c:i,r:n},e:{c:r,r:e}}}function vO(t,n){return n||(n=q(8)),n.write_shift(2,t.s.r),n.write_shift(2,t.e.r),n.write_shift(2,t.s.c),n.write_shift(2,t.e.c),n}function yC(t,n,e){var i=1536,r=16;switch(e.bookType){case"biff8":break;case"biff5":i=1280,r=8;break;case"biff4":i=4,r=6;break;case"biff3":i=3,r=6;break;case"biff2":i=2,r=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var a=q(r);return a.write_shift(2,i),a.write_shift(2,n),r>4&&a.write_shift(2,29282),r>6&&a.write_shift(2,1997),r>8&&(a.write_shift(2,49161),a.write_shift(2,1),a.write_shift(2,1798),a.write_shift(2,0)),a}function YX(t,n){var e=!n||n.biff==8,i=q(e?112:54);for(i.write_shift(n.biff==8?2:1,7),e&&i.write_shift(1,0),i.write_shift(4,859007059),i.write_shift(4,5458548|(e?0:536870912));i.l<i.length;)i.write_shift(1,e?0:32);return i}function XX(t,n){var e=!n||n.biff>=8?2:1,i=q(8+e*t.name.length);i.write_shift(4,t.pos),i.write_shift(1,t.hs||0),i.write_shift(1,t.dt),i.write_shift(1,t.name.length),n.biff>=8&&i.write_shift(1,1),i.write_shift(e*t.name.length,t.name,n.biff<8?"sbcs":"utf16le");var r=i.slice(0,i.l);return r.l=i.l,r}function KX(t,n){var e=q(8);e.write_shift(4,t.Count),e.write_shift(4,t.Unique);for(var i=[],r=0;r<t.length;++r)i[r]=zX(t[r],n);var a=ln([e].concat(i));return a.parts=[e.length].concat(i.map(function(o){return o.length})),a}function QX(){var t=q(18);return t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,29280),t.write_shift(2,17600),t.write_shift(2,56),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,1),t.write_shift(2,500),t}function ZX(t){var n=q(18),e=1718;return t&&t.RTL&&(e|=64),n.write_shift(2,e),n.write_shift(4,0),n.write_shift(4,64),n.write_shift(4,0),n.write_shift(4,0),n}function JX(t,n){var e=t.name||"Arial",i=n&&n.biff==5,r=i?15+e.length:16+2*e.length,a=q(r);return a.write_shift(2,(t.sz||12)*20),a.write_shift(4,0),a.write_shift(2,400),a.write_shift(4,0),a.write_shift(2,0),a.write_shift(1,e.length),i||a.write_shift(1,1),a.write_shift((i?1:2)*e.length,e,i?"sbcs":"utf16le"),a}function eK(t,n,e,i){var r=q(10);return Ac(t,n,i,r),r.write_shift(4,e),r}function tK(t,n,e,i,r){var a=!r||r.biff==8,o=q(8+ +a+(1+a)*e.length);return Ac(t,n,i,o),o.write_shift(2,e.length),a&&o.write_shift(1,1),o.write_shift((1+a)*e.length,e,a?"utf16le":"sbcs"),o}function iK(t,n,e,i){var r=e&&e.biff==5;i||(i=q(r?3+n.length:5+2*n.length)),i.write_shift(2,t),i.write_shift(r?1:2,n.length),r||i.write_shift(1,1),i.write_shift((r?1:2)*n.length,n,r?"sbcs":"utf16le");var a=i.length>i.l?i.slice(0,i.l):i;return a.l==null&&(a.l=a.length),a}function nK(t){var n=q(1+t.length);return n.write_shift(1,t.length),n.write_shift(t.length,t,"sbcs"),n}function rK(t){var n=q(3+t.length);return n.l+=2,n.write_shift(1,t.length),n.write_shift(t.length,t,"sbcs"),n}function aK(t,n){var e=n.biff==8||!n.biff?4:2,i=q(2*e+6);return i.write_shift(e,t.s.r),i.write_shift(e,t.e.r+1),i.write_shift(2,t.s.c),i.write_shift(2,t.e.c+1),i.write_shift(2,0),i}function gF(t,n,e,i){var r=e&&e.biff==5;i||(i=q(r?16:20)),i.write_shift(2,0),t.style?(i.write_shift(2,t.numFmtId||0),i.write_shift(2,65524)):(i.write_shift(2,t.numFmtId||0),i.write_shift(2,n<<4));var a=0;return t.numFmtId>0&&r&&(a|=1024),i.write_shift(4,a),i.write_shift(4,0),r||i.write_shift(4,0),i.write_shift(2,0),i}function oK(t){var n=q(4);return n.l+=2,n.write_shift(1,t.numFmtId),n.l++,n}function bO(t){var n=q(12);return n.l++,n.write_shift(1,t.numFmtId),n.l+=10,n}var sK=bO;function lK(t){var n=q(8);return n.write_shift(4,0),n.write_shift(2,t[0]?t[0]+1:0),n.write_shift(2,t[1]?t[1]+1:0),n}function Uw(t,n,e,i,r,a){var o=q(8);return Ac(t,n,i,o),pO(e,a,o),o}function cK(t,n,e,i){var r=q(14);return Ac(t,n,i,r),Mc(e,r),r}function dK(t,n,e){if(e.biff<8||!(e.biff>8)&&n==t[t.l]+(t[t.l+1]==3?1:0)+1)return _F(t,n,e);for(var i=[],r=t.l+n,a=t.read_shift(e.biff>8?4:2);a--!==0;)i.push(GX(t,e.biff>8?12:6,e));if(t.l!=r)throw new Error("Bad ExternSheet: "+t.l+" != "+r);return i}function _F(t,n,e){t[t.l+1]==3&&t[t.l]++;var i=gO(t,n,e);return i.charCodeAt(0)==3?i.slice(1):i}function zw(t,n,e,i){var r=q(6+(i||t.length));return r.write_shift(2,n),r.write_shift(2,e),r.write_shift(2,i||t.length),r.write_shift(t.length,t,"sbcs"),r}function uK(t){var n=q(2+t.length*8);n.write_shift(2,t.length);for(var e=0;e<t.length;++e)vO(t[e],n);return n}function hK(t){var n=q(24),e=zi(t[0]);n.write_shift(2,e.r),n.write_shift(2,e.r),n.write_shift(2,e.c),n.write_shift(2,e.c);for(var i="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<16;++r)n.write_shift(1,parseInt(i[r],16));return ln([n,WX(t[1])])}function mK(t){var n=t[1].Tooltip,e=q(10+2*(n.length+1));e.write_shift(2,2048);var i=zi(t[0]);e.write_shift(2,i.r),e.write_shift(2,i.r),e.write_shift(2,i.c),e.write_shift(2,i.c);for(var r=0;r<n.length;++r)e.write_shift(2,n.charCodeAt(r));return e.write_shift(2,0),e}function fK(t){return t||(t=q(4)),t.write_shift(2,1),t.write_shift(2,1),t}function pK(t,n,e){if(!e.cellStyles)return No(t,n);var i=e&&e.biff>=12?4:2,r=t.read_shift(i),a=t.read_shift(i),o=t.read_shift(i),s=t.read_shift(i),l=t.read_shift(2);i==2&&(t.l+=2);var c={s:r,e:a,w:o,ixfe:s,flags:l};return(e.biff>=5||!e.biff)&&(c.level=l>>8&7),c}function gK(t,n){var e=q(12);e.write_shift(2,n),e.write_shift(2,n),e.write_shift(2,t.width*256),e.write_shift(2,0);var i=0;return t.hidden&&(i|=1),e.write_shift(1,i),i=t.level||0,e.write_shift(1,i),e.write_shift(2,0),e}function _K(t){for(var n=q(2*t),e=0;e<t;++e)n.write_shift(2,e+1);return n}function gf(t,n,e,i,r){return t||(t=q(7)),t.write_shift(2,n),t.write_shift(2,e),t.write_shift(1,i||0),t.write_shift(1,r||0),t.write_shift(1,0),t}function vK(t,n,e,i,r){var a=q(15);return gf(a,t,n,i||0,r||0),a.write_shift(8,e,"f"),a}function bK(t,n,e,i,r){var a=q(9);return gf(a,t,n,i||0,r||0),a.write_shift(2,e),a}var yK=(function(){var t={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},n=rC({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function e(s,l){var c=[],d=Ec(1);switch(l.type){case"base64":d=ha(fl(s));break;case"binary":d=ha(s);break;case"buffer":case"array":d=s;break}Cr(d,0);var u=d.read_shift(1),h=!!(u&136),m=!1,g=!1;switch(u){case 2:break;case 3:break;case 48:m=!0,h=!0;break;case 49:m=!0,h=!0;break;case 131:break;case 139:break;case 140:g=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+u.toString(16))}var _=0,p=521;u==2&&(_=d.read_shift(2)),d.l+=3,u!=2&&(_=d.read_shift(4)),_>1048576&&(_=1e6),u!=2&&(p=d.read_shift(2));var v=d.read_shift(2),b=l.codepage||1252;u!=2&&(d.l+=16,d.read_shift(1),d[d.l]!==0&&(b=t[d[d.l]]),d.l+=1,d.l+=2),g&&(d.l+=36);for(var y=[],E={},F=Math.min(d.length,u==2?521:p-10-(m?264:0)),A=g?32:11;d.l<F&&d[d.l]!=13;)switch(E={},E.name=(typeof ii<"u"?ii.utils.decode(b,d.slice(d.l,d.l+A)):Tc(d.slice(d.l,d.l+A))).replace(/[\u0000\r\n][\S\s]*$/g,""),d.l+=A,E.type=String.fromCharCode(d.read_shift(1)),u!=2&&!g&&(E.offset=d.read_shift(4)),E.len=d.read_shift(1),u==2&&(E.offset=d.read_shift(2)),E.dec=d.read_shift(1),E.name.length&&y.push(E),u!=2&&(d.l+=g?13:14),E.type){case"B":(!m||E.len!=8)&&l.WTF&&console.log("Skipping "+E.name+":"+E.type);break;case"G":case"P":l.WTF&&console.log("Skipping "+E.name+":"+E.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+E.type)}if(d[d.l]!==13&&(d.l=p-1),d.read_shift(1)!==13)throw new Error("DBF Terminator not found "+d.l+" "+d[d.l]);d.l=p;var C=0,M=0;for(c[0]=[],M=0;M!=y.length;++M)c[0][M]=y[M].name;for(;_-- >0;){if(d[d.l]===42){d.l+=v;continue}for(++d.l,c[++C]=[],M=0,M=0;M!=y.length;++M){var L=d.slice(d.l,d.l+y[M].len);d.l+=y[M].len,Cr(L,0);var V=typeof ii<"u"?ii.utils.decode(b,L):Tc(L);switch(y[M].type){case"C":V.trim().length&&(c[C][M]=V.replace(/([^\s])\s+$/,"$1"));break;case"D":V.length===8?(c[C][M]=new Date(Date.UTC(+V.slice(0,4),+V.slice(4,6)-1,+V.slice(6,8),0,0,0,0)),l&&l.UTC||(c[C][M]=Pu(c[C][M]))):c[C][M]=V;break;case"F":c[C][M]=parseFloat(V.trim());break;case"+":case"I":c[C][M]=g?L.read_shift(-4,"i")^2147483648:L.read_shift(4,"i");break;case"L":switch(V.trim().toUpperCase()){case"Y":case"T":c[C][M]=!0;break;case"N":case"F":c[C][M]=!1;break;case"":case"\0":case"?":break;default:throw new Error("DBF Unrecognized L:|"+V+"|")}break;case"M":if(!h)throw new Error("DBF Unexpected MEMO for type "+u.toString(16));c[C][M]="##MEMO##"+(g?parseInt(V.trim(),10):L.read_shift(4));break;case"N":V=V.replace(/\u0000/g,"").trim(),V&&V!="."&&(c[C][M]=+V||0);break;case"@":c[C][M]=new Date(L.read_shift(-8,"f")-621356832e5);break;case"T":{var z=L.read_shift(4),ee=L.read_shift(4);if(z==0&&ee==0)break;c[C][M]=new Date((z-2440588)*864e5+ee),l&&l.UTC||(c[C][M]=Pu(c[C][M]))}break;case"Y":c[C][M]=L.read_shift(4,"i")/1e4+L.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":c[C][M]=-L.read_shift(-8,"f");break;case"B":if(m&&y[M].len==8){c[C][M]=L.read_shift(8,"f");break}case"G":case"P":L.l+=y[M].len;break;case"0":if(y[M].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+y[M].type)}}}if(u!=2&&d.l<d.length&&d[d.l++]!=26)throw new Error("DBF EOF Marker missing "+(d.l-1)+" of "+d.length+" "+d[d.l-1].toString(16));return l&&l.sheetRows&&(c=c.slice(0,l.sheetRows)),l.DBF=y,c}function i(s,l){var c=l||{};c.dateNF||(c.dateNF="yyyymmdd");var d=Bu(e(s,c),c);return d["!cols"]=c.DBF.map(function(u){return{wch:u.len,DBF:u}}),delete c.DBF,d}function r(s,l){try{var c=Lu(i(s,l),l);return c.bookType="dbf",c}catch(d){if(l&&l.WTF)throw d}return{SheetNames:[],Sheets:{}}}var a={B:8,C:250,L:1,D:8,"?":0,"":0};function o(s,l){if(!s["!ref"])throw new Error("Cannot export empty sheet to DBF");var c=l||{},d=fa;if(+c.codepage>=0&&sf(+c.codepage),c.type=="string")throw new Error("Cannot write DBF to JS string");var u=ar(),h=tC(s,{header:1,raw:!0,cellDates:!0}),m=h[0],g=h.slice(1),_=s["!cols"]||[],p=0,v=0,b=0,y=1;for(p=0;p<m.length;++p){if(((_[p]||{}).DBF||{}).name){m[p]=_[p].DBF.name,++b;continue}if(m[p]!=null){if(++b,typeof m[p]=="number"&&(m[p]=m[p].toString(10)),typeof m[p]!="string")throw new Error("DBF Invalid column name "+m[p]+" |"+typeof m[p]+"|");if(m.indexOf(m[p])!==p){for(v=0;v<1024;++v)if(m.indexOf(m[p]+"_"+v)==-1){m[p]+="_"+v;break}}}}var E=Oi(s["!ref"]),F=[],A=[],C=[];for(p=0;p<=E.e.c-E.s.c;++p){var M="",L="",V=0,z=[];for(v=0;v<g.length;++v)g[v][p]!=null&&z.push(g[v][p]);if(z.length==0||m[p]==null){F[p]="?";continue}for(v=0;v<z.length;++v){switch(typeof z[v]){case"number":L="B";break;case"string":L="C";break;case"boolean":L="L";break;case"object":L=z[v]instanceof Date?"D":"C";break;default:L="C"}V=Math.max(V,(typeof ii<"u"&&typeof z[v]=="string"?ii.utils.encode(Ru,z[v]):String(z[v])).length),M=M&&M!=L?"C":L}V>250&&(V=250),L=((_[p]||{}).DBF||{}).type,L=="C"&&_[p].DBF.len>V&&(V=_[p].DBF.len),M=="B"&&L=="N"&&(M="N",C[p]=_[p].DBF.dec,V=_[p].DBF.len),A[p]=M=="C"||L=="N"?V:a[M]||0,y+=A[p],F[p]=M}var ee=u.next(32);for(ee.write_shift(4,318902576),ee.write_shift(4,g.length),ee.write_shift(2,296+32*b),ee.write_shift(2,y),p=0;p<4;++p)ee.write_shift(4,0);var ze=+n[fa]||3;for(ee.write_shift(4,0|ze<<8),t[ze]!=+c.codepage&&(c.codepage&&console.error("DBF Unsupported codepage "+fa+", using 1252"),fa=1252),p=0,v=0;p<m.length;++p)if(m[p]!=null){var rt=u.next(32),Me=(m[p].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);rt.write_shift(1,Me,"sbcs"),rt.write_shift(1,F[p]=="?"?"C":F[p],"sbcs"),rt.write_shift(4,v),rt.write_shift(1,A[p]||a[F[p]]||0),rt.write_shift(1,C[p]||0),rt.write_shift(1,2),rt.write_shift(4,0),rt.write_shift(1,0),rt.write_shift(4,0),rt.write_shift(4,0),v+=A[p]||a[F[p]]||0}var yt=u.next(264);for(yt.write_shift(4,13),p=0;p<65;++p)yt.write_shift(4,0);for(p=0;p<g.length;++p){var je=u.next(y);for(je.write_shift(1,0),v=0;v<m.length;++v)if(m[v]!=null)switch(F[v]){case"L":je.write_shift(1,g[p][v]==null?63:g[p][v]?84:70);break;case"B":je.write_shift(8,g[p][v]||0,"f");break;case"N":var ri="0";for(typeof g[p][v]=="number"&&(ri=g[p][v].toFixed(C[v]||0)),ri.length>A[v]&&(ri=ri.slice(0,A[v])),b=0;b<A[v]-ri.length;++b)je.write_shift(1,32);je.write_shift(1,ri,"sbcs");break;case"D":g[p][v]?(je.write_shift(4,("0000"+g[p][v].getFullYear()).slice(-4),"sbcs"),je.write_shift(2,("00"+(g[p][v].getMonth()+1)).slice(-2),"sbcs"),je.write_shift(2,("00"+g[p][v].getDate()).slice(-2),"sbcs")):je.write_shift(8,"00000000","sbcs");break;case"C":var Ht=je.l,wi=String(g[p][v]!=null?g[p][v]:"").slice(0,A[v]);for(je.write_shift(1,wi,"cpstr"),Ht+=A[v]-je.l,b=0;b<Ht;++b)je.write_shift(1,32);break}}return fa=d,u.next(1).write_shift(1,26),u.end()}return{to_workbook:r,to_sheet:i,from_sheet:o}})(),xK=(function(){var t={AA:"\xC0",BA:"\xC1",CA:"\xC2",DA:195,HA:"\xC4",JA:197,AE:"\xC8",BE:"\xC9",CE:"\xCA",HE:"\xCB",AI:"\xCC",BI:"\xCD",CI:"\xCE",HI:"\xCF",AO:"\xD2",BO:"\xD3",CO:"\xD4",DO:213,HO:"\xD6",AU:"\xD9",BU:"\xDA",CU:"\xDB",HU:"\xDC",Aa:"\xE0",Ba:"\xE1",Ca:"\xE2",Da:227,Ha:"\xE4",Ja:229,Ae:"\xE8",Be:"\xE9",Ce:"\xEA",He:"\xEB",Ai:"\xEC",Bi:"\xED",Ci:"\xEE",Hi:"\xEF",Ao:"\xF2",Bo:"\xF3",Co:"\xF4",Do:245,Ho:"\xF6",Au:"\xF9",Bu:"\xFA",Cu:"\xFB",Hu:"\xFC",KC:"\xC7",Kc:"\xE
80447",q:"\xE6",z:"\u0153",a:"\xC6",j:"\u0152",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},n=new RegExp("\x1BN("+cn(t).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1").replace("{","\\{")+"|\\|)","gm");try{n=new RegExp("\x1BN("+cn(t).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm")}catch(m){}var e=function(m,g){var _=t[g];return typeof _=="number"?VP(_):_},i=function(m,g,_){var p=g.charCodeAt(0)-32<<4|_.charCodeAt(0)-48;return p==59?m:VP(p)};t["|"]=254;var r=function(m){return m.replace(/\n/g,"\x1B :").replace(/\r/g,"\x1B =")};function a(m,g){switch(g.type){case"base64":return o(fl(m),g);case"binary":return o(m,g);case"buffer":return o(di&&Buffer.isBuffer(m)?m.toString("binary"):Tc(m),g);case"array":return o(aC(m),g)}throw new Error("Unrecognized type "+g.type)}function o(m,g){var _=m.split(/[\n\r]+/),p=-1,v=-1,b=0,y=0,E=[],F=[],A=null,C={},M=[],L=[],V=[],z=0,ee,ze={Workbook:{WBProps:{},Names:[]}};for(+g.codepage>=0&&sf(+g.codepage);b!==_.length;++b){z=0;
8044var rt=_[b].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(n,e),Me=rt.replace(/;;/g,"\0").split(";").map(function(B){return B.replace(/\u0000/g,";")}),yt=Me[0],je;if(rt.length>0)switch(yt){case"ID":break;case"E":break;case"B":break;case"O":for(y=1;y<Me.length;++y)switch(Me[y].charAt(0)){case"V":{var ri=parseInt(Me[y].slice(1),10);ri>=1&&ri<=4&&(ze.Workbook.WBProps.date1904=!0)}break}break;case"W":break;case"P":Me[1].charAt(0)==="P"&&F.push(rt.slice(3).replace(/;;/g,";"));break;case"NN":{var Ht={Sheet:0};for(y=1;y<Me.length;++y)switch(Me[y].charAt(0)){case"N":Ht.Name=Me[y].slice(1);break;case"E":Ht.Ref=(g&&g.sheet||"Sheet1")+"!"+wF(Me[y].slice(1));break}ze.Workbook.Names.push(Ht)}break;case"C":var wi=!1,kn=!1,_t=!1,St=!1,Et=-1,Ft=-1,Ot="",Wt="z",N="";for(y=1;y<Me.length;++y)switch(Me[y].charAt(0)){case"A":N=Me[y].slice(1);break;case"X":v=parseInt(Me[y].slice(1),10)-1,kn=!0;break;case"Y":for(p=parseInt(Me[y].slice(1),10)-1,kn||(v=0),ee=E.length;ee<=p;++ee)E[ee]=[];break;case"K":je=Me[y].slice(1),je.charAt(0)==='"'?(je=je.slice(1,je.length-1),Wt="s"):je==="TRUE"||je==="FALSE"?(je=je==="TRUE",Wt="b"):je.charAt(0)=="#"&&Oo[je]!=null?(Wt="e",je=Oo[je]):isNaN(ws(je))||(je=ws(je),Wt="n",A!==null&&Ic(A)&&g.cellDates&&(je=Du(ze.Workbook.WBProps.date1904?je+1462:je),Wt=typeof je=="number"?"n":"d")),typeof ii<"u"&&typeof je=="string"&&(g||{}).type!="string"&&(g||{}).codepage&&(je=ii.utils.decode(g.codepage,je)),wi=!0;break;case"E":St=!0,Ot=wF(Me[y].slice(1),{r:p,c:v});break;case"S":_t=!0;break;case"G":break;case"R":Et=parseInt(Me[y].slice(1),10)-1;break;case"C":Ft=parseInt(Me[y].slice(1),10)-1;break;default:if(g&&g.WTF)throw new Error("SYLK bad record "+rt)}if(wi&&(E[p][v]?(E[p][v].t=Wt,E[p][v].v=je):E[p][v]={t:Wt,v:je},A&&(E[p][v].z=A),g.cellText!==!1&&A&&(E[p][v].w=Ss(E[p][v].z,E[p][v].v,{date1904:ze.Workbook.WBProps.date1904})),A=null),_t){if(St)throw new Error("SYLK shared formula cannot have own formula");var Y=Et>-1&&E[Et][Ft];if(!Y||!Y[1])throw new Error("SYLK shared formula cannot find base");Ot=wQ(Y[1],{r:p-Et,c:v-Ft})}Ot&&(E[p][v]?E[p][v].f=Ot:E[p][v]={t:"n",f:Ot}),N&&(E[p][v]||(E[p][v]={t:"z"}),E[p][v].c=[{a:"SheetJSYLK",t:N}]);break;case"F":var U=0;for(y=1;y<Me.length;++y)switch(Me[y].charAt(0)){case"X":v=parseInt(Me[y].slice(1),10)-1,++U;break;case"Y":for(p=parseInt(Me[y].slice(1),10)-1,ee=E.length;ee<=p;++ee)E[ee]=[];break;case"M":z=parseInt(Me[y].slice(1),10)/20;break;case"F":break;case"G":break;case"P":A=F[parseInt(Me[y].slice(1),10)];break;case"S":break;case"D":break;case"N":break;case"W":for(V=Me[y].slice(1).split(" "),ee=parseInt(V[0],10);ee<=parseInt(V[1],10);++ee)z=parseInt(V[2],10),L[ee-1]=z===0?{hidden:!0}:{wch:z};break;case"C":v=parseInt(Me[y].slice(1),10)-1,L[v]||(L[v]={});break;case"R":p=parseInt(Me[y].slice(1),10)-1,M[p]||(M[p]={}),z>0?(M[p].hpt=z,M[p].hpx=CO(z)):z===0&&(M[p].hidden=!0);break;default:if(g&&g.WTF)throw new Error("SYLK bad record "+rt)}U<1&&(A=null);break;default:if(g&&g.WTF)throw new Error("SYLK bad record "+rt)}}return M.length>0&&(C["!rows"]=M),L.length>
vendor: 4,132 bytes, lines 8044-8065
80440&&(C["!cols"]=L),L.forEach(function(B){xC(B)}),g&&g.sheetRows&&(E=E.slice(0,g.sheetRows)),[E,C,ze]}function s(m,g){var _=a(m,g),p=_[0],v=_[1],b=_[2],y=sr(g);y.date1904=(((b||{}).Workbook||{}).WBProps||{}).date1904;var E=Bu(p,y);cn(v).forEach(function(A){E[A]=v[A]});var F=Lu(E,g);return cn(b).forEach(function(A){F[A]=b[A]}),F.bookType="sylk",F}function l(m,g,_,p,v,b){var y="C;Y"+(_+1)+";X"+(p+1)+";K";switch(m.t){case"n":y+=isFinite(m.v)?m.v||0:kr[isNaN(m.v)?36:7],m.f&&!m.F&&(y+=";E"+L_(m.f,{r:_,c:p}));break;case"b":y+=m.v?"TRUE":"FALSE";break;case"e":y+=m.w||kr[m.v]||m.v;break;case"d":y+=zn(Hr(m.v,b),b);break;case"s":y+='"'+(m.v==null?"":String(m.v)).replace(/"/g,"").replace(/;/g,";;")+'"';break}return y}function c(m,g,_){var p="C;Y"+(g+1)+";X"+(_+1)+";A";return p+=r(m.map(function(v){return v.t}).join("")),p}function d(m,g){g.forEach(function(_,p){var v="F;W"+(p+1)+" "+(p+1)+" ";_.hidden?v+="0":(typeof _.width=="number"&&!_.wpx&&(_.wpx=x_(_.width)),typeof _.wpx=="number"&&!_.wch&&(_.wch=w_(_.wpx)),typeof _.wch=="number"&&(v+=Math.round(_.wch))),v.charAt(v.length-1)!=" "&&m.push(v)})}function u(m,g){g.forEach(function(_,p){var v="F;";_.hidden?v+="M0;":_.hpt?v+="M"+20*_.hpt+";":_.hpx&&(v+="M"+20*C_(_.hpx)+";"),v.length>2&&m.push(v+"R"+(p+1))})}function h(m,g,_){g||(g={}),g._formats=["General"];var p=["ID;PSheetJS;N;E"],v=[],b=Oi(m["!ref"]||"A1"),y,E=m["!data"]!=null,F=`\r
8045`,A=(((_||{}).Workbook||{}).WBProps||{}).date1904,C="General";p.push("P;PGeneral");var M=b.s.r,L=b.s.c,V=[];if(m["!ref"]){for(M=b.s.r;M<=b.e.r;++M)if(!(E&&!m["!data"][M])){for(V=[],L=b.s.c;L<=b.e.c;++L)y=E?m["!data"][M][L]:m[pi(L)+xi(M)],!(!y||!y.c)&&V.push(c(y.c,M,L));V.length&&v.push(V.join(F))}}if(m["!ref"]){for(M=b.s.r;M<=b.e.r;++M)if(!(E&&!m["!data"][M])){for(V=[],L=b.s.c;L<=b.e.c;++L)if(y=E?m["!data"][M][L]:m[pi(L)+xi(M)],!(!y||y.v==null&&(!y.f||y.F))){if((y.z||(y.t=="d"?Fi[14]:"General"))!=C){var z=g._formats.indexOf(y.z);z==-1&&(g._formats.push(y.z),z=g._formats.length-1,p.push("P;P"+y.z.replace(/;/g,";;"))),V.push("F;P"+z+";Y"+(M+1)+";X"+(L+1))}V.push(l(y,m,M,L,g,A))}v.push(V.join(F))}}return p.push("F;P0;DG0G8;M255"),m["!cols"]&&d(p,m["!cols"]),m["!rows"]&&u(p,m["!rows"]),m["!ref"]&&p.push("B;Y"+(b.e.r-b.s.r+1)+";X"+(b.e.c-b.s.c+1)+";D"+[b.s.c,b.s.r,b.e.c,b.e.r].join(" ")),p.push("O;L;D;B"+(A?";V4":"")+";K47;G100 0.001"),delete g._formats,p.join(F)+F+v.join(F)+F+"E"+F}return{to_workbook:s,from_sheet:h}})(),wK=(function(){function t(s,l){switch(l.type){case"base64":return n(fl(s),l);case"binary":return n(s,l);case"buffer":return n(di&&Buffer.isBuffer(s)?s.toString("binary"):Tc(s),l);case"array":return n(aC(s),l)}throw new Error("Unrecognized type "+l.type)}function n(s,l){for(var c=s.split(`
8046`),d=-1,u=-1,h=0,m=[];h!==c.length;++h){if(c[h].trim()==="BOT"){m[++d]=[],u=0;continue}if(!(d<0)){var g=c[h].trim().split(","),_=g[0],p=g[1];++h;for(var v=c[h]||"";(v.match(/["]/g)||[]).length&1&&h<c.length-1;)v+=`
8047`+c[++h];switch(v=v.trim(),+_){case-1:if(v==="BOT"){m[++d]=[],u=0;continue}else if(v!=="EOD")throw new Error("Unrecognized DIF special command "+v);break;case 0:v==="TRUE"?m[d][u]=!0:v==="FALSE"?m[d][u]=!1:isNaN(ws(p))?isNaN(__(p).getDate())?m[d][u]=p:(m[d][u]=Hr(p),l&&l.UTC||(m[d][u]=Pu(m[d][u]))):m[d][u]=ws(p),++u;break;case 1:v=v.slice(1,v.length-1),v=v.replace(/""/g,'"'),UP&&v&&v.match(/^=".*"$/)&&(v=v.slice(2,-1)),m[d][u++]=v!==""?v:null;break}if(v==="EOD")break}}return l&&l.sheetRows&&(m=m.slice(0,l.sheetRows)),m}function e(s,l){return Bu(t(s,l),l)}function i(s,l){var c=Lu(e(s,l),l);return c.bookType="dif",c}function r(s,l){return"0,"+String(s)+`\r
8048`+l}function a(s){return`1,0\r
8049"`+s.replace(/"/g,'""')+'"'}function o(s){var l=UP;if(!s["!ref"])throw new Error("Cannot export empty sheet to DIF");for(var c=Oi(s["!ref"]),d=s["!data"]!=null,u=[`TABLE\r
80500,1\r
8051"sheetjs"\r
8052`,`VECTORS\r
80530,`+(c.e.r-c.s.r+1)+`\r
8054""\r
8055`,`TUPLES\r
80560,`+(c.e.c-c.s.c+1)+`\r
8057""\r
8058`,`DATA\r
80590,0\r
8060""\r
8061`],h=c.s.r;h<=c.e.r;++h){for(var m=d?s["!data"][h]:[],g=`-1,0\r
8062BOT\r
8063`,_=c.s.c;_<=c.e.c;++_){var p=d?m&&m[_]:s[Yi({r:h,c:_})];if(p==null){g+=`1,0\r
8064""\r
8065`;continue}switch(p.t){case"n":l?p.w!=null?g+="0,"+p.w+`\r
8066V`:p.v!=null?g+=r(p.v,"V"):p.f!=null&&!p.F?g+=a("="+p.f):g+=`1,0\r
8067""`:p.v==null?g+=`1,0\r
8068""`:g+=r(p.v,"V");break;case"b":g+=p.v?r(1,"TRUE"):r(0,"FALSE");break;case"s":g+=a(!l||isNaN(+p.v)?p.v:'="'+p.v+'"');break;case"d":p.w||(p.w=Ss(p.z||Fi[14],zn(Hr(p.v)))),l?g+=r(p.w,"V"):g+=a(p.w);break;default:g+=`1,0\r
8069""`}g+=`\r
8070`}u.push(g)}return u.join("")+`-1,0\r
8071EOD`}return{to_workbook:i,to_sheet:e,from_sheet:o}})(),yO=(function(){function t(u){return u.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,`
8072`)}function n(u){return u.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function e(u,h){for(var m=u.split(`
8073`),g=-1,_=-1,p=0,v=[];p!==m.length;++p){var b=m[p].trim().split(":");if(b[0]==="cell"){var y=zi(b[1]);if(v.length<=y.r)for(g=v.length;g<=y.r;++g)v[g]||(v[g]=[]);switch(g=y.r,_=y.c,b[2]){case"t":v[g][_]=t(b[3]);break;case"v":v[g][_]=+b[3];break;case"vtf":var E=b[b.length-1];case"vtc":b[3]==="nl"?v[g][_]=!!+b[4]:v[g][_]=b[b.length-1].charAt(0)=="#"?{t:"e",v:Oo[b[b.length-1]]}:+b[4],b[2]=="vtf"&&(v[g][_]=[v[g][_],E])}}}return h&&h.sheetRows&&(v=v.slice(0,h.sheetRows)),v}function i(u,h){return Bu(e(u,h),h)}function r(u,h){return Lu(i(u,h),h)}var a=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(`
8074`),o=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(`
8075`)+`
8076`,s=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(`
8077`),l="--SocialCalcSpreadsheetControlSave--";function c(u){if(!u||!u["!ref"])return"";for(var h=[],m=[],g,_="",p=Un(u["!ref"]),v=u["!data"]!=null,b=p.s.r;b<=p.e.r;++b)for(var y=p.s.c;y<=p.e.c;++y)if(_=Yi({r:b,c:y}),g=v?(u["!data"][b]||[])[y]:u[_],!(!g||g.v==null||g.t==="z")){switch(m=["cell",_,"t"],g.t){case"s":m.push(n(g.v));break;case"b":m[2]="vt"+(g.f?"f":"c"),m[3]="nl",m[4]=g.v?"1":"0",m[5]=n(g.f||(g.v?"TRUE":"FALSE"));break;case"d":var E=zn(Hr(g.v));m[2]="vtc",m[3]="nd",m[4]=""+E,m[5]=g.w||Ss(g.z||Fi[14],E);break;case"n":isFinite(g.v)?g.f?(m[2]="vtf",m[3]="n",m[4]=g.v,m[5]=n(g.f)):(m[2]="v",m[3]=g.v):(m[2]="vt"+(g.f?"f":"c"),m[3]="e"+kr[isNaN(g.v)?36:7],m[4]="0",m[5]=g.f||m[3].slice(1),m[6]="e",m[7]=m[3].slice(1));break;case"e":continue}h.push(m.join(":"))}return h.push("sheet:c:"+(p.e.c-p.s.c+1)+":r:"+(p.e.r-p.s.r+1)+":tvf:1"),h.push("valueformat:1:text-wiki"),h.join(`
8078`)}function d(u){return[a,o,s,o,c(u),l].join(`
8079`)}return{to_workbook:r,to_sheet:i,from_sheet:d}})(),CK=(function(){function t(d,u,h,m,g){g.raw?u[h][m]=d:d===""||(d==="TRUE"?u[h][m]=!0:d==="FALSE"?u[h][m]=!1:isNaN(ws(d))?isNaN(__(d).getDate())?d.charCodeAt(0)==35&&Oo[d]!=null?u[h][m]={t:"e",v:Oo[d],w:d}:u[h][m]=d:u[h][m]=Hr(d):u[h][m]=ws(d))}function n(d,u){var h=u||{},m=[];if(!d||d.length===0)return m;for(var g=d.split(/[\r\n]/),_=g.length-1;_>=0&&g[_].length===0;)--_;for(var p=10,v=0,b=0;b<=_;++b)v=g[b].indexOf(" "),v==-1?v=g[b].length:v++,p=Math.max(p,v);for(b=0;b<=_;++b){m[b]=[];var y=0;for(t(g[b].slice(0,p).trim(),m,b,y,h),y=1;y<=(g[b].length-p)/10+1;++y)t(g[b].slice(p+(y-1)*10,p+y*10).trim(),m,b,y,h)}return h.sheetRows&&(m=m.slice(0,h.sheetRows)),m}var e={44:",",9:"	",59:";",124:"|"},i={44:3,9:2,59:1,124:0};function r(d){for(var u={},h=!1,m=0,g=0;m<d.length;++m)(g=d.charCodeAt(m))==34?h=!h:!h&&g in e&&(u[g]=(u[g]||0)+1);g=[];for(m in u)Object.prototype.hasOwnProperty.call(u,m)&&g.push([u[m],m]);if(!g.length){u=i;for(m in u)Object.prototype.hasOwnProperty.call(u,m)&&g.push([u[m],m])}return g.sort(function(_,p){return _[0]-p[0]||i[_[1]]-i[p[1]]}),e[g.pop()[1]]||44}function a(d,u){var h=u||{},m="";Fo!=null&&h.dense==null&&(h.dense=Fo);var g={};h.dense&&(g["!data"]=[]);var _={s:{c:0,r:0},e:{c:0,r:0}};d.slice(0,4)=="sep="?d.charCodeAt(5)==13&&d.charCodeAt(6)==10?(m=d.charAt(4),d=d.slice(7)):d.charCodeAt(5)==13||d.charCodeAt(5)==10?(m=d.charAt(4),d=d.slice(6)):m=r(d.slice(0,1024)):h&&h.FS?m=h.FS:m=r(d.slice(0,1024));var p=0,v=0,b=0,y=0,E=0,F=m.charCodeAt(0),A=!1,C=0,M=d.charCodeAt(0),L=h.dateNF!=null?EY(h.dateNF):null;function V(){var z=d.slice(y,E);z.slice(-1)=="\r"&&(z=z.slice(0,-1));var ee={};if(z.charAt(0)=='"'&&z.charAt(z.length-1)=='"'&&(z=z.slice(1,-1).replace(/""/g,'"')),h.cellText!==!1&&(ee.w=z),z.length===0)ee.t="z";else if(h.raw)ee.t="s",ee.v=z;else if(z.trim().length===0)ee.t="s",ee.v=z;else if(z.charCodeAt(0)==61)z.charCodeAt(1)==34&&z.charCodeAt(z.length-1)==34?(ee.t="s",ee.v=z.slice(2,-1).replace(/""/g,'"')):CQ(z)?(ee.t="s",ee.f=z.slice(1),ee.v=z):(ee.t="s",ee.v=z);else if(z=="TRUE")ee.t="b",ee.v=!0;else if(z=="FALSE")ee.t="b",ee.v=!1;else if(!isNaN(b=ws(z)))ee.t="n",ee.v=b;else if(!isNaN((b=__(z)).getDate())||L&&z.match(L)){if(ee.z=h.dateNF||Fi[14],L&&z.match(L)){var ze=TY(z,h.dateNF,z.match(L)||[]);b=Hr(ze),h&&h.UTC===!1&&(b=Pu(b))}else h&&h.UTC===!1?b=Pu(b):h.cellText!==!1&&h.dateNF&&(ee.w=Ss(ee.z,b));h.cellDates?(ee.t="d",ee.v=b):(ee.t="n",ee.v=zn(b)),h.cellNF||delete ee.z}else z.charCodeAt(0)==35&&Oo[z]!=null?(ee.t="e",ee.w=z,ee.v=Oo[z]):(ee.t="s",ee.v=z);if(ee.t=="z"||(h.dense?(g["!data"][p]||(g["!data"][p]=[]),g["!data"][p][v]=ee):g[Yi({c:v,r:p}
vendor: 9,236 bytes, lines 8079-8082
8079)]=ee),y=E+1,M=d.charCodeAt(y),_.e.c<v&&(_.e.c=v),_.e.r<p&&(_.e.r=p),C==F)++v;else if(v=0,++p,h.sheetRows&&h.sheetRows<=p)return!0}e:for(;E<d.length;++E)switch(C=d.charCodeAt(E)){case 34:M===34&&(A=!A);break;case 13:if(A)break;d.charCodeAt(E+1)==10&&++E;case F:case 10:if(!A&&V())break e;break;default:break}return E-y>0&&V(),g["!ref"]=dn(_),g}function o(d,u){return!(u&&u.PRN)||u.FS||d.slice(0,4)=="sep="||d.indexOf("	")>=0||d.indexOf(",")>=0||d.indexOf(";")>=0?a(d,u):Bu(n(d,u),u)}function s(d,u){var h="",m=u.type=="string"?[0,0,0,0]:Kte(d,u);switch(u.type){case"base64":h=fl(d);break;case"binary":h=d;break;case"buffer":u.codepage==65001?h=d.toString("utf8"):u.codepage&&typeof ii<"u"?h=ii.utils.decode(u.codepage,d):h=di&&Buffer.isBuffer(d)?d.toString("binary"):Tc(d);break;case"array":h=aC(d);break;case"string":h=d;break;default:throw new Error("Unrecognized type "+u.type)}return m[0]==239&&m[1]==187&&m[2]==191?h=Eu(h.slice(3)):u.type!="string"&&u.type!="buffer"&&u.codepage==65001?h=Eu(h):u.type=="binary"&&typeof ii<"u"&&u.codepage&&(h=ii.utils.decode(u.codepage,ii.utils.encode(28591,h))),h.slice(0,19)=="socialcalc:version:"?yO.to_sheet(u.type=="string"?h:Eu(h),u):o(h,u)}function l(d,u){return Lu(s(d,u),u)}function c(d){var u=[];if(!d["!ref"])return"";for(var h=Oi(d["!ref"]),m,g=d["!data"]!=null,_=h.s.r;_<=h.e.r;++_){for(var p=[],v=h.s.c;v<=h.e.c;++v){var b=Yi({r:_,c:v});if(m=g?(d["!data"][_]||[])[v]:d[b],!m||m.v==null){p.push("          ");continue}for(var y=(m.w||(ks(m),m.w)||"").slice(0,10);y.length<10;)y+=" ";p.push(y+(v===0?" ":""))}u.push(p.join(""))}return u.join(`
8080`)}return{to_workbook:l,to_sheet:s,from_sheet:c}})();var vF=(function(){function t(N,Y,U){if(N){Cr(N,N.l||0);for(var B=U.Enum||St;N.l<N.length;){var ve=N.read_shift(2),qe=B[ve]||B[65535],mt=N.read_shift(2),Je=N.l+mt,Fe=qe.f&&qe.f(N,mt,U);if(N.l=Je,Y(Fe,qe,ve))return}}}function n(N,Y){switch(Y.type){case"base64":return i(ha(fl(N)),Y);case"binary":return i(ha(N),Y);case"buffer":case"array":return i(N,Y)}throw"Unsupported type "+Y.type}var e=["mmmm","dd-mmm-yyyy","dd-mmm","mmm-yyyy","@","mm/dd","hh:mm:ss AM/PM","hh:mm AM/PM","mm/dd/yyyy","mm/dd","hh:mm:ss","hh:mm"];function i(N,Y){if(!N)return N;var U=Y||{};Fo!=null&&U.dense==null&&(U.dense=Fo);var B={},ve="Sheet1",qe="",mt=0,Je={},Fe=[],Qt=[],Xt=[];U.dense&&(Xt=B["!data"]=[]);var it={s:{r:0,c:0},e:{r:0,c:0}},Li=U.sheetRows||0,ji={};if(N[4]==81&&N[5]==80&&N[6]==87)return Wt(N,Y);if(N[2]==0&&(N[3]==8||N[3]==9)&&N.length>=16&&N[14]==5&&N[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(N[2]==2)U.Enum=St,t(N,function(Oe,Il,Ua){switch(Ua){case 0:U.vers=Oe,Oe>=4096&&(U.qpro=!0);break;case 255:U.vers=Oe,U.works=!0;break;case 6:it=Oe;break;case 204:Oe&&(qe=Oe);break;case 222:qe=Oe;break;case 15:case 51:(!U.qpro&&!U.works||Ua==51)&&Oe[1].v.charCodeAt(0)<48&&(Oe[1].v=Oe[1].v.slice(1)),(U.works||U.works2)&&(Oe[1].v=Oe[1].v.replace(/\r\n/g,`
8081`));case 13:case 14:case 16:(Oe[2]&112)==112&&(Oe[2]&15)>1&&(Oe[2]&15)<15&&(Oe[1].z=U.dateNF||e[(Oe[2]&15)-1]||Fi[14],U.cellDates&&(Oe[1].v=Du(Oe[1].v),Oe[1].t=typeof Oe[1].v=="number"?"n":"d")),U.qpro&&Oe[3]>mt&&(B["!ref"]=dn(it),Je[ve]=B,Fe.push(ve),B={},U.dense&&(Xt=B["!data"]=[]),it={s:{r:0,c:0},e:{r:0,c:0}},mt=Oe[3],ve=qe||"Sheet"+(mt+1),qe="");var Dn=U.dense?(Xt[Oe[0].r]||[])[Oe[0].c]:B[Yi(Oe[0])];if(Dn){Dn.t=Oe[1].t,Dn.v=Oe[1].v,Oe[1].z!=null&&(Dn.z=Oe[1].z),Oe[1].f!=null&&(Dn.f=Oe[1].f),ji=Dn;break}U.dense?(Xt[Oe[0].r]||(Xt[Oe[0].r]=[]),Xt[Oe[0].r][Oe[0].c]=Oe[1]):B[Yi(Oe[0])]=Oe[1],ji=Oe[1];break;case 21509:U.works2=!0;break;case 21506:Oe==5281&&(ji.z="hh:mm:ss",U.cellDates&&ji.t=="n"&&(ji.v=Du(ji.v),ji.t=typeof ji.v=="number"?"n":"d"));break}},U);else if(N[2]==26||N[2]==14)U.Enum=Et,N[2]==14&&(U.qpro=!0,N.l=0),t(N,function(Oe,Il,Ua){switch(Ua){case 204:ve=Oe;break;case 22:Oe[1].v.charCodeAt(0)<48&&(Oe[1].v=Oe[1].v.slice(1)),Oe[1].v=Oe[1].v.replace(/\x0F./g,function(Dn){return String.fromCharCode(Dn.charCodeAt(1)-32)}).replace(/\r\n/g,`
8082`);case 23:case 24:case 25:case 37:case 39:case 40:if(Oe[3]>mt&&(B["!ref"]=dn(it),Je[ve]=B,Fe.push(ve),B={},U.dense&&(Xt=B["!data"]=[]),it={s:{r:0,c:0},e:{r:0,c:0}},mt=Oe[3],ve="Sheet"+(mt+1)),Li>0&&Oe[0].r>=Li)break;U.dense?(Xt[Oe[0].r]||(Xt[Oe[0].r]=[]),Xt[Oe[0].r][Oe[0].c]=Oe[1]):B[Yi(Oe[0])]=Oe[1],it.e.c<Oe[0].c&&(it.e.c=Oe[0].c),it.e.r<Oe[0].r&&(it.e.r=Oe[0].r);break;case 27:Oe[14e3]&&(Qt[Oe[14e3][0]]=Oe[14e3][1]);break;case 1537:Qt[Oe[0]]=Oe[1],Oe[0]==mt&&(ve=Oe[1]);break;default:break}},U);else throw new Error("Unrecognized LOTUS BOF "+N[2]);if(B["!ref"]=dn(it),Je[qe||ve]=B,Fe.push(qe||ve),!Qt.length)return{SheetNames:Fe,Sheets:Je};for(var Fn={},ga=[],Pe=0;Pe<Qt.length;++Pe)Je[Fe[Pe]]?(ga.push(Qt[Pe]||Fe[Pe]),Fn[Qt[Pe]]=Je[Qt[Pe]]||Je[Fe[Pe]]):(ga.push(Qt[Pe]),Fn[Qt[Pe]]={"!ref":"A1"});return{SheetNames:ga,Sheets:Fn}}function r(N,Y){var U=Y||{};if(+U.codepage>=0&&sf(+U.codepage),U.type=="string")throw new Error("Cannot write WK1 to JS string");var B=ar();if(!N["!ref"])throw new Error("Cannot export empty sheet to WK1");var ve=Oi(N["!ref"]),qe=N["!data"]!=null,mt=[];be(B,0,o(1030)),be(B,6,c(ve));for(var Je=Math.min(ve.e.r,8191),Fe=ve.s.c;Fe<=ve.e.c;++Fe)mt[Fe]=pi(Fe);for(var Qt=ve.s.r;Qt<=Je;++Qt){var Xt=xi(Qt);for(Fe=ve.s.c;Fe<=ve.e.c;++Fe){var it=qe?(N["!data"][Qt]||[])[Fe]:N[mt[Fe]+Xt];if(!(!it||it.t=="z"))switch(it.t){case"n":(it.v|0)==it.v&&it.v>=-32768&&it.v<=32767?be(B,13,p(Qt,Fe,it)):be(B,14,b(Qt,Fe,it));break;case"d":var Li=zn(it.v);(Li|0)==Li&&Li>=-32768&&Li<=32767?be(B,13,p(Qt,Fe,{t:"n",v:Li,z:it.z||Fi[14]})):be(B,14,b(Qt,Fe,{t:"n",v:Li,z:it.z||Fi[14]}));break;default:var ji=ks(it);be(B,15,m(Qt,Fe,ji.slice(0,239)))}}}return be(B,1),B.end()}function a(N,Y){var U=Y||{};if(+U.codepage>=0&&sf(+U.codepage),U.type=="string")throw new Error("Cannot write WK3 to JS string");var B=ar();be(B,0,s(N));for(var ve=0,qe=0;ve<N.SheetNames.length;++ve)(N.Sheets[N.SheetNames[ve]]||{})["!ref"]&&be(B,27,_t(N.SheetNames[ve],qe++));var mt=0;for(ve=0;ve<N.SheetNames.length;++ve){var Je=N.Sheets[N.SheetNames[ve]];if(!(!Je||!Je["!ref"])){for(var Fe=Oi(Je["!ref"]),Qt=Je["!data"]!=null,Xt=[],it=Math.min(Fe.e.r,8191),Li=Fe.s.r;Li<=it;++Li)for(var ji=xi(Li),Fn=Fe.s.c;Fn<=Fe.e.c;++Fn){Li===Fe.s.r&&(Xt[Fn]=pi(Fn));var ga=Xt[Fn]+ji,Pe=Qt?(Je["!data"][Li]||[])[Fn]:Je[ga];if(!(!Pe||Pe.t=="z"))if(Pe.t=="n")be(B,23,ze(Li,Fn,mt,Pe.v));else{var Oe=ks(Pe);be(B,22,V(Li,Fn,mt,Oe.slice(0,239)))}}++mt}}return be(B,1),B.end()}function o(N){var Y=q(2);return Y.write_shift(2,N),Y}function s(N){var Y=q(26);Y.write_shift(2,4096),Y.write_shift(2,4),Y.write_shift(4,0);for(var U=0,B=0,ve=0,qe=0;qe<N.SheetNames.length;++qe){var mt=N.SheetNames[qe],Je=N.Sheets[mt];if(!(!Je||!Je["!ref"])){++ve;var Fe=Un(Je["!ref"]);U<Fe.e.r&&(U=Fe.e.r),B<Fe.e.c&&(B=Fe.e.c)}}return U>8191&&(U=8191),Y.write_shift(2,U),Y.write_shift(1,ve),Y.write_shift(1,B),Y.write_shift(2,0),Y.write_shift(2,0),Y.write_shift(1,1),Y.write_shift(1,2),Y.write_shift(4,0),Y.write_shift(4,0),Y}function l(N,Y,U){var B={s:{c:0,r:0},e:{c:0,r:0}};return Y==8&&U.qpro?(B.s.c=N.read_shift(1),N.l++,B.s.r=N.read_shift(2),B.e.c=N.read_shift(1),N.l++,B.e.r=N.read_shift(2),B):(B.s.c=N.read_shift(2),B.s.r=N.read_shift(2),Y==12&&U.qpro&&(N.l+=2),B.e.c=N.read_shift(2),B.e.r=N.read_shift(2),Y==12&&U.qpro&&(N.l+=2),B.s.c==65535&&(B.s.c=B.e.c=B.s.r=B.e.r=0),B)}function c(N){var Y=q(8);return Y.write_shift(2,N.s.c),Y.write_shift(2,N.s.r),Y.write_shift(2,N.e.c),Y.write_shift(2,N.e.r),Y}function d(N,Y,U){var B=[{c:0,r:0},{t:"n",v:0},0,0];return U.qpro&&U.vers!=20768?(B[0].c=N.read_shift(1),B[3]=N.read_shift(1),B[0].r=N.read_shift(2),N.l+=2):U.works?(B[0].c=N.read_shift(2),B[0].r=N.read_shift(2),B[2]=N.read_shift(2)):(B[2]=N.read_shift(1),B[0].c=N.read_shift(2),B[0].r=N.read_shift(2)),B}function u(N){return N.z&&Ic(N.z)?240|(e.indexOf(N.z)+1||2):255}function h(N,Y,U){var B=N.l+Y,ve=d(N,Y,U);if(ve[1].t="s",(U.vers&65534)==20768){N.l++;var qe=N.read_shift(1);return ve[1].v=N.read_shift(qe,"utf8"),ve}return U.qpro&&N.l++,ve[1].v=N.read_shift(B-N.l,"cstr"),ve}function m(N,Y,U){var B=q(7+U.length);B.write_shift(1,255),B.write_shift(2,Y),B.write_shift(2,N),B.write_shift(1,39);for(var ve=0;ve<B.length;++ve){var qe=U.charCodeAt(ve);B.write_shift(1,qe>=128?95:qe)}return B.write_shift(1,0),B}function g(N,Y,U){var B=N.l+Y,ve=d(N,Y,U);if(ve[1].t="s",U.vers==20768){var qe=N.read_shift(1);return ve[1].v=N.read_shift(qe,"utf8"),ve}return ve[1].v=N.read_shift(B-N.l,"cstr"),ve}function _(N,Y,U){var B=d(N,Y,U);return B[1].v=N.read_shift(2,"i"),B}function p(N,Y,U){var B=q(7);return B.write_shift(1,u(U)),B.write_shift(2,Y),B.write_shift(2,N),B.write_shift(2,U.v,"i"),B}function v(N,Y,U){var B=d(N,Y,U);return B[1].v=N.read_shift(8,"f"),B}function b(N,Y,U){var B=q(13);return B.write_shift(1,u(U)),B.write_shift(2,Y),B.write_shift(2,N),B.write_shift(8,U.v,"f"),B}function y(N,Y,U){var B=N.l+Y,ve=d(N,Y,U);if(ve[1].v=N.read_shift(8,"f"),U.qpro)N.l=B;else{var qe=N.read_shift(2);C(N.slice(N.l,N.l+qe),ve),N.l+=qe}return ve}function E(N,Y,U){var B=Y&32768;return Y&=-32769,Y=(B?N:0)+(Y>=8192?Y-16384:Y),(B?"":"$")+(U?pi(Y):xi(Y))}var F={31:["NA",0],33:["ABS",1],34:["TRUNC",1],35:["SQRT",1],36:["LOG",1],37:["LN",1],38:["PI",0],39:["SIN",1],40:["COS",1],41:["TAN",1],42:["ATAN2",2],43:["ATAN",1],44:["AS
8082IN",1],45:["ACOS",1],46:["EXP",1],47:["MOD",2],49:["ISNA",1],50:["ISERR",1],51:["FALSE",0],52:["TRUE",0],53:["RAND",0],54:["DATE",3],63:["ROUND",2],64:["TIME",3],68:["ISNUMBER",1],69:["ISTEXT",1],70:["LEN",1],71:["VALUE",1],73:["MID",3],74:["CHAR",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],102:["UPPER",1],103:["LOWER",1],107:["PROPER",1],109:["TRIM",1],111:["T",1]},A=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function C(N,Y){Cr(N,0);for(var U=[],B=0,ve="",qe="",mt="",Je="";N.l<N.length;){var Fe=N[N.l++];switch(Fe){case 0:U.push(N.read_shift(8,"f"));break;case 1:qe=E(Y[0].c,N.read_shift(2),!0),ve=E(Y[0].r,N.read_shift(2),!1),U.push(qe+ve);break;case 2:{var Qt=E(Y[0].c,N.read_shift(2),!0),Xt=E(Y[0].r,N.read_shift(2),!1);qe=E(Y[0].c,N.read_shift(2),!0),ve=E(Y[0].r,N.read_shift(2),!1),U.push(Qt+Xt+":"+qe+ve)}break;case 3:if(N.l<N.length){console.error("WK1 premature formula end");return}break;case 4:U.push("("+U.pop()+")");break;case 5:U.push(N.read_shift(2));break;case 6:{for(var it="";Fe=N[N.l++];)it+=String.fromCharCode(Fe);U.push('"'+it.replace(/"/g,'""')+'"')}break;case 8:U.push("-"+U.pop());break;case 23:U.push("+"+U.pop());break;case 22:U.push("NOT("+U.pop()+")");break;case 20:case 21:Je=U.pop(),mt=U.pop(),U.push(["AND","OR"][Fe-20]+"("+mt+","+Je+")");break;default:if(Fe<32&&A[Fe])Je=U.pop(),mt=U.pop(),U.push(mt+A[Fe]+Je);else if(F[Fe]){if(B=F[Fe][1],B==69&&(B=N[N.l++]),B>U.length){console.error("WK1 bad formula parse 0x"+Fe.toString(16)+":|"+U.join("|")+"|");return}var Li=U.slice(-B);U.length-=B,U.push(F[Fe][0]+"("+Li.join(",")+")")}else return Fe<=7?console.error("WK1 invalid opcode "+Fe.toString(16)):Fe<=24?console.error("WK1 unsupported op "+Fe.toString(16)):Fe<=30?console.error("WK1 invalid opcode "+Fe.toString(16)):Fe<=115?console.error("WK1 unsupported function opcode "+Fe.toString(16)):console.error("WK1 unrecognized opcode "+Fe.toString(16))}}U.length==1?Y[1].f=""+U[0]:console.error("WK1 bad formula parse |"+U.join("|")+"|")}function M(N){var Y=[{c:0,r:0},{t:"n",v:0},0];return Y[0].r=N.read_shift(2),Y[3]=N[N.l++],Y[0].c=N[N.l++],Y}function L(N,Y){var U=M(N,Y);return U[1].t="s",U[1].v=N.read_shift(Y-4,"cstr"),U}function V(N,Y,U,B){var ve=q(6+B.length);ve.write_shift(2,N),ve.write_shift(1,U),ve.write_shift(1,Y),ve.write_shift(1,39);for(var qe=0;qe<B.length;++qe){var mt=B.charCodeAt(qe);ve.write_shift(1,mt>=128?95:mt)}return ve.write_shift(1,0),ve}function z(N,Y){var U=M(N,Y);U[1].v=N.read_shift(2);var B=U[1].v>>1;if(U[1].v&1)switch(B&7){case 0:B=(B>>3)*5e3;break;case 1:B=(B>>3)*500;break;case 2:B=(B>>3)/20;break;case 3:B=(B>>3)/200;break;case 4:B=(B>>3)/2e3;break;case 5:B=(B>>3)/2e4;break;case 6:B=(B>>3)/16;break;case 7:B=(B>>3)/64;break}return U[1].v=B,U}function ee(N,Y){var U=M(N,Y),B=N.read_shift(4),ve=N.read_shift(4),qe=N.read_shift(2);if(qe==65535)return B===0&&ve===3221225472?(U[1].t="e",U[1].v=15):B===0&&ve===3489660928?(U[1].t="e",U[1].v=42):U[1].v=0,U;var mt=qe&32768;return qe=(qe&32767)-16446,U[1].v=(1-mt*2)*(ve*Math.pow(2,qe+32)+B*Math.pow(2,qe)),U}function ze(N,Y,U,B){var ve=q(14);if(ve.write_shift(2,N),ve.write_shift(1,U),ve.write_shift(1,Y),B==0)return ve.write_shift(4,0),ve.write_shift(4,0),ve.write_shift(2,65535),ve;var qe=0,mt=0,Je=0,Fe=0;return B<0&&(qe=1,B=-B),mt=Math.log2(B)|0,B/=Math.pow(2,mt-31),Fe=B>>>0,(Fe&2147483648)==0&&(B/=2,++mt,Fe=B>>>0),B-=Fe,Fe|=2147483648,Fe>>>=0,B*=Math.pow(2,32),Je=B>>>0,ve.write_shift(4,Je),ve.write_shift(4,Fe),mt+=16383+(qe?32768:0),ve.write_shift(2,mt),ve}function rt(N,Y){var U=ee(N,14);return N.l+=Y-14,U}function Me(N,Y){var U=M(N,Y),B=N.read_shift(4);return U[1].v=B>>6,U}function yt(N,Y){var U=M(N,Y),B=N.read_shift(8,"f");return U[1].v=B,U}function je(N,Y){var U=yt(N,12);return N.l+=Y-12,U}function ri(N,Y){return N[N.l+Y-1]==0?N.read_shift(Y,"cstr"):""}function Ht(N,Y){var U=N[N.l++];U>Y-1&&(U=Y-1);for(var B="";B.length<U;)B+=String.fromCharCode(N[N.l++]);return B}function wi(N,Y,U){if(!(!U.qpro||Y<21)){var B=N.read_shift(1);N.l+=17,N.l+=1,N.l+=2;var ve=N.read_shift(Y-21,"cstr");return[B,ve]}}function kn(N,Y){for(var U={},B=N.l+Y;N.l<B;){var ve=N.read_shift(2);if(ve==14e3){for(U[ve]=[0,""],U[ve][0]=N.read_shift(2);N[N.l];)U[ve][1]+=String.fromCharCode(N[N.l]),N.l++;N.l++}}return U}function _t(N,Y){var U=q(5+N.length);U.write_shift(2,14e3),U.write_shift(2,Y);for(var B=0;B<N.length;++B){var ve=N.charCodeAt(B);U[U.l++]=ve>127?95:ve}return U[U.l++]=0,U}var St={0:{n:"BOF",f:u_},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:l},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:_},14:{n:"NUMBER",f:v},15:{n:"LABEL",f:h},16:{n:"FORMULA",f:y},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:g},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"}
vendor: 4,098 bytes, line 8082
8082,103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:ri},222:{n:"SHEETNAMELP",f:Ht},255:{n:"BOF",f:u_},21506:{n:"WKSNF",f:u_},65535:{n:""}},Et={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:L},23:{n:"NUMBER17",f:ee},24:{n:"NUMBER18",f:z},25:{n:"FORMULA19",f:rt},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:kn},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:Me},38:{n:"??"},39:{n:"NUMBER27",f:yt},40:{n:"FORMULA28",f:je},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:ri},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:wi},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}},Ft={5:"dd-mmm-yy",6:"dd-mmm",7:"mmm-yy",8:"mm/dd/yy",10:"hh:mm:ss AM/PM",11:"hh:mm AM/PM",14:"dd-mmm-yyyy",15:"mmm-yyyy",34:"0.00",50:"0.00;[Red]0.00",66:"0.00;(0.00)",82:"0.00;[Red](0.00)",162:'"$"#,##0.00;\\("$"#,##0.00\\)',288:"0%",304:"0E+00",320:"# ?/?"};function Ot(N){var Y=N.read_shift(2),U=N.read_shift(1);if(U!=0)throw"unsupported QPW string type "+U.toString(16);return N.read_shift(Y,"sbcs-cont")}function Wt(N,Y){Cr(N,0);var U=Y||{};Fo!=null&&U.dense==null&&(U.dense=Fo);var B={};U.dense&&(B["!data"]=[]);var ve=[],qe="",mt=[],Je={s:{r:-1,c:-1},e:{r:-1,c:-1}},Fe=0,Qt=0,Xt=0,it=0,Li={SheetNames:[],Sheets:{}},ji=[];e:for(;N.l<N.length;){var Fn=N.read_shift(2),ga=N.read_shift(2),Pe=N.slice(N.l,N.l+ga);switch(Cr(Pe,0),Fn){case 1:if(Pe.read_shift(4)!=962023505)throw"Bad QPW9 BOF!";break;case 2:break e;case 8:break;case 10:for(var Oe=Pe.read_shift(4),Il=(Pe.length-Pe.l)/Oe|0,Ua=0;Ua<Oe;++Ua){var Dn=Pe.l+Il,Ml={};Pe.l+=2,Ml.numFmtId=Pe.read_shift(2),Ft[Ml.numFmtId]&&(Ml.z=Ft[Ml.numFmtId]),Pe.l=Dn,ji.push(Ml)}break;case 1025:break;case 1026:break;case 1031:for(Pe.l+=12;Pe.l<Pe.length;)Fe=Pe.read_shift(2),Qt=Pe.read_shift(1),ve.push(Pe.read_shift(Fe,"cstr"));break;case 1032:break;case 1537:{var jf=Pe.read_shift(2);B={},U.dense&&(B["!data"]=[]),Je.s.c=Pe.read_shift(2),Je.e.c=Pe.read_shift(2),Je.s.r=Pe.read_shift(4),Je.e.r=Pe.read_shift(4),Pe.l+=4,Pe.l+2<Pe.length&&(Fe=Pe.read_shift(2),Qt=Pe.read_shift(1),qe=Fe==0?"":Pe.read_shift(Fe,"cstr")),qe||(qe=pi(jf))}break;case 1538:{if(Je.s.c>255||Je.s.r>999999)break;Je.e.c<Je.s.c&&(Je.e.c=Je.s.c),Je.e.r<Je.s.r&&(Je.e.r=Je.s.r),B["!ref"]=dn(Je),DC(Li,B,qe)}break;case 2561:Xt=Pe.read_shift(2),Je.e.c<Xt&&(Je.e.c=Xt),Je.s.c>Xt&&(Je.s.c=Xt),it=Pe.read_shift(4),Je.s.r>it&&(Je.s.r=it),it=Pe.read_shift(4),Je.e.r<it&&(Je.e.r=it);break;case 3073:{it=Pe.read_shift(4),Fe=Pe.read_shift(4),Je.s.r>it&&(Je.s.r=it),Je.e.r<it+Fe-1&&(Je.e.r=it+Fe-1);for(var ih=pi(Xt);Pe.l<Pe.length;){var oi={t:"z"},cr=Pe.read_shift(1),Ps=-1;cr&128&&(Ps=Pe.read_shift(2));var Hf=cr&64?Pe.read_shift(2)-1:0;
8082switch(cr&31){case 0:break;case 1:break;case 2:oi={t:"n",v:Pe.read_shift(2)};break;case 3:oi={t:"n",v:Pe.read_shift(2,"i")};break;case 4:oi={t:"n",v:bC(Pe)};break;case 5:oi={t:"n",v:Pe.read_shift(8,"f")};break;case 7:oi={t:"s",v:ve[Qt=Pe.read_shift(4)-1]};break;case 8:oi={t:"n",v:Pe.read_shift(8,"f")},Pe.l+=2,Pe.l+=4,isNaN(oi.v)&&(oi={t:"e",v:15});break;default:throw"Unrecognized QPW cell type "+(cr&31)}Ps!=-1&&(ji[Ps-1]||{}).z&&(oi.z=ji[Ps-1].z);var Fs=0;if(cr&32)switch(cr&31){case 2:Fs=Pe.read_shift(2);break;case 3:Fs=Pe.read_shift(2,"i");break;case 7:Fs=Pe.read_shift(2);break;default:throw"Unsupported delta for QPW cell type "+(cr&31)}if(!(!U.sheetStubs&&oi.t=="z")){var Al=sr(oi);oi.t=="n"&&oi.z&&Ic(oi.z)&&U.cellDates&&(Al.v=Du(oi.v),Al.t=typeof Al.v=="number"?"n":"d"),B["!data"]!=null?(B["!data"][it]||(B["!data"][it]=[]),B["!data"][it][Xt]=Al):B[ih+xi(it)]=Al}for(++it,--Fe;Hf-- >0&&Fe>=0;){if(cr&32)switch(cr&31){case 2:oi={t:"n",v:oi.v+Fs&65535};break;case 3:oi={t:"n",v:oi.v+Fs&65535},oi.v>32767&&(oi.v-=65536);break;case 7:oi={t:"s",v:ve[Qt=Qt+Fs>>>0]};break;default:throw"Cannot apply delta for QPW cell type "+(cr&31)}else switch(cr&31){case 1:oi={t:"z"};break;case 2:oi={t:"n",v:Pe.read_shift(2)};break;case 7:oi={t:"s",v:ve[Qt=Pe.read_shift(4)-1]};break;default:throw"Cannot apply repeat for QPW cell type "+(cr&31)}Ps!=-1,!U.sheetStubs&&oi.t=="z"||(B["!data"]!=null?(B["!data"][it]||(B["!data"][it]=[]),B["!data"][it][Xt]=oi):B[ih+xi(it)]=oi),++it,--Fe}}}break;case 3074:{Xt=Pe.read_shift(2),it=Pe.read_shift(4);var nh=Ot(Pe);B["!data"]!=null?(B["!data"][it]||(B["!data"][it]=[]),B["!data"][it][Xt]={t:"s",v:nh}):B[pi(Xt)+xi(it)]={t:"s",v:nh}}break;default:break}N.l+=ga}return Li}return{sheet_to_wk1:r,book_to_wk3:a,to_workbook:n}})();var SK=/^\s|\s$|[\t\n\r]/;function kK(t,n){if(!n.bookSST)return"";var e=[un];e[e.length]=De("sst",null,{xmlns:Ou[0],count:t.Count,uniqueCount:t.Unique});for(var i=0;i!=t.length;++i)if(t[i]!=null){var r=t[i],a="<si>";r.r?a+=r.r:(a+="<t",r.t||(r.t=""),typeof r.t!="string"&&(r.t=String(r.t)),r.t.match(SK)&&(a+=' xml:space="preserve"'),a+=">"+Mt(r.t)+"</t>"),a+="</si>",e[e.length]=a}return e.length>2&&(e[e.length]="</sst>",e[1]=e[1].replace("/>",">")),e.join("")}function DK(t){return[t.read_shift(4),t.read_shift(4)]}function EK(t,n){return n||(n=q(8)),n.write_shift(4,t.Count),n.write_shift(4,t.Unique),n}var TK=fX;function IK(t){var n=ar();me(n,159,EK(t));for(var e=0;e<t.length;++e)me(n,19,TK(t[e]));return me(n,160),n.end()}function MK(t){if(typeof ii<"u")return ii.utils.encode(Ru,t);for(var n=[],e=t.split(""),i=0;i<e.length;++i)n[i]=e[i].charCodeAt(0);return n}function xO(t){var n=0,e,i=MK(t),r=i.length+1,a,o,s,l,c;for(e=Ec(r),e[0]=i.length,a=1;a!=r;++a)e[a]=i[a-1];for(a=r-1;a>=0;--a)o=e[a],s=(n&16384)===0?0:1,l=n<<1&32767,c=s|l,n=c^o;return n^52811}function AK(t,n){var e=["{\\rtf1\\ansi"];if(!t["!ref"])return e[0]+"}";for(var i=Oi(t["!ref"]),r,a=t["!data"]!=null,o=[],s=i.s.r;s<=i.e.r;++s){e.push("\\trowd\\trautofit1");for(var l=i.s.c;l<=i.e.c;++l)e.push("\\cellx"+(l+1));for(e.push("\\pard\\intbl"),a&&(o=t["!data"][s]||[]),l=i.s.c;l<=i.e.c;++l){var c=Yi({r:s,c:l});if(r=a?o[l]:t[c],!r||r.v==null&&(!r.f||r.F)){e.push(" \\cell");continue}e.push(" "+(r.w||(ks(r),r.w)||"").replace(/[\r\n]/g,"\\par ")),e.push("\\cell")}e.push("\\pard\\intbl\\row")}return e.join("")+"}"}function bF(t){for(var n=0,e=1;n!=3;++n)e=e*256+(t[n]>255?255:t[n]<0?0:t[n]);return e.toString(16).toUpperCase().slice(1)}var RK=6;var Cs=RK;function x_(t){return Math.floor((t+Math.round(128/Cs)/256)*Cs)}function w_(t){return Math.floor((t-5)/Cs*100+.5)/100}function Zw(t){return Math.round((t*Cs+5)/Cs*256)/256}function xC(t){t.width?(t.wpx=x_(t.width),t.wch=w_(t.wpx),t.MDW=Cs):t.wpx?(t.wch=w_(t.wpx),t.width=Zw(t.wch),t.MDW=Cs):typeof t.wch=="number"&&(t.width=Zw(t.wch),t.wpx=x_(t.width),t.MDW=Cs),t.customWidth&&delete t.customWidth}var PK=96,wO=PK;function C_(t){return t*96/wO}function CO(t){return t*wO/96}function FK(t){var n=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var i=e[0];i<=e[1];++i)t[i]!=null&&(n[n.length]=De("numFmt",null,{numFmtId:i,formatCode:Mt(t[i])}))}),n.length===1?"":(n[n.length]="</numFmts>",n[0]=De("numFmts",null,{count:n.length-2}).replace("/>",">"),n.join(""))}function OK(t){var n=[];return n[n.length]=De("cellXfs",null),t.forEach(function(e){n[n.length]=De("xf",null,e)}),n[n.length]="</cellXfs>",n.length===2?"":(n[0]=De("cellXfs",null,{count:n.length-2}).replace("/>",">"),n.join(""))}function NK(t,n){var e=[un,De("styleSheet",null,{xmlns:Ou[0],"xmlns:vt":Pn.vt})],i;return t.SSF&&(i=FK(t.SSF))!=null&&(e[e.length]=i),e[e.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',e[e.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',e[e.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',e[e.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(i=OK(n.cellXfs))&&(e[e.length]=i),e[e.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',e[e.length]='<dxfs count="0"/>',e[e.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',e.length>2&&(e[e.length]="</styleSheet>",e[1]=e[1].replace("/>",">")),e.join("")}function LK(t,n){var e=t.read_shift(2),i=or(t,n-2);return[e,i]}function BK(t,n,e){e||(e=q(6+4*n.length)),e.write_shift(2,t),Cn(n,e);var i=e.length>e.l?e.slice(0,e.l):e;return e.l==null&&(e.l=e.length),i}function VK(t,n,e){var i={};i.sz=t.read_shift(2)/20;var r=xX(t,2,e);r.fItalic&&(i.italic=1),r.fCondense&&(i.condense=1),r.fExtend&&(i.extend=1),r.fShadow&&(i.shadow=1),r.fOutline&&(i.outline=1),r.fStrikeout&&(i.strike=1);var a=t.read_shift(2);switch(a===700&&(i.bold=1),t.read_shift(2)){case 1:i.vertAlign="superscript";break;case 2:i.vertAlign="subscript";break}var o=t.read_shift(1);o!=0&&(i.underline=o);var s=t.read_shift(1);s>0&&(i.family=s);var l=t.read_shift(1);switch(l>
80820&&(i.charset=l),t.l++,i.color=yX(t,8),t.read_shift(1)){case 1:i.scheme="major";break;case 2:i.scheme="minor";break}return i.name=or(t,n-21),i}function UK(t,n){n||(n=q(153)),n.write_shift(2,t.sz*20),wX(t,n),n.write_shift(2,t.bold?700:400);var e=0;t.vertAlign=="superscript"?e=1:t.vertAlign=="subscript"&&(e=2),n.write_shift(2,e),n.write_shift(1,t.underline||0),n.write_shift(1,t.family||0),n.write_shift(1,t.charset||0),n.write_shift(1,0),b_(t.color,n);var i=0;return t.scheme=="major"&&(i=1),t.scheme=="minor"&&(i=2),n.write_shift(1,i),Cn(t.name,n),n.length>n.l?n.slice(0,n.l):n}var zK=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],jw,jK=No;function yF(t,n){n||(n=q(84)),jw||(jw=rC(zK));var e=jw[t.patternType];e==null&&(e=40),n.write_shift(4,e);var i=0;if(e!=40)for(b_({auto:1},n),b_({auto:1},n);i<12;++i)n.write_shift(4,0);else{for(;i<4;++i)n.write_shift(4,0);for(;i<12;++i)n.write_shift(4,0)}return n.length>n.l?n.slice(0,n.l):n}function HK(t,n){var e=t.l+n,i=t.read_shift(2),r=t.read_shift(2);return t.l=e,{ixfe:i,numFmtId:r}}function SO(t,n,e){e||(e=q(16)),e.write_shift(2,n||0),e.write_shift(2,t.numFmtId||0),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(1,0),e.write_shift(1,0);var i=0;return e.write_shift(1,i),e.write_shift(1,0),e.write_shift(1,0),e.write_shift(1,0),e}function Zm(t,n){return n||(n=q(10)),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(4,0),n.write_shift(4,0),n}var $K=No;function WK(t,n){return n||(n=q(51)),n.write_shift(1,0),Zm(null,n),Zm(null,n),Zm(null,n),Zm(null,n),Zm(null,n),n.length>n.l?n.slice(0,n.l):n}function GK(t,n){return n||(n=q(52)),n.write_shift(4,t.xfId),n.write_shift(2,1),n.write_shift(1,+t.builtinId),n.write_shift(1,0),hf(t.name||"",n),n.length>n.l?n.slice(0,n.l):n}function qK(t,n,e){var i=q(2052);return i.write_shift(4,t),hf(n,i),hf(e,i),i.length>i.l?i.slice(0,i.l):i}function YK(t,n){if(n){var e=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(i){for(var r=i[0];r<=i[1];++r)n[r]!=null&&++e}),e!=0&&(me(t,615,co(e)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(i){for(var r=i[0];r<=i[1];++r)n[r]!=null&&me(t,44,BK(r,n[r]))}),me(t,616))}}function XK(t){var n=1;n!=0&&(me(t,611,co(n)),me(t,43,UK({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),me(t,612))}function KK(t){var n=2;n!=0&&(me(t,603,co(n)),me(t,45,yF({patternType:"none"})),me(t,45,yF({patternType:"gray125"})),me(t,604))}function QK(t){var n=1;n!=0&&(me(t,613,co(n)),me(t,46,WK({})),me(t,614))}function ZK(t){var n=1;me(t,626,co(n)),me(t,47,SO({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),me(t,627)}function JK(t,n){me(t,617,co(n.length)),n.forEach(function(e){me(t,47,SO(e,0))}),me(t,618)}function eQ(t){var n=1;me(t,619,co(n)),me(t,48,GK({xfId:0,builtinId:0,name:"Normal"})),me(t,620)}function tQ(t){var n=0;me(t,505,co(n)),me(t,506)}function iQ(t){var n=0;me(t,508,qK(n,"TableStyleMedium9","PivotStyleMedium4")),me(t,509)}function nQ(t,n){var e=ar();return me(e,278),YK(e,t.SSF),XK(e,t),KK(e,t),QK(e,t),ZK(e,t),JK(e,n.cellXfs),eQ(e,t),tQ(e,t),iQ(e,t),me(e,279),e.end()}function kO(t,n){if(n&&n.themeXLSX)return n.themeXLSX;if(t&&typeof t.raw=="string")return t.raw;var e=[un];return e[e.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',e[e.length]="<a:themeElements>",e[e.length]='<a:clrScheme name="Office">',e[e.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',e[e.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',e[e.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',e[e.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',e[e.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',e[e.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',e[e.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',e[e.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',e[e.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>
8082',e[e.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',e[e.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',e[e.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',e[e.length]="</a:clrScheme>",e[e.length]='<a:fontScheme name="Office">',e[e.length]="<a:majorFont>",e[e.length]='<a:latin typeface="Cambria"/>',e[e.length]='<a:ea typeface=""/>',e[e.length]='<a:cs typeface=""/>',e[e.length]='<a:font script="Jpan" typeface="\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF"/>',e[e.length]='<a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/>',e[e.length]='<a:font script="Hans" typeface="\u5B8B\u4F53"/>',e[e.length]='<a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/>',e[e.length]='<a:font script="Arab" typeface="Times New Roman"/>',e[e.length]='<a:font script="Hebr" typeface="Times New Roman"/>',e[e.length]='<a:font script="Thai" typeface="Tahoma"/>',e[e.length]='<a:font script="Ethi" typeface="Nyala"/>',e[e.length]='<a:font script="Beng" typeface="Vrinda"/>',e[e.length]='<a:font script="Gujr" typeface="Shruti"/>',e[e.length]='<a:font script="Khmr" typeface="MoolBoran"/>',e[e.length]='<a:font script="Knda" typeface="Tunga"/>',e[e.length]='<a:font script="Guru" typeface="Raavi"/>',e[e.length]='<a:font script="Cans" typeface="Euphemia"/>',e[e.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',e[e.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',e[e.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',e[e.length]='<a:font script="Thaa" typeface="MV Boli"/>',e[e.length]='<a:font script="Deva" typeface="Mangal"/>',e[e.length]='<a:font script="Telu" typeface="Gautami"/>',e[e.length]='<a:font script="Taml" typeface="Latha"/>',e[e.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',e[e.length]='<a:font script="Orya" typeface="Kalinga"/>',e[e.length]='<a:font script="Mlym" typeface="Kartika"/>',e[e.length]='<a:font script="Laoo" typeface="DokChampa"/>',e[e.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',e[e.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',e[e.length]='<a:font script="Viet" typeface="Times New Roman"/>',e[e.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',e[e.length]='<a:font script="Geor" typeface="Sylfaen"/>',e[e.length]="</a:majorFont>",e[e.length]="<a:minorFont>",e[e.length]='<a:latin typeface="Calibri"/>',e[e.length]='<a:ea typeface=""/>',e[e.length]='<a:cs typeface=""/>',e[e.length]='<a:font script="Jpan" typeface="\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF"/>',e[e.length]='<a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/>',e[e.length]='<a:font script="Hans" typeface="\u5B8B\u4F53"/>',e[e.length]='<a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/>',e[e.length]='<a:font script="Arab" typeface="Arial"/>',e[e.length]='<a:font script="Hebr" typeface="Arial"/>',e[e.length]='<a:font script="Thai" typeface="Tahoma"/>',e[e.length]='<a:font script="Ethi" typeface="Nyala"/>',e[e.length]='<a:font script="Beng" typeface="Vrinda"/>',e[e.length]='<a:font script="Gujr" typeface="Shruti"/>',e[e.length]='<a:font script="Khmr" typeface="DaunPenh"/>',e[e.length]='<a:font script="Knda" typeface="Tunga"/>',e[e.length]='<a:font script="Guru" typeface="Raavi"/>',e[e.length]='<a:font script="Cans" typeface="Euphemia"/>',e[e.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',e[e.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',e[e.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',e[e.length]='<a:font script="Thaa" typeface="MV Boli"/>',e[e.length]='<a:font script="Deva" typeface="Mangal"/>',e[e.length]='<a:font script="Telu" typeface="Gautami"/>',e[e.length]='<a:font script="Taml" typeface="Latha"/>',e[e.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',e[e.length]='<a:font script="Orya" typeface="Kalinga"/>',e[e.length]='<a:font script="Mlym" typeface="Kartika"/>',e[e.length]='<a:font script="Laoo" typeface="DokChampa"/>',e[e.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',e[e.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>
8082',e[e.length]='<a:font script="Viet" typeface="Arial"/>',e[e.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',e[e.length]='<a:font script="Geor" typeface="Sylfaen"/>',e[e.length]="</a:minorFont>",e[e.length]="</a:fontScheme>",e[e.length]='<a:fmtScheme name="Office">',e[e.length]="<a:fillStyleLst>",e[e.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',e[e.length]='<a:gradFill rotWithShape="1">',e[e.length]="<a:gsLst>",e[e.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',e[e.length]="</a:gsLst>",e[e.length]='<a:lin ang="16200000" scaled="1"/>',e[e.length]="</a:gradFill>",e[e.length]='<a:gradFill rotWithShape="1">',e[e.length]="<a:gsLst>",e[e.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',e[e.length]="</a:gsLst>",e[e.length]='<a:lin ang="16200000" scaled="0"/>',e[e.length]="</a:gradFill>",e[e.length]="</a:fillStyleLst>",e[e.length]="<a:lnStyleLst>",e[e.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',e[e.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',e[e.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',e[e.length]="</a:lnStyleLst>",e[e.length]="<a:effectStyleLst>",e[e.length]="<a:effectStyle>",e[e.length]="<a:effectLst>",e[e.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',e[e.length]="</a:effectLst>",e[e.length]="</a:effectStyle>",e[e.length]="<a:effectStyle>",e[e.length]="<a:effectLst>",e[e.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',e[e.length]="</a:effectLst>",e[e.length]="</a:effectStyle>",e[e.length]="<a:effectStyle>",e[e.length]="<a:effectLst>",e[e.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',e[e.length]="</a:effectLst>",e[e.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',e[e.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',e[e.length]="</a:effectStyle>",e[e.length]="</a:effectStyleLst>",e[e.length]="<a:bgFillStyleLst>",e[e.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',e[e.length]='<a:gradFill rotWithShape="1">',e[e.length]="<a:gsLst>",e[e.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',e[e.length]="</a:gsLst>",e[e.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',e[e.length]="</a:gradFill>",e[e.length]='<a:gradFill rotWithShape="1">',e[e.length]="<a:gsLst>",e[e.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',e[e.length]="</a:gsLst>
8082",e[e.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',e[e.length]="</a:gradFill>",e[e.length]="</a:bgFillStyleLst>",e[e.length]="</a:fmtScheme>",e[e.length]="</a:themeElements>",e[e.length]="<a:objectDefaults>",e[e.length]="<a:spDef>",e[e.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',e[e.length]="</a:spDef>",e[e.length]="<a:lnDef>",e[e.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',e[e.length]="</a:lnDef>",e[e.length]="</a:objectDefaults>",e[e.length]="<a:extraClrSchemeLst/>",e[e.length]="</a:theme>",e.join("")}function rQ(t,n){return{flags:t.read_shift(4),version:t.read_shift(4),name:or(t,n-8)}}function aQ(t){var n=q(12+2*t.name.length);return n.write_shift(4,t.flags),n.write_shift(4,t.version),Cn(t.name,n),n.slice(0,n.l)}function oQ(t){for(var n=[],e=t.read_shift(4);e-- >0;)n.push([t.read_shift(4),t.read_shift(4)]);return n}function sQ(t){var n=q(4+8*t.length);n.write_shift(4,t.length);for(var e=0;e<t.length;++e)n.write_shift(4,t[e][0]),n.write_shift(4,t[e][1]);return n}function lQ(t,n){var e=q(8+2*n.length);return e.write_shift(4,t),Cn(n,e),e.slice(0,e.l)}function cQ(t){return t.l+=4,t.read_shift(4)!=0}function dQ(t,n){var e=q(8);return e.write_shift(4,t),e.write_shift(4,n?1:0),e}function uQ(){var t=ar();return me(t,332),me(t,334,co(1)),me(t,335,aQ({name:"XLDAPR",version:12e4,flags:3496657072})),me(t,336),me(t,339,lQ(1,"XLDAPR")),me(t,52),me(t,35,co(514)),me(t,4096,co(0)),me(t,4097,Oa(1)),me(t,36),me(t,53),me(t,340),me(t,337,dQ(1,!0)),me(t,51,sQ([[1,0]])),me(t,338),me(t,333),t.end()}function hQ(){var t=[un];return t.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">
8083  <metadataTypes count="1">
8084    <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>
8085  </metadataTypes>
8086  <futureMetadata name="XLDAPR" count="1">
8087    <bk>
8088      <extLst>
8089        <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">
8090          <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>
8091        </ext>
8092      </extLst>
8093    </bk>
8094  </futureMetadata>
8095  <cellMetadata count="1">
8096    <bk>
8097      <rc t="1" v="0"/>
8098    </bk>
8099  </cellMetadata>
8100</metadata>`),t.join("")}function mQ(t){var n={};n.i=t.read_shift(4);var e={};e.r=t.read_shift(4),e.c=t.read_shift(4),n.r=Yi(e);var i=t.read_shift(1);return i&2&&(n.l="1"),i&8&&(n.a="1"),n}function DO(t,n,e){var i=[21600,21600],r=["m0,0l0",i[1],i[0],i[1],i[0],"0xe"].join(","),a=[De("xml",null,{"xmlns:v":ma.v,"xmlns:o":ma.o,"xmlns:x":ma.x,"xmlns:mv":ma.mv}).replace(/\/>/,">"),De("o:shapelayout",De("o:idmap",null,{"v:ext":"edit",data:t}),{"v:ext":"edit"})],o=65536*t,s=n||[];return s.length>0&&a.push(De("v:shapetype",[De("v:stroke",null,{joinstyle:"miter"}),De("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202",coordsize:i.join(","),"o:spt":202,path:r})),s.forEach(function(l){++o,a.push(fQ(l,o))}),a.push("</xml>"),a.join("")}function fQ(t,n,e){var i=zi(t[0]),r={color2:"#BEFF82",type:"gradient"};r.type=="gradient"&&(r.angle="-180");var a=r.type=="gradient"?De("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=De("v:fill",a,r),s={on:"t",obscured:"t"};return["<v:shape"+cf({id:"_x0000_s"+n,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(t[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",o,De("v:shadow",null,s),De("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Vn("x:Anchor",[i.c+1,0,i.r+1,0,i.c+3,20,i.r+5,20].join(",")),Vn("x:AutoFill","False"),Vn("x:Row",String(i.r)),Vn("x:Column",String(i.c)),t[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"].join("")}function pQ(t){var n=[un,De("comments",null,{xmlns:Ou[0]})],e=[];return n.push("<authors>
8100"),t.forEach(function(i){i[1].forEach(function(r){var a=Mt(r.a);e.indexOf(a)==-1&&(e.push(a),n.push("<author>"+a+"</author>")),r.T&&r.ID&&e.indexOf("tc="+r.ID)==-1&&(e.push("tc="+r.ID),n.push("<author>tc="+r.ID+"</author>"))})}),e.length==0&&(e.push("SheetJ5"),n.push("<author>SheetJ5</author>")),n.push("</authors>"),n.push("<commentList>"),t.forEach(function(i){var r=0,a=[],o=0;if(i[1][0]&&i[1][0].T&&i[1][0].ID&&(r=e.indexOf("tc="+i[1][0].ID)),i[1].forEach(function(c){c.a&&(r=e.indexOf(Mt(c.a))),c.T&&++o,a.push(c.t==null?"":Mt(c.t))}),o===0)i[1].forEach(function(c){n.push('<comment ref="'+i[0]+'" authorId="'+e.indexOf(Mt(c.a))+'"><text>'),n.push(Vn("t",c.t==null?"":Mt(c.t))),n.push("</text></comment>")});else{i[1][0]&&i[1][0].T&&i[1][0].ID&&(r=e.indexOf("tc="+i[1][0].ID)),n.push('<comment ref="'+i[0]+'" authorId="'+r+'"><text>');for(var s=`Comment:
8101    `+a[0]+`
8102`,l=1;l<a.length;++l)s+=`Reply:
8103    `+a[l]+`
8104`;n.push(Vn("t",Mt(s))),n.push("</text></comment>")}}),n.push("</commentList>"),n.length>2&&(n[n.length]="</comments>",n[1]=n[1].replace("/>",">")),n.join("")}function EO(t,n,e){var i=[un,De("ThreadedComments",null,{xmlns:Pn.TCMNT}).replace(/[\/]>/,">")];return t.forEach(function(r){var a="";(r[1]||[]).forEach(function(o,s){if(!o.T){delete o.ID;return}o.a&&n.indexOf(o.a)==-1&&n.push(o.a);var l={ref:r[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+e.tcid++).slice(-12)+"}"};s==0?a=l.id:l.parentId=a,o.ID=l.id,o.a&&(l.personId="{54EE7950-7262-4200-6969-"+("000000000000"+n.indexOf(o.a)).slice(-12)+"}"),i.push(De("threadedComment",Vn("text",o.t||""),l))})}),i.push("</ThreadedComments>"),i.join("")}function TO(t){var n=[un,De("personList",null,{xmlns:Pn.TCMNT,"xmlns:x":Ou[0]}).replace(/[\/]>/,">")];return t.forEach(function(e,i){n.push(De("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+i).slice(-12)+"}",userId:e,providerId:"None"}))}),n.push("</personList>"),n.join("")}function gQ(t){var n={};n.iauthor=t.read_shift(4);var e=Oc(t,16);return n.rfx=e.s,n.ref=Yi(e.s),t.l+=16,n}function _Q(t,n){return n==null&&(n=q(36)),n.write_shift(4,t[1].iauthor),Vu(t[0],n),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n}var vQ=or;function xF(t){return Cn(t.slice(0,54))}function bQ(t){var n=ar(),e=[];return me(n,628),me(n,630),t.forEach(function(i){i[1].forEach(function(r){e.indexOf(r.a)>-1||(e.push(r.a.slice(0,54)),me(n,632,xF(r.a)),r.T&&r.ID&&e.indexOf("tc="+r.ID)==-1&&(e.push("tc="+r.ID),me(n,632,xF("tc="+r.ID))))})}),me(n,631),me(n,633),t.forEach(function(i){i[1].forEach(function(r){var a=-1;r.ID&&(a=e.indexOf("tc="+r.ID)),a==-1&&i[1][0].T&&i[1][0].ID&&(a=e.indexOf("tc="+i[1][0].ID)),a==-1&&(a=e.indexOf(r.a)),r.iauthor=a;var o={s:zi(i[0]),e:zi(i[0])};me(n,635,_Q([o,r])),r.t&&r.t.length>0&&me(n,637,gX(r)),me(n,636),delete r.iauthor})}),me(n,634),me(n,629),n.end()}function yQ(t,n){n.FullPaths.forEach(function(e,i){if(i!=0){var r=e.replace(/^[\/]*[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");r.slice(-1)!=="/"&&ki.utils.cfb_add(t,r,n.FileIndex[i].content)}})}var xQ=["xlsb","xlsm","xlam","biff8","xla"];var wF=(function(){var t=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,n={r:0,c:0};function e(i,r,a,o){var s=!1,l=!1;a.length==0?l=!0:a.charAt(0)=="["&&(l=!0,a=a.slice(1,-1)),o.length==0?s=!0:o.charAt(0)=="["&&(s=!0,o=o.slice(1,-1));var c=a.length>0?parseInt(a,10)|0:0,d=o.length>0?parseInt(o,10)|0:0;return s?d+=n.c:--d,l?c+=n.r:--c,r+(s?"":"$")+pi(d)+(l?"":"$")+xi(c)}return function(r,a){return n=a,r.replace(t,e)}})(),N_=/(^|[^._A-Z0-9])(\$?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])(\$?)(\d{1,7})(?![_.\(A-Za-z0-9])/g;try{N_=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g}catch(t){}var L_=(function(){return function(n,e){return n.replace(N_,function(i,r,a,o,s,l){var c=gC(o)-(a?0:e.c),d=pC(l)-(s?0:e.r),u=s=="$"?d+1:d==0?"":"["+d+"]",h=a=="$"?c+1:c==0?"":"["+c+"]";return r+"R"+u+"C"+h})}})();function wQ(t,n){return t.replace(N_,function(e,i,r,a,o,s){return i+(r=="$"?r+a:pi(gC(a)+n.c))+(o=="$"?o+s:xi(pC(s)+n.r))})}function CQ(t){return t.length!=1}function on(t){t.l+=1}function pl(t,n){var e=t.read_shift(n==1?1:2);return[e&16383,e>>14&1,e>>15&1]}function IO(t,n,e){var i=2;if(e){if(e.biff>=2&&e.biff<=5)return MO(t,n,e);e.biff==12&&(i=4)}
8104var r=t.read_shift(i),a=t.read_shift(i),o=pl(t,2),s=pl(t,2);return{s:{r,c:o[0],cRel:o[1],rRel:o[2]},e:{r:a,c:s[0],cRel:s[1],rRel:s[2]}}}function MO(t){var n=pl(t,2),e=pl(t,2),i=t.read_shift(1),r=t.read_shift(1);return{s:{r:n[0],c:i,cRel:n[1],rRel:n[2]},e:{r:e[0],c:r,cRel:e[1],rRel:e[2]}}}function SQ(t,n,e){if(e.biff<8)return MO(t,n,e);var i=t.read_shift(e.biff==12?4:2),r=t.read_shift(e.biff==12?4:2),a=pl(t,2),o=pl(t,2);return{s:{r:i,c:a[0],cRel:a[1],rRel:a[2]},e:{r,c:o[0],cRel:o[1],rRel:o[2]}}}function AO(t,n,e){if(e&&e.biff>=2&&e.biff<=5)return kQ(t,n,e);var i=t.read_shift(e&&e.biff==12?4:2),r=pl(t,2);return{r:i,c:r[0],cRel:r[1],rRel:r[2]}}function kQ(t){var n=pl(t,2),e=t.read_shift(1);return{r:n[0],c:e,cRel:n[1],rRel:n[2]}}function DQ(t){var n=t.read_shift(2),e=t.read_shift(2);return{r:n,c:e&255,fQuoted:!!(e&16384),cRel:e>>15,rRel:e>>15}}function EQ(t,n,e){var i=e&&e.biff?e.biff:8;if(i>=2&&i<=5)return TQ(t,n,e);var r=t.read_shift(i>=12?4:2),a=t.read_shift(2),o=(a&16384)>>14,s=(a&32768)>>15;if(a&=16383,s==1)for(;r>524287;)r-=1048576;if(o==1)for(;a>8191;)a=a-16384;return{r,c:a,cRel:o,rRel:s}}function TQ(t){var n=t.read_shift(2),e=t.read_shift(1),i=(n&32768)>>15,r=(n&16384)>>14;return n&=16383,i==1&&n>=8192&&(n=n-16384),r==1&&e>=128&&(e=e-256),{r:n,c:e,cRel:r,rRel:i}}function IQ(t,n,e){var i=(t[t.l++]&96)>>5,r=IO(t,e.biff>=2&&e.biff<=5?6:8,e);return[i,r]}function MQ(t,n,e){var i=(t[t.l++]&96)>>5,r=t.read_shift(2,"i"),a=8;if(e)switch(e.biff){case 5:t.l+=12,a=6;break;case 12:a=12;break}var o=IO(t,a,e);return[i,r,o]}function AQ(t,n,e){var i=(t[t.l++]&96)>>5;return t.l+=e&&e.biff>8?12:e.biff<8?6:8,[i]}function RQ(t,n,e){var i=(t[t.l++]&96)>>5,r=t.read_shift(2),a=8;if(e)switch(e.biff){case 5:t.l+=12,a=6;break;case 12:a=12;break}return t.l+=a,[i,r]}function PQ(t,n,e){var i=(t[t.l++]&96)>>5,r=SQ(t,n-1,e);return[i,r]}function FQ(t,n,e){var i=(t[t.l++]&96)>>5;return t.l+=e.biff==2?6:e.biff==12?14:7,[i]}function CF(t){var n=t[t.l+1]&1,e=1;return t.l+=4,[n,e]}function OQ(t,n,e){t.l+=2;for(var i=t.read_shift(e&&e.biff==2?1:2),r=[],a=0;a<=i;++a)r.push(t.read_shift(e&&e.biff==2?1:2));return r}function NQ(t,n,e){var i=t[t.l+1]&255?1:0;return t.l+=2,[i,t.read_shift(e&&e.biff==2?1:2)]}function LQ(t,n,e){var i=t[t.l+1]&255?1:0;return t.l+=2,[i,t.read_shift(e&&e.biff==2?1:2)]}function BQ(t){var n=t[t.l+1]&255?1:0;return t.l+=2,[n,t.read_shift(2)]}function VQ(t,n,e){var i=t[t.l+1]&255?1:0;return t.l+=e&&e.biff==2?3:4,[i]}function RO(t){var n=t.read_shift(1),e=t.read_shift(1);return[n,e]}function UQ(t){return t.read_shift(2),RO(t,2)}function zQ(t){return t.read_shift(2),RO(t,2)}function jQ(t,n,e){var i=(t[t.l]&96)>>5;t.l+=1;var r=AO(t,0,e);return[i,r]}function HQ(t,n,e){var i=(t[t.l]&96)>>5;t.l+=1;var r=EQ(t,0,e);return[i,r]}function $Q(t,n,e){var i=(t[t.l]&96)>>5;t.l+=1;var r=t.read_shift(2);e&&e.biff==5&&(t.l+=12);var a=AO(t,0,e);return[i,r,a]}function WQ(t,n,e){var i=(t[t.l]&96)>>5;t.l+=1;var r=t.read_shift(e&&e.biff<=3?1:2);return[iJ[r],OO[r],i]}function GQ(t,n,e){var i=t[t.l++],r=t.read_shift(1),a=e&&e.biff<=3?[i==88?-1:0,t.read_shift(1)]:qQ(t);return[r,(a[0]===0?OO:tJ)[a[1]]]}function qQ(t){return[t[t.l+1]>>7,t.read_shift(2)&32767]}function YQ(t,n,e){t.l+=e&&e.biff==2?3:4}function XQ(t,n,e){if(t.l++,e&&e.biff==12)return[t.read_shift(4,"i"),0];var i=t.read_shift(2),r=t.read_shift(e&&e.biff==2?1:2);return[i,r]}function KQ(t){return t.l++,kr[t.read_shift(1)]}function QQ(t){return t.l++,t.read_shift(2)}function ZQ(t){return t.l++,t.read_shift(1)!==0}function JQ(t){return t.l++,Uu(t,8)}function eZ(t,n,e){return t.l++,gO(t,n-1,e)}function tZ(t,n){var e=[t.read_shift(1)];if(n==12)switch(e[0]){case 2:e[0]=4;break;case 4:e[0]=16;break;case 0:e[0]=1;break;case 1:e[0]=2;break}switch(e[0]){case 4:e[1]=UX(t,1)?"TRUE":"FALSE",n!=12&&(t.l+=7);break;case 37:case 16:e[1]=kr[t[t.l]],t.l+=n==12?4:8;break;case 0:t.l+=8;break;case 1:e[1]=Uu(t,8);break;case 2:e[1]=$X(t,0,{biff:n>0&&n<8?2:n});break;default:throw new Error("Bad SerAr: "+e[0])}return e}function iZ(t,n,e){for(var i=t.read_shift(e.biff==12?4:2),r=[],a=0;a!=i;++a)r.push((e.biff==12?Oc:qX)(t,8));return r}function nZ(t,n,e){var i=0,r=0;e.biff==12?(i=t.read_shift(4),r=t.read_shift(4)):(r=1+t.read_shift(1),i=1+t.read_shift(2)),e.biff>=2&&e.biff<8&&(--i,--r==0&&(r=256));for(var a=0,o=[];a!=i&&(o[a]=[]);++a)for(var s=0;s!=r;++s)o[a][s]=tZ(t,e.biff);return o}function rZ(t,n,e){var i=t.read_shift(1)>>>5&3,r=!e||e.biff>=8?4:2,a=t.read_shift(r);switch(e.biff){case 2:t.l+=5;break;case 3:case 4:t.l+=8;break;case 5:t.l+=12;break}return[i,0,a]}function aZ(t,n,e){if(e.biff==5)return oZ(t,n,e);var i=t.read_shift(1)>>>5&3,r=t.read_shift(2),a=t.read_shift(4);return[i,r,a]}function oZ(t){var n=t.read_shift(1)>>>5&3,e=t.read_shift(2,"i");t.l+=8;var i=t.read_shift(2);return t.l+=12,[n,e,i]}function sZ(t,n,e){var i=t.read_shift(1)>>>5&3;t.l+=e&&e.biff==2?3:4;var r=t.read_shift(e&&e.biff==2?1:2);return[i,r]}function lZ(t,n,e){var i=t.read_shift(1)>>>5&3,r=t.read_shift(e&&e.biff==2?1:2);return[i,r]}function cZ(t,n,e){var i=t.read_shift(1)>>>5&3;return t.l+=4,e.biff<8&&t.l--,e.biff==12&&(t.l+=2),[i]}function dZ(t,n,e){var i=(t[t.l++]&96)>>5,r=t.read_shift(2),a=4;if(e)switch(e.biff){case 5:a=15;break;case 12:a=6;break}return t.l+=a,[i,r]}var uZ=No,hZ=No,mZ=No;function _f(t,n,e){return t.l+=2,[DQ(t,4,e)]}function wC(t){return t.l+=6,[]}var fZ=_f,pZ=wC,gZ=wC,_Z=_f;function PO(t){return t.l+=2,[u_(t),t.read_shift(2)&1]}var vZ=_f,bZ=PO,yZ=wC,xZ=_f,wZ=_f,CZ=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function SZ(t){t.l+=2;var n=t.read_shift(2),e=t.read_shift(2),i=t.read_shift(4),r=t.read_shift(2),a=t.read_shift(2),o=CZ[e>>2&31];return{ixti:n,coltype:e&3,rt:o,idx:i,c:r,C:a}}function kZ(t){return t.l+=2,[t.read_shift(4)]}function DZ(t,n,e){return t.l+=5,t.l+=2,t.l+=e.biff==2?1:4,["PTGSHEET"]}function EZ(t,n,e){return t.l+=e.biff==2?4:5,["PTGENDSHEET"]}function TZ(t){var n=t.read_shift(1)>>>5&3,e=t.read_shift(2);return[n,e]}function IZ(t){var n=t.read_shift(1)>>>5&3,e=t.read_shift(2);return[n,e]}function MZ(t){return t.l+=4,[0,0]}var SF={1:{n:"PtgExp",f:XQ},2:{n:"PtgTbl",f:mZ},3:{n:"PtgAdd",f:on},4:{n:"PtgSub",f:on},5:{n:"PtgMul",f:on},6:{n:"PtgDiv",f:on},7:{n:"PtgPower",f:on}
vendor: 6,476 bytes, line 8104
8104,8:{n:"PtgConcat",f:on},9:{n:"PtgLt",f:on},10:{n:"PtgLe",f:on},11:{n:"PtgEq",f:on},12:{n:"PtgGe",f:on},13:{n:"PtgGt",f:on},14:{n:"PtgNe",f:on},15:{n:"PtgIsect",f:on},16:{n:"PtgUnion",f:on},17:{n:"PtgRange",f:on},18:{n:"PtgUplus",f:on},19:{n:"PtgUminus",f:on},20:{n:"PtgPercent",f:on},21:{n:"PtgParen",f:on},22:{n:"PtgMissArg",f:on},23:{n:"PtgStr",f:eZ},26:{n:"PtgSheet",f:DZ},27:{n:"PtgEndSheet",f:EZ},28:{n:"PtgErr",f:KQ},29:{n:"PtgBool",f:ZQ},30:{n:"PtgInt",f:QQ},31:{n:"PtgNum",f:JQ},32:{n:"PtgArray",f:FQ},33:{n:"PtgFunc",f:WQ},34:{n:"PtgFuncVar",f:GQ},35:{n:"PtgName",f:rZ},36:{n:"PtgRef",f:jQ},37:{n:"PtgArea",f:IQ},38:{n:"PtgMemArea",f:sZ},39:{n:"PtgMemErr",f:uZ},40:{n:"PtgMemNoMem",f:hZ},41:{n:"PtgMemFunc",f:lZ},42:{n:"PtgRefErr",f:cZ},43:{n:"PtgAreaErr",f:AQ},44:{n:"PtgRefN",f:HQ},45:{n:"PtgAreaN",f:PQ},46:{n:"PtgMemAreaN",f:TZ},47:{n:"PtgMemNoMemN",f:IZ},57:{n:"PtgNameX",f:aZ},58:{n:"PtgRef3d",f:$Q},59:{n:"PtgArea3d",f:MQ},60:{n:"PtgRefErr3d",f:dZ},61:{n:"PtgAreaErr3d",f:RQ},255:{}},AZ={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},RZ={1:{n:"PtgElfLel",f:PO},2:{n:"PtgElfRw",f:xZ},3:{n:"PtgElfCol",f:fZ},6:{n:"PtgElfRwV",f:wZ},7:{n:"PtgElfColV",f:_Z},10:{n:"PtgElfRadical",f:vZ},11:{n:"PtgElfRadicalS",f:yZ},13:{n:"PtgElfColS",f:pZ},15:{n:"PtgElfColSV",f:gZ},16:{n:"PtgElfRadicalLel",f:bZ},25:{n:"PtgList",f:SZ},29:{n:"PtgSxName",f:kZ},255:{}},PZ={0:{n:"PtgAttrNoop",f:MZ},1:{n:"PtgAttrSemi",f:VQ},2:{n:"PtgAttrIf",f:LQ},4:{n:"PtgAttrChoose",f:OQ},8:{n:"PtgAttrGoto",f:NQ},16:{n:"PtgAttrSum",f:YQ},32:{n:"PtgAttrBaxcel",f:CF},33:{n:"PtgAttrBaxcel",f:CF},64:{n:"PtgAttrSpace",f:UQ},65:{n:"PtgAttrSpaceSemi",f:zQ},128:{n:"PtgAttrIfError",f:BQ},255:{}};function FZ(t,n,e,i){if(i.biff<8)return No(t,n);for(var r=t.l+n,a=[],o=0;o!==e.length;++o)switch(e[o][0]){case"PtgArray":e[o][1]=nZ(t,0,i),a.push(e[o][1]);break;case"PtgMemArea":e[o][2]=iZ(t,e[o][1],i),a.push(e[o][2]);break;case"PtgExp":i&&i.biff==12&&(e[o][1][1]=t.read_shift(4),a.push(e[o][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+e[o][0];default:break}return n=r-t.l,n!==0&&a.push(No(t,n)),a}function OZ(t,n,e){for(var i=t.l+n,r,a,o=[];i!=t.l;)n=i-t.l,a=t[t.l],r=SF[a]||SF[AZ[a]],(a===24||a===25)&&(r=(a===24?RZ:PZ)[t[t.l+1]]),!r||!r.f?No(t,n):o.push([r.n,r.f(t,n,e)]);return o}function NZ(t){for(var n=[],e=0;e<t.length;++e){for(var i=t[e],r=[],a=0;a<i.length;++a){var o=i[a];o?o[0]===2?r.push('"'+o[1].replace(/"/g,'""')+'"'):r.push(o[1]):r.push("")}n.push(r.join(","))}return n.join(";")}var LZ={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function BZ(t,n){var e=t.lastIndexOf("!"),i=n.lastIndexOf("!");return e==-1&&i==-1?t+":"+n:e>0&&i>0&&t.slice(0,e).toLowerCase()==n.slice(0,i).toLowerCase()?t+":"+n.slice(i+1):(console.error("Cannot hydrate range",t,n),t+":"+n)}function FO(t,n,e){if(!t)return"SH33TJSERR0";if(e.biff>8&&(!t.XTI||!t.XTI[n]))return t.SheetNames[n];if(!t.XTI)return"SH33TJSERR6";var i=t.XTI[n];if(e.biff<8)return n>1e4&&(n-=65536),n<0&&(n=-n),n==0?"":t.XTI[n-1];if(!i)return"SH33TJSERR1";var r="";if(e.biff>8)switch(t[i[0]][0]){case 357:return r=i[1]==-1?"#REF":t.SheetNames[i[1]],i[1]==i[2]?r:r+":"+t.SheetNames[i[2]];case 358:return e.SID!=null?t.SheetNames[e.SID]:"SH33TJSSAME"+t[i[0]][0];default:return"SH33TJSSRC"+t[i[0]][0]}switch(t[i[0]][0][0]){case 1025:return r=i[1]==-1?"#REF":t.SheetNames[i[1]]||"SH33TJSERR3",i[1]==i[2]?r:r+":"+t.SheetNames[i[2]];case 14849:return t[i[0]].slice(1).map(function(a){return a.Name}).join(";;");default:return t[i[0]][0][3]?(r=i[1]==-1?"#REF":t[i[0]][0][3][i[1]]||"SH33TJSERR4",i[1]==i[2]?r:r+":"+t[i[0]][0][3][i[2]]):"SH33TJSERR2"}}function kF(t,n,e){var i=FO(t,n,e);return i=="#REF"?i:uf(i,e)}function Fu(t,n,e,i,r){var a=r&&r.biff||8,o={s:{c:0,r:0},e:{c:0,r:0}},s=[],l,c,d,u=0,h=0,m,g="";if(!t[0]||!t[0][0])return"";for(var _=-1,p="",v=0,b=t[0].length;v<b;++v){var y=t[0][v];switch(y[0]){case"PtgUminus":s.push("-"+s.pop());break;case"PtgUplus":s.push("+"+s.pop());break;case"PtgPercent":s.push(s.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(l=s.pop(),c=s.pop(),_>=0){switch(t[0][_][1][0]){case 0:p=Ui(" ",t[0][_][1][1]);break;case 1:p=Ui("\r",t[0][_][1][1]);break;default:if(p="",r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][_][1][0])}c=c+p,_=-1}s.push(c+LZ[y[0]]+l);break;case"PtgIsect":l=s.pop(),c=s.pop(),s.push(c+" "+l);break;case"PtgUnion":l=s.pop(),c=s.pop(),s.push(c+","+l);break;case"PtgRange":l=s.pop(),c=s.pop(),s.push(BZ(c,l));break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":d=nf(y[1][1],o,r),s.push(rf(d,a));break;case"PtgRefN":d=e?nf(y[1][1],e,r):y[1][1],s.push(rf(d,a));break;case"PtgRef3d":u=y[1][1],d=nf(y[1][2],o,r),g=kF(i,u,r);var E=g;s.push(g+"!"+rf(d,a));break;case"PtgFunc":case"PtgFuncVar":var F=y[1][0],A=y[1][1];F||(F=0),F&=127;var C=F==0?[]:s.slice(-F);s.length-=F,A==="User"&&(A=C.shift()),s.push(A+"("+C.join(",")+")");break;case"PtgBool":s.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":s.push(y[1]);break;case"PtgNum":s.push(String(y[1]));break;case"PtgStr":s.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":s.push(y[1]);break;case"PtgAreaN":m=oF(y[1][1],e?{s:e}:o,r),s.push(Bw(m,r));break;case"PtgArea":m=oF(y[1][1],o,r),s.push(Bw(m,r));break;case"PtgArea3d":u=y[1][1],m=y[1][2],g=kF(i,u,r),s.push(g+"!"+Bw(m,r));break;case"PtgAttrSum":s.push("SUM("+s.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":h=y[1][2];var M=(i.names||[])[h-1]||(i[0]||[])[h],L=M?M.Name:"SH33TJSNAME"+String(h);L&&L.slice(0,6)=="_xlfn."&&!r.xlfn&&(L=L.slice(6)),s.push(L);break;case"PtgNameX":var V=y[1][1];h=y[1][2];var z;if(r.biff<=5)V<0&&(V=-V),i[V]&&(z=i[V][h]);else{var ee="";if(((i[V]||[])[0]||[])[0]==14849||(((i[V]||[])[0]||[])[0]==1025?i[V][h]&&i[V][h].itab>0&&(ee=i.SheetNames[i[V][h].itab-1]+"!"):ee=i.SheetNames[h-1]+"!"),i[V]&&i[V][h])ee+=i[V][h].Name;else if(i[0]&&i[0][h])ee+=i[0][h].Name;else{var ze=(FO(i,V,r)||"").split(";;");ze[h-1]?ee=ze[h-1]:ee+="SH33TJSERRX"}s.push(ee);break}
8104z||(z={Name:"SH33TJSERRY"}),s.push(z.Name);break;case"PtgParen":var rt="(",Me=")";if(_>=0){switch(p="",t[0][_][1][0]){case 2:rt=Ui(" ",t[0][_][1][1])+rt;break;case 3:rt=Ui("\r",t[0][_][1][1])+rt;break;case 4:Me=Ui(" ",t[0][_][1][1])+Me;break;case 5:Me=Ui("\r",t[0][_][1][1])+Me;break;default:if(r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][_][1][0])}_=-1}s.push(rt+s.pop()+Me);break;case"PtgRefErr":s.push("#REF!");break;case"PtgRefErr3d":s.push("#REF!");break;case"PtgExp":d={c:y[1][1],r:y[1][0]};var yt={c:e.c,r:e.r};if(i.sharedf[Yi(d)]){var je=i.sharedf[Yi(d)];s.push(Fu(je,o,yt,i,r))}else{var ri=!1;for(l=0;l!=i.arrayf.length;++l)if(c=i.arrayf[l],!(d.c<c[0].s.c||d.c>c[0].e.c)&&!(d.r<c[0].s.r||d.r>c[0].e.r)){s.push(Fu(c[1],o,yt,i,r)),ri=!0;break}ri||s.push(y[1])}break;case"PtgArray":s.push("{"+NZ(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":_=v;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":s.push("");break;case"PtgAreaErr":s.push("#REF!");break;case"PtgAreaErr3d":s.push("#REF!");break;case"PtgList":s.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(y));default:throw new Error("Unrecognized Formula Token: "+String(y))}var Ht=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(r.biff!=3&&_>=0&&Ht.indexOf(t[0][v][0])==-1){y=t[0][_];var wi=!0;switch(y[1][0]){case 4:wi=!1;case 0:p=Ui(" ",y[1][1]);break;case 5:wi=!1;case 1:p=Ui("\r",y[1][1]);break;default:if(p="",r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}s.push((wi?p:"")+s.pop()+(wi?"":p)),_=-1}}if(s.length>1&&r.WTF)throw new Error("bad formula stack");return s[0]=="TRUE"?!0:s[0]=="FALSE"?!1:s[0]}function VZ(t){if(t==null){var n=q(8);return n.write_shift(1,3),n.write_shift(1,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,65535),n}else if(typeof t=="number")return Mc(t);return Mc(0)}function UZ(t,n,e,i,r){var a=Ac(n,e,r),o=VZ(t.v),s=q(6),l=33;s.write_shift(2,l),s.write_shift(4,0);for(var c=q(t.bf.length),d=0;d<t.bf.length;++d)c[d]=t.bf[d];var u=ln([a,o,s,c]);return u}function B_(t,n,e){var i=t.read_shift(4),r=OZ(t,i,e),a=t.read_shift(4),o=a>0?FZ(t,a,r,e):null;return[r,o]}var zZ=B_,V_=B_,jZ=B_,HZ=B_;function DF(t){if((t|0)==t&&t<Math.pow(2,16)&&t>=0){var n=q(11);return n.write_shift(4,3),n.write_shift(1,30),n.write_shift(2,t),n.write_shift(4,0),n}var e=q(17);return e.write_shift(4,11),e.write_shift(1,31),e.write_shift(8,t),e.write_shift(4,0),e}function $Z(t){var n=q(10);return n.write_shift(4,2),n.write_shift(1,28),n.write_shift(1,t),n.write_shift(4,0),n}function WZ(t){var n=q(10);return n.write_shift(4,2),n.write_shift(1,29),n.write_shift(1,t?1:0),n.write_shift(4,0),n}function GZ(t){var n=q(7);n.write_shift(4,3+2*t.length),n.write_shift(1,23),n.write_shift(2,t.length);var e=q(2*t.length);e.write_shift(2*t.length,t,"utf16le");var i=q(4);return i.write_shift(4,0),ln([n,e,i])}function qZ(t){var n=zi(t),e=q(15);return e.write_shift(4,7),e.write_shift(1,36),e.write_shift(4,n.r),e.write_shift(2,n.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15),e.write_shift(4,0),e}function YZ(t,n){var e=t.lastIndexOf("!"),i=t.slice(0,e);t=t.slice(e+1);var r=zi(t);i.charAt(0)=="'"&&(i=i.slice(1,-1).replace(/''/g,"'"));var a=q(17);return a.write_shift(4,9),a.write_shift(1,58),a.write_shift(2,2+n.SheetNames.map(function(o){return o.toLowerCase()}).indexOf(i.toLowerCase())),a.write_shift(4,r.r),a.write_shift(2,r.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15),a.write_shift(4,0),a}function XZ(t,n){var e=t.lastIndexOf("!"),i=t.slice(0,e);t=t.slice(e+1),i.charAt(0)=="'"&&(i=i.slice(1,-1).replace(/''/g,"'"));var r=q(17);return r.write_shift(4,9),r.write_shift(1,60),r.write_shift(2,2+n.SheetNames.map(function(a){return a.toLowerCase()}).indexOf(i.toLowerCase())),r.write_shift(4,0),r.write_shift(2,0),r.write_shift(4,0),r}function KZ(t){var n=t.split(":"),e=n[0],i=q(23);i.write_shift(4,15),e=n[0];var r=zi(e);return i.write_shift(1,36),i.write_shift(4,r.r),i.write_shift(2,r.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15),i.write_shift(4,0),e=n[1],r=zi(e),i.write_shift(1,36),i.write_shift(4,r.r),i.write_shift(2,r.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15),i.write_shift(4,0),i.write_shift(1,17),i.write_shift(4,0),i}function QZ(t,n){var e=t.lastIndexOf("!"),i=t.slice(0,e);t=t.slice(e+1),i.charAt(0)=="'"&&(i=i.slice(1,-1).replace(/''/g,"'"));var r=t.split(":"),a=q(27);a.write_shift(4,19);var o=r[0],s=zi(o);return a.write_shift(1,58),a.write_shift(2,2+n.SheetNames.map(function(l){return l.toLowerCase()}).indexOf(i.toLowerCase())),a.write_shift(4,s.r),a.write_shift(2,s.c|(o.charAt(0)=="$"?0:1)<<14|(o.match(/\$\d/)?0:1)<<15),o=r[1],s=zi(o),a.write_shift(1,58),a.write_shift(2,2+n.SheetNames.map(function(l){return l.toLowerCase()}).indexOf(i.toLowerCase())),a.write_shift(4,s.r),a.write_shift(2,s.c|(o.charAt(0)=="$"?0:1)<<14|(o.match(/\$\d/)?0:1)<<15),a.write_shift(1,17),a.write_shift(4,0),a}function ZZ(t,n){var e=t.lastIndexOf("!"),i=t.slice(0,e);t=t.slice(e+1),i.charAt(0)=="'"&&(i=i.slice(1,-1).replace(/''/g,"'"));var r=Un(t),a=q(23);return a.write_shift(4,15),a.write_shift(1,59),a.write_shift(2,2+n.SheetNames.map(function(o){return o.toLowerCase()}).indexOf(i.toLowerCase())),a.write_shift(4,r.s.r),a.write_shift(4,r.e.r),a.write_shift(2,r.s.c),a.write_shift(2,r.e.c),a.write_shift(4,0),a}function JZ(t,n){if(typeof t=="number")return DF(t);if(typeof t=="boolean")return WZ(t);
vendor: 6,017 bytes, line 8104
8104if(/^#(DIV\/0!|GETTING_DATA|N\/A|NAME\?|NULL!|NUM!|REF!|VALUE!)$/.test(t))return $Z(+Oo[t]);if(t.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return qZ(t);if(t.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return KZ(t);if(t.match(/^#REF!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return ZZ(t,n);if(t.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return YZ(t,n);if(t.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return QZ(t,n);if(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!#REF!$/.test(t))return XZ(t,n);if(/^".*"$/.test(t))return GZ(t);if(/^[+-]\d+$/.test(t))return DF(parseInt(t,10));throw"Formula |"+t+"| not supported for XLSB"}var eJ=JZ,tJ={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.
8104NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},OO
vendor: 6,535 bytes, line 8104
8104={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},
8104iJ={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function nJ(t){var n="of:="+t.replace(N_,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return n.replace(/;/g,"|").replace(/,/g,";")}function NO(t){return t.replace(/!/,".").replace(/:/,":.")}var af=typeof Map<"u";function CC(t,n,e){var i=0,r=t.length;if(e){if(af?e.has(n):Object.prototype.hasOwnProperty.call(e,n)){for(var a=af?e.get(n):e[n];i<a.length;++i)if(t[a[i]].t===n)return t.Count++,a[i]}}else for(;i<r;++i)if(t[i].t===n)return t.Count++,i;return t[r]={t:n},t.Count++,t.Unique++,e&&(af?(e.has(n)||e.set(n,[]),e.get(n).push(r)):(Object.prototype.hasOwnProperty.call(e,n)||(e[n]=[]),e[n].push(r))),r}function U_(t,n){var e={min:t+1,max:t+1},i=-1;return n.MDW&&(Cs=n.MDW),n.width!=null?e.customWidth=1:n.wpx!=null?i=w_(n.wpx):n.wch!=null&&(i=n.wch),i>-1?(e.width=Zw(i),e.customWidth=1):n.width!=null&&(e.width=n.width),n.hidden&&(e.hidden=!0),n.level!=null&&(e.outlineLevel=e.level=n.level),e}function LO(t,n){if(t){var e=[.7,.7,.75,.75,.3,.3];n=="xlml"&&(e=[1,1,1,1,.5,.5]),t.left==null&&(t.left=e[0]),t.right==null&&(t.right=e[1]),t.top==null&&(t.top=e[2]),t.bottom==null&&(t.bottom=e[3]),t.header==null&&(t.header=e[4]),t.footer==null&&(t.footer=e[5])}}function _l(t,n,e){var i=e.revssf[n.z!=null?n.z:"General"],r=60,a=t.length;if(i==null&&e.ssf){for(;r<392;++r)if(e.ssf[r]==null){MY(n.z,r),e.ssf[r]=n.z,e.revssf[n.z]=i=r;break}}for(r=0;r!=a;++r)if(t[r].numFmtId===i)return r;return t[a]={numFmtId:i,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},a}function rJ(t,n,e){if(t&&t["!ref"]){var i=Oi(t["!ref"]);if(i.e.c<i.s.c||i.e.r<i.s.r)throw new Error("Bad range ("+e+"): "+t["!ref"])}}function aJ(t){if(t.length===0)return"";for(var n='<mergeCells count="'+t.length+'">',e=0;e!=t.length;++e)n+='<mergeCell ref="'+dn(t[e])+'"/>';return n+"</mergeCells>"}function oJ(t,n,e,i,r){var a=!1,o={},s=null;if(i.bookType!=="xlsx"&&n.vbaraw){var l=n.SheetNames[e];try{n.Workbook&&(l=n.Workbook.Sheets[e].CodeName||l)}catch(d){}a=!0,o.codeName=ys(Mt(l))}if(t&&t["!outline"]){var c={summaryBelow:1,summaryRight:1};t["!outline"].above&&(c.summaryBelow=0),t["!outline"].left&&(c.summaryRight=0),s=(s||"")+De("outlinePr",null,c)}!a&&!s||(r[r.length]=De("sheetPr",s,o))}var sJ=["objects","scenarios","selectLockedCells","selectUnlockedCells"],lJ=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function cJ(t){var n={sheet:1};return sJ.forEach(function(e){t[e]!=null&&t[e]&&(n[e]="1")}),lJ.forEach(function(e){t[e]!=null&&!t[e]&&(n[e]="0")}),t.password&&(n.password=xO(t.password).toString(16).toUpperCase()),De("sheetProtection",null,n)}function dJ(t){return LO(t),De("pageMargins",null,t)}function uJ(t,n){for(var e=["<cols>"],i,r=0;r!=n.length;++r)(i=n[r])&&(e[e.length]=De("col",null,U_(r,i)));return e[e.length]="</cols>",e.join("")}function hJ(t,n,e,i){var r=typeof t.ref=="string"?t.ref:dn(t.ref);e.Workbook||(e.Workbook={Sheets:[]}),e.Workbook.Names||(e.Workbook.Names=[]);var a=e.Workbook.Names,o=Un(r);o.s.r==o.e.r&&(o.e.r=Un(n["!ref"]).e.r,r=dn(o));for(var s=0;s<a.length;++s){var l=a[s];if(l.Name=="_xlnm._FilterDatabase"&&l.Sheet==i){l.Ref=uf(e.SheetNames[i])+"!"+df
8104(r);break}}return s==a.length&&a.push({Name:"_xlnm._FilterDatabase",Sheet:i,Ref:"'"+e.SheetNames[i]+"'!"+r}),De("autoFilter",null,{ref:r})}function mJ(t,n,e,i){var r={workbookViewId:"0"};return(((i||{}).Workbook||{}).Views||[])[0]&&(r.rightToLeft=i.Workbook.Views[0].RTL?"1":"0"),De("sheetViews",De("sheetView",null,r),{})}function fJ(t,n,e,i,r,a,o){if(t.c&&e["!comments"].push([n,t.c]),(t.v===void 0||t.t==="z"&&!(i||{}).sheetStubs)&&typeof t.f!="string"&&typeof t.z>"u")return"";var s="",l=t.t,c=t.v;if(t.t!=="z")switch(t.t){case"b":s=t.v?"1":"0";break;case"n":isNaN(t.v)?(t.t="e",s=kr[t.v=36]):isFinite(t.v)?s=""+t.v:(t.t="e",s=kr[t.v=7]);break;case"e":s=kr[t.v];break;case"d":if(i&&i.cellDates){var d=Hr(t.v,o);s=d.toISOString(),d.getUTCFullYear()<1900&&(s=s.slice(s.indexOf("T")+1).replace("Z",""))}else t=sr(t),t.t="n",s=""+(t.v=zn(Hr(t.v,o),o));typeof t.z>"u"&&(t.z=Fi[14]);break;default:s=t.v;break}var u=t.t=="z"||t.v==null?"":Vn("v",Mt(s)),h={r:n},m=_l(i.cellXfs,t,i);switch(m!==0&&(h.s=m),t.t){case"n":break;case"d":h.t="d";break;case"b":h.t="b";break;case"e":h.t="e";break;case"z":break;default:if(t.v==null){delete t.t;break}if(t.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(i&&i.bookSST){u=Vn("v",""+CC(i.Strings,t.v,i.revStrings)),h.t="s";break}else h.t="str";break}if(t.t!=l&&(t.t=l,t.v=c),typeof t.f=="string"&&t.f){var g=t.F&&t.F.slice(0,n.length)==n?{t:"array",ref:t.F}:null;u=De("f",Mt(t.f),g)+(t.v!=null?u:"")}return t.l&&(t.l.display=Mt(s),e["!links"].push([n,t.l])),t.D&&(h.cm=1),De("c",u,h)}function pJ(t,n,e,i){var r=[],a=[],o=Oi(t["!ref"]),s="",l,c="",d=[],u=0,h=0,m=t["!rows"],g=t["!data"]!=null,_=g?t["!data"]:[],p={r:c},v,b=-1,y=(((i||{}).Workbook||{}).WBProps||{}).date1904;for(h=o.s.c;h<=o.e.c;++h)d[h]=pi(h);for(u=o.s.r;u<=o.e.r;++u){a=[],c=xi(u);var E=g?_[u]:[];for(h=o.s.c;h<=o.e.c;++h){l=d[h]+c;var F=g?E[h]:t[l];F!==void 0&&(s=fJ(F,l,t,n,e,i,y))!=null&&a.push(s)}(a.length>0||m&&m[u])&&(p={r:c},m&&m[u]&&(v=m[u],v.hidden&&(p.hidden=1),b=-1,v.hpx?b=C_(v.hpx):v.hpt&&(b=v.hpt),b>-1&&(p.ht=b,p.customHeight=1),v.level&&(p.outlineLevel=v.level)),r[r.length]=De("row",a.join(""),p))}if(m)for(;u<m.length;++u)m&&m[u]&&(p={r:u+1},v=m[u],v.hidden&&(p.hidden=1),b=-1,v.hpx?b=C_(v.hpx):v.hpt&&(b=v.hpt),b>-1&&(p.ht=b,p.customHeight=1),v.level&&(p.outlineLevel=v.level),r[r.length]=De("row","",p));return r.join("")}function gJ(t,n,e,i){var r=[un,De("worksheet",null,{xmlns:Ou[0],"xmlns:r":Pn.r})],a=e.SheetNames[t],o=0,s="",l=e.Sheets[a];l==null&&(l={});var c=l["!ref"]||"A1",d=Oi(c);if(d.e.c>16383||d.e.r>1048575){if(n.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");d.e.c=Math.min(d.e.c,16383),d.e.r=Math.min(d.e.c,1048575),c=dn(d)}i||(i={}),l["!comments"]=[];var u=[];oJ(l,e,t,n,r),r[r.length]=De("dimension",null,{ref:c}),r[r.length]=mJ(l,n,t,e),n.sheetFormat&&(r[r.length]=De("sheetFormatPr",null,{defaultRowHeight:n.sheetFormat.defaultRowHeight||"16",baseColWidth:n.sheetFormat.baseColWidth||"10",outlineLevelRow:n.sheetFormat.outlineLevelRow||"7"})),l["!cols"]!=null&&l["!cols"].length>0&&(r[r.length]=uJ(l,l["!cols"])),r[o=r.length]="<sheetData/>",l["!links"]=[],l["!ref"]!=null&&(s=pJ(l,n,t,e,i),s.length>0&&(r[r.length]=s)),r.length>o+1&&(r[r.length]="</sheetData>",r[o]=r[o].replace("/>",">")),l["!protect"]&&(r[r.length]=cJ(l["!protect"])),l["!autofilter"]!=null&&(r[r.length]=hJ(l["!autofilter"],l,e,t)),l["!merges"]!=null&&l["!merges"].length>0&&(r[r.length]=aJ(l["!merges"]));var h=-1,m,g=-1;return l["!links"].length>0&&(r[r.length]="<hyperlinks>",l["!links"].forEach(function(_){_[1].Target&&(m={ref:_[0]},_[1].Target.charAt(0)!="#"&&(g=ci(i,-1,Mt(_[1].Target).replace(/#[\s\S]*$/,""),Kt.HLINK),m["r:id"]="rId"+g),(h=_[1].Target.indexOf("#"))>-1&&(m.location=Mt(_[1].Target.slice(h+1))),_[1].Tooltip&&(m.tooltip=Mt(_[1].Tooltip)),m.display=_[1].display,r[r.length]=De("hyperlink",null,m))}),r[r.length]="</hyperlinks>"),delete l["!links"],l["!margins"]!=null&&(r[r.length]=dJ(l["!margins"])),(!n||n.ignoreEC||n.ignoreEC==null)&&(r[r.length]=Vn("ignoredErrors",De("ignoredError",null,{numberStoredAsText:1,sqref:c}))),u.length>0&&(g=ci(i,-1,"../drawings/drawing"+(t+1)+".xml",Kt.DRAW),r[r.length]=De("drawing",null,{"r:id":"rId"+g}),l["!drawing"]=u),l["!comments"].length>0&&(g=ci(i,-1,"../drawings/vmlDrawing"+(t+1)+".vml",Kt.VML),r[r.length]=De("legacyDrawing",null,{"r:id":"rId"+g}),l["!legacy"]=g),r.length>1&&(r[r.length]="</worksheet>",r[1]=r[1].replace("/>",">")),r.join("")}function _J(t,n){var e={},i=t.l+n;e.r=t.read_shift(4),t.l+=4;var r=t.read_shift(2);t.l+=1;var a=t.read_shift(1);return t.l=i,a&7&&(e.level=a&7),a&16&&(e.hidden=!0),a&32&&(e.hpt=r/20),e}function vJ(t,n,e){var i=q(145),r=(e["!rows"]||[])[t]||{};i.write_shift(4,t),i.write_shift(4,0);var a=320;r.hpx?a=C_(r.hpx)*20:r.hpt&&(a=r.hpt*20),i.write_shift(2,a),i.write_shift(1,0);var o=0;r.level&&(o|=r.level),r.hidden&&(o|=16),(r.hpx||r.hpt)&&(o|=32),i.write_shift(1,o),i.write_shift(1,0);var s=0,l=i.l;i.l+=4;for(var c={r:t,c:0},d=e["!data"]!=null,u=0;u<16;++u)if(!(n.s.c>u+1<<10||n.e.c<u<<10)){for(var h=-1,m=-1,g=u<<10;g<u+1<<10;++g){c.c=g;var _=d?(e["!data"][c.r]||[])[c.c]:e[Yi(c)];_&&(h<0&&(h=g),m=g)}h<0||(++s,i.write_shift(4,h),i.write_shift(4,m))}var p=i.l;return i.l=l,i.write_shift(4,s),i.l=p,i.length>i.l?i.slice(0,i.l):i}function bJ(t,n,e,i){var r=vJ(i,e,n);(r.length>17||(n["!rows"]||[])[i])&&me(t,0,r)}var yJ=Oc,xJ=Vu;function wJ(){}function CJ(t,n){var e={},i=t[t.l];return++t.l,e.above=!(i&64),e.left=!(i&128),t.l+=18,e.name=_X(t,n-19),e}function SJ(t,n,e){e==null&&(e=q(84+4*t.length));var i=192;n&&(n.above&&(i&=-65),n.left&&(i&=-129)),e.write_shift(1,i);for(var r=1;r<3;++r)e.write_shift(1,0);return b_({auto:1},e),e.write_shift(-4,-1),e.write_shift(-4,-1),iO(t,e),e.slice(0,e.l)}function kJ(t){var n=Na(t);return[n]}function DJ(t,n,e){return e==null&&(e=q(8)),Rc(n,e)}function EJ(t){var n=Pc(t);return[n]}function TJ(t,n,e){return e==null&&(e=q(4)),Fc(n,e)}function IJ(t){var n=Na(t),e=t.read_shift(1);return[n,e,"b"]}function MJ(t,n,e){return e==null&&(e=q(9)),Rc(n,e),e.write_shift(1,t.v?1:0),e}function AJ(t){var n=Pc(t),e=t.read_shift(1);return[n,e,"b"]}function RJ(t,n,e){return e==null&&(e=q(5)),Fc(n,e),e.write_shift(1,t.v?1:0),e}function PJ(t){var n=Na(t),e=t.read_shift(1);return[n,e,"e"]}function Hw(t,n,e){return e==null&&(e=q(9)),Rc(n,e),e.write_shift(1,t.v),e}function FJ(t){var n=Pc(t),e=t.read_shift(1);return[n,e,"e"]}function $w(t,n,e){return e==null&&(e=q(8)),Fc(n,e),e.write_shift(1,t.v),e.write_shift(2,0),e.write_shift(1,0),e}function OJ(t){var n=Na(t),e=t.read_shift(4);return[n,e,"s"]}function NJ(t,n,e){return e==null&&(e=q(12)),Rc(n,e),e.write_shift(4,n.v),e}function LJ(t){var n=Pc(t),e=t.read_shift(4);return[n,e,"s"]}function BJ(t,n,e){return e==null&&(e=q(8)),Fc(n,e),e.write_shift(4,n.v),e}function VJ(t){var n=Na(t),e=Uu(t);return[n,e,"n"]}function UJ(t,n,e){return e==null&&(e=q(16)),Rc(n,e),Mc(t.v,e),e}function zJ(t){var n=Pc(t),e=Uu(t);return[n,e,"n"]}function jJ(t,n,e){return e==null&&(e=q(12)),Fc(n,e),Mc(t.v,e),e}function HJ(t){var n=Na(t),e=bC(t);return[n,e,"n"]}function $J(t,n,e){return e==null&&(e=q(12)),Rc(n,e),nO(t.v,e),e}function WJ(t){var n=Pc(t),e=bC(t);return[n,e,"n"]}function GJ(t,n,e){return e==null&&(e=q(8)),Fc(n,e),nO(t.v,e),e}function qJ(t){var n=Na(t),e=_C(t);return[n,e,"is"]}function YJ(t){var n=Na(t),e=or(t);return[n,e,"str"]}function XJ(t,n,e){var i=t.v==null?"":String(t.v);return e==null&&(e=q(12+4*t.v.length)),Rc(n,e),Cn(i,e),e.length>e.l?e.slice(0,e.l):e}function KJ(t){var n=Pc(t),e=or(t);return[n,e,"str"]}function QJ(t,n,e){var i=t.v==null?"":String(t.v);return e==null&&(e=q(8+4*i.length)),Fc(n,e),Cn(i,e),e.length>e.l?e.slice(0,e.l):e}function ZJ(t,n,e){var i=t.l+n,r=Na(t);r.r=e["!row"];var a=t.read_shift(1),o=[r,a,"b"];if(e.cellFormula){t.l+=2;var s=V_(t,i-t.l,e);o[3]=Fu(s,null,r,e.supbooks,e)}else t.l=i;return o}function JJ(t,n,e){var i=t.l+n,r=Na(t);r.r=e["!row"];var a=t.read_shift(1),o=[r,a,"e"];if(e.cellFormula){t.l+=2;var s=V_(t,i-t.l,e);o[3]=Fu(s,null,r,e.supbooks,e)}else t.l=i;return o}function eee(t,n,e){var i=t.l+n,r=Na(t);r.r=e["!row"];var a=Uu(t),o=[r,a,"n"];
8104if(e.cellFormula){t.l+=2;var s=V_(t,i-t.l,e);o[3]=Fu(s,null,r,e.supbooks,e)}else t.l=i;return o}function tee(t,n,e){var i=t.l+n,r=Na(t);r.r=e["!row"];var a=or(t),o=[r,a,"str"];if(e.cellFormula){t.l+=2;var s=V_(t,i-t.l,e);o[3]=Fu(s,null,r,e.supbooks,e)}else t.l=i;return o}var iee=Oc,nee=Vu;function ree(t,n){return n==null&&(n=q(4)),n.write_shift(4,t),n}function aee(t,n){var e=t.l+n,i=Oc(t,16),r=O_(t),a=or(t),o=or(t),s=or(t);t.l=e;var l={rfx:i,relId:r,loc:a,display:s};return o&&(l.Tooltip=o),l}function oee(t,n){var e=q(50+4*(t[1].Target.length+(t[1].Tooltip||"").length));Vu({s:zi(t[0]),e:zi(t[0])},e),vC("rId"+n,e);var i=t[1].Target.indexOf("#"),r=i==-1?"":t[1].Target.slice(i+1);return Cn(r||"",e),Cn(t[1].Tooltip||"",e),Cn("",e),e.slice(0,e.l)}function see(){}function lee(t,n,e){var i=t.l+n,r=rO(t,16),a=t.read_shift(1),o=[r];if(o[2]=a,e.cellFormula){var s=zZ(t,i-t.l,e);o[1]=s}else t.l=i;return o}function cee(t,n,e){var i=t.l+n,r=Oc(t,16),a=[r];if(e.cellFormula){var o=HZ(t,i-t.l,e);a[1]=o,t.l=i}else t.l=i;return a}function dee(t,n,e){e==null&&(e=q(18));var i=U_(t,n);e.write_shift(-4,t),e.write_shift(-4,t),e.write_shift(4,(i.width||10)*256),e.write_shift(4,0);var r=0;return n.hidden&&(r|=1),typeof i.width=="number"&&(r|=2),n.level&&(r|=n.level<<8),e.write_shift(2,r),e}var BO=["left","right","top","bottom","header","footer"];function uee(t){var n={};return BO.forEach(function(e){n[e]=Uu(t,8)}),n}function hee(t,n){return n==null&&(n=q(48)),LO(t),BO.forEach(function(e){Mc(t[e],n)}),n}function mee(t){var n=t.read_shift(2);return t.l+=28,{RTL:n&32}}function fee(t,n,e){e==null&&(e=q(30));var i=924;return(((n||{}).Views||[])[0]||{}).RTL&&(i|=32),e.write_shift(2,i),e.write_shift(4,0),e.write_shift(4,0),e.write_shift(4,0),e.write_shift(1,0),e.write_shift(1,0),e.write_shift(2,0),e.write_shift(2,100),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(4,0),e}function pee(t){var n=q(24);return n.write_shift(4,4),n.write_shift(4,1),Vu(t,n),n}function gee(t,n){return n==null&&(n=q(66)),n.write_shift(2,t.password?xO(t.password):0),n.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(e){e[1]?n.write_shift(4,t[e[0]]!=null&&!t[e[0]]?1:0):n.write_shift(4,t[e[0]]!=null&&t[e[0]]?0:1)}),n}function _ee(){}function vee(){}function bee(t,n,e,i,r,a,o,s){var l={r:e,c:i};if(n.c&&a["!comments"].push([Yi(l),n.c]),n.v===void 0)return!1;var c="";switch(n.t){case"b":c=n.v?"1":"0";break;case"d":n=sr(n),n.z=n.z||Fi[14],n.v=zn(Hr(n.v,s),s),n.t="n";break;case"n":case"e":c=""+n.v;break;default:c=n.v;break}switch(l.s=_l(r.cellXfs,n,r),n.l&&a["!links"].push([Yi(l),n.l]),n.t){case"s":case"str":return r.bookSST?(c=CC(r.Strings,n.v==null?"":String(n.v),r.revStrings),l.t="s",l.v=c,o?me(t,18,BJ(n,l)):me(t,7,NJ(n,l))):(l.t="str",o?me(t,17,QJ(n,l)):me(t,6,XJ(n,l))),!0;case"n":return n.v==(n.v|0)&&n.v>-1e3&&n.v<1e3?o?me(t,13,GJ(n,l)):me(t,2,$J(n,l)):isFinite(n.v)?o?me(t,16,jJ(n,l)):me(t,5,UJ(n,l)):(l.t="e",isNaN(n.v)?o?me(t,14,$w({t:"e",v:36},l)):me(t,3,Hw({t:"e",v:36},l)):o?me(t,14,$w({t:"e",v:7},l)):me(t,3,Hw({t:"e",v:7},l))),!0;case"b":return l.t="b",o?me(t,15,RJ(n,l)):me(t,4,MJ(n,l)),!0;case"e":return l.t="e",o?me(t,14,$w(n,l)):me(t,3,Hw(n,l)),!0}return o?me(t,12,TJ(n,l)):me(t,1,DJ(n,l)),!0}function yee(t,n,e,i,r){var a=Oi(n["!ref"]||"A1"),o="",s=[],l=(((r||{}).Workbook||{}).WBProps||{}).date1904;me(t,145);var c=n["!data"]!=null,d=c?n["!data"][a.s.r]:[],u=a.e.r;n["!rows"]&&(u=Math.max(a.e.r,n["!rows"].length-1));for(var h=a.s.r;h<=u;++h)if(o=xi(h),c&&(d=n["!data"][h]),bJ(t,n,a,h),!(c&&!d)){var m=!1;if(h<=a.e.r)for(var g=a.s.c;g<=a.e.c;++g){h===a.s.r&&(s[g]=pi(g));var _=c?d[g]:n[s[g]+o];if(!_){m=!1;continue}m=bee(t,_,h,g,i,n,m,l)}}me(t,146)}function xee(t,n){!n||!n["!merges"]||(me(t,177,ree(n["!merges"].length)),n["!merges"].forEach(function(e){me(t,176,nee(e))}),me(t,178))}function wee(t,n){!n||!n["!cols"]||(me(t,390),n["!cols"].forEach(function(e,i){e&&me(t,60,dee(i,e))}),me(t,391))}function Cee(t,n){!n||!n["!ref"]||(me(t,648),me(t,649,pee(Oi(n["!ref"]))),me(t,650))}function See(t,n,e){n["!links"].forEach(function(i){if(i[1].Target){var r=ci(e,-1,i[1].Target.replace(/#[\s\S]*$/,""),Kt.HLINK);me(t,494,oee(i,r))}}),delete n["!links"]}function kee(t,n,e,i){if(n["!comments"].length>0){var r=ci(i,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Kt.VML);me(t,551,vC("rId"+r)),n["!legacy"]=r}}function Dee(t,n,e,i){if(n["!autofilter"]){var r=n["!autofilter"],a=typeof r.ref=="string"?r.ref:dn(r.ref);e.Workbook||(e.Workbook={Sheets:[]}),e.Workbook.Names||(e.Workbook.Names=[]);var o=e.Workbook.Names,s=Un(a);s.s.r==s.e.r&&(s.e.r=Un(n["!ref"]).e.r,a=dn(s));for(var l=0;l<o.length;++l){var c=o[l];if(c.Name=="_xlnm._FilterDatabase"&&c.Sheet==i){c.Ref=uf(e.SheetNames[i])+"!"+df
8104(a);break}}l==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:i,Ref:uf(e.SheetNames[i])+"!"+df(a)}),me(t,161,Vu(Oi(a))),me(t,162)}}function Eee(t,n,e){me(t,133),me(t,137,fee(n,e)),me(t,138),me(t,134)}function Tee(t,n){n["!protect"]&&me(t,535,gee(n["!protect"]))}function Iee(t,n,e,i){var r=ar(),a=e.SheetNames[t],o=e.Sheets[a]||{},s=a;try{e&&e.Workbook&&(s=e.Workbook.Sheets[t].CodeName||s)}catch(c){}var l=Oi(o["!ref"]||"A1");if(l.e.c>16383||l.e.r>1048575){if(n.WTF)throw new Error("Range "+(o["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575)}return o["!links"]=[],o["!comments"]=[],me(r,129),(e.vbaraw||o["!outline"])&&me(r,147,SJ(s,o["!outline"])),me(r,148,xJ(l)),Eee(r,o,e.Workbook),wee(r,o,t,n,e),yee(r,o,t,n,e),Tee(r,o),Dee(r,o,e,t),xee(r,o),See(r,o,i),o["!margins"]&&me(r,476,hee(o["!margins"])),(!n||n.ignoreEC||n.ignoreEC==null)&&Cee(r,o),kee(r,o,t,i),me(r,130),r.end()}function Mee(t,n){t.l+=10;var e=or(t,n-10);return{name:e}}var Aee=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]];function Ree(t){return!t.Workbook||!t.Workbook.WBProps?"false":qY(t.Workbook.WBProps.date1904)?"true":"false"}var Pee=":][*?/\\".split("");function VO(t,n){try{if(t=="")throw new Error("Sheet name cannot be blank");if(t.length>31)throw new Error("Sheet name cannot exceed 31 chars");if(t.charCodeAt(0)==39||t.charCodeAt(t.length-1)==39)throw new Error("Sheet name cannot start or end with apostrophe (')");if(t.toLowerCase()=="history")throw new Error("Sheet name cannot be 'History'");Pee.forEach(function(e){if(t.indexOf(e)!=-1)throw new Error("Sheet name cannot contain : \\ / ? * [ ]")})}catch(e){if(n)return!1;throw e}return!0}function Fee(t,n,e){t.forEach(function(i,r){VO(i);for(var a=0;a<r;++a)if(i==t[a])throw new Error("Duplicate Sheet Name: "+i);if(e){var o=n&&n[r]&&n[r].CodeName||i;
vendor: 43,397 bytes, lines 8104-8108
8104if(o.charCodeAt(0)==95&&o.length>22)throw new Error("Bad Code Name: Worksheet"+o)}})}function Oee(t){if(!t||!t.SheetNames||!t.Sheets)throw new Error("Invalid Workbook");if(!t.SheetNames.length)throw new Error("Workbook is empty");var n=t.Workbook&&t.Workbook.Sheets||[];Fee(t.SheetNames,n,!!t.vbaraw);for(var e=0;e<t.SheetNames.length;++e)rJ(t.Sheets[t.SheetNames[e]],t.SheetNames[e],e);t.SheetNames.forEach(function(i,r){var a=t.Sheets[i];if(!(!a||!a["!autofilter"])){var o;t.Workbook||(t.Workbook={}),t.Workbook.Names||(t.Workbook.Names=[]),t.Workbook.Names.forEach(function(l){l.Name=="_xlnm._FilterDatabase"&&l.Sheet==r&&(o=l)});var s=uf(i)+"!"+df(a["!autofilter"].ref);o?o.Ref=s:t.Workbook.Names.push({Name:"_xlnm._FilterDatabase",Sheet:r,Ref:s})}})}function Nee(t){var n=[un];n[n.length]=De("workbook",null,{xmlns:Ou[0],"xmlns:r":Pn.r});var e=t.Workbook&&(t.Workbook.Names||[]).length>0,i={codeName:"ThisWorkbook"};t.Workbook&&t.Workbook.WBProps&&(Aee.forEach(function(s){t.Workbook.WBProps[s[0]]!=null&&t.Workbook.WBProps[s[0]]!=s[1]&&(i[s[0]]=t.Workbook.WBProps[s[0]])}),t.Workbook.WBProps.CodeName&&(i.codeName=t.Workbook.WBProps.CodeName,delete i.CodeName)),n[n.length]=De("workbookPr",null,i);var r=t.Workbook&&t.Workbook.Sheets||[],a=0;if(r&&r[0]&&r[0].Hidden){for(n[n.length]="<bookViews>",a=0;a!=t.SheetNames.length&&!(!r[a]||!r[a].Hidden);++a);a==t.SheetNames.length&&(a=0),n[n.length]='<workbookView firstSheet="'+a+'" activeTab="'+a+'"/>',n[n.length]="</bookViews>"}for(n[n.length]="<sheets>",a=0;a!=t.SheetNames.length;++a){var o={name:Mt(t.SheetNames[a].slice(0,31))};if(o.sheetId=""+(a+1),o["r:id"]="rId"+(a+1),r[a])switch(r[a].Hidden){case 1:o.state="hidden";break;case 2:o.state="veryHidden";break}n[n.length]=De("sheet",null,o)}return n[n.length]="</sheets>",e&&(n[n.length]="<definedNames>",t.Workbook&&t.Workbook.Names&&t.Workbook.Names.forEach(function(s){var l={name:s.Name};s.Comment&&(l.comment=s.Comment),s.Sheet!=null&&(l.localSheetId=""+s.Sheet),s.Hidden&&(l.hidden="1"),s.Ref&&(n[n.length]=De("definedName",Mt(s.Ref),l))}),n[n.length]="</definedNames>"),n.length>2&&(n[n.length]="</workbook>",n[1]=n[1].replace("/>",">")),n.join("")}function Lee(t,n){var e={};return e.Hidden=t.read_shift(4),e.iTabID=t.read_shift(4),e.strRelID=Qw(t,n-8),e.name=or(t),e}function Bee(t,n){return n||(n=q(127)),n.write_shift(4,t.Hidden),n.write_shift(4,t.iTabID),vC(t.strRelID,n),Cn(t.name.slice(0,31),n),n.length>n.l?n.slice(0,n.l):n}function Vee(t,n){var e={},i=t.read_shift(4);e.defaultThemeVersion=t.read_shift(4);var r=n>8?or(t):"";return r.length>0&&(e.CodeName=r),e.autoCompressPictures=!!(i&65536),e.backupFile=!!(i&64),e.checkCompatibility=!!(i&4096),e.date1904=!!(i&1),e.filterPrivacy=!!(i&8),e.hidePivotFieldList=!!(i&1024),e.promptedSolutions=!!(i&16),e.publishItems=!!(i&2048),e.refreshAllConnections=!!(i&262144),e.saveExternalLinkValues=!!(i&128),e.showBorderUnselectedTables=!!(i&4),e.showInkAnnotation=!!(i&32),e.showObjects=["all","placeholders","none"][i>>13&3],e.showPivotChartFilter=!!(i&32768),e.updateLinks=["userSet","never","always"][i>>8&3],e}function Uee(t,n){n||(n=q(72));var e=0;return t&&(t.date1904&&(e|=1),t.filterPrivacy&&(e|=8)),n.write_shift(4,e),n.write_shift(4,0),iO(t&&t.CodeName||"ThisWorkbook",n),n.slice(0,n.l)}function zee(t,n,e){var i=t.l+n,r=t.read_shift(4);t.l+=1;var a=t.read_shift(4),o=vX(t),s,l="";try{s=jZ(t,0,e);try{l=O_(t)}catch(d){}}catch(d){console.error("Could not parse defined name "+o)}r&32&&(o="_xlnm."+o),t.l=i;var c={Name:o,Ptg:s,Flags:r};return a<268435455&&(c.Sheet=a),l&&(c.Comment=l),c}function jee(t,n){var e=q(9),i=0,r=t.Name;MX.indexOf(r)>-1&&(i|=32,r=r.slice(6)),e.write_shift(4,i),e.write_shift(1,0),e.write_shift(4,t.Sheet==null?4294967295:t.Sheet);var a=[e,Cn(r),eJ(t.Ref,n)];if(t.Comment)a.push(hf(t.Comment));else{var o=q(4);o.write_shift(4,4294967295),a.push(o)}return ln(a)}function Hee(t,n){me(t,143);for(var e=0;e!=n.SheetNames.length;++e){var i=n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[e]&&n.Workbook.Sheets[e].Hidden||0,r={Hidden:i,iTabID:e+1,strRelID:"rId"+(e+1),name:n.SheetNames[e]};me(t,156,Bee(r))}me(t,144)}function $ee(t,n){n||(n=q(127));for(var e=0;e!=4;++e)n.write_shift(4,0);return Cn("SheetJS",n),Cn(of.version,n),Cn(of.version,n),Cn("7262",n),n.length>n.l?n.slice(0,n.l):n}function Wee(t,n){n||(n=q(29)),n.write_shift(-4,0),n.write_shift(-4,460),n.write_shift(4,28800),n.write_shift(4,17600),n.write_shift(4,500),n.write_shift(4,t),n.write_shift(4,t);var e=120;return n.write_shift(1,e),n.length>n.l?n.slice(0,n.l):n}function Gee(t,n){if(!(!n.Workbook||!n.Workbook.Sheets)){for(var e=n.Workbook.Sheets,i=0,r=-1,a=-1;i<e.length;++i)!e[i]||!e[i].Hidden&&r==-1?r=i:e[i].Hidden==1&&a==-1&&(a=i);a>r||(me(t,135),me(t,158,Wee(r)),me(t,136))}}function qee(t,n){!n.Workbook||!n.Workbook.Names||n.Workbook.Names.forEach(function(e){try{if(e.Flags&14)return;me(t,39,jee(e,n))}catch(i){console.error("Could not serialize defined name "+JSON.stringify(e))}})}function Yee(t){var n=t.SheetNames.length,e=q(12*n+28);e.write_shift(4,n+2),e.write_shift(4,0),e.write_shift(4,-2),e.write_shift(4,-2),e.write_shift(4,0),e.write_shift(4,-1),e.write_shift(4,-1);for(var i=0;i<n;++i)e.write_shift(4,0),e.write_shift(4,i),e.write_shift(4,i);return e}function Xee(t,n){me(t,353),me(t,357),me(t,362,Yee(n,0)),me(t,354)}function Kee(t,n){var e=ar();return me(e,131),me(e,128,$ee()),me(e,153,Uee(t.Workbook&&t.Workbook.WBProps||null)),Gee(e,t,n),Hee(e,t,n),Xee(e,t),(t.Workbook||{}).Names&&qee(e,t),me(e,132),e.end()}function Qee(t,n){var e=[];return t.Props&&e.push(OX(t.Props,n)),t.Custprops&&e.push(NX(t.Props,t.Custprops,n)),e.join("")}function Zee(t){return(((t||{}).Workbook||{}).WBProps||{}).date1904?'<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel"><Date1904/></ExcelWorkbook>':""}function Jee(t,n){var e=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return n.cellXfs.forEach(function(i,r){var a=[];a.push(De("NumberFormat",null,{"ss:Format":Mt(Fi[i.numFmtId])}));var o={"ss:ID":"s"+(21+r)};e.push(De("Style",a.join(""),o))}),De("Styles",e.join(""))}function UO(t){return De("NamedRange",null,{"ss:Name":t.Name.slice(0,6)=="_xlnm."?t.Name.slice(6):t.Name,"ss:RefersTo":"="+L_(t.Ref,{r:0,c:0})})}function ete(t){if(!((t||{}).Workbook||{}).Names)return"";for(var n=t.Workbook.Names,e=[],i=0;i<n.length;++i){var r=n[i];r.Sheet==null&&(r.Name.match(/^_xlfn\./)||e.push(UO(r)))}return De("Names",e.join(""))}function tte(t,n,e,i){if(!t||!((i||{}).Workbook||{}).Names)return"";for(var r=i.Workbook.Names,a=[],o=0;o<r.length;++o){var s=r[o];s.Sheet==e&&(s.Name.match(/^_xlfn\./)||a.push(UO(s)))}return a.join("")}function ite(t,n,e,i){if(!t)return"";var r=[];if(t["!margins"]&&(r.push("<PageSetup>"),t["!margins"].header&&r.push(De("Header",null,{"x:Margin":t["!margins"].header})),t["!margins"].footer&&r.push(De("Footer",null,{"x:Margin":t["!margins"].footer})),r.push(De("PageMargins",null,{"x:Bottom":t["!margins"].bottom||"0.75","x:Left":t["!margins"].left||"0.7","x:Right":t["!margins"].right||"0.7","x:Top":t["!margins"].top||"0.75"})),r.push("</PageSetup>")),i&&i.Workbook&&i.Workbook.Sheets&&i.Workbook.Sheets[e])if(i.Workbook.Sheets[e].Hidden)r.push(De("Visible",i.Workbook.Sheets[e].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var a=0;a<e&&!(i.Workbook.Sheets[a]&&!i.Workbook.Sheets[a].Hidden);++a);a==e&&r.push("<Selected/>")}return((((i||{}).Workbook||{}).Views||[])[0]||{}).RTL&&r.push("<DisplayRightToLeft/>"),t["!protect"]&&(r.push(Vn("ProtectContents","True")),t["!protect"].objects&&r.push(Vn("ProtectObjects","True")),t["!protect"].scenarios&&r.push(Vn("ProtectScenarios","True")),t["!protect"].selectLockedCells!=null&&!t["!protect"].selectLockedCells?r.push(Vn("EnableSelection","NoSelection")):t["!protect"].selectUnlockedCells!=null&&!t["!protect"].selectUnlockedCells&&r.push(Vn("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(o){t["!protect"][o[0]]&&r.push("<"+o[1]+"/>")})),r.length==0?"":De("WorksheetOptions",r.join(""),{xmlns:ma.x})}function nte(t){return t.map(function(n){var e=GY(n.t||""),i=De("ss:Data",e,{xmlns:"http://www.w3.org/TR/REC-html40"}),r={};return n.a&&(r["ss:Author"]=n.a),t.hidden||(r["ss:ShowAlways"]="1"),De("Comment",i,r)}).join("")}function rte(t,n,e,i,r,a,o){if(!t||t.v==null&&t.f==null)return"";var s={};if(t.f&&(s["ss:Formula"]="="+Mt(L_(t.f,o))),t.F&&t.F.slice(0,n.length)==n){var l=zi(t.F.slice(n.length+1));s["ss:ArrayRange"]="RC:R"+(l.r==o.r?"":"["+(l.r-o.r)+"]")+"C"+(l.c==o.c?"":"["+(l.c-o.c)+"]")}if(t.l&&t.l.Target&&(s["ss:HRef"]=Mt(t.l.Target),t.l.Tooltip&&(s["x:HRefScreenTip"]=Mt(t.l.Tooltip))),e["!merges"])for(var c=e["!merges"],d=0;d!=c.length;++d)c[d].s.c!=o.c||c[d].s.r!=o.r||(c[d].e.c>c[d].s.c&&(s["ss:MergeAcross"]=c[d].e.c-c[d].s.c),c[d].e.r>c[d].s.r&&(s["ss:MergeDown"]=c[d].e.r-c[d].s.r));var u="",h="";switch(t.t){case"z":if(!i.sheetStubs)return"";break;case"n":isFinite(t.v)?(u="Number",h=String(t.v)):(u="Error",h=kr[isNaN(t.v)?36:7]);break;case"b":u="Boolean",h=t.v?"1":"0";break;case"e":u="Error",h=kr[t.v];break;case"d":u="DateTime",h=new Date(t.v).toISOString(),t.z==null&&(t.z=t.z||Fi[14]);break;case"s":u="String",h=WY(t.v||"");break}var m=_l(i.cellXfs,t,i);s["ss:StyleID"]="s"+(21+m),s["ss:Index"]=o.c+1;var g=t.v!=null?h:"",_=t.t=="z"?"":'<Data ss:Type="'+u+'">'+g+"</Data>";return(t.c||[]).length>0&&(_+=nte(t.c)),De("Cell",_,s)}function ate(t,n){var e='<Row ss:Index="'+(t+1)+'"';return n&&(n.hpt&&!n.hpx&&(n.hpx=CO(n.hpt)),n.hpx&&(e+=' ss:AutoFitHeight="0" ss:Height="'+n.hpx+'"'),n.hidden&&(e+=' ss:Hidden="1"')),e+">"}function ote(t,n,e,i){if(!t["!ref"])return"";var r=Oi(t["!ref"]),a=t["!merges"]||[],o=0,s=[];t["!cols"]&&t["!cols"].forEach(function(p,v){xC(p);var b=!!p.width,y=U_(v,p),E={"ss:Index":v+1};b&&(E["ss:Width"]=x_(y.width)),p.hidden&&(E["ss:Hidden"]="1"),s.push(De("Column",null,E))});for(var l=t["!data"]!=null,c={r:0,c:0},d=r.s.r;d<=r.e.r;++d){var u=[ate(d,(t["!rows"]||[])[d])];c.r=d;for(var h=r.s.c;h<=r.e.c;++h){c.c=h;var m=!1;for(o=0;o!=a.length;++o)if(!(a[o].s.c>h)&&!(a[o].s.r>d)&&!(a[o].e.c<h)&&!(a[o].e.r<d)){(a[o].s.c!=h||a[o].s.r!=d)&&(m=!0);break}if(!m){var g=pi(h)+xi(d),_=l?(t["!data"][d]||[])[h]:t[g];u.push(rte(_,g,t,n,e,i,c))}}u.push("</Row>"),u.length>2&&s.push(u.join(""))}return s.join("")}function ste(t,n,e){var i=[],r=e.SheetNames[t],a=e.Sheets[r],o=a?tte(a,n,t,e):"";return o.length>0&&i.push("<Names>"+o+"</Names>"),o=a?ote(a,n,t,e):"",o.length>0&&i.push("<Table>"+o+"</Table>"),i.push(ite(a,n,t,e)),a&&a["!autofilter"]&&i.push('<AutoFilter x:Range="'+L_(df(a["!autofilter"].ref),{r:0,c:0})+'" xmlns="urn:schemas-microsoft-com:office:excel"></AutoFilter>'),i.join("")}function lte(t,n){n||(n={}),t.SSF||(t.SSF=sr(Fi)),t.SSF&&(A_(),M_(t.SSF),n.revssf=R_(t.SSF),n.revssf[t.SSF[65535]]=0,n.ssf=t.SSF,n.cellXfs=[],_l(n.cellXfs,{},{revssf:{General:0}}));var e=[];e.push(Qee(t,n)),e.push(Zee(t,n)),e.push(""),e.push(ete(t,n));for(var i=0;i<t.SheetNames.length;++i)e.push(De("Worksheet",ste(i,n,t),{"ss:Name":Mt(t.SheetNames[i])}));return e[2]=Jee(t,n),un+De("Workbook",e.join(""),{xmlns:ma.ss,"xmlns:o":ma.o,"xmlns:x":ma.x,"xmlns:ss":ma.ss,"xmlns:dt":ma.dt,"xmlns:html":ma.html})}var Ww={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function cte(t,n){var e=[],i=[],r=[],a=0,o,s=QP(lF,"n"),l=QP(cF,"n");if(t.Props)for(o=cn(t.Props),a=0;a<o.length;++a)(Object.prototype.hasOwnProperty.call(s,o[a])?e:Object.prototype.hasOwnProperty.call(l,o[a])?i:r).push([o[a],t.Props[o[a]]]);if(t.Custprops)for(o=cn(t.Custprops),a=0;a<o.length;++a)Object.prototype.hasOwnProperty.call(t.Props||{},o[a])||(Object.prototype.hasOwnProperty.call(s,o[a])?e:Object.prototype.hasOwnProperty.call(l,o[a])?i:r).push([o[a],t.Custprops[o[a]]]);var c=[];for(a=0;a<r.length;++a)fO.indexOf(r[a][0])>-1||uO.indexOf(r[a][0])>-1||r[a][1]!=null&&c.push(r[a]);i.length&&ki.utils.cfb_add(n,"/�SummaryInformation",fF(i,Ww.SI,l,cF)),(e.length||c.length)&&ki.utils.cfb_add(n,"/�DocumentSummaryInformation",fF(e,Ww.DSI,s,lF,c.length?c:null,Ww.UDI))}function dte(t,n){var e=n||{},i=ki.utils.cfb_new({root:"R"}),r="/Workbook";switch(e.bookType||"xls"){case"xls":e.bookType="biff8";case"xla":e.bookType||(e.bookType="xla");case"biff8":r="/Workbook",e.biff=8;break;case"biff5":r="/Book",e.biff=5;break;default:throw new Error("invalid type "+e.bookType+" for XLS CFB")}return ki.utils.cfb_add(i,r,jO(t,e)),e.biff==8&&(t.Props||t.Custprops)&&cte(t,i),e.biff==8&&t.vbaraw&&yQ(i,ki.read(t.vbaraw,{type:typeof t.vbaraw=="string"?"binary":"buffer"})),i}var ute={0:{f:_J},1:{f:kJ},2:{f:HJ},3:{f:PJ},4:{f:IJ},5:{f:VJ},6:{f:YJ},7:{f:OJ},8:{f:tee},9:{f:eee},10:{f:ZJ},11:{f:JJ},12:{f:EJ},13:{f:WJ},14:{f:FJ},15:{f:AJ},16:{f:zJ},17:{f:KJ},18:{f:LJ},19:{f:_C},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:zee},40:{},42:{},43:{f:VK},44:{f:LK},45:{f:jK},46:{f:$K},47:{f:HK},48:{},49:{f:uX},50:{},51:{f:oQ},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:pK},62:{f:qJ},63:{f:mQ},64:{f:_ee},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:No,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:mee},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:CJ},148:{f:yJ,p:16},151:{f:see},152:{},153:{f:Vee},154:{},155:{},156:{f:Lee},157:{},158:{},159:{T:1,f:DK},160:{T:-1},161:{T:1,f:Oc},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:iee},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:rQ},336:{T:-1},337:{f:cQ,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Qw},357:{},358:{},359:{},360:{T:1},361:{},362:{f:dK},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:lee},427:{f:cee},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:uee},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:wJ},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:aee},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Qw},551:{f:O_},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:vQ},633:{T:1},634:{T:-1},635:{T:1,f:gQ},636:{T:-1},637:{f:pX},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:Mee},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:vee},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function be(t,n,e,i){var r=n;if(!isNaN(r)){var a=i||(e||[]).length||0,o=t.next(4);o.write_shift(2,r),o.write_shift(2,a),a>0&&fC(e)&&t.push(e)}}function hte(t,n,e,i){var r=i||(e||[]).length||0;if(r<=8224)return be(t,n,e,r);var a=n;if(!isNaN(a)){for(var o=e.parts||[],s=0,l=0,c=0;c+(o[s]||8224)<=8224;)c+=o[s]||8224,s++;var d=t.next(4);for(d.write_shift(2,a),d.write_shift(2,c),t.push(e.slice(l,l+c)),l+=c;l<r;){for(d=t.next(4),d.write_shift(2,60),c=0;c+(o[s]||8224)<=8224;)c+=o[s]||8224,s++;d.write_shift(2,c),t.push(e.slice(l,l+c)),l+=c}}}function Gw(t,n,e,i){var r=q(9);return gf(r,t,n),pO(e,i||"b",r),r}function mte(t,n,e){var i=q(8+2*e.length);return gf(i,t,n),i.write_shift(1,e.length),i.write_shift(e.length,e,"sbcs"),i.l<i.length?i.slice(0,i.l):i}function zO(t,n){n.forEach(function(e){var i=e[0].map(function(a){return a.t}).join("");if(i.length<=2048)return be(t,28,zw(i,e[1],e[2]));be(t,28,zw(i.slice(0,2048),e[1],e[2],i.length));for(var r=2048;r<i.length;r+=2048)be(t,28,zw(i.slice(r,Math.min(r+2048,i.length)),-1,-1,Math.min(2048,i.length-r)))})}function fte(t,n,e,i,r,a){var o=0;n.z!=null&&(o=r._BIFF2FmtTable.indexOf(n.z),o==-1&&(r._BIFF2FmtTable.push(n.z),o=r._BIFF2FmtTable.length-1));var s=0;if(n.z!=null){for(;s<r.cellXfs.length&&r.cellXfs[s].numFmtId!=o;++s);s==r.cellXfs.length&&r.cellXfs.push({numFmtId:o})}if(n.v!=null)switch(n.t){case"d":case"n":var l=n.t=="d"?zn(Hr(n.v,a),a):n.v;r.biff==2&&l==(l|0)&&l>=0&&l<65536?be(t,2,bK(e,i,l,s,o)):isNaN(l)?be(t,5,Gw(e,i,36,"e")):isFinite(l)?be(t,3,vK(e,i,l,s,o)):be(t,5,Gw(e,i,7,"e"));return;case"b":case"e":be(t,5,Gw(e,i,n.v,n.t));return;case"s":case"str":be(t,4,mte(e,i,n.v==null?"":String(n.v).slice(0,255)));return}be(t,1,gf(null,e,i))}function pte(t,n,e,i,r){var a=n["!data"]!=null,o=Oi(n["!ref"]||"A1"),s="",l=[];if(o.e.c>255||o.e.r>16383){if(i.WTF)throw new Error("Range "+(n["!ref"]||"A1")+" exceeds format limit A1:IV16384");o.e.c=Math.min(o.e.c,255),o.e.r=Math.min(o.e.r,16383)}for(var c=(((r||{}).Workbook||{}).WBProps||{}).date1904,d=[],u=[],h=o.s.c;h<=o.e.c;++h)l[h]=pi(h);for(var m=o.s.r;m<=o.e.r;++m)for(a&&(d=n["!data"][m]||[]),s=xi(m),h=o.s.c;h<=o.e.c;++h){var g=a?d[h]:n[l[h]+s];g&&(fte(t,g,m,h,i,c),g.c&&u.push([g.c,m,h]))}zO(t,u)}function gte(t,n){for(var e=n||{},i=ar(),r=0,a=0;a<t.SheetNames.length;++a)t.SheetNames[a]==e.sheet&&(r=a);if(r==0&&e.sheet&&t.SheetNames[0]!=e.sheet)throw new Error("Sheet not found: "+e.sheet);be(i,e.biff==4?1033:e.biff==3?521:9,yC(t,16,e)),((t.Workbook||{}).WBProps||{}).date1904&&be(i,34,nr(!0)),e.cellXfs=[{numFmtId:0}],e._BIFF2FmtTable=["General"],e._Fonts=[];var o=ar();return pte(o,t.Sheets[t.SheetNames[r]],r,e,t),e._BIFF2FmtTable.forEach(function(s){e.biff<=3?be(i,30,nK(s)):be(i,1054,rK(s))}),e.cellXfs.forEach(function(s){switch(e.biff){case 2:be(i,67,oK(s));break;case 3:be(i,579,bO(s));break;case 4:be(i,1091,sK(s));break}}),delete e._BIFF2FmtTable,delete e.cellXfs,delete e._Fonts,i.push(o.end()),be(i,10),i.end()}var so=1,Fa=[];function _te(){var t=q(82+8*Fa.length);t.write_shift(2,15),t.write_shift(2,61440),t.write_shift(4,74+8*Fa.length);{t.write_shift(2,0),t.write_shift(2,61446),t.write_shift(4,16+8*Fa.length);{t.write_shift(4,so),t.write_shift(4,Fa.length+1);for(var n=0,e=0;e<Fa.length;++e)n+=Fa[e]&&Fa[e][1]||0;t.write_shift(4,n),t.write_shift(4,Fa.length)}Fa.forEach(function(i){t.write_shift(4,i[0]),t.write_shift(4,i[2])})}return t.write_shift(2,51),t.write_shift(2,61451),t.write_shift(4,18),t.write_shift(2,191),t.write_shift(4,524296),t.write_shift(2,385),t.write_shift(4,134217793),t.write_shift(2,448),t.write_shift(4,134217792),t.write_shift(2,64),t.write_shift(2,61726),t.write_shift(4,16),t.write_shift(4,134217741),t.write_shift(4,134217740),t.write_shift(4,134217751),t.write_shift(4,268435703),t}function vte(t,n){var e=[],i=0,r=ar(),a=so,o;n.forEach(function(l,c){var d="",u=l[0].map(function(y){return y.a&&!d&&(d=y.a),y.t}).join("");++so;{var h=q(150);h.write_shift(2,15),h.write_shift(2,61444),h.write_shift(4,150),h.write_shift(2,3234),h.write_shift(2,61450),h.write_shift(4,8),h.write_shift(4,so),h.write_shift(4,2560),h.write_shift(2,227),h.write_shift(2,61451),h.write_shift(4,84),h.write_shift(2,128),h.write_shift(4,0),h.write_shift(2,139),h.write_shift(4,2),h.write_shift(2,191),h.write_shift(4,524296),h.write_shift(2,344),h.l+=4,h.write_shift(2,385),h.write_shift(4,134217808),h.write_shift(2,387),h.write_shift(4,134217808),h.write_shift(2,389),h.write_shift(4,268435700),h.write_shift(2,447),h.write_shift(4,1048592),h.write_shift(2,448),h.write_shift(4,134217809),h.write_shift(2,451),h.write_shift(4,268435700),h.write_shift(2,513),h.write_shift(4,134217809),h.write_shift(2,515),h.write_shift(4,268435700),h.write_shift(2,575),h.write_shift(4,196609),h.write_shift(2,959),h.write_shift(4,131072|(l[0].hidden?2:0)),h.l+=2,h.write_shift(2,61456),h.write_shift(4,18),h.write_shift(2,3),h.write_shift(2,l[2]+2),h.l+=2,h.write_shift(2,l[1]+1),h.l+=2,h.write_shift(2,l[2]+4),h.l+=2,h.write_shift(2,l[1]+5),h.l+=2,h.l+=2,h.write_shift(2,61457),h.l+=4,h.l=150,c==0?o=h:be(r,236,h)}i+=150;{var m=q(52);m.write_shift(2,21),m.write_shift(2,18),m.write_shift(2,25),m.write_shift(2,so),m.write_shift(2,0),m.l=22,m.write_shift(2,13),m.write_shift(2,22),m.write_shift(4,1651663474),m.write_shift(4,2503426821),m.write_shift(4,2150634280),m.write_shift(4,1768515844+so*256),m.write_shift(2,0),m.write_shift(4,0),m.l+=4,be(r,93,m)}{var g=q(8);g.l+=2,g.write_shift(2,61453),g.l+=4,be(r,236,g)}i+=8;{var _=q(18);_.write_shift(2,18),_.l+=8,_.write_shift(2,u.length),_.write_shift(2,16),_.l+=4,be(r,438,_);{var p=q(1+u.length);p.write_shift(1,0),p.write_shift(u.length,u,"sbcs"),be(r,60,p)}{var v=q(16);v.l+=8,v.write_shift(2,u.length),v.l+=6,be(r,60,v)}}{var b=q(12+d.length);b.write_shift(2,l[1]),b.write_shift(2,l[2]),b.write_shift(2,0|(l[0].hidden?0:2)),b.write_shift(2,so),b.write_shift(2,d.length),b.write_shift(1,0),b.write_shift(d.length,d,"sbcs"),b.l++,e.push(b)}});{var s=q(80);s.write_shift(2,15),s.write_shift(2,61442),s.write_shift(4,i+s.length-8),s.write_shift(2,16),s.write_shift(2,61448),s.write_shift(4,8),s.write_shift(4,n.length+1),s.write_shift(4,so),s.write_shift(2,15),s.write_shift(2,61443),s.write_shift(4,i+48),s.write_shift(2,15),s.write_shift(2,61444),s.write_shift(4,40),s.write_shift(2,1),s.write_shift(2,61449),s.write_shift(4,16),s.l+=16,s.write_shift(2,2),s.write_shift(2,61450),s.write_shift(4,8),s.write_shift(4,a),s.write_shift(4,5),be(t,236,o?ln([s,o]):s)}t.push(r.end()),e.forEach(function(l){be(t,28,l)}),Fa.push([a,n.length+1,so]),++so}function bte(t,n,e){be(t,49,JX({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},e))}function yte(t,n,e){n&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(i){for(var r=i[0];r<=i[1];++r)n[r]!=null&&be(t,1054,iK(r,n[r],e))})}function xte(t,n){var e=q(19);e.write_shift(4,2151),e.write_shift(4,0),e.write_shift(4,0),e.write_shift(2,3),e.write_shift(1,1),e.write_shift(4,0),be(t,2151,e),e=q(39),e.write_shift(4,2152),e.write_shift(4,0),e.write_shift(4,0),e.write_shift(2,3),e.write_shift(1,0),e.write_shift(4,0),e.write_shift(2,1),e.write_shift(4,4),e.write_shift(2,0),vO(Oi(n["!ref"]||"A1"),e),e.write_shift(4,4),be(t,2152,e)}function wte(t,n){for(var e=0;e<16;++e)be(t,224,gF({numFmtId:0,style:!0},0,n));n.cellXfs.forEach(function(i){be(t,224,gF(i,0,n))})}function Cte(t,n){for(var e=0;e<n["!links"].length;++e){var i=n["!links"][e];be(t,440,hK(i)),i[1].Tooltip&&be(t,2048,mK(i))}delete n["!links"]}function Ste(t,n){if(n){var e=0;n.forEach(function(i,r){++e<=256&&i&&be(t,125,gK(U_(r,i),r))})}}function kte(t,n,e,i,r,a){var o=16+_l(r.cellXfs,n,r);if(n.v==null&&!n.bf){be(t,513,Ac(e,i,o));return}if(n.bf)be(t,6,UZ(n,e,i,r,o));else switch(n.t){case"d":case"n":var s=n.t=="d"?zn(Hr(n.v,a),a):n.v;isNaN(s)?be(t,517,Uw(e,i,36,o,r,"e")):isFinite(s)?be(t,515,cK(e,i,s,o,r)):be(t,517,Uw(e,i,7,o,r,"e"));break;case"b":case"e":be(t,517,Uw(e,i,n.v,o,r,n.t));break;case"s":case"str":if(r.bookSST){var l=CC(r.Strings,n.v==null?"":String(n.v),r.revStrings);be(t,253,eK(e,i,l,o,r))}else be(t,516,tK(e,i,(n.v==null?"":String(n.v)).slice(0,255),o,r));break;default:be(t,513,Ac(e,i,o))}}function Dte(t,n,e){var i=ar(),r=e.SheetNames[t],a=e.Sheets[r]||{},o=(e||{}).Workbook||{},s=(o.Sheets||[])[t]||{},l=a["!data"]!=null,c=n.biff==8,d,u="",h=[],m=Oi(a["!ref"]||"A1"),g=c?65536:16384;if(m.e.c>255||m.e.r>=g){if(n.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:IV"+g);m.e.c=Math.min(m.e.c,255),m.e.r=Math.min(m.e.r,g-1)}be(i,2057,yC(e,16,n)),be(i,13,Oa(1)),be(i,12,Oa(100)),be(i,15,nr(!0)),be(i,17,nr(!1)),be(i,16,Mc(.001)),be(i,95,nr(!0)),be(i,42,nr(!1)),be(i,43,nr(!1)),be(i,130,Oa(1)),be(i,128,lK([0,0])),be(i,131,nr(!1)),be(i,132,nr(!1)),c&&Ste(i,a["!cols"]),be(i,512,aK(m,n));var _=(((e||{}).Workbook||{}).WBProps||{}).date1904;c&&(a["!links"]=[]);for(var p=m.s.c;p<=m.e.c;++p)h[p]=pi(p);for(var v=[],b=[],y=m.s.r;y<=m.e.r;++y)for(l&&(b=a["!data"][y]||[]),u=xi(y),p=m.s.c;p<=m.e.c;++p){var E=l?b[p]:a[h[p]+u];E&&(kte(i,E,y,p,n,_),c&&E.l&&a["!links"].push([h[p]+u,E.l]),E.c&&v.push([E.c,y,p]))}var F=s.CodeName||s.name||r;return c?vte(i,v):zO(i,v),c&&be(i,574,ZX((o.Views||[])[0])),c&&(a["!merges"]||[]).length&&be(i,229,uK(a["!merges"])),c&&Cte(i,a),be(i,442,_O(F,n)),c&&xte(i,a),be(i,10),i.end()}function Ete(t,n,e){var i=ar(),r=(t||{}).Workbook||{},a=r.Sheets||[],o=r.WBProps||{},s=e.biff==8,l=e.biff==5;if(be(i,2057,yC(t,5,e)),e.bookType=="xla"&&be(i,135),be(i,225,s?Oa(1200):null),be(i,193,VX(2)),l&&be(i,191),l&&be(i,192),be(i,226),be(i,92,YX("SheetJS",e)),be(i,66,Oa(s?1200:1252)),s&&be(i,353,Oa(0)),s&&be(i,448),be(i,317,_K(t.SheetNames.length)),s&&t.vbaraw&&be(i,211),s&&t.vbaraw){var c=o.CodeName||"ThisWorkbook";be(i,442,_O(c,e))}be(i,156,Oa(17)),be(i,25,nr(!1)),be(i,18,nr(!1)),be(i,19,Oa(0)),s&&be(i,431,nr(!1)),s&&be(i,444,Oa(0)),be(i,61,QX(e)),be(i,64,nr(!1)),be(i,141,Oa(0)),be(i,34,nr(Ree(t)=="true")),be(i,14,nr(!0)),s&&be(i,439,nr(!1)),be(i,218,Oa(0)),bte(i,t,e),yte(i,t.SSF,e),wte(i,e),s&&be(i,352,nr(!1));var d=i.end(),u=ar();s&&be(u,140,fK()),s&&Fa.length&&be(u,235,_te()),s&&e.Strings&&hte(u,252,KX(e.Strings,e)),be(u,10);var h=u.end(),m=ar(),g=0,_=0;for(_=0;_<t.SheetNames.length;++_)g+=(s?12:11)+(s?2:1)*t.SheetNames[_].length;var p=d.length+g+h.length;for(_=0;_<t.SheetNames.length;++_){var v=a[_]||{};be(m,133,XX({pos:p,hs:v.Hidden||0,dt:0,name:t.SheetNames[_]},e)),p+=n[_].length}var b=m.end();if(g!=b.length)throw new Error("BS8 "+g+" != "+b.length);var y=[];return d.length&&y.push(d),b.length&&y.push(b),h.length&&y.push(h),ln(y)}function Tte(t,n){var e=n||{},i=[];t&&!t.SSF&&(t.SSF=sr(Fi)),t&&t.SSF&&(A_(),M_(t.SSF),e.revssf=R_(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF),so=1,Fa=[],e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0,SC(e),e.cellXfs=[],_l(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={});for(var r=0;r<t.SheetNames.length;++r)i[i.length]=Dte(r,e,t);return i.unshift(Ete(t,i,e)),ln(i)}function jO(t,n){for(var e=0;e<=t.SheetNames.length;++e){var i=t.Sheets[t.SheetNames[e]];if(!(!i||!i["!ref"])){var r=Un(i["!ref"]);r.e.c>255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+t.SheetNames[e]+"' extends beyond column IV (255).  Data may be lost."),r.e.r>65535&&typeof console<"u"&&console.error&&console.error("Worksheet '"+t.SheetNames[e]+"' extends beyond row 65536.  Data may be lost.")}}var a=n||{};switch(a.biff||2){case 8:case 5:return Tte(t,n);case 4:case 3:case 2:return gte(t,n)}throw new Error("invalid type "+a.bookType+" for BIFF")}function Ite(t,n,e,i){for(var r=t["!merges"]||[],a=[],o={},s=t["!data"]!=null,l=n.s.c;l<=n.e.c;++l){for(var c=0,d=0,u=0;u<r.length;++u)if(!(r[u].s.r>e||r[u].s.c>l)&&!(r[u].e.r<e||r[u].e.c<l)){if(r[u].s.r<e||r[u].s.c<l){c=-1;break}c=r[u].e.r-r[u].s.r+1,d=r[u].e.c-r[u].s.c+1;break}if(!(c<0)){var h=pi(l)+xi(e),m=s?(t["!data"][e]||[])[l]:t[h];m&&m.t=="n"&&m.v!=null&&!isFinite(m.v)&&(isNaN(m.v)?m={t:"e",v:36,w:kr[36]}:m={t:"e",v:7,w:kr[7]});var g=m&&m.v!=null&&(m.h||Nw(m.w||(ks(m),m.w)||""))||"";o={},c>1&&(o.rowspan=c),d>1&&(o.colspan=d),i.editable?g='<span contenteditable="true">'+g+"</span>":m&&(o["data-t"]=m&&m.t||"z",m.v!=null&&(o["data-v"]=Nw(m.v instanceof Date?m.v.toISOString():m.v)),m.z!=null&&(o["data-z"]=m.z),m.l&&(m.l.Target||"#").charAt(0)!="#"&&(g='<a href="'+Nw(m.l.Target)+'">'+g+"</a>")),o.id=(i.id||"sjs")+"-"+h,a.push(De("td",g,o))}}var _="<tr>";return _+a.join("")+"</tr>"}var Mte='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',Ate="</body></html>";function Rte(t,n,e){var i=[];return i.join("")+"<table"+(e&&e.id?' id="'+e.id+'"':"")+">"}function HO(t,n){var e=n||{},i=e.header!=null?e.header:Mte,r=e.footer!=null?e.footer:Ate,a=[i],o=Un(t["!ref"]||"A1");if(a.push(Rte(t,o,e)),t["!ref"])for(var s=o.s.r;s<=o.e.r;++s)a.push(Ite(t,o,s,e));return a.push("</table>"+r),a.join("")}function $O(t,n,e){var i=n.rows;if(!i)throw"Unsupported origin when "+n.tagName+" is not a TABLE";var r=e||{},a=t["!data"]!=null,o=0,s=0;if(r.origin!=null)if(typeof r.origin=="number")o=r.origin;else{var l=typeof r.origin=="string"?zi(r.origin):r.origin;o=l.r,s=l.c}var c=Math.min(r.sheetRows||1e7,i.length),d={s:{r:0,c:0},e:{r:o,c:s}};if(t["!ref"]){var u=Un(t["!ref"]);d.s.r=Math.min(d.s.r,u.s.r),d.s.c=Math.min(d.s.c,u.s.c),d.e.r=Math.max(d.e.r,u.e.r),d.e.c=Math.max(d.e.c,u.e.c),o==-1&&(d.e.r=o=u.e.r+1)}var h=[],m=0,g=t["!rows"]||(t["!rows"]=[]),_=0,p=0,v=0,b=0,y=0,E=0;for(t["!cols"]||(t["!cols"]=[]);_<i.length&&p<c;++_){var F=i[_];if(EF(F)){if(r.display)continue;g[p]={hidden:!0}}var A=F.cells;for(v=b=0;v<A.length;++v){var C=A[v];if(!(r.display&&EF(C))){var M=C.hasAttribute("data-v")?C.getAttribute("data-v"):C.hasAttribute("v")?C.getAttribute("v"):YY(C.innerHTML),L=C.getAttribute("data-z")||C.getAttribute("z");for(m=0;m<h.length;++m){var V=h[m];V.s.c==b+s&&V.s.r<p+o&&p+o<=V.e.r&&(b=V.e.c+1-s,m=-1)}E=+C.getAttribute("colspan")||1,((y=+C.getAttribute("rowspan")||1)>1||E>1)&&h.push({s:{r:p+o,c:b+s},e:{r:p+o+(y||1)-1,c:b+s+(E||1)-1}});var z={t:"s",v:M},ee=C.getAttribute("data-t")||C.getAttribute("t")||"";M!=null&&(M.length==0?z.t=ee||"z":r.raw||M.trim().length==0||ee=="s"||(ee=="e"&&kr[+M]?z={t:"e",v:+M,w:kr[+M]}:M==="TRUE"?z={t:"b",v:!0}:M==="FALSE"?z={t:"b",v:!1}:isNaN(ws(M))?isNaN(__(M).getDate())?M.charCodeAt(0)==35&&Oo[M]!=null&&(z={t:"e",v:Oo[M],w:M}):(z={t:"d",v:Hr(M)},r.UTC&&(z.v=P_(z.v)),r.cellDates||(z={t:"n",v:zn(z.v)}),z.z=r.dateNF||Fi[14]):z={t:"n",v:ws(M)})),z.z===void 0&&L!=null&&(z.z=L);var ze="",rt=C.getElementsByTagName("A");if(rt&&rt.length)for(var Me=0;Me<rt.length&&!(rt[Me].hasAttribute("href")&&(ze=rt[Me].getAttribute("href"),ze.charAt(0)!="#"));++Me);ze&&ze.charAt(0)!="#"&&ze.slice(0,11).toLowerCase()!="javascript:"&&(z.l={Target:ze}),a?(t["!data"][p+o]||(t["!data"][p+o]=[]),t["!data"][p+o][b+s]=z):t[Yi({c:b+s,r:p+o})]=z,d.e.c<b+s&&(d.e.c=b+s),b+=E}}++p}return h.length&&(t["!merges"]=(t["!merges"]||[]).concat(h)),d.e.r=Math.max(d.e.r,p-1+o),t["!ref"]=dn(d),p>=c&&(t["!fullref"]=dn((d.e.r=i.length-_+p-1+o,d))),t}function WO(t,n){var e=n||{},i={};return e.dense&&(i["!data"]=[]),$O(i,t,n)}function Pte(t,n){var e=Lu(WO(t,n),n);return e}function EF(t){var n="",e=Fte(t);return e&&(n=e(t).getPropertyValue("display")),n||(n=t.style&&t.style.display),n==="none"}function Fte(t){return t.ownerDocument.defaultView&&typeof t.ownerDocument.defaultView.getComputedStyle=="function"?t.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var Ote=(function(){var t=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),n="<office:document-styles "+cf({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+t+"</office:document-styles>";return function(){return un+n}})();function Nte(t,n){var e="number",i="",r={"style:name":n},a="",o=0;t=t.replace(/"[$]"/g,"$");e:{if(t.indexOf(";")>-1&&(console.error("Unsupported ODS Style Map exported.  Using first branch of "+t),t=t.slice(0,t.indexOf(";"))),t=="@"){e="text",i="<number:text-content/>";break e}if(t.indexOf(/\$/)>-1&&(e="currency"),t[o]=='"'){for(a="";t[++o]!='"'||t[++o]=='"';)a+=t[o];--o,t[o+1]=="*"?(o++,i+="<number:fill-character>"+Mt(a.replace(/""/g,'"'))+"</number:fill-character>"):i+="<number:text>"+Mt(a.replace(/""/g,'"'))+"</number:text>",t=t.slice(o+1),o=0}var s=t.match(/# (\?+)\/(\?+)/);if(s){i+=De("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":s[1].length,"number:max-denominator-value":Math.max(+s[1].replace(/./g,"9"),+s[2].replace(/./g,"9"))});break e}if(s=t.match(/# (\?+)\/(\d+)/)){i+=De("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":s[1].length,"number:denominator-value":+s[2]});break e}if(s=t.match(/\b(\d+)(|\.\d+)%/)){e="percentage",i+=De("number:number",null,{"number:decimal-places":s[2]&&s.length-1||0,"number:min-decimal-places":s[2]&&s.length-1||0,"number:min-integer-digits":s[1].length})+"<number:text>%</number:text>";break e}var l=!1;if(["y","m","d"].indexOf(t[0])>-1){e="date";t:for(;o<t.length;++o)switch(a=t[o].toLowerCase()){case"h":case"s":l=!0,--o;break t;case"m":i:for(var c=o+1;c<t.length;++c)switch(t[c]){case"y":case"d":break i;case"h":case"s":l=!0,--o;break t}case"y":case"d":for(;(t[++o]||"").toLowerCase()==a[0];)a+=a[0];switch(--o,a){case"y":case"yy":i+="<number:year/>";break;case"yyy":case"yyyy":i+='<number:year number:style="long"/>';break;case"mmmmm":console.error("ODS has no equivalent of format |mmmmm|");case"m":case"mm":case"mmm":case"mmmm":i+='<number:month number:style="'+(a.length%2?"short":"long")+'" number:textual="'+(a.length>=3?"true":"false")+'"/>';break;case"d":case"dd":i+='<number:day number:style="'+(a.length%2?"short":"long")+'"/>';break;case"ddd":case"dddd":i+='<number:day-of-week number:style="'+(a.length%2?"short":"long")+'"/>';break}break;case'"':for(;t[++o]!='"'||t[++o]=='"';)a+=t[o];--o,i+="<number:text>"+Mt(a.slice(1).replace(/""/g,'"'))+"</number:text>";break;case"\\":a=t[++o],i+="<number:text>"+Mt(a)+"</number:text>";break;case"/":case":":i+="<number:text>"+Mt(a)+"</number:text>";break;default:console.error("unrecognized character "+a+" in ODF format "+t)}if(!l)break e;t=t.slice(o+1),o=0}if(t.match(/^\[?[hms]/)){for(e=="number"&&(e="time"),t.match(/\[/)&&(t=t.replace(/[\[\]]/g,""),r["number:truncate-on-overflow"]="false");o<t.length;++o)switch(a=t[o].toLowerCase()){case"h":case"m":case"s":for(;(t[++o]||"").toLowerCase()==a[0];)a+=a[0];switch(--o,a){case"h":case"hh":i+='<number:hours number:style="'+(a.length%2?"short":"long")+'"/>';break;case"m":case"mm":i+='<number:minutes number:style="'+(a.length%2?"short":"long")+'"/>';break;case"s":case"ss":if(t[o+1]==".")do a+=t[o+1],++o;while(t[o+1]=="0");i+='<number:seconds number:style="'+(a.match("ss")?"long":"short")+'"'+(a.match(/\./)?' number:decimal-places="'+(a.match(/0+/)||[""])[0].length+'"':"")+"/>";break}break;case'"':for(;t[++o]!='"'||t[++o]=='"';)a+=t[o];--o,i+="<number:text>"+Mt(a.slice(1).replace(/""/g,'"'))+"</number:text>";break;case"/":case":":i+="<number:text>"+Mt(a)+"</number:text>";break;case"a":if(t.slice(o,o+3).toLowerCase()=="a/p"){i+="<number:am-pm/>",o+=2;break}if(t.slice(o,o+5).toLowerCase()=="am/pm"){i+="<number:am-pm/>",o+=4;break}default:console.error("unrecognized character "+a+" in ODF format "+t)}break e}if(t.indexOf(/\$/)>-1&&(e="currency"),t[0]=="$"&&(i+='<number:currency-symbol number:language="en" number:country="US">$</number:currency-symbol>',t=t.slice(1),o=0),o=0,t[o]=='"'){for(;t[++o]!='"'||t[++o]=='"';)a+=t[o];--o,t[o+1]=="*"?(o++,i+="<number:fill-character>"+Mt(a.replace(/""/g,'"'))+"</number:fill-character>"):i+="<number:text>"+Mt(a.replace(/""/g,'"'))+"</number:text>",t=t.slice(o+1),o=0}var d=t.match(/([#0][0#,]*)(\.[0#]*|)(E[+]?0*|)/i);if(!d||!d[0])console.error("Could not find numeric part of "+t);else{var u=d[1].replace(/,/g,"");i+="<number:"+(d[3]?"scientific-":"")+'number number:min-integer-digits="'+(u.indexOf("0")==-1?"0":u.length-u.indexOf("0"))+'"'+(d[0].indexOf(",")>-1?' number:grouping="true"':"")+(d[2]&&' number:decimal-places="'+(d[2].length-1)+'"'||' number:decimal-places="0"')+(d[3]&&d[3].indexOf("+")>-1?' number:forced-exponent-sign="true"':"")+(d[3]?' number:min-exponent-digits="'+d[3].match(/0+/)[0].length+'"':"")+"></number:"+(d[3]?"scientific-":"")+"number>",o=d.index+d[0].length}if(t[o]=='"'){for(a="";t[++o]!='"'||t[++o]=='"';)a+=t[o];--o,i+="<number:text>"+Mt(a.replace(/""/g,'"'))+"</number:text>"}}return i?De("number:"+e+"-style",i,r):(console.error("Could not generate ODS number format for |"+t+"|"),"")}function TF(t,n,e){for(var i=[],r=0;r<t.length;++r){var a=t[r];a&&a.Sheet==(e==-1?null:e)&&i.push(a)}return i.length?`      <table:named-expressions>
8105`+i.map(function(o){var s=(e==-1?"$":"")+NO(o.Ref);return"        "+De("table:named-range",null,{"table:name":o.Name,"table:cell-range-address":s,"table:base-cell-address":s.replace(/[\.][^\.]*$/,".$A$1")})}).join(`
8106`)+`
8107      </table:named-expressions>
8108`:""}var IF=(function(){var t=function(r,a){return Mt(r).replace(/  +/g,function(o){return'<text:s text:c="'+o.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,a?"<text:line-break/>
8108":"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},n=`          <table:table-cell />
8109`,e=function(r,a,o,s,l,c){var d=[];d.push('      <table:table table:name="'+Mt(a.SheetNames[o])+`" table:style-name="ta1">
8110`);var u=0,h=0,m=Un(r["!ref"]||"A1"),g=r["!merges"]||[],_=0,p=r["!data"]!=null;if(r["!cols"])for(h=0;h<=m.e.c;++h)d.push("        <table:table-column"+(r["!cols"][h]?' table:style-name="co'+r["!cols"][h].ods+'"':"")+`></table:table-column>
8111`);var v="",b=r["!rows"]||[];for(u=0;u<m.s.r;++u)v=b[u]?' table:style-name="ro'+b[u].ods+'"':"",d.push("        <table:table-row"+v+`></table:table-row>
8112`);for(;u<=m.e.r;++u){for(v=b[u]?' table:style-name="ro'+b[u].ods+'"':"",d.push("        <table:table-row"+v+`>
8113`),h=0;h<m.s.c;++h)d.push(n);for(;h<=m.e.c;++h){var y=!1,E={},F="";for(_=0;_!=g.length;++_)if(!(g[_].s.c>h)&&!(g[_].s.r>u)&&!(g[_].e.c<h)&&!(g[_].e.r<u)){(g[_].s.c!=h||g[_].s.r!=u)&&(y=!0),E["table:number-columns-spanned"]=g[_].e.c-g[_].s.c+1,E["table:number-rows-spanned"]=g[_].e.r-g[_].s.r+1;break}if(y){d.push(`          <table:covered-table-cell/>
8114`);continue}var A=Yi({r:u,c:h}),C=p?(r["!data"][u]||[])[h]:r[A];if(C&&C.f&&(E["table:formula"]=Mt(nJ(C.f)),C.F&&C.F.slice(0,A.length)==A)){var M=Un(C.F);E["table:number-matrix-columns-spanned"]=M.e.c-M.s.c+1,E["table:number-matrix-rows-spanned"]=M.e.r-M.s.r+1}if(!C){d.push(n);continue}switch(C.t){case"b":F=C.v?"TRUE":"FALSE",E["office:value-type"]="boolean",E["office:boolean-value"]=C.v?"true":"false";break;case"n":isFinite(C.v)?(F=C.w||String(C.v||0),E["office:value-type"]="float",E["office:value"]=C.v||0):(isNaN(C.v)?(F="#NUM!",E["table:formula"]="of:=#NUM!"):(F="#DIV/0!",E["table:formula"]="of:="+(C.v<0?"-":"")+"1/0"),E["office:string-value"]="",E["office:value-type"]="string",E["calcext:value-type"]="error");break;case"s":case"str":F=C.v==null?"":C.v,E["office:value-type"]="string";break;case"d":F=C.w||Hr(C.v,c).toISOString(),E["office:value-type"]="date",E["office:date-value"]=Hr(C.v,c).toISOString(),E["table:style-name"]="ce1";break;default:d.push(n);continue}var L=t(F);if(C.l&&C.l.Target){var V=C.l.Target;V=V.charAt(0)=="#"?"#"+NO(V.slice(1)):V,V.charAt(0)!="#"&&!V.match(/^\w+:/)&&(V="../"+V),L=De("text:a",L,{"xlink:href":V.replace(/&/g,"&amp;")})}l[C.z]&&(E["table:style-name"]="ce"+l[C.z].slice(1));var z=De("text:p",L,{});if(C.c){for(var ee="",ze="",rt={},Me=0;Me<C.c.length;++Me)!ee&&C.c[Me].a&&(ee=C.c[Me].a),ze+="<text:p>"+t(C.c[Me].t)+"</text:p>";C.c.hidden||(rt["office:display"]=!0),z=De("office:annotation",ze,rt)+z}d.push("          "+De("table:table-cell",z,E)+`
8115`)}d.push(`        </table:table-row>
8116`)}return(a.Workbook||{}).Names&&d.push(TF(a.Workbook.Names,a.SheetNames,o)),d.push(`      </table:table>
8117`),d.join("")},i=function(r,a){r.push(` <office:automatic-styles>
8118`);var o=0;a.SheetNames.map(function(d){return a.Sheets[d]}).forEach(function(d){if(d&&d["!cols"]){for(var u=0;u<d["!cols"].length;++u)if(d["!cols"][u]){var h=d["!cols"][u];if(h.width==null&&h.wpx==null&&h.wch==null)continue;xC(h),h.ods=o;var m=d["!cols"][u].wpx+"px";r.push('  <style:style style:name="co'+o+`" style:family="table-column">
8119`),r.push('   <style:table-column-properties fo:break-before="auto" style:column-width="'+m+`"/>
8120`),r.push(`  </style:style>
8121`),++o}}});var s=0;a.SheetNames.map(function(d){return a.Sheets[d]}).forEach(function(d){if(d&&d["!rows"]){for(var u=0;u<d["!rows"].length;++u)if(d["!rows"][u]){d["!rows"][u].ods=s;var h=d["!rows"][u].hpx+"px";r.push('  <style:style style:name="ro'+s+`" style:family="table-row">
8122`),r.push('   <style:table-row-properties fo:break-before="auto" style:row-height="'+h+`"/>
8123`),r.push(`  </style:style>
8124`),++s}}}),r.push(`  <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">
8125`),r.push(`   <style:table-properties table:display="true" style:writing-mode="lr-tb"/>
8126`),r.push(`  </style:style>
8127`),r.push(`  <number:date-style style:name="N37" number:automatic-order="true">
8128`),r.push(`   <number:month number:style="long"/>
8129`),r.push(`   <number:text>/</number:text>
8130`),r.push(`   <number:day number:style="long"/>
8131`),r.push(`   <number:text>/</number:text>
8132`),r.push(`   <number:year/>
8133`),r.push(`  </number:date-style>
8134`);var l={},c=69;return a.SheetNames.map(function(d){return a.Sheets[d]}
vendor: 7,318 bytes, lines 8134-8148
8134).forEach(function(d){if(d){var u=d["!data"]!=null;if(d["!ref"])for(var h=Un(d["!ref"]),m=0;m<=h.e.r;++m)for(var g=0;g<=h.e.c;++g){var _=u?(d["!data"][m]||[])[g]:d[Yi({r:m,c:g})];if(!(!_||!_.z||_.z.toLowerCase()=="general")&&!l[_.z]){var p=Nte(_.z,"N"+c);p&&(l[_.z]="N"+c,++c,r.push(p+`
8135`))}}}}),r.push(`  <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>
8136`),cn(l).forEach(function(d){r.push('<style:style style:name="ce'+l[d].slice(1)+'" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="'+l[d]+`"/>
8137`)}),r.push(` </office:automatic-styles>
8138`),l};return function(a,o){var s=[un],l=cf({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),c=cf({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});o.bookType=="fods"?(s.push("<office:document"+l+c+`>
8139`),s.push(cO().replace(/<office:document-meta[^<>]*?>/,"").replace(/<\/office:document-meta>/,"")+`
8140`)):s.push("<office:document-content"+l+`>
8141`);var d=i(s,a);s.push(`  <office:body>
8142`),s.push(`    <office:spreadsheet>
8143`),((a.Workbook||{}).WBProps||{}).date1904&&s.push(`      <table:calculation-settings table:case-sensitive="false" table:search-criteria-must-apply-to-whole-cell="true" table:use-wildcards="true" table:use-regular-expressions="false" table:automatic-find-labels="false">
8144        <table:null-date table:date-value="1904-01-01"/>
8145      </table:calculation-settings>
8146`);for(var u=0;u!=a.SheetNames.length;++u)s.push(e(a.Sheets[a.SheetNames[u]],a,u,o,d,((a.Workbook||{}).WBProps||{}).date1904));return(a.Workbook||{}).Names&&s.push(TF(a.Workbook.Names,a.SheetNames,-1)),s.push(`    </office:spreadsheet>
8147`),s.push(`  </office:body>
8148`),o.bookType=="fods"?s.push("</office:document>"):s.push("</office:document-content>"),s.join("")}})();function GO(t,n){if(n.bookType=="fods")return IF(t,n);var e=oC(),i="",r=[],a=[];return i="mimetype",It(e,i,"application/vnd.oasis.opendocument.spreadsheet"),i="content.xml",It(e,i,IF(t,n)),r.push([i,"text/xml"]),a.push([i,"ContentFile"]),i="styles.xml",It(e,i,Ote(t,n)),r.push([i,"text/xml"]),a.push([i,"StylesFile"]),i="meta.xml",It(e,i,un+cO()),r.push([i,"text/xml"]),a.push([i,"MetadataFile"]),i="manifest.rdf",It(e,i,FX(a)),r.push([i,"application/rdf+xml"]),i="META-INF/manifest.xml",It(e,i,RX(r)),e}var Sr=(function(){try{return typeof Uint8Array>"u"||typeof Uint8Array.prototype.subarray>"u"?"slice":typeof Buffer<"u"?typeof Buffer.prototype.subarray>"u"?"slice":(typeof Buffer.from=="function"?Buffer.from([72,62]):new Buffer([72,62]))instanceof Uint8Array?"subarray":"slice":"subarray"}catch(t){return"slice"}})();function S_(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function mf(t){return typeof TextDecoder<"u"?new TextDecoder().decode(t):Eu(Tc(t))}function xr(t){return typeof TextEncoder<"u"?new TextEncoder().encode(t):ha(ys(t))}function gl(t){for(var n=0,e=0;e<t.length;++e)n+=t[e].length;var i=new Uint8Array(n),r=0;for(e=0;e<t.length;++e){var a=t[e],o=a.length;if(o<250)for(var s=0;s<o;++s)i[r++]=a[s];else i.set(a,r),r+=o}return i}function Lte(t,n,e){var i=Math.floor(e==0?0:Math.LOG10E*Math.log(Math.abs(e)))+6176-16,r=e/Math.pow(10,i-6176);t[n+15]|=i>>7,t[n+14]|=(i&127)<<1;for(var a=0;r>=1;++a,r/=256)t[n+a]=r&255;t[n+15]|=e>=0?0:128}function ff(t,n){var e=n.l,i=t[e]&127;e:if(t[e++]>=128&&(i|=(t[e]&127)<<7,t[e++]<128||(i|=(t[e]&127)<<14,t[e++]<128)||(i|=(t[e]&127)<<21,t[e++]<128)||(i+=(t[e]&127)*Math.pow(2,28),++e,t[e++]<128)||(i+=(t[e]&127)*Math.pow(2,35),++e,t[e++]<128)||(i+=(t[e]&127)*Math.pow(2,42),++e,t[e++]<128)))break e;return n.l=e,i}function Ze(t){var n=new Uint8Array(7);n[0]=t&127;var e=1;e:if(t>127){if(n[e-1]|=128,n[e]=t>>7&127,++e,t<=16383||(n[e-1]|=128,n[e]=t>>14&127,++e,t<=2097151)||(n[e-1]|=128,n[e]=t>>21&127,++e,t<=268435455)||(n[e-1]|=128,n[e]=t/256>>>21&127,++e,t<=34359738367)||(n[e-1]|=128,n[e]=t/65536>>>21&127,++e,t<=4398046511103))break e;n[e-1]|=128,n[e]=t/16777216>>>21&127,++e}return n[Sr](0,e)}function qO(t){for(var n={l:0},e=[];n.l<t.length;)e.push(ff(t,n));return e}function YO(t){return gl(t.map(function(n){return Ze(n)}))}function pa(t){var n=0,e=t[n]&127;return t[n++]<128||(e|=(t[n]&127)<<7,t[n++]<128)||(e|=(t[n]&127)<<14,t[n++]<128)||(e|=(t[n]&127)<<21,t[n++]<128)||(e|=(t[n]&15)<<28),e}function ut(t){for(var n=[],e={l:0};e.l<t.length;){var i=e.l,r=ff(t,e),a=r&7;r=r/8|0;var o,s=e.l;switch(a){case 0:{for(;t[s++]>=128;);o=t[Sr](e.l,s),e.l=s}break;case 1:o=t[Sr](s,s+8),e.l=s+8;break;case 2:{var l=ff(t,e);o=t[Sr](e.l,e.l+l),e.l+=l}break;case 5:o=t[Sr](s,s+4),e.l=s+4;break;default:throw new Error("PB Type ".concat(a," for Field ").concat(r," at offset ").concat(i))}var c={data:o,type:a};n[r]==null&&(n[r]=[]),n[r].push(c)}return n}function nt(t){var n=[];return t.forEach(function(e,i){i!=0&&e.forEach(function(r){r.data&&(n.push(Ze(i*8+r.type)),r.type==2&&n.push(Ze(r.data.length)),n.push(r.data))})}),gl(n)}function k_(t,n){return t?.map(function(e){return n(e.data)})||[]}function D_(t){for(var n,e=[],i={l:0};i.l<t.length;){var r=ff(t,i),a=ut(t[Sr](i.l,i.l+r));i.l+=r;var o={id:pa(a[1][0].data),messages:[]};
8148a[2].forEach(function(s){var l=ut(s.data),c=pa(l[3][0].data);o.messages.push({meta:l,data:t[Sr](i.l,i.l+c)}),i.l+=c}),(n=a[3])!=null&&n[0]&&(o.merge=pa(a[3][0].data)>>>0>0),e.push(o)}return e}function Mu(t){var n=[];return t.forEach(function(e){var i=[[],[{data:Ze(e.id),type:0}],[]];e.merge!=null&&(i[3]=[{data:Ze(+!!e.merge),type:0}]);var r=[];e.messages.forEach(function(o){r.push(o.data),o.meta[3]=[{type:0,data:Ze(o.data.length)}],i[2].push({data:nt(o.meta),type:2})});var a=nt(i);n.push(Ze(a.length)),n.push(a),r.forEach(function(o){return n.push(o)})}),gl(n)}function Bte(t,n){if(t!=0)throw new Error("Unexpected Snappy chunk type ".concat(t));for(var e={l:0},i=ff(n,e),r=[],a=e.l;a<n.length;){var o=n[a]&3;if(o==0){var s=n[a++]>>2;if(s<60)++s;else{var l=s-59;s=n[a],l>1&&(s|=n[a+1]<<8),l>2&&(s|=n[a+2]<<16),l>3&&(s|=n[a+3]<<24),s>>>=0,s++,a+=l}r.push(n[Sr](a,a+s)),a+=s;continue}else{var c=0,d=0;if(o==1?(d=(n[a]>>2&7)+4,c=(n[a++]&224)<<3,c|=n[a++]):(d=(n[a++]>>2)+1,o==2?(c=n[a]|n[a+1]<<8,a+=2):(c=(n[a]|n[a+1]<<8|n[a+2]<<16|n[a+3]<<24)>>>0,a+=4)),c==0)throw new Error("Invalid offset 0");for(var u=r.length-1,h=c;u>=0&&h>=r[u].length;)h-=r[u].length,--u;if(u<0)if(h==0)h=r[u=0].length;else throw new Error("Invalid offset beyond length");if(d<h)r.push(r[u][Sr](r[u].length-h,r[u].length-h+d));else{for(h>0&&(r.push(r[u][Sr](r[u].length-h)),d-=h),++u;d>=r[u].length;)r.push(r[u]),d-=r[u].length,++u;d&&r.push(r[u][Sr](0,d))}r.length>25&&(r=[gl(r)])}}for(var m=0,g=0;g<r.length;++g)m+=r[g].length;if(m!=i)throw new Error("Unexpected length: ".concat(m," != ").concat(i));return r}function E_(t){Array.isArray(t)&&(t=new Uint8Array(t));for(var n=[],e=0;e<t.length;){var i=t[e++],r=t[e]|t[e+1]<<8|t[e+2]<<16;e+=3,n.push.apply(n,Bte(i,t[Sr](e,e+r))),e+=r}if(e!==t.length)throw new Error("data is not a valid framed stream!");return n.length==1?n[0]:gl(n)}function Au(t){for(var n=[],e=0;e<t.length;){var i=Math.min(t.length-e,268435455),r=new Uint8Array(4);n.push(r);var a=Ze(i),o=a.length;n.push(a),i<=60?(o++,n.push(new Uint8Array([i-1<<2]))):i<=256?(o+=2,n.push(new Uint8Array([240,i-1&255]))):i<=65536?(o+=3,n.push(new Uint8Array([244,i-1&255,i-1>>8&255]))):i<=16777216?(o+=4,n.push(new Uint8Array([248,i-1&255,i-1>>8&255,i-1>>16&255]))):i<=4294967296&&(o+=5,n.push(new Uint8Array([252,i-1&255,i-1>>8&255,i-1>>16&255,i-1>>>24&255]))),n.push(t[Sr](e,e+i)),o+=i,r[0]=0,r[1]=o&255,r[2]=o>>8&255,r[3]=o>>16&255,e+=i}return gl(n)}function qw(t,n){var e=new Uint8Array(32),i=S_(e),r=12,a=0;switch(e[0]=5,t.t){case"n":if(t.z&&Ic(t.z)){e[1]=5,i.setFloat64(r,(Du(t.v+1462).getTime()-Date.UTC(2001,0,1))/1e3,!0),a|=4,r+=8;break}else e[1]=2,Lte(e,r,t.v),a|=1,r+=16;break;case"b":e[1]=6,i.setFloat64(r,t.v?1:0,!0),a|=2,r+=8;break;case"s":{var o=t.v==null?"":String(t.v);if(t.l){var s=n.rsst.findIndex(function(c){var d;return c.v==o&&c.l==((d=t.l)==null?void 0:d.Target)});s==-1&&(n.rsst[s=n.rsst.length]={v:o,l:t.l.Target}),e[1]=9,i.setUint32(r,s,!0),a|=16,r+=4}else{var l=n.sst.indexOf(o);l==-1&&(n.sst[l=n.sst.length]=o),e[1]=3,i.setUint32(r,l,!0),a|=8,r+=4}}break;case"d":e[1]=5,i.setFloat64(r,(t.v.getTime()-Date.UTC(2001,0,1))/1e3,!0),a|=4,r+=8;break;case"z":e[1]=0;break;default:throw"unsupported cell type "+t.t}return t.c&&(n.cmnt.push(Vte(t.c)),i.setUint32(r,n.cmnt.length-1,!0),a|=524288,r+=4),i.setUint32(8,a,!0),e[Sr](0,r)}function Yw(t,n){var e=new Uint8Array(32),i=S_(e),r=12,a=0,o="";switch(e[0]=4,t.t){case"n":break;case"b":break;case"s":if(o=t.v==null?"":String(t.v),t.l){var s=n.rsst.findIndex(function(c){var d;return c.v==o&&c.l==((d=t.l)==null?void 0:d.Target)});s==-1&&(n.rsst[s=n.rsst.length]={v:o,l:t.l.Target}),e[1]=9,i.setUint32(r,s,!0),a|=512,r+=4}break;case"d":break;case"e":break;case"z":break;default:throw"unsupported cell type "+t.t}switch(t.c&&(i.setUint32(r,n.cmnt.length-1,!0),a|=4096,r+=4),t.t){case"n":e[1]=2,i.setFloat64(r,t.v,!0),a|=32,r+=8;break;case"b":e[1]=6,i.setFloat64(r,t.v?1:0,!0),a|=32,r+=8;break;case"s":if(o=t.v==null?"":String(t.v),!t.l){var l=n.sst.indexOf(o);l==-1&&(n.sst[l=n.sst.length]=o),e[1]=3,i.setUint32(r,l,!0),a|=16,r+=4}break;case"d":e[1]=5,i.setFloat64(r,(t.v.getTime()-Date.UTC(2001,0,1))/1e3,!0),a|=64,r+=8;break;case"z":e[1]=0;break;default:throw"unsupported cell type "+t.t}return i.setUint32(8,a,!0),e[Sr](0,r)}function sn(t){var n=ut(t);return pa(n[1][0].data)}function ir(t){return nt([[],[{type:0,data:Ze(t)}]])}function tr(t,n){var e,i=(e=t.messages[0].meta[5])!=null&&e[0]?qO(t.messages[0].meta[5][0].data):[],r=i.indexOf(n);r==-1&&(i.push(n),t.messages[0].meta[5]=[{type:2,data:YO(i)}])}function bs(t,n){var e,i=(e=t.messages[0].meta[5])!=null&&e[0]?qO(t.messages[0].meta[5][0].data):[];t.messages[0].meta[5]=[{type:2,data:YO(i.filter(function(r){return r!=n}
8148))}]}function Vte(t){for(var n={a:"",t:"",replies:[]},e=0;e<t.length;++e)e==0?(n.a=t[e].a,n.t=t[e].t):n.replies.push({a:t[e].a,t:t[e].t});return n}function Ute(t,n,e){var i,r,a,o=[[],[{type:0,data:Ze(0)}],[{type:0,data:Ze(0)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:Ze(5)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:Ze(1)}]];if(!((i=o[6])!=null&&i[0])||!((r=o[7])!=null&&r[0]))throw"Mutation only works on post-BNC storages!";var s=0;if(o[7][0].data.length<2*t.length){var l=new Uint8Array(2*t.length);l.set(o[7][0].data),o[7][0].data=l}if(o[4][0].data.length<2*t.length){var c=new Uint8Array(2*t.length);c.set(o[4][0].data),o[4][0].data=c}for(var d=S_(o[7][0].data),u=0,h=[],m=S_(o[4][0].data),g=0,_=[],p=e?4:1,v=0;v<t.length;++v){if(t[v]==null||t[v].t=="z"&&!((a=t[v].c)!=null&&a.length)||t[v].t=="e"){d.setUint16(v*2,65535,!0),m.setUint16(v*2,65535);continue}d.setUint16(v*2,u/p,!0),m.setUint16(v*2,g/p,!0);var b,y;switch(t[v].t){case"d":if(t[v].v instanceof Date){b=qw(t[v],n),y=Yw(t[v],n);break}b=qw(t[v],n),y=Yw(t[v],n);break;case"s":case"n":case"b":case"z":b=qw(t[v],n),y=Yw(t[v],n);break;default:throw new Error("Unsupported value "+t[v])}h.push(b),u+=b.length,_.push(y),g+=y.length,++s}for(o[2][0].data=Ze(s),o[5][0].data=Ze(5);v<o[7][0].data.length/2;++v)d.setUint16(v*2,65535,!0),m.setUint16(v*2,65535,!0);return o[6][0].data=gl(h),o[3][0].data=gl(_),o[8]=[{type:0,data:Ze(e?1:0)}],o}function Jw(t,n){return{meta:[[],[{type:0,data:Ze(t)}]],data:n}}function Ro(t,n){n.last||(n.last=927262);for(var e=n.last;e<2e6;++e)if(!n[e])return n[n.last=e]=t,e;throw new Error("Too many messages")}function zte(t){var n={},e=[];return t.FileIndex.map(function(i,r){return[i,t.FullPaths[r]]}).forEach(function(i){var r=i[0],a=i[1];r.type==2&&r.name.match(/\.iwa/)&&r.content[0]==0&&D_(E_(r.content)).forEach(function(o){e.push(o.id),n[o.id]={deps:[],location:a,type:pa(o.messages[0].meta[1][0].data)}})}),t.FileIndex.forEach(function(i){i.name.match(/\.iwa/)&&i.content[0]==0&&D_(E_(i.content)).forEach(function(r){r.messages.forEach(function(a){[5,6].forEach(function(o){a.meta[o]&&a.meta[o].forEach(function(s){n[r.id].deps.push(pa(s.data))})})})})}),n}function c_(t,n,e){return nt([[],[{type:0,data:Ze(1)}],[],[{type:5,data:new Uint8Array(Float32Array.from([t/255]).buffer)}],[{type:5,data:new Uint8Array(Float32Array.from([n/255]).buffer)}],[{type:5,data:new Uint8Array(Float32Array.from([e/255]).buffer)}],[{type:5,data:new Uint8Array(Float32Array.from([1]).buffer)}],[],[],[],[],[],[{type:0,data:Ze(1)}]])}function MF(t){switch(t){case 0:return c_(99,222,171);case 1:return c_(162,197,240);case 2:return c_(255,189,189)}return c_(Math.random()*255,Math.random()*255,Math.random()*255)}
8148function jte(t,n){if(!n||!n.numbers)throw new Error("Must pass a `numbers` option -- check the README");var e=ki.read(n.numbers,{type:"base64"}),i=zte(e),r=Po(e,i,1);if(r==null)throw"Could not find message ".concat(1," in Numbers template");var a=k_(ut(r.messages[0].data)[1],sn);if(a.length>1)throw new Error("Template NUMBERS file must have exactly one sheet");return t.SheetNames.forEach(function(o,s){s>=1&&($te(e,i,s+1),r=Po(e,i,1),a=k_(ut(r.messages[0].data)[1],sn)),Wte(e,i,t.Sheets[o],o,s,a[s])}),e}function fi(t,n,e,i){var r=ki.find(t,n[e].location);if(!r)throw"Could not find ".concat(n[e].location," in Numbers template");var a=D_(E_(r.content)),o=a.find(function(s){return s.id==e});i(o,a),r.content=Au(Mu(a)),r.size=r.content.length}function Po(t,n,e){var i=ki.find(t,n[e].location);if(!i)throw"Could not find ".concat(n[e].location," in Numbers template");var r=D_(E_(i.content)),a=r.find(function(o){return o.id==e});return a}function eC(t,n,e){t[3].push({type:2,data:nt([[],[{type:0,data:Ze(n)}],[{type:2,data:xr(e.replace(/-[\s\S]*$/,""))}],[{type:2,data:xr(e)}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:Ze(0)}],[],[{type:0,data:Ze(0)}]])}),t[1]=[{type:0,data:Ze(Math.max(n+1,pa(t[1][0].data)))}]}function Sc(t,n,e,i,r,a){a||(a=Ro({deps:[],location:"",type:n},r));var o="".concat(i,"-").concat(a,".iwa");r[a].location="Root Entry"+o,ki.utils.cfb_add(t,o,Au(Mu([{id:a,messages:[Jw(n,nt(e))]}])));var s=o.replace(/^[\/]/,"").replace(/^Index\//,"").replace(/\.iwa$/,"");return fi(t,r,2,function(l){var c=ut(l.messages[0].data);eC(c,a||0,s),l.messages[0].data=nt(c)}),a}function jr(t,n,e,i){var r=n[e].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,""),a=t[3].findIndex(function(s){var l,c,d=ut(s.data);return(l=d[3])!=null&&l[0]?mf(d[3][0].data)==r:!!((c=d[2])!=null&&c[0]&&mf(d[2][0].data)==r)}),o=ut(t[3][a].data);o[6]||(o[6]=[]),(Array.isArray(i)?i:[i]).forEach(function(s){o[6].push({type:2,data:nt([[],[{type:0,data:Ze(s)}]])})}),t[3][a].data=nt(o)}function Hte(t,n,e,i){var r=n[e].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,""),a=t[3].findIndex(function(s){var l,c,d=ut(s.data);return(l=d[3])!=null&&l[0]?mf(d[3][0].data)==r:!!((c=d[2])!=null&&c[0]&&mf(d[2][0].data)==r)}),o=ut(t[3][a].data);o[6]||(o[6]=[]),o[6]=o[6].filter(function(s){return pa(ut(s.data)[1][0].data)!=i}),t[3][a].data=nt(o)}function $te(t,n,e){var i=-1,r=-1,a={};fi(t,n,1,function(l,c){var d=ut(l.messages[0].data);i=sn(ut(l.messages[0].data)[1][0].data),r=Ro({deps:[1],location:n[i].location,type:2},n),a[i]=r,tr(l,r),d[1].push({type:2,data:ir(r)});var u=Po(t,n,i);u.id=r,n[1].location==n[r].location?c.push(u):fi(t,n,r,function(h,m){return m.push(u)}),l.messages[0].data=nt(d)});var o=-1;fi(t,n,r,function(l,c){for(var d=ut(l.messages[0].data),u=3;u<=69;++u)delete d[u];var h=k_(d[2],sn);h.forEach(function(g){return bs(l,g)}),o=Ro({deps:[r],location:n[h[0]].location,type:n[h[0]].type},n),tr(l,o),a[h[0]]=o,d[2]=[{type:2,data:ir(o)}];var m=Po(t,n,h[0]);m.id=o,n[h[0]].location==n[r].location?c.push(m):(fi(t,n,2,function(g){var _=ut(g.messages[0].data);jr(_,n,r,o),g.messages[0].data=nt(_)}),fi(t,n,o,function(g,_){return _.push(m)})),l.messages[0].data=nt(d)});var s=-1;fi(t,n,o,function(l,c){for(var d=ut(l.messages[0].data),u=ut(d[1][0].data),h=3;h<=69;++h)delete u[h];var m=sn(u[2][0].data);u[2][0].data=ir(a[m]),d[1][0].data=nt(u);var g=sn(d[2][0].data);bs(l,g),s=Ro({deps:[o],location:n[g].location,type:n[g].type},n),tr(l,s),a[g]=s,d[2][0].data=ir(s);var _=Po(t,n,g);_.id=s,n[o].location==n[s].location?c.push(_):fi(t,n,s,function(p,v){return v.push(_)}),l.messages[0].data=nt(d)}),fi(t,n,s,function(l,c){var d,u,h=ut(l.messages[0].data),m=mf(h[1][0].data),g=m.replace(/-[A-Z0-9]*/,"-".concat(("0000"+e.toString(16)).slice(-4)));if(h[1][0].data=xr(g),[12,13,29,31,32,33,39,44,47,81,82,84].forEach(function(F){return delete h[F]}),h[45]){var _=ut(h[45][0].data),p=sn(_[1][0].data);bs(l,p),delete h[45]}if(h[70]){var v=ut(h[70][0].data);(d=v[2])==null||d.forEach(function(F){var A=ut(F.data);[2,3].map(function(C){return A[C][0]}
8148).forEach(function(C){var M=ut(C.data);if(M[8]){var L=sn(M[8][0].data);bs(l,L)}})}),delete h[70]}[46,30,34,35,36,38,48,49,60,61,62,63,64,71,72,73,74,75,85,86,87,88,89].forEach(function(F){if(h[F]){var A=sn(h[F][0].data);delete h[F],bs(l,A)}});var b=ut(h[4][0].data);{[2,4,5,6,11,12,13,15,16,17,18,19,20,21,22].forEach(function(F){var A;if((A=b[F])!=null&&A[0]){var C=sn(b[F][0].data),M=Ro({deps:[s],location:n[C].location,type:n[C].type},n);bs(l,C),tr(l,M),a[C]=M;var L=Po(t,n,C);if(L.id=M,n[C].location==n[s].location)c.push(L);else{n[M].location=n[C].location.replace(C.toString(),M.toString()),n[M].location==n[C].location&&(n[M].location=n[M].location.replace(/\.iwa/,"-".concat(M,".iwa"))),ki.utils.cfb_add(t,n[M].location,Au(Mu([L])));var V=n[M].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");fi(t,n,2,function(z){var ee=ut(z.messages[0].data);eC(ee,M,V),jr(ee,n,s,M),z.messages[0].data=nt(ee)})}b[F][0].data=ir(M)}});var y=ut(b[1][0].data);(u=y[2])==null||u.forEach(function(F){var A=sn(F.data),C=Ro({deps:[s],location:n[A].location,type:n[A].type},n);bs(l,A),tr(l,C),a[A]=C;var M=Po(t,n,A);if(M.id=C,n[A].location==n[s].location)c.push(M);else{n[C].location=n[A].location.replace(A.toString(),C.toString()),n[C].location==n[A].location&&(n[C].location=n[C].location.replace(/\.iwa/,"-".concat(C,".iwa"))),ki.utils.cfb_add(t,n[C].location,Au(Mu([M])));var L=n[C].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");fi(t,n,2,function(V){var z=ut(V.messages[0].data);eC(z,C,L),jr(z,n,s,C),V.messages[0].data=nt(z)})}F.data=ir(C)}),b[1][0].data=nt(y);var E=ut(b[3][0].data);E[1].forEach(function(F){var A=ut(F.data),C=sn(A[2][0].data),M=a[C];if(!a[C]){M=Ro({deps:[s],location:"",type:n[C].type},n),n[M].location="Root Entry/Index/Tables/Tile-".concat(M,".iwa"),a[C]=M;var L=Po(t,n,C);L.id=M,bs(l,C),tr(l,M),ki.utils.cfb_add(t,"/Index/Tables/Tile-".concat(M,".iwa"),Au(Mu([L]))),fi(t,n,2,function(V){var z=ut(V.messages[0].data);z[3].push({type:2,data:nt([[],[{type:0,data:Ze(M)}],[{type:2,data:xr("Tables/Tile")}],[{type:2,data:xr("Tables/Tile-".concat(M))}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:Ze(0)}],[],[{type:0,data:Ze(0)}]])}),z[1]=[{type:0,data:Ze(Math.max(M+1,pa(z[1][0].data)))}],jr(z,n,s,M),V.messages[0].data=nt(z)})}A[2][0].data=ir(M),F.data=nt(A)}),b[3][0].data=nt(E)}h[4][0].data=nt(b),l.messages[0].data=nt(h)})}function Wte(t,n,e,i,r,a){var o=[];fi(t,n,a,function(c){var d=ut(c.messages[0].data);d[1]=[{type:2,data:xr(i)}],o=k_(d[2],sn),c.messages[0].data=nt(d)});var s=Po(t,n,o[0]),l=sn(ut(s.messages[0].data)[2][0].data);fi(t,n,l,function(c,d){return Gte(t,n,e,c,d,l)})}var AF=!0;function Gte(t,n,e,i,r,a){if(!e["!ref"])throw new Error("Cannot export empty sheet to NUMBERS");var o=Un(e["!ref"]);o.s.r=o.s.c=0;var s=!1;o.e.c>999&&(s=!0,o.e.c=999),o.e.r>999999&&(s=!0,o.e.r=999999),s&&console.error("Truncating to ".concat(dn(o)));var l=[];if(e["!data"])l=e["!data"];else{for(var c=[],d=0;d<=o.e.c;++d)c[d]=pi(d);for(var u=0;u<=o.e.r;++u){l[u]=[];var h=""+(u+1);for(d=0;d<=o.e.c;++d){var m=e[c[d]+h];m&&(l[u][d]=m)}}}var g={cmnt:[{a:"~54ee77S~",t:"... the people who are crazy enough to think they can change the world, are the ones who do."}],ferr:[],fmla:[],nfmt:[],ofmt:[],rsst:[{v:"~54ee77S~",l:"https://sheetjs.com/"}],sst:["~Sh33tJ5~"]},_=ut(i.messages[0].data);{_[6][0].data=Ze(o.e.r+1),_[7][0].data=Ze(o.e.c+1),delete _[46];var p=ut(_[4][0].data);{var v=sn(ut(p[1][0].data)[2][0].data);fi(t,n,v,function(_t,St){var Et,Ft=ut(_t.messages[0].data);if((Et=Ft?.[2])!=null&&Et[0])for(var Ot=0;Ot<l.length;++Ot){var Wt=ut(Ft[2][0].data);Wt[1][0].data=Ze(Ot),Wt[4][0].data=Ze(l[Ot].length),Ft[2][Ot]={type:Ft[2][0].type,data:nt(Wt)}}_t.messages[0].data=nt(Ft)});var b=sn(p[2][0].data);fi(t,n,b,function(_t,St){for(var Et=ut(_t.messages[0].data),Ft=0;Ft<=o.e.c;++Ft){var Ot=ut(Et[2][0].data);Ot[1][0].data=Ze(Ft),Ot[4][0].data=Ze(o.e.r+1),Et[2][Ft]={type:Et[2][0].type,data:nt(Ot)}}_t.messages[0].data=nt(Et)});var y=ut(p[9][0].data);y[1]=[];var E=ut(p[3][0].data);{var F=256;E[2]=[{type:0,data:Ze(F)}];var A=sn(ut(E[1][0].data)[2][0].data),C=(function(){var _t=Po(t,n,2),St=ut(_t.messages[0].data),Et=St[3].filter(function(Ft){return pa(ut(Ft.data)[1][0].data)==A});return Et?.length?pa(ut(Et[0].data)[12][0].data):0}
vendor: 9,191 bytes, line 8148
8148)();ki.utils.cfb_del(t,n[A].location),fi(t,n,2,function(_t){var St=ut(_t.messages[0].data);St[3]=St[3].filter(function(Et){return pa(ut(Et.data)[1][0].data)!=A}),Hte(St,n,a,A),_t.messages[0].data=nt(St)}),bs(i,A),E[1]=[];for(var M=Math.ceil((o.e.r+1)/F),L=0;L<M;++L){var V=Ro({deps:[],location:"",type:6002},n);n[V].location="Root Entry/Index/Tables/Tile-".concat(V,".iwa");for(var z=[[],[{type:0,data:Ze(0)}],[{type:0,data:Ze(Math.min(o.e.r+1,(L+1)*F))}],[{type:0,data:Ze(0)}],[{type:0,data:Ze(Math.min((L+1)*F,o.e.r+1)-L*F)}],[],[{type:0,data:Ze(5)}],[{type:0,data:Ze(1)}],[{type:0,data:Ze(AF?1:0)}]],ee=L*F;ee<=Math.min(o.e.r,(L+1)*F-1);++ee){var ze=Ute(l[ee],g,AF);ze[1][0].data=Ze(ee-L*F),z[5].push({data:nt(ze),type:2})}E[1].push({type:2,data:nt([[],[{type:0,data:Ze(L)}],[{type:2,data:ir(V)}]])});var rt={id:V,messages:[Jw(6002,nt(z))]},Me=Au(Mu([rt]));ki.utils.cfb_add(t,"/Index/Tables/Tile-".concat(V,".iwa"),Me),fi(t,n,2,function(_t){var St=ut(_t.messages[0].data);St[3].push({type:2,data:nt([[],[{type:0,data:Ze(V)}],[{type:2,data:xr("Tables/Tile")}],[{type:2,data:xr("Tables/Tile-".concat(V))}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:Ze(0)}],[],[{type:0,data:Ze(C)}]])}),St[1]=[{type:0,data:Ze(Math.max(V+1,pa(St[1][0].data)))}],jr(St,n,a,V),_t.messages[0].data=nt(St)}),tr(i,V),y[1].push({type:2,data:nt([[],[{type:0,data:Ze(L*F)}],[{type:0,data:Ze(L)}]])})}}if(p[3][0].data=nt(E),p[9][0].data=nt(y),p[10]=[{type:2,data:new Uint8Array([])}],e["!merges"]){var yt=Ro({type:6144,deps:[a],location:n[a].location},n);r.push({id:yt,messages:[Jw(6144,nt([[],e["!merges"].map(function(_t){return{type:2,data:nt([[],[{type:2,data:nt([[],[{type:5,data:new Uint8Array(new Uint16Array([_t.s.r,_t.s.c]).buffer)}]])}],[{type:2,data:nt([[],[{type:5,data:new Uint8Array(new Uint16Array([_t.e.r-_t.s.r+1,_t.e.c-_t.s.c+1]).buffer)}]])}]])}})]))]}),p[13]=[{type:2,data:ir(yt)}],fi(t,n,2,function(_t){var St=ut(_t.messages[0].data);jr(St,n,a,yt),_t.messages[0].data=nt(St)}),tr(i,yt)}else delete p[13];var je=sn(p[4][0].data);fi(t,n,je,function(_t){var St=ut(_t.messages[0].data);St[3]=[],g.sst.forEach(function(Et,Ft){Ft!=0&&St[3].push({type:2,data:nt([[],[{type:0,data:Ze(Ft)}],[{type:0,data:Ze(1)}],[{type:2,data:xr(Et)}]])})}),_t.messages[0].data=nt(St)});var ri=sn(p[17][0].data);if(fi(t,n,ri,function(_t){var St=ut(_t.messages[0].data);St[3]=[];var Et=[904980,903835,903815,903845];g.rsst.forEach(function(Ft,Ot){if(Ot!=0){var Wt=[[],[{type:0,data:new Uint8Array([5])}],[],[{type:2,data:xr(Ft.v)}]];Wt[10]=[{type:0,data:new Uint8Array([1])}],Wt[19]=[{type:2,data:new Uint8Array([10,6,8,0,18,2,101,110])}],Wt[5]=[{type:2,data:new Uint8Array([10,8,8,0,18,4,8,155,149,55])}],Wt[2]=[{type:2,data:new Uint8Array([8,148,158,55])}],Wt[6]=[{type:2,data:new Uint8Array([10,6,8,0,16,0,24,0])}],Wt[7]=[{type:2,data:new Uint8Array([10,8,8,0,18,4,8,135,149,55])}],Wt[8]=[{type:2,data:new Uint8Array([10,8,8,0,18,4,8,165,149,55])}],Wt[14]=[{type:2,data:new Uint8Array([10,6,8,0,16,0,24,0])}],Wt[24]=[{type:2,data:new Uint8Array([10,6,8,0,16,0,24,0])}];var N=Ro({deps:[],location:"",type:2001},n),Y=[];if(Ft.l){var U=Sc(t,2032,[[],[],[{type:2,data:xr(Ft.l)}]],"/Index/Tables/DataList",n);Wt[11]=[];var B=[[],[]];B[1]||(B[1]=[]),B[1].push({type:2,data:nt([[],[{type:0,data:Ze(0)}],[{type:2,data:ir(U)}]])}),Wt[11][0]={type:2,data:nt(B)},Y.push(U)}Sc(t,2001,Wt,"/Index/Tables/DataList",n,N),fi(t,n,N,function(qe){Et.forEach(function(mt){return tr(qe,mt)}),Y.forEach(function(mt){return tr(qe,mt)})});var ve=Sc(t,6218,[[],[{type:2,data:ir(N)}],[],[{type:2,data:new Uint8Array([13,255,255,255,0,18,10,16,255,255,1,24,255,255,255,255,7])}]],"/Index/Tables/DataList",n);fi(t,n,ve,function(qe){return tr(qe,N)}),St[3].push({type:2,data:nt([[],[{type:0,data:Ze(Ot)}],[{type:0,data:Ze(1)}],[],[],[],[],[],[],[{type:2,data:ir(ve)}]])}),tr(_t,ve),fi(t,n,2,function(qe){var mt=ut(qe.messages[0].data);jr(mt,n,ri,ve),jr(mt,n,ve,N),jr(mt,n,N,Y),jr(mt,n,N,Et),qe.messages[0].data=nt(mt)})}}),_t.messages[0].data=nt(St)}),g.cmnt.length>1){var Ht=sn(p[19][0].data),wi={},kn=0;fi(t,n,Ht,function(_t){var St=ut(_t.messages[0].data);St[3]=[],g.cmnt.forEach(function(Et,Ft){if(Ft!=0){var Ot=[];Et.replies&&Et.replies.forEach(function(Y){wi[Y.a||""]||(wi[Y.a||""]=Sc(t,212,[[],[{type:2,data:xr(Y.a||"")}],[{type:2,data:MF(++kn)}],[],[{type:0,data:Ze(0)}]],"/Index/Tables/DataList",n));var U=wi[Y.a||""],B=Sc(t,3056,[[],[{type:2,data:xr(Y.t||"")}],[{type:2,data:nt([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:ir(U)}]],"/Index/Tables/DataList",n);fi(t,n,B,function(ve){return tr(ve,U)}),Ot.push(B),fi(t,n,2,function(ve){var qe=ut(ve.messages[0].data);jr(qe,n,B,U),ve.messages[0].data=nt(qe)})}),wi[Et.a||""]||(wi[Et.a||""]=Sc(t,212,[[],[{type:2,data:xr(Et.a||"")}],[{type:2,data:MF(++kn)}],[],[{type:0,data:Ze(0)}]],"/Index/Tables/DataList",n));var Wt=wi[Et.a||""],N=Sc(t,3056,[[],[{type:2,data:xr(Et.t||"")}],[{type:2,data:nt([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:ir(Wt)}],Ot.map(function(Y){return{type:2,data:ir(Y)}}),[{type:2,data:nt([[],[{type:0,data:Ze(Ft)}],[{type:0,data:Ze(0)}]])}]],"/Index/Tables/DataList",n);fi(t,n,N,function(Y){tr(Y,Wt),Ot.forEach(function(U){return tr(Y,U)})}),St[3].push({type:2,data:nt([[],[{type:0,data:Ze(Ft)}],[{type:0,data:Ze(1)}],[],[],[],[],[],[],[],[{type:2,data:ir(N)}]])}),tr(_t,N),fi(t,n,2,function(Y){var U=ut(Y.messages[0].data);jr(U,n,Ht,N),jr(U,n,N,Wt),Ot.length&&jr(U,n,N,Ot),Y.messages[0].data=nt(U)})}}),St[2][0].data=Ze(g.cmnt.length+1),_t.messages[0].data=nt(St)})}}_[4][0].data=nt(p)}i.messages[0].data=nt(_)}function qte(t){return function(e){for(var i=0;i!=t.length;++i){var r=t[i];e[r[0]]===void 0&&(e[r[0]]=r[1]),r[2]==="n"&&(e[r[0]]=Number(e[r[0]]))}}}function SC(t){qte([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(t)}function Yte(t,n){t&&!t.SSF&&(t.SSF=sr(Fi)),t&&t.SSF&&(A_(),M_(t.SSF),n.revssf=R_(t.SSF),n.revssf[t.SSF[65535]]=0,n.ssf=t.SSF),n.rels={},n.wbrels={},n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,af?n.revStrings=new Map:(n.revStrings={},n.revStrings.foo=[],delete n.revStrings.foo);var e="bin",i=!0,r=oO();SC(n=n||{});var a=oC(),o="",s=0;if(n.cellXfs=[],_l(n.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),o="docProps/core.xml",It(a,o,dO(t.Props,n)),r.coreprops.push(o),ci(n.rels,2,o,Kt.CORE_PROPS),o="docProps/app.xml",!(t.Props&&t.Props.SheetNames))if(!t.Workbook||!t.Workbook.Sheets)t.Props.SheetNames=t.SheetNames;else{for(var l=[],c=0;c<t.SheetNames.length;++c)(t.Workbook.Sheets[c]||{}).Hidden!=2&&l.push(t.SheetNames[c]);t.Props.SheetNames=l}t.Props.Worksheets=t.Props.SheetNames.length,It(a,o,hO(t.Props,n)),r.extprops.push(o),ci(n.rels,3,o,Kt.EXT_PROPS),t.Custprops!==t.Props&&cn(t.Custprops||{}).length>0&&(o="docProps/custom.xml",It(a,o,mO(t.Custprops,n)),r.custprops.push(o),ci(n.rels,4,o,Kt.CUST_PROPS));var d=["SheetJ5"];for(n.tcid=0,s=1;s<=t.SheetNames.length;++s){var u={"!id":{}},h=t.Sheets[t.SheetNames[s-1]],m=(h||{})["!type"]||"sheet";if(o="xl/worksheets/sheet"+s+"."+e,It(a,o,Iee(s-1,n,t,u)),r.sheets.push(o),ci(n.wbrels,-1,"worksheets/sheet"+s+"."+e,Kt.WS[0]),h){var g=h["!comments"],_=!1,p="";if(g&&g.length>0){var v=!1;g.forEach(function(y){y[1].forEach(function(E){E.T==!0&&(v=!0)})}),v&&(p="xl/threadedComments/threadedComment"+s+".xml",It(a,p,EO(g,d,n)),r.threadedcomments.push(p),ci(u,-1,"../threadedComments/threadedComment"+s+".xml",Kt.TCMNT)),p="xl/comments"+s+"."+e,It(a,p,bQ(g,n)),r.comments.push(p),ci(u,-1,"../comments"+s+"."+e,Kt.CMNT),_=!0}h["!legacy"]&&_&&It(a,"xl/drawings/vmlDrawing"+s+".vml",DO(s,h["!comments"])),delete h["!comments"],delete h["!legacy"]}u["!id"].rId1&&It(a,lO(o),Tu(u))}n.Strings!=null&&n.Strings.length>0&&(o="xl/sharedStrings."+e,It(a,o,IK(n.Strings,n)),r.strs.push(o),ci(n.wbrels,-1,"sharedStrings."+e,Kt.SST)),o="xl/workbook."+e,It(a,o,Kee(t,n)),r.workbooks.push(o),ci(n.rels,1,o,Kt.WB),o="xl/theme/theme1.xml";var b=kO(t.Themes,n);return It(a,o,b),r.themes.push(o),ci(n.wbrels,-1,"theme/theme1.xml",Kt.THEME),o="xl/styles."+e,It(a,o,nQ(t,n)),r.styles.push(o),ci(n.wbrels,-1,"styles."+e,Kt.STY),t.vbaraw&&i&&(o="xl/vbaProject.bin",It(a,o,t.vbaraw),r.vba.push(o),ci(n.wbrels,-1,"vbaProject.bin",Kt.VBA)),o="xl/metadata."+e,It(a,o,uQ()),r.metadata.push(o),ci(n.wbrels,-1,"metadata."+e,Kt.XLMETA),d.length>1&&(o="xl/persons/person.xml",It(a,o,TO(d,n)),r.people.push(o),ci(n.wbrels,-1,"persons/person.xml",Kt.PEOPLE)),It(a,"[Content_Types].xml",sO(r,n)),It(a,"_rels/.rels",Tu(n.rels)),It(a,"xl/_rels/workbook."+e+".rels",Tu(n.wbrels)),delete n.revssf,delete n.ssf,a}function Xte(t,n){t&&!t.SSF&&(t.SSF=sr(Fi)),t&&t.SSF&&(A_(),M_(t.SSF),n.revssf=R_(t.SSF),n.revssf[t.SSF[65535]]=0,n.ssf=t.SSF),n.rels={},n.wbrels={},n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,af?n.revStrings=new Map:(n.revStrings={},n.revStrings.foo=[],delete n.revStrings.foo);var e="xml",i=xQ.indexOf(n.bookType)>-1,r=oO();SC(n=n||{});var a=oC(),o="",s=0;if(n.cellXfs=[],_l(n.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),o="docProps/core.xml",It(a,o,dO(t.Props,n)),r.coreprops.push(o),ci(n.rels,2,o,Kt.CORE_PROP
8148S),o="docProps/app.xml",!(t.Props&&t.Props.SheetNames))if(!t.Workbook||!t.Workbook.Sheets)t.Props.SheetNames=t.SheetNames;else{for(var l=[],c=0;c<t.SheetNames.length;++c)(t.Workbook.Sheets[c]||{}).Hidden!=2&&l.push(t.SheetNames[c]);t.Props.SheetNames=l}t.Props.Worksheets=t.Props.SheetNames.length,It(a,o,hO(t.Props,n)),r.extprops.push(o),ci(n.rels,3,o,Kt.EXT_PROPS),t.Custprops!==t.Props&&cn(t.Custprops||{}).length>0&&(o="docProps/custom.xml",It(a,o,mO(t.Custprops,n)),r.custprops.push(o),ci(n.rels,4,o,Kt.CUST_PROPS));var d=["SheetJ5"];for(n.tcid=0,s=1;s<=t.SheetNames.length;++s){var u={"!id":{}},h=t.Sheets[t.SheetNames[s-1]],m=(h||{})["!type"]||"sheet";if(o="xl/worksheets/sheet"+s+"."+e,It(a,o,gJ(s-1,n,t,u)),r.sheets.push(o),ci(n.wbrels,-1,"worksheets/sheet"+s+"."+e,Kt.WS[0]),h){var g=h["!comments"],_=!1,p="";if(g&&g.length>0){var v=!1;g.forEach(function(b){b[1].forEach(function(y){y.T==!0&&(v=!0)})}),v&&(p="xl/threadedComments/threadedComment"+s+".xml",It(a,p,EO(g,d,n)),r.threadedcomments.push(p),ci(u,-1,"../threadedComments/threadedComment"+s+".xml",Kt.TCMNT)),p="xl/comments"+s+"."+e,It(a,p,pQ(g,n)),r.comments.push(p),ci(u,-1,"../comments"+s+"."+e,Kt.CMNT),_=!0}h["!legacy"]&&_&&It(a,"xl/drawings/vmlDrawing"+s+".vml",DO(s,h["!comments"])),delete h["!comments"],delete h["!legacy"]}u["!id"].rId1&&It(a,lO(o),Tu(u))}return n.Strings!=null&&n.Strings.length>0&&(o="xl/sharedStrings."+e,It(a,o,kK(n.Strings,n)),r.strs.push(o),ci(n.wbrels,-1,"sharedStrings."+e,Kt.SST)),o="xl/workbook."+e,It(a,o,Nee(t,n)),r.workbooks.push(o),ci(n.rels,1,o,Kt.WB),o="xl/theme/theme1.xml",It(a,o,kO(t.Themes,n)),r.themes.push(o),ci(n.wbrels,-1,"theme/theme1.xml",Kt.THEME),o="xl/styles."+e,It(a,o,NK(t,n)),r.styles.push(o),ci(n.wbrels,-1,"styles."+e,Kt.STY),t.vbaraw&&i&&(o="xl/vbaProject.bin",It(a,o,t.vbaraw),r.vba.push(o),ci(n.wbrels,-1,"vbaProject.bin",Kt.VBA)),o="xl/metadata."+e,It(a,o,hQ()),r.metadata.push(o),ci(n.wbrels,-1,"metadata."+e,Kt.XLMETA),d.length>1&&(o="xl/persons/person.xml",It(a,o,TO(d,n)),r.people.push(o),ci(n.wbrels,-1,"persons/person.xml",Kt.PEOPLE)),It(a,"[Content_Types].xml",sO(r,n)),It(a,"_rels/.rels",Tu(n.rels)),It(a,"xl/_rels/workbook."+e+".rels",Tu(n.wbrels)),delete n.revssf,delete n.ssf,a}function Kte(t,n){var e="";switch((n||{}).type||"base64"){case"buffer":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];case"base64":e=fl(t.slice(0,12));break;case"binary":e=t;break;case"array":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];default:throw new Error("Unrecognized type "+(n&&n.type||"undefined"))}return[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3),e.charCodeAt(4),e.charCodeAt(5),e.charCodeAt(6),e.charCodeAt(7)]}
8148function XO(t,n){switch(n.type){case"base64":case"binary":break;case"buffer":case"array":n.type="";break;case"file":return pf(n.file,ki.write(t,{type:di?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+n.bookType+"' files");default:throw new Error("Unrecognized type "+n.type)}return ki.write(t,n)}function Qte(t,n){switch(n.bookType){case"ods":return GO(t,n);case"numbers":return jte(t,n);case"xlsb":return Yte(t,n);default:return Xte(t,n)}}function Zte(t,n){var e=sr(n||{}),i=Qte(t,e);return Jte(i,e)}function Jte(t,n){var e={},i=di?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(n.compression&&(e.compression="DEFLATE"),n.password)e.type=i;else switch(n.type){case"base64":e.type="base64";break;case"binary":e.type="string";break;case"string":throw new Error("'string' output type invalid for '"+n.bookType+"' files");case"buffer":case"file":e.type=i;break;default:throw new Error("Unrecognized type "+n.type)}var r=t.FullPaths?ki.write(t,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[e.type]||e.type,compression:!!n.compression}):t.generate(e);if(typeof Deno<"u"&&typeof r=="string"){if(n.type=="binary"||n.type=="base64")return r;r=new Uint8Array(I_(r))}return n.password&&typeof encrypt_agile<"u"?XO(encrypt_agile(r,n.password),n):n.type==="file"?pf(n.file,r):n.type=="string"?Eu(r):r}function eie(t,n){var e=n||{},i=dte(t,e);return XO(i,e)}function Ao(t,n,e){e||(e="");var i=e+t;switch(n.type){case"base64":return h_(ys(i));case"binary":return ys(i);case"string":return t;case"file":return pf(n.file,i,"utf8");case"buffer":return di?Lo(i,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(i):Ao(i,{type:"binary"}).split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+n.type)}function tie(t,n){switch(n.type){case"base64":return tY(t);case"binary":return t;case"string":return t;case"file":return pf(n.file,t,"binary");case"buffer":return di?Lo(t,"binary"):t.split("").map(function(e){return e.charCodeAt(0)})}throw new Error("Unrecognized type "+n.type)}function d_(t,n){switch(n.type){case"string":case"base64":case"binary":for(var e="",i=0;i<t.length;++i)e+=String.fromCharCode(t[i]);return n.type=="base64"?h_(e):n.type=="string"?Eu(e):e;case"file":return pf(n.file,t);case"buffer":return t;default:throw new Error("Unrecognized type "+n.type)}}function KO(t,n){Jq(),Oee(t);var e=sr(n||{});if(e.cellStyles&&(e.cellNF=!0,e.sheetStubs=!0),e.type=="array"){e.type="binary";var i=KO(t,e);return e.type="array",I_(i)}var r=0;if(e.sheet&&(typeof e.sheet=="number"?r=e.sheet:r=t.SheetNames.indexOf(e.sheet),!t.SheetNames[r]))throw new Error("Sheet not found: "+e.sheet+" : "+typeof e.sheet);switch(e.bookType||"xlsb"){case"xml":case"xlml":return Ao(lte(t,e),e);case"slk":case"sylk":return Ao(xK.from_sheet(t.Sheets[t.SheetNames[r]],e,t),e);case"htm":case"html":return Ao(HO(t.Sheets[t.SheetNames[r]],e),e);case"txt":return tie(ZO(t.Sheets[t.SheetNames[r]],e),e);case"csv":return Ao(kC(t.Sheets[t.SheetNames[r]],e),e,"\uFEFF");case"dif":return Ao(wK.from_sheet(t.Sheets[t.SheetNames[r]],e),e);case"dbf":return d_(yK.from_sheet(t.Sheets[t.SheetNames[r]],e),e);case"prn":return Ao(CK.from_sheet(t.Sheets[t.SheetNames[r]],e),e);case"rtf":return Ao(AK(t.Sheets[t.SheetNames[r]],e),e);case"eth":return Ao(yO.from_sheet(t.Sheets[t.SheetNames[r]],e),e);case"fods":return Ao(GO(t,e),e);case"wk1":return d_(vF.sheet_to_wk1(t.Sheets[t.SheetNames[r]],e),e);case"wk3":return d_(vF.book_to_wk3(t,e),e);case"biff2":e.biff||(e.biff=2);case"biff3":e.biff||(e.biff=3);case"biff4":return e.biff||(e.biff=4),d_(jO(t,e),e);case"biff5":e.biff||(e.biff=5);case"biff8":case"xla":case"xls":return e.biff||(e.biff=8),eie(t,e);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return Zte(t,e);default:throw new Error("Unrecognized bookType |"+e.bookType+"|")}}function iie(t){if(!t.bookType){var n={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"},e=t.file.slice(t.file.lastIndexOf(".")).toLowerCase();e.match(/^\.[a-z]+$/)&&(t.bookType=e.slice(1)),t.bookType=n[t.bookType]||t.bookType}}function QO(t,n,e){var i=e||{};return i.type="file",i.file=n,iie(i),KO(t,i)}function nie(t,n,e,i,r,a,o){var s=xi(e),l=o.defval,c=o.raw||!Object.prototype.hasOwnProperty.call(o,"raw"),d=!0,u=t["!data"]!=null,h=r===1?[]:{};if(r!==1)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:e,enumerable:!1})}catch(p){h.__rowNum__=e}else h.__rowNum__=e;if(!u||t["!data"][e])for(var m=n.s.c;m<=n.e.c;++m){var g=u?(t["!data"][e]||[])[m]:t[i[m]+s];if(g==null||g.t===void 0){if(l===void 0)continue;a[m]!=null&&(h[a[m]]=l);continue}var _=g.v;switch(g.t){case"z":if(_==null)break;continue;case"e":_=_==0?null:void 0;break;case"s":case"b":case"n":if(!g.z||!Ic(g.z)||(_=Du(_),typeof _=="number"))break;case"d":o&&(o.UTC||o.raw===!1)||(_=Pu(new Date(_)));break;default:throw new Error("unrecognized type "+g.t)}if(a[m]!=null){if(_==null)if(g.t=="e"&&_===null)h[a[m]]=null;else if(l!==void 0)h[a[m]]=l;else if(c&&_===null)h[a[m]]=null;else continue;else h[a[m]]=(g.t==="n"&&typeof o.rawNumbers=="boolean"?o.rawNumbers:c)?_:ks(g,_,o);_!=null&&(d=!1)}}return{row:h,isempty:d}}function tC(t,n){if(t==null||t["!ref"]==null)return[];var e={t:"n",v:0},i=0,r=1,a=[],o=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=n||{},d=c.range!=null?c.range:t["!ref"];
8148switch(c.header===1?i=1:c.header==="A"?i=2:Array.isArray(c.header)?i=3:c.header==null&&(i=0),typeof d){case"string":l=Oi(d);break;case"number":l=Oi(t["!ref"]),l.s.r=d;break;default:l=d}i>0&&(r=0);var u=xi(l.s.r),h=[],m=[],g=0,_=0,p=t["!data"]!=null,v=l.s.r,b=0,y={};p&&!t["!data"][v]&&(t["!data"][v]=[]);var E=c.skipHidden&&t["!cols"]||[],F=c.skipHidden&&t["!rows"]||[];for(b=l.s.c;b<=l.e.c;++b)if(!(E[b]||{}).hidden)switch(h[b]=pi(b),e=p?t["!data"][v][b]:t[h[b]+u],i){case 1:a[b]=b-l.s.c;break;case 2:a[b]=h[b];break;case 3:a[b]=c.header[b-l.s.c];break;default:if(e==null&&(e={w:"__EMPTY",t:"s"}),s=o=ks(e,null,c),_=y[o]||0,!_)y[o]=1;else{do s=o+"_"+_++;while(y[s]);y[o]=_,y[s]=1}a[b]=s}for(v=l.s.r+r;v<=l.e.r;++v)if(!(F[v]||{}).hidden){var A=nie(t,l,v,h,i,a,c);(A.isempty===!1||(i===1?c.blankrows!==!1:c.blankrows))&&(m[g++]=A.row)}return m.length=g,m}var RF=/"/g;function rie(t,n,e,i,r,a,o,s,l){for(var c=!0,d=[],u="",h=xi(e),m=t["!data"]!=null,g=m&&t["!data"][e]||[],_=n.s.c;_<=n.e.c;++_)if(i[_]){var p=m?g[_]:t[i[_]+h];if(p==null)u="";else if(p.v!=null){c=!1,u=""+(l.rawNumbers&&p.t=="n"?p.v:ks(p,null,l));for(var v=0,b=0;v!==u.length;++v)if((b=u.charCodeAt(v))===r||b===a||b===34||l.forceQuotes){u='"'+u.replace(RF,'""')+'"';break}u=="ID"&&s==0&&d.length==0&&(u='"ID"')}else p.f!=null&&!p.F?(c=!1,u="="+p.f,u.indexOf(",")>=0&&(u='"'+u.replace(RF,'""')+'"')):u="";d.push(u)}if(l.strip)for(;d[d.length-1]==="";)--d.length;return l.blankrows===!1&&c?null:d.join(o)}function kC(t,n){var e=[],i=n??{};if(t==null||t["!ref"]==null)return"";for(var r=Oi(t["!ref"]),a=i.FS!==void 0?i.FS:",",o=a.charCodeAt(0),s=i.RS!==void 0?i.RS:`
8149`,l=s.charCodeAt(0),c="",d=[],u=i.skipHidden&&t["!cols"]||[],h=i.skipHidden&&t["!rows"]||[],m=r.s.c;m<=r.e.c;++m)(u[m]||{}).hidden||(d[m]=pi(m));for(var g=0,_=r.s.r;_<=r.e.r;++_)(h[_]||{}).hidden||(c=rie(t,r,_,d,o,l,a,g,i),c!=null&&(c||i.blankrows!==!1)&&e.push((g++?s:"")+c));return e.join("")}function ZO(t,n){n||(n={}),n.FS="	",n.RS=`
8150`;var e=kC(t,n);if(typeof ii>"u"||n.type=="string")return e;var i=ii.utils.encode(1200,e,"str");return"\xFF\xFE"+i}function aie(t,n){var e="",i,r="";if(t==null||t["!ref"]==null)return[];var a=Oi(t["!ref"]),o="",s=[],l,c=[],d=t["!data"]!=null;for(l=a.s.c;l<=a.e.c;++l)s[l]=pi(l);for(var u=a.s.r;u<=a.e.r;++u)for(o=xi(u),l=a.s.c;l<=a.e.c;++l)if(e=s[l]+o,i=d?(t["!data"][u]||[])[l]:t[e],r="",i!==void 0){if(i.F!=null){if(e=i.F,!i.f)continue;r=i.f,e.indexOf(":")==-1&&(e=e+":"+e)}if(i.f!=null)r=i.f;else{if(n&&n.values===!1)continue;if(i.t=="z")continue;if(i.t=="n"&&i.v!=null)r=""+i.v;else if(i.t=="b")r=i.v?"TRUE":"FALSE";else if(i.w!==void 0)r="'"+i.w;else{if(i.v===void 0)continue;i.t=="s"?r="'"+i.v:r=""+i.v}}c[c.length]=e+"="+r}return c}function JO(t,n,e){var i=e||{},r=t?t["!data"]!=null:i.dense;Fo!=null&&r==null&&(r=Fo);var a=+!i.skipHeader,o=t||{};!t&&r&&(o["!data"]=[]);var s=0,l=0;if(o&&i.origin!=null)if(typeof i.origin=="number")s=i.origin;else{var c=typeof i.origin=="string"?zi(i.origin):i.origin;s=c.r,l=c.c}var d={s:{c:0,r:0},e:{c:l,r:s+n.length-1+a}};if(o["!ref"]){var u=Oi(o["!ref"]);d.e.c=Math.max(d.e.c,u.e.c),d.e.r=Math.max(d.e.r,u.e.r),s==-1&&(s=u.e.r+1,d.e.r=s+n.length-1+a)}else s==-1&&(s=0,d.e.r=n.length-1+a);var h=i.header||[],m=0,g=[];n.forEach(function(p,v){r&&!o["!data"][s+v+a]&&(o["!data"][s+v+a]=[]),r&&(g=o["!data"][s+v+a]),cn(p).forEach(function(b){(m=h.indexOf(b))==-1&&(h[m=h.length]=b);var y=p[b],E="z",F="",A=r?"":pi(l+m)+xi(s+v+a),C=r?g[l+m]:o[A];y&&typeof y=="object"&&!(y instanceof Date)?r?g[l+m]=y:o[A]=y:(typeof y=="number"?E="n":typeof y=="boolean"?E="b":typeof y=="string"?E="s":y instanceof Date?(E="d",i.UTC||(y=P_(y)),i.cellDates||(E="n",y=zn(y)),F=C!=null&&C.z&&Ic(C.z)?C.z:i.dateNF||Fi[14]):y===null&&i.nullError&&(E="e",y=0),C?(C.t=E,C.v=y,delete C.w,delete C.R,F&&(C.z=F)):r?g[l+m]=C={t:E,v:y}:o[A]=C={t:E,v:y},F&&(C.z=F))})}),d.e.c=Math.max(d.e.c,l+h.length-1);var _=xi(s);if(r&&!o["!data"][s]&&(o["!data"][s]=[]),a)for(m=0;m<h.length;++m)r?o["!data"][s][m+l]={t:"s",v:h[m]}:o[pi(m+l)+_]={t:"s",v:h[m]};return o["!ref"]=dn(d),o}function oie(t,n){return JO(null,t,n)}function T_(t,n,e){if(typeof n=="string"){if(t["!data"]!=null){var i=zi(n);return t["!data"][i.r]||(t["!data"][i.r]=[]),t["!data"][i.r][i.c]||(t["!data"][i.r][i.c]={t:"z"})}return t[n]||(t[n]={t:"z"})}return typeof n!="number"?T_(t,Yi(n)):T_(t,pi(e||0)+xi(n))}function sie(t,n){if(typeof n=="number"){if(n>=0&&t.SheetNames.length>n)return n;throw new Error("Cannot find sheet # "+n)}else if(typeof n=="string"){var e=t.SheetNames.indexOf(n);if(e>-1)return e;throw new Error("Cannot find sheet name |"+n+"|")}else throw new Error("Cannot find sheet |"+n+"|")}function lie(t,n){var e={SheetNames:[],Sheets:{}};return t&&DC(e,t,n||"Sheet1"),e}function DC(t,n,e,i){var r=1;if(!e)for(;r<=65535&&t.SheetNames.indexOf(e="Sheet"+r)!=-1;++r,e=void 0);if(!e||t.SheetNames.length>=65535)throw new Error("Too many worksheets");if(i&&t.SheetNames.indexOf(e)>=0&&e.length<32){var a=e.match(/\d+$/);r=a&&+a[0]||0;var o=a&&e.slice(0,a.index)||e;for(++r;r<=65535&&t.SheetNames.indexOf(e=o+r)!=-1;++r);}if(VO(e),t.SheetNames.indexOf(e)>=0)throw new Error("Worksheet with name |"+e+"| already exists!");return t.SheetNames.push(e),t.Sheets[e]=n,e}function cie(t,n,e){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var i=sie(t,n);switch(t.Workbook.Sheets[i]||(t.Workbook.Sheets[i]={}),e){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+e)}t.Workbook.Sheets[i].Hidden=e}function die(t,n){return t.z=n,t}function eN(t,n,e){return n?(t.l={Target:n},e&&(t.l.Tooltip=e)):delete t.l,t}function uie(t,n,e){return eN(t,"#"+n,e)}function hie(t,n,e){t.c||(t.c=[]),t.c.push({t:n,a:e||"SheetJS"})}
8150function mie(t,n,e,i){for(var r=typeof n!="string"?n:Oi(n),a=typeof n=="string"?n:dn(n),o=r.s.r;o<=r.e.r;++o)for(var s=r.s.c;s<=r.e.c;++s){var l=T_(t,o,s);l.t="n",l.F=a,delete l.v,o==r.s.r&&s==r.s.c&&(l.f=e,i&&(l.D=!0))}var c=Un(t["!ref"]);return c.s.r>r.s.r&&(c.s.r=r.s.r),c.s.c>r.s.c&&(c.s.c=r.s.c),c.e.r<r.e.r&&(c.e.r=r.e.r),c.e.c<r.e.c&&(c.e.c=r.e.c),t["!ref"]=dn(c),t}var z_={encode_col:pi,encode_row:xi,encode_cell:Yi,encode_range:dn,decode_col:gC,decode_row:pC,split_cell:cX,decode_cell:zi,decode_range:Un,format_cell:ks,sheet_new:dX,sheet_add_aoa:tO,sheet_add_json:JO,sheet_add_dom:$O,aoa_to_sheet:Bu,json_to_sheet:oie,table_to_sheet:WO,table_to_book:Pte,sheet_to_csv:kC,sheet_to_txt:ZO,sheet_to_json:tC,sheet_to_html:HO,sheet_to_formulae:aie,sheet_to_row_object_array:tC,sheet_get_cell:T_,book_new:lie,book_append_sheet:DC,book_set_sheet_visibility:cie,cell_set_number_format:die,cell_set_hyperlink:eN,cell_set_internal_link:uie,cell_add_comment:hie,sheet_set_array_formula:mie,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};var U2e=of.version;var pie=["*"];var gie=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],_ie=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
8151      [mat-card-title], [mat-card-subtitle],
8152      [matCardTitle], [matCardSubtitle]`,"*"],vie=new W("MAT_CARD_CONFIG"),X2e=(()=>{class t{appearance;constructor(){let e=f(vie,{optional:!0});this.appearance=e?.appearance||"raised"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:8,hostBindings:function(i,r){i&2&&ce("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")("mat-mdc-card-filled",r.appearance==="filled")("mdc-card--filled",r.appearance==="filled")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:pie,decls:1,vars:0,template:function(i,r){i&1&&(Ge(),_e(0))},styles:[`.mat-mdc-card {
8153  display: flex;
8154  flex-direction: column;
8155  box-sizing: border-box;
8156  position: relative;
8157  border-style: solid;
8158  border-width: 0;
8159  background-color: var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));
8160  border-color: var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));
8161  border-radius: var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium));
8162  box-shadow: var(--mat-card-elevated-container-elevation, var(--mat-sys-level1));
8163}
8164.mat-mdc-card::after {
8165  position: absolute;
8166  top: 0;
8167  left: 0;
8168  width: 100%;
8169  height: 100%;
8170  border: solid 1px transparent;
8171  content: "";
8172  display: block;
8173  pointer-events: none;
8174  box-sizing: border-box;
8175  border-radius: var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium));
8176}
8177
8178.mat-mdc-card-outlined {
8179  background-color: var(--mat-card-outlined-container-color, var(--mat-sys-surface));
8180  border-radius: var(--mat-card-outlined-container-shape, var(--mat-sys-corner-medium));
8181  border-width: var(--mat-card-outlined-outline-width, 1px);
8182  border-color: var(--mat-card-outlined-outline-color, var(--mat-sys-outline-variant));
8183  box-shadow: var(--mat-card-outlined-container-elevation, var(--mat-sys-level0));
8184}
8185.mat-mdc-card-outlined::after {
8186  border: none;
8187}
8188
8189.mat-mdc-card-filled {
8190  background-color: var(--mat-card-filled-container-color, var(--mat-sys-surface-container-highest));
8191  border-radius: var(--mat-card-filled-container-shape, var(--mat-sys-corner-medium));
8192  box-shadow: var(--mat-card-filled-container-elevation, var(--mat-sys-level0));
8193}
8194
8195.mdc-card__media {
8196  position: relative;
8197  box-sizing: border-box;
8198  background-repeat: no-repeat;
8199  background-position: center;
8200  background-size: cover;
8201}
8202.mdc-card__media::before {
8203  display: block;
8204  content: "";
8205}
8206.mdc-card__media:first-child {
8207  border-top-left-radius: inherit;
8208  border-top-right-radius: inherit;
8209}
8210.mdc-card__media:last-child {
8211  border-bottom-left-radius: inherit;
8212  border-bottom-right-radius: inherit;
8213}
8214
8215.mat-mdc-card-actions {
8216  display: flex;
8217  flex-direction: row;
8218  align-items: center;
8219  box-sizing: border-box;
8220  min-height: 52px;
8221  padding: 8px;
8222}
8223
8224.mat-mdc-card-title {
8225  font-family: var(--mat-card-title-text-font, var(--mat-sys-title-large-font));
8226  line-height: var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));
8227  font-size: var(--mat-card-title-text-size, var(--mat-sys-title-large-size));
8228  letter-spacing: var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));
8229  font-weight: var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight));
8230}
8231
8232.mat-mdc-card-subtitle {
8233  color: var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));
8234  font-family: var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));
8235  line-height: var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));
8236  font-size: var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));
8237  letter-spacing: var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));
8238  font-weight: var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight));
8239}
8240
8241.mat-mdc-card-title,
8242.mat-mdc-card-subtitle {
8243  display: block;
8244  margin: 0;
8245}
8246.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-title,
8247.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-subtitle {
8248  padding: 16px 16px 0;
8249}
8250
8251.mat-mdc-card-header {
8252  display: flex;
8253  padding: 16px 16px 0;
8254}
8255
8256.mat-mdc-card-content {
8257  display: block;
8258  padding: 0 16px;
8259}
8260.mat-mdc-card-content:first-child {
8261  padding-top: 16px;
8262}
8263.mat-mdc-card-content:last-child {
8264  padding-bottom: 16px;
8265}
8266
8267.mat-mdc-card-title-group {
8268  display: flex;
8269  justify-content: space-between;
8270  width: 100%;
8271}
8272
8273.mat-mdc-card-avatar {
8274  height: 40px;
8275  width: 40px;
8276  border-radius: 50%;
8277  flex-shrink: 0;
8278  margin-bottom: 16px;
8279  object-fit: cover;
8280}
8281.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-subtitle,
8282.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-title {
8283  line-height: normal;
8284}
8285
8286.mat-mdc-card-sm-image {
8287  width: 80px;
8288  height: 80px;
8289}
8290
8291.mat-mdc-card-md-image {
8292  width: 112px;
8293  height: 112px;
8294}
8295
8296.mat-mdc-card-lg-image {
8297  width: 152px;
8298  height: 152px;
8299}
8300
8301.mat-mdc-card-xl-image {
8302  width: 240px;
8303  height: 240px;
8304}
8305
8306.mat-mdc-card-subtitle ~ .mat-mdc-card-title,
8307.mat-mdc-card-title ~ .mat-mdc-card-subtitle,
8308.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,
8309.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,
8310.mat-mdc-card-title-group .mat-mdc-card-title,
8311.mat-mdc-card-title-group .mat-mdc-card-subtitle {
8312  padding-top: 0;
8313}
8314
8315.mat-mdc-card-content > :last-child:not(.mat-mdc-card-footer) {
8316  margin-bottom: 0;
8317}
8318
8319.mat-mdc-card-actions-align-end {
8320  justify-content: flex-end;
8321}
8322`],encapsulation:2,changeDetection:0})}return t})(),K2e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return t})();var Q2e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return t})(),Z2e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return t})(),J2e=(()=>{class t{align="start";static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mat-mdc-card-actions-align-end",r.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]})}return t})(),eTe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:_ie,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,r){i&1&&(Ge(gie),_e(0),Rt(1,"div",0),_e(2,1),Lt(),_e(3,2))},encapsulation:2,changeDetection:0})}return t})();var tTe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"]})}return t})();var iTe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Ye]})}return t})();function yf(t){return t+.5|0}var vl=(t,n,e)=>Math.max(Math.min(t,e),n);function vf(t){return vl(yf(t*2.55),0,255)}function bl(t){return vl(yf(t*255),0,255)}function Ds(t){return vl(yf(t/2.55)/100,0,1)}function tN(t){return vl(yf(t*100),0,100)}var La={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},TC=[..."0123456789ABCDEF"],bie=t=>TC[t&15],yie=t=>TC[(t&240)>>4]+TC[t&15],j_=t=>(t&240)>>4===(t&15),xie=t=>j_(t.r)&&j_(t.g)&&j_(t.b)&&j_(t.a);function wie(t){var n=t.length,e;return t[0]==="#"&&(n===4||n===5?e={r:255&La[t[1]]*17,g:255&La[t[2]]*17,b:255&La[t[3]]*17,a:n===5?La[t[4]]*17:255}:(n===7||n===9)&&(e={r:La[t[1]]<<4|La[t[2]],g:La[t[3]]<<4|La[t[4]],b:La[t[5]]<<4|La[t[6]],a:n===9?La[t[7]]<<4|La[t[8]]:255})),e}var Cie=(t,n)=>t<255?n(t):"";function Sie(t){var n=xie(t)?bie:yie;return t?"#"+n(t.r)+n(t.g)+n(t.b)+Cie(t.a,n):void 0}var kie=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function aN(t,n,e){let i=n*Math.min(e,1-e),r=(a,o=(a+t/30)%12)=>e-i*Math.max(Math.min(o-3,9-o,1),-1);return[r(0),r(8),r(4)]}function Die(t,n,e){let i=(r,a=(r+t/60)%6)=>e-e*n*Math.max(Math.min(a,4-a,1),0);return[i(5),i(3),i(1)]}function Eie(t,n,e){let i=aN(t,1,.5),r;for(n+e>1&&(r=1/(n+e),n*=r,e*=r),r=0;r<3;r++)i[r]*=1-n-e,i[r]+=n;return i}function Tie(t,n,e,i,r){return t===r?(n-e)/i+(n<e?6:0):n===r?(e-t)/i+2:(t-n)/i+4}function IC(t){let e=t.r/255,i=t.g/255,r=t.b/255,a=Math.max(e,i,r),o=Math.min(e,i,r),s=(a+o)/2,l,c,d;return a!==o&&(d=a-o,c=s>.5?d/(2-a-o):d/(a+o),l=Tie(e,i,r,d,a),l=l*60+.5),[l|0,c||0,s]}function MC(t,n,e,i){return(Array.isArray(n)?t(n[0],n[1],n[2]):t(n,e,i)).map(bl)}function AC(t,n,e){return MC(aN,t,n,e)}function Iie(t,n,e){return MC(Eie,t,n,e)}function Mie(t,n,e){return MC(Die,t,n,e)}function oN(t){return(t%360+360)%360}function Aie(t){let n=kie.exec(t),e=255,i;if(!n)return;n[5]!==i&&(e=n[6]?vf(+n[5]):bl(+n[5]));let r=oN(+n[2]),a=+n[3]/100,o=+n[4]/100;return n[1]==="hwb"?i=Iie(r,a,o):n[1]==="hsv"?i=Mie(r,a,o):i=AC(r,a,o),{r:i[0],g:i[1],b:i[2],a:e}}function Rie(t,n){var e=IC(t);e[0]=oN(e[0]+n),e=AC(e),t.r=e[0],t.g=e[1],t.b=e[2]}function Pie(t){if(!t)return;let n=IC(t),e=n[0],i=tN(n[1]),r=tN(n[2]);return t.a<255?`hsla(${e}, ${i}%, ${r}%, ${Ds(t.a)})`:`hsl(${e}, ${i}%, ${r}%)`}var iN={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},nN={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",K
vendor: 9,359 bytes, line 8322
8322ocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Fie(){let t={},n=Object.keys(nN),e=Object.keys(iN),i,r,a,o,s;for(i=0;i<n.length;i++){for(o=s=n[i],r=0;r<e.length;r++)a=e[r],s=s.replace(a,iN[a]);a=parseInt(nN[o],16),t[s]=[a>>16&255,a>>8&255,a&255]}return t}var H_;function Oie(t){H_||(H_=Fie(),H_.transparent=[0,0,0,0]);let n=H_[t.toLowerCase()];return n&&{r:n[0],g:n[1],b:n[2],a:n.length===4?n[3]:255}}var Nie=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Lie(t){let n=Nie.exec(t),e=255,i,r,a;if(n){if(n[7]!==i){let o=+n[7];e=n[8]?vf(o):vl(o*255,0,255)}return i=+n[1],r=+n[3],a=+n[5],i=255&(n[2]?vf(i):vl(i,0,255)),r=255&(n[4]?vf(r):vl(r,0,255)),a=255&(n[6]?vf(a):vl(a,0,255)),{r:i,g:r,b:a,a:e}}}function Bie(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Ds(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}var EC=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,zu=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Vie(t,n,e){let i=zu(Ds(t.r)),r=zu(Ds(t.g)),a=zu(Ds(t.b));return{r:bl(EC(i+e*(zu(Ds(n.r))-i))),g:bl(EC(r+e*(zu(Ds(n.g))-r))),b:bl(EC(a+e*(zu(Ds(n.b))-a))),a:t.a+e*(n.a-t.a)}}function $_(t,n,e){if(t){let i=IC(t);i[n]=Math.max(0,Math.min(i[n]+i[n]*e,n===0?360:1)),i=AC(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function sN(t,n){return t&&Object.assign(n||{},t)}function rN(t){var n={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(n={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(n.a=bl(t[3]))):(n=sN(t,{r:0,g:0,b:0,a:1}),n.a=bl(n.a)),n}function Uie(t){return t.charAt(0)==="r"?Lie(t):Aie(t)}var bf=class t{constructor(n){if(n instanceof t)return n;let e=typeof n,i;e==="object"?i=rN(n):e==="string"&&(i=wie(n)||Oie(n)||Uie(n)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var n=sN(this._rgb);return n&&(n.a=Ds(n.a)),n}set rgb(n){this._rgb=rN(n)}rgbString(){return this._valid?Bie(this._rgb):void 0}hexString(){return this._valid?Sie(this._rgb):void 0}hslString(){return this._valid?Pie(this._rgb):void 0}mix(n,e){if(n){let i=this.rgb,r=n.rgb,a,o=e===a?.5:e,s=2*o-1,l=i.a-r.a,c=((s*l===-1?s:(s+l)/(1+s*l))+1)/2;a=1-c,i.r=255&c*i.r+a*r.r+.5,i.g=255&c*i.g+a*r.g+.5,i.b=255&c*i.b+a*r.b+.5,i.a=o*i.a+(1-o)*r.a,this.rgb=i}return this}interpolate(n,e){return n&&(this._rgb=Vie(this._rgb,n._rgb,e)),this}clone(){return new t(this.rgb)}alpha(n){return this._rgb.a=bl(n),this}clearer(n){let e=this._rgb;return e.a*=1-n,this}greyscale(){let n=this._rgb,e=yf(n.r*.3+n.g*.59+n.b*.11);return n.r=n.g=n.b=e,this}opaquer(n){let e=this._rgb;return e.a*=1+n,this}negate(){let n=this._rgb;return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,this}lighten(n){return $_(this._rgb,2,n),this}darken(n){return $_(this._rgb,2,-n),this}saturate(n){return $_(this._rgb,1,n),this}desaturate(n){return $_(this._rgb,1,-n),this}rotate(n){return Rie(this._rgb,n),this}};function Uo(){}var vN=(()=>{let t=0;return()=>t++})();function Ut(t){return t==null}function Mi(t){if(Array.isArray&&Array.isArray(t))return!0;let n=Object.prototype.toString.call(t);return n.slice(0,7)==="[object"&&n.slice(-6)==="Array]"}function jt(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function Xi(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function $r(t,n){return Xi(t)?t:n}function Ct(t,n){return typeof t>"u"?n:t}var bN=(t,n)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/n,OC=(t,n)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*n:+t;function Di(t,n,e){if(t&&typeof t.call=="function")return t.apply(e,n)}function mi(t,n,e,i){let r,a,o;if(Mi(t))if(a=t.length,i)for(r=a-1;r>=0;r--)n.call(e,t[r],r);else for(r=0;r<a;r++)n.call(e,t[r],r);else if(jt(t))for(o=Object.keys(t),a=o.length,r=0;r<a;r++)n.call(e,t[o[r]],o[r])}function Cf(t,n){let e,i,r,a;if(!t||!n||t.length!==n.length)return!1;for(e=0,i=t.length;e<i;++e)if(r=t[e],a=n[e],r.datasetIndex!==a.datasetIndex||r.index!==a.index)return!1;return!0}function Y_(t){if(Mi(t))return t.map(Y_);if(jt(t)){let n=Object.create(null),e=Object.keys(t),i=e.length,r=0;for(;r<i;++r)n[e[r]]=Y_(t[e[r]]);return n}return t}function yN(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function zie(t,n,e,i){if(!yN(t))return;let r=n[t],a=e[t];jt(r)&&jt(a)?Hu(r,a,i):n[t]=Y_(a)}function Hu(t,n,e){let i=Mi(n)?n:[n],r=i.length;if(!jt(t))return t;e=e||{};let a=e.merger||zie,o;for(let s=0;s<r;++s){if(o=i[s],!jt(o))continue;let l=Object.keys(o);for(let c=0,d=l.length;c<d;++c)a(l[c],t,o,e)}return t}function Wu(t,n){return Hu(t,n,{merger:jie})}function jie(t,n,e){if(!yN(t))return;let i=n[t],r=e[t];jt(i)&&jt(r)?Wu(i,r):Object.prototype.hasOwnProperty.call(n,t)||(n[t]=Y_(r))}var lN={"":t=>t,x:t=>t.x,y:t=>t.y};function Hie(t){let n=t.split("."),e=[],i="";for(let r of n)i+=r,i.endsWith("\\")?i=i.slice(0,-1)+".":(e.push(i),i="");return e}function $ie(t){let n=Hie(t);return e=>{for(let i of n){if(i==="")break;e=e&&e[i]}return e}}function Is(t,n){return(lN[n]||(lN[n]=$ie(n)))(t)}function Z_(t){return t.charAt(0).toUpperCase()+t.slice(1)}var Gu=t=>typeof t<"u",Es=t=>typeof t=="function",NC=(t,n)=>{if(t.size!==n.size)return!1;for(let e of t)if(!n.has(e))return!1;return!0};function xN(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}var ni=Math.PI,Ai=2*ni,Wie=Ai+ni,X_=Number.POSITIVE_INFINITY,Gie=ni/180,Qi=ni/2,Nc=ni/4,cN=ni*2/3,Ts=Math.log10,uo=Math.sign;function qu(t,n,e){return Math.abs(t-n)<e}function LC(t){let n=Math.round(t);t=qu(t,n,t/1e3)?n:t;let e=Math.pow(10,Math.floor(Ts(t))),i=t/e;return(i<=1?1:i<=2?2:i<=5?5:10)*e}function wN(t){let n=[],e=Math.sqrt(t),i;for(i=1;i<e;i++)t%i===0&&(n.push(i),n.push(t/i));return e===(e|0)&&n.push(e),n.sort((r,a)=>r-a).pop(),n}function qie(t){return typeof t=="symbol"||typeof t=="object"&&t!==null&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}function Vc(t){return!qie(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function CN(t,n){let e=Math.round(t);return e-n<=t&&e+n>=t}function BC(t,n,e){let i,r,a;for(i=0,r=t.length;i<r;i++)a=t[i][e],isNaN(a)||(n.min=Math.min(n.min,a),n.max=Math.max(n.max,a))}function Ba(t){return t*(ni/180)}function J_(t){return t*(180/ni)}function VC(t){if(!Xi(t))return;let n=1,e=0;for(;Math.round(t*n)/n!==t;)n*=10,e++;return e}function UC(t,n){let e=n.x-t.x,i=n.y-t.y,r=Math.sqrt(e*e+i*i),a=Math.atan2(i,e);return a<-.5*ni&&(a+=Ai),{angle:a,distance:r}}function K_(t,n){return Math.sqrt(Math.pow(n.x-t.x,2)+Math.pow(n.y-t.y,2))}function Yie(t,n){return(t-n+Wie)%Ai-ni}function jn(t){return(t%Ai+Ai)%Ai}function Yu(t,n,e,i){let r=jn(t),a=jn(n),o=jn(e),s=jn(a-r),l=jn(o-r),c=jn(r-a),d=jn(r-o);return r===a||r===o||i&&a===o||s>l&&c<d}function Sn(t,n,e){return Math.max(n,Math.min(e,t))}function SN(t){return Sn(t,-32768,32767)}function zo(t,n,e,i=1e-6){return t>=Math.min(n,e)-i&&t<=Math.max(n,e)+i}function ev(t,n,e){e=e||(o=>t[o]<n);let i=t.length-1,r=0,a;for(;i-r>1;)a=r+i>>1,e(a)?r=a:i=a;return{lo:r,hi:i}}var Bo=(t,n,e,i)=>ev(t,e,i?r=>{let a=t[r][n];return a<e||a===e&&t[r+1][n]===e}:r=>t[r][n]<e),kN=(t,n,e)=>ev(t,e,i=>t[i][n]>=e);function DN(t,n,e){let i=0,r=t.length;for(;i<r&&t[i]<n;)i++;for(;r>i&&t[r-1]>e;)r--;return i>0||r<t.length?t.slice(i,r):t}var EN=["push","pop","shift","splice","unshift"];function TN(t,n){if(t._chartjs){t._chartjs.listeners.push(n);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[n]}}
8322),EN.forEach(e=>{let i="_onData"+Z_(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...a){let o=r.apply(this,a);return t._chartjs.listeners.forEach(s=>{typeof s[i]=="function"&&s[i](...a)}),o}})})}function zC(t,n){let e=t._chartjs;if(!e)return;let i=e.listeners,r=i.indexOf(n);r!==-1&&i.splice(r,1),!(i.length>0)&&(EN.forEach(a=>{delete t[a]}),delete t._chartjs)}function jC(t){let n=new Set(t);return n.size===t.length?t:Array.from(n)}var HC=(function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame})();function $C(t,n){let e=[],i=!1;return function(...r){e=r,i||(i=!0,HC.call(window,()=>{i=!1,t.apply(n,e)}))}}function IN(t,n){let e;return function(...i){return n?(clearTimeout(e),e=setTimeout(t,n,i)):t.apply(this,i),n}}var tv=t=>t==="start"?"left":t==="end"?"right":"center",Hn=(t,n,e)=>t==="start"?n:t==="end"?e:(n+e)/2,MN=(t,n,e,i)=>t===(i?"left":"right")?e:t==="center"?(n+e)/2:n;function WC(t,n,e){let i=n.length,r=0,a=i;if(t._sorted){let{iScale:o,vScale:s,_parsed:l}=t,c=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null,d=o.axis,{min:u,max:h,minDefined:m,maxDefined:g}=o.getUserBounds();if(m){if(r=Math.min(Bo(l,d,u).lo,e?i:Bo(n,d,o.getPixelForValue(u)).lo),c){let _=l.slice(0,r+1).reverse().findIndex(p=>!Ut(p[s.axis]));r-=Math.max(0,_)}r=Sn(r,0,i-1)}if(g){let _=Math.max(Bo(l,o.axis,h,!0).hi+1,e?0:Bo(n,d,o.getPixelForValue(h),!0).hi+1);if(c){let p=l.slice(_-1).findIndex(v=>!Ut(v[s.axis]));_+=Math.max(0,p)}a=Sn(_,r,i)-r}else a=i-r}return{start:r,count:a}}function GC(t){let{xScale:n,yScale:e,_scaleRanges:i}=t,r={xmin:n.min,xmax:n.max,ymin:e.min,ymax:e.max};if(!i)return t._scaleRanges=r,!0;let a=i.xmin!==n.min||i.xmax!==n.max||i.ymin!==e.min||i.ymax!==e.max;return Object.assign(i,r),a}var W_=t=>t===0||t===1,dN=(t,n,e)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-n)*Ai/e)),uN=(t,n,e)=>Math.pow(2,-10*t)*Math.sin((t-n)*Ai/e)+1,ju={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Qi)+1,easeOutSine:t=>Math.sin(t*Qi),easeInOutSine:t=>-.5*(Math.cos(ni*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>W_(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>W_(t)?t:dN(t,.075,.3),easeOutElastic:t=>W_(t)?t:uN(t,.075,.3),easeInOutElastic(t){return W_(t)?t:t<.5?.5*dN(t*2,.1125,.45):.5+.5*uN(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let n=1.70158;return(t/=.5)<1?.5*(t*t*(((n*=1.525)+1)*t-n)):.5*((t-=2)*t*(((n*=1.525)+1)*t+n)+2)},easeInBounce:t=>1-ju.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?ju.easeInBounce(t*2)*.5:ju.easeOutBounce(t*2-1)*.5+.5};function qC(t){if(t&&typeof t=="object"){let n=t.toString();return n==="[object CanvasPattern]"||n==="[object CanvasGradient]"}return!1}function YC(t){return qC(t)?t:new bf(t)}function RC(t){return qC(t)?t:new bf(t).saturate(.5).darken(.1).hexString()}var Xie=["x","y","borderWidth","radius","tension"],Kie=["color","borderColor","backgroundColor"];function Qie(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:n=>n!=="onProgress"&&n!=="onComplete"&&n!=="fn"}),t.set("animations",{colors:{type:"color",properties:Kie},numbers:{type:"number",properties:Xie}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:n=>n|0}}}})}function Zie(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var hN=new Map;function Jie(t,n){n=n||{};let e=t+JSON.stringify(n),i=hN.get(e);
vendor: 3,156 bytes, line 8322
8322return i||(i=new Intl.NumberFormat(t,n),hN.set(e,i)),i}function Xu(t,n,e){return Jie(n,e).format(t)}var AN={values(t){return Mi(t)?t:""+t},numeric(t,n,e){if(t===0)return"0";let i=this.chart.options.locale,r,a=t;if(e.length>1){let c=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(c<1e-4||c>1e15)&&(r="scientific"),a=ene(t,e)}let o=Ts(Math.abs(a)),s=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),l={notation:r,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(l,this.options.ticks.format),Xu(t,i,l)},logarithmic(t,n,e){if(t===0)return"0";let i=e[n].significand||t/Math.pow(10,Math.floor(Ts(t)));return[1,2,3,5,10,15].includes(i)||n>.8*e.length?AN.numeric.call(this,t,n,e):""}};function ene(t,n){let e=n.length>3?n[2].value-n[1].value:n[1].value-n[0].value;return Math.abs(e)>=1&&t!==Math.floor(t)&&(e=t-Math.floor(t)),e}var Sf={formatters:AN};function tne(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(n,e)=>e.lineWidth,tickColor:(n,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Sf.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:n=>!n.startsWith("before")&&!n.startsWith("after")&&n!=="callback"&&n!=="parser",_indexable:n=>n!=="borderDash"&&n!=="tickBorderDash"&&n!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:n=>n!=="backdropPadding"&&n!=="callback",_indexable:n=>n!=="backdropPadding"})}var wl=Object.create(null),iv=Object.create(null);function xf(t,n){if(!n)return t;let e=n.split(".");for(let i=0,r=e.length;i<r;++i){let a=e[i];t=t[a]||(t[a]=Object.create(null))}return t}function PC(t,n,e){return typeof n=="string"?Hu(xf(t,n),e):Hu(xf(t,""),n)}var FC=class{constructor(n,e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=i=>i.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(i,r)=>RC(r.backgroundColor),this.hoverBorderColor=(i,r)=>RC(r.borderColor),this.hoverColor=(i,r)=>RC(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={}
vendor: 5,075 bytes, line 8322
8322,this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(n),this.apply(e)}set(n,e){return PC(this,n,e)}get(n){return xf(this,n)}describe(n,e){return PC(iv,n,e)}override(n,e){return PC(wl,n,e)}route(n,e,i,r){let a=xf(this,n),o=xf(this,i),s="_"+e;Object.defineProperties(a,{[s]:{value:a[e],writable:!0},[e]:{enumerable:!0,get(){let l=this[s],c=o[r];return jt(l)?Object.assign({},c,l):Ct(l,c)},set(l){this[s]=l}}})}apply(n){n.forEach(e=>e(this))}},Ni=new FC({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[Qie,Zie,tne]);function ine(t){return!t||Ut(t.size)||Ut(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function wf(t,n,e,i,r){let a=n[r];return a||(a=n[r]=t.measureText(r).width,e.push(r)),a>i&&(i=a),i}function RN(t,n,e,i){i=i||{};let r=i.data=i.data||{},a=i.garbageCollect=i.garbageCollect||[];i.font!==n&&(r=i.data={},a=i.garbageCollect=[],i.font=n),t.save(),t.font=n;let o=0,s=e.length,l,c,d,u,h;for(l=0;l<s;l++)if(u=e[l],u!=null&&!Mi(u))o=wf(t,r,a,o,u);else if(Mi(u))for(c=0,d=u.length;c<d;c++)h=u[c],h!=null&&!Mi(h)&&(o=wf(t,r,a,o,h));t.restore();let m=a.length/2;if(m>e.length){for(l=0;l<m;l++)delete r[a[l]];a.splice(0,m)}return o}function Cl(t,n,e){let i=t.currentDevicePixelRatio,r=e!==0?Math.max(e/2,.5):0;return Math.round((n-r)*i)/i+r}function XC(t,n){!n&&!t||(n=n||t.getContext("2d"),n.save(),n.resetTransform(),n.clearRect(0,0,t.width,t.height),n.restore())}function nv(t,n,e,i){KC(t,n,e,i,null)}function KC(t,n,e,i,r){let a,o,s,l,c,d,u,h,m=n.pointStyle,g=n.rotation,_=n.radius,p=(g||0)*Gie;if(m&&typeof m=="object"&&(a=m.toString(),a==="[object HTMLImageElement]"||a==="[object HTMLCanvasElement]")){t.save(),t.translate(e,i),t.rotate(p),t.drawImage(m,-m.width/2,-m.height/2,m.width,m.height),t.restore();return}if(!(isNaN(_)||_<=0)){switch(t.beginPath(),m){default:r?t.ellipse(e,i,r/2,_,0,0,Ai):t.arc(e,i,_,0,Ai),t.closePath();break;case"triangle":d=r?r/2:_,t.moveTo(e+Math.sin(p)*d,i-Math.cos(p)*_),p+=cN,t.lineTo(e+Math.sin(p)*d,i-Math.cos(p)*_),p+=cN,t.lineTo(e+Math.sin(p)*d,i-Math.cos(p)*_),t.closePath();break;case"rectRounded":c=_*.516,l=_-c,o=Math.cos(p+Nc)*l,u=Math.cos(p+Nc)*(r?r/2-c:l),s=Math.sin(p+Nc)*l,h=Math.sin(p+Nc)*(r?r/2-c:l),t.arc(e-u,i-s,c,p-ni,p-Qi),t.arc(e+h,i-o,c,p-Qi,p),t.arc(e+u,i+s,c,p,p+Qi),t.arc(e-h,i+o,c,p+Qi,p+ni),t.closePath();break;case"rect":if(!g){l=Math.SQRT1_2*_,d=r?r/2:l,t.rect(e-d,i-l,2*d,2*l);break}p+=Nc;case"rectRot":u=Math.cos(p)*(r?r/2:_),o=Math.cos(p)*_,s=Math.sin(p)*_,h=Math.sin(p)*(r?r/2:_),t.moveTo(e-u,i-s),t.lineTo(e+h,i-o),t.lineTo(e+u,i+s),t.lineTo(e-h,i+o),t.closePath();break;case"crossRot":p+=Nc;case"cross":u=Math.cos(p)*(r?r/2:_),o=Math.cos(p)*_,s=Math.sin(p)*_,h=Math.sin(p)*(r?r/2:_),t.moveTo(e-u,i-s),t.lineTo(e+u,i+s),t.moveTo(e+h,i-o),t.lineTo(e-h,i+o);break;case"star":u=Math.cos(p)*(r?r/2:_),o=Math.cos(p)*_,s=Math.sin(p)*_,h=Math.sin(p)*(r?r/2:_),t.moveTo(e-u,i-s),t.lineTo(e+u,i+s),t.moveTo(e+h,i-o),t.lineTo(e-h,i+o),p+=Nc,u=Math.cos(p)*(r?r/2:_),o=Math.cos(p)*_,s=Math.sin(p)*_,h=Math.sin(p)*(r?r/2:_),t.moveTo(e-u,i-s),t.lineTo(e+u,i+s),t.moveTo(e+h,i-o),t.lineTo(e-h,i+o);break;case"line":o=r?r/2:Math.cos(p)*_,s=Math.sin(p)*_,t.moveTo(e-o,i-s),t.lineTo(e+o,i+s);break;case"dash":t.moveTo(e,i),t.lineTo(e+Math.cos(p)*(r?r/2:_),i+Math.sin(p)*_);break;case!1:t.closePath();break}t.fill(),n.borderWidth>0&&t.stroke()}}function Vo(t,n,e){return e=e||.5,!n||t&&t.x>n.left-e&&t.x<n.right+e&&t.y>n.top-e&&t.y<n.bottom+e}function kf(t,n){t.save(),t.beginPath(),t.rect(n.left,n.top,n.right-n.left,n.bottom-n.top),t.clip()}function Df(t){t.restore()}function PN(t,n,e,i,r){if(!n)return t.lineTo(e.x,e.y);if(r==="middle"){let a=(n.x+e.x)/2;t.lineTo(a,n.y),t.lineTo(a,e.y)}else r==="after"!=!!i?t.lineTo(n.x,e.y):t.lineTo(e.x,n.y);t.lineTo(e.x,e.y)}function FN(t,n,e,i){if(!n)return t.lineTo(e.x,e.y);t.bezierCurveTo(i?n.cp1x:n.cp2x,i?n.cp1y:n.cp2y,i?e.cp2x:e.cp1x,i?e.cp2y:e.cp1y,e.x,e.y)}function nne(t,n){n.translation&&t.translate(n.translation[0],n.translation[1]),Ut(n.rotation)||t.rotate(n.rotation),n.color&&(t.fillStyle=n.color),n.textAlign&&(t.textAlign=n.textAlign),n.textBaseline&&(t.textBaseline=n.textBaseline)}function rne(t,n,e,i,r){if(r.strikethrough||r.underline){let a=t.measureText(i),o=n-a.actualBoundingBoxLeft,s=n+a.actualBoundingBoxRight,l=e-a.actualBoundingBoxAscent,c=e+a.actualBoundingBoxDescent,d=r.strikethrough?(l+c)/2:c;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=r.decorationWidth||2,t.moveTo(o,d),t.lineTo(s,d),t.stroke()}}function ane(t,n){let e=t.fillStyle;t.fillStyle=n.color,t.fillRect(n.left,n.top,n.width,n.height),t.fillStyle=e}function Sl(t,n,e,i,r,a={}){let o=Mi(n)?n:[n],s=a.strokeWidth>0&&a.strokeColor!=="",l,c;for(t.save(),t.font=r.string,nne(t,a),l=0;l<o.length;++l)c=o[l],a.backdrop&&ane(t,a.backdrop),s&&(a.strokeColor&&(t.strokeStyle=a.strokeColor),Ut(a.strokeWidth)||(t.lineWidth=a.strokeWidth),t.strokeText(c,e,i,a.maxWidth)),t.fillText(c,e,i,a.maxWidth),rne(t,e,i,c,a),i+=Number(r.lineHeight);
vendor: 4,540 bytes, line 8322
8322t.restore()}function Ku(t,n){let{x:e,y:i,w:r,h:a,radius:o}=n;t.arc(e+o.topLeft,i+o.topLeft,o.topLeft,1.5*ni,ni,!0),t.lineTo(e,i+a-o.bottomLeft),t.arc(e+o.bottomLeft,i+a-o.bottomLeft,o.bottomLeft,ni,Qi,!0),t.lineTo(e+r-o.bottomRight,i+a),t.arc(e+r-o.bottomRight,i+a-o.bottomRight,o.bottomRight,Qi,0,!0),t.lineTo(e+r,i+o.topRight),t.arc(e+r-o.topRight,i+o.topRight,o.topRight,0,-Qi,!0),t.lineTo(e+o.topLeft,i)}var one=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,sne=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function lne(t,n){let e=(""+t).match(one);if(!e||e[1]==="normal")return n*1.2;switch(t=+e[2],e[3]){case"px":return t;case"%":t/=100;break}return n*t}var cne=t=>+t||0;function rv(t,n){let e={},i=jt(n),r=i?Object.keys(n):n,a=jt(t)?i?o=>Ct(t[o],t[n[o]]):o=>t[o]:()=>t;for(let o of r)e[o]=cne(a(o));return e}function QC(t){return rv(t,{top:"y",right:"x",bottom:"y",left:"x"})}function kl(t){return rv(t,["topLeft","topRight","bottomLeft","bottomRight"])}function $n(t){let n=QC(t);return n.width=n.left+n.right,n.height=n.top+n.bottom,n}function hn(t,n){t=t||{},n=n||Ni.font;let e=Ct(t.size,n.size);typeof e=="string"&&(e=parseInt(e,10));let i=Ct(t.style,n.style);i&&!(""+i).match(sne)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);let r={family:Ct(t.family,n.family),lineHeight:lne(Ct(t.lineHeight,n.lineHeight),e),size:e,style:i,weight:Ct(t.weight,n.weight),string:""};return r.string=ine(r),r}function Qu(t,n,e,i){let r=!0,a,o,s;for(a=0,o=t.length;a<o;++a)if(s=t[a],s!==void 0&&(n!==void 0&&typeof s=="function"&&(s=s(n),r=!1),e!==void 0&&Mi(s)&&(s=s[e%s.length],r=!1),s!==void 0))return i&&!r&&(i.cacheable=!1),s}function ON(t,n,e){let{min:i,max:r}=t,a=OC(n,(r-i)/2),o=(s,l)=>e&&s===0?0:s+l;return{min:o(i,-Math.abs(a)),max:o(r,a)}}function Ms(t,n){return Object.assign(Object.create(t),n)}function av(t,n=[""],e,i,r=()=>t[0]){let a=e||t;typeof i>"u"&&(i=BN("_fallback",t));let o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:a,_fallback:i,_getTarget:r,override:s=>av([s,...t],n,a,i)};return new Proxy(o,{deleteProperty(s,l){return delete s[l],delete s._keys,delete t[0][l],!0},get(s,l){return NN(s,l,()=>_ne(l,n,t,s))},getOwnPropertyDescriptor(s,l){return Reflect.getOwnPropertyDescriptor(s._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(s,l){return fN(s).includes(l)},ownKeys(s){return fN(s)},set(s,l,c){let d=s._storage||(s._storage=r());return s[l]=d[l]=c,delete s._keys,!0}})}function Bc(t,n,e,i){let r={_cacheable:!1,_proxy:t,_context:n,_subProxy:e,_stack:new Set,_descriptors:ZC(t,i),setContext:a=>Bc(t,a,e,i),override:a=>Bc(t.override(a),n,e,i)};return new Proxy(r,{deleteProperty(a,o){return delete a[o],delete t[o],!0},get(a,o,s){return NN(a,o,()=>une(a,o,s))},getOwnPropertyDescriptor(a,o){return a._descriptors.allKeys?Reflect.has(t,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,o)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(a,o){return Reflect.has(t,o)},ownKeys(){return Reflect.ownKeys(t)},set(a,o,s){return t[o]=s,delete a[o],!0}})}function ZC(t,n={scriptable:!0,indexable:!0}){let{_scriptable:e=n.scriptable,_indexable:i=n.indexable,_allKeys:r=n.allKeys}=t;return{allKeys:r,scriptable:e,indexable:i,isScriptable:Es(e)?e:()=>e,isIndexable:Es(i)?i:()=>i}}var dne=(t,n)=>t?t+Z_(n):n,JC=(t,n)=>jt(n)&&t!=="adapters"&&(Object.getPrototypeOf(n)===null||n.constructor===Object);function NN(t,n,e){if(Object.prototype.hasOwnProperty.call(t,n)||n==="constructor")return t[n];let i=e();return t[n]=i,i}function une(t,n,e){let{_proxy:i,_context:r,_subProxy:a,_descriptors:o}=t,s=i[n];return Es(s)&&o.isScriptable(n)&&(s=hne(n,s,t,e)),Mi(s)&&s.length&&(s=mne(n,s,t,o.isIndexable)),JC(n,s)&&(s=Bc(s,r,a&&a[n],o)),s}function hne(t,n,e,i){let{_proxy:r,_context:a,_subProxy:o,_stack:s}=e;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t);let l=n(a,o||i);return s.delete(t),JC(t,l)&&(l=eS(r._scopes,r,t,l)),l}function mne(t,n,e,i){let{_proxy:r,_context:a,_subProxy:o,_descriptors:s}=e;if(typeof a.index<"u"&&i(t))return n[a.index%n.length];if(jt(n[0])){let l=n,c=r._scopes.filter(d=>d!==l);n=[];for(let d of l){let u=eS(c,r,t,d);n.push(Bc(u,a,o&&o[t],s))}}return n}function LN(t,n,e){return Es(t)?t(n,e):t}var fne=(t,n)=>t===!0?n:typeof t=="string"?Is(n,t):void 0;function pne(t,n,e,i,r){for(let a of n){let o=fne(e,a);if(o){t.add(o);let s=LN(o._fallback,e,r);if(typeof s<"u"&&s!==e&&s!==i)return s}else if(o===!1&&typeof i<"u"&&e!==i)return null}return!1}
8322function eS(t,n,e,i){let r=n._rootScopes,a=LN(n._fallback,e,i),o=[...t,...r],s=new Set;s.add(i);let l=mN(s,o,e,a||e,i);return l===null||typeof a<"u"&&a!==e&&(l=mN(s,o,a,l,i),l===null)?!1:av(Array.from(s),[""],r,a,()=>gne(n,e,i))}function mN(t,n,e,i,r){for(;e;)e=pne(t,n,e,i,r);return e}function gne(t,n,e){let i=t._getTarget();n in i||(i[n]={});let r=i[n];return Mi(r)&&jt(e)?e:r||{}}function _ne(t,n,e,i){let r;for(let a of n)if(r=BN(dne(a,t),e),typeof r<"u")return JC(t,r)?eS(e,i,t,r):r}function BN(t,n){for(let e of n){if(!e)continue;let i=e[t];if(typeof i<"u")return i}}function fN(t){let n=t._keys;return n||(n=t._keys=vne(t._scopes)),n}function vne(t){let n=new Set;for(let e of t)for(let i of Object.keys(e).filter(r=>!r.startsWith("_")))n.add(i);return Array.from(n)}function tS(t,n,e,i){let{iScale:r}=t,{key:a="r"}=this._parsing,o=new Array(i),s,l,c,d;for(s=0,l=i;s<l;++s)c=s+e,d=n[c],o[s]={r:r.parse(Is(d,a),c)};return o}var bne=Number.EPSILON||1e-14,$u=(t,n)=>n<t.length&&!t[n].skip&&t[n],VN=t=>t==="x"?"y":"x";function yne(t,n,e,i){let r=t.skip?n:t,a=n,o=e.skip?n:e,s=K_(a,r),l=K_(o,a),c=s/(s+l),d=l/(s+l);c=isNaN(c)?0:c,d=isNaN(d)?0:d;let u=i*c,h=i*d;return{previous:{x:a.x-u*(o.x-r.x),y:a.y-u*(o.y-r.y)},next:{x:a.x+h*(o.x-r.x),y:a.y+h*(o.y-r.y)}}}function xne(t,n,e){let i=t.length,r,a,o,s,l,c=$u(t,0);for(let d=0;d<i-1;++d)if(l=c,c=$u(t,d+1),!(!l||!c)){if(qu(n[d],0,bne)){e[d]=e[d+1]=0;continue}r=e[d]/n[d],a=e[d+1]/n[d],s=Math.pow(r,2)+Math.pow(a,2),!(s<=9)&&(o=3/Math.sqrt(s),e[d]=r*o*n[d],e[d+1]=a*o*n[d])}}function wne(t,n,e="x"){let i=VN(e),r=t.length,a,o,s,l=$u(t,0);for(let c=0;c<r;++c){if(o=s,s=l,l=$u(t,c+1),!s)continue;let d=s[e],u=s[i];o&&(a=(d-o[e])/3,s[`cp1${e}`]=d-a,s[`cp1${i}`]=u-a*n[c]),l&&(a=(l[e]-d)/3,s[`cp2${e}`]=d+a,s[`cp2${i}`]=u+a*n[c])}}function Cne(t,n="x"){let e=VN(n),i=t.length,r=Array(i).fill(0),a=Array(i),o,s,l,c=$u(t,0);for(o=0;o<i;++o)if(s=l,l=c,c=$u(t,o+1),!!l){if(c){let d=c[n]-l[n];r[o]=d!==0?(c[e]-l[e])/d:0}a[o]=s?c?uo(r[o-1])!==uo(r[o])?0:(r[o-1]+r[o])/2:r[o-1]:r[o]}xne(t,r,a),wne(t,a,n)}function G_(t,n,e){return Math.max(Math.min(t,e),n)}function Sne(t,n){let e,i,r,a,o,s=Vo(t[0],n);for(e=0,i=t.length;e<i;++e)o=a,a=s,s=e<i-1&&Vo(t[e+1],n),a&&(r=t[e],o&&(r.cp1x=G_(r.cp1x,n.left,n.right),r.cp1y=G_(r.cp1y,n.top,n.bottom)),s&&(r.cp2x=G_(r.cp2x,n.left,n.right),r.cp2y=G_(r.cp2y,n.top,n.bottom)))}function UN(t,n,e,i,r){let a,o,s,l;if(n.spanGaps&&(t=t.filter(c=>!c.skip)),n.cubicInterpolationMode==="monotone")Cne(t,r);else{let c=i?t[t.length-1]:t[0];for(a=0,o=t.length;a<o;++a)s=t[a],l=yne(c,s,t[Math.min(a+1,o-(i?0:1))%o],n.tension),s.cp1x=l.previous.x,s.cp1y=l.previous.y,s.cp2x=l.next.x,s.cp2y=l.next.y,c=s}n.capBezierPoints&&Sne(t,e)}function ov(){return typeof window<"u"&&typeof document<"u"}function sv(t){let n=t.parentNode;return n&&n.toString()==="[object ShadowRoot]"&&(n=n.host),n}function Q_(t,n,e){let i;return typeof t=="string"?(i=parseInt(t,10),t.indexOf("%")!==-1&&(i=i/100*n.parentNode[e])):i=t,i}var lv=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function kne(t,n){return lv(t).getPropertyValue(n)}var Dne=["top","right","bottom","left"];function Lc(t,n,e){let i={};e=e?"-"+e:"";for(let r=0;r<4;r++){let a=Dne[r];i[a]=parseFloat(t[n+"-"+a+e])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}var Ene=(t,n,e)=>(t>0||n>0)&&(!e||!e.shadowRoot);function Tne(t,n){let e=t.touches,i=e&&e.length?e[0]:t,{offsetX:r,offsetY:a}=i,o=!1,s,l;if(Ene(r,a,t.target))s=r,l=a;else{let c=n.getBoundingClientRect();s=i.clientX-c.left,l=i.clientY-c.top,o=!0}return{x:s,y:l,box:o}}function Dl(t,n){if("native"in t)return t;let{canvas:e,currentDevicePixelRatio:i}=n,r=lv(e),a=r.boxSizing==="border-box",o=Lc(r,"padding"),s=Lc(r,"border","width"),{x:l,y:c,box:d}=Tne(t,e),u=o.left+(d&&s.left),h=o.top+(d&&s.top),{width:m,height:g}=n;return a&&(m-=o.width+s.width,g-=o.height+s.height),{x:Math.round((l-u)/m*e.width/i),y:Math.round((c-h)/g*e.height/i)}}function Ine(t,n,e){let i,r;if(n===void 0||e===void 0){let a=t&&sv(t);if(!a)n=t.clientWidth,e=t.clientHeight;else{let o=a.getBoundingClientRect(),s=lv(a),l=Lc(s,"border","width"),c=Lc(s,"padding");n=o.width-c.width-l.width,e=o.height-c.height-l.height,i=Q_(s.maxWidth,a,"clientWidth"),r=Q_(s.maxHeight,a,"clientHeight")}}return{width:n,height:e,maxWidth:i||X_,maxHeight:r||X_}}var xl=t=>Math.round(t*10)/10;function zN(t,n,e,i){let r=lv(t),a=Lc(r,"margin"),o=Q_(r.maxWidth,t,"clientWidth")||X_,s=Q_(r.maxHeight,t,"clientHeight")||X_,l=Ine(t,n,e),{width:c,height:d}=l;if(r.boxSizing==="content-box"){let h=Lc(r,"border","width"),m=Lc(r,"padding");
vendor: 4,685 bytes, line 8322
8322c-=m.width+h.width,d-=m.height+h.height}return c=Math.max(0,c-a.width),d=Math.max(0,i?c/i:d-a.height),c=xl(Math.min(c,o,l.maxWidth)),d=xl(Math.min(d,s,l.maxHeight)),c&&!d&&(d=xl(c/2)),(n!==void 0||e!==void 0)&&i&&l.height&&d>l.height&&(d=l.height,c=xl(Math.floor(d*i))),{width:c,height:d}}function iS(t,n,e){let i=n||1,r=xl(t.height*i),a=xl(t.width*i);t.height=xl(t.height),t.width=xl(t.width);let o=t.canvas;return o.style&&(e||!o.style.height&&!o.style.width)&&(o.style.height=`${t.height}px`,o.style.width=`${t.width}px`),t.currentDevicePixelRatio!==i||o.height!==r||o.width!==a?(t.currentDevicePixelRatio=i,o.height=r,o.width=a,t.ctx.setTransform(i,0,0,i,0,0),!0):!1}var jN=(function(){let t=!1;try{let n={get passive(){return t=!0,!1}};ov()&&(window.addEventListener("test",null,n),window.removeEventListener("test",null,n))}catch(n){}return t})();function nS(t,n){let e=kne(t,n),i=e&&e.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function yl(t,n,e,i){return{x:t.x+e*(n.x-t.x),y:t.y+e*(n.y-t.y)}}function HN(t,n,e,i){return{x:t.x+e*(n.x-t.x),y:i==="middle"?e<.5?t.y:n.y:i==="after"?e<1?t.y:n.y:e>0?n.y:t.y}}function $N(t,n,e,i){let r={x:t.cp2x,y:t.cp2y},a={x:n.cp1x,y:n.cp1y},o=yl(t,r,e),s=yl(r,a,e),l=yl(a,n,e),c=yl(o,s,e),d=yl(s,l,e);return yl(c,d,e)}var Mne=function(t,n){return{x(e){return t+t+n-e},setWidth(e){n=e},textAlign(e){return e==="center"?e:e==="right"?"left":"right"},xPlus(e,i){return e-i},leftForLtr(e,i){return e-i}}},Ane=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,n){return t+n},leftForLtr(t,n){return t}}};function Uc(t,n,e){return t?Mne(n,e):Ane()}function rS(t,n){let e,i;(n==="ltr"||n==="rtl")&&(e=t.canvas.style,i=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",n,"important"),t.prevTextDirection=i)}function aS(t,n){n!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",n[0],n[1]))}function WN(t){return t==="angle"?{between:Yu,compare:Yie,normalize:jn}:{between:zo,compare:(n,e)=>n-e,normalize:n=>n}}function pN({start:t,end:n,count:e,loop:i,style:r}){return{start:t%e,end:n%e,loop:i&&(n-t+1)%e===0,style:r}}function Rne(t,n,e){let{property:i,start:r,end:a}=e,{between:o,normalize:s}=WN(i),l=n.length,{start:c,end:d,loop:u}=t,h,m;if(u){for(c+=l,d+=l,h=0,m=l;h<m&&o(s(n[c%l][i]),r,a);++h)c--,d--;c%=l,d%=l}return d<c&&(d+=l),{start:c,end:d,loop:u,style:t.style}}function oS(t,n,e){if(!e)return[t];let{property:i,start:r,end:a}=e,o=n.length,{compare:s,between:l,normalize:c}=WN(i),{start:d,end:u,loop:h,style:m}=Rne(t,n,e),g=[],_=!1,p=null,v,b,y,E=()=>l(r,y,v)&&s(r,y)!==0,F=()=>s(a,v)===0||l(a,y,v),A=()=>_||E(),C=()=>!_||F();for(let M=d,L=d;M<=u;++M)b=n[M%o],!b.skip&&(v=c(b[i]),v!==y&&(_=l(v,r,a),p===null&&A()&&(p=s(v,r)===0?M:L),p!==null&&C()&&(g.push(pN({start:p,end:M,loop:h,count:o,style:m})),p=null),L=M,y=v));return p!==null&&g.push(pN({start:p,end:u,loop:h,count:o,style:m})),g}function sS(t,n){let e=[],i=t.segments;for(let r=0;r<i.length;r++){let a=oS(i[r],t.points,n);a.length&&e.push(...a)}return e}function Pne(t,n,e,i){let r=0,a=n-1;if(e&&!i)for(;r<n&&!t[r].skip;)r++;for(;r<n&&t[r].skip;)r++;for(r%=n,e&&(a+=r);a>r&&t[a%n].skip;)a--;return a%=n,{start:r,end:a}}function Fne(t,n,e,i){let r=t.length,a=[],o=n,s=t[n],l;for(l=n+1;l<=e;++l){let c=t[l%r];c.skip||c.stop?s.skip||(i=!1,a.push({start:n%r,end:(l-1)%r,loop:i}),n=o=c.stop?l:null):(o=l,s.skip&&(n=l)),s=c}return o!==null&&a.push({start:n%r,end:o%r,loop:i}),a}function GN(t,n){let e=t.points,i=t.options.spanGaps,r=e.length;if(!r)return[];let a=!!t._loop,{start:o,end:s}=Pne(e,r,a,i);if(i===!0)return gN(t,[{start:o,end:s,loop:a}],e,n);let l=s<o?s+r:s,c=!!t._fullLoop&&o===0&&s===r-1;return gN(t,Fne(e,o,l,c),e,n)}function gN(t,n,e,i){return!i||!i.setContext||!e?n:One(t,n,e,i)}function One(t,n,e,i){let r=t._chart.getContext(),a=_N(t.options),{_datasetIndex:o,options:{spanGaps:s}}=t,l=e.length,c=[],d=a,u=n[0].start,h=u;function m(g,_,p,v){let b=s?-1:1;if(g!==_){for(g+=l;e[g%l].skip;)g-=b;for(;e[_%l].skip;)_+=b;g%l!==_%l&&(c.push({start:g%l,end:_%l,loop:p,style:v}),d=v,u=_%l)}}for(let g of n){u=s?u:g.start;let _=e[u%l],p;for(h=u+1;h<=g.end;h++){let v=e[h%l];p=_N(i.setContext(Ms(r,{type:"segment",p0:_,p1:v,p0DataIndex:(h-1)%l,p1DataIndex:h%l,datasetIndex:o}))),Nne(p,d)&&m(u,h-1,g.loop,d),_=v,d=p}u<h-1&&m(u,h-1,g.loop,d)}return c}function _N(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Nne(t,n){if(!n)return!1;let e=[],i=function(r,a){return qC(a)?(e.includes(a)||e.push(a),e.
vendor: 15,098 bytes, line 8322
8322indexOf(a)):a};return JSON.stringify(t,i)!==JSON.stringify(n,i)}function q_(t,n,e){return t.options.clip?t[e]:n[e]}function Lne(t,n){let{xScale:e,yScale:i}=t;return e&&i?{left:q_(e,n,"left"),right:q_(e,n,"right"),top:q_(i,n,"top"),bottom:q_(i,n,"bottom")}:n}function lS(t,n){let e=n._clip;if(e.disabled)return!1;let i=Lne(n,t.chartArea);return{left:e.left===!1?0:i.left-(e.left===!0?0:e.left),right:e.right===!1?t.width:i.right+(e.right===!0?0:e.right),top:e.top===!1?0:i.top-(e.top===!0?0:e.top),bottom:e.bottom===!1?t.height:i.bottom+(e.bottom===!0?0:e.bottom)}}var yS=class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(n,e,i,r){let a=e.listeners[r],o=e.duration;a.forEach(s=>s({chart:n,initial:e.initial,numSteps:o,currentStep:Math.min(i-e.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=HC.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(n=Date.now()){let e=0;this._charts.forEach((i,r)=>{if(!i.running||!i.items.length)return;let a=i.items,o=a.length-1,s=!1,l;for(;o>=0;--o)l=a[o],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(n),s=!0):(a[o]=a[a.length-1],a.pop());s&&(r.draw(),this._notify(r,i,n,"progress")),a.length||(i.running=!1,this._notify(r,i,n,"complete"),i.initial=!1),e+=a.length}),this._lastDate=n,e===0&&(this._running=!1)}_getAnims(n){let e=this._charts,i=e.get(n);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(n,i)),i}listen(n,e,i){this._getAnims(n).listeners[e].push(i)}add(n,e){!e||!e.length||this._getAnims(n).items.push(...e)}has(n){return this._getAnims(n).items.length>0}start(n){let e=this._charts.get(n);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((i,r)=>Math.max(i,r._duration),0),this._refresh())}running(n){if(!this._running)return!1;let e=this._charts.get(n);return!(!e||!e.running||!e.items.length)}stop(n){let e=this._charts.get(n);if(!e||!e.items.length)return;let i=e.items,r=i.length-1;for(;r>=0;--r)i[r].cancel();e.items=[],this._notify(n,e,Date.now(),"complete")}remove(n){return this._charts.delete(n)}},As=new yS,qN="transparent",Bne={boolean(t,n,e){return e>.5?n:t},color(t,n,e){let i=YC(t||qN),r=i.valid&&YC(n||qN);return r&&r.valid?r.mix(i,e).hexString():n},number(t,n,e){return t+(n-t)*e}},xS=class{constructor(n,e,i,r){let a=e[i];r=Qu([n.to,r,a,n.from]);let o=Qu([n.from,a,r]);this._active=!0,this._fn=n.fn||Bne[n.type||typeof o],this._easing=ju[n.easing]||ju.linear,this._start=Math.floor(Date.now()+(n.delay||0)),this._duration=this._total=Math.floor(n.duration),this._loop=!!n.loop,this._target=e,this._prop=i,this._from=o,this._to=r,this._promises=void 0}active(){return this._active}update(n,e,i){if(this._active){this._notify(!1);let r=this._target[this._prop],a=i-this._start,o=this._duration-a;this._start=i,this._duration=Math.floor(Math.max(o,n.duration)),this._total+=a,this._loop=!!n.loop,this._to=Qu([n.to,e,r,n.from]),this._from=Qu([n.from,r,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(n){let e=n-this._start,i=this._duration,r=this._prop,a=this._from,o=this._loop,s=this._to,l;if(this._active=a!==s&&(o||e<i),!this._active){this._target[r]=s,this._notify(!0);return}if(e<0){this._target[r]=a;return}l=e/i%2,l=o&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[r]=this._fn(a,s,l)}wait(){let n=this._promises||(this._promises=[]);return new Promise((e,i)=>{n.push({res:e,rej:i})})}_notify(n){let e=n?"res":"rej",i=this._promises||[];for(let r=0;r<i.length;r++)i[r][e]()}},_v=class{constructor(n,e){this._chart=n,this._properties=new Map,this.configure(e)}configure(n){if(!jt(n))return;let e=Object.keys(Ni.animation),i=this._properties;Object.getOwnPropertyNames(n).forEach(r=>{let a=n[r];if(!jt(a))return;let o={};for(let s of e)o[s]=a[s];(Mi(a.properties)&&a.properties||[r]).forEach(s=>{(s===r||!i.has(s))&&i.set(s,o)})})}_animateOptions(n,e){let i=e.options,r=Une(n,i);if(!r)return[];let a=this._createAnimations(r,i);return i.$shared&&Vne(n.options.$animations,i).then(()=>{n.options=i},()=>{}),a}_createAnimations(n,e){let i=this._properties,r=[],a=n.$animations||(n.$animations={}),o=Object.keys(e),s=Date.now(),l;for(l=o.length-1;l>=0;--l){let c=o[l];if(c.charAt(0)==="$")continue;if(c==="options"){r.push(...this._animateOptions(n,e));continue}let d=e[c],u=a[c],h=i.get(c);if(u)if(h&&u.active()){u.update(h,d,s);continue}else u.cancel();if(!h||!h.duration){n[c]=d;continue}a[c]=u=new xS(h,n,c,d),r.push(u)}return r}update(n,e){if(this._properties.size===0){Object.assign(n,e);return}let i=this._createAnimations(n,e);if(i.length)return As.add(this._chart,i),!0}};function Vne(t,n){let e=[],i=Object.keys(n);for(let r=0;r<i.length;r++){let a=t[i[r]];a&&a.active()&&e.push(a.wait())}return Promise.all(e)}function Une(t,n){if(!n)return;let e=t.options;if(!e){t.options=n;return}return e.$shared&&(t.options=e=Object.assign({},e,{$shared:!1,$animations:{}})),e}function YN(t,n){let e=t&&t.options||{},i=e.reverse,r=e.min===void 0?n:0,a=e.max===void 0?n:0;return{start:i?a:r,end:i?r:a}}function zne(t,n,e){if(e===!1)return!1;let i=YN(t,e),r=YN(n,e);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}function jne(t){let n,e,i,r;return jt(t)?(n=t.top,e=t.right,i=t.bottom,r=t.left):n=e=i=r=t,{top:n,right:e,bottom:i,left:r,disabled:t===!1}}function qL(t,n){let e=[],i=t._getSortedDatasetMetas(n),r,a;for(r=0,a=i.length;r<a;++r)e.push(i[r].index);return e}function XN(t,n,e,i={}){let r=t.keys,a=i.mode==="single",o,s,l,c;if(n===null)return;let d=!1;for(o=0,s=r.length;o<s;++o){if(l=+r[o],l===e){if(d=!0,i.all)continue;break}c=t.values[l],Xi(c)&&(a||n===0||uo(n)===uo(c))&&(n+=c)}return!d&&!i.all?0:n}function Hne(t,n){let{iScale:e,vScale:i}=n,r=e.axis==="x"?"x":"y",a=i.axis==="x"?"x":"y",o=Object.keys(t),s=new Array(o.length),l,c,d;for(l=0,c=o.length;l<c;++l)d=o[l],s[l]={[r]:d,[a]:t[d]};return s}function cS(t,n){let e=t&&t.options.stacked;return e||e===void 0&&n.stack!==void 0}function $ne(t,n,e){return`${t.id}.${n.id}.${e.stack||e.type}`}function Wne(t){let{min:n,max:e,minDefined:i,maxDefined:r}=t.getUserBounds();return{min:i?n:Number.NEGATIVE_INFINITY,max:r?e:Number.POSITIVE_INFINITY}}function Gne(t,n,e){let i=t[n]||(t[n]={});return i[e]||(i[e]={})}function KN(t,n,e,i){for(let r of n.getMatchingVisibleMetas(i).reverse()){let a=t[r.index];if(e&&a>0||!e&&a<0)return r.index}return null}function QN(t,n){let{chart:e,_cachedMeta:i}=t,r=e._stacks||(e._stacks={}),{iScale:a,vScale:o,index:s}=i,l=a.axis,c=o.axis,d=$ne(a,o,i),u=n.length,h;for(let m=0;m<u;++m){let g=n[m],{[l]:_,[c]:p}=g,v=g._stacks||(g._stacks={});h=v[c]=Gne(r,d,_),h[s]=p,h._top=KN(h,o,!0,i.type),h._bottom=KN(h,o,!1,i.type);let b=h._visualValues||(h._visualValues={});b[s]=p}}function dS(t,n){let e=t.scales;return Object.keys(e).filter(i=>e[i].axis===n).shift()}function qne(t,n){return Ms(t,{active:!1,dataset:void 0,datasetIndex:n,index:n,mode:"default",type:"dataset"})}function Yne(t,n,e){return Ms(t,{active:!1,dataIndex:n,parsed:void 0,raw:void 0,element:e,index:n,mode:"default",type:"data"})}function Ef(t,n){let e=t.controller.index,i=t.vScale&&t.vScale.axis;if(i){n=n||t._parsed;for(let r of n){let a=r._stacks;if(!a||a[i]===void 0||a[i][e]===void 0)return;delete a[i][e],a[i]._visualValues!==void 0&&a[i]._visualValues[e]!==void 0&&delete a[i]._visualValues[e]}}}var uS=t=>t==="reset"||t==="none",ZN=(t,n)=>n?t:Object.assign({},t),Xne=(t,n,e)=>t&&!n.hidden&&n._stacked&&{keys:qL(e,!0),values:null},Tl=(()=>{class t{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,i){this.chart=e,this._ctx=e.ctx,this.index=i,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=cS(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&Ef(this._cachedMeta),this.index=e}linkScales(){let e=this.chart,i=this._cachedMeta,r=this.getDataset(),a=(h,m,g,_)=>h==="x"?m:h==="r"?_:g,o=i.xAxisID=Ct(r.xAxisID,dS(e,"x")),s=i.yAxisID=Ct(r.yAxisID,dS(e,"y")),l=i.rAxisID=Ct(r.rAxisID,dS(e,"r")),c=i.indexAxis,d=i.iAxisID=a(c,o,s,l),u=i.vAxisID=a(c,s,o,l);i.xScale=this.getScaleForId(o),i.yScale=this.getScaleForId(s),i.rScale=this.getScaleForId(l),i.iScale=this.getScaleForId(d),i.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){let i=this._cachedMeta;return e===i.iScale?i.vScale:i.iScale}reset(){this._update("reset")}_destroy(){let e=this._cachedMeta;this._data&&zC(this._data,this),e._stacked&&Ef(e)}_dataCheck(){let e=this.getDataset(),i=e.data||(e.data=[]),r=this._data;if(jt(i)){let a=this._cachedMeta;this._data=Hne(i,a)}else if(r!==i){if(r){zC(r,this);let a=this._cachedMeta;Ef(a),a._parsed=[]}i&&Object.isExtensible(i)&&TN(i,this),this._syncList=[],this._data=i}}addElements(){let e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){let i=this._cachedMeta,r=this.getDataset(),a=!1;this._dataCheck();let o=i._stacked;i._stacked=cS(i.vScale,i),i.stack!==r.stack&&(a=!0,Ef(i),i.stack=r.stack),this._resyncElements(e),(a||o!==i._stacked)&&(QN(this,i._parsed),i._stacked=cS(i.vScale,i))}configure(){let e=this.chart.config,i=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),i,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,i){let{_cachedMeta:r,_data:a}=this,{iScale:o,_stacked:s}=r,l=o.axis,c=e===0&&i===a.length?!0:r._sorted,d=e>0&&r._parsed[e-1],u,h,m;if(this._parsing===!1)r._parsed=a,r._sorted=!0,m=a;else{Mi(a[e])?m=this.parseArrayData(r,a,e,i):jt(a[e])?m=this.parseObjectData(r,a,e,i):m=this.parsePrimitiveData(r,a,e,i);let g=()=>h[l]===null||d&&h[l]<d[l];for(u=0;u<i;++u)r._parsed[u+e]=h=m[u],c&&(g()&&(c=!1),d=h);r._sorted=c}s&&QN(this,m)}parsePrimitiveData(e,i,r,a){let{iScale:o,vScale:s}=e,l=o.axis,c=s.axis,d=o.getLabels(),u=o===s,h=new Array(a),m,g,_;for(m=0,g=a;m<g;++m)_=m+r,h[m]={[l]:u||o.parse(d[_],_),[c]:s.parse(i[_],_)};return h}parseArrayData(e,i,r,a){let{xScale:o,yScale:s}=e,l=new Array(a),c,d,u,h;for(c=0,d=a;c<d;++c)u=c+r,h=i[u],l[c]={x:o.parse(h[0],u),y:s.parse(h[1],u)};return l}parseObjectData(e,i,r,a){let{xScale:o,yScale:s}=e,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,d=new Array(a),u,h,m,g;for(u=0,h=a;u<h;++u)m=u+r,g=i[m],d[u]={x:o.parse(Is(g,l),m),y:s.parse(Is(g,c),m)};return d}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,i,r){let a=this.chart,o=this._cachedMeta,s=i[e.axis],l={keys:qL(a,!0),values:i._stacks[e.axis]._visualValues};return XN(l,s,o.index,{mode:r})}updateRangeFromParsed(e,i,r,a){let o=r[i.axis],s=o===null?NaN:o,l=a&&r._stacks[i.axis];a&&l&&(a.values=l,s=XN(a,o,this._cachedMeta.index)),e.min=Math.min(e.min,s),e.max=Math.max(e.max,s)}getMinMax(e,i){let r=this._cachedMeta,a=r._parsed,o=r._sorted&&e===r.iScale,s=a.length,l=this._getOtherScale(e),c=Xne(i,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=Wne(l),m,g;function _(){g=a[m];let p=g[l.axis];return!Xi(g[e.axis])||u>p||h<p}for(m=0;m<s&&!(!_()&&(this.updateRangeFromParsed(d,e,g,c),o));++m);if(o){for(m=s-1;m>=0;--m)if(!_()){this.updateRangeFromParsed(d,e,g,c);break}}return d}getAllParsedValues(e){let i=this._cachedMeta._parsed,r=[],a,o,s;for(a=0,o=i.length;a<o;++a)s=i[a][e.axis],Xi(s)&&r.push(s);return r}getMaxOverflow(){return!1}getLabelAndValue(e){let i=this._cachedMeta,r=i.iScale,a=i.vScale,o=this.getParsed(e);return{label:r?""+r.getLabelForValue(o[r.axis]):"",value:a?""+a.getLabelForValue(o[a.axis]):""}}_update(e){let i=this._cachedMeta;this.update(e||"default"),i._clip=jne(Ct(this.options.clip,zne(i.xScale,i.yScale,this.getMaxOverflow())))}update(e){}draw(){let e=this._ctx,i=this.chart,r=this._cachedMeta,a=r.data||[],o=i.chartArea,s=[],l=this._drawStart||0,c=this._drawCount||a.length-l,d=this.options.drawActiveElementsOnTop,u;for(r.dataset&&r.dataset.draw(e,o,l,c),u=l;u<l+c;++u){let h=a[u];h.hidden||(h.active&&d?s.push(h):h.draw(e,o))}for(u=0;u<s.length;++u)s[u].draw(e,o)}getStyle(e,i){let r=i?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(e||0,r)}getContext(e,i,r){let a=this.getDataset(),o;if(e>=0&&e<this._cachedMeta.data.length){let s=this._cachedMeta.data[e];o=s.$context||(s.$context=Yne(this.getContext(),e,s)),o.parsed=this.getParsed(e),o.raw=a.data[e],o.index=o.dataIndex=e}else o=this.$context||(this.$context=qne(this.chart.getContext(),this.index)),o.dataset=a,o.index=o.datasetIndex=this.index;return o.active=!!i,o.mode=r,o}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,i){return this._resolveElementOptions(this.dataElementType.id,i,e)}_resolveElementOptions(e,i="default",r){let a=i==="active",o=this._cachedDataOpts,s=e+"-"+i,l=o[s],c=this.enableOptionSharing&&Gu(r);if(l)return ZN(l,c);let d=this.chart.config,u=d.datasetElementScopeKeys(this._type,e),h=a?[`${e}Hover`,"hover",e,""]:[e,""],m=d.getOptionScopes(this.getDataset(),u),g=Object.keys(Ni.elements[e]),_=()=>this.getContext(r,a,i),p=d.resolveNamedOptions(m,g,_,h);return p.$shared&&(p.$shared=c,o[s]=Object.freeze(ZN(p,c))),p}_resolveAnimations(e,i,r){let a=this.chart,o=this._cachedDataOpts,s=`animation-${i}`,l=o[s];if(l)return l;let c;if(a.options.animation!==!1){let u=this.chart.config,h=u.datasetAnimationScopeKeys(this._type,i),m=u.getOptionScopes(this.getDataset(),h);c=u.createResolver(m,this.getContext(e,r,i))}let d=new _v(a,c&&c.animations);return c&&c._cacheable&&(o[s]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,i){return!i||uS(e)||this.chart._animationsDisabled}_getSharedOptions(e,i){let r=this.resolveDataElementOptions(e,i),a=this._sharedOptions,o=this.getSharedOptions(r),s=this.includeOptions(i,o)||o!==a;return this.updateSharedOptions(o,i,r),{sharedOptions:o,includeOptions:s}}updateElement(e,i,r,a){uS(a)?Object.assign(e,r):this._resolveAnimations(i,a).update(e,r)}updateSharedOptions(e,i,r){e&&!uS(i)&&this._resolveAnimations(void 0,i).update(e,r)}_setStyle(e,i,r,a){e.active=a;let o=this.getStyle(i,a);
vendor: 6,229 bytes, line 8322
8322this._resolveAnimations(i,r,a).update(e,{options:!a&&this.getSharedOptions(o)||o})}removeHoverStyle(e,i,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,i,r){this._setStyle(e,r,"active",!0)}_removeDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){let i=this._data,r=this._cachedMeta.data;for(let[l,c,d]of this._syncList)this[l](c,d);this._syncList=[];let a=r.length,o=i.length,s=Math.min(o,a);s&&this.parse(0,s),o>a?this._insertElements(a,o-a,e):o<a&&this._removeElements(o,a-o)}_insertElements(e,i,r=!0){let a=this._cachedMeta,o=a.data,s=e+i,l,c=d=>{for(d.length+=i,l=d.length-1;l>=s;l--)d[l]=d[l-i]};for(c(o),l=e;l<s;++l)o[l]=new this.dataElementType;this._parsing&&c(a._parsed),this.parse(e,i),r&&this.updateElements(o,e,i,"reset")}updateElements(e,i,r,a){}_removeElements(e,i){let r=this._cachedMeta;if(this._parsing){let a=r._parsed.splice(e,i);r._stacked&&Ef(r,a)}r.data.splice(e,i)}_sync(e){if(this._parsing)this._syncList.push(e);else{let[i,r,a]=e;this[i](r,a)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){let e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,i){i&&this._sync(["_removeElements",e,i]);let r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}return t})();function Kne(t,n){if(!t._cache.$bar){let e=t.getMatchingVisibleMetas(n),i=[];for(let r=0,a=e.length;r<a;r++)i=i.concat(e[r].controller.getAllParsedValues(t));t._cache.$bar=jC(i.sort((r,a)=>r-a))}return t._cache.$bar}function Qne(t){let n=t.iScale,e=Kne(n,t.type),i=n._length,r,a,o,s,l=()=>{o===32767||o===-32768||(Gu(s)&&(i=Math.min(i,Math.abs(o-s)||i)),s=o)};for(r=0,a=e.length;r<a;++r)o=n.getPixelForValue(e[r]),l();for(s=void 0,r=0,a=n.ticks.length;r<a;++r)o=n.getPixelForTick(r),l();return i}function Zne(t,n,e,i){let r=e.barThickness,a,o;return Ut(r)?(a=n.min*e.categoryPercentage,o=e.barPercentage):(a=r*i,o=1),{chunk:a/i,ratio:o,start:n.pixels[t]-a/2}}function Jne(t,n,e,i){let r=n.pixels,a=r[t],o=t>0?r[t-1]:null,s=t<r.length-1?r[t+1]:null,l=e.categoryPercentage;o===null&&(o=a-(s===null?n.end-n.start:s-a)),s===null&&(s=a+a-o);let c=a-(a-Math.min(o,s))/2*l;return{chunk:Math.abs(s-o)/2*l/i,ratio:e.barPercentage,start:c}}function ere(t,n,e,i){let r=e.parse(t[0],i),a=e.parse(t[1],i),o=Math.min(r,a),s=Math.max(r,a),l=o,c=s;Math.abs(o)>Math.abs(s)&&(l=s,c=o),n[e.axis]=c,n._custom={barStart:l,barEnd:c,start:r,end:a,min:o,max:s}}function YL(t,n,e,i){return Mi(t)?ere(t,n,e,i):n[e.axis]=e.parse(t,i),n}function JN(t,n,e,i){let r=t.iScale,a=t.vScale,o=r.getLabels(),s=r===a,l=[],c,d,u,h;for(c=e,d=e+i;c<d;++c)h=n[c],u={},u[r.axis]=s||r.parse(o[c],c),l.push(YL(h,u,a,c));return l}function hS(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function tre(t,n,e){return t!==0?uo(t):(n.isHorizontal()?1:-1)*(n.min>=e?1:-1)}function ire(t){let n,e,i,r,a;return t.horizontal?(n=t.base>t.x,e="left",i="right"):(n=t.base<t.y,e="bottom",i="top"),n?(r="end",a="start"):(r="start",a="end"),{start:e,end:i,reverse:n,top:r,bottom:a}}function nre(t,n,e,i){let r=n.borderSkipped,a={};if(!r){t.borderSkipped=a;return}if(r===!0){t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}let{start:o,end:s,reverse:l,top:c,bottom:d}=ire(t);r==="middle"&&e&&(t.enableBorderRadius=!0,(e._top||0)===i?r=c:(e._bottom||0)===i?r=d:(a[eL(d,o,s,l)]=!0,r=c)),a[eL(r,o,s,l)]=!0,t.borderSkipped=a}function eL(t,n,e,i){return i?(t=rre(t,n,e),t=tL(t,e,n)):t=tL(t,n,e),t}function rre(t,n,e){return t===n?e:t===e?n:t}function tL(t,n,e){return t==="start"?n:t==="end"?e:t}function are(t,{inflateAmount:n},e){t.inflateAmount=n==="auto"?e===1?.33:0:n}var ore=(()=>{class t extends Tl{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,i,r,a){return JN(e,i,r,a)}parseArrayData(e,i,r,a){return JN(e,i,r,a)}parseObjectData(e,i,r,a){let{iScale:o,vScale:s}=e,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,d=o.axis==="x"?l:c,u=s.axis==="x"?l:c,h=[],m,g,_,p;for(m=r,g=r+a;m<g;++m)p=i[m],_={},_[o.axis]=o.parse(Is(p,d),m),h.push(YL(Is(p,u),_,s,m));return h}updateRangeFromParsed(e,i,r,a){super.updateRangeFromParsed(e,i,r,a);let o=r._custom;o&&i===this._cachedMeta.vScale&&(e.min=Math.min(e.min,o.min),e.max=Math.max(e.max,o.max))}getMaxOverflow(){return 0}getLabelAndValue(e){let i=this._cachedMeta,{iScale:r,vScale:a}=i,o=this.getParsed(e),s=o._custom,l=hS(s)?"["+s.start+", "+s.end+"]":""+a.getLabelForValue(o[a.axis]);return{label:""+r.getLabelForValue(o[r.axis]),value:l}}initialize(){this.enableOptionSharing=!0,super.initialize();let e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){let i=this._cachedMeta;this.updateElements(i.data,0,i.data.length,e)}updateElements(e,i,r,a){let o=a==="reset",{index:s,_cachedMeta:{vScale:l}}=this,c=l.getBasePixel(),d=l.isHorizontal(),u=this._getRuler(),{sharedOptions:h,includeOptions:m}=this._getSharedOptions(i,a);for(let g=i;g<i+r;g++){let _=this.getParsed(g),p=o||Ut(_[l.axis])?{base:c,head:c}:this._calculateBarValuePixels(g),v=this._calculateBarIndexPixels(g,u),b=(_._stacks||{})[l.axis],y={horizontal:d,base:p.base,enableBorderRadius:!b||hS(_._custom)||s===b._top||s===b._bottom,x:d?p.head:v.center,y:d?v.center:p.head,height:d?v.size:Math.abs(p.size),width:d?Math.abs(p.size):v.size};m&&(y.options=h||this.resolveDataElementOptions(g,e[g].active?"active":a));let E=y.options||e[g].options;nre(y,E,b,s),are(y,E,u.ratio),this.updateElement(e[g],g,y,a)}}_getStacks(e,i){let{iScale:r}=this._cachedMeta,a=r.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),o=r.options.stacked,s=[],l=this._cachedMeta.controller.getParsed(i),c=l&&l[r.axis],d=u=>{let h=u._parsed.find(g=>
8322g[r.axis]===c),m=h&&h[u.vScale.axis];if(Ut(m)||isNaN(m))return!0};for(let u of a)if(!(i!==void 0&&d(u))&&((o===!1||s.indexOf(u.stack)===-1||o===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===e))break;return s.length||s.push(void 0),s}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let e=this.chart.scales,i=this.chart.options.indexAxis;return Object.keys(e).filter(r=>e[r].axis===i).shift()}_getAxis(){let e={},i=this.getFirstScaleIdForIndexAxis();for(let r of this.chart.data.datasets)e[Ct(this.chart.options.indexAxis==="x"?r.xAxisID:r.yAxisID,i)]=!0;return Object.keys(e)}_getStackIndex(e,i,r){let a=this._getStacks(e,r),o=i!==void 0?a.indexOf(i):-1;return o===-1?a.length-1:o}_getRuler(){let e=this.options,i=this._cachedMeta,r=i.iScale,a=[],o,s;for(o=0,s=i.data.length;o<s;++o)a.push(r.getPixelForValue(this.getParsed(o)[r.axis],o));let l=e.barThickness;return{min:l||Qne(i),pixels:a,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:e.grouped,ratio:l?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){let{_cachedMeta:{vScale:i,_stacked:r,index:a},options:{base:o,minBarLength:s}}=this,l=o||0,c=this.getParsed(e),d=c._custom,u=hS(d),h=c[i.axis],m=0,g=r?this.applyStack(i,c,r):h,_,p;g!==h&&(m=g-h,g=h),u&&(h=d.barStart,g=d.barEnd-d.barStart,h!==0&&uo(h)!==uo(d.barEnd)&&(m=0),m+=h);let v=!Ut(o)&&!u?o:m,b=i.getPixelForValue(v);if(this.chart.getDataVisibility(e)?_=i.getPixelForValue(m+g):_=b,p=_-b,Math.abs(p)<s){p=tre(p,i,l)*s,h===l&&(b-=p/2);let y=i.getPixelForDecimal(0),E=i.getPixelForDecimal(1),F=Math.min(y,E),A=Math.max(y,E);b=Math.max(Math.min(b,A),F),_=b+p,r&&!u&&(c._stacks[i.axis]._visualValues[a]=i.getValueForPixel(_)-i.getValueForPixel(b))}if(b===i.getPixelForValue(l)){let y=uo(p)*i.getLineWidthForValue(l)/2;b+=y,p-=y}return{size:p,base:b,head:_,center:_+p/2}}_calculateBarIndexPixels(e,i){let r=i.scale,a=this.options,o=a.skipNull,s=Ct(a.maxBarThickness,1/0),l,c,d=this._getAxisCount();if(i.grouped){let u=o?this._getStackCount(e):i.stackCount,h=a.barThickness==="flex"?Jne(e,i,a,u*d):Zne(e,i,a,u*d),m=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,g=this._getAxis().indexOf(Ct(m,this.getFirstScaleIdForIndexAxis())),_=this._getStackIndex(this.index,this._cachedMeta.stack,o?e:void 0)+g;l=h.start+h.chunk*_+h.chunk/2,c=Math.min(s,h.chunk*h.ratio)}else l=r.getPixelForValue(this.getParsed(e)[r.axis],e),c=Math.min(s,i.min*i.ratio);return{base:l-c/2,head:l+c/2,center:l,size:c}}draw(){let e=this._cachedMeta,i=e.vScale,r=e.data,a=r.length,o=0;for(;o<a;++o)this.getParsed(o)[i.axis]!==null&&!r[o].hidden&&r[o].draw(this._ctx)}}return t})(),sre=(()=>{class t extends Tl{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,i,r,a){let o=super.parsePrimitiveData(e,i,r,a);for(let s=0;s<o.length;s++)o[s]._custom=this.resolveDataElementOptions(s+r).radius;return o}parseArrayData(e,i,r,a){let o=super.parseArrayData(e,i,r,a);for(let s=0;s<o.length;s++){let l=i[r+s];o[s]._custom=Ct(l[2],this.resolveDataElementOptions(s+r).radius)}return o}parseObjectData(e,i,r,a){let o=super.parseObjectData(e,i,r,a);for(let s=0;s<o.length;s++){let l=i[r+s];o[s]._custom=Ct(l&&l.r&&+l.r,this.resolveDataElementOptions(s+r).radius)}return o}getMaxOverflow(){let e=this._cachedMeta.data,i=0;for(let r=e.length-1;r>=0;--r)i=Math.max(i,e[r].size(this.resolveDataElementOptions(r))/2);return i>0&&i}getLabelAndValue(e){let i=this._cachedMeta,r=this.chart.data.labels||[],{xScale:a,yScale:o}=i,s=this.getParsed(e),l=a.getLabelForValue(s.x),c=o.getLabelForValue(s.y),d=s._custom;return{label:r[e]||"",value:"("+l+", "+c+(d?", "+d:"")+")"}}update(e){let i=this._cachedMeta.data;this.updateElements(i,0,i.length,e)}updateElements(e,i,r,a){let o=a==="reset",{iScale:s,vScale:l}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(i,a),u=s.axis,h=l.axis;for(let m=i;m<i+r;m++){let g=e[m],_=!o&&this.getParsed(m),p={},v=p[u]=o?s.getPixelForDecimal(.5):s.getPixelForValue(_[u]),b=p[h]=o?l.getBasePixel():l.getPixelForValue(_[h]);p.skip=isNaN(v)||isNaN(b),d&&(p.options=c||this.resolveDataElementOptions(m,g.active?"active":a),o&&(p.options.radius=0)),this.updateElement(g,m,p,a)}}resolveDataElementOptions(e,i){let r=this.getParsed(e),a=super.resolveDataElementOptions(e,i);a.$shared&&(a=Object.assign({},a,{$shared:!1}));let o=a.radius;return i!=="active"&&(a.radius=0),a.radius+=Ct(r&&r._custom,o),a}}return t})();function lre(t,n,e){let i=1,r=1,a=0,o=0;if(n<Ai){let s=t,l=s+n,c=Math.cos(s),d=Math.sin(s),u=Math.cos(l),h=Math.sin(l),m=(y,E,F)=>Yu(y,s,l,!0)?1:Math.max(E,E*e,F,F*e),g=(y,E,F)=>Yu(y,s,l,!0)?-1:Math.min(E,E*e,F,F*e),_=m(0,c,u),p=m(Qi,d,h),v=g(ni,c,u),b=g(ni+Qi,d,h);i=(_-v)/2,r=(p-b)/2,a=-(_+v)/2,o=-(p+b)/2}return{ratioX:i,ratioY:r,offsetX:a,offsetY:o}}var zS=(()=>{class t extends Tl{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}}
vendor: 5,379 bytes, line 8322
8322,cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let i=e.data,{labels:{pointStyle:r,textAlign:a,color:o,useBorderRadius:s,borderRadius:l}}=e.legend.options;return i.labels.length&&i.datasets.length?i.labels.map((c,d)=>{let h=e.getDatasetMeta(0).controller.getStyle(d);return{text:c,fillStyle:h.backgroundColor,fontColor:o,hidden:!e.getDataVisibility(d),lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:h.borderWidth,strokeStyle:h.borderColor,textAlign:a,pointStyle:r,borderRadius:s&&(l||h.borderRadius),index:d}}):[]}},onClick(e,i,r){r.chart.toggleDataVisibility(i.index),r.chart.update()}}}};constructor(e,i){super(e,i),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,i){let r=this.getDataset().data,a=this._cachedMeta;if(this._parsing===!1)a._parsed=r;else{let o=c=>+r[c];if(jt(r[e])){let{key:c="value"}=this._parsing;o=d=>+Is(r[d],c)}let s,l;for(s=e,l=e+i;s<l;++s)a._parsed[s]=o(s)}}_getRotation(){return Ba(this.options.rotation-90)}_getCircumference(){return Ba(this.options.circumference)}_getRotationExtents(){let e=Ai,i=-Ai;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){let a=this.chart.getDatasetMeta(r).controller,o=a._getRotation(),s=a._getCircumference();e=Math.min(e,o),i=Math.max(i,o+s)}return{rotation:e,circumference:i-e}}update(e){let i=this.chart,{chartArea:r}=i,a=this._cachedMeta,o=a.data,s=this.getMaxBorderWidth()+this.getMaxOffset(o)+this.options.spacing,l=Math.max((Math.min(r.width,r.height)-s)/2,0),c=Math.min(bN(this.options.cutout,l),1),d=this._getRingWeight(this.index),{circumference:u,rotation:h}=this._getRotationExtents(),{ratioX:m,ratioY:g,offsetX:_,offsetY:p}=lre(h,u,c),v=(r.width-s)/m,b=(r.height-s)/g,y=Math.max(Math.min(v,b)/2,0),E=OC(this.options.radius,y),F=Math.max(E*c,0),A=(E-F)/this._getVisibleDatasetWeightTotal();this.offsetX=_*E,this.offsetY=p*E,a.total=this.calculateTotal(),this.outerRadius=E-A*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-A*d,0),this.updateElements(o,0,o.length,e)}_circumference(e,i){let r=this.options,a=this._cachedMeta,o=this._getCircumference();return i&&r.animation.animateRotate||!this.chart.getDataVisibility(e)||a._parsed[e]===null||a.data[e].hidden?0:this.calculateCircumference(a._parsed[e]*o/Ai)}updateElements(e,i,r,a){let o=a==="reset",s=this.chart,l=s.chartArea,d=s.options.animation,u=(l.left+l.right)/2,h=(l.top+l.bottom)/2,m=o&&d.animateScale,g=m?0:this.innerRadius,_=m?0:this.outerRadius,{sharedOptions:p,includeOptions:v}=this._getSharedOptions(i,a),b=this._getRotation(),y;for(y=0;y<i;++y)b+=this._circumference(y,o);for(y=i;y<i+r;++y){let E=this._circumference(y,o),F=e[y],A={x:u+this.offsetX,y:h+this.offsetY,startAngle:b,endAngle:b+E,circumference:E,outerRadius:_,innerRadius:g};v&&(A.options=p||this.resolveDataElementOptions(y,F.active?"active":a)),b+=E,this.updateElement(F,y,A,a)}}calculateTotal(){let e=this._cachedMeta,i=e.data,r=0,a;for(a=0;a<i.length;a++){let o=e._parsed[a];o!==null&&!isNaN(o)&&this.chart.getDataVisibility(a)&&!i[a].hidden&&(r+=Math.abs(o))}return r}calculateCircumference(e){let i=this._cachedMeta.total;return i>0&&!isNaN(e)?Ai*(Math.abs(e)/i):0}getLabelAndValue(e){let i=this._cachedMeta,r=this.chart,a=r.data.labels||[],o=Xu(i._parsed[e],r.options.locale);return{label:a[e]||"",value:o}}getMaxBorderWidth(e){let i=0,r=this.chart,a,o,s,l,c;if(!e){for(a=0,o=r.data.datasets.length;a<o;++a)if(r.isDatasetVisible(a)){s=r.getDatasetMeta(a),e=s.data,l=s.controller;break}}if(!e)return 0;for(a=0,o=e.length;a<o;++a)c=l.resolveDataElementOptions(a),c.borderAlign!=="inner"&&(i=Math.max(i,c.borderWidth||0,c.hoverBorderWidth||0));return i}getMaxOffset(e){let i=0;for(let r=0,a=e.length;r<a;++r){let o=this.resolveDataElementOptions(r);i=Math.max(i,o.offset||0,o.hoverOffset||0)}return i}_getRingWeightOffset(e){let i=0;for(let r=0;r<e;++r)this.chart.isDatasetVisible(r)&&(i+=this._getRingWeight(r));return i}_getRingWeight(e){return Math.max(Ct(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}return t})(),cre=(()=>{class t extends Tl{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){let i=this._cachedMeta,{dataset:r,data:a=[],_dataset:o}=i,s=this.chart._animationsDisabled,{start:l,count:c}=WC(i,a,s);this._drawStart=l,this._drawCount=c,GC(i)&&(l=0,c=a.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!o._decimated,r.points=a;let d=this.resolveDatasetElementOptions(e);this.options.showLine||(d.borderWidth=0),d.segment=this.options.segment,this.updateElement(r,void 0,{animated:!s,options:d},e),this.updateElements(a,l,c,e)}updateElements(e,i,r,a){let o=a==="reset",{iScale:s,vScale:l,_stacked:c,_dataset:
8322d}=this._cachedMeta,{sharedOptions:u,includeOptions:h}=this._getSharedOptions(i,a),m=s.axis,g=l.axis,{spanGaps:_,segment:p}=this.options,v=Vc(_)?_:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||o||a==="none",y=i+r,E=e.length,F=i>0&&this.getParsed(i-1);for(let A=0;A<E;++A){let C=e[A],M=b?C:{};if(A<i||A>=y){M.skip=!0;continue}let L=this.getParsed(A),V=Ut(L[g]),z=M[m]=s.getPixelForValue(L[m],A),ee=M[g]=o||V?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,L,c):L[g],A);M.skip=isNaN(z)||isNaN(ee)||V,M.stop=A>0&&Math.abs(L[m]-F[m])>v,p&&(M.parsed=L,M.raw=d.data[A]),h&&(M.options=u||this.resolveDataElementOptions(A,C.active?"active":a)),b||this.updateElement(C,A,M,a),F=L}}getMaxOverflow(){let e=this._cachedMeta,i=e.dataset,r=i.options&&i.options.borderWidth||0,a=e.data||[];if(!a.length)return r;let o=a[0].size(this.resolveDataElementOptions(0)),s=a[a.length-1].size(this.resolveDataElementOptions(a.length-1));return Math.max(r,o,s)/2}draw(){let e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}return t})(),XL=(()=>{class t extends Tl{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let i=e.data;if(i.labels.length&&i.datasets.length){let{labels:{pointStyle:r,color:a}}=e.legend.options;return i.labels.map((o,s)=>{let c=e.getDatasetMeta(0).controller.getStyle(s);return{text:o,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:a,lineWidth:c.borderWidth,pointStyle:r,hidden:!e.getDataVisibility(s),index:s}})}return[]}},onClick(e,i,r){r.chart.toggleDataVisibility(i.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,i){super(e,i),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){let i=this._cachedMeta,r=this.chart,a=r.data.labels||[],o=Xu(i._parsed[e].r,r.options.locale);return{label:a[e]||"",value:o}}parseObjectData(e,i,r,a){return tS.bind(this)(e,i,r,a)}update(e){let i=this._cachedMeta.data;this._updateRadius(),this.updateElements(i,0,i.length,e)}getMinMax(){let e=this._cachedMeta,i={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((r,a)=>{let o=this.getParsed(a).r;!isNaN(o)&&this.chart.getDataVisibility(a)&&(o<i.min&&(i.min=o),o>i.max&&(i.max=o))}),i}_updateRadius(){let e=this.chart,i=e.chartArea,r=e.options,a=Math.min(i.right-i.left,i.bottom-i.top),o=Math.max(a/2,0),s=Math.max(r.cutoutPercentage?o/100*r.cutoutPercentage:1,0),l=(o-s)/e.getVisibleDatasetCount();this.outerRadius=o-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,i,r,a){let o=a==="reset",s=this.chart,c=s.options.animation,d=this._cachedMeta.rScale,u=d.xCenter,h=d.yCenter,m=d.getIndexAngle(0)-.5*ni,g=m,_,p=360/this.countVisibleElements();for(_=0;_<i;++_)g+=this._computeAngle(_,a,p);for(_=i;_<i+r;_++){let v=e[_],b=g,y=g+this._computeAngle(_,a,p),E=s.getDataVisibility(_)?d.getDistanceFromCenterForValue(this.getParsed(_).r):0;g=y,o&&(c.animateScale&&(E=0),c.animateRotate&&(b=y=m));let F={x:u,y:h,innerRadius:0,outerRadius:E,startAngle:b,endAngle:y,options:this.resolveDataElementOptions(_,v.active?"active":a)};this.updateElement(v,_,F,a)}}countVisibleElements(){let e=this._cachedMeta,i=0;return e.data.forEach((r,a)=>{!isNaN(this.getParsed(a).r)&&this.chart.getDataVisibility(a)&&i++}),i}_computeAngle(e,i,r){return this.chart.getDataVisibility(e)?Ba(this.resolveDataElementOptions(e,i).angle||r):0}}return t})(),dre=(()=>{class t extends zS{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}return t})(),ure=(()=>{class t extends Tl{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){let i=this._cachedMeta.vScale,r=this.getParsed(e);return{label:i.getLabels()[e],value:""+i.getLabelForValue(r[i.axis])}}parseObjectData(e,i,r,a){return tS.bind(this)(e,i,r,a)}update(e){let i=this._cachedMeta,r=i.dataset,a=i.data||[],o=i.iScale.getLabels();if(r.points=a,e!=="resize"){let s=this.resolveDatasetElementOptions(e);this.options.showLine||(s.borderWidth=0);let l={_loop:!0,_fullLoop:o.length===a.length,options:s};this.updateElement(r,void 0,l,e)}this.updateElements(a,0,a.length,e)}updateElements(e,i,r,a){let o=this._cachedMeta.rScale,s=a==="reset";for(let l=i;l<i+r;l++){let c=e[l],d=this.resolveDataElementOptions(l,c.active?"active":a),u=o.getPointPositionForValue(l,this.getParsed(l).r),h=s?o.xCenter:u.x,m=s?o.yCenter:u.y,g={x:h,y:m,angle:u.angle,skip:isNaN(h)||isNaN(m),options:d};this.updateElement(c,l,g,a)}}}return t})(),hre=(()=>{class t extends Tl{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(e){let i=this._cachedMeta,r=this.chart.data.labels||[],{xScale:a,yScale:o}=i,s=this.getParsed(e),l=a.getLabelForValue(s.x),c=o.getLabelForValue(s.y);return{label:r[e]||"",value:"("+l+", "+c+")"}}update(e){let i=this._cachedMeta,{data:r=[]}=i,a=this.chart._animationsDisabled,{start:o,count:s}=WC(i,r,a);if(this._drawStart=o,this._drawCount=s,GC(i)&&(o=0,s=r.length),this.options.showLine){this.datasetElementType||this.addElements();let{dataset:l,_dataset:c}=i;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!c._decimated,l.points=r;let d=this.resolveDatasetElementOptions(e);d.segment=this.options.segment,this.updateElement(l,void 0,{animated:!a,options:d},e)}else this.datasetElementType&&(delete i.dataset,this.datasetElementType=!1);this.updateElements(r,o,s,e)}addElements(){let{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(e,i,r,a){let o=a==="reset",{iScale:s,vScale:l,_stacked:c,_dataset:
vendor: 5,656 bytes, line 8322
8322d}=this._cachedMeta,u=this.resolveDataElementOptions(i,a),h=this.getSharedOptions(u),m=this.includeOptions(a,h),g=s.axis,_=l.axis,{spanGaps:p,segment:v}=this.options,b=Vc(p)?p:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||o||a==="none",E=i>0&&this.getParsed(i-1);for(let F=i;F<i+r;++F){let A=e[F],C=this.getParsed(F),M=y?A:{},L=Ut(C[_]),V=M[g]=s.getPixelForValue(C[g],F),z=M[_]=o||L?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,C,c):C[_],F);M.skip=isNaN(V)||isNaN(z)||L,M.stop=F>0&&Math.abs(C[g]-E[g])>b,v&&(M.parsed=C,M.raw=d.data[F]),m&&(M.options=h||this.resolveDataElementOptions(F,A.active?"active":a)),y||this.updateElement(A,F,M,a),E=C}this.updateSharedOptions(h,a,u)}getMaxOverflow(){let e=this._cachedMeta,i=e.data||[];if(!this.options.showLine){let l=0;for(let c=i.length-1;c>=0;--c)l=Math.max(l,i[c].size(this.resolveDataElementOptions(c))/2);return l>0&&l}let r=e.dataset,a=r.options&&r.options.borderWidth||0;if(!i.length)return a;let o=i[0].size(this.resolveDataElementOptions(0)),s=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(a,o,s)/2}}return t})(),mre=Object.freeze({__proto__:null,BarController:ore,BubbleController:sre,DoughnutController:zS,LineController:cre,PieController:dre,PolarAreaController:XL,RadarController:ure,ScatterController:hre});function zc(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var wS=class t{static override(n){Object.assign(t.prototype,n)}options;constructor(n){this.options=n||{}}init(){}formats(){return zc()}parse(){return zc()}format(){return zc()}add(){return zc()}diff(){return zc()}startOf(){return zc()}endOf(){return zc()}},fre={_date:wS};function pre(t,n,e,i){let{controller:r,data:a,_sorted:o}=t,s=r._cachedMeta.iScale,l=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null;if(s&&n===s.axis&&n!=="r"&&o&&a.length){let c=s._reversePixels?kN:Bo;if(i){if(r._sharedOptions){let d=a[0],u=typeof d.getRange=="function"&&d.getRange(n);if(u){let h=c(a,n,e-u),m=c(a,n,e+u);return{lo:h.lo,hi:m.hi}}}}else{let d=c(a,n,e);if(l){let{vScale:u}=r._cachedMeta,{_parsed:h}=t,m=h.slice(0,d.lo+1).reverse().findIndex(_=>!Ut(_[u.axis]));d.lo-=Math.max(0,m);let g=h.slice(d.hi).findIndex(_=>!Ut(_[u.axis]));d.hi+=Math.max(0,g)}return d}}return{lo:0,hi:a.length-1}}function Lf(t,n,e,i,r){let a=t.getSortedVisibleDatasetMetas(),o=e[n];for(let s=0,l=a.length;s<l;++s){let{index:c,data:d}=a[s],{lo:u,hi:h}=pre(a[s],n,o,r);for(let m=u;m<=h;++m){let g=d[m];g.skip||i(g,c,m)}}}function gre(t){let n=t.indexOf("x")!==-1,e=t.indexOf("y")!==-1;return function(i,r){let a=n?Math.abs(i.x-r.x):0,o=e?Math.abs(i.y-r.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(o,2))}}function mS(t,n,e,i,r){let a=[];return!r&&!t.isPointInArea(n)||Lf(t,e,n,function(s,l,c){!r&&!Vo(s,t.chartArea,0)||s.inRange(n.x,n.y,i)&&a.push({element:s,datasetIndex:l,index:c})},!0),a}function _re(t,n,e,i){let r=[];function a(o,s,l){let{startAngle:c,endAngle:d}=o.getProps(["startAngle","endAngle"],i),{angle:u}=UC(o,{x:n.x,y:n.y});Yu(u,c,d)&&r.push({element:o,datasetIndex:s,index:l})}return Lf(t,e,n,a),r}function vre(t,n,e,i,r,a){let o=[],s=gre(e),l=Number.POSITIVE_INFINITY;function c(d,u,h){let m=d.inRange(n.x,n.y,r);if(i&&!m)return;let g=d.getCenterPoint(r);if(!(!!a||t.isPointInArea(g))&&!m)return;let p=s(n,g);p<l?(o=[{element:d,datasetIndex:u,index:h}],l=p):p===l&&o.push({element:d,datasetIndex:u,index:h})}return Lf(t,e,n,c),o}function fS(t,n,e,i,r,a){return!a&&!t.isPointInArea(n)?[]:e==="r"&&!i?_re(t,n,e,r):vre(t,n,e,i,r,a)}function iL(t,n,e,i,r){let a=[],o=e==="x"?"inXRange":"inYRange",s=!1;return Lf(t,e,n,(l,c,d)=>{l[o]&&l[o](n[e],r)&&(a.push({element:l,datasetIndex:c,index:d}),s=s||l.inRange(n.x,n.y,r))}),i&&!s?[]:a}var bre={evaluateInteractionItems:Lf,modes:{index(t,n,e,i){let r=Dl(n,t),a=e.axis||"x",o=e.includeInvisible||!1,s=e.intersect?mS(t,r,a,i,o):fS(t,r,a,!1,i,o),l=[];return s.length?(t.getSortedVisibleDatasetMetas().forEach(c=>{let d=s[0].index,u=c.data[d];u&&!u.skip&&l.push({element:u,datasetIndex:c.index,index:d})}),l):[]},dataset(t,n,e,i){let r=Dl(n,t),a=e.axis||"xy",o=e.includeInvisible||!1,s=e.intersect?mS(t,r,a,i,o):fS(t,r,a,!1,i,o);if(s.length>0){let l=s[0].datasetIndex,c=t.getDatasetMeta(l).data;s=[];for(let d=0;d<c.length;++d)s.push({element:c[d],datasetIndex:l,index:d})}return s},point(t,n,e,i){let r=Dl(n,t),a=e.axis||"xy",o=e.includeInvisible||!1;return mS(t,r,a,i,o)},nearest(t,n,e,i){let r=Dl(n,t),a=e.axis||"xy",o=e.includeInvisible||!1;return fS(t,r,a,e.intersect,i,o)},x(t,n,e,i){let r=Dl(n,t);return iL(t,r,"x",e.intersect,i)},y(t,n,e,i){let r=Dl(n,t);return iL(t,r,"y",e.intersect,i)}}},KL=["left","top","right","bottom"];function Tf(t,n){return t.filter(e=>e.pos===n)}function nL(t,n){return t.filter(e=>KL.indexOf(e.pos)===-1&&e.box.axis===n)}function If(t,n){return t.sort((e,i)=>{let r=n?i:e,a=n?e:i;return r.weight===a.weight?r.index-a.index:r.weight-a.weight})}function yre(t){let n=[],e,i,r,a,o,s;for(e=0,i=(t||[]).length;e<i;++e)r=t[e],{position:a,options:{stack:o,stackWeight:s=1}}=r,n.push({index:e,box:r,pos:a,horizontal:r.isHorizontal(),weight:r.weight,stack:o&&a+o,stackWeight:s});return n}function xre(t){let n={};for(let e of t){let{stack:i,pos:r,stackWeight:a}=e;if(!i||!KL.includes(r))continue;let o=n[i]||(n[i]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=a}return n}function wre(t,n){let e=xre(t),{vBoxMaxWidth:i,hBoxMaxHeight:r}=n,a,o,s;for(a=0,o=t.length;a<o;++a){s=t[a];let{fullSize:l}=s.box,c=e[s.stack],d=c&&s.stackWeight/c.weight;s.horizontal?(s.width=d?d*i:l&&n.availableWidth,s.height=r):(s.width=i,s.height=d?d*r:l&&n.availableHeight)}return e}
vendor: 54,855 bytes, line 8322
8322function Cre(t){let n=yre(t),e=If(n.filter(c=>c.box.fullSize),!0),i=If(Tf(n,"left"),!0),r=If(Tf(n,"right")),a=If(Tf(n,"top"),!0),o=If(Tf(n,"bottom")),s=nL(n,"x"),l=nL(n,"y");return{fullSize:e,leftAndTop:i.concat(a),rightAndBottom:r.concat(l).concat(o).concat(s),chartArea:Tf(n,"chartArea"),vertical:i.concat(r).concat(l),horizontal:a.concat(o).concat(s)}}function rL(t,n,e,i){return Math.max(t[e],n[e])+Math.max(t[i],n[i])}function QL(t,n){t.top=Math.max(t.top,n.top),t.left=Math.max(t.left,n.left),t.bottom=Math.max(t.bottom,n.bottom),t.right=Math.max(t.right,n.right)}function Sre(t,n,e,i){let{pos:r,box:a}=e,o=t.maxPadding;if(!jt(r)){e.size&&(t[r]-=e.size);let u=i[e.stack]||{size:0,count:1};u.size=Math.max(u.size,e.horizontal?a.height:a.width),e.size=u.size/u.count,t[r]+=e.size}a.getPadding&&QL(o,a.getPadding());let s=Math.max(0,n.outerWidth-rL(o,t,"left","right")),l=Math.max(0,n.outerHeight-rL(o,t,"top","bottom")),c=s!==t.w,d=l!==t.h;return t.w=s,t.h=l,e.horizontal?{same:c,other:d}:{same:d,other:c}}function kre(t){let n=t.maxPadding;function e(i){let r=Math.max(n[i]-t[i],0);return t[i]+=r,r}t.y+=e("top"),t.x+=e("left"),e("right"),e("bottom")}function Dre(t,n){let e=n.maxPadding;function i(r){let a={left:0,top:0,right:0,bottom:0};return r.forEach(o=>{a[o]=Math.max(n[o],e[o])}),a}return i(t?["left","right"]:["top","bottom"])}function Rf(t,n,e,i){let r=[],a,o,s,l,c,d;for(a=0,o=t.length,c=0;a<o;++a){s=t[a],l=s.box,l.update(s.width||n.w,s.height||n.h,Dre(s.horizontal,n));let{same:u,other:h}=Sre(n,e,s,i);c|=u&&r.length,d=d||h,l.fullSize||r.push(s)}return c&&Rf(r,n,e,i)||d}function cv(t,n,e,i,r){t.top=e,t.left=n,t.right=n+i,t.bottom=e+r,t.width=i,t.height=r}function aL(t,n,e,i){let r=e.padding,{x:a,y:o}=n;for(let s of t){let l=s.box,c=i[s.stack]||{count:1,placed:0,weight:1},d=s.stackWeight/c.weight||1;if(s.horizontal){let u=n.w*d,h=c.size||l.height;Gu(c.start)&&(o=c.start),l.fullSize?cv(l,r.left,o,e.outerWidth-r.right-r.left,h):cv(l,n.left+c.placed,o,u,h),c.start=o,c.placed+=u,o=l.bottom}else{let u=n.h*d,h=c.size||l.width;Gu(c.start)&&(a=c.start),l.fullSize?cv(l,a,r.top,h,e.outerHeight-r.bottom-r.top):cv(l,a,n.top+c.placed,h,u),c.start=a,c.placed+=u,a=l.right}}n.x=a,n.y=o}var lr={addBox(t,n){t.boxes||(t.boxes=[]),n.fullSize=n.fullSize||!1,n.position=n.position||"top",n.weight=n.weight||0,n._layers=n._layers||function(){return[{z:0,draw(e){n.draw(e)}}]},t.boxes.push(n)},removeBox(t,n){let e=t.boxes?t.boxes.indexOf(n):-1;e!==-1&&t.boxes.splice(e,1)},configure(t,n,e){n.fullSize=e.fullSize,n.position=e.position,n.weight=e.weight},update(t,n,e,i){if(!t)return;let r=$n(t.options.layout.padding),a=Math.max(n-r.width,0),o=Math.max(e-r.height,0),s=Cre(t.boxes),l=s.vertical,c=s.horizontal;mi(t.boxes,_=>{typeof _.beforeLayout=="function"&&_.beforeLayout()});let d=l.reduce((_,p)=>p.box.options&&p.box.options.display===!1?_:_+1,0)||1,u=Object.freeze({outerWidth:n,outerHeight:e,padding:r,availableWidth:a,availableHeight:o,vBoxMaxWidth:a/2/d,hBoxMaxHeight:o/2}),h=Object.assign({},r);QL(h,$n(i));let m=Object.assign({maxPadding:h,w:a,h:o,x:r.left,y:r.top},r),g=wre(l.concat(c),u);Rf(s.fullSize,m,u,g),Rf(l,m,u,g),Rf(c,m,u,g)&&Rf(l,m,u,g),kre(m),aL(s.leftAndTop,m,u,g),m.x+=m.w,m.y+=m.h,aL(s.rightAndBottom,m,u,g),t.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},mi(s.chartArea,_=>{let p=_.box;Object.assign(p,t.chartArea),p.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}},vv=class{acquireContext(n,e){}releaseContext(n){return!1}addEventListener(n,e,i){}removeEventListener(n,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(n,e,i,r){return e=Math.max(0,e||n.width),i=i||n.height,{width:e,height:Math.max(0,r?Math.floor(e/r):i)}}isAttached(n){return!0}updateConfig(n){}},CS=class extends vv{acquireContext(n){return n&&n.getContext&&n.getContext("2d")||null}updateConfig(n){n.options.animation=!1}},pv="$chartjs",Ere={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},oL=t=>t===null||t==="";function Tre(t,n){let e=t.style,i=t.getAttribute("height"),r=t.getAttribute("width");if(t[pv]={initial:{height:i,width:r,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",oL(r)){let a=nS(t,"width");a!==void 0&&(t.width=a)}if(oL(i))if(t.style.height==="")t.height=t.width/(n||2);else{let a=nS(t,"height");a!==void 0&&(t.height=a)}return t}var ZL=jN?{passive:!0}:!1;function Ire(t,n,e){t&&t.addEventListener(n,e,ZL)}function Mre(t,n,e){t&&t.canvas&&t.canvas.removeEventListener(n,e,ZL)}function Are(t,n){let e=Ere[t.type]||t.type,{x:i,y:r}=Dl(t,n);return{type:e,chart:n,native:t,x:i!==void 0?i:null,y:r!==void 0?r:null}}function bv(t,n){for(let e of t)if(e===n||e.contains(n))return!0}function Rre(t,n,e){let i=t.canvas,r=new MutationObserver(a=>{let o=!1;for(let s of a)o=o||bv(s.addedNodes,i),o=o&&!bv(s.removedNodes,i);o&&e()});return r.observe(document,{childList:!0,subtree:!0}),r}function Pre(t,n,e){let i=t.canvas,r=new MutationObserver(a=>{let o=!1;for(let s of a)o=o||bv(s.removedNodes,i),o=o&&!bv(s.addedNodes,i);o&&e()});return r.observe(document,{childList:!0,subtree:!0}),r}var Ff=new Map,sL=0;function JL(){let t=window.devicePixelRatio;t!==sL&&(sL=t,Ff.forEach((n,e)=>{e.currentDevicePixelRatio!==t&&n()}))}function Fre(t,n){Ff.size||window.addEventListener("resize",JL),Ff.set(t,n)}function Ore(t){Ff.delete(t),Ff.size||window.removeEventListener("resize",JL)}function Nre(t,n,e){let i=t.canvas,r=i&&sv(i);if(!r)return;let a=$C((s,l)=>{let c=r.clientWidth;e(s,l),c<r.clientWidth&&e()},window),o=new ResizeObserver(s=>{let l=s[0],c=l.contentRect.width,d=l.contentRect.height;c===0&&d===0||a(c,d)});return o.observe(r),Fre(t,a),o}function pS(t,n,e){e&&e.disconnect(),n==="resize"&&Ore(t)}function Lre(t,n,e){let i=t.canvas,r=$C(a=>{t.ctx!==null&&e(Are(a,t))},t);return Ire(i,n,r),r}var SS=class extends vv{acquireContext(n,e){let i=n&&n.getContext&&n.getContext("2d");return i&&i.canvas===n?(Tre(n,e),i):null}releaseContext(n){let e=n.canvas;if(!e[pv])return!1;let i=e[pv].initial;["height","width"].forEach(a=>{let o=i[a];Ut(o)?e.removeAttribute(a):e.setAttribute(a,o)});let r=i.style||{};return Object.keys(r).forEach(a=>{e.style[a]=r[a]}),e.width=e.width,delete e[pv],!0}addEventListener(n,e,i){this.removeEventListener(n,e);let r=n.$proxies||(n.$proxies={}),o={attach:Rre,detach:Pre,resize:Nre}[e]||Lre;r[e]=o(n,e,i)}removeEventListener(n,e){let i=n.$proxies||(n.$proxies={}),r=i[e];if(!r)return;({attach:pS,detach:pS,resize:pS}[e]||Mre)(n,e,r),i[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(n,e,i,r){return zN(n,e,i,r)}isAttached(n){let e=n&&sv(n);return!!(e&&e.isConnected)}};function Bre(t){return!ov()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?CS:SS}var ho=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(n){let{x:e,y:i}=this.getProps(["x","y"],n);return{x:e,y:i}}hasValue(){return Vc(this.x)&&Vc(this.y)}getProps(n,e){let i=this.$animations;if(!e||!i)return this;let r={};return n.forEach(a=>{r[a]=i[a]&&i[a].active()?i[a]._to:this[a]}),r}};function Vre(t,n){let e=t.options.ticks,i=Ure(t),r=Math.min(e.maxTicksLimit||i,i),a=e.major.enabled?jre(n):[],o=a.length,s=a[0],l=a[o-1],c=[];if(o>r)return Hre(n,c,a,o/r),c;let d=zre(a,n,r);if(o>0){let u,h,m=o>1?Math.round((l-s)/(o-1)):null;for(dv(n,c,d,Ut(m)?0:s-m,s),u=0,h=o-1;u<h;u++)dv(n,c,d,a[u],a[u+1]);return dv(n,c,d,l,Ut(m)?n.length:l+m),c}return dv(n,c,d),c}function Ure(t){let n=t.options.offset,e=t._tickSize(),i=t._length/e+(n?0:1),r=t._maxLength/e;return Math.floor(Math.min(i,r))}function zre(t,n,e){let i=$re(t),r=n.length/e;if(!i)return Math.max(r,1);let a=wN(i);for(let o=0,s=a.length-1;o<s;o++){let l=a[o];if(l>r)return l}return Math.max(r,1)}function jre(t){let n=[],e,i;for(e=0,i=t.length;e<i;e++)t[e].major&&n.push(e);return n}function Hre(t,n,e,i){let r=0,a=e[0],o;for(i=Math.ceil(i),o=0;o<t.length;o++)o===a&&(n.push(t[o]),r++,a=e[r*i])}function dv(t,n,e,i,r){let a=Ct(i,0),o=Math.min(Ct(r,t.length),t.length),s=0,l,c,d;for(e=Math.ceil(e),r&&(l=r-i,e=l/Math.floor(l/e)),d=a;d<0;)s++,d=Math.round(a+s*e);for(c=Math.max(a,0);c<o;c++)c===d&&(n.push(t[c]),s++,d=Math.round(a+s*e))}function $re(t){let n=t.length,e,i;if(n<2)return!1;for(i=t[0],e=1;e<n;++e)if(t[e]-t[e-1]!==i)return!1;return i}var Wre=t=>t==="left"?"right":t==="right"?"left":t,lL=(t,n,e)=>n==="top"||n==="left"?t[n]+e:t[n]-e,cL=(t,n)=>Math.min(n||t,t);function dL(t,n){let e=[],i=t.length/n,r=t.length,a=0;for(;a<r;a+=i)e.push(t[Math.floor(a)]);return e}function Gre(t,n,e){let i=t.ticks.length,r=Math.min(n,i-1),a=t._startPixel,o=t._endPixel,s=1e-6,l=t.getPixelForTick(r),c;if(!(e&&(i===1?c=Math.max(l-a,o-l):n===0?c=(t.getPixelForTick(1)-l)/2:c=(l-t.getPixelForTick(r-1))/2,l+=r<n?c:-c,l<a-s||l>o+s)))return l}function qre(t,n){mi(t,e=>{let i=e.gc,r=i.length/2,a;if(r>n){for(a=0;a<r;++a)delete e.data[i[a]];i.splice(0,r)}})}function Mf(t){return t.drawTicks?t.tickLength:0}function uL(t,n){if(!t.display)return 0;let e=hn(t.font,n),i=$n(t.padding);return(Mi(t.text)?t.text.length:1)*e.lineHeight+i.height}function Yre(t,n){return Ms(t,{scale:n,type:"scale"})}function Xre(t,n,e){return Ms(t,{tick:e,index:n,type:"tick"})}function Kre(t,n,e){let i=tv(t);return(e&&n!=="right"||!e&&n==="right")&&(i=Wre(i)),i}function Qre(t,n,e,i){let{top:r,left:a,bottom:o,right:s,chart:l}=t,{chartArea:c,scales:d}=l,u=0,h,m,g,_=o-r,p=s-a;if(t.isHorizontal()){if(m=Hn(i,a,s),jt(e)){let v=Object.keys(e)[0],b=e[v];g=d[v].getPixelForValue(b)+_-n}else e==="center"?g=(c.bottom+c.top)/2+_-n:g=lL(t,e,n);h=s-a}else{if(jt(e)){let v=Object.keys(e)[0],b=e[v];m=d[v].getPixelForValue(b)-p+n}else e==="center"?m=(c.left+c.right)/2-p+n:m=lL(t,e,n);g=Hn(i,o,r),u=e==="left"?-Qi:Qi}return{titleX:m,titleY:g,maxWidth:h,rotation:u}}var Hc=class t extends ho{constructor(n){super(),this.id=n.id,this.type=n.type,this.options=void 0,this.ctx=n.ctx,this.chart=n.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(n){this.options=n.setContext(this.getContext()),this.axis=n.axis,this._userMin=this.parse(n.min),this._userMax=this.parse(n.max),this._suggestedMin=this.parse(n.suggestedMin),this._suggestedMax=this.parse(n.suggestedMax)}parse(n,e){return n}getUserBounds(){let{_userMin:n,_userMax:e,_suggestedMin:i,_suggestedMax:r}=this;return n=$r(n,Number.POSITIVE_INFINITY),e=$r(e,Number.NEGATIVE_INFINITY),i=$r(i,Number.POSITIVE_INFINITY),r=$r(r,Number.NEGATIVE_INFINITY),{min:$r(n,i),max:$r(e,r),minDefined:Xi(n),maxDefined:Xi(e)}}getMinMax(n){let{min:e,max:i,minDefined:r,maxDefined:a}=this.getUserBounds(),o;if(r&&a)return{min:e,max:i};let s=this.getMatchingVisibleMetas();for(let l=0,c=s.length;l<c;++l)o=s[l].controller.getMinMax(this,n),r||(e=Math.min(e,o.min)),a||(i=Math.max(i,o.max));return e=a&&e>i?i:e,i=r&&e>i?e:i,{min:$r(e,$r(i,e)),max:$r(i,$r(e,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let n=this.chart.data;return this.options.labels||(this.isHorizontal()?n.xLabels:n.yLabels)||n.labels||[]}getLabelItems(n=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(n))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Di(this.options.beforeUpdate,[this])}update(n,e,i){let{beginAtZero:r,grace:a,ticks:o}=this.options,s=o.sampleSize;this.beforeUpdate(),this.maxWidth=n,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=ON(this,a,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let l=s<this.ticks.length;this._convertTicksToLabels(l?dL(this.ticks,s):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||o.source==="auto")&&(this.ticks=Vre(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let n=this.options.reverse,e,i;this.isHorizontal()?(e=this.left,i=this.right):(e=this.top,i=this.bottom,n=!n),this._startPixel=e,this._endPixel=i,this._reversePixels=n,this._length=i-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Di(this.options.afterUpdate,[this])}beforeSetDimensions(){Di(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Di(this.options.afterSetDimensions,[this])}_callHooks(n){this.chart.notifyPlugins(n,this.getContext()),Di(this.options[n],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Di(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(n){let e=this.options.ticks,i,r,a;for(i=0,r=n.length;i<r;i++)a=n[i],a.label=Di(e.callback,[a.value,i,n],this)}afterTickToLabelConversion(){Di(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Di(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){let n=this.options,e=n.ticks,i=cL(this.ticks.length,n.ticks.maxTicksLimit),r=e.minRotation||0,a=e.maxRotation,o=r,s,l,c;if(!this._isVisible()||!e.display||r>=a||i<=1||!this.isHorizontal()){this.labelRotation=r;return}let d=this._getLabelSizes(),u=d.widest.width,h=d.highest.height,m=Sn(this.chart.width-u,0,this.maxWidth);s=n.offset?this.maxWidth/i:m/(i-1),u+6>s&&(s=m/(i-(n.offset?.5:1)),l=this.maxHeight-Mf(n.grid)-e.padding-uL(n.title,this.chart.options.font),c=Math.sqrt(u*u+h*h),o=J_(Math.min(Math.asin(Sn((d.highest.height+6)/s,-1,1)),Math.asin(Sn(l/c,-1,1))-Math.asin(Sn(h/c,-1,1)))),o=Math.max(r,Math.min(a,o))),this.labelRotation=o}afterCalculateLabelRotation(){Di(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Di(this.options.beforeFit,[this])}fit(){let n={width:0,height:0},{chart:e,options:{ticks:i,title:r,grid:a}}=this,o=this._isVisible(),s=this.isHorizontal();if(o){let l=uL(r,e.options.font);if(s?(n.width=this.maxWidth,n.height=Mf(a)+l):(n.height=this.maxHeight,n.width=Mf(a)+l),i.display&&this.ticks.length){let{first:c,last:d,widest:u,highest:h}=this._getLabelSizes(),m=i.padding*2,g=Ba(this.labelRotation),_=Math.cos(g),p=Math.sin(g);if(s){let v=i.mirror?0:p*u.width+_*h.height;n.height=Math.min(this.maxHeight,n.height+v+m)}else{let v=i.mirror?0:_*u.width+p*h.height;n.width=Math.min(this.maxWidth,n.width+v+m)}this._calculatePadding(c,d,p,_)}}this._handleMargins(),s?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=n.height):(this.width=n.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(n,e,i,r){let{ticks:{align:a,padding:o},position:s}=this.options,l=this.labelRotation!==0,c=s!=="top"&&this.axis==="x";if(this.isHorizontal()){let d=this.getPixelForTick(0)-this.left,u=this.right-this.getPixelForTick(this.ticks.length-1),h=0,m=0;l?c?(h=r*n.width,m=i*e.height):(h=i*n.height,m=r*e.width):a==="start"?m=e.width:a==="end"?h=n.width:a!=="inner"&&(h=n.width/2,m=e.width/2),this.paddingLeft=Math.max((h-d+o)*this.width/(this.width-d),0),this.paddingRight=Math.max((m-u+o)*this.width/(this.width-u),0)}else{let d=e.height/2,u=n.height/2;a==="start"?(d=0,u=n.height):a==="end"&&(d=e.height,u=0),this.paddingTop=d+o,this.paddingBottom=u+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Di(this.options.afterFit,[this])}isHorizontal(){let{axis:n,position:e}=this.options;return e==="top"||e==="bottom"||n==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(n){this.beforeTickToLabelConversion(),this.generateTickLabels(n);let e,i;for(e=0,i=n.length;e<i;e++)Ut(n[e].label)&&(n.splice(e,1),i--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let n=this._labelSizes;if(!n){let e=this.options.ticks.sampleSize,i=this.ticks;e<i.length&&(i=dL(i,e)),this._labelSizes=n=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return n}_computeLabelSizes(n,e,i){let{ctx:r,_longestTextCache:a}=this,o=[],s=[],l=Math.floor(e/cL(e,i)),c=0,d=0,u,h,m,g,_,p,v,b,y,E,F;for(u=0;u<e;u+=l){if(g=n[u].label,_=this._resolveTickFontOptions(u),r.font=p=_.string,v=a[p]=a[p]||{data:{},gc:[]},b=_.lineHeight,y=E=0,!Ut(g)&&!Mi(g))y=wf(r,v.data,v.gc,y,g),E=b;else if(Mi(g))for(h=0,m=g.length;h<m;++h)F=g[h],!Ut(F)&&!Mi(F)&&(y=wf(r,v.data,v.gc,y,F),E+=b);o.push(y),s.push(E),c=Math.max(y,c),d=Math.max(E,d)}qre(a,e);let A=o.indexOf(c),C=s.indexOf(d),M=L=>({width:o[L]||0,height:s[L]||0});return{first:M(0),last:M(e-1),widest:M(A),highest:M(C),widths:o,heights:s}}getLabelForValue(n){return n}getPixelForValue(n,e){return NaN}getValueForPixel(n){}getPixelForTick(n){let e=this.ticks;return n<0||n>e.length-1?null:this.getPixelForValue(e[n].value)}getPixelForDecimal(n){this._reversePixels&&(n=1-n);let e=this._startPixel+n*this._length;return SN(this._alignToPixels?Cl(this.chart,e,0):e)}getDecimalForPixel(n){let e=(n-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:n,max:e}=this;return n<0&&e<0?e:n>0&&e>0?n:0}getContext(n){let e=this.ticks||[];if(n>=0&&n<e.length){let i=e[n];return i.$context||(i.$context=Xre(this.getContext(),n,i))}return this.$context||(this.$context=Yre(this.chart.getContext(),this))}_tickSize(){let n=this.options.ticks,e=Ba(this.labelRotation),i=Math.abs(Math.cos(e)),r=Math.abs(Math.sin(e)),a=this._getLabelSizes(),o=n.autoSkipPadding||0,s=a?a.widest.width+o:0,l=a?a.highest.height+o:0;return this.isHorizontal()?l*i>s*r?s/i:l/r:l*r<s*i?l/i:s/r}_isVisible(){let n=this.options.display;return n!=="auto"?!!n:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(n){let e=this.axis,i=this.chart,r=this.options,{grid:a,position:o,border:s}=r,l=a.offset,c=this.isHorizontal(),u=this.ticks.length+(l?1:0),h=Mf(a),m=[],g=s.setContext(this.getContext()),_=g.display?g.width:0,p=_/2,v=function(yt){return Cl(i,yt,_)},b,y,E,F,A,C,M,L,V,z,ee,ze;if(o==="top")b=v(this.bottom),C=this.bottom-h,L=b-p,z=v(n.top)+p,ze=n.bottom;else if(o==="bottom")b=v(this.top),z=n.top,ze=v(n.bottom)-p,C=b+p,L=this.top+h;else if(o==="left")b=v(this.right),A=this.right-h,M=b-p,V=v(n.left)+p,ee=n.right;else if(o==="right")b=v(this.left),V=n.left,ee=v(n.right)-p,A=b+p,M=this.left+h;else if(e==="x"){if(o==="center")b=v((n.top+n.bottom)/2+.5);else if(jt(o)){let yt=Object.keys(o)[0],je=o[yt];b=v(this.chart.scales[yt].getPixelForValue(je))}z=n.top,ze=n.bottom,C=b+p,L=C+h}else if(e==="y"){if(o==="center")b=v((n.left+n.right)/2);else if(jt(o)){let yt=Object.keys(o)[0],je=o[yt];b=v(this.chart.scales[yt].getPixelForValue(je))}A=b-p,M=A-h,V=n.left,ee=n.right}let rt=Ct(r.ticks.maxTicksLimit,u),Me=Math.max(1,Math.ceil(u/rt));for(y=0;y<u;y+=Me){let yt=this.getContext(y),je=a.setContext(yt),ri=s.setContext(yt),Ht=je.lineWidth,wi=je.color,kn=ri.dash||[],_t=ri.dashOffset,St=je.tickWidth,Et=je.tickColor,Ft=je.tickBorderDash||[],Ot=je.tickBorderDashOffset;E=Gre(this,y,l),E!==void 0&&(F=Cl(i,E,Ht),c?A=M=V=ee=F:C=L=z=ze=F,m.push({tx1:A,ty1:C,tx2:M,ty2:L,x1:V,y1:z,x2:ee,y2:ze,width:Ht,color:wi,borderDash:kn,borderDashOffset:_t,tickWidth:St,tickColor:Et,tickBorderDash:Ft,tickBorderDashOffset:Ot}))}return this._ticksLength=u,this._borderValue=b,m}_computeLabelItems(n){let e=this.axis,i=this.options,{position:r,ticks:a}=i,o=this.isHorizontal(),s=this.ticks,{align:l,crossAlign:c,padding:d,mirror:u}=a,h=Mf(i.grid),m=h+d,g=u?-d:m,_=-Ba(this.labelRotation),p=[],v,b,y,E,F,A,C,M,L,V,z,ee,ze="middle";if(r==="top")A=this.bottom-g,C=this._getXAxisLabelAlignment();else if(r==="bottom")A=this.top+g,C=this._getXAxisLabelAlignment();else if(r==="left"){let Me=this._getYAxisLabelAlignment(h);C=Me.textAlign,F=Me.x}else if(r==="right"){let Me=this._getYAxisLabelAlignment(h);C=Me.textAlign,F=Me.x}else if(e==="x"){if(r==="center")A=(n.top+n.bottom)/2+m;else if(jt(r)){let Me=Object.keys(r)[0],yt=r[Me];A=this.chart.scales[Me].getPixelForValue(yt)+m}C=this._getXAxisLabelAlignment()}else if(e==="y"){if(r==="center")F=(n.left+n.right)/2-m;else if(jt(r)){let Me=Object.keys(r)[0],yt=r[Me];F=this.chart.scales[Me].getPixelForValue(yt)}C=this._getYAxisLabelAlignment(h).textAlign}e==="y"&&(l==="start"?ze="top":l==="end"&&(ze="bottom"));let rt=this._getLabelSizes();for(v=0,b=s.length;v<b;++v){y=s[v],E=y.label;let Me=a.setContext(this.getContext(v));M=this.getPixelForTick(v)+a.labelOffset,L=this._resolveTickFontOptions(v),V=L.lineHeight,z=Mi(E)?E.length:1;let yt=z/2,je=Me.color,ri=Me.textStrokeColor,Ht=Me.textStrokeWidth,wi=C;o?(F=M,C==="inner"&&(v===b-1?wi=this.options.reverse?"left":"right":v===0?wi=this.options.reverse?"right":"left":wi="center"),r==="top"?c==="near"||_!==0?ee=-z*V+V/2:c==="center"?ee=-rt.highest.height/2-yt*V+V:ee=-rt.highest.height+V/2:c==="near"||_!==0?ee=V/2:c==="center"?ee=rt.highest.height/2-yt*V:ee=rt.highest.height-z*V,u&&(ee*=-1),_!==0&&!Me.showLabelBackdrop&&(F+=V/2*Math.sin(_))):(A=M,ee=(1-z)*V/2);let kn;if(Me.showLabelBackdrop){let _t=$n(Me.backdropPadding),St=rt.heights[v],Et=rt.widths[v],Ft=ee-_t.top,Ot=0-_t.left;switch(ze){case"middle":Ft-=St/2;break;case"bottom":Ft-=St;break}switch(C){case"center":Ot-=Et/2;break;case"right":Ot-=Et;break;case"inner":v===b-1?Ot-=Et:v>0&&(Ot-=Et/2);break}kn={left:Ot,top:Ft,width:Et+_t.width,height:St+_t.height,color:Me.backdropColor}}p.push({label:E,font:L,textOffset:ee,options:{rotation:_,color:je,strokeColor:ri,strokeWidth:Ht,textAlign:wi,textBaseline:ze,translation:[F,A],backdrop:kn}})}return p}_getXAxisLabelAlignment(){let{position:n,ticks:e}=this.options;if(-Ba(this.labelRotation))return n==="top"?"left":"right";let r="center";return e.align==="start"?r="left":e.align==="end"?r="right":e.align==="inner"&&(r="inner"),r}_getYAxisLabelAlignment(n){let{position:e,ticks:{crossAlign:i,mirror:r,padding:a}}=this.options,o=this._getLabelSizes(),s=n+a,l=o.widest.width,c,d;return e==="left"?r?(d=this.right+a,i==="near"?c="left":i==="center"?(c="center",d+=l/2):(c="right",d+=l)):(d=this.right-s,i==="near"?c="right":i==="center"?(c="center",d-=l/2):(c="left",d=this.left)):e==="right"?r?(d=this.left+a,i==="near"?c="right":i==="center"?(c="center",d-=l/2):(c="left",d-=l)):(d=this.left+s,i==="near"?c="left":i==="center"?(c="center",d+=l/2):(c="right",d=this.right)):c="right",{textAlign:c,x:d}}_computeLabelArea(){if(this.options.ticks.mirror)return;let n=this.chart,e=this.options.position;if(e==="left"||e==="right")return{top:0,left:this.left,bottom:n.height,right:this.right};if(e==="top"||e==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:n.width}}drawBackground(){let{ctx:n,options:{backgroundColor:e},left:i,top:r,width:a,height:o}=this;e&&(n.save(),n.fillStyle=e,n.fillRect(i,r,a,o),n.restore())}getLineWidthForValue(n){let e=this.options.grid;if(!this._isVisible()||!e.display)return 0;let r=this.ticks.findIndex(a=>a.value===n);return r>=0?e.setContext(this.getContext(r)).lineWidth:0}drawGrid(n){let e=this.options.grid,i=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(n)),a,o,s=(l,c,d)=>{!d.width||!d.color||(i.save(),i.lineWidth=d.width,i.strokeStyle=d.color,i.setLineDash(d.borderDash||[]),i.lineDashOffset=d.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(e.display)for(a=0,o=r.length;a<o;++a){let l=r[a];e.drawOnChartArea&&s({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),e.drawTicks&&s({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){let{chart:n,ctx:e,options:{border:i,grid:r}}=this,a=i.setContext(this.getContext()),o=i.display?a.width:0;if(!o)return;let s=r.setContext(this.getContext(0)).lineWidth,l=this._borderValue,c,d,u,h;this.isHorizontal()?(c=Cl(n,this.left,o)-o/2,d=Cl(n,this.right,s)+s/2,u=h=l):(u=Cl(n,this.top,o)-o/2,h=Cl(n,this.bottom,s)+s/2,c=d=l),e.save(),e.lineWidth=a.width,e.strokeStyle=a.color,e.beginPath(),e.moveTo(c,u),e.lineTo(d,h),e.stroke(),e.restore()}drawLabels(n){if(!this.options.ticks.display)return;let i=this.ctx,r=this._computeLabelArea();r&&kf(i,r);let a=this.getLabelItems(n);for(let o of a){let s=o.options,l=o.font,c=o.label,d=o.textOffset;Sl(i,c,0,d,l,s)}r&&Df(i)}drawTitle(){let{ctx:n,options:{position:e,title:i,reverse:r}}=this;if(!i.display)return;let a=hn(i.font),o=$n(i.padding),s=i.align,l=a.lineHeight/2;e==="bottom"||e==="center"||jt(e)?(l+=o.bottom,Mi(i.text)&&(l+=a.lineHeight*(i.text.length-1))):l+=o.top;let{titleX:c,titleY:d,maxWidth:u,rotation:h}=Qre(this,l,e,s);Sl(n,i.text,0,0,a,{color:i.color,maxWidth:u,rotation:h,textAlign:Kre(s,e,r),textBaseline:"middle",translation:[c,d]})}draw(n){this._isVisible()&&(this.drawBackground(),this.drawGrid(n),this.drawBorder(),this.drawTitle(),this.drawLabels(n))}_layers(){let n=this.options,e=n.ticks&&n.ticks.z||0,i=Ct(n.grid&&n.grid.z,-1),r=Ct(n.border&&n.border.z,0);return!this._isVisible()||this.draw!==t.prototype.draw?[{z:e,draw:a=>{this.draw(a)}}]:[{z:i,draw:a=>{this.drawBackground(),this.drawGrid(a),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:e,draw:a=>{this.drawLabels(a)}}]}getMatchingVisibleMetas(n){let e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",r=[],a,o;for(a=0,o=e.length;a<o;++a){let s=e[a];s[i]===this.id&&(!n||s.type===n)&&r.push(s)}return r}_resolveTickFontOptions(n){let e=this.options.ticks.setContext(this.getContext(n));return hn(e.font)}_maxDigits(){let n=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/n}},Ju=class{constructor(n,e,i){this.type=n,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(n){return Object.prototype.isPrototypeOf.call(this.type.prototype,n.prototype)}register(n){let e=Object.getPrototypeOf(n),i;eae(e)&&(i=this.register(e));let r=this.items,a=n.id,o=this.scope+"."+a;if(!a)throw new Error("class does not have id: "+n);return a in r||(r[a]=n,Zre(n,o,i),this.override&&Ni.override(n.id,n.overrides)),o}get(n){return this.items[n]}unregister(n){let e=this.items,i=n.id,r=this.scope;i in e&&delete e[i],r&&i in Ni[r]&&(delete Ni[r][i],this.override&&delete wl[i])}};function Zre(t,n,e){let i=Hu(Object.create(null),[e?Ni.get(e):{},Ni.get(n),t.defaults]);Ni.set(n,i),t.defaultRoutes&&Jre(n,t.defaultRoutes),t.descriptors&&Ni.describe(n,t.descriptors)}function Jre(t,n){Object.keys(n).forEach(e=>{let i=e.split("."),r=i.pop(),a=[t].concat(i).join("."),o=n[e].split("."),s=o.pop(),l=o.join(".");Ni.route(a,r,l,s)})}function eae(t){return"id"in t&&"defaults"in t}var kS=class{constructor(){this.controllers=new Ju(Tl,"datasets",!0),this.elements=new Ju(ho,"elements"),this.plugins=new Ju(Object,"plugins"),this.scales=new Ju(Hc,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...n){this._each("register",n)}remove(...n){this._each("unregister",n)}addControllers(...n){this._each("register",n,this.controllers)}addElements(...n){this._each("register",n,this.elements)}addPlugins(...n){this._each("register",n,this.plugins)}addScales(...n){this._each("register",n,this.scales)}getController(n){return this._get(n,this.controllers,"controller")}getElement(n){return this._get(n,this.elements,"element")}getPlugin(n){return this._get(n,this.plugins,"plugin")}getScale(n){return this._get(n,this.scales,"scale")}removeControllers(...n){this._each("unregister",n,this.controllers)}removeElements(...n){this._each("unregister",n,this.elements)}removePlugins(...n){this._each("unregister",n,this.plugins)}removeScales(...n){this._each("unregister",n,this.scales)}_each(n,e,i){[...e].forEach(r=>{let a=i||this._getRegistryForType(r);i||a.isForType(r)||a===this.plugins&&r.id?this._exec(n,a,r):mi(r,o=>{let s=i||this._getRegistryForType(o);this._exec(n,s,o)})})}_exec(n,e,i){let r=Z_(n);Di(i["before"+r],[],i),e[n](i),Di(i["after"+r],[],i)}_getRegistryForType(n){for(let e=0;e<this._typedRegistries.length;e++){let i=this._typedRegistries[e];if(i.isForType(n))return i}return this.plugins}_get(n,e,i){let r=e.get(n);if(r===void 0)throw new Error('"'+n+'" is not a registered '+i+".");return r}},Ho=new kS,DS=class{constructor(){this._init=void 0}notify(n,e,i,r){if(e==="beforeInit"&&(this._init=this._createDescriptors(n,!0),this._notify(this._init,n,"install")),this._init===void 0)return;let a=r?this._descriptors(n).filter(r):this._descriptors(n),o=this._notify(a,n,e,i);return e==="afterDestroy"&&(this._notify(a,n,"stop"),this._notify(this._init,n,"uninstall"),this._init=void 0),o}_notify(n,e,i,r){r=r||{};for(let a of n){let o=a.plugin,s=o[i],l=[e,r,a.options];if(Di(s,l,o)===!1&&r.cancelable)return!1}return!0}invalidate(){Ut(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(n){if(this._cache)return this._cache;let e=this._cache=this._createDescriptors(n);return this._notifyStateChanges(n),e}_createDescriptors(n,e){let i=n&&n.config,r=Ct(i.options&&i.options.plugins,{}),a=tae(i);return r===!1&&!e?[]:nae(n,a,r,e)}_notifyStateChanges(n){let e=this._oldCache||[],i=this._cache,r=(a,o)=>a.filter(s=>!o.some(l=>s.plugin.id===l.plugin.id));this._notify(r(e,i),n,"stop"),this._notify(r(i,e),n,"start")}};function tae(t){let n={},e=[],i=Object.keys(Ho.plugins.items);for(let a=0;a<i.length;a++)e.push(Ho.getPlugin(i[a]));let r=t.plugins||[];for(let a=0;a<r.length;a++){let o=r[a];e.indexOf(o)===-1&&(e.push(o),n[o.id]=!0)}return{plugins:e,localIds:n}}function iae(t,n){return!n&&t===!1?null:t===!0?{}:t}function nae(t,{plugins:n,localIds:e},i,r){let a=[],o=t.getContext();for(let s of n){let l=s.id,c=iae(i[l],r);c!==null&&a.push({plugin:s,options:rae(t.config,{plugin:s,local:e[l]},c,o)})}return a}function rae(t,{plugin:n,local:e},i,r){let a=t.pluginScopeKeys(n),o=t.getOptionScopes(i,a);return e&&n.defaults&&o.push(n.defaults),t.createResolver(o,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function ES(t,n){let e=Ni.datasets[t]||{};return((n.datasets||{})[t]||{}).indexAxis||n.indexAxis||e.indexAxis||"x"}function aae(t,n){let e=t;return t==="_index_"?e=n:t==="_value_"&&(e=n==="x"?"y":"x"),e}function oae(t,n){return t===n?"_index_":"_value_"}function hL(t){if(t==="x"||t==="y"||t==="r")return t}function sae(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function TS(t,...n){if(hL(t))return t;for(let e of n){let i=e.axis||sae(e.position)||t.length>1&&hL(t[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function mL(t,n,e){if(e[n+"AxisID"]===t)return{axis:n}}function lae(t,n){if(n.data&&n.data.datasets){let e=n.data.datasets.filter(i=>i.xAxisID===t||i.yAxisID===t);if(e.length)return mL(t,"x",e[0])||mL(t,"y",e[0])}return{}}function cae(t,n){let e=wl[t.type]||{scales:{}},i=n.scales||{},r=ES(t.type,n),a=Object.create(null);return Object.keys(i).forEach(o=>{let s=i[o];if(!jt(s))return console.error(`Invalid scale configuration for scale: ${o}`);if(s._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${o}`);let l=TS(o,s,lae(o,t),Ni.scales[s.type]),c=oae(l,r),d=e.scales||{};a[o]=Wu(Object.create(null),[{axis:l},s,d[l],d[c]])}),t.data.datasets.forEach(o=>{let s=o.type||t.type,l=o.indexAxis||ES(s,n),d=(wl[s]||{}).scales||{};Object.keys(d).forEach(u=>{let h=aae(u,l),m=o[h+"AxisID"]||h;a[m]=a[m]||Object.create(null),Wu(a[m],[{axis:h},i[m],d[u]])})}),Object.keys(a).forEach(o=>{let s=a[o];Wu(s,[Ni.scales[s.type],Ni.scale])}),a}function e4(t){let n=t.options||(t.options={});n.plugins=Ct(n.plugins,{}),n.scales=cae(t,n)}function t4(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function dae(t){return t=t||{},t.data=t4(t.data),e4(t),t}var fL=new Map,i4=new Set;function uv(t,n){let e=fL.get(t);return e||(e=n(),fL.set(t,e),i4.add(e)),e}var Af=(t,n,e)=>{let i=Is(n,e);i!==void 0&&t.add(i)},IS=class{constructor(n){this._config=dae(n),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(n){this._config.type=n}get data(){return this._config.data}set data(n){this._config.data=t4(n)}get options(){return this._config.options}set options(n){this._config.options=n}get plugins(){return this._config.plugins}update(){let n=this._config;this.clearCache(),e4(n)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(n){return uv(n,()=>[[`datasets.${n}`,""]])}datasetAnimationScopeKeys(n,e){return uv(`${n}.transition.${e}`,()=>[[`datasets.${n}.transitions.${e}`,`transitions.${e}`],[`datasets.${n}`,""]])}datasetElementScopeKeys(n,e){return uv(`${n}-${e}`,()=>[[`datasets.${n}.elements.${e}`,`datasets.${n}`,`elements.${e}`,""]])}pluginScopeKeys(n){let e=n.id,i=this.type;return uv(`${i}-plugin-${e}`,()=>[[`plugins.${e}`,...n.additionalOptionScopes||[]]])}_cachedScopes(n,e){let i=this._scopeCache,r=i.get(n);return(!r||e)&&(r=new Map,i.set(n,r)),r}getOptionScopes(n,e,i){let{options:r,type:a}=this,o=this._cachedScopes(n,i),s=o.get(e);if(s)return s;let l=new Set;e.forEach(d=>{n&&(l.add(n),d.forEach(u=>Af(l,n,u))),d.forEach(u=>Af(l,r,u)),d.forEach(u=>Af(l,wl[a]||{},u)),d.forEach(u=>Af(l,Ni,u)),d.forEach(u=>Af(l,iv,u))});let c=Array.from(l);return c.length===0&&c.push(Object.create(null)),i4.has(e)&&o.set(e,c),c}chartOptionScopes(){let{options:n,type:e}=this;return[n,wl[e]||{},Ni.datasets[e]||{},{type:e},Ni,iv]}resolveNamedOptions(n,e,i,r=[""]){let a={$shared:!0},{resolver:o,subPrefixes:s}=pL(this._resolverCache,n,r),l=o;if(hae(o,e)){a.$shared=!1,i=Es(i)?i():i;let c=this.createResolver(n,i,s);l=Bc(o,i,c)}for(let c of e)a[c]=l[c];return a}createResolver(n,e,i=[""],r){let{resolver:a}=pL(this._resolverCache,n,i);return jt(e)?Bc(a,e,void 0,r):a}};function pL(t,n,e){let i=t.get(n);i||(i=new Map,t.set(n,i));let r=e.join(),a=i.get(r);return a||(a={resolver:av(n,e),subPrefixes:e.filter(s=>!s.toLowerCase().includes("hover"))},i.set(r,a)),a}var uae=t=>jt(t)&&Object.getOwnPropertyNames(t).some(n=>Es(t[n]));function hae(t,n){let{isScriptable:e,isIndexable:i}=ZC(t);for(let r of n){let a=e(r),o=i(r),s=(o||a)&&t[r];if(a&&(Es(s)||uae(s))||o&&Mi(s))return!0}return!1}var mae="4.5.1",fae=["top","bottom","left","right","chartArea"];function gL(t,n){return t==="top"||t==="bottom"||fae.indexOf(t)===-1&&n==="x"}function _L(t,n){return function(e,i){return e[t]===i[t]?e[n]-i[n]:e[t]-i[t]}}function vL(t){let n=t.chart,e=n.options.animation;n.notifyPlugins("afterRender"),Di(e&&e.onComplete,[t],n)}function pae(t){let n=t.chart,e=n.options.animation;Di(e&&e.onProgress,[t],n)}function n4(t){return ov()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}var gv={},bL=t=>{let n=n4(t);return Object.values(gv).filter(e=>e.canvas===n).pop()};function gae(t,n,e){let i=Object.keys(t);for(let r of i){let a=+r;if(a>=n){let o=t[r];delete t[r],(e>0||a>n)&&(t[a+e]=o)}}}function _ae(t,n,e,i){return!e||t.type==="mouseout"?null:i?n:t}var jS=(()=>{class t{static defaults=Ni;static instances=gv;static overrides=wl;static registry=Ho;static version=mae;static getChart=bL;static register(...e){Ho.add(...e),yL()}static unregister(...e){Ho.remove(...e),yL()}constructor(e,i){let r=this.config=new IS(i),a=n4(e),o=bL(a);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");let s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||Bre(a)),this.platform.updateConfig(r);let l=this.platform.acquireContext(a,s.aspectRatio),c=l&&l.canvas,d=c&&c.height,u=c&&c.width;if(this.id=vN(),this.ctx=l,this.canvas=c,this.width=u,this.height=d,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new DS,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=IN(h=>this.update(h),s.resizeDelay||0),this._dataChanges=[],gv[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}As.listen(this,"complete",vL),As.listen(this,"progress",pae),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:i},width:r,height:a,_aspectRatio:o}=this;return Ut(e)?i&&o?o:a?r/a:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Ho}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():iS(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return XC(this.canvas,this.ctx),this}stop(){return As.stop(this),this}resize(e,i){As.running(this)?this._resizeBeforeDraw={width:e,height:i}:this._resize(e,i)}_resize(e,i){let r=this.options,a=this.canvas,o=r.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(a,e,i,o),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,iS(this,l,!0)&&(this.notifyPlugins("resize",{size:s}),Di(r.onResize,[this,s],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){let i=this.options.scales||{};mi(i,(r,a)=>{r.id=a})}buildOrUpdateScales(){let e=this.options,i=e.scales,r=this.scales,a=Object.keys(r).reduce((s,l)=>(s[l]=!1,s),{}),o=[];i&&(o=o.concat(Object.keys(i).map(s=>{let l=i[s],c=TS(s,l),d=c==="r",u=c==="x";return{options:l,dposition:d?"chartArea":u?"bottom":"left",dtype:d?"radialLinear":u?"category":"linear"}}))),mi(o,s=>{let l=s.options,c=l.id,d=TS(c,l),u=Ct(l.type,s.dtype);(l.position===void 0||gL(l.position,d)!==gL(s.dposition))&&(l.position=s.dposition),a[c]=!0;let h=null;if(c in r&&r[c].type===u)h=r[c];else{let m=Ho.getScale(u);h=new m({id:c,type:u,ctx:this.ctx,chart:this}),r[h.id]=h}h.init(l,e)}),mi(a,(s,l)=>{s||delete r[l]}),mi(r,s=>{lr.configure(this,s,s.options),lr.addBox(this,s)})}_updateMetasets(){let e=this._metasets,i=this.data.datasets.length,r=e.length;if(e.sort((a,o)=>a.index-o.index),r>i){for(let a=i;a<r;++a)this._destroyDatasetMeta(a);e.splice(i,r-i)}this._sortedMetasets=e.slice(0).sort(_L("order","index"))}_removeUnreferencedMetasets(){let{_metasets:e,data:{datasets:i}}=this;e.length>i.length&&delete this._stacks,e.forEach((r,a)=>{i.filter(o=>o===r._dataset).length===0&&this._destroyDatasetMeta(a)})}buildOrUpdateControllers(){let e=[],i=this.data.datasets,r,a;for(this._removeUnreferencedMetasets(),r=0,a=i.length;r<a;r++){let o=i[r],s=this.getDatasetMeta(r),l=o.type||this.config.type;if(s.type&&s.type!==l&&(this._destroyDatasetMeta(r),s=this.getDatasetMeta(r)),s.type=l,s.indexAxis=o.indexAxis||ES(l,this.options),s.order=o.order||0,s.index=r,s.label=""+o.label,s.visible=this.isDatasetVisible(r),s.controller)s.controller.updateIndex(r),s.controller.linkScales();else{let c=Ho.getController(l),{datasetElementType:d,dataElementType:u}=Ni.datasets[l];Object.assign(c,{dataElementType:Ho.getElement(u),datasetElementType:d&&Ho.getElement(d)}),s.controller=new c(this,r),e.push(s.controller)}}return this._updateMetasets(),e}_resetElements(){mi(this.data.datasets,(e,i)=>{this.getDatasetMeta(i).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){let i=this.config;i.update();let r=this._options=i.createResolver(i.chartOptionScopes(),this.getContext()),a=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;let o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let d=0,u=this.data.datasets.length;d<u;d++){let{controller:h}=this.getDatasetMeta(d),m=!a&&o.indexOf(h)===-1;h.buildOrUpdateElements(m),s=Math.max(+h.getMaxOverflow(),s)}s=this._minPadding=r.layout.autoPadding?s:0,this._updateLayout(s),a||mi(o,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(_L("z","_idx"));let{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){mi(this.scales,e=>{lr.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options,i=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!NC(i,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:e}=this,i=this._getUniformDataChanges()||[];for(let{method:r,start:a,count:o}of i){let s=r==="_removeElements"?-o:o;gae(e,a,s)}}_getUniformDataChanges(){let e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];let i=this.data.datasets.length,r=o=>new Set(e.filter(s=>s[0]===o).map((s,l)=>l+","+s.splice(1).join(","))),a=r(0);for(let o=1;o<i;o++)if(!NC(a,r(o)))return;return Array.from(a).map(o=>o.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;lr.update(this,this.width,this.height,e);let i=this.chartArea,r=i.width<=0||i.height<=0;this._layers=[],mi(this.boxes,a=>{r&&a.position==="chartArea"||(a.configure&&a.configure(),this._layers.push(...a._layers()))},this),this._layers.forEach((a,o)=>{a._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let i=0,r=this.data.datasets.length;i<r;++i)this.getDatasetMeta(i).controller.configure();for(let i=0,r=this.data.datasets.length;i<r;++i)this._updateDataset(i,Es(e)?e({datasetIndex:i}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,i){let r=this.getDatasetMeta(e),a={meta:r,index:e,mode:i,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",a)!==!1&&(r.controller._update(i),a.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",a))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(As.has(this)?this.attached&&!As.running(this)&&As.start(this):(this.draw(),vL({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){let{width:r,height:a}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(r,a)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;let i=this._layers;for(e=0;e<i.length&&i[e].z<=0;++e)i[e].draw(this.chartArea);for(this._drawDatasets();e<i.length;++e)i[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){let i=this._sortedMetasets,r=[],a,o;for(a=0,o=i.length;a<o;++a){let s=i[a];(!e||s.visible)&&r.push(s)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;let e=this.getSortedVisibleDatasetMetas();for(let i=e.length-1;i>=0;--i)this._drawDataset(e[i]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){let i=this.ctx,r={meta:e,index:e.index,cancelable:!0},a=lS(this,e);this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(a&&kf(i,a),e.controller.draw(),a&&Df(i),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(e){return Vo(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,i,r,a){let o=bre.modes[i];return typeof o=="function"?o(this,e,r,a):[]}getDatasetMeta(e){let i=this.data.datasets[e],r=this._metasets,a=r.filter(o=>o&&o._dataset===i).pop();return a||(a={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:i&&i.order||0,index:e,_dataset:i,_parsed:[],_sorted:!1},r.push(a)),a}getContext(){return this.$context||(this.$context=Ms(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){let i=this.data.datasets[e];if(!i)return!1;let r=this.getDatasetMeta(e);return typeof r.hidden=="boolean"?!r.hidden:!i.hidden}setDatasetVisibility(e,i){let r=this.getDatasetMeta(e);r.hidden=!i}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,i,r){let a=r?"show":"hide",o=this.getDatasetMeta(e),s=o.controller._resolveAnimations(void 0,a);Gu(i)?(o.data[i].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),s.update(o,{visible:r}),this.update(l=>l.datasetIndex===e?a:void 0))}hide(e,i){this._updateVisibility(e,i,!1)}show(e,i){this._updateVisibility(e,i,!0)}_destroyDatasetMeta(e){let i=this._metasets[e];i&&i.controller&&i.controller._destroy(),delete this._metasets[e]}_stop(){let e,i;for(this.stop(),As.remove(this),e=0,i=this.data.datasets.length;e<i;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");let{canvas:e,ctx:i}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),XC(e,i),this.platform.releaseContext(i),this.canvas=null,this.ctx=null),delete gv[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){let e=this._listeners,i=this.platform,r=(o,s)=>{i.addEventListener(this,o,s),e[o]=s},a=(o,s,l)=>{o.offsetX=s,o.offsetY=l,this._eventHandler(o)};mi(this.options.events,o=>r(o,a))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});let e=this._responsiveListeners,i=this.platform,r=(c,d)=>{i.addEventListener(this,c,d),e[c]=d},a=(c,d)=>{e[c]&&(i.removeEventListener(this,c,d),delete e[c])},o=(c,d)=>{this.canvas&&this.resize(c,d)},s,l=()=>{a("attach",l),this.attached=!0,this.resize(),r("resize",o),r("detach",s)};s=()=>{this.attached=!1,a("resize",o),this._stop(),this._resize(0,0),r("attach",l)},i.isAttached(this.canvas)?l():s()}unbindEvents(){mi(this._listeners,(e,i)=>{this.platform.removeEventListener(this,i,e)}),this._listeners={},mi(this._responsiveListeners,(e,i)=>{this.platform.removeEventListener(this,i,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,i,r){let a=r?"set":"remove",o,s,l,c;for(i==="dataset"&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+a+"DatasetHoverStyle"]()),l=0,c=e.length;l<c;++l){s=e[l];let d=s&&this.getDatasetMeta(s.datasetIndex).controller;d&&d[a+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){let i=this._active||[],r=e.map(({datasetIndex:o,index:s})=>{let l=this.getDatasetMeta(o);if(!l)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:l.data[s],index:s}});!Cf(r,i)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,i))}notifyPlugins(e,i,r){return this._plugins.notify(this,e,i,r)}isPluginEnabled(e){return this._plugins._cache.filter(i=>i.plugin.id===e).length===1}_updateHoverStyles(e,i,r){let a=this.options.hover,o=(c,d)=>c.filter(u=>!d.some(h=>u.datasetIndex===h.datasetIndex&&u.index===h.index)),s=o(i,e),l=r?e:o(e,i);s.length&&this.updateHoverStyle(s,a.mode,!1),l.length&&a.mode&&this.updateHoverStyle(l,a.mode,!0)}_eventHandler(e,i){let r={event:e,replay:i,cancelable:!0,inChartArea:this.isPointInArea(e)},a=s=>(s.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,a)===!1)return;let o=this._handleEvent(e,i,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,a),(o||r.changed)&&this.render(),this}_handleEvent(e,i,r){let{_active:a=[],options:o}=this,s=i,l=this._getActiveElements(e,a,r,s),c=xN(e),d=_ae(e,this._lastEvent,r,c);r&&(this._lastEvent=null,Di(o.onHover,[e,l,this],this),c&&Di(o.onClick,[e,l,this],this));let u=!Cf(l,a);return(u||i)&&(this._active=l,this._updateHoverStyles(l,a,i)),this._lastEvent=d,u}_getActiveElements(e,i,r,a){if(e.type==="mouseout")return[];if(!r)return i;let o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,a)}}return t})();function yL(){return mi(jS.instances,t=>t._plugins.invalidate())}function vae(t,n,e){let{startAngle:i,x:r,y:a,outerRadius:o,innerRadius:s,options:l}=n,{borderWidth:c,borderJoinStyle:d}=l,u=Math.min(c/o,jn(i-e));if(t.beginPath(),t.arc(r,a,o-c/2,i+u/2,e-u/2),s>0){let h=Math.min(c/s,jn(i-e));t.arc(r,a,s+c/2,e-h/2,i+h/2,!0)}else{let h=Math.min(c/2,o*jn(i-e));if(d==="round")t.arc(r,a,h,e-ni/2,i+ni/2,!0);else if(d==="bevel"){let m=2*h*h,g=-m*Math.cos(e+ni/2)+r,_=-m*Math.sin(e+ni/2)+a,p=m*Math.cos(i+ni/2)+r,v=m*Math.sin(i+ni/2)+a;t.lineTo(g,_),t.lineTo(p,v)}}t.closePath(),t.moveTo(0,0),t.rect(0,0,t.canvas.width,t.canvas.height),t.clip("evenodd")}function bae(t,n,e){let{startAngle:i,pixelMargin:r,x:a,y:o,outerRadius:s,innerRadius:l}=n,c=r/s;t.beginPath(),t.arc(a,o,s,i-c,e+c),l>r?(c=r/l,t.arc(a,o,l,e+c,i-c,!0)):t.arc(a,o,r,e+Qi,i-Qi),t.closePath(),t.clip()}function yae(t){return rv(t,["outerStart","outerEnd","innerStart","innerEnd"])}function xae(t,n,e,i){let r=yae(t.options.borderRadius),a=(e-n)/2,o=Math.min(a,i*n/2),s=l=>{let c=(e-Math.min(a,l))*i/2;return Sn(l,0,Math.min(a,c))};return{outerStart:s(r.outerStart),outerEnd:s(r.outerEnd),innerStart:Sn(r.innerStart,0,o),innerEnd:Sn(r.innerEnd,0,o)}}function Zu(t,n,e,i){return{x:e+t*Math.cos(n),y:i+t*Math.sin(n)}}function yv(t,n,e,i,r,a){let{x:o,y:s,startAngle:l,pixelMargin:c,innerRadius:d}=n,u=Math.max(n.outerRadius+i+e-c,0),h=d>0?d+i+e+c:0,m=0,g=r-l;if(i){let Me=d>0?d-i:0,yt=u>0?u-i:0,je=(Me+yt)/2,ri=je!==0?g*je/(je+i):g;m=(g-ri)/2}let _=Math.max(.001,g*u-e/ni)/u,p=(g-_)/2,v=l+p+m,b=r-p-m,{outerStart:y,outerEnd:E,innerStart:F,innerEnd:A}=xae(n,h,u,b-v),C=u-y,M=u-E,L=v+y/C,V=b-E/M,z=h+F,ee=h+A,ze=v+F/z,rt=b-A/ee;if(t.beginPath(),a){let Me=(L+V)/2;if(t.arc(o,s,u,L,Me),t.arc(o,s,u,Me,V),E>0){let Ht=Zu(M,V,o,s);t.arc(Ht.x,Ht.y,E,V,b+Qi)}let yt=Zu(ee,b,o,s);if(t.lineTo(yt.x,yt.y),A>0){let Ht=Zu(ee,rt,o,s);t.arc(Ht.x,Ht.y,A,b+Qi,rt+Math.PI)}let je=(b-A/h+(v+F/h))/2;if(t.arc(o,s,h,b-A/h,je,!0),t.arc(o,s,h,je,v+F/h,!0),F>0){let Ht=Zu(z,ze,o,s);t.arc(Ht.x,Ht.y,F,ze+Math.PI,v-Qi)}let ri=Zu(C,v,o,s);if(t.lineTo(ri.x,ri.y),y>0){let Ht=Zu(C,L,o,s);t.arc(Ht.x,Ht.y,y,v-Qi,L)}}else{t.moveTo(o,s);let Me=Math.cos(L)*u+o,yt=Math.sin(L)*u+s;t.lineTo(Me,yt);let je=Math.cos(V)*u+o,ri=Math.sin(V)*u+s;t.lineTo(je,ri)}t.closePath()}function wae(t,n,e,i,r){let{fullCircles:a,startAngle:o,circumference:s}=n,l=n.endAngle;if(a){yv(t,n,e,i,l,r);for(let c=0;c<a;++c)t.fill();isNaN(s)||(l=o+(s%Ai||Ai))}return yv(t,n,e,i,l,r),t.fill(),l}function Cae(t,n,e,i,r){let{fullCircles:a,startAngle:o,circumference:s,options:l}=n,{borderWidth:c,borderJoinStyle:d,borderDash:u,borderDashOffset:h,borderRadius:m}=l,g=l.borderAlign==="inner";if(!c)return;t.setLineDash(u||[]),t.lineDashOffset=h,g?(t.lineWidth=c*2,t.lineJoin=d||"round"):(t.lineWidth=c,t.lineJoin=d||"bevel");let _=n.endAngle;if(a){yv(t,n,e,i,_,r);for(let p=0;p<a;++p)t.stroke();isNaN(s)||(_=o+(s%Ai||Ai))}g&&bae(t,n,_),l.selfJoin&&_-o>=ni&&m===0&&d!=="miter"&&vae(t,n,_),a||(yv(t,n,e,i,_,r),t.stroke())}var MS=class extends ho{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:n=>n!=="borderDash"};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(n){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,e,i){let r=this.getProps(["x","y"],i),{angle:a,distance:o}=UC(r,{x:n,y:e}),{startAngle:s,endAngle:l,innerRadius:c,outerRadius:d,circumference:u}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),h=(this.options.spacing+this.options.borderWidth)/2,m=Ct(u,l-s),g=Yu(a,s,l)&&s!==l,_=m>=Ai||g,p=zo(o,c+h,d+h);return _&&p}getCenterPoint(n){let{x:e,y:i,startAngle:r,endAngle:a,innerRadius:o,outerRadius:s}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:l,spacing:c}=this.options,d=(r+a)/2,u=(o+s+c+l)/2;return{x:e+Math.cos(d)*u,y:i+Math.sin(d)*u}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){let{options:e,circumference:i}=this,r=(e.offset||0)/4,a=(e.spacing||0)/2,o=e.circular;if(this.pixelMargin=e.borderAlign==="inner"?.33:0,this.fullCircles=i>Ai?Math.floor(i/Ai):0,i===0||this.innerRadius<0||this.outerRadius<0)return;n.save();let s=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(s)*r,Math.sin(s)*r);let l=1-Math.sin(Math.min(ni,i||0)),c=r*l;n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor,wae(n,this,c,a,o),Cae(n,this,c,a,o),n.restore(
vendor: 5,239 bytes, line 8322
8322)}};function r4(t,n,e=n){t.lineCap=Ct(e.borderCapStyle,n.borderCapStyle),t.setLineDash(Ct(e.borderDash,n.borderDash)),t.lineDashOffset=Ct(e.borderDashOffset,n.borderDashOffset),t.lineJoin=Ct(e.borderJoinStyle,n.borderJoinStyle),t.lineWidth=Ct(e.borderWidth,n.borderWidth),t.strokeStyle=Ct(e.borderColor,n.borderColor)}function Sae(t,n,e){t.lineTo(e.x,e.y)}function kae(t){return t.stepped?PN:t.tension||t.cubicInterpolationMode==="monotone"?FN:Sae}function a4(t,n,e={}){let i=t.length,{start:r=0,end:a=i-1}=e,{start:o,end:s}=n,l=Math.max(r,o),c=Math.min(a,s),d=r<o&&a<o||r>s&&a>s;return{count:i,start:l,loop:n.loop,ilen:c<l&&!d?i+c-l:c-l}}function Dae(t,n,e,i){let{points:r,options:a}=n,{count:o,start:s,loop:l,ilen:c}=a4(r,e,i),d=kae(a),{move:u=!0,reverse:h}=i||{},m,g,_;for(m=0;m<=c;++m)g=r[(s+(h?c-m:m))%o],!g.skip&&(u?(t.moveTo(g.x,g.y),u=!1):d(t,_,g,h,a.stepped),_=g);return l&&(g=r[(s+(h?c:0))%o],d(t,_,g,h,a.stepped)),!!l}function Eae(t,n,e,i){let r=n.points,{count:a,start:o,ilen:s}=a4(r,e,i),{move:l=!0,reverse:c}=i||{},d=0,u=0,h,m,g,_,p,v,b=E=>(o+(c?s-E:E))%a,y=()=>{_!==p&&(t.lineTo(d,p),t.lineTo(d,_),t.lineTo(d,v))};for(l&&(m=r[b(0)],t.moveTo(m.x,m.y)),h=0;h<=s;++h){if(m=r[b(h)],m.skip)continue;let E=m.x,F=m.y,A=E|0;A===g?(F<_?_=F:F>p&&(p=F),d=(u*d+E)/++u):(y(),t.lineTo(E,F),g=A,u=0,_=p=F),v=F}y()}function AS(t){let n=t.options,e=n.borderDash&&n.borderDash.length;return!t._decimated&&!t._loop&&!n.tension&&n.cubicInterpolationMode!=="monotone"&&!n.stepped&&!e?Eae:Dae}function Tae(t){return t.stepped?HN:t.tension||t.cubicInterpolationMode==="monotone"?$N:yl}function Iae(t,n,e,i){let r=n._path;r||(r=n._path=new Path2D,n.path(r,e,i)&&r.closePath()),r4(t,n.options),t.stroke(r)}function Mae(t,n,e,i){let{segments:r,options:a}=n,o=AS(n);for(let s of r)r4(t,a,s.style),t.beginPath(),o(t,n,s,{start:e,end:e+i-1})&&t.closePath(),t.stroke()}var Aae=typeof Path2D=="function";function Rae(t,n,e,i){Aae&&!n.options.segment?Iae(t,n,e,i):Mae(t,n,e,i)}var Cv=(()=>{class t extends ho{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,i){let r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){let a=r.spanGaps?this._loop:this._fullLoop;UN(this._points,r,e,a,i),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=GN(this,this.options.segment))}first(){let e=this.segments,i=this.points;return e.length&&i[e[0].start]}last(){let e=this.segments,i=this.points,r=e.length;return r&&i[e[r-1].end]}interpolate(e,i){let r=this.options,a=e[i],o=this.points,s=sS(this,{property:i,start:a,end:a});if(!s.length)return;let l=[],c=Tae(r),d,u;for(d=0,u=s.length;d<u;++d){let{start:h,end:m}=s[d],g=o[h],_=o[m];if(g===_){l.push(g);continue}let p=Math.abs((a-g[i])/(_[i]-g[i])),v=c(g,_,p,r.stepped);v[i]=e[i],l.push(v)}return l.length===1?l[0]:l}pathSegment(e,i,r){return AS(this)(e,this,i,r)}path(e,i,r){let a=this.segments,o=AS(this),s=this._loop;i=i||0,r=r||this.points.length-i;for(let l of a)s&=o(e,this,l,{start:i,end:i+r-1});return!!s}draw(e,i,r,a){let o=this.options||{};(this.points||[]).length&&o.borderWidth&&(e.save(),Rae(e,this,r,a),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}return t})();function xL(t,n,e,i){let r=t.options,{[e]:a}=t.getProps([e],i);return Math.abs(n-a)<r.radius+r.hitRadius}var Pae=(()=>{class t extends ho{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,i,r){let a=this.options,{x:o,y:s}=this.getProps(["x","y"],r);return Math.pow(e-o,2)+Math.pow(i-s,2)<Math.pow(a.hitRadius+a.radius,2)}inXRange(e,i){return xL(this,e,"x",i)}inYRange(e,i){return xL(this,e,"y",i)}getCenterPoint(e){let{x:i,y:r}=this.getProps(["x","y"],e);return{x:i,y:r}}size(e){e=e||this.options||{};let i=e.radius||0;i=Math.max(i,i&&e.hoverRadius||0);let r=i&&e.borderWidth||0;return(i+r)*2}draw(e,i){let r=this.options;this.skip||r.radius<.1||!Vo(this,i,this.size(r)/2)||(e.strokeStyle=r.borderColor,e.lineWidth=r.borderWidth,e.fillStyle=r.backgroundColor,nv(e,r,this.x,this.y))}getRange(){let e=this.options||{};return e.radius+e.hitRadius}}return t})();function o4(t,n){let{x:e,y:i,base:r,width:a,height:o}=t.getProps(["x","y","base","width","height"],n),s,l,c,d,u;
8322return t.horizontal?(u=o/2,s=Math.min(e,r),l=Math.max(e,r),c=i-u,d=i+u):(u=a/2,s=e-u,l=e+u,c=Math.min(i,r),d=Math.max(i,r)),{left:s,top:c,right:l,bottom:d}}function El(t,n,e,i){return t?0:Sn(n,e,i)}function Fae(t,n,e){let i=t.options.borderWidth,r=t.borderSkipped,a=QC(i);return{t:El(r.top,a.top,0,e),r:El(r.right,a.right,0,n),b:El(r.bottom,a.bottom,0,e),l:El(r.left,a.left,0,n)}}function Oae(t,n,e){let{enableBorderRadius:i}=t.getProps(["enableBorderRadius"]),r=t.options.borderRadius,a=kl(r),o=Math.min(n,e),s=t.borderSkipped,l=i||jt(r);return{topLeft:El(!l||s.top||s.left,a.topLeft,0,o),topRight:El(!l||s.top||s.right,a.topRight,0,o),bottomLeft:El(!l||s.bottom||s.left,a.bottomLeft,0,o),bottomRight:El(!l||s.bottom||s.right,a.bottomRight,0,o)}}function Nae(t){let n=o4(t),e=n.right-n.left,i=n.bottom-n.top,r=Fae(t,e/2,i/2),a=Oae(t,e/2,i/2);return{outer:{x:n.left,y:n.top,w:e,h:i,radius:a},inner:{x:n.left+r.l,y:n.top+r.t,w:e-r.l-r.r,h:i-r.t-r.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,a.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(r.b,r.r))}}}}function gS(t,n,e,i){let r=n===null,a=e===null,s=t&&!(r&&a)&&o4(t,i);return s&&(r||zo(n,s.left,s.right))&&(a||zo(e,s.top,s.bottom))}function Lae(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function Bae(t,n){t.rect(n.x,n.y,n.w,n.h)}function _S(t,n,e={}){let i=t.x!==e.x?-n:0,r=t.y!==e.y?-n:0,a=(t.x+t.w!==e.x+e.w?n:0)-i,o=(t.y+t.h!==e.y+e.h?n:0)-r;return{x:t.x+i,y:t.y+r,w:t.w+a,h:t.h+o,radius:t.radius}}var RS=class extends ho{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(n){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,n&&Object.assign(this,n)}draw(n){let{inflateAmount:e,options:{borderColor:i,backgroundColor:r}}=this,{inner:a,outer:o}=Nae(this),s=Lae(o.radius)?Ku:Bae;n.save(),(o.w!==a.w||o.h!==a.h)&&(n.beginPath(),s(n,_S(o,e,a)),n.clip(),s(n,_S(a,-e,o)),n.fillStyle=i,n.fill("evenodd")),n.beginPath(),s(n,_S(a,e)),n.fillStyle=r,n.fill(),n.restore()}inRange(n,e,i){return gS(this,n,e,i)}inXRange(n,e){return gS(this,n,null,e)}inYRange(n,e){return gS(this,null,n,e)}getCenterPoint(n){let{x:e,y:i,base:r,horizontal:a}=this.getProps(["x","y","base","horizontal"],n);return{x:a?(e+r)/2:e,y:a?i:(i+r)/2}}getRange(n){return n==="x"?this.width/2:this.height/2}},Vae=Object.freeze({__proto__:null,ArcElement:MS,BarElement:RS,LineElement:Cv,PointElement:Pae}),PS=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],wL=PS.map(t=>t.replace("rgb(","rgba(").replace(")",", 0.5)"));function s4(t){return PS[t%PS.length]}function l4(t){return wL[t%wL.length]}function Uae(t,n){return t.borderColor=s4(n),t.backgroundColor=l4(n),++n}function zae(t,n){return t.backgroundColor=t.data.map(()=>s4(n++)),n}function jae(t,n){return t.backgroundColor=t.data.map(()=>l4(n++)),n}function Hae(t){let n=0;return(e,i)=>{let r=t.getDatasetMeta(i).controller;r instanceof zS?n=zae(e,n):r instanceof XL?n=jae(e,n):r&&(n=Uae(e,n))}}function CL(t){let n;for(n in t)if(t[n].borderColor||t[n].backgroundColor)return!0;return!1}function $ae(t){return t&&(t.borderColor||t.backgroundColor)}function Wae(){return Ni.borderColor!=="rgba(0,0,0,0.1)"||Ni.backgroundColor!=="rgba(0,0,0,0.1)"}var Gae={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,n,e){if(!e.enabled)return;let{data:{datasets:i},options:r}=t.config,{elements:a}=r,o=CL(i)||$ae(r)||a&&CL(a)||Wae();if(!e.forceOverride&&o)return;let s=Hae(t);i.forEach(s)}};function qae(t,n,e,i,r){let a=r.samples||i;if(a>=e)return t.slice(n,n+e);let o=[],s=(e-2)/(a-2),l=0,c=n+e-1,d=n,u,h,m,g,_;for(o[l++]=t[d],u=0;u<a-2;u++){let p=0,v=0,b,y=Math.floor((u+1)*s)+1+n,E=Math.min(Math.floor((u+2)*s)+1,e)+n,F=E-y;for(b=y;b<E;b++)p+=t[b].x,v+=t[b].y;p/=F,v/=F;let A=Math.floor(u*s)+1+n,C=Math.min(Math.floor((u+1)*s)+1,e)+n,{x:M,y:L}=t[d];for(m=g=-1,b=A;b<C;b++)g=.5*Math.abs((M-p)*(t[b].y-L)-(M-t[b].x)*(v-L)),g>m&&(m=g,h=t[b],_=b);o[l++]=h,d=_}return o[l++]=t[c],o}function Yae(t,n,e,i){let r=0,a=0,o,s,l,c,d,u,h,m,g,_,p=[],v=n+e-1,b=t[n].x,E=t[v].x-b;for(o=n;o<n+e;++o){s=t[o],l=(s.x-b)/E*i,c=s.y;let F=l|0;if(F===d)c<g?(g=c,u=o):c>_&&(_=c,h=o),r=(a*r+s.x)/++a;else{let A=o-1;if(!Ut(u)&&!Ut(h)){let C=Math.min(u,h),M=Math.max(u,h);C!==m&&C!==A&&p.push(et(H({},t[C]),{x:r})),M!==m&&M!==A&&p.push(et(H({},t[M]),{x:r}))}o>0&&A!==m&&p.push(t[A]),p.push(s),d=F,a=0,g=_=c,u=h=m=o}}return p}function c4(t){if(t._decimated){let n=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:n})}}
8322function SL(t){t.data.datasets.forEach(n=>{c4(n)})}function Xae(t,n){let e=n.length,i=0,r,{iScale:a}=t,{min:o,max:s,minDefined:l,maxDefined:c}=a.getUserBounds();return l&&(i=Sn(Bo(n,a.axis,o).lo,0,e-1)),c?r=Sn(Bo(n,a.axis,s).hi+1,i,e)-i:r=e-i,{start:i,count:r}}var Kae={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,n,e)=>{if(!e.enabled){SL(t);return}let i=t.width;t.data.datasets.forEach((r,a)=>{let{_data:o,indexAxis:s}=r,l=t.getDatasetMeta(a),c=o||r.data;if(Qu([s,t.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;let d=t.scales[l.xAxisID];if(d.type!=="linear"&&d.type!=="time"||t.options.parsing)return;let{start:u,count:h}=Xae(l,c),m=e.threshold||4*i;if(h<=m){c4(r);return}Ut(o)&&(r._data=c,delete r.data,Object.defineProperty(r,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(_){this._data=_}}));let g;switch(e.algorithm){case"lttb":g=qae(c,u,h,i,e);break;case"min-max":g=Yae(c,u,h,i);break;default:throw new Error(`Unsupported decimation algorithm '${e.algorithm}'`)}r._decimated=g})},destroy(t){SL(t)}};function Qae(t,n,e){let i=t.segments,r=t.points,a=n.points,o=[];for(let s of i){let{start:l,end:c}=s;c=Sv(l,c,r);let d=FS(e,r[l],r[c],s.loop);if(!n.segments){o.push({source:s,target:d,start:r[l],end:r[c]});continue}let u=sS(n,d);for(let h of u){let m=FS(e,a[h.start],a[h.end],h.loop),g=oS(s,r,m);for(let _ of g)o.push({source:_,target:h,start:{[e]:kL(d,m,"start",Math.max)},end:{[e]:kL(d,m,"end",Math.min)}})}}return o}function FS(t,n,e,i){if(i)return;let r=n[t],a=e[t];return t==="angle"&&(r=jn(r),a=jn(a)),{property:t,start:r,end:a}}function Zae(t,n){let{x:e=null,y:i=null}=t||{},r=n.points,a=[];return n.segments.forEach(({start:o,end:s})=>{s=Sv(o,s,r);let l=r[o],c=r[s];i!==null?(a.push({x:l.x,y:i}),a.push({x:c.x,y:i})):e!==null&&(a.push({x:e,y:l.y}),a.push({x:e,y:c.y}))}),a}function Sv(t,n,e){for(;n>t;n--){let i=e[n];if(!isNaN(i.x)&&!isNaN(i.y))break}return n}function kL(t,n,e,i){return t&&n?i(t[e],n[e]):t?t[e]:n?n[e]:0}function d4(t,n){let e=[],i=!1;return Mi(t)?(i=!0,e=t):e=Zae(t,n),e.length?new Cv({points:e,options:{tension:0},_loop:i,_fullLoop:i}):null}function DL(t){return t&&t.fill!==!1}function Jae(t,n,e){let r=t[n].fill,a=[n],o;if(!e)return r;for(;r!==!1&&a.indexOf(r)===-1;){if(!Xi(r))return r;if(o=t[r],!o)return!1;if(o.visible)return r;a.push(r),r=o.fill}return!1}function eoe(t,n,e){let i=roe(t);if(jt(i))return isNaN(i.value)?!1:i;let r=parseFloat(i);return Xi(r)&&Math.floor(r)===r?toe(i[0],n,r,e):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function toe(t,n,e,i){return(t==="-"||t==="+")&&(e=n+e),e===n||e<0||e>=i?!1:e}function ioe(t,n){let e=null;return t==="start"?e=n.bottom:t==="end"?e=n.top:jt(t)?e=n.getPixelForValue(t.value):n.getBasePixel&&(e=n.getBasePixel()),e}function noe(t,n,e){let i;return t==="start"?i=e:t==="end"?i=n.options.reverse?n.min:n.max:jt(t)?i=t.value:i=n.getBaseValue(),i}function roe(t){let n=t.options,e=n.fill,i=Ct(e&&e.target,e);return i===void 0&&(i=!!n.backgroundColor),i===!1||i===null?!1:i===!0?"origin":i}function aoe(t){let{scale:n,index:e,line:i}=t,r=[],a=i.segments,o=i.points,s=ooe(n,e);s.push(d4({x:null,y:n.bottom},i));for(let l=0;l<a.length;l++){let c=a[l];for(let d=c.start;d<=c.end;d++)soe(r,o[d],s)}return new Cv({points:r,options:{}})}function ooe(t,n){let e=[],i=t.getMatchingVisibleMetas("line");for(let r=0;r<i.length;r++){let a=i[r];if(a.index===n)break;a.hidden||e.unshift(a.dataset)}return e}function soe(t,n,e){let i=[];for(let r=0;r<e.length;r++){let a=e[r],{first:o,last:s,point:l}=loe(a,n,"x");if(!(!l||o&&s)){if(o)i.unshift(l);else if(t.push(l),!s)break}}t.push(...i)}function loe(t,n,e){let i=t.interpolate(n,e);if(!i)return{};let r=i[e],a=t.segments,o=t.points,s=!1,l=!1;for(let c=0;c<a.length;c++){let d=a[c],u=o[d.start][e],h=o[d.end][e];if(zo(r,u,h)){s=r===u,l=r===h;break}}return{first:s,last:l,point:i}}var xv=class{constructor(n){this.x=n.x,this.y=n.y,this.radius=n.radius}pathSegment(n,e,i){let{x:r,y:a,radius:o}=this;return e=e||{start:0,end:Ai},n.arc(r,a,o,e.end,e.start,!0),!i.bounds}interpolate(n){let{x:e,y:i,radius:r}=this,a=n.angle;return{x:e+Math.cos(a)*r,y:i+Math.sin(a)*r,angle:a}}};function coe(t){let{chart:n,fill:e,line:i}=t;if(Xi(e))return doe(n,e);if(e==="stack")return aoe(t);if(e==="shape")return!0;let r=uoe(t);return r instanceof xv?r:d4(r,i)}function doe(t,n){let e=t.getDatasetMeta(n);return e&&t.isDatasetVisible(n)?e.dataset:null}function uoe(t){return(t.scale||{}).getPointPositionForValue?moe(t):hoe(t)}function hoe(t){let{scale:n={},fill:e}=t,i=ioe(e,n);if(Xi(i)){let r=n.isHorizontal();return{x:r?i:null,y:r?null:i}}return null}function moe(t){let{scale:n,fill:e}=t,i=n.options,r=n.getLabels().length,a=i.reverse?n.max:n.min,o=noe(e,n,a),s=[];if(i.grid.circular){let l=n.getPointPositionForValue(0,a);return new xv({x:l.x,y:l.y,radius:n.getDistanceFromCenterForValue(o)})}for(let l=0;l<r;++l)s.push(n.getPointPositionForValue(l,o));return s}
vendor: 5,026 bytes, line 8322
8322function vS(t,n,e){let i=coe(n),{chart:r,index:a,line:o,scale:s,axis:l}=n,c=o.options,d=c.fill,u=c.backgroundColor,{above:h=u,below:m=u}=d||{},g=r.getDatasetMeta(a),_=lS(r,g);i&&o.points.length&&(kf(t,e),foe(t,{line:o,target:i,above:h,below:m,area:e,scale:s,axis:l,clip:_}),Df(t))}function foe(t,n){let{line:e,target:i,above:r,below:a,area:o,scale:s,clip:l}=n,c=e._loop?"angle":n.axis;t.save();let d=a;a!==r&&(c==="x"?(EL(t,i,o.top),bS(t,{line:e,target:i,color:r,scale:s,property:c,clip:l}),t.restore(),t.save(),EL(t,i,o.bottom)):c==="y"&&(TL(t,i,o.left),bS(t,{line:e,target:i,color:a,scale:s,property:c,clip:l}),t.restore(),t.save(),TL(t,i,o.right),d=r)),bS(t,{line:e,target:i,color:d,scale:s,property:c,clip:l}),t.restore()}function EL(t,n,e){let{segments:i,points:r}=n,a=!0,o=!1;t.beginPath();for(let s of i){let{start:l,end:c}=s,d=r[l],u=r[Sv(l,c,r)];a?(t.moveTo(d.x,d.y),a=!1):(t.lineTo(d.x,e),t.lineTo(d.x,d.y)),o=!!n.pathSegment(t,s,{move:o}),o?t.closePath():t.lineTo(u.x,e)}t.lineTo(n.first().x,e),t.closePath(),t.clip()}function TL(t,n,e){let{segments:i,points:r}=n,a=!0,o=!1;t.beginPath();for(let s of i){let{start:l,end:c}=s,d=r[l],u=r[Sv(l,c,r)];a?(t.moveTo(d.x,d.y),a=!1):(t.lineTo(e,d.y),t.lineTo(d.x,d.y)),o=!!n.pathSegment(t,s,{move:o}),o?t.closePath():t.lineTo(e,u.y)}t.lineTo(e,n.first().y),t.closePath(),t.clip()}function bS(t,n){let{line:e,target:i,property:r,color:a,scale:o,clip:s}=n,l=Qae(e,i,r);for(let{source:c,target:d,start:u,end:h}of l){let{style:{backgroundColor:m=a}={}}=c,g=i!==!0;t.save(),t.fillStyle=m,poe(t,o,s,g&&FS(r,u,h)),t.beginPath();let _=!!e.pathSegment(t,c),p;if(g){_?t.closePath():IL(t,i,h,r);let v=!!i.pathSegment(t,d,{move:_,reverse:!0});p=_&&v,p||IL(t,i,u,r)}t.closePath(),t.fill(p?"evenodd":"nonzero"),t.restore()}}function poe(t,n,e,i){let r=n.chart.chartArea,{property:a,start:o,end:s}=i||{};if(a==="x"||a==="y"){let l,c,d,u;a==="x"?(l=o,c=r.top,d=s,u=r.bottom):(l=r.left,c=o,d=r.right,u=s),t.beginPath(),e&&(l=Math.max(l,e.left),d=Math.min(d,e.right),c=Math.max(c,e.top),u=Math.min(u,e.bottom)),t.rect(l,c,d-l,u-c),t.clip()}}function IL(t,n,e,i){let r=n.interpolate(e,i);r&&t.lineTo(r.x,r.y)}var goe={id:"filler",afterDatasetsUpdate(t,n,e){let i=(t.data.datasets||[]).length,r=[],a,o,s,l;for(o=0;o<i;++o)a=t.getDatasetMeta(o),s=a.dataset,l=null,s&&s.options&&s instanceof Cv&&(l={visible:t.isDatasetVisible(o),index:o,fill:eoe(s,o,i),chart:t,axis:a.controller.options.indexAxis,scale:a.vScale,line:s}),a.$filler=l,r.push(l);for(o=0;o<i;++o)l=r[o],!(!l||l.fill===!1)&&(l.fill=Jae(r,o,e.propagate))},beforeDraw(t,n,e){let i=e.drawTime==="beforeDraw",r=t.getSortedVisibleDatasetMetas(),a=t.chartArea;for(let o=r.length-1;o>=0;--o){let s=r[o].$filler;s&&(s.line.updateControlPoints(a,s.axis),i&&s.fill&&vS(t.ctx,s,a))}},beforeDatasetsDraw(t,n,e){if(e.drawTime!=="beforeDatasetsDraw")return;let i=t.getSortedVisibleDatasetMetas();for(let r=i.length-1;r>=0;--r){let a=i[r].$filler;DL(a)&&vS(t.ctx,a,t.chartArea)}},beforeDatasetDraw(t,n,e){let i=n.meta.$filler;!DL(i)||e.drawTime!=="beforeDatasetDraw"||vS(t.ctx,i,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},ML=(t,n)=>{let{boxHeight:e=n,boxWidth:i=n}=t;return t.usePointStyle&&(e=Math.min(e,n),i=t.pointStyleWidth||Math.min(i,n)),{boxWidth:i,boxHeight:e,itemHeight:Math.max(n,e)}},_oe=(t,n)=>t!==null&&n!==null&&t.datasetIndex===n.datasetIndex&&t.index===n.index,wv=class extends ho{constructor(n){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=n.chart,this.options=n.options,this.ctx=n.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(n,e,i){this.maxWidth=n,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let n=this.options.labels||{},e=Di(n.generateLabels,[this.chart],this)||[];n.filter&&(e=e.filter(i=>n.filter(i,this.chart.data))),n.sort&&(e=e.sort((i,r)=>n.sort(i,r,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){let{options:n,ctx:e}=this;if(!n.display){this.width=this.height=0;return}let i=n.labels,r=hn(i.font),a=r.size,o=this._computeTitleHeight(),{boxWidth:s,itemHeight:l}=ML(i,a),c,d;e.font=r.string,this.isHorizontal()?(c=this.maxWidth,d=this._fitRows(o,a,s,l)+10):(d=this.maxHeight,c=this._fitCols(o,r,s,l)+10),this.width=Math.min(c,n.maxWidth||this.maxWidth),this.height=Math.min(d,n.maxHeight||this.maxHeight)}_fitRows(n,e,i,r){let{ctx:a,maxWidth:o,options:{labels:{padding:s}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],d=r+s,u=n;a.textAlign="left",a.textBaseline="middle";let h=-1,m=-d;
vendor: 5,994 bytes, line 8322
8322return this.legendItems.forEach((g,_)=>{let p=i+e/2+a.measureText(g.text).width;(_===0||c[c.length-1]+p+2*s>o)&&(u+=d,c[c.length-(_>0?0:1)]=0,m+=d,h++),l[_]={left:0,top:m,row:h,width:p,height:r},c[c.length-1]+=p+s}),u}_fitCols(n,e,i,r){let{ctx:a,maxHeight:o,options:{labels:{padding:s}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],d=o-n,u=s,h=0,m=0,g=0,_=0;return this.legendItems.forEach((p,v)=>{let{itemWidth:b,itemHeight:y}=voe(i,e,a,p,r);v>0&&m+y+2*s>d&&(u+=h+s,c.push({width:h,height:m}),g+=h+s,_++,h=m=0),l[v]={left:g,top:m,col:_,width:b,height:y},h=Math.max(h,b),m+=y+s}),u+=h,c.push({width:h,height:m}),u}adjustHitBoxes(){if(!this.options.display)return;let n=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:r},rtl:a}}=this,o=Uc(a,this.left,this.width);if(this.isHorizontal()){let s=0,l=Hn(i,this.left+r,this.right-this.lineWidths[s]);for(let c of e)s!==c.row&&(s=c.row,l=Hn(i,this.left+r,this.right-this.lineWidths[s])),c.top+=this.top+n+r,c.left=o.leftForLtr(o.x(l),c.width),l+=c.width+r}else{let s=0,l=Hn(i,this.top+n+r,this.bottom-this.columnSizes[s].height);for(let c of e)c.col!==s&&(s=c.col,l=Hn(i,this.top+n+r,this.bottom-this.columnSizes[s].height)),c.top=l,c.left+=this.left+r,c.left=o.leftForLtr(o.x(c.left),c.width),l+=c.height+r}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){let n=this.ctx;kf(n,this),this._draw(),Df(n)}}_draw(){let{options:n,columnSizes:e,lineWidths:i,ctx:r}=this,{align:a,labels:o}=n,s=Ni.color,l=Uc(n.rtl,this.left,this.width),c=hn(o.font),{padding:d}=o,u=c.size,h=u/2,m;this.drawTitle(),r.textAlign=l.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=c.string;let{boxWidth:g,boxHeight:_,itemHeight:p}=ML(o,u),v=function(A,C,M){if(isNaN(g)||g<=0||isNaN(_)||_<0)return;r.save();let L=Ct(M.lineWidth,1);if(r.fillStyle=Ct(M.fillStyle,s),r.lineCap=Ct(M.lineCap,"butt"),r.lineDashOffset=Ct(M.lineDashOffset,0),r.lineJoin=Ct(M.lineJoin,"miter"),r.lineWidth=L,r.strokeStyle=Ct(M.strokeStyle,s),r.setLineDash(Ct(M.lineDash,[])),o.usePointStyle){let V={radius:_*Math.SQRT2/2,pointStyle:M.pointStyle,rotation:M.rotation,borderWidth:L},z=l.xPlus(A,g/2),ee=C+h;KC(r,V,z,ee,o.pointStyleWidth&&g)}else{let V=C+Math.max((u-_)/2,0),z=l.leftForLtr(A,g),ee=kl(M.borderRadius);r.beginPath(),Object.values(ee).some(ze=>ze!==0)?Ku(r,{x:z,y:V,w:g,h:_,radius:ee}):r.rect(z,V,g,_),r.fill(),L!==0&&r.stroke()}r.restore()},b=function(A,C,M){Sl(r,M.text,A,C+p/2,c,{strikethrough:M.hidden,textAlign:l.textAlign(M.textAlign)})},y=this.isHorizontal(),E=this._computeTitleHeight();y?m={x:Hn(a,this.left+d,this.right-i[0]),y:this.top+d+E,line:0}:m={x:this.left+d,y:Hn(a,this.top+E+d,this.bottom-e[0].height),line:0},rS(this.ctx,n.textDirection);let F=p+d;this.legendItems.forEach((A,C)=>{r.strokeStyle=A.fontColor,r.fillStyle=A.fontColor;let M=r.measureText(A.text).width,L=l.textAlign(A.textAlign||(A.textAlign=o.textAlign)),V=g+h+M,z=m.x,ee=m.y;l.setWidth(this.width),y?C>0&&z+V+d>this.right&&(ee=m.y+=F,m.line++,z=m.x=Hn(a,this.left+d,this.right-i[m.line])):C>0&&ee+F>this.bottom&&(z=m.x=z+e[m.line].width+d,m.line++,ee=m.y=Hn(a,this.top+E+d,this.bottom-e[m.line].height));let ze=l.x(z);if(v(ze,ee,A),z=MN(L,z+g+h,y?z+V:this.right,n.rtl),b(l.x(z),ee,A),y)m.x+=V+d;else if(typeof A.text!="string"){let rt=c.lineHeight;m.y+=u4(A,rt)+d}else m.y+=F}),aS(this.ctx,n.textDirection)}drawTitle(){let n=this.options,e=n.title,i=hn(e.font),r=$n(e.padding);if(!e.display)return;let a=Uc(n.rtl,this.left,this.width),o=this.ctx,s=e.position,l=i.size/2,c=r.top+l,d,u=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),d=this.top+c,u=Hn(n.align,u,this.right-h);else{let g=this.columnSizes.reduce((_,p)=>Math.max(_,p.height),0);d=c+Hn(n.align,this.top,this.bottom-g-n.labels.padding-this._computeTitleHeight())}let m=Hn(s,u,u+h);o.textAlign=a.textAlign(tv(s)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=i.string,Sl(o,e.text,m,d,i)}_computeTitleHeight(){let n=this.options.title,e=hn(n.font),i=$n(n.padding);return n.display?e.lineHeight+i.height:0}_getLegendItemAt(n,e){let i,r,a;if(zo(n,this.left,this.right)&&zo(e,this.top,this.bottom)){for(a=this.legendHitBoxes,i=0;i<a.length;++i)if(r=a[i],zo(n,r.left,r.left+r.width)&&zo(e,r.top,r.top+r.height))return this.legendItems[i]}return null}handleEvent(n){let e=this.options;if(!xoe(n.type,e))return;let i=this._getLegendItemAt(n.x,n.y);if(n.type==="mousemove"||n.type==="mouseout"){let r=this._hoveredItem,a=_oe(r,i);r&&!a&&Di(e.onLeave,[n,r,this],this),this._hoveredItem=i,i&&!a&&Di(e.onHover,[n,i,this],this)}else i&&Di(e.onClick,[n,i,this],this)}};function voe(t,n,e,i,r){let a=boe(i,t,n,e),o=yoe(r,i,n.lineHeight);return{itemWidth:a,itemHeight:o}}function boe(t,n,e,i){let r=t.text;return r&&typeof r!="string"&&(r=r.reduce((a,o)=>a.length>o.length?a:o)),n+e.size/2+i.measureText(r).width}function yoe(t,n,e){let i=t;return typeof n.text!="string"&&(i=u4(n,e)),i}function u4(t,n){let e=t.text?t.text.length:0;return n*e}function xoe(t,n){return!!((t==="mousemove"||t==="mouseout")&&(n.onHover||n.onLeave)||n.onClick&&(t==="click"||t==="mouseup"))}var woe={id:"legend",_element:wv,start(t,n,e){let i=t.legend=new wv({ctx:t.ctx,options:e,chart:t});lr.configure(t,i,e),lr.addBox(t,i)},stop(t){lr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,n,e){let i=t.legend;lr.configure(t,i,e),i.options=e},afterUpdate(t){let n=t.legend;n.buildLabels(),n.adjustHitBoxes()},afterEvent(t,n){n.replay||t.legend.handleEvent(n.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,n,e){let i=n.datasetIndex,r=e.chart;r.isDatasetVisible(i)?(r.hide(i),n.hidden=!0):(r.show(i),n.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){let n=t.data.datasets,{labels:{usePointStyle:e,pointStyle:i,textAlign:r,color:a,useBorderRadius:o,borderRadius:s}}=t.legend.options;
vendor: 4,354 bytes, lines 8322-8324
8322return t._getSortedDatasetMetas().map(l=>{let c=l.controller.getStyle(e?0:void 0),d=$n(c.borderWidth);return{text:n[l.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(d.width+d.height)/4,strokeStyle:c.borderColor,pointStyle:i||c.pointStyle,rotation:c.rotation,textAlign:r||c.textAlign,borderRadius:o&&(s||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}},Of=class extends ho{constructor(n){super(),this.chart=n.chart,this.options=n.options,this.ctx=n.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(n,e){let i=this.options;if(this.left=0,this.top=0,!i.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=n,this.height=this.bottom=e;let r=Mi(i.text)?i.text.length:1;this._padding=$n(i.padding);let a=r*hn(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=a:this.width=a}isHorizontal(){let n=this.options.position;return n==="top"||n==="bottom"}_drawArgs(n){let{top:e,left:i,bottom:r,right:a,options:o}=this,s=o.align,l=0,c,d,u;return this.isHorizontal()?(d=Hn(s,i,a),u=e+n,c=a-i):(o.position==="left"?(d=i+n,u=Hn(s,r,e),l=ni*-.5):(d=a-n,u=Hn(s,e,r),l=ni*.5),c=r-e),{titleX:d,titleY:u,maxWidth:c,rotation:l}}draw(){let n=this.ctx,e=this.options;if(!e.display)return;let i=hn(e.font),a=i.lineHeight/2+this._padding.top,{titleX:o,titleY:s,maxWidth:l,rotation:c}=this._drawArgs(a);Sl(n,e.text,0,0,i,{color:e.color,maxWidth:l,rotation:c,textAlign:tv(e.align),textBaseline:"middle",translation:[o,s]})}};function Coe(t,n){let e=new Of({ctx:t.ctx,options:n,chart:t});lr.configure(t,e,n),lr.addBox(t,e),t.titleBlock=e}var Soe={id:"title",_element:Of,start(t,n,e){Coe(t,e)},stop(t){let n=t.titleBlock;lr.removeBox(t,n),delete t.titleBlock},beforeUpdate(t,n,e){let i=t.titleBlock;lr.configure(t,i,e),i.options=e},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},hv=new WeakMap,koe={id:"subtitle",start(t,n,e){let i=new Of({ctx:t.ctx,options:e,chart:t});lr.configure(t,i,e),lr.addBox(t,i),hv.set(t,i)},stop(t){lr.removeBox(t,hv.get(t)),hv.delete(t)},beforeUpdate(t,n,e){let i=hv.get(t);lr.configure(t,i,e),i.options=e},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Pf={average(t){if(!t.length)return!1;let n,e,i=new Set,r=0,a=0;for(n=0,e=t.length;n<e;++n){let s=t[n].element;if(s&&s.hasValue()){let l=s.tooltipPosition();i.add(l.x),r+=l.y,++a}}return a===0||i.size===0?!1:{x:[...i].reduce((s,l)=>s+l)/i.size,y:r/a}},nearest(t,n){if(!t.length)return!1;let e=n.x,i=n.y,r=Number.POSITIVE_INFINITY,a,o,s;for(a=0,o=t.length;a<o;++a){let l=t[a].element;if(l&&l.hasValue()){let c=l.getCenterPoint(),d=K_(n,c);d<r&&(r=d,s=l)}}if(s){let l=s.tooltipPosition();e=l.x,i=l.y}return{x:e,y:i}}};function jo(t,n){return n&&(Mi(n)?Array.prototype.push.apply(t,n):t.push(n)),t}function Rs(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
8323`)>-1?t.split(`
8324`):t}function Doe(t,n){let{element:e,datasetIndex:i,index:r}=n,a=t.getDatasetMeta(i).controller,{label:o,value:s}=a.getLabelAndValue(r);return{chart:t,label:o,parsed:a.getParsed(r),raw:t.data.datasets[i].data[r],formattedValue:s,dataset:a.getDataset(),dataIndex:r,datasetIndex:i,element:e}}function AL(t,n){let e=t.chart.ctx,{body:i,footer:r,title:a}=t,{boxWidth:o,boxHeight:s}=n,l=hn(n.bodyFont),c=hn(n.titleFont),d=hn(n.footerFont),u=a.length,h=r.length,m=i.length,g=$n(n.padding),_=g.height,p=0,v=i.reduce((E,F)=>E+F.before.length+F.lines.length+F.after.length,0);if(v+=t.beforeBody.length+t.afterBody.length,u&&(_+=u*c.lineHeight+(u-1)*n.titleSpacing+n.titleMarginBottom),v){let E=n.displayColors?Math.max(s,l.lineHeight):l.lineHeight;_+=m*E+(v-m)*l.lineHeight+(v-1)*n.bodySpacing}
vendor: 8,993 bytes, line 8324
8324h&&(_+=n.footerMarginTop+h*d.lineHeight+(h-1)*n.footerSpacing);let b=0,y=function(E){p=Math.max(p,e.measureText(E).width+b)};return e.save(),e.font=c.string,mi(t.title,y),e.font=l.string,mi(t.beforeBody.concat(t.afterBody),y),b=n.displayColors?o+2+n.boxPadding:0,mi(i,E=>{mi(E.before,y),mi(E.lines,y),mi(E.after,y)}),b=0,e.font=d.string,mi(t.footer,y),e.restore(),p+=g.width,{width:p,height:_}}function Eoe(t,n){let{y:e,height:i}=n;return e<i/2?"top":e>t.height-i/2?"bottom":"center"}function Toe(t,n,e,i){let{x:r,width:a}=i,o=e.caretSize+e.caretPadding;if(t==="left"&&r+a+o>n.width||t==="right"&&r-a-o<0)return!0}function Ioe(t,n,e,i){let{x:r,width:a}=e,{width:o,chartArea:{left:s,right:l}}=t,c="center";return i==="center"?c=r<=(s+l)/2?"left":"right":r<=a/2?c="left":r>=o-a/2&&(c="right"),Toe(c,t,n,e)&&(c="center"),c}function RL(t,n,e){let i=e.yAlign||n.yAlign||Eoe(t,e);return{xAlign:e.xAlign||n.xAlign||Ioe(t,n,e,i),yAlign:i}}function Moe(t,n){let{x:e,width:i}=t;return n==="right"?e-=i:n==="center"&&(e-=i/2),e}function Aoe(t,n,e){let{y:i,height:r}=t;return n==="top"?i+=e:n==="bottom"?i-=r+e:i-=r/2,i}function PL(t,n,e,i){let{caretSize:r,caretPadding:a,cornerRadius:o}=t,{xAlign:s,yAlign:l}=e,c=r+a,{topLeft:d,topRight:u,bottomLeft:h,bottomRight:m}=kl(o),g=Moe(n,s),_=Aoe(n,l,c);return l==="center"?s==="left"?g+=c:s==="right"&&(g-=c):s==="left"?g-=Math.max(d,h)+r:s==="right"&&(g+=Math.max(u,m)+r),{x:Sn(g,0,i.width-n.width),y:Sn(_,0,i.height-n.height)}}function mv(t,n,e){let i=$n(e.padding);return n==="center"?t.x+t.width/2:n==="right"?t.x+t.width-i.right:t.x+i.left}function FL(t){return jo([],Rs(t))}function Roe(t,n,e){return Ms(t,{tooltip:n,tooltipItems:e,type:"tooltip"})}function OL(t,n){let e=n&&n.dataset&&n.dataset.tooltip&&n.dataset.tooltip.callbacks;return e?t.override(e):t}var h4={beforeTitle:Uo,title(t){if(t.length>0){let n=t[0],e=n.chart.data.labels,i=e?e.length:0;if(this&&this.options&&this.options.mode==="dataset")return n.dataset.label||"";if(n.label)return n.label;if(i>0&&n.dataIndex<i)return e[n.dataIndex]}return""},afterTitle:Uo,beforeBody:Uo,beforeLabel:Uo,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let n=t.dataset.label||"";n&&(n+=": ");let e=t.formattedValue;return Ut(e)||(n+=e),n},labelColor(t){let e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){let e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:Uo,afterBody:Uo,beforeFooter:Uo,footer:Uo,afterFooter:Uo};function Wr(t,n,e,i){let r=t[n].call(e,i);return typeof r>"u"?h4[n].call(e,i):r}var NL=(()=>{class t extends ho{static positioners=Pf;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let e=this._cachedAnimations;if(e)return e;let i=this.chart,r=this.options.setContext(this.getContext()),a=r.enabled&&i.options.animation&&r.animations,o=new _v(this.chart,a);return a._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=Roe(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,i){let{callbacks:r}=i,a=Wr(r,"beforeTitle",this,e),o=Wr(r,"title",this,e),s=Wr(r,"afterTitle",this,e),l=[];return l=jo(l,Rs(a)),l=jo(l,Rs(o)),l=jo(l,Rs(s)),l}getBeforeBody(e,i){return FL(Wr(i.callbacks,"beforeBody",this,e))}getBody(e,i){let{callbacks:r}=i,a=[];return mi(e,o=>{let s={before:[],lines:[],after:[]},l=OL(r,o);jo(s.before,Rs(Wr(l,"beforeLabel",this,o))),jo(s.lines,Wr(l,"label",this,o)),jo(s.after,Rs(Wr(l,"afterLabel",this,o))),a.push(s)}),a}getAfterBody(e,i){return FL(Wr(i.callbacks,"afterBody",this,e))}getFooter(e,i){let{callbacks:r}=i,a=Wr(r,"beforeFooter",this,e),o=Wr(r,"footer",this,e),s=Wr(r,"afterFooter",this,e),l=[];return l=jo(l,Rs(a)),l=jo(l,Rs(o)),l=jo(l,Rs(s)),l}_createItems(e){let i=this._active,r=this.chart.data,a=[],o=[],s=[],l=[],c,d;for(c=0,d=i.length;c<d;++c)l.push(Doe(this.chart,i[c]));return e.filter&&(l=l.filter((u,h,m)=>e.filter(u,h,m,r))),e.itemSort&&(l=l.sort((u,h)=>e.itemSort(u,h,r))),mi(l,u=>{let h=OL(e.callbacks,u);a.push(Wr(h,"labelColor",this,u)),o.push(Wr(h,"labelPointStyle",this,u)),s.push(Wr(h,"labelTextColor",this,u))}),this.labelColors=a,this.labelPointStyles=o,this.labelTextColors=s,this.dataPoints=l,l}update(e,i){let r=this.options.setContext(this.getContext()),a=this._active,o,s=[];if(!a.length)this.opacity!==0&&(o={opacity:0});else{let l=Pf[r.position].call(this,a,this._eventPosition);s=this._createItems(r),this.title=this.getTitle(s,r),this.beforeBody=this.getBeforeBody(s,r),this.body=this.getBody(s,r),this.afterBody=this.getAfterBody(s,r),this.footer=this.getFooter(s,r);let c=this._size=AL(this,r),d=Object.assign({},l,c),u=RL(this.chart,r,d),h=PL(r,d,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,o={opacity:1,x:h.x,y:h.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}this._tooltipItems=s,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:i})}drawCaret(e,i,r,a){let o=this.getCaretPosition(e,r,a);i.lineTo(o.x1,o.y1),i.lineTo(o.x2,o.y2),i.lineTo(o.x3,o.y3)}getCaretPosition(e,i,r){let{xAlign:a,yAlign:o}=this,{caretSize:s,cornerRadius:l}=r,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:h}=kl(l),{x:m,y:g}=e,{width:_,height:p}=i,v,b,y,E,F,A;return o==="center"?(F=g+p/2,a==="left"?(v=m,b=v-s,E=F+s,A=F-s):(v=m+_,b=v+s,E=F-s,A=F+s),y=v):(a==="left"?b=m+Math.max(c,u)+s:a==="right"?b=m+_-Math.max(d,h)-s:b=this.caretX,o==="top"?(E=g,F=E-s,v=b-s,y=b+s):(E=g+p,F=E+s,v=b+s,y=b-s),A=E),{x1:v,x2:b,x3:y,y1:E,y2:F,y3:A}}drawTitle(e,i,r){let a=this.title,o=a.length,s,l,c;if(o){let d=Uc(r.rtl,this.x,this.width);for(e.x=mv(this,r.titleAlign,r),i.textAlign=d.textAlign(r.titleAlign),i.textBaseline="middle",s=hn(r.titleFont),l=r.titleSpacing,i.fillStyle=r.titleColor,i.font=s.string,c=0;c<o;++c)i.fillText(a[c],d.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+l,c+1===o&&(e.y+=r.titleMarginBottom-l)}}_drawColorBox(e,i,r,a,o){let s=this.labelColors[r],l=this.labelPointStyles[r],{boxHeight:c,boxWidth:d}=o,u=hn(o.bodyFont),h=mv(this,"left",o),m=a.x(h),g=c<u.lineHeight?(u.lineHeight-c)/2:0,_=i.y+g;if(o.usePointStyle){let p={radius:Math.min(d,c)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},v=a.leftForLtr(m,d)+d/2,b=_+c/2;e.strokeStyle=o.multiKeyBackground,e.fillStyle=o.multiKeyBackground,nv(e,p,v,b),e.strokeStyle=s.borderColor,e.fillStyle=s.backgroundColor,nv(e,p,v,b)}else{e.lineWidth=jt(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,e.strokeStyle=s.borderColor,e.setLineDash(s.borderDash||[]),e.lineDashOffset=s.borderDashOffset||0;let p=a.leftForLtr(m,d),v=a.leftForLtr(a.xPlus(m,1),d-2),b=kl(s.borderRadius);Object.values(b).some(y=>y!==0)?(e.beginPath(),e.fillStyle=o.multiKeyBackground,Ku(e,{x:p,y:_,w:d,h:c,radius:b}),e.fill(),e.stroke(),e.fillStyle=s.backgroundColor,e.beginPath(),Ku(e,{x:v,y:_+1,w:d-2,h:c-2,radius:b}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(p,_,d,c),e.strokeRect(p,_,d,c),e.fillStyle=s.backgroundColor,e.fillRect(v,_+1,d-2,c-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,i,r){let{body:a}=this,{bodySpacing:o,bodyAlign:s,displayColors:l,boxHeight:c,boxWidth:d,boxPadding:u}=r,h=hn(r.bodyFont),m=h.lineHeight,g=0,_=Uc(r.rtl,this.x,this.width),p=function(L){i.fillText(L,_.x(e.x+g),e.y+m/2),e.y+=m+o},v=_.textAlign(s),b,y,E,F,A,C,M;for(i.textAlign=s,i.textBaseline="middle",i.font=h.string,e.x=mv(this,v,r),i.fillStyle=r.bodyColor,mi(this.beforeBody,p),g=l&&v!=="right"?s==="center"?d/2+u:d+2+u:0,F=0,C=a.length;F<C;++F){for(b=a[F],y=this.labelTextColors[F],i.fillStyle=y,mi(b.before,p),E=b.lines,l&&E.length&&(this._drawColorBox(i,e,F,_,r),m=Math.max(h.lineHeight,c)),A=0,M=E.length;A<M;++A)p(E[A]),m=h.lineHeight;mi(b.after,p)}g=0,m=h.lineHeight,mi(this.afterBody,p),e.y-=o}drawFooter(e,i,r){let a=this.footer,o=a.length,s,l;if(o){let c=Uc(r.rtl,this.x,this.width);for(e.x=mv(this,r.footerAlign,r),e.y+=r.footerMarginTop,i.textAlign=c.textAlign(r.footerAlign),i.textBaseline="middle",s=hn(r.footerFont),i.fillStyle=r.footerColor,
vendor: 10,190 bytes, line 8324
8324i.font=s.string,l=0;l<o;++l)i.fillText(a[l],c.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+r.footerSpacing}}drawBackground(e,i,r,a){let{xAlign:o,yAlign:s}=this,{x:l,y:c}=e,{width:d,height:u}=r,{topLeft:h,topRight:m,bottomLeft:g,bottomRight:_}=kl(a.cornerRadius);i.fillStyle=a.backgroundColor,i.strokeStyle=a.borderColor,i.lineWidth=a.borderWidth,i.beginPath(),i.moveTo(l+h,c),s==="top"&&this.drawCaret(e,i,r,a),i.lineTo(l+d-m,c),i.quadraticCurveTo(l+d,c,l+d,c+m),s==="center"&&o==="right"&&this.drawCaret(e,i,r,a),i.lineTo(l+d,c+u-_),i.quadraticCurveTo(l+d,c+u,l+d-_,c+u),s==="bottom"&&this.drawCaret(e,i,r,a),i.lineTo(l+g,c+u),i.quadraticCurveTo(l,c+u,l,c+u-g),s==="center"&&o==="left"&&this.drawCaret(e,i,r,a),i.lineTo(l,c+h),i.quadraticCurveTo(l,c,l+h,c),i.closePath(),i.fill(),a.borderWidth>0&&i.stroke()}_updateAnimationTarget(e){let i=this.chart,r=this.$animations,a=r&&r.x,o=r&&r.y;if(a||o){let s=Pf[e.position].call(this,this._active,this._eventPosition);if(!s)return;let l=this._size=AL(this,e),c=Object.assign({},s,this._size),d=RL(i,e,c),u=PL(e,c,d,i);(a._to!==u.x||o._to!==u.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=l.width,this.height=l.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){let i=this.options.setContext(this.getContext()),r=this.opacity;if(!r)return;this._updateAnimationTarget(i);let a={width:this.width,height:this.height},o={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;let s=$n(i.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;i.enabled&&l&&(e.save(),e.globalAlpha=r,this.drawBackground(o,e,a,i),rS(e,i.textDirection),o.y+=s.top,this.drawTitle(o,e,i),this.drawBody(o,e,i),this.drawFooter(o,e,i),aS(e,i.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,i){let r=this._active,a=e.map(({datasetIndex:l,index:c})=>{let d=this.chart.getDatasetMeta(l);if(!d)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:d.data[c],index:c}}),o=!Cf(r,a),s=this._positionChanged(a,i);(o||s)&&(this._active=a,this._eventPosition=i,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,i,r=!0){if(i&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let a=this.options,o=this._active||[],s=this._getActiveElements(e,o,i,r),l=this._positionChanged(s,e),c=i||!Cf(s,o)||l;return c&&(this._active=s,(a.enabled||a.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,i))),c}_getActiveElements(e,i,r,a){let o=this.options;if(e.type==="mouseout")return[];if(!a)return i.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);let s=this.chart.getElementsAtEventForMode(e,o.mode,o,r);return o.reverse&&s.reverse(),s}_positionChanged(e,i){let{caretX:r,caretY:a,options:o}=this,s=Pf[o.position].call(this,e,i);return s!==!1&&(r!==s.x||a!==s.y)}}return t})(),Poe={id:"tooltip",_element:NL,positioners:Pf,afterInit(t,n,e){e&&(t.tooltip=new NL({chart:t,options:e}))},beforeUpdate(t,n,e){t.tooltip&&t.tooltip.initialize(e)},reset(t,n,e){t.tooltip&&t.tooltip.initialize(e)},afterDraw(t){let n=t.tooltip;if(n&&n._willRender()){let e={tooltip:n};if(t.notifyPlugins("beforeTooltipDraw",et(H({},e),{cancelable:!0}))===!1)return;n.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",e)}},afterEvent(t,n){if(t.tooltip){let e=n.replay;t.tooltip.handleEvent(n.event,e,n.inChartArea)&&(n.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,n)=>n.bodyFont.size,boxWidth:(t,n)=>n.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:h4},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Foe=Object.freeze({__proto__:null,Colors:Gae,Decimation:Kae,Filler:goe,Legend:woe,SubTitle:koe,Title:Soe,Tooltip:Poe}),Ooe=(t,n,e,i)=>(typeof n=="string"?(e=t.push(n)-1,i.unshift({index:e,label:n})):isNaN(n)&&(e=null),e);function Noe(t,n,e,i){let r=t.indexOf(n);if(r===-1)return Ooe(t,n,e,i);let a=t.lastIndexOf(n);return r!==a?e:r}var Loe=(t,n)=>t===null?null:Sn(Math.round(t),0,n);function LL(t){let n=this.getLabels();return t>=0&&t<n.length?n[t]:t}var Boe=(()=>{class t extends Hc{static id="category";static defaults={ticks:{callback:LL}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){let i=this._addedLabels;if(i.length){let r=this.getLabels();for(let{index:a,label:o}of i)r[a]===o&&r.splice(a,1);this._addedLabels=[]}super.init(e)}parse(e,i){if(Ut(e))return null;let r=this.getLabels();return i=isFinite(i)&&r[i]===e?i:Noe(r,e,Ct(i,e),this._addedLabels),Loe(i,r.length-1)}determineDataLimits(){let{minDefined:e,maxDefined:i}=this.getUserBounds(),{min:r,max:a}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(r=0),i||(a=this.getLabels().length-1)),this.min=r,this.max=a}buildTicks(){let e=this.min,i=this.max,r=this.options.offset,a=[],o=this.getLabels();o=e===0&&i===o.length-1?o:o.slice(e,i+1),this._valueRange=Math.max(o.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let s=e;s<=i;s++)a.push({value:s});return a}getLabelForValue(e){return LL.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){let i=this.ticks;return e<0||e>i.length-1?null:this.getPixelForValue(i[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}return t})();function Voe(t,n){let e=[],{bounds:r,step:a,min:o,max:s,precision:l,count:c,maxTicks:d,maxDigits:u,includeBounds:h}=t,m=a||1,g=d-1,{min:_,max:p}=n,v=!Ut(o),b=!Ut(s),y=!Ut(c),E=(p-_)/(u+1),F=LC((p-_)/g/m)*m,A,C,M,L;if(F<1e-14&&!v&&!b)return[{value:_},{value:p}];L=Math.ceil(p/F)-Math.floor(_/F),L>g&&(F=LC(L*F/g/m)*m),Ut(l)||(A=Math.pow(10,l),F=Math.ceil(F*A)/A),r==="ticks"?(C=Math.floor(_/F)*F,M=Math.ceil(p/F)*F):(C=_,M=p),v&&b&&a&&CN((s-o)/a,F/1e3)?(L=Math.round(Math.min((s-o)/F,d)),F=(s-o)/L,C=o,M=s):y?(C=v?o:C,M=b?s:M,L=c-1,F=(M-C)/L):(L=(M-C)/F,qu(L,Math.round(L),F/1e3)?L=Math.round(L):L=Math.ceil(L));let V=Math.max(VC(F),VC(C));A=Math.pow(10,Ut(l)?V:l),C=Math.round(C*A)/A,M=Math.round(M*A)/A;let z=0;for(v&&(h&&C!==o?(e.push({value:o}),C<o&&z++,qu(Math.round((C+z*F)*A)/A,o,BL(o,E,t))&&z++):C<o&&z++);z<L;++z){let ee=Math.round((C+z*F)*A)/A;if(b&&ee>s)break;e.push({value:ee})}return b&&h&&M!==s?e.length&&qu(e[e.length-1].value,s,BL(s,E,t))?e[e.length-1].value=s:e.push({value:s}):(!b||M===s)&&e.push({value:M}),e}function BL(t,n,{horizontal:e,minRotation:i}){let r=Ba(i),a=(e?Math.sin(r):Math.cos(r))||.001,o=.75*n*(""+t).length;return Math.min(n/a,o)}var eh=class extends Hc{constructor(n){super(n),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(n,e){return Ut(n)||(typeof n=="number"||n instanceof Number)&&!isFinite(+n)?null:+n}handleTickRangeOptions(){let{beginAtZero:n}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds(),{min:r,max:a}=this,o=l=>r=e?r:l,s=l=>a=i?a:l;if(n){let l=uo(r),c=uo(a);l<0&&c<0?s(0):l>0&&c>0&&o(0)}if(r===a){let l=a===0?1:Math.abs(a*.05);s(a+l),n||o(r-l)}this.min=r,this.max=a}getTickLimit(){let n=this.options.ticks,{maxTicksLimit:e,stepSize:i}=n,r;return i?(r=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),e=e||11),e&&(r=Math.min(e,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){let n=this.options,e=n.ticks,i=this.getTickLimit();i=Math.max(2,i);let r={maxTicks:i,bounds:n.bounds,min:n.min,max:n.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:e.includeBounds!==!1},a=this._range||this,o=Voe(r,a);return n.bounds==="ticks"&&BC(o,this,"value"),n.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){let n=this.ticks,e=this.min,i=this.max;if(super.configure(),this.options.offset&&n.length){let r=(i-e)/Math.max(n.length-1,1)/2;e-=r,i+=r}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(n){return Xu(n,this.chart.options.locale,this.options.ticks.format)}},OS=class extends eh{static id="linear";static defaults={ticks:{callback:Sf.formatters.numeric}};determineDataLimits(){let{min:n,max:e}=this.getMinMax(!0);this.min=Xi(n)?n:0,this.max=Xi(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){let n=this.isHorizontal(),e=n?this.width:this.height,i=Ba(this.options.ticks.minRotation),r=(n?Math.sin(i):Math.cos(i))||.001,a=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,a.lineHeight/r))}getPixelForValue(n){return n===null?NaN:this.getPixelForDecimal((n-this._startValue)/this._valueRange)}getValueForPixel(n){return this._startValue+this.getDecimalForPixel(n)*this._valueRange}},Nf=t=>Math.floor(Ts(t)),jc=(t,n)=>Math.pow(10,Nf(t)+n);function VL(t){return t/Math.pow(10,Nf(t))===1}function UL(t,n,e){let i=Math.pow(10,e),r=Math.floor(t/i);return Math.ceil(n/i)-r}function Uoe(t,n){let e=n-t,i=Nf(e);for(;
vendor: 4,561 bytes, line 8324
8324UL(t,n,i)>10;)i++;for(;UL(t,n,i)<10;)i--;return Math.min(i,Nf(t))}function zoe(t,{min:n,max:e}){n=$r(t.min,n);let i=[],r=Nf(n),a=Uoe(n,e),o=a<0?Math.pow(10,Math.abs(a)):1,s=Math.pow(10,a),l=r>a?Math.pow(10,r):0,c=Math.round((n-l)*o)/o,d=Math.floor((n-l)/s/10)*s*10,u=Math.floor((c-d)/Math.pow(10,a)),h=$r(t.min,Math.round((l+d+u*Math.pow(10,a))*o)/o);for(;h<e;)i.push({value:h,major:VL(h),significand:u}),u>=10?u=u<15?15:20:u++,u>=20&&(a++,u=2,o=a>=0?1:o),h=Math.round((l+d+u*Math.pow(10,a))*o)/o;let m=$r(t.max,h);return i.push({value:m,major:VL(m),significand:u}),i}var NS=class extends Hc{static id="logarithmic";static defaults={ticks:{callback:Sf.formatters.logarithmic,major:{enabled:!0}}};constructor(n){super(n),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(n,e){let i=eh.prototype.parse.apply(this,[n,e]);if(i===0){this._zero=!0;return}return Xi(i)&&i>0?i:null}determineDataLimits(){let{min:n,max:e}=this.getMinMax(!0);this.min=Xi(n)?Math.max(0,n):null,this.max=Xi(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Xi(this._userMin)&&(this.min=n===jc(this.min,0)?jc(this.min,-1):jc(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:n,maxDefined:e}=this.getUserBounds(),i=this.min,r=this.max,a=s=>i=n?i:s,o=s=>r=e?r:s;i===r&&(i<=0?(a(1),o(10)):(a(jc(i,-1)),o(jc(r,1)))),i<=0&&a(jc(r,-1)),r<=0&&o(jc(i,1)),this.min=i,this.max=r}buildTicks(){let n=this.options,e={min:this._userMin,max:this._userMax},i=zoe(e,this);return n.bounds==="ticks"&&BC(i,this,"value"),n.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(n){return n===void 0?"0":Xu(n,this.chart.options.locale,this.options.ticks.format)}configure(){let n=this.min;super.configure(),this._startValue=Ts(n),this._valueRange=Ts(this.max)-Ts(n)}getPixelForValue(n){return(n===void 0||n===0)&&(n=this.min),n===null||isNaN(n)?NaN:this.getPixelForDecimal(n===this.min?0:(Ts(n)-this._startValue)/this._valueRange)}getValueForPixel(n){let e=this.getDecimalForPixel(n);return Math.pow(10,this._startValue+e*this._valueRange)}};function LS(t){let n=t.ticks;if(n.display&&t.display){let e=$n(n.backdropPadding);return Ct(n.font&&n.font.size,Ni.font.size)+e.height}return 0}function joe(t,n,e){return e=Mi(e)?e:[e],{w:RN(t,n.string,e),h:e.length*n.lineHeight}}function zL(t,n,e,i,r){return t===i||t===r?{start:n-e/2,end:n+e/2}:t<i||t>r?{start:n-e,end:n}:{start:n,end:n+e}}function Hoe(t){let n={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},e=Object.assign({},n),i=[],r=[],a=t._pointLabels.length,o=t.options.pointLabels,s=o.centerPointLabels?ni/a:0;for(let l=0;l<a;l++){let c=o.setContext(t.getPointLabelContext(l));r[l]=c.padding;let d=t.getPointPosition(l,t.drawingArea+r[l],s),u=hn(c.font),h=joe(t.ctx,u,t._pointLabels[l]);i[l]=h;let m=jn(t.getIndexAngle(l)+s),g=Math.round(J_(m)),_=zL(g,d.x,h.w,0,180),p=zL(g,d.y,h.h,90,270);$oe(e,n,m,_,p)}t.setCenterPoint(n.l-e.l,e.r-n.r,n.t-e.t,e.b-n.b),t._pointLabelItems=qoe(t,i,r)}function $oe(t,n,e,i,r){let a=Math.abs(Math.sin(e)),o=Math.abs(Math.cos(e)),s=0,l=0;i.start<n.l?(s=(n.l-i.start)/a,t.l=Math.min(t.l,n.l-s)):i.end>n.r&&(s=(i.end-n.r)/a,t.r=Math.max(t.r,n.r+s)),r.start<n.t?(l=(n.t-r.start)/o,t.t=Math.min(t.t,n.t-l)):r.end>n.b&&(l=(r.end-n.b)/o,t.b=Math.max(t.b,n.b+l))}function Woe(t,n,e){let i=t.drawingArea,{extra:r,additionalAngle:a,padding:o,size:s}=e,l=t.getPointPosition(n,i+r+o,a),c=Math.round(J_(jn(l.angle+Qi))),d=Koe(l.y,s.h,c),u=Yoe(c),h=Xoe(l.x,s.w,u);return{visible:!0,x:l.x,y:d,textAlign:u,left:h,top:d,right:h+s.w,bottom:d+s.h}}function Goe(t,n){if(!n)return!0;let{left:e,top:i,right:r,bottom:a}=t;return!(Vo({x:e,y:i},n)||Vo({x:e,y:a},n)||Vo({x:r,y:i},n)||Vo({x:r,y:a},n))}function qoe(t,n,e){let i=[],r=t._pointLabels.length,a=t.options,{centerPointLabels:o,display:s}=a.pointLabels,l={extra:LS(a)/2,additionalAngle:o?ni/r:0},c;for(let d=0;d<r;d++){l.padding=e[d],l.size=n[d];let u=Woe(t,d,l);i.push(u),s==="auto"&&(u.visible=Goe(u,c),u.visible&&(c=u))}return i}function Yoe(t){return t===0||t===180?"center":t<180?"left":"right"}function Xoe(t,n,e){return e==="right"?t-=n:e==="center"&&(t-=n/2),t}function Koe(t,n,e){return e===90||e===270?t-=n/2:(e>270||e<90)&&(t-=n),t}function Qoe(t,n,e){let{left:i,top:r,right:a,bottom:o}=e,{backdropColor:s}=n;if(!Ut(s)){let l=kl(n.borderRadius),c=$n(n.backdropPadding);t.fillStyle=s;let d=i-c.left,u=r-c.top,h=a-i+c.width,m=o-r+c.height;
vendor: 8,366 bytes, line 8324
8324Object.values(l).some(g=>g!==0)?(t.beginPath(),Ku(t,{x:d,y:u,w:h,h:m,radius:l}),t.fill()):t.fillRect(d,u,h,m)}}function Zoe(t,n){let{ctx:e,options:{pointLabels:i}}=t;for(let r=n-1;r>=0;r--){let a=t._pointLabelItems[r];if(!a.visible)continue;let o=i.setContext(t.getPointLabelContext(r));Qoe(e,o,a);let s=hn(o.font),{x:l,y:c,textAlign:d}=a;Sl(e,t._pointLabels[r],l,c+s.lineHeight/2,s,{color:o.color,textAlign:d,textBaseline:"middle"})}}function m4(t,n,e,i){let{ctx:r}=t;if(e)r.arc(t.xCenter,t.yCenter,n,0,Ai);else{let a=t.getPointPosition(0,n);r.moveTo(a.x,a.y);for(let o=1;o<i;o++)a=t.getPointPosition(o,n),r.lineTo(a.x,a.y)}}function Joe(t,n,e,i,r){let a=t.ctx,o=n.circular,{color:s,lineWidth:l}=n;!o&&!i||!s||!l||e<0||(a.save(),a.strokeStyle=s,a.lineWidth=l,a.setLineDash(r.dash||[]),a.lineDashOffset=r.dashOffset,a.beginPath(),m4(t,e,o,i),a.closePath(),a.stroke(),a.restore())}function ese(t,n,e){return Ms(t,{label:e,index:n,type:"pointLabel"})}var BS=class extends eh{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Sf.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(n){return n},padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(n){super(n),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let n=this._padding=$n(LS(this.options)/2),e=this.width=this.maxWidth-n.width,i=this.height=this.maxHeight-n.height;this.xCenter=Math.floor(this.left+e/2+n.left),this.yCenter=Math.floor(this.top+i/2+n.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){let{min:n,max:e}=this.getMinMax(!1);this.min=Xi(n)&&!isNaN(n)?n:0,this.max=Xi(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/LS(this.options))}generateTickLabels(n){eh.prototype.generateTickLabels.call(this,n),this._pointLabels=this.getLabels().map((e,i)=>{let r=Di(this.options.pointLabels.callback,[e,i],this);return r||r===0?r:""}).filter((e,i)=>this.chart.getDataVisibility(i))}fit(){let n=this.options;n.display&&n.pointLabels.display?Hoe(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(n,e,i,r){this.xCenter+=Math.floor((n-e)/2),this.yCenter+=Math.floor((i-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(n,e,i,r))}getIndexAngle(n){let e=Ai/(this._pointLabels.length||1),i=this.options.startAngle||0;return jn(n*e+Ba(i))}getDistanceFromCenterForValue(n){if(Ut(n))return NaN;let e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-n)*e:(n-this.min)*e}getValueForDistanceFromCenter(n){if(Ut(n))return NaN;let e=n/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(n){let e=this._pointLabels||[];if(n>=0&&n<e.length){let i=e[n];return ese(this.getContext(),n,i)}}getPointPosition(n,e,i=0){let r=this.getIndexAngle(n)-Qi+i;return{x:Math.cos(r)*e+this.xCenter,y:Math.sin(r)*e+this.yCenter,angle:r}}getPointPositionForValue(n,e){return this.getPointPosition(n,this.getDistanceFromCenterForValue(e))}getBasePosition(n){return this.getPointPositionForValue(n||0,this.getBaseValue())}getPointLabelPosition(n){let{left:e,top:i,right:r,bottom:a}=this._pointLabelItems[n];return{left:e,top:i,right:r,bottom:a}}drawBackground(){let{backgroundColor:n,grid:{circular:e}}=this.options;if(n){let i=this.ctx;i.save(),i.beginPath(),m4(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),i.closePath(),i.fillStyle=n,i.fill(),i.restore()}}drawGrid(){let n=this.ctx,e=this.options,{angleLines:i,grid:r,border:a}=e,o=this._pointLabels.length,s,l,c;if(e.pointLabels.display&&Zoe(this,o),r.display&&this.ticks.forEach((d,u)=>{if(u!==0||u===0&&this.min<0){l=this.getDistanceFromCenterForValue(d.value);let h=this.getContext(u),m=r.setContext(h),g=a.setContext(h);Joe(this,m,l,o,g)}}),i.display){for(n.save(),s=o-1;s>=0;s--){let d=i.setContext(this.getPointLabelContext(s)),{color:u,lineWidth:h}=d;!h||!u||(n.lineWidth=h,n.strokeStyle=u,n.setLineDash(d.borderDash),n.lineDashOffset=d.borderDashOffset,l=this.getDistanceFromCenterForValue(e.reverse?this.min:this.max),c=this.getPointPosition(s,l),n.beginPath(),n.moveTo(this.xCenter,this.yCenter),n.lineTo(c.x,c.y),n.stroke())}n.restore()}}drawBorder(){}drawLabels(){let n=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;let r=this.getIndexAngle(0),a,o;n.save(),n.translate(this.xCenter,this.yCenter),n.rotate(r),n.textAlign="center",n.textBaseline="middle",this.ticks.forEach((s,l)=>{if(l===0&&this.min>=0&&!e.reverse)return;let c=i.setContext(this.getContext(l)),d=hn(c.font);if(a=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){n.font=d.string,o=n.measureText(s.label).width,n.fillStyle=c.backdropColor;let u=$n(c.backdropPadding);n.fillRect(-o/2-u.left,-a-d.size/2-u.top,o+u.width,d.size+u.height)}Sl(n,s.label,0,-a,d,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),n.restore()}drawTitle(){}},kv={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Gr=Object.keys(kv);function jL(t,n){return t-n}function HL(t,n){if(Ut(n))return null;let e=t._adapter,{parser:i,round:r,isoWeekday:a}=t._parseOpts,o=n;return typeof i=="function"&&(o=i(o)),Xi(o)||(o=typeof i=="string"?e.parse(o,i):e.parse(o)),o===null?null:(r&&(o=r==="week"&&(Vc(a)||a===!0)?e.startOf(o,"isoWeek",a):e.startOf(o,r)),+o)}function $L(t,n,e,i){let r=Gr.length;for(let a=Gr.indexOf(t);a<r-1;++a){let o=kv[Gr[a]],s=o.steps?o.steps:Number.MAX_SAFE_INTEGER;if(o.common&&Math.ceil((e-n)/(s*o.size))<=i)return Gr[a]}return Gr[r-1]}function tse(t,n,e,i,r){for(let a=Gr.length-1;a>=Gr.indexOf(e);a--){let o=Gr[a];if(kv[o].common&&t._adapter.diff(r,i,o)>=n-1)return o}return Gr[e?Gr.indexOf(e):0]}function ise(t){for(let n=Gr.indexOf(t)+1,e=Gr.length;n<e;++n)if(kv[Gr[n]].common)return Gr[n]}function WL(t,n,e){if(!e)t[n]=!0;else if(e.length){let{lo:i,hi:r}=ev(e,n),a=e[i]>=n?e[i]:e[r];t[a]=!0}}function nse(t,n,e,i){let r=t._adapter,a=+r.startOf(n[0].value,i),o=n[n.length-1].value,s,l;for(s=a;s<=o;s=+r.add(s,1,i))l=e[s],l>=0&&(n[l].major=!0);return n}function GL(t,n,e){let i=[],r={},a=n.length,o,s;for(o=0;o<a;++o)s=n[o],r[s]=o,i.push({value:s,major:!1});return a===0||!e?i:nse(t,i,r,e)}var VS=(()=>{class t extends Hc{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,i={}){let r=e.time||(e.time={}),a=this._adapter=new fre._date(e.adapters.date);a.init(i),Wu(r.displayFormats,a.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(e),this._normalized=i.normalized}parse(e,i){return e===void 0?null:HL(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let e=this.options,i=this._adapter,r=e.time.unit||"day",{min:a,max:o,minDefined:s,maxDefined:l}=this.getUserBounds();function c(d){!s&&!isNaN(d.min)&&(a=Math.min(a,d.min)),!l&&!isNaN(d.max)&&(o=Math.max(o,d.max))}(!s||!l)&&(c(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&c(this.getMinMax(!1))),a=Xi(a)&&!isNaN(a)?a:+i.startOf(Date.now(),r),o=Xi(o)&&!isNaN(o)?o:+i.endOf(Date.now(),r)+1,this.min=Math.min(a,o-1),this.max=Math.max(a+1,o)}_getLabelBounds(){let e=this.getLabelTimestamps(),i=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return e.length&&(i=e[0],r=e[e.length-1]),{min:i,max:r}}buildTicks(){let e=this.options,i=e.time,r=e.ticks,a=r.source==="labels"?this.getLabelTimestamps():this._generate();
vendor: 5,367 bytes, line 8324
8324e.bounds==="ticks"&&a.length&&(this.min=this._userMin||a[0],this.max=this._userMax||a[a.length-1]);let o=this.min,s=this.max,l=DN(a,o,s);return this._unit=i.unit||(r.autoSkip?$L(i.minUnit,this.min,this.max,this._getLabelCapacity(o)):tse(this,l.length,i.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:ise(this._unit),this.initOffsets(a),e.reverse&&l.reverse(),GL(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let i=0,r=0,a,o;this.options.offset&&e.length&&(a=this.getDecimalForValue(e[0]),e.length===1?i=1-a:i=(this.getDecimalForValue(e[1])-a)/2,o=this.getDecimalForValue(e[e.length-1]),e.length===1?r=o:r=(o-this.getDecimalForValue(e[e.length-2]))/2);let s=e.length<3?.5:.25;i=Sn(i,0,s),r=Sn(r,0,s),this._offsets={start:i,end:r,factor:1/(i+1+r)}}_generate(){let e=this._adapter,i=this.min,r=this.max,a=this.options,o=a.time,s=o.unit||$L(o.minUnit,i,r,this._getLabelCapacity(i)),l=Ct(a.ticks.stepSize,1),c=s==="week"?o.isoWeekday:!1,d=Vc(c)||c===!0,u={},h=i,m,g;if(d&&(h=+e.startOf(h,"isoWeek",c)),h=+e.startOf(h,d?"day":s),e.diff(r,i,s)>1e5*l)throw new Error(i+" and "+r+" are too far apart with stepSize of "+l+" "+s);let _=a.ticks.source==="data"&&this.getDataTimestamps();for(m=h,g=0;m<r;m=+e.add(m,l,s),g++)WL(u,m,_);return(m===r||a.bounds==="ticks"||g===1)&&WL(u,m,_),Object.keys(u).sort(jL).map(p=>+p)}getLabelForValue(e){let i=this._adapter,r=this.options.time;return r.tooltipFormat?i.format(e,r.tooltipFormat):i.format(e,r.displayFormats.datetime)}format(e,i){let a=this.options.time.displayFormats,o=this._unit,s=i||a[o];return this._adapter.format(e,s)}_tickFormatFunction(e,i,r,a){let o=this.options,s=o.ticks.callback;if(s)return Di(s,[e,i,r],this);let l=o.time.displayFormats,c=this._unit,d=this._majorUnit,u=c&&l[c],h=d&&l[d],m=r[i],g=d&&h&&m&&m.major;return this._adapter.format(e,a||(g?h:u))}generateTickLabels(e){let i,r,a;for(i=0,r=e.length;i<r;++i)a=e[i],a.label=this._tickFormatFunction(a.value,i,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){let i=this._offsets,r=this.getDecimalForValue(e);return this.getPixelForDecimal((i.start+r)*i.factor)}getValueForPixel(e){let i=this._offsets,r=this.getDecimalForPixel(e)/i.factor-i.end;return this.min+r*(this.max-this.min)}_getLabelSize(e){let i=this.options.ticks,r=this.ctx.measureText(e).width,a=Ba(this.isHorizontal()?i.maxRotation:i.minRotation),o=Math.cos(a),s=Math.sin(a),l=this._resolveTickFontOptions(0).size;return{w:r*o+l*s,h:r*s+l*o}}_getLabelCapacity(e){let i=this.options.time,r=i.displayFormats,a=r[i.unit]||r.millisecond,o=this._tickFormatFunction(e,0,GL(this,[e],this._majorUnit),a),s=this._getLabelSize(o),l=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return l>0?l:1}getDataTimestamps(){let e=this._cache.data||[],i,r;if(e.length)return e;let a=this.getMatchingVisibleMetas();if(this._normalized&&a.length)return this._cache.data=a[0].controller.getAllParsedValues(this);for(i=0,r=a.length;i<r;++i)e=e.concat(a[i].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){let e=this._cache.labels||[],i,r;if(e.length)return e;let a=this.getLabels();for(i=0,r=a.length;i<r;++i)e.push(HL(this,a[i]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return jC(e.sort(jL))}}return t})();function fv(t,n,e){let i=0,r=t.length-1,a,o,s,l;e?(n>=t[i].pos&&n<=t[r].pos&&({lo:i,hi:r}=Bo(t,"pos",n)),{pos:a,time:s}=t[i],{pos:o,time:l}=t[r]):(n>=t[i].time&&n<=t[r].time&&({lo:i,hi:r}=Bo(t,"time",n)),{time:a,pos:s}=t[i],{time:o,pos:l}=t[r]);let c=o-a;return c?s+(l-s)*(n-a)/c:s}var US=class extends VS{static id="timeseries";static defaults=VS.defaults;constructor(n){super(n),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let n=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(n);this._minPos=fv(e,this.min),this._tableRange=fv(e,this.max)-this._minPos,super.initOffsets(n)}buildLookupTable(n){let{min:e,max:i}=this,r=[],a=[],o,s,l,c,d;for(o=0,s=n.length;o<s;++o)c=n[o],c>=e&&c<=i&&r.push(c);if(r.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(o=0,s=r.length;o<s;++o)d=r[o+1],l=r[o-1],c=r[o],Math.round((d+l)/2)!==c&&a.push({time:c,pos:o/(s-1)});return a}_generate(){let n=this.min,e=this.max,i=super.getDataTimestamps();return(!i.includes(n)||!i.length)&&i.splice(0,0,n),(!i.includes(e)||i.length===1)&&i.push(e),i.sort((r,a)=>r-a)}_getTimestampsForTable(){let n=this._cache.all||[];if(n.length)return n;let e=this.getDataTimestamps(),i=this.getLabelTimestamps();return e.length&&i.length?n=this.normalize(e.concat(i)):n=e.length?e:i,n=this._cache.all=n,n}getDecimalForValue(n){return(fv(this._table,n)-this._minPos)/this._tableRange}getValueForPixel(n){let e=this._offsets,i=this.getDecimalForPixel(n)/e.factor-e.end;return fv(this._table,i*this._tableRange+this._minPos,!0)}},rse=Object.freeze({__proto__:null,CategoryScale:Boe,LinearScale:OS,LogarithmicScale:NS,RadialLinearScale:BS,TimeScale:VS,TimeSeriesScale:US}),f4=[mre,Vae,Foe,rse];var ase=["button"],ose=["*"];function sse(t,n){if(t&1&&(w(0,"div",2),we(1,"mat-pseudo-checkbox",6),D()),t&2){let e=j();T(),se("disabled",e.disabled)}}var p4=new W("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:()=>
8324({hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1})}),g4=new W("MatButtonToggleGroup"),lse={provide:xn,useExisting:_i(()=>HS),multi:!0},Dv=class{source;value;constructor(n,e){this.source=n,this.value=e}},HS=(()=>{class t{_changeDetector=f(Ue);_dir=f(Vt,{optional:!0});_multiple=!1;_disabled=!1;_disabledInteractive=!1;_selectionModel;_rawValue;_controlValueAccessorChangeFn=()=>{};_onTouched=()=>{};_buttonToggles;appearance;get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}_name=f(pt).getId("mat-button-toggle-group-");vertical=!1;get value(){let e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(i=>i.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}valueChange=new ne;get selected(){let e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=e,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._markButtonsForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e,this._markButtonsForCheck()}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}change=new ne;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._markButtonsForCheck()}_hideSingleSelectionIndicator;get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(e){this._hideMultipleSelectionIndicator=e,this._markButtonsForCheck()}_hideMultipleSelectionIndicator;constructor(){let e=f(p4,{optional:!0});this.appearance=e&&e.appearance?e.appearance:"standard",this._hideSingleSelectionIndicator=e?.hideSingleSelectionIndicator??!1,this._hideMultipleSelectionIndicator=e?.hideMultipleSelectionIndicator??!1}ngOnInit(){this._selectionModel=new Ta(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked)),this.multiple||this._initializeTabIndex()}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_keydown(e){if(this.multiple||this.disabled||zt(e))return;let r=e.target.id,a=this._buttonToggles.toArray().findIndex(s=>s.buttonId===r),o=null;switch(e.keyCode){case 32:case 13:o=this._buttonToggles.get(a)||null;break;case 38:o=this._getNextButton(a,-1);break;case 37:o=this._getNextButton(a,this.dir==="ltr"?-1:1);break;case 40:o=this._getNextButton(a,1);break;case 39:o=this._getNextButton(a,this.dir==="ltr"?1:-1);break;default:return}o&&(e.preventDefault(),o._onButtonClick(),o.focus())}_emitChangeEvent(e){let i=new Dv(e,this.value);this._rawValue=i.value,this._controlValueAccessorChangeFn(i.value),this.change.emit(i)}_syncButtonToggle(e,i,r=!1,a=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?i?this._selectionModel.select(e):this._selectionModel.deselect(e):a=!0,a?Promise.resolve().then(()=>this._updateModelValue(e,r)):this._updateModelValue(e,r)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return typeof this._rawValue>"u"?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(i=>e.value!=null&&i===e.value):e.value===this._rawValue}_initializeTabIndex(){if(this._buttonToggles.forEach(e=>{e.tabIndex=-1}),this.selected)this.selected.tabIndex=0;else for(let e=0;e<this._buttonToggles.length;e++){let i=this._buttonToggles.get(e);if(!i.disabled){i.tabIndex=0;break}}}_getNextButton(e,i){let r=this._buttonToggles;for(let a=1;a<=r.length;a++){let o=(e+i*a+r.length)%r.length,s=r.get(o);if(s&&!s.disabled)return s}return null}_setSelectionByValue(e){if(this._rawValue=e,!this._buttonToggles)return;let i=this._buttonToggles.toArray();if(this.multiple&&e?(Array.isArray(e),this._clearSelection(),e.forEach(r=>this._selectValue(r,i))):(this._clearSelection(),this._selectValue(e,i)),!this.multiple&&i.every(r=>r.tabIndex===-1)){for(let r of i)if(!r.disabled){r.tabIndex=0;break}}}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEac
8324h(e=>{e.checked=!1,this.multiple||(e.tabIndex=-1)})}_selectValue(e,i){for(let r of i)if(r.value===e){r.checked=!0,this._selectionModel.select(r),this.multiple||(r.tabIndex=0);break}}_updateModelValue(e,i){i&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(e=>e._markForCheck())}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["mat-button-toggle-group"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,Ev,5),i&2){let o;ae(o=oe())&&(r._buttonToggles=o)}},hostAttrs:[1,"mat-button-toggle-group"],hostVars:6,hostBindings:function(i,r){i&1&&de("keydown",function(o){return r._keydown(o)}),i&2&&(fe("role",r.multiple?"group":"radiogroup")("aria-disabled",r.disabled),ce("mat-button-toggle-vertical",r.vertical)("mat-button-toggle-group-appearance-standard",r.appearance==="standard"))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",ie],value:"value",multiple:[2,"multiple","multiple",ie],disabled:[2,"disabled","disabled",ie],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ie],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",ie],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",ie]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Re([lse,{provide:g4,useExisting:t}])]})}return t})(),Ev=(()=>{class t{_changeDetectorRef=f(Ue);_elementRef=f(he);_focusMonitor=f(Ii);_idGenerator=f(pt);_animationDisabled=gt();_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex()}set tabIndex(e){this._tabIndex.set(e)}_tabIndex;disableRipple=!1;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}_appearance;get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=e}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}_disabledInteractive;change=new ne;constructor(){f(wt).load(Ci);let e=f(g4,{optional:!0}),i=f(new gn("tabindex"),{optional:!0})||"",r=f(p4,{optional:!0});this._tabIndex=ke(parseInt(i)||0),this.buttonToggleGroup=e,this._appearance=r&&r.appearance?r.appearance:"standard",this._disabledInteractive=r?.disabledInteractive??!1}ngOnInit(){let e=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._animationDisabled||this._elementRef.nativeElement.classList.add("mat-button-toggle-animations-enabled"),this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){if(this.disabled)return;let e=this.isSingleSelector()?!0:!this._checked;if(e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let i=this.buttonToggleGroup._buttonToggles.find(r=>r.tabIndex===0);i&&(i.tabIndex=-1),this.tabIndex=0}this.change.emit(new Dv(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-button-toggle"]],viewQuery:function(i,r){if(i&1&&dt(ase,5),i&2){let a;ae(a=oe())&&(r._buttonElement=a.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(i,r){i&1&&de("focus",function(){return r.focu
8324s()}),i&2&&(fe("aria-label",null)("aria-labelledby",null)("id",r.id)("name",null),ce("mat-button-toggle-standalone",!r.buttonToggleGroup)("mat-button-toggle-checked",r.checked)("mat-button-toggle-disabled",r.disabled)("mat-button-toggle-disabled-interactive",r.disabledInteractive)("mat-button-toggle-appearance-standard",r.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",ie],appearance:"appearance",checked:[2,"checked","checked",ie],disabled:[2,"disabled","disabled",ie],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ie]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:ose,decls:7,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-checkbox-wrapper"],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"],["state","checked","aria-hidden","true","appearance","minimal",3,"disabled"]],template:function(i,r){if(i&1&&(Ge(),w(0,"button",1,0),de("click",function(){return r._onButtonClick()}),pe(2,sse,2,1,"div",2),w(3,"span",3),_e(4),D()(),we(5,"span",4)(6,"span",5)),i&2){let a=qt(1);se("id",r.buttonId)("disabled",r.disabled&&!r.disabledInteractive||null),fe("role",r.isSingleSelector()?"radio":"button")("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-pressed",r.isSingleSelector()?null:r.checked)("aria-checked",r.isSingleSelector()?r.checked:null)("name",r._getButtonName())("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),T(2),ge(r.buttonToggleGroup&&(!r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideSingleSelectionIndicator||r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideMultipleSelectionIndicator)?2:-1),T(4),se("matRippleTrigger",a)("matRippleDisabled",r.disableRipple||r.disabled)}},dependencies:[pr,Wg],styles:[`.mat-button-toggle-standalone,
8325.mat-button-toggle-group {
8326  position: relative;
8327  display: inline-flex;
8328  flex-direction: row;
8329  white-space: nowrap;
8330  overflow: hidden;
8331  -webkit-tap-highlight-color: transparent;
8332  border-radius: var(--mat-button-toggle-legacy-shape);
8333  transform: translateZ(0);
8334}
8335.mat-button-toggle-standalone:not([class*=mat-elevation-z]),
8336.mat-button-toggle-group:not([class*=mat-elevation-z]) {
8337  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
8338}
8339@media (forced-colors: active) {
8340  .mat-button-toggle-standalone,
8341  .mat-button-toggle-group {
8342    outline: solid 1px;
8343  }
8344}
8345
8346.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,
8347.mat-button-toggle-group-appearance-standard {
8348  border-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
8349  border: solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline));
8350}
8351.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,
8352.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox {
8353  --mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));
8354}
8355.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),
8356.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]) {
8357  box-shadow: none;
8358}
8359@media (forced-colors: active) {
8360  .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,
8361  .mat-button-toggle-group-appearance-standard {
8362    outline: 0;
8363  }
8364}
8365
8366.mat-button-toggle-vertical {
8367  flex-direction: column;
8368}
8369.mat-button-toggle-vertical .mat-button-toggle-label-content {
8370  display: block;
8371}
8372
8373.mat-button-toggle {
8374  white-space: nowrap;
8375  position: relative;
8376  color: var(--mat-button-toggle-legacy-text-color);
8377  font-family: var(--mat-button-toggle-legacy-label-text-font);
8378  font-size: var(--mat-button-toggle-legacy-label-text-size);
8379  line-height: var(--mat-button-toggle-legacy-label-text-line-height);
8380  font-weight: var(--mat-button-toggle-legacy-label-text-weight);
8381  letter-spacing: var(--mat-button-toggle-legacy-label-text-tracking);
8382  --mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-legacy-selected-state-text-color);
8383}
8384.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay {
8385  opacity: var(--mat-button-toggle-legacy-focus-state-layer-opacity);
8386}
8387.mat-button-toggle .mat-icon svg {
8388  vertical-align: top;
8389}
8390
8391.mat-button-toggle-checkbox-wrapper {
8392  display: inline-block;
8393  justify-content: flex-start;
8394  align-items: center;
8395  width: 0;
8396  height: 18px;
8397  line-height: 18px;
8398  overflow: hidden;
8399  box-sizing: border-box;
8400  position: absolute;
8401  top: 50%;
8402  left: 16px;
8403  transform: translate3d(0, -50%, 0);
8404}
8405[dir=rtl] .mat-button-toggle-checkbox-wrapper {
8406  left: auto;
8407  right: 16px;
8408}
8409.mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper {
8410  left: 12px;
8411}
8412[dir=rtl] .mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper {
8413  left: auto;
8414  right: 12px;
8415}
8416.mat-button-toggle-checked .mat-button-toggle-checkbox-wrapper {
8417  width: 18px;
8418}
8419.mat-button-toggle-animations-enabled .mat-button-toggle-checkbox-wrapper {
8420  transition: width 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1);
8421}
8422.mat-button-toggle-vertical .mat-button-toggle-checkbox-wrapper {
8423  transition: none;
8424}
8425
8426.mat-button-toggle-checked {
8427  color: var(--mat-button-toggle-legacy-selected-state-text-color);
8428  background-color: var(--mat-button-toggle-legacy-selected-state-background-color);
8429}
8430
8431.mat-button-toggle-disabled {
8432  pointer-events: none;
8433  color: var(--mat-button-toggle-legacy-disabled-state-text-color);
8434  background-color: var(--mat-button-toggle-legacy-disabled-state-background-color);
8435  --mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-legacy-disabled-state-text-color);
8436}
8437.mat-button-toggle-disabled.mat-button-toggle-checked {
8438  background-color: var(--mat-button-toggle-legacy-disabled-selected-state-background-color);
8439}
8440
8441.mat-button-toggle-disabled-interactive {
8442  pointer-events: auto;
8443}
8444
8445.mat-button-toggle-appearance-standard {
8446  color: var(--mat-button-toggle-text-color, var(--mat-sys-on-surface));
8447  background-color: var(--mat-button-toggle-background-color, transparent);
8448  font-family: var(--mat-button-toggle-label-text-font, var(--mat-sys-label-large-font));
8449  font-size: var(--mat-button-toggle-label-text-size, var(--mat-sys-label-large-size));
8450  line-height: var(--mat-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height));
8451  font-weight: var(--mat-button-toggle-label-text-weight, var(--mat-sys-label-large-weight));
8452  letter-spacing: var(--mat-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking));
8453}
8454.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard + .mat-button-toggle-appearance-standard {
8455  border-left: solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline));
8456}
8457[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard + .mat-button-toggle-appearance-standard {
8458  border-left: none;
8459  border-right: solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline));
8460}
8461.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard + .mat-button-toggle-appearance-standard {
8462  border-left: none;
8463  border-right: none;
8464  border-top: solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline));
8465}
8466.mat-button-toggle-appearance-standard.mat-button-toggle-checked {
8467  color: var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));
8468  background-color: var(--mat-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container));
8469}
8470.mat-button-toggle-appearance-standard.mat-button-toggle-disabled {
8471  color: var(--mat-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
8472  background-color: var(--mat-button-toggle-disabled-state-background-color, transparent);
8473}
8474.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox {
8475  --mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
8476}
8477.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked {
8478  color: var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
8479  background-color: var(--mat-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
8480}
8481.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay {
8482  background-color: var(--mat-button-toggle-state-layer-color, var(--mat-sys-on-surface));
8483}
8484.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay {
8485  opacity: var(--mat-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
8486}
8487.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay {
8488  opacity: var(--mat-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
8489}
8490@media (hover: none) {
8491  .mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay {
8492    display: none;
8493  }
8494}
8495
8496.mat-button-toggle-label-content {
8497  -webkit-user-select: none;
8498  user-select: none;
8499  display: inline-block;
8500  padding: 0 16px;
8501  line-height: var(--mat-button-toggle-legacy-height);
8502  position: relative;
8503}
8504.mat-button-toggle-appearance-standard .mat-button-toggle-label-content {
8505  padding: 0 12px;
8506  line-height: var(--mat-button-toggle-height, 40px);
8507}
8508
8509.mat-button-toggle-label-content > * {
8510  vertical-align: middle;
8511}
8512
8513.mat-button-toggle-focus-overlay {
8514  top: 0;
8515  left: 0;
8516  right: 0;
8517  bottom: 0;
8518  position: absolute;
8519  border-radius: inherit;
8520  pointer-events: none;
8521  opacity: 0;
8522  background-color: var(--mat-button-toggle-legacy-state-layer-color);
8523}
8524
8525@media (forced-colors: active) {
8526  .mat-button-toggle-checked .mat-button-toggle-focus-overlay {
8527    border-bottom: solid 500px;
8528    opacity: 0.5;
8529    height: 0;
8530  }
8531  .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay {
8532    opacity: 0.6;
8533  }
8534  .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay {
8535    border-bottom: solid 500px;
8536  }
8537}
8538.mat-button-toggle .mat-button-toggle-ripple {
8539  top: 0;
8540  left: 0;
8541  right: 0;
8542  bottom: 0;
8543  position: absolute;
8544  pointer-events: none;
8545}
8546
8547.mat-button-toggle-button {
8548  border: 0;
8549  background: none;
8550  color: inherit;
8551  padding: 0;
8552  margin: 0;
8553  font: inherit;
8554  outline: none;
8555  width: 100%;
8556  cursor: pointer;
8557}
8558.mat-button-toggle-animations-enabled .mat-button-toggle-button {
8559  transition: padding 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1);
8560}
8561.mat-button-toggle-vertical .mat-button-toggle-button {
8562  transition: none;
8563}
8564.mat-button-toggle-disabled .mat-button-toggle-button {
8565  cursor: default;
8566}
8567.mat-button-toggle-button::-moz-focus-inner {
8568  border: 0;
8569}
8570.mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper) {
8571  padding-left: 30px;
8572}
8573[dir=rtl] .mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper) {
8574  padding-left: 0;
8575  padding-right: 30px;
8576}
8577
8578.mat-button-toggle-standalone.mat-button-toggle-appearance-standard {
8579  --mat-focus-indicator-border-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
8580}
8581
8582.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:last-of-type .mat-button-toggle-button::before {
8583  border-top-right-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
8584  border-bottom-right-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
8585}
8586.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:first-of-type .mat-button-toggle-button::before {
8587  border-top-left-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
8588  border-bottom-left-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
8589}
8590
8591.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:last-of-type .mat-button-toggle-button::before {
8592  border-bottom-right-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
8593  border-bottom-left-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
8594}
8595.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:first-of-type .mat-button-toggle-button::before {
8596  border-top-right-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
8597  border-top-left-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));
8598}
8599`],encapsulation:2,changeDetection:0})}return t})(),_4=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Nr,Ev,Ye]})}return t})();var dse=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,use=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function $S(t,n){let e=Array(t);for(let i=0;i<t;i++)e[i]=n(i);return e}var hse=(()=>{class t extends Jn{_matDateLocale=f(yx,{optional:!0});constructor(){super();let e=f(yx,{optional:!0});e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let i=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return $S(12,r=>this._format(i,new Date(2017,r,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return $S(31,i=>this._format(e,new Date(2017,0,i+1)))}getDayOfWeekNames(e){let i=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return $S(7,r=>this._format(i,new Date(2017,0,r+1)))}getYearName(e){let i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),i=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return i===7?0:i}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,i,r){let a=this._createDateWithOverflow(e,i,r);return a.getMonth()!=i,a}today(){return new Date}parse(e,i){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,i){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let r=new Intl.DateTimeFormat(this.locale,et(H({},i),{timeZone:"utc"}));return this._format(r,e)}addCalendarYears(e,i){return this.addCalendarMonths(e,i*12)}addCalendarMonths(e,i){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+i,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+i)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,i){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+i)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(dse.test(e)){let i=new Date(e);if(this.isValid(i))return i}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}setTime(e,i,r,a){let o=this.clone(e);return o.setHours(i,r,a,0),o}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,i){if(typeof e!="string")return e instanceof Date?new Date(e.getTime()):null;let r=e.trim();if(r.length===0)return null;let a=this._parseTimeString(r);if(a===null){let o=r.replace(/[^0-9:(AM|PM)]/gi,"").trim();o.length>0&&(a=this._parseTimeString(o))}return a||this.invalid()}addSeconds(e,i){return new Date(e.getTime()+i*1e3)}_createDateWithOverflow(e,i,r){let a=new Date;return a.setFullYear(e,i,r),a.setHours(0,0,0,0),a}_2digit(e){return("00"+e).slice(-2)}_format(e,i){let r=new Date;return r.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),r.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),e.format(r)}_parseTimeString(e){let i=e.toUpperCase().match(use);
8599if(i){let r=parseInt(i[1]),a=parseInt(i[2]),o=i[3]==null?void 0:parseInt(i[3]),s=i[4];if(r===12?r=s==="AM"?0:r:s==="PM"&&(r+=12),WS(r,0,23)&&WS(a,0,59)&&(o==null||WS(o,0,59)))return this.setTime(this.today(),r,a,o||0)}return null}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac})}return t})();function WS(t,n,e){return!isNaN(t)&&t>=n&&t<=e}var mse={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};var v4=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({providers:[fse()]})}return t})();function fse(t=mse){return[{provide:Jn,useClass:hse},{provide:ol,useValue:t}]}var KS=["*"];function pse(t,n){t&1&&_e(0)}var gse=["tabListContainer"],_se=["tabList"],vse=["tabListInner"],bse=["nextPaginator"],yse=["previousPaginator"],xse=["content"];function wse(t,n){}var Cse=["tabBodyWrapper"],Sse=["tabHeader"];function kse(t,n){}function Dse(t,n){if(t&1&&xt(0,kse,0,0,"ng-template",12),t&2){let e=j().$implicit;se("cdkPortalOutlet",e.templateLabel)}}function Ese(t,n){if(t&1&&Q(0),t&2){let e=j().$implicit;Bt(e.textLabel)}}function Tse(t,n){if(t&1){let e=Pt();w(0,"div",7,2),de("click",function(){let r=$e(e),a=r.$implicit,o=r.$index,s=j(),l=qt(1);return We(s._handleClick(a,l,o))})("cdkFocusChange",function(r){let a=$e(e).$index,o=j();return We(o._tabFocusChanged(r,a))}),we(2,"span",8)(3,"div",9),w(4,"span",10)(5,"span",11),pe(6,Dse,1,1,null,12)(7,Ese,1,1),D()()()}if(t&2){let e=n.$implicit,i=n.$index,r=qt(1),a=j();$t(e.labelClass),ce("mdc-tab--active",a.selectedIndex===i),se("id",a._getTabLabelId(e,i))("disabled",e.disabled)("fitInkBarToContent",a.fitInkBarToContent),fe("tabIndex",a._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(i))("aria-selected",a.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),T(3),se("matRippleTrigger",r)("matRippleDisabled",e.disabled||a.disableRipple),T(3),ge(e.templateLabel?6:7
8599)}}function Ise(t,n){t&1&&_e(0)}function Mse(t,n){if(t&1){let e=Pt();w(0,"mat-tab-body",13),de("_onCentered",function(){$e(e);let r=j();return We(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){$e(e);let a=j();return We(a._setTabBodyWrapperHeight(r))})("_beforeCentering",function(r){$e(e);let a=j();return We(a._bodyCentered(r))}),D()}if(t&2){let e=n.$implicit,i=n.$index,r=j();$t(e.bodyClass),se("id",r._getTabContentId(i))("content",e.content)("position",e.position)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),fe("tabindex",r.contentTabIndex!=null&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(e,i))("aria-hidden",r.selectedIndex!==i)}}var Ase=new W("MatTabContent"),Rse=(()=>{class t{template=f(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","matTabContent",""]],features:[Re([{provide:Ase,useExisting:t}])]})}return t})(),Pse=new W("MatTabLabel"),w4=new W("MAT_TAB"),Fse=(()=>{class t extends xT{_closestTab=f(w4,{optional:!0});static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Re([{provide:Pse,useExisting:t}]),Ie]})}return t})(),C4=new W("MAT_TAB_GROUP"),QS=(()=>{class t{_viewContainerRef=f(Zt);_closestTabGroup=f(C4,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new te;position=null;origin=null;isActive=!1;constructor(){f(wt).load(Ci)}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new yn(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-tab"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,Fse,5)(a,Rse,7,At),i&2){let o;ae(o=oe())&&(r.templateLabel=o.first),ae(o=oe())&&(r._explicitContent=o.first)}},viewQuery:function(i,r){if(i&1&&dt(At,7),i&2){let a;ae(a=oe())&&(r._implicitContent=a.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(i,r){i&2&&fe("id",null)},inputs:{disabled:[2,"disabled","disabled",ie],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[Re([{provide:w4,useExisting:t}]),lt],ngContentSelectors:KS,decls:1,vars:0,template:function(i,r){i&1&&(Ge(),zl(0,pse,1,0,"ng-template"))},encapsulation:2})}return t})(),GS="mdc-tab-indicator--active",b4="mdc-tab-indicator--no-transition",qS=class{_items;_currentItem;constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar()),this._currentItem=void 0}alignToElement(n){let e=this._items.find(r=>r.elementRef.nativeElement===n),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){let r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},Ose=(()=>{class t{_elementRef=f(he);_inkBarElement=null;_inkBarContentElement=null;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(GS);return}let r=i.getBoundingClientRect(),a=e.width/r.width,o=e.left-r.left;i.classList.add(b4),this._inkBarContentElement.style.setProperty("transform",`translateX(${o}px) scaleX(${a})`),i.getBoundingClientRect(),i.classList.remove(b4),i.classList.add(GS),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(GS)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",ie]}})}return t})();var S4=(()=>{class t extends Ose{elementRef=f(he);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275dir=G({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,r){i&2&&(fe("aria-disabled",!!r.disabled),ce("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",ie]},features:[Ie]})}return t})(),y4={passive:!0},Nse=650,Lse=100,Bse=(()=>{class t{_elementRef=f(he);_changeDetectorRef=f(Ue);
8599_viewportRuler=f(Mn);_dir=f(Vt,{optional:!0});_ngZone=f(Te);_platform=f(ht);_sharedResizeObserver=f(X0);_injector=f(He);_renderer=f(ft);_animationsDisabled=gt();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new te;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged=!1;_keyManager;_currentTextContent;_stopScrolling=new te;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}_selectedIndex=0;selectFocusedIndex=new ne;indexFocused=new ne;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),y4),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),y4))}ngAfterContentInit(){let e=this._dir?this._dir.change:Be("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(dr(32),Ne(this._destroyed)),r=this._viewportRuler.change(150).pipe(Ne(this._destroyed)),a=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new fr(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),Nt(a,{injector:this._injector}),Gt(e,r,i,this._items.changes,this._itemsResized()).pipe(Ne(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),a()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return typeof ResizeObserver!="function"?fn:this._items.changes.pipe(bt(this._items),gi(e=>new mn(i=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(a=>i.next(a));return e.forEach(a=>r.observe(a.elementRef.nativeElement)),()=>{r.disconnect()}}))),Gc(1),vt(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!zt(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager?.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:o}=i.elementRef.nativeElement,s,l;this._getLayoutDirection()=="ltr"?(s=a,l=s+o):(l=this._tabListInner.nativeElement.offsetWidth-a,s=l-o);let c=this.scrollDistance,d=this.scrollDistance+r;s<c?this.scrollDistance-=c-s:l>d&&(this.scrollDistance+=Math.min(l-d,s-c))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,i=this._elementRef.nativeElement.offsetWidth,r=e-i>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),yk(Nse,Lse).pipe(Ne(Gt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:a}=this._scrollHeader(e);(a===0||a>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",ie],selectedIndex:[2,"selectedIndex","selectedIndex",Yt]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})(),Vse=(()=>{class t extends Bse{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new qS(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=ot(t)))(r||t)}})();static \u0275cmp=ue({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,S4,4),i&2){let o;ae(o=oe())&&(r._items=o)}},viewQuery:function(i,r){if(i&1&&dt(gse,7)(_se,7)(vse,7)(bse,5)(yse,5),i&2){let a;ae(a=oe())&&(r._tabListContainer=a.first),ae(a=oe())&&(r._tabList=a.first),ae(a=oe())&&(r._tabListInner=a.first),ae(a=oe())&&(r._nextPaginator=a.first),ae(a=oe())&&(r._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,r){i&2&&ce("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",ie]},features:[Ie],ngContentSelectors:KS,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(i,r){i&1&&(Ge(),w(0,"div",5,0),de("click",function(){return r._handlePaginatorClick("before")})("mousedown",function(o){return r._handlePaginatorPress("before",o)})("touchend",function(){return r._stopInterval()}),we(2,"div",6),D(),w(3,"div",7,1),de("keydown",function(o){return r._handleKeydown(o)}),w(5,"div",8,2),de("cdkObserveContent",function(){return r._onContentChanges()}),w(7,"div",9,3),_e(9),D()()(),w(10,"div",10,4),de("mousedown",function(o){return r._handlePaginatorPress("after",o)})("click",function(){return r._handlePaginatorClick("after")})("touchend",function(){return r._stopInterval()}),we(12,"div",6),D()),i&2&&(ce("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),se("matRippleDisabled",r._disableScrollBefore||r.disableRipple),T(3),ce("_mat-animation-noopable",r._animationsDisabled),T(2),fe("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),T(5),ce("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),se("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[pr,Yh],styles:[`.mat-mdc-tab-header {
8600  display: flex;
8601  overflow: hidden;
8602  position: relative;
8603  flex-shrink: 0;
8604}
8605
8606.mdc-tab-indicator .mdc-tab-indicator__content {
8607  transition-duration: var(--mat-tab-animation-duration, 250ms);
8608}
8609
8610.mat-mdc-tab-header-pagination {
8611  -webkit-user-select: none;
8612  user-select: none;
8613  position: relative;
8614  display: none;
8615  justify-content: center;
8616  align-items: center;
8617  min-width: 32px;
8618  cursor: pointer;
8619  z-index: 2;
8620  -webkit-tap-highlight-color: transparent;
8621  touch-action: none;
8622  box-sizing: content-box;
8623  outline: 0;
8624}
8625.mat-mdc-tab-header-pagination::-moz-focus-inner {
8626  border: 0;
8627}
8628.mat-mdc-tab-header-pagination .mat-ripple-element {
8629  opacity: 0.12;
8630  background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface));
8631}
8632.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination {
8633  display: flex;
8634}
8635
8636.mat-mdc-tab-header-pagination-before,
8637.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after {
8638  padding-left: 4px;
8639}
8640.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,
8641.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron {
8642  transform: rotate(-135deg);
8643}
8644
8645.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,
8646.mat-mdc-tab-header-pagination-after {
8647  padding-right: 4px;
8648}
8649.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,
8650.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron {
8651  transform: rotate(45deg);
8652}
8653
8654.mat-mdc-tab-header-pagination-chevron {
8655  border-style: solid;
8656  border-width: 2px 2px 0 0;
8657  height: 8px;
8658  width: 8px;
8659  border-color: var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface));
8660}
8661
8662.mat-mdc-tab-header-pagination-disabled {
8663  box-shadow: none;
8664  cursor: default;
8665  pointer-events: none;
8666}
8667.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron {
8668  opacity: 0.4;
8669}
8670
8671.mat-mdc-tab-list {
8672  flex-grow: 1;
8673  position: relative;
8674  transition: transform 500ms cubic-bezier(0.35, 0, 0.25, 1);
8675}
8676._mat-animation-noopable .mat-mdc-tab-list {
8677  transition: none;
8678}
8679
8680.mat-mdc-tab-label-container {
8681  display: flex;
8682  flex-grow: 1;
8683  overflow: hidden;
8684  z-index: 1;
8685  border-bottom-style: solid;
8686  border-bottom-width: var(--mat-tab-divider-height, 1px);
8687  border-bottom-color: var(--mat-tab-divider-color, var(--mat-sys-surface-variant));
8688}
8689.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container {
8690  border-bottom: none;
8691  border-top-style: solid;
8692  border-top-width: var(--mat-tab-divider-height, 1px);
8693  border-top-color: var(--mat-tab-divider-color, var(--mat-sys-surface-variant));
8694}
8695
8696.mat-mdc-tab-labels {
8697  display: flex;
8698  flex: 1 0 auto;
8699}
8700[mat-align-tabs=center] > .mat-mdc-tab-header .mat-mdc-tab-labels {
8701  justify-content: center;
8702}
8703[mat-align-tabs=end] > .mat-mdc-tab-header .mat-mdc-tab-labels {
8704  justify-content: flex-end;
8705}
8706.cdk-drop-list .mat-mdc-tab-labels, .mat-mdc-tab-labels.cdk-drop-list {
8707  min-height: var(--mat-tab-container-height, 48px);
8708}
8709
8710.mat-mdc-tab::before {
8711  margin: 5px;
8712}
8713@media (forced-colors: active) {
8714  .mat-mdc-tab[aria-disabled=true] {
8715    color: GrayText;
8716  }
8717}
8718`],encapsulation:2})}return t})(),Use=new W("MAT_TABS_CONFIG"),x4=(()=>{class t extends An{_host=f(YS);_ngZone=f(Te);_centeringSub=tt.EMPTY;_leavingSub=tt.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(bt(this._host._isCenterPosition())).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this._ngZone.run(()=>{Promise.resolve().then(),this.attach(this._host._content)})}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this._ngZone.run(()=>this.detach())})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","matTabBodyHost",""]],features:[Ie]})}return t})(),YS=(()=>{class t{_elementRef=f(he);_dir=f(Vt,{optional:!0});_ngZone=f(Te);_injector=f(He);_renderer=f(ft);_diAnimationsDisabled=gt();_eventCleanups;_initialized=!1;_fallbackTimer;_positionIndex;_dirChangeSubscription=tt.EMPTY;_position;_previousPosition;_onCentering=new ne;_beforeCentering=new ne;_afterLeavingCenter=new ne;_onCentered=new ne(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(){if(this._dir){let e=f(Ue);this._dirChangeSubscription=this._dir.change.subscribe(i=>{this._computePositionAnimationState(i),e.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),this._position==="center"&&(this._setActiveClass(!0),Nt(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(e
8718=>e()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{let e=this._elementRef.nativeElement,i=r=>{r.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),r.type==="transitionend"&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(e,"transitionstart",r=>{r.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(e,"transitionend",i),this._renderer.listen(e,"transitioncancel",i)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);let e=this._position==="center";this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){this._position==="center"?this._onCentered.emit():this._previousPosition==="center"&&this._afterLeavingCenter.emit()}_setActiveClass(e){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",e)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(){return this._positionIndex===0}_computePositionAnimationState(e=this._getLayoutDirection()){this._previousPosition=this._position,this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&(this._position==="center"||this._previousPosition==="center")&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),Nt(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0ms"||this.animationDuration==="0s"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,r){if(i&1&&dt(x4,5)(xse,5),i&2){let a;ae(a=oe())&&(r._portalHost=a.first),ae(a=oe())&&(r._contentElement=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(i,r){i&2&&fe("inert",r._position==="center"?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,r){i&1&&(w(0,"div",1,0),xt(2,wse,0,0,"ng-template",2),D()),i&2&&ce("mat-tab-body-content-left",r._position==="left")("mat-tab-body-content-right",r._position==="right")("mat-tab-body-content-can-animate",r._position==="center"||r._previousPosition==="center")},dependencies:[x4,ls],styles:[`.mat-mdc-tab-body {
8719  top: 0;
8720  left: 0;
8721  right: 0;
8722  bottom: 0;
8723  position: absolute;
8724  display: block;
8725  overflow: hidden;
8726  outline: 0;
8727  flex-basis: 100%;
8728}
8729.mat-mdc-tab-body.mat-mdc-tab-body-active {
8730  position: relative;
8731  overflow-x: hidden;
8732  overflow-y: auto;
8733  z-index: 1;
8734  flex-grow: 1;
8735}
8736.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active {
8737  overflow-y: hidden;
8738}
8739
8740.mat-mdc-tab-body-content {
8741  height: 100%;
8742  overflow: auto;
8743  transform: none;
8744  visibility: hidden;
8745}
8746.mat-tab-body-animating > .mat-mdc-tab-body-content, .mat-mdc-tab-body-active > .mat-mdc-tab-body-content {
8747  visibility: visible;
8748}
8749.mat-tab-body-animating > .mat-mdc-tab-body-content {
8750  min-height: 1px;
8751}
8752.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content {
8753  overflow: hidden;
8754}
8755
8756.mat-tab-body-content-can-animate {
8757  transition: transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1);
8758}
8759.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate {
8760  transition: none;
8761}
8762
8763.mat-tab-body-content-left {
8764  transform: translate3d(-100%, 0, 0);
8765}
8766
8767.mat-tab-body-content-right {
8768  transform: translate3d(100%, 0, 0);
8769}
8770`],encapsulation:2})}return t})(),k4=(()=>{class t{_elementRef=f(he);_changeDetectorRef=f(Ue);_ngZone=f(Te);_tabsSubscription=tt.EMPTY;_tabLabelSubscription=tt.EMPTY;_tabBodySubscription=tt.EMPTY;_diAnimationsDisabled=gt();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new en;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}_contentTabIndex=null;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new ne;focusChange=new ne;animationDone=new ne;selectedTabChange=new ne(!0);_groupId;_isServer=!f(ht).isBrowser;constructor(){let e=f(Use,{optional:!0});this._groupId=f(pt).getId("mat-tab-group-"),this.animationDuration=e&&e.animationDuration?e.animationDuration:"500ms",this.disablePagination=e&&e.disablePagination!=null?e.disablePagination:!1,this.dynamicHeight=e&&e.dynamicHeight!=null?e.dynamicHeight:!1,e?.contentTabIndex!=null&&(this.contentTabIndex=e.contentTabIndex),this.preserveContent=!!e?.preserveContent,this.fitInkBarToContent=e&&e.fitInkBarToContent!=null?e.fitInkBarToContent:!1,this.stretchTabs=e&&e.stretchTabs!=null?e.stretchTabs:!0,this.alignTabs=e&&e.alignTabs!=null?e.alignTabs:null}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>
8770{this._tabs.forEach((r,a)=>r.isActive=a===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),r;for(let a=0;a<i.length;a++)if(i[a].isActive){this._indexToSelect=this._selectedIndex=a,this._lastFocusedTabIndex=null,r=i[a];break}!r&&i[e]&&Promise.resolve().then(()=>{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(bt(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new XS;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Gt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e,i){return e.id||`${this._groupId}-label-${i}`}_getTabContentId(e){return`${this._groupId}-content-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight){this._tabBodyWrapperHeight=e;return}let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}_bodyCentered(e){e&&this._tabBodies?.forEach((i,r)=>i._setActiveClass(r===this._selectedIndex))}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0"||this.animationDuration==="0ms"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,QS,5),i&2){let o;ae(o=oe())&&(r._allTabs=o)}},viewQuery:function(i,r){if(i&1&&dt(Cse,5)(Sse,5)(YS,5),i&2){let a;ae(a=oe())&&(r._tabBodyWrapper=a.first),ae(a=oe())&&(r._tabHeader=a.first),ae(a=oe())&&(r._tabBodies=a)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(i,r){i&2&&(fe("mat-align-tabs",r.alignTabs),$t("mat-"+(r.color||"primary")),Gi("--mat-tab-animation-duration",r.animationDuration),ce("mat-mdc-tab-group-dynamic-height",r.dynamicHeight)("mat-mdc-tab-group-inverted-header",r.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",r.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",ie],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",ie],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",ie],selectedIndex:[2,"selectedIndex","selectedIndex",Yt],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Yt],disablePagination:[2,"disablePagination","disablePagination",ie],disableRipple:[2,"disableRipple","disableRipple",ie],preserveContent:[2,"preserveContent","preserveContent",ie],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[Re([{provide:C4,useExisting:t}])],ngContentSelectors:KS,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(i,r){i&1&&(Ge(),w(0,"mat-tab-header",3,0),de("indexFocused",function(o){return r._focusChanged(o)})("selectFocusedIndex",function(o){return r.selectedIndex=o}),tn(2,Tse,8,17,"div",4,Ha),D(),pe(4,Ise,1,0),w(5,"div",5,1),tn(7,Mse,1,10,"mat-tab-body",6,Ha),D()),i&2&&(se("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination),dh("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),T(2),nn(r._tabs),T(2),ge(r._isServer?4:-1),T(),ce("_mat-animation-noopable",r._animationsDisabled()),T(2),nn(r._tabs))},dependencies:[Vse,S4,Gh,pr,An,YS],styles:[`.mdc-tab {
8771  min-width: 90px;
8772  padding: 0 24px;
8773  display: flex;
8774  flex: 1 0 auto;
8775  justify-content: center;
8776  box-sizing: border-box;
8777  border: none;
8778  outline: none;
8779  text-align: center;
8780  white-space: nowrap;
8781  cursor: pointer;
8782  z-index: 1;
8783  touch-action: manipulation;
8784}
8785
8786.mdc-tab__content {
8787  display: flex;
8788  align-items: center;
8789  justify-content: center;
8790  height: inherit;
8791  pointer-events: none;
8792}
8793
8794.mdc-tab__text-label {
8795  transition: 150ms color linear;
8796  display: inline-block;
8797  line-height: 1;
8798  z-index: 2;
8799}
8800
8801.mdc-tab--active .mdc-tab__text-label {
8802  transition-delay: 100ms;
8803}
8804
8805._mat-animation-noopable .mdc-tab__text-label {
8806  transition: none;
8807}
8808
8809.mdc-tab-indicator {
8810  display: flex;
8811  position: absolute;
8812  top: 0;
8813  left: 0;
8814  justify-content: center;
8815  width: 100%;
8816  height: 100%;
8817  pointer-events: none;
8818  z-index: 1;
8819}
8820
8821.mdc-tab-indicator__content {
8822  transition: var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);
8823  transform-origin: left;
8824  opacity: 0;
8825}
8826
8827.mdc-tab-indicator__content--underline {
8828  align-self: flex-end;
8829  box-sizing: border-box;
8830  width: 100%;
8831  border-top-style: solid;
8832}
8833
8834.mdc-tab-indicator--active .mdc-tab-indicator__content {
8835  opacity: 1;
8836}
8837
8838._mat-animation-noopable .mdc-tab-indicator__content, .mdc-tab-indicator--no-transition .mdc-tab-indicator__content {
8839  transition: none;
8840}
8841
8842.mat-mdc-tab-ripple.mat-mdc-tab-ripple {
8843  position: absolute;
8844  top: 0;
8845  left: 0;
8846  bottom: 0;
8847  right: 0;
8848  pointer-events: none;
8849}
8850
8851.mat-mdc-tab {
8852  -webkit-tap-highlight-color: transparent;
8853  -webkit-font-smoothing: antialiased;
8854  -moz-osx-font-smoothing: grayscale;
8855  text-decoration: none;
8856  background: none;
8857  height: var(--mat-tab-container-height, 48px);
8858  font-family: var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));
8859  font-size: var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));
8860  letter-spacing: var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));
8861  line-height: var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));
8862  font-weight: var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight));
8863}
8864.mat-mdc-tab.mdc-tab {
8865  flex-grow: 0;
8866}
8867.mat-mdc-tab .mdc-tab-indicator__content--underline {
8868  border-color: var(--mat-tab-active-indicator-color, var(--mat-sys-primary));
8869  border-top-width: var(--mat-tab-active-indicator-height, 2px);
8870  border-radius: var(--mat-tab-active-indicator-shape, 0);
8871}
8872.mat-mdc-tab:hover .mdc-tab__text-label {
8873  color: var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface));
8874}
8875.mat-mdc-tab:focus .mdc-tab__text-label {
8876  color: var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface));
8877}
8878.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label {
8879  color: var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface));
8880}
8881.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,
8882.mat-mdc-tab.mdc-tab--active .mat-ripple-element {
8883  background-color: var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface));
8884}
8885.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label {
8886  color: var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface));
8887}
8888.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline {
8889  border-color: var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary));
8890}
8891.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label {
8892  color: var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface));
8893}
8894.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline {
8895  border-color: var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary));
8896}
8897.mat-mdc-tab.mat-mdc-tab-disabled {
8898  opacity: 0.4;
8899  pointer-events: none;
8900}
8901.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content {
8902  pointer-events: none;
8903}
8904.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,
8905.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element {
8906  background-color: var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant));
8907}
8908.mat-mdc-tab .mdc-tab__ripple::before {
8909  content: "";
8910  display: block;
8911  position: absolute;
8912  top: 0;
8913  left: 0;
8914  right: 0;
8915  bottom: 0;
8916  opacity: 0;
8917  pointer-events: none;
8918  background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface));
8919}
8920.mat-mdc-tab .mdc-tab__text-label {
8921  color: var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));
8922  display: inline-flex;
8923  align-items: center;
8924}
8925.mat-mdc-tab .mdc-tab__content {
8926  position: relative;
8927  pointer-events: auto;
8928}
8929.mat-mdc-tab:hover .mdc-tab__ripple::before {
8930  opacity: 0.04;
8931}
8932.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before, .mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before {
8933  opacity: 0.12;
8934}
8935.mat-mdc-tab .mat-ripple-element {
8936  opacity: 0.12;
8937  background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface));
8938}
8939.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs > .mat-mdc-tab-header .mat-mdc-tab {
8940  flex-grow: 1;
8941}
8942
8943.mat-mdc-tab-group {
8944  display: flex;
8945  flex-direction: column;
8946  max-width: 100%;
8947}
8948.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination {
8949  background-color: var(--mat-tab-background-color);
8950}
8951.mat-mdc-tab-group.mat-tabs-with-background.mat-primary > .mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label {
8952  color: var(--mat-tab-foreground-color);
8953}
8954.mat-mdc-tab-group.mat-tabs-with-background.mat-primary > .mat-mdc-tab-header .mdc-tab-indicator__content--underline {
8955  border-color: var(--mat-tab-foreground-color);
8956}
8957.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary) > .mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label {
8958  color: var(--mat-tab-foreground-color);
8959}
8960.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary) > .mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline {
8961  border-color: var(--mat-tab-foreground-color);
8962}
8963.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,
8964.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-focus-indicator::before, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,
8965.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-focus-indicator::before {
8966  border-color: var(--mat-tab-foreground-color);
8967}
8968.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-ripple-element, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mdc-tab__ripple::before, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-ripple-element, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mdc-tab__ripple::before {
8969  background-color: var(--mat-tab-foreground-color);
8970}
8971.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron {
8972  color: var(--mat-tab-foreground-color);
8973}
8974.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header {
8975  flex-direction: column-reverse;
8976}
8977.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline {
8978  align-self: flex-start;
8979}
8980
8981.mat-mdc-tab-body-wrapper {
8982  position: relative;
8983  overflow: hidden;
8984  display: flex;
8985  transition: height 500ms cubic-bezier(0.35, 0, 0.25, 1);
8986}
8987.mat-mdc-tab-body-wrapper._mat-animation-noopable {
8988  transition: none !important;
8989  animation: none !important;
8990}
8991`],encapsulation:2})}return t})(),XS=class{index;tab};var D4=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Ye]})}return t})();var jse=["switch"],Hse=["*"];function $se(t,n){t&1&&(w(0,"span",11),ui(),w(1,"svg",13),we(2,"path",14),D(),w(3,"svg",15),we(4,"path",16),D()())}var Wse=new W("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),Tv=class{source;checked;constructor(n,e){this.source=n,this.checked=e}},Gse=(()=>{class t{_elementRef=f(he);_focusMonitor=f(Ii);_changeDetectorRef=f(Ue);defaults=f(Wse);_onChange=e=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(e){return new Tv(this,e)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations=gt();_focused=!1;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required=!1;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new ne;toggleChange=new ne;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){f(wt).load(Ci);let e=f(new gn("tabindex"),{optional:!0}),i=this.defaults;
vendor: 4,959 bytes, lines 8991-9002
8991this.tabIndex=e==null?0:parseInt(e)||0,this.color=i.color||"accent",this.id=this._uniqueId=f(pt).getId("mat-mdc-slide-toggle-"),this.hideIcon=i.hideIcon??!1,this.disabledInteractive=i.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new Tv(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(i,r){if(i&1&&dt(jse,5),i&2){let a;ae(a=oe())&&(r._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,r){i&2&&(si("id",r.id),fe("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),$t(r.color?"mat-"+r.color:""),ce("mat-mdc-slide-toggle-focused",r._focused)("mat-mdc-slide-toggle-checked",r.checked)("_mat-animation-noopable",r._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",ie],color:"color",disabled:[2,"disabled","disabled",ie],disableRipple:[2,"disableRipple","disableRipple",ie],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Yt(e)],checked:[2,"checked","checked",ie],hideIcon:[2,"hideIcon","hideIcon",ie],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ie]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[Re([{provide:xn,useExisting:_i(()=>t),multi:!0},{provide:br,useExisting:t,multi:!0}]),lt],ngContentSelectors:Hse,decls:14,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mat-mdc-slide-toggle-touch-target"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,r){if(i&1&&(Ge(),w(0,"div",1)(1,"button",2,0),de("click",function(){return r._handleClick()}),we(3,"div",3)(4,"span",4),w(5,"span",5)(6,"span",6)(7,"span",7),we(8,"span",8),D(),w(9,"span",9),we(10,"span",10),D(),pe(11,$se,5,0,"span",11),D()()(),w(12,"label",12),de("click",function(o){return o.stopPropagation()}),_e(13),D()()),i&2){let a=qt(2);se("labelPosition",r.labelPosition),T(),ce("mdc-switch--selected",r.checked)("mdc-switch--unselected",!r.checked)("mdc-switch--checked",r.checked)("mdc-switch--disabled",r.disabled)("mat-mdc-slide-toggle-disabled-interactive",r.disabledInteractive),se("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("disabled",r.disabled&&!r.disabledInteractive),fe("id",r.buttonId)("name",r.name)("aria-label",r.ariaLabel)("aria-labelledby",r._getAriaLabelledBy())("aria-describedby",r.ariaDescribedby)("aria-required",r.required||null)("aria-checked",r.checked)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),T(9),se("matRippleTrigger",a)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),T(),ge(r.hideIcon?-1:11),T(),se("for",r.buttonId),fe("id",r._labelId)}},dependencies:[pr,Kg],styles:[`.mdc-switch {
8992  align-items: center;
8993  background: none;
8994  border: none;
8995  cursor: pointer;
8996  display: inline-flex;
8997  flex-shrink: 0;
8998  margin: 0;
8999  outline: none;
9000  overflow: visible;
9001  padding: 0;
9002  position: relative;
9003  width: var(--mat-slide-toggle-track-width, 52px);
9004}
9005.mdc-switch.mdc-switch--disabled {
9006  cursor: default;
9007  pointer-events: none;
9008}
9009.mdc-switch.mat-mdc-slide-toggle-disabled-interactive {
9010  pointer-events: auto;
9011}
9012
9013.mdc-switch__track {
9014  overflow: hidden;
9015  position: relative;
9016  width: 100%;
9017  height: var(--mat-slide-toggle-track-height, 32px);
9018  border-radius: var(--mat-slide-toggle-track-shape, var(--mat-sys-corner-full));
9019}
9020.mdc-switch--disabled.mdc-switch .mdc-switch__track {
9021  opacity: var(--mat-slide-toggle-disabled-track-opacity, 0.12);
9022}
9023.mdc-switch__track::before, .mdc-switch__track::after {
9024  border: 1px solid transparent;
9025  border-radius: inherit;
9026  box-sizing: border-box;
9027  content: "";
9028  height: 100%;
9029  left: 0;
9030  position: absolute;
9031  width: 100%;
9032  border-width: var(--mat-slide-toggle-track-outline-width, 2px);
9033  border-color: var(--mat-slide-toggle-track-outline-color, var(--mat-sys-outline));
9034}
9035.mdc-switch--selected .mdc-switch__track::before, .mdc-switch--selected .mdc-switch__track::after {
9036  border-width: var(--mat-slide-toggle-selected-track-outline-width, 2px);
9037  border-color: var(--mat-slide-toggle-selected-track-outline-color, transparent);
9038}
9039.mdc-switch--disabled .mdc-switch__track::before, .mdc-switch--disabled .mdc-switch__track::after {
9040  border-width: var(--mat-slide-toggle-disabled-unselected-track-outline-width, 2px);
9041  border-color: var(--mat-slide-toggle-disabled-unselected-track-outline-color, var(--mat-sys-on-surface));
9042}
9043@media (forced-colors: active) {
9044  .mdc-switch__track {
9045    border-color: currentColor;
9046  }
9047}
9048.mdc-switch__track::before {
9049  transition: transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);
9050  transform: translateX(0);
9051  background: var(--mat-slide-toggle-unselected-track-color, var(--mat-sys-surface-variant));
9052}
9053.mdc-switch--selected .mdc-switch__track::before {
9054  transition: transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
9055  transform: translateX(100%);
9056}
9057[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before {
9058  transform: translateX(-100%);
9059}
9060.mdc-switch--selected .mdc-switch__track::before {
9061  opacity: var(--mat-slide-toggle-hidden-track-opacity, 0);
9062  transition: var(--mat-slide-toggle-hidden-track-transition, opacity 75ms);
9063}
9064.mdc-switch--unselected .mdc-switch__track::before {
9065  opacity: var(--mat-slide-toggle-visible-track-opacity, 1);
9066  transition: var(--mat-slide-toggle-visible-track-transition, opacity 75ms);
9067}
9068.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before {
9069  background: var(--mat-slide-toggle-unselected-hover-track-color, var(--mat-sys-surface-variant));
9070}
9071.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before {
9072  background: var(--mat-slide-toggle-unselected-focus-track-color, var(--mat-sys-surface-variant));
9073}
9074.mdc-switch:enabled:active .mdc-switch__track::before {
9075  background: var(--mat-slide-toggle-unselected-pressed-track-color, var(--mat-sys-surface-variant));
9076}
9077.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before, .mdc-switch.mdc-switch--disabled .mdc-switch__track::before {
9078  background: var(--mat-slide-toggle-disabled-unselected-track-color, var(--mat-sys-surface-variant));
9079}
9080.mdc-switch__track::after {
9081  transform: translateX(-100%);
9082  background: var(--mat-slide-toggle-selected-track-color, var(--mat-sys-primary));
9083}
9084[dir=rtl] .mdc-switch__track::after {
9085  transform: translateX(100%);
9086}
9087.mdc-switch--selected .mdc-switch__track::after {
9088  transform: translateX(0);
9089}
9090.mdc-switch--selected .mdc-switch__track::after {
9091  opacity: var(--mat-slide-toggle-visible-track-opacity, 1);
9092  transition: var(--mat-slide-toggle-visible-track-transition, opacity 75ms);
9093}
9094.mdc-switch--unselected .mdc-switch__track::after {
9095  opacity: var(--mat-slide-toggle-hidden-track-opacity, 0);
9096  transition: var(--mat-slide-toggle-hidden-track-transition, opacity 75ms);
9097}
9098.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after {
9099  background: var(--mat-slide-toggle-selected-hover-track-color, var(--mat-sys-primary));
9100}
9101.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after {
9102  background: var(--mat-slide-toggle-selected-focus-track-color, var(--mat-sys-primary));
9103}
9104.mdc-switch:enabled:active .mdc-switch__track::after {
9105  background: var(--mat-slide-toggle-selected-pressed-track-color, var(--mat-sys-primary));
9106}
9107.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after, .mdc-switch.mdc-switch--disabled .mdc-switch__track::after {
9108  background: var(--mat-slide-toggle-disabled-selected-track-color, var(--mat-sys-on-surface));
9109}
9110
9111.mdc-switch__handle-track {
9112  height: 100%;
9113  pointer-events: none;
9114  position: absolute;
9115  top: 0;
9116  transition: transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
9117  left: 0;
9118  right: auto;
9119  transform: translateX(0);
9120  width: calc(100% - var(--mat-slide-toggle-handle-width));
9121}
9122[dir=rtl] .mdc-switch__handle-track {
9123  left: auto;
9124  right: 0;
9125}
9126.mdc-switch--selected .mdc-switch__handle-track {
9127  transform: translateX(100%);
9128}
9129[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track {
9130  transform: translateX(-100%);
9131}
9132
9133.mdc-switch__handle {
9134  display: flex;
9135  pointer-events: auto;
9136  position: absolute;
9137  top: 50%;
9138  transform: translateY(-50%);
9139  left: 0;
9140  right: auto;
9141  transition: width 75ms cubic-bezier(0.4, 0, 0.2, 1), height 75ms cubic-bezier(0.4, 0, 0.2, 1), margin 75ms cubic-bezier(0.4, 0, 0.2, 1);
9142  width: var(--mat-slide-toggle-handle-width);
9143  height: var(--mat-slide-toggle-handle-height);
9144  border-radius: var(--mat-slide-toggle-handle-shape, var(--mat-sys-corner-full));
9145}
9146[dir=rtl] .mdc-switch__handle {
9147  left: auto;
9148  right: 0;
9149}
9150.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle {
9151  width: var(--mat-slide-toggle-unselected-handle-size, 16px);
9152  height: var(--mat-slide-toggle-unselected-handle-size, 16px);
9153  margin: var(--mat-slide-toggle-unselected-handle-horizontal-margin, 0 8px);
9154}
9155.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons) {
9156  margin: var(--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin, 0 4px);
9157}
9158.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle {
9159  width: var(--mat-slide-toggle-selected-handle-size, 24px);
9160  height: var(--mat-slide-toggle-selected-handle-size, 24px);
9161  margin: var(--mat-slide-toggle-selected-handle-horizontal-margin, 0 24px);
9162}
9163.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons) {
9164  margin: var(--mat-slide-toggle-selected-with-icon-handle-horizontal-margin, 0 24px);
9165}
9166.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons) {
9167  width: var(--mat-slide-toggle-with-icon-handle-size, 24px);
9168  height: var(--mat-slide-toggle-with-icon-handle-size, 24px);
9169}
9170.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle {
9171  width: var(--mat-slide-toggle-pressed-handle-size, 28px);
9172  height: var(--mat-slide-toggle-pressed-handle-size, 28px);
9173}
9174.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle {
9175  margin: var(--mat-slide-toggle-selected-pressed-handle-horizontal-margin, 0 22px);
9176}
9177.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle {
9178  margin: var(--mat-slide-toggle-unselected-pressed-handle-horizontal-margin, 0 2px);
9179}
9180.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after {
9181  opacity: var(--mat-slide-toggle-disabled-selected-handle-opacity, 1);
9182}
9183.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after {
9184  opacity: var(--mat-slide-toggle-disabled-unselected-handle-opacity, 0.38);
9185}
9186.mdc-switch__handle::before, .mdc-switch__handle::after {
9187  border: 1px solid transparent;
9188  border-radius: inherit;
9189  box-sizing: border-box;
9190  content: "";
9191  width: 100%;
9192  height: 100%;
9193  left: 0;
9194  position: absolute;
9195  top: 0;
9196  transition: background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1), border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
9197  z-index: -1;
9198}
9199@media (forced-colors: active) {
9200  .mdc-switch__handle::before, .mdc-switch__handle::after {
9201    border-color: currentColor;
9202  }
9203}
9204.mdc-switch--selected:enabled .mdc-switch__handle::after {
9205  background: var(--mat-slide-toggle-selected-handle-color, var(--mat-sys-on-primary));
9206}
9207.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after {
9208  background: var(--mat-slide-toggle-selected-hover-handle-color, var(--mat-sys-primary-container));
9209}
9210.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after {
9211  background: var(--mat-slide-toggle-selected-focus-handle-color, var(--mat-sys-primary-container));
9212}
9213.mdc-switch--selected:enabled:active .mdc-switch__handle::after {
9214  background: var(--mat-slide-toggle-selected-pressed-handle-color, var(--mat-sys-primary-container));
9215}
9216.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after, .mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after {
9217  background: var(--mat-slide-toggle-disabled-selected-handle-color, var(--mat-sys-surface));
9218}
9219.mdc-switch--unselected:enabled .mdc-switch__handle::after {
9220  background: var(--mat-slide-toggle-unselected-handle-color, var(--mat-sys-outline));
9221}
9222.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after {
9223  background: var(--mat-slide-toggle-unselected-hover-handle-color, var(--mat-sys-on-surface-variant));
9224}
9225.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after {
9226  background: var(--mat-slide-toggle-unselected-focus-handle-color, var(--mat-sys-on-surface-variant));
9227}
9228.mdc-switch--unselected:enabled:active .mdc-switch__handle::after {
9229  background: var(--mat-slide-toggle-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant));
9230}
9231.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after {
9232  background: var(--mat-slide-toggle-disabled-unselected-handle-color, var(--mat-sys-on-surface));
9233}
9234.mdc-switch__handle::before {
9235  background: var(--mat-slide-toggle-handle-surface-color);
9236}
9237
9238.mdc-switch__shadow {
9239  border-radius: inherit;
9240  bottom: 0;
9241  left: 0;
9242  position: absolute;
9243  right: 0;
9244  top: 0;
9245}
9246.mdc-switch:enabled .mdc-switch__shadow {
9247  box-shadow: var(--mat-slide-toggle-handle-elevation-shadow);
9248}
9249.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow, .mdc-switch.mdc-switch--disabled .mdc-switch__shadow {
9250  box-shadow: var(--mat-slide-toggle-disabled-handle-elevation-shadow);
9251}
9252
9253.mdc-switch__ripple {
9254  left: 50%;
9255  position: absolute;
9256  top: 50%;
9257  transform: translate(-50%, -50%);
9258  z-index: -1;
9259  width: var(--mat-slide-toggle-state-layer-size, 40px);
9260  height: var(--mat-slide-toggle-state-layer-size, 40px);
9261}
9262.mdc-switch__ripple::after {
9263  content: "";
9264  opacity: 0;
9265}
9266.mdc-switch--disabled .mdc-switch__ripple::after {
9267  display: none;
9268}
9269.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after {
9270  display: block;
9271}
9272.mdc-switch:hover .mdc-switch__ripple::after {
9273  transition: 75ms opacity cubic-bezier(0, 0, 0.2, 1);
9274}
9275.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after, .mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after {
9276  background: var(--mat-slide-toggle-unselected-hover-state-layer-color, var(--mat-sys-on-surface));
9277  opacity: var(--mat-slide-toggle-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
9278}
9279.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after {
9280  background: var(--mat-slide-toggle-unselected-focus-state-layer-color, var(--mat-sys-on-surface));
9281  opacity: var(--mat-slide-toggle-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
9282}
9283.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after {
9284  background: var(--mat-slide-toggle-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));
9285  opacity: var(--mat-slide-toggle-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
9286  transition: opacity 75ms linear;
9287}
9288.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after {
9289  background: var(--mat-slide-toggle-selected-hover-state-layer-color, var(--mat-sys-primary));
9290  opacity: var(--mat-slide-toggle-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
9291}
9292.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after {
9293  background: var(--mat-slide-toggle-selected-focus-state-layer-color, var(--mat-sys-primary));
9294  opacity: var(--mat-slide-toggle-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
9295}
9296.mdc-switch--selected:enabled:active .mdc-switch__ripple::after {
9297  background: var(--mat-slide-toggle-selected-pressed-state-layer-color, var(--mat-sys-primary));
9298  opacity: var(--mat-slide-toggle-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
9299  transition: opacity 75ms linear;
9300}
9301
9302.mdc-switch__icons {
9303  position: relative;
9304  height: 100%;
9305  width: 100%;
9306  z-index: 1;
9307  transform: translateZ(0);
9308}
9309.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons {
9310  opacity: var(--mat-slide-toggle-disabled-unselected-icon-opacity, 0.38);
9311}
9312.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons {
9313  opacity: var(--mat-slide-toggle-disabled-selected-icon-opacity, 0.38);
9314}
9315
9316.mdc-switch__icon {
9317  bottom: 0;
9318  left: 0;
9319  margin: auto;
9320  position: absolute;
9321  right: 0;
9322  top: 0;
9323  opacity: 0;
9324  transition: opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1);
9325}
9326.mdc-switch--unselected .mdc-switch__icon {
9327  width: var(--mat-slide-toggle-unselected-icon-size, 16px);
9328  height: var(--mat-slide-toggle-unselected-icon-size, 16px);
9329  fill: var(--mat-slide-toggle-unselected-icon-color, var(--mat-sys-surface-variant));
9330}
9331.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon {
9332  fill: var(--mat-slide-toggle-disabled-unselected-icon-color, var(--mat-sys-surface-variant));
9333}
9334.mdc-switch--selected .mdc-switch__icon {
9335  width: var(--mat-slide-toggle-selected-icon-size, 16px);
9336  height: var(--mat-slide-toggle-selected-icon-size, 16px);
9337  fill: var(--mat-slide-toggle-selected-icon-color, var(--mat-sys-on-primary-container));
9338}
9339.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon {
9340  fill: var(--mat-slide-toggle-disabled-selected-icon-color, var(--mat-sys-on-surface));
9341}
9342
9343.mdc-switch--selected .mdc-switch__icon--on,
9344.mdc-switch--unselected .mdc-switch__icon--off {
9345  opacity: 1;
9346  transition: opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1);
9347}
9348
9349.mat-mdc-slide-toggle {
9350  -webkit-user-select: none;
9351  user-select: none;
9352  display: inline-block;
9353  -webkit-tap-highlight-color: transparent;
9354  outline: 0;
9355}
9356.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,
9357.mat-mdc-slide-toggle .mdc-switch__ripple::after {
9358  top: 0;
9359  left: 0;
9360  right: 0;
9361  bottom: 0;
9362  position: absolute;
9363  border-radius: 50%;
9364  pointer-events: none;
9365}
9366.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),
9367.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty) {
9368  transform: translateZ(0);
9369}
9370.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before {
9371  content: "";
9372}
9373.mat-mdc-slide-toggle .mat-internal-form-field {
9374  color: var(--mat-slide-toggle-label-text-color, var(--mat-sys-on-surface));
9375  font-family: var(--mat-slide-toggle-label-text-font, var(--mat-sys-body-medium-font));
9376  line-height: var(--mat-slide-toggle-label-text-line-height, var(--mat-sys-body-medium-line-height));
9377  font-size: var(--mat-slide-toggle-label-text-size, var(--mat-sys-body-medium-size));
9378  letter-spacing: var(--mat-slide-toggle-label-text-tracking, var(--mat-sys-body-medium-tracking));
9379  font-weight: var(--mat-slide-toggle-label-text-weight, var(--mat-sys-body-medium-weight));
9380}
9381.mat-mdc-slide-toggle .mat-ripple-element {
9382  opacity: 0.12;
9383}
9384.mat-mdc-slide-toggle .mat-focus-indicator::before {
9385  border-radius: 50%;
9386}
9387.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,
9388.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,
9389.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,
9390.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,
9391.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,
9392.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after {
9393  transition: none;
9394}
9395.mat-mdc-slide-toggle .mdc-switch:enabled + .mdc-label {
9396  cursor: pointer;
9397}
9398.mat-mdc-slide-toggle .mdc-switch--disabled + label {
9399  color: var(--mat-slide-toggle-disabled-label-text-color, var(--mat-sys-on-surface));
9400}
9401.mat-mdc-slide-toggle label:empty {
9402  display: none;
9403}
9404
9405.mat-mdc-slide-toggle-touch-target {
9406  position: absolute;
9407  top: 50%;
9408  left: 50%;
9409  height: var(--mat-slide-toggle-touch-target-size, 48px);
9410  width: 100%;
9411  transform: translate(-50%, -50%);
9412  display: var(--mat-slide-toggle-touch-target-display, block);
9413}
9414[dir=rtl] .mat-mdc-slide-toggle-touch-target {
9415  left: auto;
9416  right: 50%;
9417  transform: translate(50%, -50%);
9418}
9419`],encapsulation:2,changeDetection:0})}return t})(),DIe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Gse,Ye]})}return t})();var E4=["*"],qse=["content"],Yse=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Xse=["mat-drawer","mat-drawer-content","*"];function Kse(t,n){if(t&1){let e=Pt();w(0,"div",1),de("click",function(){$e(e);let r=j();return We(r._onBackdropClicked())}),D()}if(t&2){let e=j();ce("mat-drawer-shown",e._isShowingBackdrop())}}function Qse(t,n){t&1&&(w(0,"mat-drawer-content"),_e(1,2),D())}var Zse=new W("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:()=>!1}),T4=new W("MAT_DRAWER_CONTAINER"),ZS=(()=>{class t extends ls{_platform=f(ht);_changeDetectorRef=f(Ue);_container=f(ele);constructor(){let e=f(he),i=f(Da),r=f(Te);super(e,i,r)}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;let{start:e,end:i}=this._container;return e!=null&&e.mode!=="over"&&e.opened||i!=null&&i.mode!=="over"&&i.opened}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(i,r){i&2&&(Gi("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px"),ce("mat-drawer-content-hidden",r._shouldBeHidden()))},features:[Re([{provide:ls,useExisting:t}]),Ie],ngContentSelectors:E4,decls:1,vars:0,template:function(i,r){i&1&&(Ge(),_e(0))},encapsulation:2,changeDetection:0})}return t})(),Jse=(()=>{class t{_elementRef=f(he);_focusTrapFactory=f(Rd);_focusMonitor=f(Ii);_platform=f(ht);_ngZone=f(Te);_renderer=f(ft);_interactivityChecker=f(Ad);_doc=f(Ve);_container=f(T4,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_eventCleanups;_isAttached=!1;_anchor=null;get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=yi(e)}_disableClose=!1;get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=yi(e)),this._autoFocus=e}_autoFocus;get opened(){return this._opened()}set opened(e){this.toggle(yi(e))}_opened=ke(!1);_openedVia=null;_animationStarted=new te;_animationEnd=new te;openedChange=new ne(!0);
9419_openedStream=this.openedChange.pipe(vt(e=>e),ct(()=>{}));openedStart=this._animationStarted.pipe(vt(()=>this.opened),Wv(void 0));_closedStream=this.openedChange.pipe(vt(e=>!e),ct(()=>{}));closedStart=this._animationStarted.pipe(vt(()=>!this.opened),Wv(void 0));_destroyed=new te;onPositionChanged=new ne;_content;_modeChanged=new te;_injector=f(He);_changeDetectorRef=f(Ue);constructor(){this.openedChange.pipe(Ne(this._destroyed)).subscribe(e=>{e?(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement,this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._eventCleanups=this._ngZone.runOutsideAngular(()=>{let e=this._renderer,i=this._elementRef.nativeElement;return[e.listen(i,"keydown",r=>{r.keyCode===27&&!this.disableClose&&!zt(r)&&this._ngZone.run(()=>{this.close(),r.stopPropagation(),r.preventDefault()})}),e.listen(i,"transitionend",this._handleTransitionEvent),e.listen(i,"transitioncancel",this._handleTransitionEvent)]}),this._animationEnd.subscribe(()=>{this.openedChange.emit(this.opened)})}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{a(),o(),e.removeAttribute("tabindex")},a=this._renderer.listen(e,"blur",r),o=this._renderer.listen(e,"mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":Nt(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,i){e&&i&&(this._openedVia=i);let r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,i,r){return e===this.opened?Promise.resolve(e?"open":"close"):(this._opened.set(e),this._container?._transitionsEnabled?(this._setIsAnimating(!0),setTimeout(()=>this._animationStarted.next())):setTimeout(()=>{this._animationStarted.next(),this._animationEnd.next()}),this._elementRef.nativeElement.classList.toggle("mat-drawer-opened",e),!e&&i&&this._restoreFocus(r),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe(ai(1)).subscribe(o=>a(o?"open":"close"))}))}_setIsAnimating(e){this._elementRef.nativeElement.classList.toggle("mat-drawer-animating",e)}_getWidth(){return this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&!!this._container?._isShowingBackdrop())}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let i=this._elementRef.nativeElement,r=i.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,i)),r.appendChild(i)):this._anchor&&this._anchor.parentNode.insertBefore(i,this._anchor)}_handleTransitionEvent=e=>{let i=this._elementRef.nativeElement;e.target===i&&this._ngZone.run(()=>{e.type==="transitionend"&&this._setIsAnimating(!1),this._animationEnd.next(e)})};static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-drawer"]],viewQuery:function(i,r){if(i&1&&dt(qse,5),i&2){let a;ae(a=oe())&&(r._content=a.first)}},hostAttrs:[1,"mat-drawer"],hostVars:12,hostBindings:function(i,r){i&2&&(fe("align",null)("tabIndex",r.mode!=="side"?"-1":null),Gi("visibility",!r._container&&!r.opened?"hidden":null),ce("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side"))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:E4,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(i,r){i&1&&(Ge(),w(0,"div",1,0),_e(2),D())},dependencies:[ls],encapsulation:2,changeDetection:0})}return t})(),ele=(()=>{class t{_dir=f(Vt,{optional:!0});_element=f(he);_ngZone=f(Te);_changeDetectorRef=f(Ue);_animationDisabled=gt();_transitionsEnabled=!1;_allDrawers;_drawers=new en;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=yi(e)}_autosize=f(Zse);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:yi(e)}_backdropOverride=null;backdropClick=new ne;_start=null;_end=null;_left=null;_right=null;_destroyed=new te;
9419_doCheckSubject=new te;_contentMargins={left:null,right:null};_contentMarginChanges=new te;get scrollable(){return this._userContent||this._content}_injector=f(He);constructor(){let e=f(ht),i=f(Mn);this._dir?.change.pipe(Ne(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),i.change().pipe(Ne(this._destroyed)).subscribe(()=>this.updateContentMargins()),!this._animationDisabled&&e.isBrowser&&this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._element.nativeElement.classList.add("mat-drawer-transition"),this._transitionsEnabled=!0},200)})}ngAfterContentInit(){this._allDrawers.changes.pipe(bt(this._allDrawers),Ne(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(bt(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(dr(10),Ne(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,i=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let r=this._left._getWidth();e+=r,i-=r}}if(this._right&&this._right.opened){if(this._right.mode=="side")i+=this._right._getWidth();else if(this._right.mode=="push"){let r=this._right._getWidth();i+=r,e-=r}}e=e||null,i=i||null,(e!==this._contentMargins.left||i!==this._contentMargins.right)&&(this._contentMargins={left:e,right:i},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(Ne(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe(Ne(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e.onPositionChanged.pipe(Ne(this._drawers.changes)).subscribe(()=>{Nt({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(e){e._modeChanged.pipe(Ne(Gt(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let i=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?i.add(r):i.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,ZS,5)(a,Jse,5),i&2){let o;ae(o=oe())&&(r._content=o.first),ae(o=oe())&&(r._allDrawers=o)}},viewQuery:function(i,r){if(i&1&&dt(ZS,5),i&2){let a;ae(a=oe())&&(r._userContent=a.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Re([{provide:T4,useExisting:t}])],ngContentSelectors:Xse,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(i,r){i&1&&(Ge(Yse),pe(0,Kse,1,2,"div",0),_e(1),_e(2,1),pe(3,Qse,2,0,"mat-drawer-content")),i&2&&(ge(r.hasBackdrop?0:-1),T(3),ge(r._content?-1:3))},dependencies:[ZS],styles:[`.mat-drawer-container {
9420  position: relative;
9421  z-index: 1;
9422  color: var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));
9423  background-color: var(--mat-sidenav-content-background-color, var(--mat-sys-background));
9424  box-sizing: border-box;
9425  display: block;
9426  overflow: hidden;
9427}
9428.mat-drawer-container[fullscreen] {
9429  top: 0;
9430  left: 0;
9431  right: 0;
9432  bottom: 0;
9433  position: absolute;
9434}
9435.mat-drawer-container[fullscreen].mat-drawer-container-has-open {
9436  overflow: hidden;
9437}
9438.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side {
9439  z-index: 3;
9440}
9441.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,
9442.mat-drawer-container.ng-animate-disabled .mat-drawer-content, .ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,
9443.ng-animate-disabled .mat-drawer-container .mat-drawer-content {
9444  transition: none;
9445}
9446
9447.mat-drawer-backdrop {
9448  top: 0;
9449  left: 0;
9450  right: 0;
9451  bottom: 0;
9452  position: absolute;
9453  display: block;
9454  z-index: 3;
9455  visibility: hidden;
9456}
9457.mat-drawer-backdrop.mat-drawer-shown {
9458  visibility: visible;
9459  background-color: var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent));
9460}
9461.mat-drawer-transition .mat-drawer-backdrop {
9462  transition-duration: 400ms;
9463  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
9464  transition-property: background-color, visibility;
9465}
9466@media (forced-colors: active) {
9467  .mat-drawer-backdrop {
9468    opacity: 0.5;
9469  }
9470}
9471
9472.mat-drawer-content {
9473  position: relative;
9474  z-index: 1;
9475  display: block;
9476  height: 100%;
9477  overflow: auto;
9478}
9479.mat-drawer-content.mat-drawer-content-hidden {
9480  opacity: 0;
9481}
9482.mat-drawer-transition .mat-drawer-content {
9483  transition-duration: 400ms;
9484  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
9485  transition-property: transform, margin-left, margin-right;
9486}
9487
9488.mat-drawer {
9489  position: relative;
9490  z-index: 4;
9491  color: var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));
9492  box-shadow: var(--mat-sidenav-container-elevation-shadow, none);
9493  background-color: var(--mat-sidenav-container-background-color, var(--mat-sys-surface));
9494  border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
9495  border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
9496  width: var(--mat-sidenav-container-width, 360px);
9497  display: block;
9498  position: absolute;
9499  top: 0;
9500  bottom: 0;
9501  z-index: 3;
9502  outline: 0;
9503  box-sizing: border-box;
9504  overflow-y: auto;
9505  transform: translate3d(-100%, 0, 0);
9506}
9507@media (forced-colors: active) {
9508  .mat-drawer, [dir=rtl] .mat-drawer.mat-drawer-end {
9509    border-right: solid 1px currentColor;
9510  }
9511}
9512@media (forced-colors: active) {
9513  [dir=rtl] .mat-drawer, .mat-drawer.mat-drawer-end {
9514    border-left: solid 1px currentColor;
9515    border-right: none;
9516  }
9517}
9518.mat-drawer.mat-drawer-side {
9519  z-index: 2;
9520}
9521.mat-drawer.mat-drawer-end {
9522  right: 0;
9523  transform: translate3d(100%, 0, 0);
9524  border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
9525  border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
9526  border-top-right-radius: 0;
9527  border-bottom-right-radius: 0;
9528}
9529[dir=rtl] .mat-drawer {
9530  border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
9531  border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
9532  border-top-right-radius: 0;
9533  border-bottom-right-radius: 0;
9534  transform: translate3d(100%, 0, 0);
9535}
9536[dir=rtl] .mat-drawer.mat-drawer-end {
9537  border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
9538  border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));
9539  border-top-left-radius: 0;
9540  border-bottom-left-radius: 0;
9541  left: 0;
9542  right: auto;
9543  transform: translate3d(-100%, 0, 0);
9544}
9545.mat-drawer-transition .mat-drawer {
9546  transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
9547}
9548.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) {
9549  visibility: hidden;
9550  box-shadow: none;
9551}
9552.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container {
9553  display: none;
9554}
9555.mat-drawer.mat-drawer-opened.mat-drawer-opened {
9556  transform: none;
9557}
9558
9559.mat-drawer-side {
9560  box-shadow: none;
9561  border-right-color: var(--mat-sidenav-container-divider-color, transparent);
9562  border-right-width: 1px;
9563  border-right-style: solid;
9564}
9565.mat-drawer-side.mat-drawer-end {
9566  border-left-color: var(--mat-sidenav-container-divider-color, transparent);
9567  border-left-width: 1px;
9568  border-left-style: solid;
9569  border-right: none;
9570}
9571[dir=rtl] .mat-drawer-side {
9572  border-left-color: var(--mat-sidenav-container-divider-color, transparent);
9573  border-left-width: 1px;
9574  border-left-style: solid;
9575  border-right: none;
9576}
9577[dir=rtl] .mat-drawer-side.mat-drawer-end {
9578  border-right-color: var(--mat-sidenav-container-divider-color, transparent);
9579  border-right-width: 1px;
9580  border-right-style: solid;
9581  border-left: none;
9582}
9583
9584.mat-drawer-inner-container {
9585  width: 100%;
9586  height: 100%;
9587  overflow: auto;
9588}
9589
9590.mat-sidenav-fixed {
9591  position: fixed;
9592}
9593`],encapsulation:2,changeDetection:0})}return t})();var qIe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({imports:[Zn,Ye,Zn]})}return t})();function tk(t){let n=t.cloneNode(!0),e=n.querySelectorAll("[id]"),i=t.nodeName.toLowerCase();n.removeAttribute("id");for(let r=0;r<e.length;r++)e[r].removeAttribute("id");return i==="canvas"?A4(t,n):(i==="input"||i==="select"||i==="textarea")&&M4(t,n),I4("canvas",t,n,A4),I4("input, textarea, select",t,n,M4),n}function I4(t,n,e,i){let r=n.querySelectorAll(t);if(r.length){let a=e.querySelectorAll(t);for(let o=0;o<r.length;o++)i(r[o],a[o])}}var tle=0;function M4(t,n){n.type!=="file"&&(n.value=t.value),n.type==="radio"&&n.name&&(n.name=`mat-clone-${n.name}-${tle++}`)}function A4(t,n){let e=n.getContext("2d");if(e)try{e.drawImage(t,0,0)}catch(i){}}function lk(t){let n=t.getBoundingClientRect();return{top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:n.width,height:n.height,x:n.x,y:n.y}}function ik(t,n,e){let{top:i,bottom:r,left:a,right:o}=t;return e>=i&&e<=r&&n>=a&&n<=o}function ile(t,n){let e=n.left<t.left,i=n.left+n.width>t.right,r=n.top<t.top,a=n.top+n.height>t.bottom;return e||i||r||a}function Uf(t,n,e){t.top+=n,t.bottom=t.top+t.height,t.left+=e,t.right=t.left+t.width}function R4(t,n,e,i){let{top:r,right:a,bottom:o,left:s,width:l,height:c}=t,d=l*n,u=c*n;return i>r-u&&i<o+u&&e>s-d&&e<a+d}var Iv=class{_document;positions=new Map;constructor(n){this._document=n}clear(){this.positions.clear()}cache(n){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),n.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:lk(e)})})}handleScroll(n){let e=Ki(n),i=this.positions.get(e);if(!i)return null;let r=i.scrollPosition,a,o;if(e===this._document){let c=this.getViewportScrollPosition();a=c.top,o=c.left}else a=e.scrollTop,o=e.scrollLeft;let s=r.top-a,l=r.left-o;return this.positions.forEach((c,d)=>{c.clientRect&&e!==d&&e.contains(d)&&Uf(c.clientRect,s,l)}),r.top=a,r.left=o,{top:s,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function j4(t,n){let e=t.rootNodes;if(e.length===1&&e[0].nodeType===n.ELEMENT_NODE)return e[0];let i=n.createElement("div");return e.forEach(r=>i.appendChild(r)),i}function ck(t,n,e){for(let i in n)if(n.hasOwnProperty(i)){let r=n[i];r?t.setProperty(i,r,e?.has(i)?"important":""):t.removeProperty(i)}return t}function th(t,n){let e=n?"":"none";ck(t.style,{"touch-action":n?"":"none","-webkit-user-drag":n?"":"none","-webkit-tap-highlight-color":n?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function P4(t,n,e){ck(t.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},e)}function Mv(t,n){return n&&n!="none"?t+" "+n:t}
vendor: 10,519 bytes, lines 9593-9606
9593function F4(t,n){t.style.width=`${n.width}px`,t.style.height=`${n.height}px`,t.style.transform=zf(n.left,n.top)}function zf(t,n){return`translate3d(${Math.round(t)}px, ${Math.round(n)}px, 0)`}var Bf={capture:!0},JS={passive:!1,capture:!0},nle=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(i,r){},styles:[`@layer cdk-resets {
9594  .cdk-drag-preview {
9595    background: none;
9596    border: none;
9597    padding: 0;
9598    color: inherit;
9599    inset: auto;
9600  }
9601}
9602.cdk-drag-placeholder *,
9603.cdk-drag-preview * {
9604  pointer-events: none !important;
9605}
9606`],encapsulation:2,changeDetection:0})}return t})(),Fv=(()=>{class t{_ngZone=f(Te);_document=f(Ve);_styleLoader=f(wt);_renderer=f(Tn).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new te;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=ke([]);_globalListeners;_draggingPredicate=e=>e.isDragging();_domNodesToDirectives=null;pointerMove=new te;pointerUp=new te;constructor(){}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._cleanupDocumentTouchmove?.(),this._cleanupDocumentTouchmove=this._renderer.listen(this._document,"touchmove",this._persistentTouchmoveListener,JS)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),this._dragInstances.size===0&&this._cleanupDocumentTouchmove?.()}startDragging(e,i){if(!(this._activeDragInstances().indexOf(e)>-1)&&(this._styleLoader.load(nle),this._activeDragInstances.update(r=>[...r,e]),this._activeDragInstances().length===1)){let r=i.type.startsWith("touch"),a=s=>this.pointerUp.next(s),o=[["scroll",s=>this._scroll.next(s),Bf],["selectstart",this._preventDefaultWhileDragging,JS]];r?o.push(["touchend",a,Bf],["touchcancel",a,Bf]):o.push(["mouseup",a,Bf]),r||o.push(["mousemove",s=>this.pointerMove.next(s),JS]),this._ngZone.runOutsideAngular(()=>{this._globalListeners=o.map(([s,l,c])=>this._renderer.listen(this._document,s,l,c))})}}stopDragging(e){this._activeDragInstances.update(i=>{let r=i.indexOf(e);return r>-1?(i.splice(r,1),[...i]):i}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(e){return this._activeDragInstances().indexOf(e)>-1}scrolled(e){let i=[this._scroll];return e&&e!==this._document&&i.push(new mn(r=>this._ngZone.runOutsideAngular(()=>{let a=this._renderer.listen(e,"scroll",o=>{this._activeDragInstances().length&&r.next(o)},Bf);return()=>{a()}}))),Gt(...i)}registerDirectiveNode(e,i){this._domNodesToDirectives??=new WeakMap,this._domNodesToDirectives.set(e,i)}removeDirectiveNode(e){this._domNodesToDirectives?.delete(e)}getDragDirectiveForNode(e){return this._domNodesToDirectives?.get(e)||null}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._domNodesToDirectives=null,this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_preventDefaultWhileDragging=e=>{this._activeDragInstances().length>0&&e.preventDefault()};_persistentTouchmoveListener=e=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&e.preventDefault(),this.pointerMove.next(e))};_clearGlobalListeners(){this._globalListeners?.forEach(e=>e()),this._globalListeners=void 0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function O4(t){let n=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*n}function rle(t){let n=getComputedStyle(t),e=ek(n,"transition-property"),i=e.find(s=>s==="transform"||s==="all");if(!i)return 0;let r=e.indexOf(i),a=ek(n,"transition-duration"),o=ek(n,"transition-delay");return O4(a[r])+O4(o[r])}function ek(t,n){return t.getPropertyValue(n).split(",").map(i=>i.trim())}var ale=new Set(["position"]),nk=class{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView=null;_preview;get element(){return this._preview}constructor(n,e,i,r,a,o,s,l,c,d){this._document=n,this._rootElement=e,this._direction=i,this._initialDomRect=r,this._previewTemplate=a,this._previewClass=o,this._pickupPositionOnPage=s,this._initialTransform=l,this._zIndex=c,this._renderer=d}attach(n){this._preview=this._createPreview(),n.appendChild(this._preview),N4(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(n){this._preview.style.transform=n}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(n){this._preview.classList.add(n)}getTransitionDuration(){return rle(this._preview)}addEventListener(n,e){return this._renderer.listen(this._preview,n,e)}_createPreview(){let n=this._previewTemplate,e=this._previewClass,i=n?n.template:null,r;if(i&&n){let a=n.matchSize?this._initialDomRect:null,o=n.viewContainer.createEmbeddedView(i,n.context);o.detectChanges(),r=j4(o,this._document),this._previewEmbeddedView=o,n.matchSize?F4(r,a):r.style.transform=zf(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=tk(this._rootElement),F4(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return ck(r.style,{"pointer-events":"none",margin:N4(r)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},ale),th(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("popover","manual"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(a=>r.classList.add(a)):r.classList.add(e)),r}};function N4(t){return"showPopover"in t}var ole={passive:!0},L4={passive:!1},sle={passive:!1,capture:!0},lle=800,B4="cdk-drag-placeholder",V4=new Set(["position"]);function H4(t,n,e={dragStartThreshold:5,pointerDirectionChangeThreshold:5}){let i=t.get(ft,null,{optional:!0})||t.get(Tn).createRenderer(null,null);return new rk(n,e,t.get(Ve),t.get(Te),t.get(Mn),t.get(Fv),i)}var rk=class{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview=null;_previewContainer;_placeholderRef=null;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_marker;_anchor=null;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=ke(!1);_hasMoved=!1;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new te;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement=null;_rootElementTapHighlight;_pointerMoveSubscription=tt.EMPTY;_pointerUpSubscription=tt.EMPTY;_scrollSubscription=tt.EMPTY;_resizeSubscription=tt.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef=null;_cachedShadowRoot;lockAxis=null;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(n){n!==this._disabled&&(this._disabled=n,this._toggleNativeDragInteractions(),this._handles.forEach(e=>th(e,n)))}_disabled=!1;beforeStarted=new te;started=new te;released=new te;ended=new te;entered=new te;exited=new te;dropped=new te;moved=this._moveEvents;data;constrainPosition;constructor(n,e,i,r,a,o,s){this._config=e,this._document=i,this._ngZone=r,this._viewportRuler=a,this._dragDropRegistry=o,this._renderer=s,this.withRootElement(n).withParent(e.parentDragRef||null),this._parentPositions=new Iv(i),o.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(n){this._handles=n.map(i=>Bi(i)),this._handles.forEach(i=>th(i,this.disabled)),this._toggleNativeDragInteractions();let e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(n){return this._previewTemplate=n,this}withPlaceholderTemplate(n){return this._placeholderTemplate=n,this}withRootElement(n){let e=Bi(n);if(e!==this._rootElement){this._removeRootElementListeners();let i=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(e,"mousedown",this._pointerDown,L4),i.listen(e,"touchstart",this._pointerDown,ole),i.listen(e,"dragstart",this._nativeDragStart,L4)]),this._initialTransform=void 0,this._rootElement=e}return typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(n){return this._boundaryElement=n?Bi(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(n){return this._parentDragRef=n,this}dispose(){this._removeRootElementListeners(),this.isDragging()&&this._rootElement?.remove(),this._marker?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._marker=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}resetToBoundary(){if(this._boundaryElement&&this._rootElement&&ile(this._boundaryElement.getBoundingClientRect(),this._rootElement.getBoundingClientRect())){let n=this._boundaryElement.getBoundingClientRect(),e=this._rootElement.getBoundingClientRect(),i=0,r=0;e.left<n.left?i=n.left-e.left:e.right>
vendor: 15,091 bytes, line 9606
9606n.right&&(i=n.right-e.right),e.top<n.top?r=n.top-e.top:e.bottom>n.bottom&&(r=n.bottom-e.bottom);let a=this._activeTransform.x,o=this._activeTransform.y,s=a+i,l=o+r;this._rootElement.style.transform=zf(s,l),this._activeTransform={x:s,y:l},this._passiveTransform={x:s,y:l}}}disableHandle(n){!this._disabledHandles.has(n)&&this._handles.indexOf(n)>-1&&(this._disabledHandles.add(n),th(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),th(n,this.disabled))}withDirection(n){return this._direction=n,this}_withDropContainer(n){this._dropContainer=n}getFreeDragPosition(){let n=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:n.x,y:n.y}}setFreeDragPosition(n){return this._activeTransform={x:0,y:0},this._passiveTransform.x=n.x,this._passiveTransform.y=n.y,this._dropContainer||this._applyRootElementTransform(n.x,n.y),this}withPreviewContainer(n){return this._previewContainer=n,this}_sortFromLastPointerPosition(){let n=this._lastKnownPointerPosition;n&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(n),n)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._anchor?.remove(),this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._anchor=this._placeholderRef=null}_pointerDown=n=>{if(this.beforeStarted.next(),this._handles.length){let e=this._getTargetHandle(n);e&&!this._disabledHandles.has(e)&&!this.disabled&&this._initializeDragSequence(e,n)}else this.disabled||this._initializeDragSequence(this._rootElement,n)};_pointerMove=n=>{let e=this._getPointerPositionOnPage(n);if(!this._hasStartedDragging()){let r=Math.abs(e.x-this._pickupPositionOnPage.x),a=Math.abs(e.y-this._pickupPositionOnPage.y);if(r+a>=this._config.dragStartThreshold){let s=Date.now()>=this._dragStartTime+this._getDragStartDelay(n),l=this._dropContainer;if(!s){this._endDragSequence(n);return}(!l||!l.isDragging()&&!l.isReceiving())&&(n.cancelable&&n.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(n)))}return}n.cancelable&&n.preventDefault();let i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,e);else{let r=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,a=this._activeTransform;a.x=i.x-r.x+this._passiveTransform.x,a.y=i.y-r.y+this._passiveTransform.y,this._applyRootElementTransform(a.x,a.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:n,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})};_pointerUp=n=>{this._endDragSequence(n)};_endDragSequence(n){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:n}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(n),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let e=this._getPointerPositionOnPage(n);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:n})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(n){Vf(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let e=this._getShadowRoot(),i=this._dropContainer;if(e&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=this._renderer.listen(e,"selectstart",cle,sle)}),i){let r=this._rootElement,a=r.parentNode,o=this._placeholder=this._createPlaceholderElement(),s=this._marker=this._marker||this._document.createComment("");a.insertBefore(s,r),this._initialTransform=r.style.transform||"",this._preview=new nk(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(a,e)),P4(r,!1,V4),this._document.body.appendChild(a.replaceChild(o,r)),this.started.next({source:this,event:n}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this.started.next({source:this,event:n}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}_initializeDragSequence(n,e){this._parentDragRef&&e.stopPropagation();let i=this.isDragging(),r=Vf(e),a=!r&&e.button!==0,o=this._rootElement,s=Ki(e),l=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+lle>Date.now(),c=r?ns(e):is(e);if(s&&s.draggable&&e.type==="mousedown"&&e.preventDefault(),i||a||l||c)return;if(this._handles.length){let h=o.style;this._rootElementTapHighlight=h.webkitTapHighlightColor||"",h.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(h=>this._updateOnScroll(h)),this._boundaryElement&&(this._boundaryRect=lk(this._boundaryElement));let d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,n,e);let u=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(n){P4(this._rootElement,!0,V4),this._marker.parentNode.replaceChild(this._rootElement,this._marker),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let e=this._dropContainer,i=e.getItemIndex(this),r=this._getPointerPositionOnPage(n),a=this._getDragDistance(r),o=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:a,dropPoint:r,event:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:a,dropPoint:r,event:n}),e.drop(this,i,this._initialIndex,this._initialContainer,o,a,r,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:n,y:e},{x:i,y:r}){let a=this._initialContainer._getSiblingContainerFromPosition(this,n,e);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,e)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run(()=>{let o=this._dropContainer.getItemIndex(this),s=this._dropContainer.getItemAtIndex(o+1)?.getVisibleElement()||null;this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._conditionallyInsertAnchor(a,this._dropContainer,s),this._dropContainer=a,this._dropContainer.enter(this,n,e,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,r),this._dropContainer._sortItem(this,n,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(n,e):this._applyPreviewTransform(n-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let n=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(n.left,n.top);let e=this._preview.getTransitionDuration();return e===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{let r=s=>{(!s||this._preview&&Ki(s)===this._preview.element&&s.propertyName==="transform")&&(o(),i(),clearTimeout(a))},a=setTimeout(r,e*1.5),o=this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){let n=this._placeholderTemplate,e=n?n.template:null,i;return e?(this._placeholderRef=n.viewContainer.createEmbeddedView(e,n.context),this._placeholderRef.detectChanges(),i=j4(this._placeholderRef,this._document)):i=tk(this._rootElement),i.style.pointerEvents="none",i.classList.add(B4),i}_getPointerPositionInElement(n,e,i){let r=e===this._rootElement?null:e,a=r?r.getBoundingClientRect():n,o=Vf(i)?i.targetTouches[0]:i,s=this._getViewportScrollPosition(),l=o.pageX-a.left-s.left,c=o.pageY-a.top-s.top;return{x:a.left-n.left+l,y:a.top-n.top+c}}_getPointerPositionOnPage(n){let e=this._getViewportScrollPosition(),i=Vf(n)?n.touches[0]||n.changedTouches[0]||{pageX:0,pageY:0}:n,r=i.pageX-e.left,a=i.pageY-e.top;if(this._ownerSVGElement){let o=this._ownerSVGElement.getScreenCTM();if(o){let s=this._ownerSVGElement.createSVGPoint();return s.x=r,s.y=a,s.matrixTransform(o.inverse())}}return{x:r,y:a}}_getConstrainedPointerPosition(n){let e=this._dropContainer?this._dropContainer.lockAxis:null,{x:i,y:r}=this.constrainPosition?this.constrainPosition(n,this,this._initialDomRect,this._pickupPositionInElement):n;if(this.lockAxis==="x"||e==="x"?r=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||e==="y")&&(i=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:a,y:o}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,s=this._boundaryRect,{width:l,height:c}=this._getPreviewRect(),d=s.top+o,u=s.bottom-(c-o),h=s.left+a,m=s.right-(l-a);i=U4(i,h,m),r=U4(r,d,u)}return{x:i,y:r}}_updatePointerDirectionDelta(n){let{x:e,y:i}=n,r=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-a.x),s=Math.abs(i-a.y);return o>this._config.pointerDirectionChangeThreshold&&(r.x=e>a.x?1:-1,a.x=e),s>this._config.pointerDirectionChangeThreshold&&(r.y=i>a.y?1:-1,a.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,th(this._rootElement,n))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(n=>n()),this._rootElementCleanups=void 0}_applyRootElementTransform(n,e){let i=1/this.scale,r=zf(n*i,e*i),a=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=a.transform&&a.transform!="none"?a.transform:""),a.transform=Mv(r,this._initialTransform)}_applyPreviewTransform(n,e){let i=this._previewTemplate?.template?void 0:this._initialTransform,r=zf(n,e);this._preview.setTransform(Mv(r,i))}_getDragDistance(n){let e=this._pickupPositionOnPage;return e?{x:n.x-e.x,y:n.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:n,y:e}=this._passiveTransform;if(n===0&&e===0||this.isDragging()||!this._boundaryElement)return;let i=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(r.width===0&&r.height===0||i.width===0&&i.height===0)return;let a=r.left-i.left,o=i.right-r.right,s=r.top-i.top,l=i.bottom-r.bottom;r.width>i.width?(a>0&&(n+=a),o>0&&(n-=o)):n=0,r.height>i.height?(s>0&&(e+=s),l>0&&(e-=l)):e=0,(n!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:n})}_getDragStartDelay(n){let e=this.dragStartDelay;return typeof e=="number"?e:Vf(n)?e.touch:e?e.mouse:0}_updateOnScroll(n){let e=this._parentPositions.handleScroll(n);if(e){let i=Ki(n);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&Uf(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=ic(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(n,e){let i=this._previewContainer||"global";if(i==="parent")return n;if(i==="global"){let r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return Bi(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=n=>{if(this._handles.length){let e=this._getTargetHandle(n);e&&!this._disabledHandles.has(e)&&!this.disabled&&n.preventDefault()}else this.disabled||n.preventDefault()};_getTargetHandle(n){return this._handles.find(e=>n.target&&(n.target===e||e.contains(n.target)))}_conditionallyInsertAnchor(n,e,i){if(n===this._initialContainer)this._anchor?.remove(),this._anchor=null;else if(e===this._initialContainer&&e.hasAnchor){let r=this._anchor??=tk(this._placeholder);r.classList.remove(B4),r.classList.add("cdk-drag-anchor"),r.style.transform="",i?i.before(r):Bi(e.element).appendChild(r)}}};function U4(t,n,e){return Math.max(n,Math.min(e,t))}function Vf(t){return t.type[0]==="t"}function cle(t){t.preventDefault()}function $4(t,n,e){let i=Av(n,t.length-1),r=Av(e,t.length-1);if(i===r)return;let a=t[i],o=r<i?-1:1;for(let s=i;s!==r;s+=o)t[s]=t[s+o];t[r]=a}function fMe(t,n,e,i){let r=Av(e,t.length-1),a=Av(i,n.length);t.length&&n.splice(a,0,t.splice(r,1)[0])}function Av(t,n){return Math.max(0,Math.min(n,t))}var Rv=class{_dragDropRegistry;_element;_sortPredicate;_itemPositions=[];_activeDraggables;orientation="vertical";direction="ltr";constructor(n){this._dragDropRegistry=n}_previousSwap={drag:null,delta:0,overlaps:!1};start(n){this.withItems(n)}sort(n,e,i,r){let a=this._itemPositions,o=this._getItemIndexFromPointerPosition(n,e,i,r);if(o===-1&&a.length>0)return null;let s=this.orientation==="horizontal",l=a.findIndex(p=>p.drag===n),c=a[o],d=a[l].clientRect,u=c.clientRect,h=l>o?1:-1,m=this._getItemOffsetPx(d,u,h),g=this._getSiblingOffsetPx(l,a,h),_=a.slice();return $4(a,l,o),a.forEach((p,v)=>
vendor: 20,154 bytes, line 9606
9606{if(_[v]===p)return;let b=p.drag===n,y=b?m:g,E=b?n.getPlaceholderElement():p.drag.getRootElement();p.offset+=y;let F=Math.round(p.offset*(1/p.drag.scale));s?(E.style.transform=Mv(`translate3d(${F}px, 0, 0)`,p.initialTransform),Uf(p.clientRect,0,y)):(E.style.transform=Mv(`translate3d(0, ${F}px, 0)`,p.initialTransform),Uf(p.clientRect,y,0))}),this._previousSwap.overlaps=ik(u,e,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=s?r.x:r.y,{previousIndex:l,currentIndex:o}}enter(n,e,i,r){let a=this._activeDraggables,o=a.indexOf(n),s=n.getPlaceholderElement();o>-1&&a.splice(o,1);let l=r==null||r<0?this._getItemIndexFromPointerPosition(n,e,i):r,c=a[l];if(c===n&&(c=a[l+1]),!c&&(l==null||l===-1||l<a.length-1)&&this._shouldEnterAsFirstChild(e,i)&&(c=a[0]),c&&!this._dragDropRegistry.isDragging(c)){let d=c.getRootElement();d.parentElement.insertBefore(s,d),a.splice(l,0,n)}else this._element.appendChild(s),a.push(n);s.style.transform="",this._cacheItemPositions()}withItems(n){this._activeDraggables=n.slice(),this._cacheItemPositions()}withSortPredicate(n){this._sortPredicate=n}reset(){this._activeDraggables?.forEach(n=>{let e=n.getRootElement();if(e){let i=this._itemPositions.find(r=>r.drag===n)?.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(n){return this._getVisualItemPositions().findIndex(e=>e.drag===n)}getItemAtIndex(n){return this._getVisualItemPositions()[n]?.drag||null}updateOnScroll(n,e){this._itemPositions.forEach(({clientRect:i})=>{Uf(i,n,e)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}withElementContainer(n){this._element=n}_cacheItemPositions(){let n=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(e=>{let i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:lk(i)}}).sort((e,i)=>n?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_getVisualItemPositions(){return this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions}_getItemOffsetPx(n,e,i){let r=this.orientation==="horizontal",a=r?e.left-n.left:e.top-n.top;return i===-1&&(a+=r?e.width-n.width:e.height-n.height),a}_getSiblingOffsetPx(n,e,i){let r=this.orientation==="horizontal",a=e[n].clientRect,o=e[n+i*-1],s=a[r?"width":"height"]*i;if(o){let l=r?"left":"top",c=r?"right":"bottom";i===-1?s-=o.clientRect[l]-a[c]:s+=a[l]-o.clientRect[c]}return s}_shouldEnterAsFirstChild(n,e){if(!this._activeDraggables.length)return!1;let i=this._itemPositions,r=this.orientation==="horizontal";if(i[0].drag!==this._activeDraggables[0]){let o=i[i.length-1].clientRect;return r?n>=o.right:e>=o.bottom}else{let o=i[0].clientRect;return r?n<=o.left:e<=o.top}}_getItemIndexFromPointerPosition(n,e,i,r){let a=this.orientation==="horizontal",o=this._itemPositions.findIndex(({drag:s,clientRect:l})=>{if(s===n)return!1;if(r){let c=a?r.x:r.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&c===this._previousSwap.delta)return!1}return a?e>=Math.floor(l.left)&&e<Math.floor(l.right):i>=Math.floor(l.top)&&i<Math.floor(l.bottom)});return o===-1||!this._sortPredicate(o,n)?-1:o}},ak=class{_document;_dragDropRegistry;_element;_sortPredicate;_rootNode;_activeItems;_previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};_relatedNodes=[];constructor(n,e){this._document=n,this._dragDropRegistry=e}start(n){let e=this._element.childNodes;this._relatedNodes=[];for(let i=0;i<e.length;i++){let r=e[i];this._relatedNodes.push([r,r.nextSibling])}this.withItems(n)}sort(n,e,i,r){let a=this._getItemIndexFromPointerPosition(n,e,i),o=this._previousSwap;if(a===-1||this._activeItems[a]===n)return null;let s=this._activeItems[a];if(o.drag===s&&o.overlaps&&o.deltaX===r.x&&o.deltaY===r.y)return null;let l=this.getItemIndex(n),c=n.getPlaceholderElement(),d=s.getRootElement();a>l?d.after(c):d.before(c),$4(this._activeItems,l,a);let u=this._getRootNode().elementFromPoint(e,i);return o.deltaX=r.x,o.deltaY=r.y,o.drag=s,o.overlaps=d===u||d.contains(u),{previousIndex:l,currentIndex:a}}enter(n,e,i,r){let a=this._activeItems.indexOf(n);a>-1&&this._activeItems.splice(a,1);let o=r==null||r<0?this._getItemIndexFromPointerPosition(n,e,i):r;o===-1&&(o=this._getClosestItemIndexToPointer(n,e,i));let s=this._activeItems[o];s&&!this._dragDropRegistry.isDragging(s)?(this._activeItems.splice(o,0,n),s.getRootElement().before(n.getPlaceholderElement())):(this._activeItems.push(n),this._element.appendChild(n.getPlaceholderElement()))}withItems(n){this._activeItems=n.slice()}withSortPredicate(n){this._sortPredicate=n}reset(){let n=this._element,e=this._previousSwap;for(let i=this._relatedNodes.length-1;i>-1;i--){let[r,a]=this._relatedNodes[i];r.parentNode===n&&r.nextSibling!==a&&(a===null?n.appendChild(r):a.parentNode===n&&n.insertBefore(r,a))}this._relatedNodes=[],this._activeItems=[],e.drag=null,e.deltaX=e.deltaY=0,e.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(n){return this._activeItems.indexOf(n)}getItemAtIndex(n){return this._activeItems[n]||null}updateOnScroll(){this._activeItems.forEach(n=>{this._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()})}withElementContainer(n){n!==this._element&&(this._element=n,this._rootNode=void 0)}_getItemIndexFromPointerPosition(n,e,i){let r=this._getRootNode().elementFromPoint(Math.floor(e),Math.floor(i)),a=r?this._activeItems.findIndex(o=>{let s=o.getRootElement();return r===s||s.contains(r)}):-1;return a===-1||!this._sortPredicate(a,n)?-1:a}_getRootNode(){return this._rootNode||(this._rootNode=ic(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(n,e,i){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let r=1/0,a=-1;for(let o=0;o<this._activeItems.length;o++){let s=this._activeItems[o];if(s!==n){let{x:l,y:c}=s.getRootElement().getBoundingClientRect(),d=Math.hypot(e-l,i-c);d<r&&(r=d,a=o)}}return a}},z4=.05,W4=.05,Va=(function(t){return t[t.NONE=0]="NONE",t[t.UP=1]="UP",t[t.DOWN=2]="DOWN",t})(Va||{}),Dr=(function(t){return t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t})(Dr||{});function G4(t,n){return new ok(n,t.get(Fv),t.get(Ve),t.get(Te),t.get(Mn))}var ok=class{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=!1;sortingDisabled=!1;lockAxis=null;autoScrollDisabled=!1;autoScrollStep=2;hasAnchor=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;beforeStarted=new te;entered=new te;exited=new te;dropped=new te;sorted=new te;receivingStarted=new te;receivingStopped=new te;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=tt.EMPTY;_verticalScrollDirection=Va.NONE;_horizontalScrollDirection=Dr.NONE;_scrollNode;_stopScrollTimers=new te;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(n,e,i,r,a){this._dragDropRegistry=e,this._ngZone=r,this._viewportRuler=a;let o=this.element=Bi(n);this._document=i,this.withOrientation("vertical").withElementContainer(o),e.registerDropContainer(this),this._parentPositions=new Iv(i)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(n,e,i,r){this._draggingStarted(),r==null&&this.sortingDisabled&&(r=this._draggables.indexOf(n)),this._sortStrategy.enter(n,e,i,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:n,container:this,currentIndex:this.getItemIndex(n)})}exit(n){this._reset(),this.exited.next({item:n,container:this})}drop(n,e,i,r,a,o,s,l={}){this._reset(),this.dropped.next({item:n,currentIndex:e,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:a,distance:o,dropPoint:s,event:l})}withItems(n){let e=this._draggables;return this._draggables=n,n.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>n.indexOf(r)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(n){return this._direction=n,this._sortStrategy instanceof Rv&&(this._sortStrategy.direction=n),this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){if(n==="mixed")this._sortStrategy=new ak(this._document,this._dragDropRegistry);else{let e=new Rv(this._dragDropRegistry);e.direction=this._direction,e.orientation=n,this._sortStrategy=e}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((e,i)=>this.sortPredicate(e,i,this)),this}withScrollableParents(n){let e=this._container;return this._scrollableElements=n.indexOf(e)===-1?[e,...n]:n.slice(),this}withElementContainer(n){if(n===this._container)return this;let e=Bi(this.element),i=this._scrollableElements.indexOf(this._container),r=this._scrollableElements.indexOf(n);return i>-1&&this._scrollableElements.splice(i,1),r>-1&&this._scrollableElements.splice(r,1),this._sortStrategy&&this._sortStrategy.withElementContainer(n),this._cachedShadowRoot=null,this._scrollableElements.unshift(n),this._container=n,this}getScrollableParents(){return this._scrollableElements}getItemIndex(n){return this._isDragging?this._sortStrategy.getItemIndex(n):this._draggables.indexOf(n)}getItemAtIndex(n){return this._isDragging?this._sortStrategy.getItemAtIndex(n):this._draggables[n]||null}isReceiving(){return this._activeSiblings.size>0}_sortItem(n,e,i,r){if(this.sortingDisabled||!this._domRect||!R4(this._domRect,z4,e,i))return;let a=this._sortStrategy.sort(n,e,i,r);a&&this.sorted.next({previousIndex:a.previousIndex,currentIndex:a.currentIndex,container:this,item:n})}_startScrollingIfNecessary(n,e){if(this.autoScrollDisabled)return;let i,r=Va.NONE,a=Dr.NONE;if(this._parentPositions.positions.forEach((o,s)=>{s===this._document||!o.clientRect||i||R4(o.clientRect,z4,n,e)&&([r,a]=dle(s,o.clientRect,this._direction,n,e),(r||a)&&(i=s))}),!r&&!a){let{width:o,height:s}=this._viewportRuler.getViewportSize(),l={width:o,height:s,top:0,right:o,bottom:s,left:0};r=q4(l,e),a=Y4(l,n),i=window}i&&(r!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=a,this._scrollNode=i,(r||a)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let n=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=n.msScrollSnapType||n.scrollSnapType||"",n.scrollSnapType=n.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let n=this._container.style;n.scrollSnapType=n.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_startScrollInterval=()=>{this._stopScrolling(),xk(0,oh).pipe(Ne(this._stopScrollTimers)).subscribe(()=>{let n=this._scrollNode,e=this.autoScrollStep;this._verticalScrollDirection===Va.UP?n.scrollBy(0,-e):this._verticalScrollDirection===Va.DOWN&&n.scrollBy(0,e),this._horizontalScrollDirection===Dr.LEFT?n.scrollBy(-e,0):this._horizontalScrollDirection===Dr.RIGHT&&n.scrollBy(e,0)})};_isOverContainer(n,e){return this._domRect!=null&&ik(this._domRect,n,e)}_getSiblingContainerFromPosition(n,e,i){return this._siblings.find(r=>r._canReceive(n,e,i))}_canReceive(n,e,i){if(!this._domRect||!ik(this._domRect,e,i)||!this.enterPredicate(n,this))return!1;let r=this._getShadowRoot().elementFromPoint(e,i);return r?r===this._container||this._container.contains(r):!1}_startReceiving(n,e){let i=this._activeSiblings;!i.has(n)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(n),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:n,receiver:this,items:e}))}_stopReceiving(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:n,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(n=>{if(this.isDragging()){let e=this._parentPositions.handleScroll(n);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let n=ic(this._container);this._cachedShadowRoot=n||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let n=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,n))}};function q4(t,n){let{top:e,bottom:i,height:r}=t,a=r*W4;return n>=e-a&&n<=e+a?Va.UP:n>=i-a&&n<=i+a?Va.DOWN:Va.NONE}function Y4(t,n){let{left:e,right:i,width:r}=t,a=r*W4;return n>=e-a&&n<=e+a?Dr.LEFT:n>=i-a&&n<=i+a?Dr.RIGHT:Dr.NONE}function dle(t,n,e,i,r){let a=q4(n,r),o=Y4(n,i),s=Va.NONE,l=Dr.NONE;if(a){let c=t.scrollTop;a===Va.UP?c>0&&(s=Va.UP):t.scrollHeight-c>t.clientHeight&&(s=Va.DOWN)}if(o){let c=t.scrollLeft;e==="rtl"?o===Dr.RIGHT?c<0&&(l=Dr.RIGHT):t.scrollWidth+c>t.clientWidth&&(l=Dr.LEFT):o===Dr.LEFT?c>0&&(l=Dr.LEFT):t.scrollWidth-c>t.clientWidth&&(l=Dr.RIGHT)}return[s,l]}var ule=(()=>{class t{_injector=f(He);constructor(){}createDrag(e,i){return H4(this._injector,e,i)}createDropList(e){return G4(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Pv=new W("CDK_DRAG_PARENT");var X4=new W("CdkDragHandle"),pMe=(()=>{class t{element=f(he);_parentDrag=f(Pv,{optional:!0,skipSelf:!0});_dragDropRegistry=f(Fv);_stateChanges=new te;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._stateChanges.next(this)}_disabled=!1;constructor(){this._parentDrag?._addHandle(this)}ngAfterViewInit(){if(!this._parentDrag){let e=this.element.nativeElement.parentElement;for(;e;){let i=this._dragDropRegistry.getDragDirectiveForNode(e);if(i){this._parentDrag=i,i._addHandle(this);break}e=e.parentElement}}}ngOnDestroy(){this._parentDrag?._removeHandle(this),this._stateChanges.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",ie]},features:[Re([{provide:X4,useExisting:t}])]})}return t})(),K4=new W("CDK_DRAG_CONFIG"),Q4=new W("CdkDropList"),gMe=(()=>{class t{element=f(he);dropContainer=f(Q4,{optional:!0,skipSelf:!0});_ngZone=f(Te);_viewContainerRef=f(Zt);_dir=f(Vt,{optional:!0});_changeDetectorRef=f(Ue);_selfHandle=f(X4,{optional:!0,self:!0});_parentDrag=f(Pv,{optional:!0,skipSelf:!0});_dragDropRegistry=f(Fv);_destroyed=new te;_handles=new Hi([]);_previewTemplate=null;_placeholderTemplate=null;_dragRef;data;lockAxis=null;rootElementSelector;boundaryElement;dragStartDelay;freeDragPosition;get disabled(){return this._disabled||!!(this.dropContainer&&this.dropContainer.disabled)}set disabled(e){this._disabled=e,this._dragRef.disabled=this._disabled}_disabled=!1;constrainPosition;previewClass;previewContainer;scale=1;started=new ne;released=new ne;ended=new ne;entered=new ne;exited=new ne;dropped=new ne;moved=new mn(e=>{let i=this._dragRef.moved.pipe(ct(r=>({source:this,pointerPosition:r.pointerPosition,event:r.event,delta:r.delta,distance:r.distance}))).subscribe(e);return()=>{i.unsubscribe()}});_injector=f(He);constructor(){let e=this.dropContainer,i=f(K4,{optional:!0});this._dragRef=H4(this._injector,this.element,{dragStartThreshold:i&&i.dragStartThreshold!=null?i.dragStartThreshold:5,pointerDirectionChangeThreshold:i&&i.pointerDirectionChangeThreshold!=null?i.pointerDirectionChangeThreshold:5,zIndex:i?.zIndex}),this._dragRef.data=this,this._dragDropRegistry.registerDirectiveNode(this.element.nativeElement,this),i&&this._assignDefaults(i),e&&(e.addItem(this),e._dropListRef.beforeStarted.pipe(Ne(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}resetToBoundary(){this._dragRef.resetToBoundary()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){Nt(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(e){let i=e.rootElementSelector,r=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,r&&!r.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._dragDropRegistry.removeDirectiveNode(this.element.nativeElement),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(e){let i=this._handles.getValue();i.push(e),this._handles.next(i)}_removeHandle(e){let i=this._handles.getValue(),r=i.indexOf(e);r>-1&&(i.splice(r,1),this._handles.next(i))}_setPreviewTemplate(e){this._previewTemplate=e}_resetPreviewTemplate(e){e===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(e){this._placeholderTemplate=e}_resetPlaceholderTemplate(e){e===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){let e=this.element.nativeElement,i=e;this.rootElementSelector&&(i=e.closest!==void 0?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||e)}_getBoundaryElement(){let e=this.boundaryElement;return e?typeof e=="string"?this.element.nativeElement.closest(e):Bi(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){let i=this._dir,r=this.dragStartDelay,a=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,o=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.scale=this.scale,e.dragStartDelay=typeof r=="object"&&r?r:bn(r),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(a).withPreviewTemplate(o).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value)}}),e.beforeStarted.pipe(ai(1)).subscribe(()=>{if(this._parentDrag){e.withParent(this._parentDrag._dragRef);return}let i=this.element.nativeElement.parentElement;for(;i;){let r=this._dragDropRegistry.getDragDirectiveForNode(i);if(r){e.withParent(r._dragRef);break}i=i.parentElement}})}_handleEvents(e){e.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(i=>
9606{this.released.emit({source:this,event:i.event})}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(e){let{lockAxis:i,dragStartDelay:r,constrainPosition:a,previewClass:o,boundaryElement:s,draggingDisabled:l,rootElementSelector:c,previewContainer:d}=e;this.disabled=l??!1,this.dragStartDelay=r||0,this.lockAxis=i||null,a&&(this.constrainPosition=a),o&&(this.previewClass=o),s&&(this.boundaryElement=s),c&&(this.rootElementSelector=c),d&&(this.previewContainer=d)}_setupHandlesListener(){this._handles.pipe($i(e=>{let i=e.map(r=>r.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),gi(e=>Gt(...e.map(i=>i._stateChanges.pipe(bt(i))))),Ne(this._destroyed)).subscribe(e=>{let i=this._dragRef,r=e.element.nativeElement;e.disabled?i.disableHandle(r):i.enableHandle(r)})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(i,r){i&2&&ce("cdk-drag-disabled",r.disabled)("cdk-drag-dragging",r._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",ie],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",Yt]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[Re([{provide:Pv,useExisting:t}]),lt]})}return t})(),sk=new W("CdkDropListGroup"),_Me=(()=>{class t{_items=new Set;disabled=!1;ngOnDestroy(){this._items.clear()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:[2,"cdkDropListGroupDisabled","disabled",ie]},exportAs:["cdkDropListGroup"],features:[Re([{provide:sk,useExisting:t}])]})}return t})(),vMe=(()=>{class t{element=f(he);_changeDetectorRef=f(Ue);_scrollDispatcher=f(Da);_dir=f(Vt,{optional:!0});_group=f(sk,{optional:!0,skipSelf:!0});_latestSortedRefs;_destroyed=new te;_scrollableParentsResolved=!1;static _dropLists=[];_dropListRef;connectedTo=[];data;orientation="vertical";id=f(pt).getId("cdk-drop-list-");lockAxis=null;get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=e}_disabled=!1;sortingDisabled=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;autoScrollDisabled=!1;autoScrollStep;elementContainerSelector=null;hasAnchor=!1;dropped=new ne;entered=new ne;exited=new ne;sorted=new ne;_unsortedItems=new Set;constructor(){let e=f(K4,{optional:!0}),i=f(He);this._dropListRef=G4(i,this.element),this._dropListRef.data=this,e&&this._assignDefaults(e),this._dropListRef.enterPredicate=(r,a)=>this.enterPredicate(r.data,a.data),this._dropListRef.sortPredicate=(r,a,o)=>this.sortPredicate(r,a.data,o.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),this._group&&this._group._items.add(this)}addItem(e){this._unsortedItems.add(e),e._dragRef._withDropContainer(this._dropListRef),this._dropListRef.isDragging()&&this._syncItemsWithRef(this.getSortedItems().map(i=>i._dragRef))}removeItem(e){if(this._unsortedItems.delete(e),this._latestSortedRefs){let i=this._latestSortedRefs.indexOf(e._dragRef);i>-1&&(this._latestSortedRefs.splice(i,1),this._syncItemsWithRef(this._latestSortedRefs))}}getSortedItems(){return Array.from(this._unsortedItems).sort((e,i)=>e._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){let e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._latestSortedRefs=void 0,this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(bt(this._dir.value),Ne(this._destroyed)).subscribe(i=>e.withDirection(i)),e.beforeStarted.subscribe(()=>{let i=rs(this.connectedTo).map(r=>{if(typeof r=="string"){let a=t._dropLists.find(o=>o.id===r);return a}return r});
9606if(this._group&&this._group._items.forEach(r=>{i.indexOf(r)===-1&&i.push(r)}),!this._scrollableParentsResolved){let r=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(a=>a.getElementRef().nativeElement);this._dropListRef.withScrollableParents(r),this._scrollableParentsResolved=!0}if(this.elementContainerSelector){let r=this.element.nativeElement.querySelector(this.elementContainerSelector);e.withElementContainer(r)}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=this.sortingDisabled,e.autoScrollDisabled=this.autoScrollDisabled,e.autoScrollStep=bn(this.autoScrollStep,2),e.hasAnchor=this.hasAnchor,e.connectedTo(i.filter(r=>r&&r!==this).map(r=>r._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(this.getSortedItems().map(i=>i._dragRef)),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),Gt(e.receivingStarted,e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(e){let{lockAxis:i,draggingDisabled:r,sortingDisabled:a,listAutoScrollDisabled:o,listOrientation:s}=e;this.disabled=r??!1,this.sortingDisabled=a??!1,this.autoScrollDisabled=o??!1,this.orientation=s||"vertical",this.lockAxis=i||null}_syncItemsWithRef(e){this._latestSortedRefs=e,this._dropListRef.withItems(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(i,r){i&2&&(fe("id",r.id),ce("cdk-drop-list-disabled",r.disabled)("cdk-drop-list-dragging",r._dropListRef.isDragging())("cdk-drop-list-receiving",r._dropListRef.isReceiving()))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",ie],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",ie],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",ie],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"],hasAnchor:[2,"cdkDropListHasAnchor","hasAnchor",ie]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[Re([{provide:sk,useValue:void 0},{provide:Q4,useExisting:t}])]})}return t})();var hle=new W("CdkDragPlaceholder"),bMe=(()=>{class t{templateRef=f(At);_drag=f(Pv,{optional:!0});data;constructor(){this._drag?._setPlaceholderTemplate(this)}ngOnDestroy(){this._drag?._resetPlaceholderTemplate(this)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},features:[Re([{provide:hle,useExisting:t}])]})}return t})();var yMe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=xe({type:t});static \u0275inj=ye({providers:[ule],imports:[Zn]})}return t})();var mle=(t,n)=>n.name,fle=(t,n)=>n.file;function ple(t,n){if(t&1){let e=Pt();w(0,"button",19),de("click",function(){$e(e);let r=j(3);return We(r.clearSearch())}),w(1,"mat-icon"),Q(2,"close"),D()()}}function gle(t,n){if(t&1){let e=Pt();w(0,"div",5)(1,"mat-form-field",12)(2,"mat-icon",13),Q(3,"search"),D(),we(4,"input",14),w(5,"div",15),pe(6,ple,3,0,"button",16),w(7,"button",17)(8,"mat-icon"),Q(9,"filter_list"),D()()()(),w(10,"mat-menu",null,0)(12,"button",18),de("click",function(){$e(e);let r=j(2);return We(r.setFilter("all"))}),w(13,"mat-icon"),Q(14,"all_inclusive"),D(),w(15,"span"),Q(16,"All Files"),D()(),w(17,"button",18),de("click",function(){$e(e);let r=j(2);return We(r.setFilter("image"))}),w(18,"mat-icon"),Q(19,"image"),D(),w(20,"span"),Q(21,"Images"),D()(),w(22,"button",18),de("click",function(){$e(e);let r=j(2);return We(r.setFilter("document"))}),w(23,"mat-icon"),Q(24,"description"),D(),w(25,"span"),Q(26,"Documents"),D()(),w(27,"button",18),de("click",function(){$e(e);let r=j(2);return We(r.setFilter("video"))}),w(28,"mat-icon"),Q(29,"video_file"),D(),w(30,"span"),Q(31,"Videos"),D()(),w(32,"button",18),de("click",function(){$e(e);let r=j(2);return We(r.setFilter("audio"))}),w(33,"mat-icon"),Q(34,"audio_file"),D(),w(35,"span"),Q(36,"Audio"),D()()()()}if(t&2){let e=qt(11),i=j(2);T(4),se("formControl",i.searchControl),T(2),ge(i.searchControl.value?6:-1),T(),se("matMenuTriggerFor",e),T(5),ce("active-filter",i.currentFilter==="all"),T(5),ce("active-filter",i.currentFilter==="image"),T(5),ce("active-filter",i.currentFilter==="document"),T(5),ce("active-filter",i.currentFilter==="video"),T(5),ce("active-filter",i.currentFilter==="audio")}}function _le(t,n){t&1&&(w(0,"div",6),we(1,"mat-spinner",20),w(2,"p",21),Q(3,"Loading files..."),D()())}function vle(t,n){t&1&&(w(0,"div",7)(1,"mat-icon",22),Q(2,"search_off"),D(),w(3,"p"),Q(4,"No files found"),D()())}function ble(t,n){if(t&1&&(w(0,"mat-icon",28),Q(1),D()),t&2){let e=j().$implicit,i=j(2);$t(i.getIconColorClass(e.contentType)),T(),Jt(" ",i.getFileIcon(e.contentType)," ")}}function yle(t,n){if(t&1&&(w(0,"span"),Q(1),D()),t&2){let e=j().$implicit;T(),Bt(e.metadata==null||e.metadata.customMetadata==null?null:e.metadata.customMetadata.description)}}function xle(t,n){if(t&1&&(w(0,"button",27)(1,"mat-icon"),Q(2,"more_vert"),D()()),t&2){j();let e=qt(10);se("matMenuTriggerFor",e)}}function wle(t,n){if(t&1){let e=Pt();w(0,"mat-list-item",9),pe(1,ble,2,3,"mat-icon",23),w(2,"div",24),de("click",function(){let r=$e(e).$implicit,a=j(2);return We(a.downloadFile(r))}),Q(3),D(),w(4,"div",25),Q(5),D(),w(6,"div",26),pe(7,yle,2,1,"span"),D(),pe(8,xle,3,1,"button",27),w(9,"mat-menu",null,1)(11,"button",18),de("click",function(){let r=$e(e).$implicit,a=j(2);return We(a.openActivityDialog(r.metadata.customMetadata.activityId))}),w(12,"mat-icon"),Q(13,"open_in_new"),D(),w(14,"span"),Q(15,"Open Message"),D()(),w(16,"button",18),de("click",function(){let r=$e(e).$implicit,a=j(2);return We(a.downloadFile(r))}),w(17,"mat-icon"),Q(18,"download"),D(),w(19,"span"),Q(20,"Download"),D()(),w(21,"button",18),de("click",function(){let r=$e(e).$implicit,a=j(2);return We(a.renameFile(r))}),w(22,"mat-icon"),Q(23,"edit"),D(),w(24,"span"),Q(25,"Rename"),D()(),w(26,"button",18),de("click",function(){let r=$e(e).$implicit,a=j(2);return We(a.openDescriptionDialog(r))}),w(27,"mat-icon"),Q(28,"description"),D(),w(29,"span"),Q(30,"Edit Description"),D()(),w(31,"button",18),de("click",function(){let r=$e(e).$implicit,a=j(2);return We(a.deleteFile(r))}),w(32,"mat-icon"),Q(33,"delete"),D(),w(34,"span"),Q(35,"Delete"),D()()()()}if(t&2){let e=n.$implicit,i=j(2);T(),ge(e.contentType?1:-1),T(2),Jt(" ",e.name," "),T(2),td(" ",i.formatFileSize(e.size)," \u2022 ",i.formatDate(e.timeCreated)," "),T(2),ge(!(e.metadata==null||e.metadata.customMetadata==null)&&e.metadata.customMetadata.description?7:-1),T(),ge(i.readOnlyMode?-1:8)}}function Cle(t,n){if(t&1){let e=Pt();w(0,"div",29),de("dragover",function(r){$e(e);let a=j(2);return We(a.onDragOver(r))})("dragleave",function(r){$e(e);let a=j(2);return We(a.onDragLeave(r))})("drop",function(r){$e(e);let a=j(2);return We(a.onDrop(r))}),w(1,"input",30,2),de("change",function(r){$e(e);let a=j(2);return We(a.onFileSelected(r))}),D(),w(3,"button",31),de("click",function(){$e(e);let r=qt(2);return We(r.click())}),w(4,"mat-icon"),Q(5,"upload_file"),D(),Q(6," Upload Files "),D(),w(7,"div",32),Q(8," or drag and drop files here "),D()()}if(t&2){let e=j(2);ce("drag-active",e.isDragging),T(),se("multiple",!0)}}function Sle(t,n){if(t&1&&(w(0,"div",11),we(1,"mat-progress-bar",33),w(2,"small"),Q(3),D()()),t&2){let e=n.$implicit;T(),se("value",e.progress),T(2),td("Uploading: ",e.file," (",e.progress,"%)")}}function kle(t,n){if(t&1&&(w(0,"div",3)(1,"div",4)(2,"div"),pe(3,gle,37,13,"div",5),pe(4,_le,4,0,"div",6),pe(5,vle,5,0,"div",7),w(6,"div",8)(7,"mat-list"),tn(8,wle,36,6,"mat-list-item",9,mle),D()(),pe(10,Cle,9,3,"div",10),tn(11,Sle,4,3,"div",11,fle),D()()()),t&2){let e=j();T(3),ge(e.readOnlyMode?-1:3),T(),ge(e.isLoading?4:-1),T(),ge(e.filteredFiles.length===0&&!e.isLoading?5:-1),T(3),nn(e.f
9606ilteredFiles),T(2),ge(e.readOnlyMode?-1:10),T(),nn(e.uploads)}}var Dle=[[["","detail-page-toolbar-urgent-actions",""]],[["","detail-page-toolbar-buttons",""]]],Ele=["[detail-page-toolbar-urgent-actions]","[detail-page-toolbar-buttons]"];function Tle(t,n){t&1&&(w(0,"span",8),Q(1,"\u23F3 Saving..."),D())}function Ile(t,n){t&1&&(w(0,"span",9),Q(1,"\u2713 Saved"),D())}function Mle(t,n){t&1&&(w(0,"span",10),Q(1,"\u2713 Saved"),D())}function Ale(t,n){t&1&&(w(0,"span",11),Q(1,"\u2717 Save failed"),D())}function Rle(t,n){if(t&1&&(w(0,"span",6),pe(1,Tle,2,0,"span",8)(2,Ile,2,0,"span",9)(3,Mle,2,0,"span",10)(4,Ale,2,0,"span",11),D()),t&2){let e,i=j();T(),ge((e=i.savingState)==="saving"?1:e==="saved"?2:e==="saved-stale"?3:e==="error"?4:-1)}}var J4=(t,n)=>n.value;function Ple(t,n){if(t&1){let e=Pt();w(0,"div",3),de("click",function(){let r=$e(e).$implicit,a=j();return We(a.updateStatus(r))}),w(1,"span"),Q(2),D()()}if(t&2){let e=n.$implicit,i=n.$index,r=j();ce("current",r.selectedStatus.statusIndex===i)("complete",r.selectedStatus.statusIndex<i)("last-child",i===r.progressBarStatus.length),se("matTooltip",Jv(e.label))("matTooltipPosition","above"),T(2),Bt(e.label)}}var Fle=["selectionTable"],Ole=["sort"],Nle=["searchTextInput"],dk=()=>[],Lle=t=>[t],Z4=()=>["view","name","remove"];function Ble(t,n){t&1&&(w(0,"div",4)(1,"mat-icon",5),Q(2,"lock"),D(),w(3,"h2",6),Q(4,"Access Denied"),D(),w(5,"p",7),Q(6," You do not have access to this list. Please contact your system administrator. "),D()())}function Vle(t,n){t&1&&(w(0,"div",9),we(1,"mat-spinner"),D())}function Ule(t,n){if(t&1&&(w(0,"mat-option",25),Q(1),D()),t&2){let e=n.$implicit;se("value",e),T(),Bt(e.name)}}function zle(t,n){if(t&1){let e=Pt();w(0,"div",10)(1,"mat-form-field",23)(2,"mat-label"),Q(3,"Select a manager"),D(),w(4,"mat-select",24),de("selectionChange",function(r){$e(e);let a=j(2);return We(a.onDropdownFilterSelectionChange(r))}),tn(5,Ule,2,2,"mat-option",25,$k),D()()()}if(t&2){let e=j(2);T(4),se("panelWidth","null")("ngModel",e.selectedFilter),T(),nn(e.dropDownFilter)}}function jle(t,n){if(t&1){let e=Pt();w(0,"mat-form-field")(1,"input",26,2),$l("ngModelChange",function(r){$e(e);let a=j(2);return Hl(a.searchText,r)||(a.searchText=r),We(r)}),D()()}if(t&2){let e=j(2);T(),jl("ngModel",e.searchText)}}function Hle(t,n){if(t&1&&(w(0,"div")(1,"button",27),Q(2," New "),w(3,"mat-icon",28),Q(4,"add"),D()()()),t&2){let e=j(2);T(),se("routerLink",Wl(1,Lle,"/"+e.documentRoute))}}function $le(t,n){t&1&&(w(0,"th",31),Q(1,"Selection"),D())}function Wle(t,n){if(t&1){let e=Pt();w(0,"td",32)(1,"mat-checkbox",33),de("click",function(r){let a=$e(e).$implicit,o=j(3);return r.stopPropagation(),We(o.select(a))}),D()()}if(t&2){let e=n.$implicit,i=j(3);T(),se("checked",i.selection.isSelected(e.id))}}function Gle(t,n){t&1&&(qo(0,15),xt(1,$le,2,0,"th",29)(2,Wle,2,1,"td",30),Yo())}function qle(t,n){if(t&1){let e=Pt();w(0,"tr",34),de("click",function(){let r=$e(e).$implicit,a=j(2);return We(a.select(r))}),D()}if(t&2){let e=n.$implicit,i=j(2);ce("table-row-selected",i.selectedObject===e)}}function Yle(t,n){t&1&&we(0,"tr",35)}function Xle(t,n){if(t&1&&(w(0,"th",36),Q(1),D()),t&2){let e=j(2).$index,i=j(2);T(),Jt(" ",i.displayedColumnsHeaders[e]," ")}}function Kle(t,n){t&1&&xt(0,Xle,2,1,"th",37)}function Qle(t,n){if(t&1&&(w(0,"th",31),Q(1),D()),t&2){let e=j(2).$index,i=j(2);T(),Jt(" ",i.displayedColumnsHeaders[e]," ")}}function Zle(t,n){t&1&&xt(0,Qle,2,1,"th",29)}function Jle(t,n){if(t&1&&hi(0,38),t&2){let e=j().$implicit,i=j().$implicit,r=j(2);se("ngTemplateOutlet",r.getColumnTemplate(i))("ngTemplateOutletContext",r.getColumnTemplateContext(e,i))}}function ece(t,n){if(t&1&&(qo(0),Q(1),Jf(2,"date"),Yo()),t&2){let e=j().$implicit,i=j().$implicit,r=j(2);T(),Jt("",Kk(2,1,r.isDate(e[i]),"dd/MM/yyyy")," ")}}function tce(t,n){if(t&1&&Q(0),t&2){let e=j().$implicit,i=j().$implicit,r=j(2);Jt(" ",r.getBooleanValue(e[i])," ")}}function ice(t,n){if(t&1&&Q(0),t&2){let e=j().$implicit,i=j().$implicit,r=j(2);Jt(" ",r.getNestedPropertyValue(e,i)," ")}}function nce(t,n){if(t&1&&Q(0),t&2){let e=j().$implicit,i=j().$implicit,r=j(2);Jt(" ",r.getPropertyValue(e,i)," ")}}function rce(t,n){if(t&1&&(w(0,"td",32),pe(1,Jle,1,2,"ng-container",38)(2,ece,3,4,"ng-container")(3,tce,1,1)(4,ice,1,1)(5,nce,1,1),D()),t&2){let e=n.$implicit,i=j().$implicit,r=j(2);T(),ge(r.getColumnTemplate(i)?1:r.isDate(e[i])?2:r.isBoolean(e[i])?3:i.includes(".")?4:5)}}function ace(t,n){if(t&1&&(qo(0,18),pe(1,Kle,1,0,"th",36)(2,Zle,1,0,"th",31),xt(3,rce,6,1,"td",30),Yo()),t&2){let e=n.$implicit,i=j(2);se("matColumnDef",Jv(e)),T(),ge(i.isSortable(e)?1:2)}}function oce(t,n){if(t&1){let e=Pt();w(0,"button",39),de("click",function(){$e(e);let r=j(2);return We(r.exportToExcel())}),Q(1,"XLS"),D()}}function sce(t,n){t&1&&(w(0,"div",21)(1,"mat-icon",40),Q(2,"swap_horiz"),D()())}function lce(t,n){t&1&&we(0,"th",35)}function cce(t,n){t&1&&we(0,"tr",47)}function dce(t,n){t&1&&(w(0,"th",31),Q(1,"View detail"),D())}function uce(t,n){if(t&1){let e=Pt();w(0,"td",32)(1,"button",48),de("click",function(){let r=$e(e).$implicit,a=j(3);return We(a.onClickView(r))}),w(2,"mat-icon",49),Q(3,"open_in_new"),D()()()}}function hce(t,n){t&1&&(w(0,"th",31),Q(1,"Selected records"),D())}function mce(t,n){if(t&1&&(w(0,"td",50),Q(1),D()),t&2){let e=n.$implicit;T(),Jt(" ",e.name," ")}}function fce(t,n){t&1&&(w(0,"th",31),Q(1,"Remove"),D())}function pce(t,n){if(t&1){let e=Pt();w(0,"td",32)(1,"button",51),de("click",function(){let r=$e(e).$implicit,a=j(3);return We(a.onRemoveSelection(r))}),w(2,"mat-icon",49),Q(3,"delete"),D()()()}}function gce(t,n){if(t&1&&(w(0,"div",13)(1,"table",41,3),xt(3,lce,1,0,"th",17)(4,cce,1,0,"tr",42),qo(5,43),xt(6,dce,2,0,"th",29)(7,uce,4,0,"td",30),Yo(),qo(8,44),xt(9,hce,2,0,"th",29)(10,mce,2,1,"td",45),Yo(),qo(11,46),xt(12,fce,2,0,"th",29)(13,pce,4,0,"td",30),Yo(),D()()),t&2){let e=j(2);T(),se("dataSource",e.selectedObjects),T(2),se("matHeaderRowDef",id(3,Z4)),T(),se("matRowDefColumns",id(4,Z4))}}function _ce(t,n){if(t&1){let e=Pt();w(0,"div",22)(1,"button",52),de("click",function(){$e(e);let r=j(2);return We(r.onClickCancel())}),Q(2,"Cancel"),D(),w(3,"button",53),Q(4," Ok "),D()()}if(t&2){let e=j(2);T(3),se("mat-dialog-close",e.selectedObjects)("disabled",!(e.selection!=null&&e.selection.hasValue()))}}function vce(t,n){if(t&1&&(w(0,"div",8),pe(1,Vle,2,0,"div",9),Jf(2,"async"),pe(3,zle,7,2,"div",10),w(4,"div",11),pe(5,jle,3,1,"mat-form-field"),pe(6,Hle,5,3,"div"),w(7,"div",12)(8,"div",13)(9,"table",14,0),Jf(11,"async"),pe(12,Gle,3,0,"ng-container",15),xt(13,qle,1,2,"tr",16)(14,Yle,1,0,"tr",17),tn(15,ace,4,3,"ng-container",18,Ha),D(),we(17,"mat-paginator",19,1),pe(19,oce,2,0,"button",20),D(),pe(20,sce,3,0,"div",21),pe(21,gce,14,5,"div",13),D()()(),pe(22,_ce,5,2,"div",22)),t&2){let e=j();T(),ge(eb(2,18,e.dataSource.loading$)?1:-1),T(2),ge(e.dropDownFilter?3:-1),T(2),ge(e.enableSearch?5:-1),T(),ge(e.hasCreatePermission&&e.showNewButton?6:-1),T(3),se("dataSource",eb(11,20,e.dataSource.$objects)??id(22,dk))("matSortActive",e.defaultSortField)("matSortDirection",e.defaultSortOrder),T(3),ge(e.selection?12:-1),T(),se("matRowDefColumns",e.displayedColumnsWithSelect||id(23,dk)),T(),se("matHeaderRowDef",e.displayedColumnsWithSelect||id(24,dk)),T(),nn(e.displayedColumns),T(2),se("length",e.dataSource.length)("pageSize",e.defaultPageSize)("pageIndex",e.defaultPageIndex)("pageSizeOptions",e.pageSizeOptions),T(2),ge(e.showExportButton?19:-1),T(),ge(e.selection&&e.useSelectionModel&&e.allowMultiSelect?20:-1),T(),ge(e.selection&&e.useSelectionModel&&e.allowMultiSelect?21:-1),T(),ge(e.useSelectionModel?22:-1)}}function bce(t,n){if(t&1&&(w(0,"button",3),Q(1),D()),t&2){let e=j();T(),Bt(e.data.actions.closeButton)}}function yce(t,n){if(t&1){let e=Pt();w(0,"button",6),de("click",function(){$e(e);let r=j();return We(r.onAction(r.data.actions.thirdSaveButton))}),Q(1),D()}if(t&2){let e=j();se("color",e.data.actions.thirdSaveButton==="Delete"?"warn":"primary"),T(),Jt(" ",e.data.actions.thirdSaveButton," ")}}function xce(t,n){if(t&1){let e=Pt();w(0,"button",6),de("click",function(){$e(e);let r=j();return We(r.onAction(r.data.actions.secondSaveButton))}),Q(1),D()}if(t&2){let e=j();se("color",e.data.actions.secondSaveButton==="Delete"?"warn":"primary"),T(),Jt(" ",e.data.actions.secondSaveButton," ")}}function wce(t,n){if(t&1){let e=Pt();w(0,"button",7),de("click",function(){$e(e);let r=j();return We(r.onAction(r.data.actions.firstSaveButton))}),Q(1),D()}if(t&2){let e=j();se("color",e.data.actions.firstSaveButton==="Delete"?"warn":"primary"),T(),Jt(" ",e.data.actions.firstSaveButton," ")}}function Cce(t,n){t&1&&(w(0,"mat-error"),Q(1,"Name is required"),D())}function Sce(t,n){t&1&&(w(0,"div",6),Q(1,"Record is active"),D())}function kce(t,n){t&1&&(w(0,"div",6),Q(1,"Record is deactivated"),D())}var Dce=["previewFrame"];function Ece(t,n){if(t&1){let e=Pt();w(0,"button",16),de("click",function(){$e(e);let r=j();return We(r.onSaveForm())}),Q(1," Save "),D()}if(t&2){let e=j();se("disabled",!e.parameterForm.valid)}}function Tce(t,n){if(t&1&&(w(0,"mat-tab",15)(1,"div",6)(2,"div",17),we(3,"lib-object-list",18),D()()()),t&2){let e=j();T(3),se("displayedColumns",e.parameterValueDisplayedColumns)("displayedColumnsHeaders",e.parameterValueDisplayedColumnsHeaders)("dataSource",e.parameterValueDataSource)("collectionPath",e.parameterValueCollectionPath)("documentRoute",e.parameterValueDocumentRoute)("collectionId","parameterValue")("forceRefresh",!0)("showNewButton",!1)("enableSearch",!1)("defaultSortField","name")("defaultSortOrder","asc")}}function Ice(t,n){if(t&1&&(w(0,"mat-option",11),Q(1),D()),t&2){let e=n.$implicit;se("value",e.value),T(),Bt(e.label)}}function Mce(t,n){t&1&&(w(0,"div",6)(1,"mat-form-field",7)(2,"mat-label"),Q(3,"Number Value"),D(),we(4,"input",13),D()())}function Ace(t,n){t&1&&(w(0,"div",6)(1,"mat-form-field",7)(2,"mat-label"),Q(3,"String Value"),D(),we(4,"input",14),D()())}function Rce(t,n){t&1&&(w(0,"div",6)(1,"mat-form-field",7)(2,"mat-label"),Q(3,"Boolean Value"),D(),we(4,"input",15),D()())}var e3=(()=>{class t{static convertTimestampToDate(e){if(e){if(e instanceof Date)return e;if(typeof e.toDate=="function")return e.toDate();if(typeof e=="object"&&"seconds"in e&&"nanoseconds"in e)return new Date(e.seconds*1e3+e.nanoseconds/1e6);if(typeof e=="string"||typeof e=="number"){let i=new Date(e);return isNaN(i.getTime())?void 0:i}}}static extractDataFromFormGroup(e){let i={};
9606return Object.keys(e.controls).forEach(r=>{let a=r;if(a){let o=e.get(a);if(o){let s=o.value;s?i[a]=s:i[a]=null}else i[a]=null}else i[a]=null}),i}dateDiffInDays(e){let i=new Date,r=1e3*60*60*24,a=Date.UTC(i.getFullYear(),i.getMonth(),i.getDate()),o=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate());return Math.floor((o-a)/r)}createKeywordsFromList(e){let i=[""];for(let r of e)for(let a of this.createKeywords(r))i.push(a);return i}createKeywords=e=>{let i=[];if(e===void 0)return i;let r=e.toString(),a="";return r.split("").forEach(o=>{a+=o.toLowerCase(),i.push(a)}),i};generateKeywords(e,i){let r=[""];for(let a of i){let o=e[a];o!=null&&r.push(...this.createKeywords(String(o)))}return[...new Set(r)]}replaceUndefinedValueWithEmptyString(e){let i=JSON.stringify(e,(r,a)=>a===void 0?"":a);return JSON.parse(i)}removeUndefinedValuesWithKeys(e){Object.keys(e).forEach(i=>{e[i]===void 0&&delete e[i]})}static stripUndefined(e){if(e===void 0||e===null)return null;if(Array.isArray(e))return e.map(i=>t.stripUndefined(i));if(typeof e=="object"){if(typeof e.toDate=="function"||e instanceof Date)return e;let i={};for(let[r,a]of Object.entries(e))a!==void 0&&(i[r]=t.stripUndefined(a));return i}return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ov=new W("app environment"),Pce=new W("auth configuration"),Fce=new W("PARAMETER_BASE_PATH",{factory:()=>()=>"parameters"}),$c=(()=>{class t{environment=f(Ov);firebase=rp(this.environment.firebase);storage=$g();firestore=Xr();functions=ru(this.firebase,"northamerica-northeast1");analytics=Fg(this.firebase);auth=Eo(this.firebase);appCheck=Bg(this.firebase,{provider:new uu(this.environment.appcheck.recaptchaEntrepriseKey),isTokenAutoRefreshEnabled:!0});scriptsUrl=[];loadScripts(){for(let e of this.scriptsUrl){let i=document.createElement("script");i.src=e,i.type="text/javascript",i.async=!1,document.getElementsByTagName("head")[0].appendChild(i)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Nv=(()=>{class t{messageService=f(bm);environment=f(Ov);debug(e){this.environment.production||console.log(e)}error(e,i){console.error(e),i&&this.message(i)}message(e,i,r){this.debug(e),this.messageService.open(e,i||"Close",{duration:r||5e3})}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Oce=(()=>{class t{objectCache=new Map;collectionToObjectIdCache=new Map;isInitialized=!1;firebaseService=f($c);getObjectDefinition(e){return S(this,null,function*(){return yield this.initializeCache(),this.objectCache.get(e)||null})}getObjectIdFromCollectionId(e){return S(this,null,function*(){return yield this.initializeCache(),this.collectionToObjectIdCache.get(e)||null})}getObjectDefinitionByCollectionId(e){return S(this,null,function*(){let i=yield this.getObjectIdFromCollectionId(e);return i?this.getObjectDefinition(i):null})}extractCollectionNameFromPath(e){return e.split("/")[0]}extractDocumentIdFromPath(e){let i=e.split("/");return i[i.length-1]}buildRouteFromDocumentPath(e){return S(this,null,function*(){let i=this.extractCollectionNameFromPath(e),r=this.extractDocumentIdFromPath(e),a=yield this.getObjectIdFromCollectionId(i);return a?`/${a}/${r}`:`/${e}`})}getAllObjectDefinitions(){return S(this,null,function*(){return yield this.initializeCache(),Array.from(this.objectCache.values())})}refreshCache(){return S(this,null,function*(){this.isInitialized=!1,yield this.initializeCache()})}clearCache(){this.objectCache.clear(),this.collectionToObjectIdCache.clear(),this.isInitialized=!1}initializeCache(){return S(this,null,function*(){if(!this.isInitialized)try{console.log("\u{1F504} Loading object definitions...");let e=Mr(this.firebaseService.firestore,"objects"),i=yield Wa(e);this.objectCache.clear(),this.collectionToObjectIdCache.clear(),i.forEach(r=>{let a=r.data(),o=H({id:r.id},a);this.objectCache.set(o.objectId,o),this.collectionToObjectIdCache.set(o.collectionId,o.objectId)}),this.isInitialized=!0,console.log(`\u2705 Loaded ${this.objectCache.size} object definitions to cache`)}catch(e){throw console.error("\u274C Error loading object definitions:",e),e}})}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Nce=(()=>{class t{firebaseService=f($c);permissionPath="";getRolePermissions(e){return S(this,null,function*(){this.permissionPath=`roles/${e}/permissions`;let i=new Map,r=Hs(Mr(this.firebaseService.firestore,this.permissionPath),gh("id","asc")),a=yield Wa(r);for(let c of a.docs){let d=H({id:c.id},c.data());i.set(c.id,d)}let o=[],s=Hs(Mr(this.firebaseService.firestore,"/objects/"),gh("id","asc")),l=yield Wa(s);for(let c of l.docs){let d=H({id:c.id},c.data());if(o.push(d),!i.has(d.collectionId)){let u={creationDate:js.fromDate(new Date),active:!0,id:d.collectionId,name:d.objectName,get:"deny",list:"deny",create:"deny",createFieldControl:"",createFieldList:[],update:"deny",updateFieldControl:"",updateFieldList:[],delete:"deny",upload:"deny",download:"deny",invoke:"deny"};i.set(d.collectionId,u)}}return i})}updatePermission(e,i,r,a){return S(this,null,function*(){e=="get"?r.get=i:e=="list"?r.list=i:e=="create"?r.create=i:e=="update"?r.update=i:e=="delete"?r.delete=i:e=="upload"?r.upload=i:e=="download"?r.download=i:e=="invoke"&&(r.invoke=i),yield Yn(vi(this.firebaseService.firestore,"/roles/"+a+"/permissions/"+r.id),r,{merge:!0})})}saveCreateFields(e,i,r,a,o){return S(this,null,function*(){let s=r;
9606return a==""&&(s=!1),a!=null&&(e.createFieldControl=a),o&&(e.createFieldList=o),yield Yn(vi(this.firebaseService.firestore,"/roles/"+i+"/permissions/"+e.id),e),s})}saveUpdateFields(e,i,r,a,o){return S(this,null,function*(){let s=r;return a==""&&(s=!1),a!=null&&(i.updateFieldControl=a),o&&(i.updateFieldList=o),yield Yn(vi(this.firebaseService.firestore,"/roles/"+e+"/permissions/"+i.id),i),s})}getCurrentUserPermissionForCollection(e,i){let r=vi(this.firebaseService.firestore,"users/"+e+"/permissions/"+i),a=Nn(r);return Ri(a).pipe(ct(o=>H({id:o.id},o.data())))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),hk=(()=>{class t{ngZone=f(Te);user$=new mn;subscriptions=new tt;authUser=null;appUser=null;_user=new te;permissionsCache=new Map;router=f(In);loggingService=f(Nv);firebase=f($c);permissionService=f(Nce);objectDefinitionService=f(Oce);authConfig=f(Pce,{optional:!0});constructor(){lu(this.firebase.auth,e=>{if(e){this.authUser=e,localStorage.setItem("authUser",JSON.stringify(this.authUser));let i=vi(this.firebase.firestore,"users",this.authUser.uid);Nn(i).then(r=>{if(!r.exists())return;let a=H({id:r.id},r.data());this.appUser=a,this._user.next(a),localStorage.setItem("appUser",JSON.stringify(this.appUser))})}else this.ngOnDestroy()})}ngOnDestroy(){localStorage.setItem("authUser",""),localStorage.removeItem("authUser"),localStorage.setItem("appUser",""),localStorage.removeItem("appUser"),this.appUser=null,this.subscriptions.unsubscribe()}getUserSignedIn(){if(this.authUser)return this.authUser;let e=localStorage.getItem("authUser");if(e==null)return null;let i=JSON.parse(e);return i==null?null:(this.authUser=i,this.authUser)}getUserLoggedIn(){if(this.appUser)return this.appUser;let e=localStorage.getItem("appUser");if(e==null)return null;let i=JSON.parse(e);return i==null?null:(this.appUser=i,this.appUser)}isUserSignedIn(){return!!this.getUserSignedIn()}signIn(e,i,r){return S(this,null,function*(){let a=yield Pm(this.firebase.auth,e,i);if(a&&this.firebase.auth.currentUser)return yield this.updateCustomClaim(),yield this.firebase.auth.currentUser.getIdTokenResult(!0),this.authConfig?.onSignIn&&(yield this.authConfig.onSignIn(a.user,a)),r&&(yield this.ngZone.run(()=>S(this,null,function*(){if(!a)throw new Error("Sign-in error");yield this.router.navigate([r])}))),a})}signInWithSAML(e=0){return S(this,null,function*(){let i=this.getSamlProviderId(e);try{let r=new su(i);yield b1(this.firebase.auth,r)}catch(r){throw this.loggingService.error("SAML authentication error"),console.error(r),r}})}signInWithSAMLPopup(e=0){return S(this,null,function*(){let i=this.getSamlProviderId(e);try{let r=new su(i),a=yield Om(this.firebase.auth,r);if(a){this.authConfig?.onSignIn&&(yield this.authConfig.onSignIn(a.user,a)),this.loggingService.debug("User authenticated via SAML SSO, redirecting");let o=this.authConfig?.samlRedirectPath??"/dashboard/welcome";return yield this.router.navigate(o.split("/").filter(s=>s)),a}return}catch(r){throw this.loggingService.error("SAML authentication error"),console.error(r),r}})}assessRedirectResult(){return S(this,null,function*(){try{let e=yield y1(this.firebase.auth);if(e){this.authConfig?.onSignIn&&(yield this.authConfig.onSignIn(e.user,e));let i=this.authConfig?.samlRedirectPath??"/dashboard/welcome";return yield this.router.navigate(i.split("/").filter(r=>r)),e}else this.loggingService.error("Authentication error");return e}catch(e){throw this.loggingService.error("SAML authentication error"),console.error(e),e}})}preflightAppCheck(){return S(this,null,function*(){let e=this.authConfig?.recaptchaKey;if(!e)throw new Error("reCAPTCHA key not configured. Provide recaptchaKey via AUTH_CONFIG_TOKEN.");try{yield this.waitForRecaptcha();let i=yield new Promise((l,c)=>{grecaptcha.ready(()=>{grecaptcha.execute(e,{action:"LOGIN"}).then(l,c)})}),r=this.authConfig?.functionsRegion??"northamerica-northeast1",a=this.authConfig?.recaptchaFunctionName??"assessRecaptcha",o=ru(void 0,r);yield lg(o,a)({token:i,recaptchaAction:"LOGIN",recaptchaKey:e})}catch(i){throw this.loggingService.error(i),i}})}waitForRecaptcha(e=1e4){return new Promise((i,r)=>{if(typeof grecaptcha<"u"){i();return}let a=100,o=0,s=setInterval(()=>{typeof grecaptcha<"u"?(clearInterval(s),i()):o>=e&&(clearInterval(s),r(new Error("Timed out waiting for reCAPTCHA script to load"))),o+=a},a)})}isPasswordExpired(){if(!this.authUser)throw new Error("Not signed in");if(!this.appUser)throw new Error("Not signed in");let e=this.authConfig?.passwordExpirationDays;
9606if(!e||e<=0)return!1;let i=this.appUser.passwordDate;if(!i)return!0;let r=new Date,a=new Date(typeof i.toMillis=="function"?i.toMillis():i);return a.setDate(a.getDate()+e),r>a}updatePassword(e){return S(this,null,function*(){if(!this.appUser||this.appUser.id!==this.authUser?.uid)return!1;try{yield p1(this.authUser,e);let i=vi(this.firebase.firestore,"users",this.appUser.id),r={passwordDate:new Date};yield Yn(i,r,{merge:!0}),this.appUser.passwordDate=r.passwordDate,localStorage.setItem("appUser",JSON.stringify(this.appUser))}catch(i){throw this.loggingService.error(i),i}return!0})}updateProfile(e){return S(this,null,function*(){let i=this.getUserSignedIn();i&&(yield f1(i,{displayName:e}))})}forgotPassword(e){return Rm(this.firebase.auth,e).then(()=>{window.alert("Password reset email sent, check your inbox.")}).catch(i=>{window.alert(i)})}logout(e){return S(this,null,function*(){yield Fm(this.firebase.auth),this.authConfig?.onLogout&&(yield this.authConfig.onLogout()),e&&(yield this.ngZone.run(()=>S(this,null,function*(){if((yield this.router.navigate([e]))==!1)throw"Redirect error"})))})}hasPermission(e,i,r){return S(this,null,function*(){try{let a=this.getUserSignedIn();if(!a)return!1;let o;if(this.permissionsCache.has(e))o=this.permissionsCache.get(e);else{let c=yield Nn(vi(this.firebase.firestore,"users/"+a.uid+"/permissions/"+e));o=H({id:c.id},c.data()),this.permissionsCache.set(e,o)}if(!o)throw new Error("Missing permission");let l=o[i];return!!((yield this.isRole("administrator"))===!0||l=="allow"||l=="group"&&r&&r.groupId&&(yield this.isGroup(r.groupId))==!0||l=="user"&&r&&r.userId&&r.userId==a.uid)}catch(a){return this.loggingService.error(a),!1}})}isGroup(e){return S(this,null,function*(){try{let i=yield this.waitForAuth();if(!i)return!1;let r=yield i.getIdTokenResult();if(!r)return!1;let a=r.claims;if(!a)return!1;let o=a.groups;return o?!!o.includes(e):!1}catch(i){return!1}})}isRole(e){return S(this,null,function*(){try{let i=yield this.waitForAuth();if(!i)return!1;let r=yield i.getIdTokenResult();if(!r)return!1;let a=r.claims;if(!a)return!1;let o=a.roles;return o?!!o.includes(e):!1}catch(i){return console.log(i),!1}})}isPath(e){return S(this,null,function*(){try{let i=yield this.waitForAuth();if(!i)return!1;let r=yield i.getIdTokenResult();if(!r)return!1;let a=r.claims;if(!a)return!1;let o=a.paths;return o?!!o.includes(e):!1}catch(i){return console.log(i),!1}})}getPermissions(e){return S(this,null,function*(){let i=[];return i.push(yield this.hasPermission(e,"get")),i.push(yield this.hasPermission(e,"create")),i.push(yield this.hasPermission(e,"update")),i.push(yield this.hasPermission(e,"download")),i.push(yield this.hasPermission(e,"upload")),i})}getPermissionsForObject(e){return S(this,null,function*(){let i=yield this.objectDefinitionService.getObjectDefinition(e);if(!i)throw new Error(`Object definition not found for objectTypeId: ${e}`);return this.getPermissions(i.collectionId)})}updateCustomClaim(){return S(this,null,function*(){try{let e=this.authConfig?.functionsRegion??"northamerica-northeast1",i=ru(void 0,e);yield lg(i,"updateCustomClaim")()}catch(e){throw console.log(e),e}})}getSamlProviderId(e){let i=this.authConfig?.samlProviderIds;if(!i||i.length===0)throw new Error("No SAML provider IDs configured. Provide samlProviderIds via AUTH_CONFIG_TOKEN.");if(e<0||e>=i.length)throw new Error(`SAML provider index ${e} out of range. Available: ${i.length} provider(s).`);return i[e]}waitForAuth(e=5e3){return S(this,null,function*(){return this.firebase.auth.currentUser?this.firebase.auth.currentUser:new Promise(i=>{let r=lu(this.firebase.auth,a=>{r(),i(a)});setTimeout(()=>{r(),i(null)},e)})})}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Lce=(()=>{class t{detectChanges(e,i){let r={changeCount:0,changeSummary:[],hasChanges:!1,fieldChanges:{added:[],modified:[],deleted:[]}};if(!e||e===null){let d=i;if(d&&typeof d=="object"){let u=Object.keys(d).filter(h=>h!=="id"&&!h.startsWith("_"));r.fieldChanges.added=u,r.changeSummary=u.map(h=>`Added ${h}`),r.changeCount=u.length,r.hasChanges=u.length>0}return r}let a=e,o=i;if(typeof a!="object"||typeof o!="object"||a===null||o===null)return r;let s=new Set(Object.keys(a).filter(d=>d!=="id"&&!d.startsWith("_"))),l=new Set(Object.keys(o).filter(d=>d!=="id"&&!d.startsWith("_"))),c=new Set([...s,...l]);for(let d of c){let u=a[d],h=o[d];s.has(d)?l.has(d)?this.isEqual(u,h)||(r.fieldChanges.modified.push(d),r.changeSummary.push(`Updated ${d}`)):(r.fieldChanges.deleted.push(d),r.changeSummary.push(`Removed ${d}`)):(r.fieldChanges.added.push(d),r.changeSummary.push(`Added ${d}`))}return r.changeCount=r.fieldChanges.added.length+r.fieldChanges.modified.length+r.fieldChanges.deleted.length,r.hasChanges=r.changeCount>0,r}
9606isEqual(e,i){if(e===i)return!0;if(e===null||i===null||e===void 0||i===void 0||typeof e!=typeof i)return!1;if(Array.isArray(e)&&Array.isArray(i)){if(e.length!==i.length)return!1;for(let r=0;r<e.length;r++)if(!this.isEqual(e[r],i[r]))return!1;return!0}if(typeof e=="object"&&typeof i=="object"&&e!==null&&i!==null){let r=e,a=i,o=Object.keys(r),s=Object.keys(a);if(o.length!==s.length)return!1;for(let l of o)if(!s.includes(l)||!this.isEqual(r[l],a[l]))return!1;return!0}return e===i}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Bce=(()=>{class t{notificationQueue$=new te;authService=f(hk);firebaseService=f($c);changeDetectionService=f(Lce);constructor(){this.notificationQueue$.subscribe(e=>{this.writeToNotificationQueue(e)})}saveDocument(e,i,r,a){return S(this,null,function*(){let o=this.authService.getUserSignedIn();if(!o)throw new Error("User must be authenticated to save documents");let s=vi(this.firebaseService.firestore,e),l=yield Nn(s),c=l.exists()?l.data():null;yield Yn(s,i,r||{}),yield this.processDocumentChange(e,c,i,o.uid,o.displayName||o.email||"Unknown User",a)})}updateDocument(e,i,r){return S(this,null,function*(){let a=this.authService.getUserSignedIn();if(!a)throw new Error("User must be authenticated to update documents");let o=vi(this.firebaseService.firestore,e),s=yield Nn(o),l=s.exists()?s.data():null;yield xD(o,i);let c=H(H({},l),i);yield this.processDocumentChange(e,l,c,a.uid,a.displayName||a.email||"Unknown User",r)})}addDocument(e,i,r){return S(this,null,function*(){let a=this.authService.getUserSignedIn();if(!a)throw new Error("User must be authenticated to add documents");let o=Mr(this.firebaseService.firestore,e),s=yield Gl(o,i),l=`${e}/${s.id}`;return yield this.processDocumentChange(l,null,i,a.uid,a.displayName||a.email||"Unknown User",r),s})}notifySubscribers(e,i){return S(this,null,function*(){let r=this.authService.getUserSignedIn();if(!r||!(yield this.checkForSubscribers(e)))return;let o={mainDocumentPath:e,changedDocumentPath:e,subcollectionDepth:0,editorId:r.uid,editorName:r.displayName||r.email||"Unknown User",timestamp:js.fromDate(new Date),changes:[i],changeCount:1,processed:!1};this.notificationQueue$.next(o)})}getNotificationQueue$(){return this.notificationQueue$}processDocumentChange(e,i,r,a,o,s){return S(this,null,function*(){let l=this.changeDetectionService.detectChanges(i,r);if(!l.hasChanges){console.log("No changes.");return}let c=this.extractPathInfo(e);if(s){c.mainDocumentPath=s;let h=e.split("/");c.subcollectionName=h[0]||null,c.subcollectionDepth=1}if(!(yield this.checkForSubscribers(c.mainDocumentPath))){console.log("No subscribers.");return}let u=et(H({mainDocumentPath:c.mainDocumentPath,changedDocumentPath:e},c.subcollectionName&&{subcollectionName:c.subcollectionName}),{subcollectionDepth:c.subcollectionDepth,editorId:a,editorName:o,timestamp:js.fromDate(new Date),changes:l.changeSummary,changeCount:l.changeCount,processed:!1});this.notificationQueue$.next(u)})}extractPathInfo(e){let i=e.split("/"),r=i.length>=2?`${i[0]}/${i[1]}`:e;if(i.length<=2)return{mainDocumentPath:r,subcollectionName:null,subcollectionDepth:0};let a=[];for(let s=2;s<i.length;s+=2)a.push(i[s]);let o=a.length===1?a[0]:a.join("/");return{mainDocumentPath:r,subcollectionName:o,subcollectionDepth:a.length}}checkForSubscribers(e){return S(this,null,function*(){try{let i=`${e}/usersSubscribed`,r=Mr(this.firebaseService.firestore,i);return!(yield Wa(r)).empty}catch(i){return console.warn("Error checking for subscribers:",i),!1}})}writeToNotificationQueue(e){return S(this,null,function*(){try{let i=`queues/notification/${e.editorId}`,r=Mr(this.firebaseService.firestore,i);console.log("queues","notification",e.editorId),yield Gl(r,e)}catch(i){console.error("Error writing to notification queue:",i)}})}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var t3=(()=>{class t{loading$;error$;$objects;paginator;sort;length=9999;hasMorePages=!1;
9606objectsSubject=new Hi([]);loadingSubject=new Hi(!1);errorSubject=new Hi(null);path="";isCollectionGroup=!1;whereField="";whereValue="";sortOrder="asc";sortField="creationDate";whereMapQuery=new Map;whereMapQueryIn=new Map;whereMapQueryPlus=[];whereMapQueryOp=new Map;limitNb=25;hasDataLoaded=!1;firstInResponse;lastInResponse;previousStartAtObjects=[];page=0;pageIndex=0;db=Xr();loggingService;constructor(){this.loading$=this.loadingSubject.asObservable(),this.error$=this.errorSubject.asObservable(),this.$objects=this.objectsSubject.asObservable()}getIsCollectionGroup(){return this.isCollectionGroup}getWhereField(){return this.whereField}getWhereValue(){return this.whereValue}getSortOrder(){return this.sortOrder}getSortField(){return this.sortField}getWhereMapQuery(){return this.whereMapQuery}getWhereMapQueryIn(){return this.whereMapQueryIn}getWhereMapQueryPlus(){return this.whereMapQueryPlus}getWhereMapQueryOp(){return this.whereMapQueryOp}getLimitNb(){return this.limitNb}hasData(){return this.hasDataLoaded}getPage(){return this.page}get objects(){return this.objectsSubject.getValue()}getLength(){return this.length}connect(){return this.objectsSubject.asObservable()}disconnect(){this.objectsSubject.complete(),this.loadingSubject.complete(),this.errorSubject.complete()}ngOnDestroy(){this.objectsSubject.complete(),this.loadingSubject.complete(),this.errorSubject.complete()}reload(){this.load(this.path,this.limitNb,this.sortField,this.sortOrder,this.whereField,this.whereValue,this.whereMapQuery,this.whereMapQueryIn,this.whereMapQueryPlus,this.whereMapQueryOp,void 0,this.isCollectionGroup)}load(e,i=5,r="creationDate",a,o,s,l,c,d,u,h,m,g){this.loggingService=h,this.whereField="",this.whereValue="",this.whereMapQuery=new Map,this.whereMapQueryIn=new Map,this.whereMapQueryPlus=[],this.isCollectionGroup=!1,o&&(this.whereField=o),s&&(this.whereValue=s),l&&(this.whereMapQuery=l),c&&(this.whereMapQueryIn=c),d&&(this.whereMapQueryPlus=d),u&&(this.whereMapQueryOp=u),m&&(this.isCollectionGroup=m),this.path=e,this.limitNb=i,this.sortField=r,this.sortOrder=a,g!==void 0?(this.pageIndex=g,this.page=g):(this.pageIndex=0,this.page=0),this.length=9999,m&&g!==void 0&&g>0||(this.firstInResponse=void 0,this.lastInResponse=void 0,this.previousStartAtObjects=[]),this.errorSubject.next(null),this.loadingSubject.next(!0);try{this.queryDatabase(e,i,r,a,o,s,l,c,d,u,void 0,void 0,void 0,this.isCollectionGroup,this.pageIndex).pipe(po(_=>{throw this.errorSubject.next(_),this.loggingService&&this.loggingService?.error(_,"Could not access data (missing or insufficient permissions?). Contact your administrator."),_}),go(()=>this.loadingSubject.next(!1))).subscribe(_=>{this.previousStartAtObjects=[],this.firstInResponse&&this.pushPreviousStartAtObject(this.firstInResponse),this.hasDataLoaded=!0,_.length<this.limitNb&&(this.length=this.page*this.limitNb,this.length=this.length+_.length),this.objectsSubject.next(_),console.log("objects",_)})}catch(_){console.error(_,"GO")}}next(){this.loadingSubject.next(!0),this.queryDatabase(this.path,this.limitNb,this.sortField,this.sortOrder,this.whereField,this.whereValue,this.whereMapQuery,this.whereMapQueryIn,this.whereMapQueryPlus,this.whereMapQueryOp,this.lastInResponse,void 0,void 0,this.isCollectionGroup).pipe(po(e=>{throw this.loggingService&&this.loggingService?.error(e,"Could not access data (missing or insufficient permissions?). Contact your administrator."),e}),go(()=>this.loadingSubject.next(!1))).subscribe(e=>{this.page++,this.firstInResponse&&this.pushPreviousStartAtObject(this.firstInResponse),e.length<this.limitNb&&(this.length=this.page*this.limitNb,this.length=this.length+e.length),this.objectsSubject.next(e)})}previous(){this.loadingSubject.next(!0),this.queryDatabase(this.path,this.limitNb,this.sortField,this.sortOrder,this.whereField,this.whereValue,this.whereMapQuery,this.whereMapQueryIn,this.whereMapQueryPlus,this.whereMapQueryOp,void 0,this.getPreviousStartAtObject(),this.firstInResponse,this.isCollectionGroup).pipe(po(()=>{throw"Query error"}),go(()=>this.loadingSubject.next(!1))).subscribe(e=>{this.page--,this.firstInResponse&&this.popPreviousStartAtObject(this.firstInResponse),this.objectsSubject.next(e)})}
9606pushPreviousStartAtObject(e){e&&this.previousStartAtObjects?.push(e)}popPreviousStartAtObject(e){this.previousStartAtObjects?.forEach(i=>{i&&e.id==i.id&&(i=void 0)})}getPreviousStartAtObject(){return this.previousStartAtObjects&&this.previousStartAtObjects.length>this.page+1&&this.previousStartAtObjects.splice(this.previousStartAtObjects.length-2,this.previousStartAtObjects.length-1),this.previousStartAtObjects?this.previousStartAtObjects[this.page-1]:void 0}queryDatabase(e,i=5,r="creationDate",a,o,s,l,c,d,u,h,m,g,_,p){let v;_==!0?v="Query Collection Group : "+e:v="Query Collection : "+e,a||(a="desc");let b=[];if(r&&(b.push(gh(r,a)),v=v+" orderBy "+r+" "+a),_&&p&&p>0){let A=p*i+i+1;b.push(ap(A)),v=v+` [Collection Group - fetching ${A} (incl. lookahead) to skip to page ${p}]`}else _?(b.push(ap(i+1)),v=v+` limit ${i+1} (incl. lookahead)`):i&&(b.push(ap(i)),v=v+" limit "+i);if(u&&u.size>0)for(let A of u.keys()){let C=u.get(A);if(C)for(let M of C.keys())(A=="in"||A=="!="||A=="<"||A=="<="||A==">"||A==">="||A=="not-in")&&(r=M),b.push(va(M,A,C.get(M))),v=v+" where "+M+" "+A+" "+C.get(M)}if(l&&l.size>0)for(let A of l.keys())(l.get(A)??null)!==null&&(b.push(va(A,"==",l.get(A))),v=v+" where "+A+" == "+l.get(A));if(c&&c.size>0)for(let A of c.keys())c.get(A)&&(b.push(va(A,"array-contains",c.get(A))),v=v+" where "+A+" array-contains ["+c.get(A)+"]");d&&d.length>0&&d.map(A=>{b.push(va(A.key,A.operator,A.value)),v=v+" where "+A.key+A.operator+A.value}),o&&s!=null&&s.length>0&&(o=="keywords"?(b.push(va(o,"array-contains",s.toLowerCase())),v=v+" where "+o+" array-contains ["+s.toLowerCase()+"]"):(b.push(va(o,"==",s)),v=v+" where "+o+"=="+s)),h&&(b.push(bD(h)),v=v+" startAfter "+h),m&&(b.push(vD(m)),v=v+" startAt "+m),g&&(b.push(yD(g)),v=v+" endBefore "+g);let y;_?y=ph(this.db,e):y=Mr(this.db,e);let E=Hs(y,...b);return Ri(Wa(E).then(A=>{if(A.docs.length==0)return[];if(console.log("Data available : "+A.size),_){let C,M=!1;if(p&&p>0){let L=p*i,V=L+i;M=A.docs.length>(p+1)*i,C=A.docs.slice(L,V)}else M=A.docs.length>i,C=A.docs.slice(0,i);return C.length===0?[]:(console.log(`Collection Group: Showing ${C.length} docs for page ${p||0}, hasMorePages: ${M}`),this.firstInResponse=C[0],this.lastInResponse=C[C.length-1],this.hasMorePages=M,M?this.length=((p||0)+1)*i+1:this.length=(p||0)*i+C.length,C.map(L=>H({id:L.id},L.data())))}return this.firstInResponse=A.docs[0],this.lastInResponse=A.docs[A.docs.length-1],A.docs.map(C=>H({id:C.id},C.data()))}).catch(A=>{throw new Error(A)}))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vce=(()=>{class t{firebaseService=f($c);dialog=f(Zd);loggingService=f(Nv);getFileIcon(e){return e?e.includes("image")?"image":e.includes("pdf")?"picture_as_pdf":e.includes("audio")?"audio_file":e.includes("video")?"video_file":e.includes("text")||e.includes("document")?"description":"insert_drive_file":"insert_drive_file"}getIconColorClass(e,i){return e?e.includes("image")?`${i}__icon-image`:e.includes("pdf")?`${i}__icon-pdf`:e.includes("audio")?`${i}__icon-audio`:e.includes("video")?`${i}__icon-video`:e.includes("text")||e.includes("document")?`${i}__icon-document`:`${i}__icon-default`:"icon-default"}uploadFiles(e,i){return S(this,null,function*(){let r=this.firebaseService.storage,a=[],o=[],s=[];for(let l of Array.from(e)){let c=Ra(r,`${i}/${l.name}`),d=sw(c,l);a.push({file:l.name,progress:0});let u=new Promise((h,m)=>{d.on("state_changed",g=>{let _=g.bytesTransferred/g.totalBytes*100,p=a.findIndex(v=>v.file===l.name);p!==-1&&(a[p].progress=Math.round(_))},g=>{console.error("Upload error:",g),m(g)},()=>S(this,null,function*(){try{let g=yield wc(d.snapshot.ref),_={name:l.name,path:d.snapshot.ref.fullPath,url:g,size:l.size,contentType:l.type,timeCreated:new Date().toISOString()};o.push(_),h()}catch(g){m(g)}}))});s.push(u)}return yield Promise.all(s),{uploads:[],documents:o}})}loadFiles(e,i){return S(this,null,function*(){let r=[],a=Ra(this.firebaseService.storage,e+"/"+i),o=yield $m(a);for(let s of o.items){let l=yield wc(s),c=yield vu(s);c.contentType||(c.contentType="document");let d={name:s.name,path:s.fullPath,url:l,size:c.size,contentType:c.contentType,timeCreated:c.timeCreated,metadata:c};r.push(d)}return{isLoading:!1,files:r}})}downloadFile(e){window.open(e.url,"_blank")}deleteFile(e,i){return S(this,null,function*(){let r=this.dialog.open($ce,{data:{title:"Confirm Delete",message:`Are you sure you want to delete ${e.name}? This action cannot be undone.`,actions:{firstButton:"Cancel",secondButton:"Delete"}}});if((yield bk(r.afterClosed()))==="Delete")try{let o=this.firebaseService.storage,s=Ra(o,e.path);return yield lw(s),this.loggingService.message("File deleted"),i.filter(l=>l!==e)}catch(o){return this.loggingService.error(o,"Error deleting file"),i}return i})}renameFile(e){return S(this,null,function*(){this.dialog.open(Wce,{width:"300px",data:{currentName:e.name}}).afterClosed().subscribe(r=>S(this,null,function*(){if(r&&r!==e.name)try{let a=this.firebaseService.storage,o=Ra(a,e.path),s=e.path.replace(e.name,r),l=Ra(a,s),c=yield ZR(o);yield JR(l,c),yield lw(o)}catch(a){this.loggingService.message("Error renaming file"),console.error("Error renaming file:",a)}}))})}updateFileMetadata(e,i){return S(this,null,function*(){try{let r=Ra(this.firebaseService.storage,e);return yield eP(r,{customMetadata:{description:i??""}})}catch(r){throw console.error("Error updating metadata:",r),r}})}formatDate(e){let i=new Date(e),a=Math.abs(new Date().getTime()-i.getTime())/36e5;return a<24?i.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):a<48?"Yesterday, "+Math.round(a)+" hrs ago":a<168?i.toLocaleDateString([],{weekday:"long"}):i.toLocaleDateString([],{year:"numeric",month:"short",day:"numeric"})}formatFileSize(e){if(e===0)return"0 Bytes";let i=1024,r=["Bytes","KB","MB","GB"],a=Math.floor(Math.log(e)/Math.log(i));return parseFloat((e/Math.pow(i,a)).toFixed(2))+" "+r[a]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Uce=(()=>{class t extends t3{constructor(){super()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),i3=(()=>{class t{firebaseService=f($c);databaseUtils=f(e3);basePath=f(Fce);getParameterValues(e){let i=Mr(this.firebaseService.firestore,this.basePath(),e,"list"),r=Wa(i);return Ri(r).pipe(ct(a=>{let o={};for(let s of a.docs){let l=s.data();switch(l.value){case"valueNumber":o[s.id]=l.valueNumber??0;break;case"valueString":o[s.id]=l.valueString??"";break;case"valueBoolean":o[s.id]=l.valueBoolean==="true";break}}return o}
9606))}getParameter(e){let i=this.basePath()+"/"+e,r=vi(this.firebaseService.firestore,i),a=Nn(r);return Ri(a).pipe(ct(o=>H({id:o.id},o.data())))}updateParameter(e,i){let r=this.basePath()+"/",a=vi(this.firebaseService.firestore,r,e);this.databaseUtils.removeUndefinedValuesWithKeys(i),i.keywords=this.databaseUtils.createKeywordsFromList([i.name,i.description]);let o=Yn(a,i);return Ri(o).pipe(ct(()=>"Parameter updated successfully"))}getParameterValue(e,i){let r=this.basePath()+"/"+e+"/list/"+i,a=vi(this.firebaseService.firestore,r),o=Nn(a);return Ri(o).pipe(ct(s=>H({id:s.id},s.data())))}updateParameterValue(e,i,r){let a=this.basePath()+"/"+e+"/list/",o=vi(this.firebaseService.firestore,a,i);this.databaseUtils.removeUndefinedValuesWithKeys(r),r.keywords=this.databaseUtils.createKeywordsFromList([r.name,r.description]);let s=Yn(o,r);return Ri(s).pipe(ct(()=>"Parameter value updated successfully"))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zce=(()=>{class t extends t3{constructor(){super()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jce=(()=>{class t{inputValue="";data=f(hc);dialogRef=f(So);constructor(){this.data.initialValue&&(this.inputValue=this.data.initialValue)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["lib-text-input-dialog"]],decls:12,vars:4,consts:[["mat-dialog-title",""],["appearance","outline",1,"text-input-dialog__form-field","text-input-dialog__form-field--full-width"],["matInput","","cdkFocusInitial","",3,"ngModelChange","ngModel"],["align","end"],["mat-button","","mat-dialog-close",""],["mat-button","","color","primary",3,"mat-dialog-close"]],template:function(i,r){i&1&&(w(0,"h2",0),Q(1),D(),w(2,"mat-dialog-content")(3,"mat-form-field",1)(4,"mat-label"),Q(5),D(),w(6,"textarea",2),$l("ngModelChange",function(o){return Hl(r.inputValue,o)||(r.inputValue=o),o}),D()()(),w(7,"mat-dialog-actions",3)(8,"button",4),Q(9,"Cancel"),D(),w(10,"button",5),Q(11," Save "),D()()),i&2&&(T(),Bt(r.data.title),T(4),Bt(r.data.label),T(),jl("ngModel",r.inputValue),T(4),se("mat-dialog-close",r.inputValue))},dependencies:[iu,Jd,eu,tu,mc,sa,oa,io,tx,us,cc,W0,al,rl,Qn,ia],styles:[".text-input-dialog__form-field--full-width[_ngcontent-%COMP%]{width:100%}"]})}return t})(),BAe=(()=>{class t{referenceCollection;referenceId;readOnlyMode=!1;activities;activity;fileUploaded=new ne;openActivity=new ne;files=[];isDragging=!1;uploads=[];searchControl=new el("");currentFilter="all";filteredFiles=[];isLoading=!1;dialog=f(Zd);authService=f(hk);firebaseService=f($c);databaseUtilsService=f(e3);iconRegistry=f(w0);sanitizer=f(Xl);router=f(In);activatedRoute=f(Pr);loggingService=f(Nv);documentService=f(Vce);documentSaveInterceptorService=f(Bce);constructor(){this.setupSearch()}ngOnInit(){return S(this,null,function*(){this.activity&&(this.activities=new Map,this.activities.set(this.activity.id,this.activity)),this.activities||(yield this.loadActivities()),yield this.loadFilesAndActivities(),this.filteredFiles=this.files})}ngOnChanges(){this.applyFilters()}clearSearch(){this.searchControl.setValue(""),this.currentFilter="all",this.applyFilters()}setFilter(e){this.currentFilter=e,this.applyFilters()}openActivityDialog(e){this.activities&&this.openActivity.emit(e)}onFileSelected(e){let r=e.target.files;r&&this.uploadFiles(r)}uploadFiles(e){return S(this,null,function*(){let i=this.firebaseService.storage;for(let r of Array.from(e)){let a;this.referenceCollection&&this.referenceId?a=Ra(i,`${this.referenceCollection}/${this.referenceId}/uploads/${r.name}`):a=Ra(i,`uploads/${r.name}`);let o=sw(a,r);this.uploads.push({file:r.name,progress:0}),o.on("state_changed",s=>{let l=s.bytesTransferred/s.totalBytes*100,c=this.uploads.findIndex(d=>d.file===r.name);c!==-1&&(this.uploads[c].progress=Math.round(l))},s=>{console.error("Upload error:",s),this.uploads=this.uploads.filter(l=>l.file!==r.name)},()=>S(this,null,function*(){let s=yield wc(o.snapshot.ref),l=yield vu(o.snapshot.ref),c={name:r.name,path:o.snapshot.ref.fullPath,url:s,size:r.size,contentType:r.type,timeCreated:new Date().toISOString(),metadata:l};this.files.push(c),this.applyFilters(),this.fileUploaded.emit(c),this.notifyParentSubscribers(`File uploaded: ${r.name}`),this.uploads=this.uploads.filter(d=>d.file!==r.name)}))}})}onDragOver(e){e.preventDefault(),e.stopPropagation(),this.isDragging=!0}onDragLeave(e){e.preventDefault(),e.stopPropagation(),this.isDragging=!1}onDrop(e){e.preventDefault(),e.stopPropagation(),this.isDragging=!1;let i=e.dataTransfer?.files;i&&this.uploadFiles(i)}getFileIcon(e){return this.documentService.getFileIcon(e)}getIconColorClass(e){return this.documentService.getIconColorClass(e,"attachment-list")}formatFileSize(e){return this.documentService.formatFileSize(e)}downloadFile(e){this.documentService.downloadFile(e)}deleteFile(e){return S(this,null,function*(){this.files=yield this.documentService.deleteFile(e,this.files),this.applyFilters(),this.notifyParentSubscribers(`File deleted: ${e.name}`)})}renameFile(e){return S(this,null,function*(){yield this.documentService.renameFile(e),this.notifyParentSubscribers(`File renamed: ${e.name}`)})}updateFileMetadata(e,i){return S(this,null,function*(){return yield this.documentService.updateFileMetadata(e,i)})}openDescriptionDialog(e){this.dialog.open(jce,{width:"300px",data:{title:"Enter File Description",label:"Description",initialValue:e.metadata?.customMetadata?.description||""}}).afterClosed().subscribe(r=>S(this,null,function*(){if(r!==void 0)try{yield this.updateFileMetadata(e.path,r),e.metadata.customMetadata.description=r,this.loggingService.message("Description updated successfully")}catch(a){this.loggingService.message("Error updating description")}}))}formatDate(e){return this.documentService.formatDate(e)}
9606applyFilters(){let e=[...this.files];e.sort((r,a)=>new Date(a.timeCreated).getTime()-new Date(r.timeCreated).getTime());let i=this.searchControl.value?.toLowerCase();i&&(e=e.filter(r=>r.name.toLowerCase().includes(i)||(r.contentType??"").toLowerCase().includes(i))),this.currentFilter!=="all"&&(e=e.filter(r=>(r.contentType??"").toLowerCase().includes(this.currentFilter))),this.filteredFiles=e}loadActivities(){return S(this,null,function*(){let e=new Map,i=[gh("creationDate","asc")];this.referenceId&&this.referenceCollection&&(i.unshift(va("referenceId","==",this.referenceId)),i.unshift(va("referenceCollection","==",this.referenceCollection)));let r=Hs(Mr(this.firebaseService.firestore,"/activities/"),...i),a=yield Wa(r);for(let o of a.docs){let s=H({id:o.id},o.data());e.set(o.id,s)}this.activities=e})}loadFilesAndActivities(){return S(this,null,function*(){this.isLoading=!0;let e=[];if(this.referenceCollection&&this.referenceId){let i=Ra(this.firebaseService.storage,`${this.referenceCollection}/${this.referenceId}`);try{let r=yield $m(i);for(let a of r.items){let o=yield wc(a),s=yield vu(a);s.contentType||(s.contentType="document"),e.push({name:a.name,path:a.fullPath,url:o,size:s.size,contentType:s.contentType,timeCreated:s.timeCreated,metadata:s})}}catch(r){}}if(this.referenceCollection&&this.referenceId){let i=Ra(this.firebaseService.storage,`${this.referenceCollection}/${this.referenceId}/uploads`);try{let r=yield $m(i);for(let a of r.items){let o=yield wc(a),s=yield vu(a);s.contentType||(s.contentType="document"),e.push({name:a.name,path:a.fullPath,url:o,size:s.size,contentType:s.contentType,timeCreated:s.timeCreated,metadata:s})}}catch(r){}}if(this.activities)for(let i of this.activities.values()){let r=Ra(this.firebaseService.storage,"activities/"+i.id+"/uploads");try{let a=yield $m(r);for(let o of a.items){let s=yield wc(o),l=yield vu(o);l.contentType||(l.contentType="document"),e.push({name:o.name,path:o.fullPath,url:s,size:l.size,contentType:l.contentType,timeCreated:l.timeCreated,metadata:l})}}catch(a){}}this.files=e,this.isLoading=!1})}notifyParentSubscribers(e){if(!this.referenceCollection||!this.referenceId)return;let i=`${this.referenceCollection}/${this.referenceId}`;
9606this.documentSaveInterceptorService.notifySubscribers(i,e).catch(r=>console.error("Error notifying subscribers:",r))}setupSearch(){this.searchControl.valueChanges.pipe(dr(300),Os()).subscribe(()=>{this.applyFilters()})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["lib-attachment-list"]],inputs:{referenceCollection:"referenceCollection",referenceId:"referenceId",readOnlyMode:"readOnlyMode",activities:"activities",activity:"activity"},outputs:{fileUploaded:"fileUploaded",openActivity:"openActivity"},features:[lt],decls:1,vars:1,consts:[["filterMenu","matMenu"],["menu","matMenu"],["fileInput",""],[1,"attachment-list__container"],[1,"attachment-list__container-main"],[1,"attachment-list__search-container"],[1,"attachment-list__loading-container"],[1,"attachment-list__no-results"],[1,"attachment-list__file-list-container"],[1,"attachment-list__file-list-item"],[1,"attachment-list__upload-zone",3,"drag-active"],[1,"attachment-list__upload-progress"],["appearance","outline",1,"attachment-list__search-field"],["matPrefix",""],["matInput","","placeholder","Search files...",3,"formControl"],["matSuffix","",1,"attachment-list__suffix-buttons"],["mat-icon-button",""],["mat-icon-button","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],["mat-icon-button","",3,"click"],["diameter","40"],[1,"attachment-list__loading-text"],[1,"attachment-list__no-results-icon"],["matListItemIcon","",3,"class"],["matListItemTitle","",1,"attachment-list__file-name",3,"click"],["matListItemLine","",1,"attachment-list__file-details"],["matListItemLine","",1,"attachment-list__file-description"],["mat-icon-button","","matListItemMeta","",3,"matMenuTriggerFor"],["matListItemIcon",""],[1,"attachment-list__upload-zone",3,"dragover","dragleave","drop"],["type","file","hidden","",3,"change","multiple"],["mat-raised-button","","color","primary",1,"attachment-list__upload-button",3,"click"],[1,"attachment-list__upload-text"],["mode","determinate",3,"value"]],template:function(i,r){i&1&&pe(0,kle,13,4,"div",3),i&2&&ge(r.files?0:-1)},dependencies:[sa,oa,Q0,gm,pm,us,cc,G0,ss,os,Qn,ia,Za,uP,yu,Gm,dP,cP,oP,sP,hw,Yg,qg,uw,tg,hx,mP,pw,al,rl],styles:[".attachment-list__search-container[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center;justify-content:center;padding:16px 16px 0;gap:8px}.attachment-list__search-field[_ngcontent-%COMP%]{width:90%;max-width:300px}.attachment-list__suffix-buttons[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px}.attachment-list__loading-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 16px}.attachment-list__loading-text[_ngcontent-%COMP%]{margin-top:16px;color:#0000008a;font-size:.875rem}.attachment-list__no-results[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;color:#0000008a;text-align:center}.attachment-list__no-results-icon[_ngcontent-%COMP%]{width:48px;height:48px;margin-bottom:8px;font-size:3rem}.attachment-list__file-list-container[_ngcontent-%COMP%]{width:100%;height:100%}.attachment-list__file-list-item[_ngcontent-%COMP%]{cursor:pointer}.attachment-list__file-list-item[_ngcontent-%COMP%]:hover{background:#0000000a}.attachment-list__file-name[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-list__file-details[_ngcontent-%COMP%]{color:#0000008a;font-size:.75rem}.attachment-list__file-description[_ngcontent-%COMP%]{color:#0000008a;font-size:.75rem;font-weight:700}.attachment-list__upload-zone[_ngcontent-%COMP%]{padding:20px;border:2px dashed #ccc;border-radius:4px;margin:16px;text-align:center;transition:all .3s ease}.attachment-list__upload-zone.drag-active[_ngcontent-%COMP%]{border-color:#2196f3;background-color:#2196f31a}.attachment-list__upload-button[_ngcontent-%COMP%]{margin-bottom:8px}.attachment-list__upload-text[_ngcontent-%COMP%]{color:#0000008a;font-size:.875rem}.attachment-list__upload-progress[_ngcontent-%COMP%]{padding:8px 16px}.attachment-list__icon-image[_ngcontent-%COMP%]{color:#4caf50}.attachment-list__icon-pdf[_ngcontent-%COMP%]{color:#f44336}.attachment-list__icon-document[_ngcontent-%COMP%]{color:#2196f3}.attachment-list__icon-audio[_ngcontent-%COMP%]{color:#ff9800}.attachment-list__icon-video[_ngcontent-%COMP%]{color:#9c27b0}.attachment-list__icon-default[_ngcontent-%COMP%]{color:#757575}"]})}return t})(),mk=(()=>{class t{detailPageToolBar;savingState;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["lib-detail-page-toolbar"]],inputs:{detailPageToolBar:"detailPageToolBar",savingState:"savingState"},ngContentSelectors:Ele,decls:17,vars:4,consts:[[1,"detail-page-toolbar__content"],[1,"detail-page-toolbar__title-container"],[1,"detail-page-toolbar__title-icon-container"],[1,"detail-page-toolbar__title-icon"],[1,"detail-page-toolbar__title"],[1,"detail-page-toolbar__title-text"],[1,"detail-page-toolbar__auto-save-indicator"],[1,"detail-page-toolbar__buttons-container"],[1,"detail-page-toolbar__auto-save-indicator--saving"],[1,"detail-page-toolbar__auto-save-indicator--saved"],[1,"detail-page-toolbar__auto-save-indicator--saved-stale"],[1,"detail-page-toolbar__auto-save-indicator--error"]],template:function(i,r){i&1&&(Ge(Dle),w(0,"mat-toolbar",0)(1,"div",1)(2,"div",2)(3,"div")(4,"mat-icon",3),Q(5),D()(),w(6,"div")(7,"div",4),Q(8),D(),w(9,"div",5)(10,"span"),Q(11),D()()(),pe(12,Rle,5,1,"span",6),D(),w(13,"div"),_e(14),D()(),w(15,"div",7),_e(16,1),D()()),i&2&&(T(5),Bt(r.detailPageToolBar==null?null:r.detailPageToolBar.icon),T(3),Jt(" ",r.detailPageToolBar==null?null:r.detailPageToolBar.label," "),T(3),Bt(r.detailPageToolBar==null?null:r.detailPageToolBar.text),T(),ge(r.savingState&&r.savingState!=="idle"?12:-1))},dependencies:[ZI,QI,ss,os,Qn],styles:[".detail-page-toolbar__content[_ngcontent-%COMP%]{display:flex;margin:10px 0;flex-direction:row;align-items:center;justify-content:space-between;background-color:transparent}.detail-page-toolbar__title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px}.detail-page-toolbar__title-icon-container[_ngcontent-%COMP%]{display:flex;gap:10px}.detail-page-toolbar__title-icon[_ngcontent-%COMP%]{width:50px;height:100%;padding-right:30px;font-size:3.125rem}.detail-page-toolbar__title[_ngcontent-%COMP%]{font-size:1.25rem}.detail-page-toolbar__title-text[_ngcontent-%COMP%]{font-size:1rem}.detail-page-toolbar__auto-save-indicator[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:13px;min-width:100px;padding:0 8px}.detail-page-toolbar__auto-save-indicator--saving[_ngcontent-%COMP%]{color:#1976d2}.detail-page-toolbar__auto-save-indicator--saved[_ngcontent-%COMP%]{color:#2e7d32}.detail-page-toolbar__auto-save-indicator--saved-stale[_ngcontent-%COMP%]{color:#9e9e9e}.detail-page-toolbar__auto-save-indicator--error[_ngcontent-%COMP%]{color:#d32f2f}.detail-page-toolbar__buttons-container[_ngcontent-%COMP%]{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:flex-end;
9606gap:20px}"]})}return t})();var VAe=(()=>{class t{statusChange=new ne;progressBarStatus=[];selectedStatus;loggingService=f(Nv);updateStatus(e){let i=this.progressBarStatus.find(r=>r.value===e.value);i&&!i.isDisable?(this.selectedStatus=i,this.statusChange.emit(this.selectedStatus)):this.loggingService.message("This option is currently unavailable")}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["lib-progress-bar"]],inputs:{progressBarStatus:"progressBarStatus",selectedStatus:"selectedStatus"},outputs:{statusChange:"statusChange"},decls:4,vars:0,consts:[[1,"status-bar"],[1,"status-chevrons"],[3,"current","complete","last-child","matTooltip","matTooltipPosition"],[3,"click","matTooltip","matTooltipPosition"]],template:function(i,r){i&1&&(w(0,"div",0)(1,"div",1),tn(2,Ple,3,10,"div",2,J4),D()()),i&2&&(T(2),nn(r.progressBarStatus))},dependencies:[A0,Js],styles:['.status-chevrons[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:space-between;padding:20px;border-bottom:var(--accent-color) 3px solid;cursor:pointer}.status-chevrons[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{position:relative;display:flex;width:100%;height:40px;align-items:center;justify-content:center;padding-left:30px;margin-right:20px;background:var(--primary-color);color:#fff}.status-chevrons[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:before{position:absolute;right:-20px;bottom:0;width:0;height:0;border-top:20px solid transparent;border-bottom:20px solid transparent;border-left:20px solid var(--primary-color);content:""}.status-chevrons[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:after{position:absolute;bottom:0;left:0;width:0;height:0;border-top:20px solid transparent;border-bottom:20px solid transparent;border-left:20px solid #fff;content:""}.status-chevrons[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(1){border-radius:10px 0 0 10px}.status-chevrons[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(1):after{border:none}.status-chevrons[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:last-child{border-radius:0 10px 10px 0;margin-right:0}.status-chevrons[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:last-child:before{border:none}.status-chevrons[_ngcontent-%COMP%]   div.current[_ngcontent-%COMP%]{background:var(--accent-color);color:#fff}.status-chevrons[_ngcontent-%COMP%]   div.current[_ngcontent-%COMP%]:before{border-left-color:var(--accent-color)}.status-chevrons[_ngcontent-%COMP%]   div.complete[_ngcontent-%COMP%]{background:#00000016;color:#fff;color:#000}.status-chevrons[_ngcontent-%COMP%]   div.complete[_ngcontent-%COMP%]:before{border-left-color:#00000016}']})}return t})(),Hce=(()=>{class t{columnName;templateRef=f(At);static \u0275fac=function(i){return new(i||t)};static \u0275dir=G({type:t,selectors:[["","libColumnTemplate",""]],inputs:{columnName:[0,"libColumnTemplate","columnName"]}})}return t})(),uk=class extends Sw{dataSource;isCollectionGroup;constructor(n,e){super(),this.dataSource=n,this.isCollectionGroup=e}getRangeLabel=(n,e,i)=>{if(i===0||e===0)return"0 of 0";let r=n*e,a=Math.min(r+e,i);return this.isCollectionGroup&&this.dataSource.hasMorePages?`${r+1} - ${a} of ${a+1}+`:!this.isCollectionGroup&&i===9999?`${r+1} - ${a} of ${a+1}+`:`${r+1} - ${a} of ${i}`}},n3=(()=>{class t{selectionTable;sort;columnTemplateDefs;forceRefresh=!1;enableSearch=!0;showNewButton=!1;displayedColumns;displayedColumnsHeaders;dataSource;collectionPath;documentRoute;collectionId;dropDownFilter;selectedFilter;booleanValues;loggingService;defaultPageSize=15;numberOfObjects=0;isPaginationDisabled=!1;hidePageSize=!1;defaultSortField="creationDate";defaultSortOrder="desc";searchText="";whereField="";whereValue="";whereMapQuery=new Map;whereMapQueryIn=new Map;whereMapQueryPlus=[];isCollectionGroup=!1;initialSelection;allowMultiSelect=!1;useSelectionModel=!1;sortableColumns;showExportButton=!1;dropDownFilterSelectionChange=new ne;exportMonitoringAnalyticsData=new ne;paginator;hasCreatePermission;hasGetPermission;hasListPermission;hasDeletePermission;displayedColumnsWithSelect;pageEvent;defaultPageIndex=0;pageSizeOptions=[1,5,10,15,25,100];showPageSizeOptions=!0;showFirstLastButtons=!0;currentActivitiesToShow;selectedObjects=[];selection;selectedObject;objectsList=[];authService=f(hk);data=f(hc,{optional:!0});dialogRef=f(So,{optional:!0});searchTextInputElement;searchSubscription;subscription=new tt;router=f(In);lastSearchedValue="";set paginatorRef(e){e&&e!==this.paginator&&(this.paginator=e,this.setupPaginator())}set searchTextInput(e){e&&e!==this.searchTextInputElement&&(this.searchTextInputElement=e,this.setupSearchListener())}set filter(e){this.whereField=e.field,this.whereValue=e.value,this.load()}constructor(){if(this.data){this.useSelectionModel=!0;let e=this.data.dialogData;this.collectionId=this.data.collectionId,this.dataSource=e.dataSource,this.displayedColumns=e.displayedColumns,this.displayedColumnsHeaders=e.displayedColumnsHeaders,this.collectionPath=e.collectionPath,this.documentRoute=e.documentRoute,e.sortField&&(this.defaultSortField=e.sortField),e.sortOrder&&(this.defaultSortOrder=e.sortOrder),e.searchText&&(this.searchText=e.searchText),e.whereField&&(this.whereField=e.whereField),e.
9606whereValue&&(this.whereValue=e.whereValue),e.whereMapQuery&&(this.whereMapQuery=e.whereMapQuery),e.whereMapQueryIn&&(this.whereMapQueryIn=e.whereMapQueryIn),e.whereMapQueryPlus&&(this.whereMapQueryPlus=e.whereMapQueryPlus),e.initialSelection&&(this.initialSelection=e.initialSelection),e.allowMultiSelect!=null&&(this.allowMultiSelect=e.allowMultiSelect),e.isCollectionGroup!=null&&(this.isCollectionGroup=e.isCollectionGroup),e.booleanValues!=null&&(this.booleanValues=e.booleanValues),this.forceRefresh&&this.load()}this.displayedColumns&&(this.displayedColumnsWithSelect=this.displayedColumns.slice())}ngOnInit(){return S(this,null,function*(){if(!this.collectionId)throw new Error("ObjectListComponent: [collectionId] input is required but was not provided.");if(this.collectionId&&(this.hasCreatePermission=yield this.authService.hasPermission(this.collectionId,"create"),this.hasDeletePermission=yield this.authService.hasPermission(this.collectionId,"delete"),this.hasGetPermission=yield this.authService.hasPermission(this.collectionId,"get"),this.hasListPermission=yield this.authService.hasPermission(this.collectionId,"list")),this.dataSource&&this.dataSource.hasData()&&!this.forceRefresh?(this.whereField=this.dataSource.getWhereField(),this.whereValue=this.dataSource.getWhereValue(),this.whereMapQuery=this.dataSource.getWhereMapQuery(),this.whereMapQueryIn=this.dataSource.getWhereMapQueryIn(),this.whereMapQueryPlus=this.dataSource.getWhereMapQueryPlus(),this.defaultSortField=this.dataSource.getSortField(),this.defaultSortOrder=this.dataSource.getSortOrder(),this.defaultPageSize=this.dataSource.getLimitNb(),this.defaultPageIndex=this.dataSource.getPage(),this.isCollectionGroup=this.dataSource.getIsCollectionGroup()):this.load(),this.dataSource?.error$&&this.subscription.add(this.dataSource.error$.subscribe(e=>{if(e){let i=e?.message?.toLowerCase()??"";(i.includes("permission")||i.includes("unauthorized")||i.includes("unauthenticated"))&&(this.hasListPermission=!1)}})),this.displayedColumnsWithSelect=this.displayedColumns.slice(),this.useSelectionModel&&this.dialogRef){this.dialogRef.updateSize("80%","80%"),this.displayedColumnsWithSelect.unshift("select");let e=[];
9606if(this.initialSelection)for(let i of this.initialSelection)e.push(i.id),this.selectedObjects.push(i);this.selection=new Ta(this.allowMultiSelect,e)}})}ngOnDestroy(){this.subscription.unsubscribe()}isDate(e){try{if(e instanceof Date)return e;if(e instanceof js)return e.toDate()}catch(i){return}}ngAfterViewInit(){this.sort&&this.subscription.add(this.sort.sortChange.subscribe(()=>{this.paginator&&(this.paginator.pageIndex=0),this.load()}))}onDropdownFilterSelectionChange(e){this.selectedFilter=e.value,this.dropDownFilterSelectionChange.emit(e)}onRemoveSelection(e){if(this.selection&&this.useSelectionModel&&this.allowMultiSelect){this.selection.toggle(e.id);let i=this.selectedObjects.indexOf(e);this.selectedObjects.splice(i,1),this.selectionTable&&this.selectionTable.renderRows()}}select(e){return S(this,null,function*(){if(this.selection&&this.useSelectionModel&&this.allowMultiSelect)if(this.selection.toggle(e.id),this.selection.isSelected(e.id))this.selectedObjects.push(e),this.selectionTable&&this.selectionTable.renderRows();else{let i=this.selectedObjects.indexOf(e);this.selectedObjects.splice(i,1),this.selectionTable&&this.selectionTable.renderRows()}else this.selection&&this.useSelectionModel&&!this.allowMultiSelect?(this.selection.toggle(e.id),this.selectedObject=e,this.selectedObjects=[e]):(this.selectedObject=e,this.selectedObjects=[e],yield this.router.navigate([this.documentRoute+"/"+e.id]))})}onClickCancel(){this.dialogRef&&this.dialogRef.close()}onClickView(e){this.router.navigate([this.documentRoute+"/"+e.id])}getPropertyValue(e,i){return i.includes(".")?this.getNestedPropertyValue(e,i):e[i]}getNestedPropertyValue(e,i){if(!e||!i)return"";let r=i.split("."),a=e;for(let o of r)if(a&&typeof a=="object"&&o in a)a=a[o];else return"";return a||""}getColumnTemplate(e){let i=this.columnTemplateDefs?.find(r=>r.columnName===e);return i?i.templateRef:null}getColumnTemplateContext(e,i){return{$implicit:e,column:i}}isBoolean(e){return typeof e=="boolean"}getBooleanValue(e){return e==null?"":this.booleanValues?this.booleanValues.find(i=>i.id===e)?.name??"":String(e)}isSortable(e){return!this.sortableColumns||this.sortableColumns.includes(e)}refresh(e,i){this.whereMapQuery=e,i&&(this.whereMapQueryPlus=i),this.paginator&&(this.paginator.pageIndex=0),this.load()}resetGlobalSearch(){this.searchText="",this.whereField="",this.whereValue=""}exportToExcel(){this.exportMonitoringAnalyticsData.emit(this.dataSource.objects);let e=this.dataSource.objects.map(a=>{let o={};for(let s of this.displayedColumns){let l=a[s];typeof l=="object"&&l!==null&&"toDate"in l?l=l.toDate().toLocaleDateString():l instanceof Date&&(l=l.toLocaleDateString());let c=this.displayedColumns.indexOf(s),d=this.displayedColumnsHeaders[c];o[d]=l}return o}),i=z_.json_to_sheet(e),r=z_.book_new();z_.book_append_sheet(r,i,"Table Data"),QO(r,"table_export.xlsx")}load(){try{if(!this.dataSource)throw new Error("No datasource specified.");let e=this.defaultPageSize;this.paginator&&(e=this.paginator.pageSize);let i=this.defaultSortField;this.sort&&this.sort.active&&(i=this.sort.active);let r=this.defaultSortOrder;this.sort&&(this.sort.direction=="desc"||this.sort.direction=="asc")&&(r=this.sort.direction),this.dataSource.load(this.collectionPath,e,i,r,this.whereField,this.whereValue,this.whereMapQuery,this.whereMapQueryIn,this.whereMapQueryPlus,void 0,this.loggingService,this.isCollectionGroup)}catch(e){if(console.error("Error in load():",e),e instanceof mr)if(this.loggingService)this.loggingService.error(e,"Could not access data (missing or insufficient permissions?). Contact your administrator.");else throw e;else if(this.loggingService)this.loggingService.error(e,"Unknown error. Contact your administrator.");else throw e}}setupPaginator(){if(!this.dataSource)return;let e=new uk(this.dataSource,this.isCollectionGroup);this.paginator._intl=e,this.subscription.add(this.paginator.page.subscribe(i=>{if(!this.dataSource){console.error("DataSource not found!");return}let r=0;i.previousPageIndex!==void 0&&(r=i.previousPageIndex),i.pageSize!==this.dataSource.getLimitNb()?this.load():this.isCollectionGroup?this.loadWithPageIndex(i.pageIndex):r
9606<i.pageIndex?this.dataSource.next():r>i.pageIndex&&this.dataSource.previous()}))}setupSearchListener(){if(this.searchSubscription&&this.searchSubscription.unsubscribe(),this.searchTextInputElement){this.lastSearchedValue=this.searchText;let e=()=>{this.searchText!==this.lastSearchedValue&&(this.lastSearchedValue=this.searchText,this.whereField="keywords",this.whereValue=this.searchText,this.paginator&&(this.paginator.pageIndex=0),this.load())},i=$v(this.searchTextInputElement.nativeElement,"blur").pipe($i(()=>e())).subscribe(),r=$v(this.searchTextInputElement.nativeElement,"keyup").pipe($i(a=>{a.key==="Enter"&&e()})).subscribe();this.subscription.add(i),this.subscription.add(r),this.searchSubscription=i}}loadWithPageIndex(e){try{if(!this.dataSource)throw new Error("No datasource specified.");let i=this.defaultPageSize;this.paginator&&(i=this.paginator.pageSize);let r=this.defaultSortField;this.sort&&this.sort.active&&(r=this.sort.active);let a=this.defaultSortOrder;this.sort&&(this.sort.direction=="desc"||this.sort.direction=="asc")&&(a=this.sort.direction),this.dataSource.load(this.collectionPath,i,r,a,this.whereField,this.whereValue,this.whereMapQuery,this.whereMapQueryIn,this.whereMapQueryPlus,void 0,this.loggingService,this.isCollectionGroup,e)}catch(i){if(console.error("Error in loadWithPageIndex():",i),i instanceof mr)if(this.loggingService)this.loggingService.error(i,"Could not access data (missing or insufficient permissions?). Contact your administrator.");else throw i;else if(this.loggingService)this.loggingService.error(i,"Unknown error. Contact your administrator.");else throw i}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["lib-object-list"]],contentQueries:function(i,r,a){if(i&1&&Tt(a,Hce,4),i&2){let o;ae(o=oe())&&(r.columnTemplateDefs=o)}},viewQuery:function(i,r){if(i&1&&dt(Fle,5)(Ole,5)(Xm,5)(Nle,5),i&2){let a;ae(a=oe())&&(r.selectionTable=a.first),ae(a=oe())&&(r.sort=a.first),ae(a=oe())&&(r.paginatorRef=a.first),ae(a=oe())&&(r.searchTextInput=a.first)}},inputs:{forceRefresh:"forceRefresh",enableSearch:"enableSearch",showNewButton:"showNewButton",displayedColumns:"displayedColumns",displayedColumnsHeaders:"displayedColumnsHeaders",dataSource:"dataSource",collectionPath:"collectionPath",documentRoute:"documentRoute",collectionId:"collectionId",dropDownFilter:"dropDownFilter",selectedFilter:"selectedFilter",booleanValues:"booleanValues",loggingService:"loggingService",defaultPageSize:"defaultPageSize",numberOfObjects:"numberOfObjects",isPaginationDisabled:"isPaginationDisabled",hidePageSize:"hidePageSize",defaultSortField:"defaultSortField",defaultSortOrder:"defaultSortOrder",searchText:"searchText",whereField:"whereField",whereValue:"whereValue",whereMapQuery:"whereMapQuery",whereMapQueryIn:"whereMapQueryIn",whereMapQueryPlus:"whereMapQueryPlus",isCollectionGroup:"isCollectionGroup",initialSelection:"initialSelection",allowMultiSelect:"allowMultiSelect",useSelectionModel:"useSelectionModel",sortableColumns:"sortableColumns",showExportButton:"showExportButton",filter:"filter"},outputs:{dropDownFilterSelectionChange:"dropDownFilterSelectionChange",exportMonitoringAnalyticsData:"exportMonitoringAnalyticsData"},decls:2,vars:1,consts:[["sort","matSort"],["paginator",""],["searchTextInput",""],["selectionTable",""],[1,"object-list__main-container","object-list__no-access-container"],[1,"object-list__no-access-icon"],[1,"object-list__no-access-title"],[1,"object-list__no-access-message"],[1,"object-list__main-container"],[1,"spinner-container"],[1,"object-list__dropdown-filter-container"],["mat-dialog-content","",1,"object-list__content-container"],[1,"object-list__table-container"],[1,"object-list__column-container"],["mat-table","","matSort","","matSortDisableClear","",3,"dataSource","matSortActive","matSortDirection"],["matColumnDef","select"],["mat-row","",3,"table-row-selected","click",4,"matRowDef","matRowDefColumns"],["mat-header-row","",4,"matHeaderRowDef"],[3,"matColumnDef"],["aria-label","Select page",1,"object-list__paginator",3,"length","pageSize","pageIndex","pageSizeOptions"],["mat-raised-button",""],[1,"object-list__icon-middle-arrow-container"],["mat-dialog-actions",""],[1,"object-list__dropdown-filter"],[3,"selectionChange","panelWidth","ngModel"],[3,"value"],["matInput","","placeholder","Search",3,"ngModelChange","ngModel"],["mat-raised-button","","color","primary",3,"routerLink"],[1,"object-list__button-icon"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""],[3,"click","checked"],["mat-row","",3,"click"],["mat-header-row",""],["mat-header-cell","","mat-sort-header",""],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["mat-raised-button","",3,"click"],[1,"mat-icon-middle-arrow"],["mat-table","",1,"mat-elevation-z8",3,"dataSource"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matColumnDef","view"],["matColumnDef","name"],["mat-cell","","class","name-cell",4,"matCellDef"],["matColumnDef","remove"],["mat-row",""],["mat-icon-button","","aria-label","View",3,"click"],[1,"mat-icon-table"],["mat-cell","",1,"name-cell"],["mat-icon-button","","aria-label","Remove",3,"click"],["mat-button","",3,"click"],["mat-button","",3,"mat-dialog-close","disabled"]],template:function(i,r){i&1&&pe(0,Ble,7,0,"div",4)(1,vce,23,25),i&2&&ge(r.hasListPermission===!1?0:1)},dependencies:[tg,hx,sa,oa,io,tx,us,cc,W0,Qn,ia,Za,ss,os,r0,BP,TP,MP,FP,AP,IP,OP,RP,PP,NP,LP,EP,i_,DP,_P,Xm,fP,vw,iu,Jd,tu,mc,al,rl,fy,Ym,qm,vs,xa,_b,vb],styles:[".object-list__main-container[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;padding:20px}.object-list__content-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}.object-list__action-container[_ngcontent-%COMP%]{padding-bottom:20px;
9606display:flex;width:100%;flex-direction:row;justify-content:space-between}.object-list__table-container[_ngcontent-%COMP%]{display:flex;width:100%;height:80%;flex-direction:row;justify-content:space-between}.object-list__column-container[_ngcontent-%COMP%]{width:100%}.object-list__button-icon[_ngcontent-%COMP%]{transform:scale(1.2)}.object-list__icon-middle-arrow-container[_ngcontent-%COMP%]{display:flex;width:200px;flex-direction:row;justify-content:center;margin-top:50px}.object-list__dropdown-filter-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.object-list__dropdown-filter[_ngcontent-%COMP%]{width:24%}@media screen and (max-width:500px){.object-list__dropdown-filter[_ngcontent-%COMP%]{width:100%}}.object-list__no-access-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;background-color:#00000005;border-radius:8px}.object-list__no-access-icon[_ngcontent-%COMP%]{font-size:5rem;width:80px;height:80px;color:#00000014;margin-bottom:16px}.object-list__no-access-title[_ngcontent-%COMP%]{margin:0 0 8px;font-size:1.25rem;font-weight:500;color:#0000008a}.object-list__no-access-message[_ngcontent-%COMP%]{margin:0;font-size:.875rem;color:#00000061;text-align:center;max-width:360px}.spinner-container[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#ffffffb3;z-index:10}.mat-mdc-table[_ngcontent-%COMP%]{width:100%}.mat-icon-middle-arrow[_ngcontent-%COMP%]{width:50px!important;height:50px!important;font-size:3.125rem!important}.mat-mdc-row[_ngcontent-%COMP%]   .mat-mdc-cell[_ngcontent-%COMP%]{border-top:1px solid transparent;border-bottom:1px solid transparent;cursor:pointer}.mat-mdc-row[_ngcontent-%COMP%]:hover   .mat-mdc-cell[_ngcontent-%COMP%]{border-color:currentcolor}.table-row-selected[_ngcontent-%COMP%]{font-weight:700}.mat-icon-table[_ngcontent-%COMP%]{width:28px!important;height:28px!important;font-size:1.75rem!important}.mat-column-remove[_ngcontent-%COMP%]{justify-content:flex-end;text-align:right}.mat-column-select[_ngcontent-%COMP%]{overflow:initial}"]})}return t})();jS.register(...f4);var $ce=(()=>{class t{data=f(hc);dialogRef=f(So);onAction(e){this.dialogRef.close(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["lib-confirmation-dialog"]],decls:9,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","","mat-dialog-close",""],["mat-button","",3,"color"],["mat-button","","cdkFocusInitial","",3,"color"],["mat-button","",3,"click","color"],["mat-button","","cdkFocusInitial","",3,"click","color"]],template:function(i,r){i&1&&(w(0,"h1",0),Q(1),D(),w(2,"div",1),Q(3),D(),w(4,"div",2),pe(5,bce,2,1,"button",3),pe(6,yce,2,2,"button",4),pe(7,xce,2,2,"button",4),pe(8,wce,2,2,"button",5),D()),i&2&&(T(),Bt(r.data.title),T(2),Bt(r.data.message),T(2),ge(r.data.actions.closeButton?5:-1),T(),ge(r.data.actions.thirdSaveButton?6:-1),T(),ge(r.data.actions.secondSaveButton?7:-1),T(),ge(r.data.actions.firstSaveButton?8:-1))},dependencies:[Qn,ia,iu,Jd,eu,tu,mc],encapsulation:2})}return t})();var Wce=(()=>{class t{nameControl=new el("",aa.required);data=f(hc);dialogRef=f(So);constructor(){this.nameControl.setValue(this.data.currentName)}onSubmit(){this.nameControl.valid&&this.dialogRef.close(this.nameControl.value)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["lib-rename-file-dialog"]],decls:13,vars:4,consts:[["mat-dialog-title",""],["appearance","outline",1,"rename-file-dialog__form-field","rename-file-dialog__form-field--full-width"],["matInput","",3,"formControl","placeholder"],["align","end"],["mat-button","","mat-dialog-close",""],["mat-button","","color","primary",3,"click","disabled"]],template:function(i,r){i&1&&(w(0,"h2",0),Q(1,"Rename File"),D(),w(2,"mat-dialog-content")(3,"mat-form-field",1)(4,"mat-label"),Q(5,"File name"),D(),we(6,"input",2),pe(7,Cce,2,0,"mat-error"),D()(),w(8,"mat-dialog-actions",3)(9,"button",4),Q(10,"Cancel"),D(),w(11,"button",5),de("click",function(){return r.onSubmit()}),Q(12," Rename "),D()()),i&2&&(T(6),se("formControl",r.nameControl)("placeholder",r.data.currentName),T(),ge(r.nameControl.errors!=null&&r.nameControl.errors.required?7:-1),T(4),se("disabled",!r.nameControl.valid))},dependencies:[iu,Jd,eu,tu,mc,sa,oa,io,$d,pm,us,cc,G0,al,rl,Qn,ia],styles:[".rename-file-dialog__form-field--full-width[_ngcontent-%COMP%]{width:100%}"]})}return t})();var r3=(()=>{class t{creationDate=null;active=!0;activeChange=new ne;onActiveToggleChange(e){this.active=e,this.activeChange.emit(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["lib-record-status-bar"]],inputs:{creationDate:"creationDate",active:"active"},outputs:{activeChange:"activeChange"},decls:21,vars:9,consts:[["pickerCreationDate",""],[1,"record-status-bar"],[1,"record-status-bar__item","record-status-bar__item--grow"],[1,"record-status-bar__creation-date"],["appearance","fill",1,"record-status-bar__form-field"],["matInput","",3,"matDatepicker","value","disabled"],[1,"record-status-bar__hint"],["matIconSuffix","",3,"for"],[3,"disabled"],[1,"record-status-bar__item","record-status-bar__item--shrink"],[1,"record-status-bar__active-toggle"],["name","activeStatus","aria-label","Active Status",3,"change","value"],[1,"record-status-bar__button-toggle",3,"value"]],template:function(i,r){if(i&1&&(w(0,"div",1)(1,"div",2)(2,"div",3)(3,"mat-form-field",4)(4,"mat-label"),Q(5,"Creation date"),D(),we(6,"input",5),w(7,"mat-hint",6),Q(8,"DD/MM/YYYY"),D(),we(9,"mat-datepicker-toggle",7)(10,"mat-datepicker",8,0),D()()(),w(12,"div",9)(13,"div",10)(14,"mat-button-toggle-group",11),de("change",function(o){return r.onActiveToggleChange(o.value)}),w(15,"mat-button-toggle",12),Q(16,"Active"),D(),w(17,"mat-button-toggle",12),Q(18,"Inactive"),D()(),pe(19,Sce,2,0,"div",6)(20,kce,2,0,"div",6),D()()()),i&2){let a=qt(11);T(6),se("matDatepicker",a)("value",r.creationDate)("disabled",!0),T(3),se("for",a),T(),se("disabled",!0),T(4),se("value",r.active),T(),se("value",!0),T(2),se("value",!1),T(2),ge(r.active?19:20)}},dependencies:[_4,HS,Ev,bM,vM,ng,Ix,sa,oa,io,nl,gm,al,rl,v4],styles:[".record-status-bar[_ng
9606content-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:10px;width:100%}.record-status-bar__item[_ngcontent-%COMP%]{flex:1;min-width:0}.record-status-bar__item--half-width[_ngcontent-%COMP%]{flex:1 1 calc(50% - 10px);min-width:250px}@media(max-width:768px){.record-status-bar__item--half-width[_ngcontent-%COMP%]{flex:1 1 100%;max-width:100%}}.record-status-bar__item--grow[_ngcontent-%COMP%]{flex:10 1 0;min-width:200px}@media(max-width:768px){.record-status-bar__item--grow[_ngcontent-%COMP%]{flex:1 1 100%}}.record-status-bar__item--shrink[_ngcontent-%COMP%]{flex:2 0 auto}@media(max-width:768px){.record-status-bar__item--shrink[_ngcontent-%COMP%]{flex:1 1 100%}}.record-status-bar__item--full-width[_ngcontent-%COMP%]{flex:1 1 100%;max-width:100%}.record-status-bar__creation-date[_ngcontent-%COMP%]{width:100%}.record-status-bar__active-toggle[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-start;padding-top:4px}.record-status-bar__button-toggle[_ngcontent-%COMP%], .record-status-bar__form-field[_ngcontent-%COMP%]{width:100%}.record-status-bar__hint[_ngcontent-%COMP%]{font-size:.75rem;margin-top:4px}"]})}return t})();var UAe=(()=>{class t{previewFrame;data=f(hc);ngAfterViewInit(){this.renderHtml()}onPrint(){let e=this.previewFrame?.nativeElement;e?.contentWindow&&e.contentWindow.print()}renderHtml(){let e=this.previewFrame?.nativeElement;if(e){let i=e.contentDocument||e.contentWindow?.document;i&&(i.open(),i.write(this.data.html),i.close())}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["lib-html-preview-dialog"]],viewQuery:function(i,r){if(i&1&&dt(Dce,5),i&2){let a;ae(a=oe())&&(r.previewFrame=a.first)}},decls:14,vars:1,consts:[["previewFrame",""],[1,"html-preview-dialog"],["mat-dialog-title","",1,"html-preview-dialog__header"],[1,"html-preview-dialog__actions"],["mat-icon-button","","matTooltip","Print","aria-label","Print preview",3,"click"],["mat-icon-button","","mat-dialog-close","","aria-label","Close"],[1,"html-preview-dialog__content"],["sandbox","allow-same-origin allow-modals","title","HTML Preview",1,"html-preview-dialog__iframe"]],template:function(i,r){i&1&&(w(0,"div",1)(1,"div",2)(2,"h2"),Q(3),D(),w(4,"div",3)(5,"button",4),de("click",function(){return r.onPrint()}),w(6,"mat-icon"),Q(7,"print"),D()(),w(8,"button",5)(9,"mat-icon"),Q(10,"close"),D()()()(),w(11,"mat-dialog-content",6),we(12,"iframe",7,0),D()()),i&2&&(T(3),Bt(r.data.title))},dependencies:[iu,Jd,eu,mc,Qn,Za,ss,os,tg],styles:[".html-preview-dialog[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;height:100vh}.html-preview-dialog__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:8px 16px;border-bottom:1px solid rgba(0,0,0,.12)}.html-preview-dialog__header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0;font-size:18px;font-weight:500}.html-preview-dialog__actions[_ngcontent-%COMP%]{display:flex;gap:4px}.html-preview-dialog__content[_ngcontent-%COMP%]{flex:1;padding:0!important;overflow:hidden;max-height:unset!important;display:flex;flex-direction:column}.html-preview-dialog__iframe[_ngcontent-%COMP%]{width:100%;max-width:800px;margin:0 auto;flex:1;min-height:0;border:none;background:#fff}"]})}return t})();var zAe=(()=>{class t{documentRoute="dashboard/parameter";parameterListToolbar={icon:"tune",label:"List",text:"Parameters"};collectionPath="parameters";collectionTypeId="parameters";displayedColumns=["name","description","objectType"];displayedColumnsHeaders=["Name","Description","Object Type"];dataSource=f(Uce);static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["lib-parameter-list"]],inputs:{documentRoute:"documentRoute"},decls:3,vars:10,consts:[[1,"parameter-list__container"],[3,"detailPageToolBar"],[3,"displayedColumns","displayedColumnsHeaders","dataSource","collectionPath","documentRoute","collectionId","forceRefresh","showNewButton","enableSearch"]],template:function(i,r){i&1&&(w(0,"div",0),we(1,"lib-detail-page-toolbar",1)(2,"lib-object-list",2),D()),i&2&&(T(),se("detailPageToolBar",r.parameterListToolbar),T(),se("displayedColumns",r.dis
9606playedColumns)("displayedColumnsHeaders",r.displayedColumnsHeaders)("dataSource",r.dataSource)("collectionPath",r.collectionPath)("documentRoute",r.documentRoute)("collectionId",r.collectionTypeId)("forceRefresh",!0)("showNewButton",!1)("enableSearch",!0))},dependencies:[mk,n3],styles:[".parameter-list__container[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}"]})}return t})(),jAe=(()=>{class t{parameterDetailToolbar={icon:"tune",label:"Parameter",text:""};backButtonLabel="Back to parameter list";parameterForm=new ds({});id;savingState="idle";parameterValueDataSource=new zce;parameterValueCollectionPath="";parameterValueDocumentRoute="";parameterValueDisplayedColumns=["name","description","value","valueNumber","valueString","valueBoolean"];parameterValueDisplayedColumnsHeaders=["Name","Description","Value Type","Number","String","Boolean"];subscription=new tt;router=f(In);route=f(Pr);snackBar=f(bm);parameterService=f(i3);formBuilder=f(ex);constructor(){this.id=this.route.snapshot.paramMap.get("id")}ngOnInit(){if(this.parameterForm=this.formBuilder.group({name:["",aa.required],description:[""],objectType:[""],creationDate:[""],active:[!0]}),!this.id){this.parameterDetailToolbar.text="New Parameter";return}this.parameterValueCollectionPath="parameters/"+this.id+"/list",this.parameterValueDocumentRoute="dashboard/parameter/"+this.id+"/value",this.subscription.add(this.parameterService.getParameter(this.id).subscribe(e=>{this.parameterForm.patchValue({name:e.name,description:e.description,objectType:e.objectType,creationDate:e.creationDate?e.creationDate.toDate():new Date,active:e.active}),this.parameterDetailToolbar.text=e.name,this.setupAutoSave()}))}ngOnDestroy(){this.subscription.unsubscribe()}onClickBack(){return S(this,null,function*(){yield this.router.navigate(["/dashboard/parameters"])})}onSaveForm(){this.parameterForm.valid&&(this.setSavingState("saving"),this.id&&this.subscription.add(this.parameterService.updateParameter(this.id,this.parameterForm.value).subscribe({next:e=>{this.setSavingState("saved"),this.snackBar.open(e,"",{duration:3e3})},error:e=>{console.error("Save failed:",e),this.setSavingState("error"),this.snackBar.open("Error saving parameter","",{duration:3e3})}})))}setupAutoSave(){this.subscription.add(this.parameterForm.valueChanges.pipe(dr(1e3),Os((e,i)=>JSON.stringify(e)===JSON.stringify(i))).subscribe(()=>{this.id&&this.parameterForm.valid&&this.autoSaveParameter()}))}autoSaveParameter(){this.id&&(this.setSavingState("saving"),this.subscription.add(this.parameterService.updateParameter(this.id,this.parameterForm.value).subscribe({next:()=>{this.setSavingState("saved")},error:e=>{console.error("Auto-save failed:",e),this.setSavingState("error")}})))}setSavingState(e){this.savingState=e,e==="saved"&&setTimeout(()=>{this.savingState==="saved"&&(this.savingState="saved-stale")},3e3),e==="error"&&setTimeout(()=>{this.savingState==="error"&&(this.savingState="idle")},5e3)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["lib-parameter-detail"]],decls:36,vars:8,consts:[[1,"parameter-detail__container"],[1,"parameter-detail__content"],["mat-flat-button","",1,"parameter-detail__back-button",3,"click"],[3,"detailPageToolBar","savingState"],["mat-stretch-tabs","false","mat-align-tabs","start",1,"parameter-detail__content-tabs"],["label","Detail"],[1,"parameter-detail__content-spacer"],[1,"parameter-detail__form-container",3,"formGroup"],[1,"parameter-detail__form-element"],["appearance","fill",1,"parameter-detail__form-field"],["matInput","","formControlName","name"],["matInput","","formControlName","description","rows","3"],["matInput","","formControlName","objectType"],[3,"activeChange","creationDate","active"],["mat-flat-button","",1,"parameter-detail__submit-button",3,"disabled"],["label","Parameter Values"],["mat-flat-button","",1,"parameter-detail__submit-button",3,"click","disabled"],[1,"parameter-detail__form-container"],[3,"displayedColumns","displayedColumnsHeaders","dataSource","collectionPath","documentRoute","collectionId","forceRefresh","showNewButton","enableSearch","defaultSortField","defaultSortOrder"]],template:function(i,r){if(i&1&&(w(0,"div",0)(1,"div",1)(2,"button",2),de("click",function(){return r.onClickBack()}),w(3,"mat-icon"),Q(4,"arrow_back"),D(),Q(5),D(),we(6,"lib-detail-page-toolbar",3),w(7,"mat-tab-group",4)(8,"mat-tab",5)(9,"div",6)(10,"form",7)(11,"div",8)(12,"mat-form-field",9)(13,"mat-label"),Q(14,"Name"),D(),we(15,"input",10),w(16,"mat-error"),Q(17,"Name is required"),D()()(),w(18,"div",8)(19,"mat-form-field",9)(20,"mat-label"),Q(21,"Description"),D(),we(22,"textarea",11),w(23,"mat-hint"),Q(24,"Description of the parameter"),D()()(),w(25,"div",8)(26,"mat-form-field",9)(27,"mat-label"),Q(28,"Object Type"),D(),we(29,"input",12),w(30,"mat-hint"),Q(31,"The object type this parameter applies to"),D()()(),w(32,"div",8)(33,"lib-record-status-bar",13),de("activeChange",function(o){let s;return(s=r.parameterForm.get("active"))==null?null:s.setValue(o)}),D()(),pe(34,Ece,2,1,"button",14),D()()(),pe(35,Tce,4,11,"mat-tab",15),D()()()),i&2){let a,o;T(5),Jt(" ",r.backButtonLabel," "),T(),se("detailPageToolBar",r.parameterDetailToolbar)("savingState",r.savingState),T(4),se("formGroup",r.parameterForm),T(23),se("creationDate",(a=r.parameterForm.get("creationDate"))==null?null:a.value)("active",(o=r.parameterForm.get("active"))==null?null:o.value),T(),ge(r.id?-1:34),T(),ge(r.id?35:-1)}},dependencies:[mk,Qn,ia,sa,oa,io,nl,$d,ss,os,al,rl,sx,D4,QS,k4,n3,pm,Qy,us,cc,Wy,to,q0,r3],styles:[".parameter-detail__c
9606ontainer[_ngcontent-%COMP%]{width:100%;height:100%}.parameter-detail__content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.parameter-detail__form-container[_ngcontent-%COMP%]{display:flex;overflow:auto;width:100%;height:calc(90vh - 230px);flex-direction:column;padding-bottom:20px}.parameter-detail__content-spacer[_ngcontent-%COMP%]{margin:20px}.parameter-detail__back-button[_ngcontent-%COMP%]{width:15vw;margin:10px 0 0 20px;padding:5px}.parameter-detail__content-tabs[_ngcontent-%COMP%], .parameter-detail__content-tabs[_ngcontent-%COMP%]   .mat-mdc-tab-body-wrapper[_ngcontent-%COMP%]{height:100%}.parameter-detail__form-element[_ngcontent-%COMP%]{margin-bottom:16px}.parameter-detail__form-field[_ngcontent-%COMP%]{width:100%}.parameter-detail__submit-button[_ngcontent-%COMP%]{margin-top:16px;align-self:flex-start}"]})}return t})(),HAe=(()=>{class t{parameterValueDetailToolbar={icon:"data_object",label:"Parameter Value",text:""};backButtonLabel="Back to parameter";valueForm=new ds({});paramId;valueId;savingState="idle";valueTypes=[{value:"valueNumber",label:"Number"},{value:"valueString",label:"String"},{value:"valueBoolean",label:"Boolean"}];subscription=new tt;router=f(In);route=f(Pr);snackBar=f(bm);parameterService=f(i3);formBuilder=f(ex);constructor(){this.paramId=this.route.snapshot.paramMap.get("paramId"),this.valueId=this.route.snapshot.paramMap.get("valueId")}ngOnInit(){if(this.valueForm=this.formBuilder.group({name:["",aa.required],description:[""],value:["valueString"],valueNumber:[null],valueString:[""],valueBoolean:[""],creationDate:[""],active:[!0]}),!this.paramId||!this.valueId){this.parameterValueDetailToolbar.text="Parameter Value";return}this.subscription.add(this.parameterService.getParameterValue(this.paramId,this.valueId).subscribe(e=>{this.valueForm.patchValue({name:e.name,description:e.description,value:e.value,valueNumber:e.valueNumber??null,valueString:e.valueString??"",valueBoolean:e.valueBoolean??"",creationDate:e.creationDate?e.creationDate.toDate():new Date,active:e.active}),this.parameterValueDetailToolbar.text=e.name,this.setupAutoSave()}))}ngOnDestroy(){this.subscription.unsubscribe()}onClickBack(){return S(this,null,function*(){this.paramId?yield this.router.navigate(["/dashboard/parameter/"+this.paramId]):yield this.router.navigate(["/dashboard/parameters"])})}onSaveForm(){!this.valueForm.valid||!this.paramId||!this.valueId||(this.setSavingState("saving"),this.subscription.add(this.parameterService.updateParameterValue(this.paramId,this.valueId,this.valueForm.value).subscribe({next:e=>{this.setSavingState("saved"),this.snackBar.open(e,"",{duration:3e3})},error:e=>{console.error("Save failed:",e),this.setSavingState("error"),this.snackBar.open("Error saving parameter value","",{duration:3e3})}})))}setupAutoSave(){this.subscription.add(this.valueForm.valueChanges.pipe(dr(1e3),Os((e,i)=>JSON.stringify(e)===JSON.stringify(i))).subscribe(()=>{this.paramId&&this.valueId&&this.valueForm.valid&&this.autoSave()}))}autoSave(){!this.paramId||!this.valueId||(this.setSavingState("saving"),this.subscription.add(this.parameterService.updateParameterValue(this.paramId,this.valueId,this.valueForm.value).subscribe({next:()=>{this.setSavingState("saved")},error:e=>{console.error("Auto-save failed:",e),this.setSavingState("error")}})))}setSavingState(e){this.savingState=e,e==="saved"&&setTimeout(()=>{this.savingState==="saved"&&(this.savingState="saved-stale")},3e3),e==="error"&&setTimeout(()=>{this.savingState==="error"&&(this.savingState="idle")},5e3)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=ue({type:t,selectors:[["lib-parameter-value-detail"]],decls:37,vars:9,consts:[[1,"parameter-value-detail__container"],[1,"parameter-value-detail__content"],["mat-flat-button","",1,"parameter-value-detail__back-button",3,"click"],[3,"detailPageToolBar","savingState"],[1,"parameter-value-detail__content-spacer"],[1,"parameter-value-detail__form-container",3,"formGroup"],[1,"parameter-value-detail__form-element"],["appearance","fill",1,"parameter-value-detail__form-field"],["matInput","","formControlName","name"],["matInput","","formControlName","description","rows","3"],["formControlName","value"],[3,"value"],[3,"activeChange","creationDate","active"],["matInput","","type","number","formControlName","valueNumber","step","0.01"],["matInput","","formControlName","valueString"],["matInput","","formControlName","valueBoolean"]],template:function(i,r){if(i&1&&(w(0,"div",0)(1,"div",1)(2,"button",2),de("click",function(){return r.onClickBack()}),w(3,"mat-icon"),Q(4,"arrow_back"),D(),Q(5),D(),we(6,"lib-detail-page-toolbar",3),w(7,"div",4)(8,"form",5)(9,"div",6)(10,"mat-form-field",7)(11,"mat-label"),Q(12,"Name"),D(),we(13,"input",8),w(14,"mat-error"),Q(15,"Name is required"),D()()(),w(16,"div",6)(17,"mat-form-field",7)(18,"mat-label"),Q(19,"Description"),D(),we(20,"textarea",9),w(21,"mat-hint"),Q(22,"Description of this parameter value"),D()()(),w(23,"div",6)(24,"mat-form-field",7)(25,"mat-label"),Q(26,"Value Type"),D(),w(27,"mat-select",10),tn(28,Ice,2,2,"mat-option",11,J4),D(),w(30,"mat-hint"),Q(31,"The type of value stored"),D()()(),pe(32,Mce,5,0,"div",6),pe(33,Ace,5,0,"div",6),pe(34,Rce,5,0,"div",6),w(35,"div",6)(36,"lib-record-status-bar",12),de("activeChange",function(o){let s;return(s=r.valueForm.get("active"))==null?null:s.setValue(o)}),D()()()()()()),i&2){let a,o,s,l,c;T(5),Jt(" ",r.backButtonLabel," "),T(),se("detailPageToolBar",r.parameterValueDetailToolbar)("savingState",r.savingState),T(2),se("formGroup",r.valueForm),T(20),nn(r.valueTypes),T(4),ge(((a=r.valueForm.get("value"))==null?null:a.value)==="valueNumber"?32:-1),T(),ge(((o=r.valueForm.get("value"))==null?null:o.value)==="valueString"?33:-1),T(),ge(((s=r.valueForm.get("value"))==null?null:s.value)==="valueBoolean"?34:-1),T(2),se("
9606creationDate",(l=r.valueForm.get("creationDate"))==null?null:l.value)("active",(c=r.valueForm.get("active"))==null?null:c.value)}},dependencies:[mk,Qn,ia,sa,oa,io,nl,$d,ss,os,al,rl,Ym,qm,vs,sx,pm,Qy,us,Zy,cc,Wy,to,q0,r3],styles:[".parameter-value-detail__container[_ngcontent-%COMP%]{width:100%;height:100%}.parameter-value-detail__content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.parameter-value-detail__form-container[_ngcontent-%COMP%]{display:flex;overflow:auto;width:100%;height:calc(90vh - 230px);flex-direction:column;padding-bottom:20px}.parameter-value-detail__content-spacer[_ngcontent-%COMP%]{margin:20px}.parameter-value-detail__back-button[_ngcontent-%COMP%]{width:15vw;margin:10px 0 0 20px;padding:5px}.parameter-value-detail__form-element[_ngcontent-%COMP%]{margin-bottom:16px}.parameter-value-detail__form-field[_ngcontent-%COMP%]{width:100%}"]})}return t})();var Lv=class t{constructor(){}debug(n){console.log(n)}error(n){console.log(n)}fatal(n){console.log(n)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})};var Bv=class t{constructor(n){this.environment=n;this.firebase=rp(this.environment.firebase),this.functions=ru(this.firebase,"northamerica-northeast1"),this.analytics=Fg(this.firebase),this.auth=Eo(this.firebase),this.appCheck=Bg(this.firebase,{provider:new uu(this.environment.appcheck.recaptchaEntrepriseKey),isTokenAutoRefreshEnabled:!0}),this.firestore=Xr(),this.storage=$g()}environment;firebase;storage;firestore;functions;analytics;auth;appCheck;scriptsUrl=[];static \u0275fac=function(e){return new(e||t)(Ke(Ov))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})};var Vv=class t{constructor(n,e,i,r,a){this.loggingService=n;this.firebaseService=e;this.router=i;this.ngZone=r;this.http=a;lu(Eo(),o=>{if(o){this.userData=o,localStorage.setItem("user",JSON.stringify(this.userData));let s=vi(Xr(),"users",this.userData.uid);Nn(s).then(l=>{if(!l.exists())return;let c=H({id:l.id},l.data());this.appUserData=c,localStorage.setItem("appUser",JSON.stringify(this.appUserData))})}else localStorage.setItem("user",null),localStorage.setItem("appUser",null),this.subscriptions.unsubscribe()})}loggingService;firebaseService;router;ngZone;http;subscriptions=new tt;userData=null;appUserData=null;isPasswordExpired(){let e=60*24*60*60*1e3,i=new Date,r=!1;return(!this.appUserData||!this.appUserData.passwordDate||this.appUserData.passwordDate.toMillis()-i.getTime()>e)&&(r=!0),r}updateUserOrganisation(n){this.appUserData&&(this.appUserData.organisationId=n,this.updateUser(this.appUserData))}updateUser(n){return S(this,null,function*(){if(!this.appUserData||this.appUserData.id!=n.id
9606)return;let e=vi(Xr(),"users",this.appUserData.id);Yn(e,n,{merge:!0}).then(()=>{this.appUserData=n,localStorage.setItem("appUser",JSON.stringify(this.appUserData))})})}ngOnDestroy(){this.subscriptions.unsubscribe()}signIn(n,e,i){return S(this,null,function*(){let r=yield Pm(Eo(),n,e);if(r)return i&&(yield this.ngZone.run(()=>S(this,null,function*(){let a=yield this.router.navigate([i])}))),r})}setUserData(n,e){return S(this,null,function*(){if(e||(e=""),!n.email)throw"User with no email";let i={origin:window.location.origin,userAgent:window.navigator.userAgent,lastAccessed:new Date},r=yield Gl(Mr(Xr(),"users/"+n.uid+"/logs/"),i),a=this.http.get("https://jsonip.com/").subscribe(o=>{Yn(r,{ip:o.ip,country:o.country},{merge:!0})})})}forgotPassword(n){return Rm(Eo(),n).then(()=>{window.alert("Password reset email sent, check your inbox.")}).catch(e=>{window.alert(e)})}getUserLoggedIn(){if(this.userData)return this.userData;let n=localStorage.getItem("user");if(n==null)return null;let e=JSON.parse(n);return e!==null?e:null}getUserAppLoggedIn(){let n=localStorage.getItem("appUser");if(n==null)return null;let e=JSON.parse(n);return e!==null?e:null}logout(n){return S(this,null,function*(){console.log("TEST"),yield Fm(Eo()),localStorage.removeItem("user"),localStorage.removeItem("appUser"),yield this.ngZone.run(()=>S(this,null,function*(){if((yield this.router.navigate([n]))==!1)throw"Redirect error"}))})}signInWithGoogle(){return S(this,null,function*(){let n=new h1;return this.socialSignIn(n)})}signInWithFacebook(){return S(this,null,function*(){let n=new u1;return this.socialSignIn(n)})}signInWithGithub(){return S(this,null,function*(){let n=new m1;return this.socialSignIn(n)})}socialSignIn(n){return S(this,null,function*(){try{let i=(yield Om(this.firebaseService.auth,n)).user,r={userId:i.uid,email:i.email,displayName:i.displayName,firstName:i.displayName?.split(" ")[0]||"",lastName:i.displayName?.split(" ").slice(1).join(" ")||"",photoURL:i.photoURL,consultationsRemaining:10,creationDate:new Date().toISOString(),authProvider:n.providerId};return yield Yn(vi(this.firebaseService.firestore,"users",i.uid),r,{merge:!0}),{success:!0,user:r}}catch(e){return{success:!1,error:e.message}}})}isLoggedIn(){return S(this,null,function*(){return this.getUserLoggedIn()!==null})}isLoggedInNotVerified(){return S(this,null,function*(){return this.getUserAppLoggedIn()!=null})}isSystemAccountLoggedIn(){return S(this,null,function*(){let n=this.getUserLoggedIn();if(!n)return!1;let e=yield Nn(vi(Xr(),"users/"+n?.uid+"/private/roles"));return H({id:e.id},e.data()).isPrinter==!0})}isAdmin(){return S(this,null,function*(){let n=this.getUserLoggedIn();if(!n)return!1;let e=yield Nn(vi(Xr(),"users/"+n?.uid+"/private/roles"));return H({id:e.id},e.data()).isAdmin==!0})}static \u0275fac=function(e){return new(e||t)(Ke(Lv),Ke(Bv),Ke(In),Ke(Te),Ke(pd))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})};var a3=class t{constructor(n){this.authService=n;this.user=this.authService.getUserLoggedIn(),this.user&&this.getUserOrganisations(this.user.uid)}authService;db=Xr();organisations=null;user=null;getOrganisationsAsync(){return S(this,null,function*(){return!this.organisations&&this.user?yield this.getUserOrganisations(this.user.uid):new Promise((n,e)=>{this.organisations?n(this.organisations):this.user||e(new Error("No authenticated user"))})})}getOrganisations(){return!this.organisations&&this.user?this.getUserOrganisationsSync(this.user.uid):new Promise((n,e)=>{this.organisations?n(this.organisations):e(new Error("No authenticated user"))})}getOrganisationById(n){return S(this,null,function*(){let e=yield Nn(vi(this.db,"organisations",n));return e.exists()?H({id:e.id},e.data()):null})}createOrganisation(n){return S(this,null,function*(){let e=et(H({},n),{creationDate:js.now(),active:!0,journeyStep:1,journeyCompleted:!1}),r=(yield Gl(Mr(this.db,"organisations"),e)).id;if(this.user){let a=yield Nn(vi(this.db,"users",this.user.uid)),o=a.exists()?a.data():{},s=`${o.firstName??""} ${o.lastName??""}`.trim()||o.displayName||this.user.displayName||this.user.email||"";yield Yn(vi(this.db,"organisations",r,"organisationUsers",this.user.uid),{id:this.user.uid,oid:r,name:s,email:this.user.email??o.email??"",role:"admin",creationDate:js.now()})}return this.organisations=null,r})}updateOrganisation(n,e){return S(this,null,function*(){yield Yn(vi(this.db,"organisations",n),e,{merge:!0}),this.organisations=null})}saveJourneyStep(n,e,i=!1){return S(this,null,function*(){yield Yn(vi(this.db,"organisations",n),H({journeyStep:e},i?{journeyCompleted:!0}:{}),{merge:!0})})}getUserOrganisationsSync(n){return S(this,null,function*(){let e=Hs(ph(this.db,"organisationUsers"),va("id","==",n));return Wa(e).then(i=>S(this,null,function*(){let r=[];for(let a of i.docs){let o=H({id:a.id},a.data()),s=yield Nn(vi(this.db,"organisations",o.oid));s.exists()&&r.push(H({id:s.id},s.data()))}return r}))})}getUserOrganisations(n){return S(this,null,function*(){let e=Hs(ph(this.db,"organisationUsers"),va("id","==",n)),i=yield Wa(e),r=[];for(let a of i.docs){let o=H({id:a.id},a.data()),s=yield Nn(vi(this.db,"organisations",o.oid));s.exists()&&r.push(H({id:s.id},s.data()))}return this.organisations=r,r})}static \u0275fac=function(e){return new(e||t)(Ke(Vv))};static \u0275prov=re({token:t,factory:t.\u0275fac,providedIn:"root"})};export{WD as a,GD as b,$3 as c,W3 as d,xa as e,_b as f,Y3 as g,qD as h,vb as i,Q3 as j,QD as k,J3 as l,iB as m,bb as n,oue as o,ZD as p,sue as q,Mb as r,yB as s,pd as t,WB as u,Xl as v,Uhe as w,ht as x,rs as y,qh as z,iT as A,gt as B,Fr as C,Ki as D,B2 as E,Ii as F,wt as G,zt as H,Zh as I,fr as J,yy as K,Cpe as L,pt as M,ky as N,f0 as O,ka as P,Ks as Q,pr as R,Ci as S,yw as T,xw as U,bw as V,vs as W,pP as X,gP as Y,Vt as Z,Ye as _,Nr as $,ww as aa,v4 as ba,fse as ca,Gs as da,Pr as ea,ry as fa,In as ga,r0 as ha,j8 as ia,M2 as ja,fy as ka,Za as la,ia as ma,Z0e as na,Qn as oa,os as pa,ss as qa,Py as ra,tm as sa,Mn as ta,Zn as ua,yn as va,An as wa,gr as xa,Zs as ya,eo as za,na as Aa,cs as Ba,j6 as Ca,H6 as Da,wo as Ea,ra as Fa,_r as Ga,Js as Ha,A0 as Ia,Hu as Ja,ore as Ka,cre as La,Ho as Ma,jS as Na,Cv as Oa,Pae as Pa,RS as Qa,goe as Ra,woe as Sa,Soe as Ta,Poe as Ua,Boe as Va,OS as Wa,f4 as Xa,lg as Ya,JR as Za,vu as _a,$m as $a,wc as ab,lw as bb,Ra as cb,xn as db,us as eb,br as fb,aa as gb,cc as hb,Wy as ib,ds as jb,
9606il as kb,el as lb,W0 as mb,Qy as nb,Zy as ob,Uy as pb,G0 as qb,q0 as rb,to as sb,pI as tb,gve as ub,_ve as vb,FV as wb,NV as xb,vI as yb,VV as zb,ex as Ab,tx as Bb,pm as Cb,io as Db,$d as Eb,nl as Fb,Q0 as Gb,gm as Hb,dc as Ib,oa as Jb,vM as Kb,ng as Lb,Ix as Mb,bM as Nb,Ax as Ob,Rx as Pb,yM as Qb,So as Rb,hc as Sb,Zd as Tb,Jd as Ub,eu as Vb,mc as Wb,tu as Xb,iu as Yb,_m as Zb,Ta as _b,CU as $b,SU as ac,Abe as bc,Rbe as cc,Pbe as dc,Fbe as ec,sa as fc,Jbe as gc,rl as hc,al as ic,bm as jc,sx as kc,dx as lc,_z as mc,vz as nc,Lxe as oc,Bxe as pc,bz as qc,XI as rc,qg as sc,Yg as tc,uw as uc,hw as vc,oP as wc,sP as xc,RG as yc,FG as zc,cP as Ac,Gm as Bc,yu as Cc,dP as Dc,uP as Ec,pw as Fc,mP as Gc,hx as Hc,tg as Ic,QI as Jc,ZI as Kc,vw as Lc,fP as Mc,qm as Nc,Ym as Oc,Xm as Pc,_P as Qc,i_ as Rc,DP as Sc,EP as Tc,TP as Uc,IP as Vc,MP as Wc,AP as Xc,RP as Yc,PP as Zc,FP as _c,OP as $c,NP as ad,LP as bd,BP as cd,X2e as dd,K2e as ed,Q2e as fd,Z2e as gd,J2e as hd,eTe as id,tTe as jd,iTe as kd,HS as ld,Ev as md,_4 as nd,P1e as od,F1e as pd,px as qd,Nz as rd,Lz as sd,Vz as td,O1e as ud,Fse as vd,QS as wd,k4 as xd,D4 as yd,Gse as zd,DIe as Ad,ZS as Bd,Jse as Cd,ele as Dd,qIe as Ed,$4 as Fd,fMe as Gd,pMe as Hd,gMe as Id,_Me as Jd,vMe as Kd,bMe as Ld,yMe as Md,e3 as Nd,Ov as Od,BAe as Pd,VAe as Qd,UAe as Rd,zAe as Sd,jAe as Td,HAe as Ud,Bv as Vd,Lv as Wd,Vv as Xd,a3 as Yd};
9607/**i18n:10ac519643c979c452f5291a0f271118d0e36f1c1c3b21c5baa8a96441f7b4db*/

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.