1(self.webpackChunksvobodni_donations_fe=self.webpackChunksvobodni_donations_fe||[]).push([[179],{4496:(Pt,Ve,f)=>{"use strict";f.d(Ve,{zQ:()=>vr,ww:()=>Hr});var a=f(4650),p=f(7579),C=f(9646),Y=f(9751),e=f(8996),ee=f(6451),R=f(5363),ae=f(3900),X=f(4004),W=f(4707),de=f(3099);function ce(ht,pt,Tt){let Kt,nn=!1;return ht&&"object"==typeof ht?({bufferSize:Kt=1/0,windowTime:pt=1/0,refCount:nn=!1,scheduler:Tt}=ht):Kt=ht??1/0,(0,de.B)({connector:()=>new W.t(Kt,pt,Tt),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:nn})}var _e=f(590),ge=f(576);function Re(ht,pt){return(0,ge.m)(pt)?(0,ae.w)(()=>ht,pt):(0,ae.w)(()=>ht)}var $e=f(9468),fe=f(9300),ue=f(5813),be=f(2011),se=f(6895);f(5867);var It=f(5861),Ge=f(9681),je=f(4859),Ft=f(2090),B=f(1877);const $=new Map,ve={activated:!1,tokenObservers:[]},pe={initialized:!1,enabled:!1};function Xe(ht){return $.get(ht)||Object.assign({},ve)}function lt(){return pe}class xe{constructor(pt,Tt,Kt,nn,yn){if(this.operation=pt,this.retryPolicy=Tt,this.getWaitDuration=Kt,this.lowerBound=nn,this.upperBound=yn,this.pending=null,this.nextErrorWaitInterval=nn,nn>yn)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(pt){var Tt=this;return(0,It.Z)(function*(){Tt.stop();try{Tt.pending=new Ft.BH,yield function T(ht){return new Promise(pt=>{setTimeout(pt,ht)})}(Tt.getNextRun(pt)),Tt.pending.resolve(),yield Tt.pending.promise,Tt.pending=new Ft.BH,yield Tt.operation(),Tt.pending.resolve(),yield Tt.pending.promise,Tt.process(!0).catch(()=>{})}catch(Kt){Tt.retryPolicy(Kt)?Tt.process(!1).catch(()=>{}):Tt.stop()}})()}getNextRun(pt){if(pt)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const Tt=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),Tt}}}const Oe=new Ft.LL("appCheck","AppCheck",{"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.",throttled:"Requests throttled due to {$httpStatus} error. Attempts allowed again after {$time}"});function vt(ht){if(!Xe(ht).activated)throw Oe.create("use-before-activation",{appName:ht.name})}function Gt(ht,pt){return Zt.apply(this,arguments)}function Zt(){return(Zt=(0,It.Z)(function*({url:ht,body:pt},Tt){var Kt,nn;const yn={"Content-Type":"application/json"},On=Tt.getImmediate({optional:!0});if(On){const xi=yield On.getHeartbeatsHeader();xi&&(yn["X-Firebase-Client"]=xi)}const ti={method:"POST",body:JSON.stringify(pt),headers:yn};let Nn,Ki;try{Nn=yield fetch(ht,ti)}catch(xi){throw Oe.create("fetch-network-error",{originalErrorMessage:null===(Kt=xi)||void 0===Kt?void 0:Kt.message})}if(200!==Nn.status)throw Oe.create("fetch-status-error",{httpStatus:Nn.status});try{Ki=yield Nn.json()}catch(xi){throw Oe.create("fetch-parse-error",{originalErrorMessage:null===(nn=xi)||void 0===nn?void 0:nn.message})}const Kn=Ki.ttl.match(/^([\d.]+)(s)$/);if(!Kn||!Kn[2]||isNaN(Number(Kn[1])))throw Oe.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${Ki.ttl}`});const tr=1e3*Number(Kn[1]),pr=Date.now();return{token:Ki.token,expireTimeMillis:pr+tr,issuedAtTimeMillis:pr}})).apply(this,arguments)}function bt(ht,pt){const{projectId:Tt,appId:Kt,apiKey:nn}=ht.options;return{url:`https://content-firebaseappcheck.googleapis.com/v1/projects/${Tt}/apps/${Kt}:exchangeDebugToken?key=${nn}`,body:{debug_token:pt}}}const dn="firebase-app-check-store";let En=null;function Vn(){return En||(En=new Promise((ht,pt)=>{var Tt;try{const Kt=indexedDB.open("firebase-app-check-database",1);Kt.onsuccess=nn=>{ht(nn.target.result)},Kt.onerror=nn=>{var yn;pt(Oe.create("storage-open",{originalErrorMessage:null===(yn=nn.target.error)||void 0===yn?void 0:yn.message}))},Kt.onupgradeneeded=nn=>{0===nn.oldVersion&&nn.target.result.createObjectStore(dn,{keyPath:"compositeKey"})}}catch(Kt){pt(Oe.create("storage-open",{originalErrorMessage:null===(Tt=Kt)||void 0===Tt?void 0:Tt.message}))}}),En)}function Z(){return(Z=(0,It.Z)(function*(ht,pt){const Kt=(yield Vn()).transaction(dn,"readwrite"),yn=Kt.objectStore(dn).put({compositeKey:ht,value:pt});return new Promise((On,ti)=>{yn.onsuccess=Nn=>{On()},Kt.onerror=Nn=>{var Ki;ti(Oe.create("storage-set",{originalErrorMessage:null===(Ki=Nn.target.error)||void 0===Ki?void 0:Ki.message}))}})})).apply(this,arguments)}const Qe=new B.Yd("@firebase/app-check");function sn(ht,pt){return(0,Ft.hl)()?function Ze(ht,pt){return function q(ht,pt){return Z.apply(this,arguments)}(function we(ht){return`${ht.options.appId}-${ht.name}`}(ht),pt)}(ht,pt).catch(Tt=>{Qe.warn(`Failed to write token to IndexedDB. Error: ${Tt}`)}):Promise.resolve()}function Fn(){return lt().enabled}function ln(){return ct.apply(this,arguments)}function ct(){return(ct=(0,It.Z)(function*(){const ht=lt();if(ht.enabled&&ht.token)return ht.token.promise;throw Error("\n Can't get debug token in production mode.\n ")})).apply(this,arguments)}const Ke={error:"UNKNOWN_ERROR"};function _t(ht){return Ft.US.encodeString(JSON.stringify(ht),!1)}function Ht(ht){return xn.apply(this,arguments)}function xn(){return(xn=(0,It.Z)(function*(ht,pt=!1){const Tt=ht.app;vt(Tt);const Kt=Xe(Tt);let yn,nn=Kt.token;if(nn&&!er(nn)&&(Kt.token=void 0,nn=void 0),!nn){const Nn=yield Kt.cachedTokenPromise;Nn&&(er(Nn)?nn=Nn:yield sn(Tt,void 0))}if(!pt&&nn&&er(nn))return{token:nn.token};let ti,On=!1;if(Fn()){Kt.exchangeTokenPromise||(Kt.exchangeTokenPromise=Gt(bt(Tt,yield ln()),ht.heartbeatServiceProvider).finally(()=>{Kt.exchangeTokenPromise=void 0}),On=!0);const Nn=yield Kt.exchangeTokenPromise;return yield sn(Tt,Nn),Kt.token=Nn,{token:Nn.token}}try{Kt.exchangeTokenPromise||(Kt.exchangeTokenPromise=Kt.provider.getToken().finally(()=>{Kt.exchangeTokenPromise=void 0}),On=!0),nn=yield Xe(Tt).exchangeTokenPromise}catch(Nn){"appCheck/throttled"===Nn.code?Qe.warn(Nn.message):Qe.error(Nn),yn=Nn}return nn?yn?ti=er(nn)?{token:nn.token,internalError:yn}:$r(yn):(ti={token:nn.token},Kt.token=nn,yield sn(Tt,nn)):ti=$r(yn),On&&rr(Tt,ti),ti})).apply(this,arguments)}function Zn(ht,pt){const Tt=Xe(ht),Kt=Tt.tokenObservers.filter(nn=>nn.next!==pt);0===Kt.length&&Tt.tokenRefresher&&Tt.tokenRefresher.isRunning()&&Tt.tokenRefresher.stop(),Tt.tokenObservers=Kt}function li(ht){const{app:pt}=ht,Tt=Xe(pt);let Kt=Tt.tokenRefresher;Kt||(Kt=function Zi(ht){const{app:pt}=ht;return new xe((0,It.Z)(function*(){let Kt;if(Kt=Xe(pt).token?yield Ht(ht,!0):yield Ht(ht),Kt.error)throw Kt.error;if(Kt.internalError)throw Kt.internalError}),()=>!0,()=>{const Tt=Xe(pt);if(Tt.token){let Kt=Tt.token.issuedAtTimeMillis+.5*(Tt.token.expireTimeMillis-Tt.token.issuedAtTimeMillis)+3e5;return Kt=Math.min(Kt,Tt.token.expireTimeMillis-3e5),Math.max(0,Kt-Date.now())}return 0},3e4,96e4)}(ht),Tt.tokenRefresher=Kt),!Kt.isRunning()&&Tt.isTokenAutoRefreshEnabled&&Kt.start()}function rr(ht,pt){const Tt=Xe(ht).tokenObservers;
1for(const Kt of Tt)try{"EXTERNAL"===Kt.type&&null!=pt.error?Kt.error(pt.error):Kt.next(pt)}catch{}}function er(ht){return ht.expireTimeMillis-Date.now()>0}function $r(ht){return{token:_t(Ke),error:ht}}class kr{constructor(pt,Tt){this.app=pt,this.heartbeatServiceProvider=Tt}_delete(){const{tokenObservers:pt}=Xe(this.app);for(const Tt of pt)Zn(this.app,Tt.next);return Promise.resolve()}}const eo="app-check-internal";!function Li(){(0,Ge._registerComponent)(new je.wA("app-check",ht=>function or(ht,pt){return new kr(ht,pt)}(ht.getProvider("app").getImmediate(),ht.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((ht,pt,Tt)=>{ht.getProvider(eo).initialize()})),(0,Ge._registerComponent)(new je.wA(eo,ht=>function Br(ht){return{getToken:pt=>Ht(ht,pt),addTokenListener:pt=>function Hn(ht,pt,Tt,Kt){const{app:nn}=ht,yn=Xe(nn);if(yn.tokenObservers=[...yn.tokenObservers,{next:Tt,error:Kt,type:pt}],yn.token&&er(yn.token)){const ti=yn.token;Promise.resolve().then(()=>{Tt({token:ti.token}),li(ht)}).catch(()=>{})}yn.cachedTokenPromise.then(()=>li(ht))}(ht,"INTERNAL",pt),removeTokenListener:pt=>Zn(ht.app,pt)}}(ht.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,Ge.registerVersion)("@firebase/app-check","0.5.17")}();class Ir{constructor(){return(0,ue.vb)("app-check")}}typeof window<"u"&&window;var to=f(127);const wo=new a.OlP("angularfire2.auth.use-emulator"),no=new a.OlP("angularfire2.auth.settings"),Co=new a.OlP("angularfire2.auth.tenant-id"),ho=new a.OlP("angularfire2.auth.langugage-code"),fr=new a.OlP("angularfire2.auth.use-device-language"),Do=new a.OlP("angularfire.auth.persistence");let vr=(()=>{class ht{constructor(Tt,Kt,nn,yn,On,ti,Nn,Ki,Kn,tr,pr,xi){const gr=new p.x,Ei=(0,C.of)(void 0).pipe((0,R.Q)(On.outsideAngular),(0,ae.w)(()=>yn.runOutsideAngular(()=>f.e(277).then(f.bind(f,1277)))),(0,X.U)(()=>(0,be.on)(Tt,yn,Kt)),(0,X.U)(gi=>((ht,pt,Tt,Kt,nn,yn,On,ti)=>(0,be.cc)(`${ht.name}.auth`,"AngularFireAuth",ht.name,()=>{const Nn=pt.runOutsideAngular(()=>ht.auth());if(Tt&&Nn.useEmulator(...Tt),Kt&&(Nn.tenantId=Kt),Nn.languageCode=nn,yn&&Nn.useDeviceLanguage(),On)for(const[Ki,Kn]of Object.entries(On))Nn.settings[Ki]=Kn;return ti&&Nn.setPersistence(ti),Nn},[Tt,Kt,nn,yn,On,ti]))(gi,yn,ti,Ki,Kn,tr,Nn,pr)),ce({bufferSize:1,refCount:!1}));if((0,se.PM)(nn))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,C.of)(null);else{Ei.pipe((0,_e.P)()).subscribe();const $i=Ei.pipe((0,ae.w)(di=>di.getRedirectResult().then(Qi=>Qi,()=>null)),ue.iC,ce({bufferSize:1,refCount:!1})),Bi=Ei.pipe((0,ae.w)(di=>new Y.y(Qi=>({unsubscribe:yn.runOutsideAngular(()=>di.onAuthStateChanged(cr=>Qi.next(cr),cr=>Qi.error(cr),()=>Qi.complete()))})))),Wn=Ei.pipe((0,ae.w)(di=>new Y.y(Qi=>({unsubscribe:yn.runOutsideAngular(()=>di.onIdTokenChanged(cr=>Qi.next(cr),cr=>Qi.error(cr),()=>Qi.complete()))}))));this.authState=$i.pipe(Re(Bi),(0,$e.R)(On.outsideAngular),(0,R.Q)(On.insideAngular)),this.user=$i.pipe(Re(Wn),(0,$e.R)(On.outsideAngular),(0,R.Q)(On.insideAngular)),this.idToken=this.user.pipe((0,ae.w)(di=>di?(0,e.D)(di.getIdToken()):(0,C.of)(null))),this.idTokenResult=this.user.pipe((0,ae.w)(di=>di?(0,e.D)(di.getIdTokenResult()):(0,C.of)(null))),this.credential=(0,ee.T)($i,gr,this.authState.pipe((0,fe.h)(di=>!di))).pipe((0,X.U)(di=>di?.user?di:null),(0,$e.R)(On.outsideAngular),(0,R.Q)(On.insideAngular))}return(0,be.pX)(this,Ei,yn,{spy:{apply:(gi,$i,Bi)=>{(gi.startsWith("signIn")||gi.startsWith("createUser"))&&Bi.then(Wn=>gr.next(Wn))}}})}}return ht.\u0275fac=function(Tt){return new(Tt||ht)(a.LFG(be.Dh),a.LFG(be.xv,8),a.LFG(a.Lbi),a.LFG(a.R0b),a.LFG(ue.HU),a.LFG(wo,8),a.LFG(no,8),a.LFG(Co,8),a.LFG(ho,8),a.LFG(fr,8),a.LFG(Do,8),a.LFG(Ir,8))},ht.\u0275prov=a.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"any"}),ht})(),Hr=(()=>{class ht{constructor(){to.Z.registerVersion("angularfire",ue.q4.full,"auth-compat")}}return ht.\u0275fac=function(Tt){return new(Tt||ht)},ht.\u0275mod=a.oAB({type:ht}),ht.\u0275inj=a.cJS({providers:[vr]}),ht})()},2011:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Dh:()=>ae,GT:()=>ee,cc:()=>ge,hO:()=>_e,on:()=>W,pX:()=>e,xv:()=>X});var a=f(4650),p=f(127),C=f(5813);Pt=f.hmd(Pt);const Y=["ngOnDestroy"],e=(ue,be,se,j={})=>new Proxy(ue,{get:(ne,De)=>se.runOutsideAngular(()=>{var Ue;if(ue[De])return!(null===(Ue=j?.spy)||void 0===Ue)&&Ue.get&&j.spy.get(De,ue[De]),ue[De];if(Y.indexOf(De)>-1)return()=>{};const V=be.toPromise().then(He=>{const Be=He&&He[De];
1return"function"==typeof Be?Be.bind(He):Be&&Be.then?Be.then(Ne=>se.run(()=>Ne)):se.run(()=>Be)});return new Proxy(()=>{},{get:(He,Be)=>V[Be],apply:(He,Be,Ne)=>V.then(me=>{var Le;const ze=me&&me(...Ne);return!(null===(Le=j?.spy)||void 0===Le)&&Le.apply&&j.spy.apply(De,Ne,ze),ze})})})}),ee=(ue,be)=>{be.forEach(se=>{Object.getOwnPropertyNames(se.prototype||se).forEach(j=>{Object.defineProperty(ue.prototype,j,Object.getOwnPropertyDescriptor(se.prototype||se,j))})})};class R{constructor(be){return be}}const ae=new a.OlP("angularfire2.app.options"),X=new a.OlP("angularfire2.app.name");function W(ue,be,se){const ne="object"==typeof se&&se||{};ne.name=ne.name||"string"==typeof se&&se||"[DEFAULT]";const Ue=p.Z.apps.filter(V=>V&&V.name===ne.name)[0]||be.runOutsideAngular(()=>p.Z.initializeApp(ue,ne));try{JSON.stringify(ue)!==JSON.stringify(Ue.options)&&de("error",`${Ue.name} Firebase App already initialized with different options${Pt.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new R(Ue)}const de=(ue,...be)=>{(0,a.X6Q)()&&typeof console<"u"&&console[ue](...be)},ce={provide:R,useFactory:W,deps:[ae,a.R0b,[new a.FiY,X]]};let _e=(()=>{class ue{constructor(se){p.Z.registerVersion("angularfire",C.q4.full,"core"),p.Z.registerVersion("angularfire",C.q4.full,"app-compat"),p.Z.registerVersion("angular",a.q4F.full,se.toString())}static initializeApp(se,j){return{ngModule:ue,providers:[{provide:ae,useValue:se},{provide:X,useValue:j}]}}}return ue.\u0275fac=function(se){return new(se||ue)(a.LFG(a.Lbi))},ue.\u0275mod=a.oAB({type:ue}),ue.\u0275inj=a.cJS({providers:[ce]}),ue})();function ge(ue,be,se,j,ne){const[,De,Ue]=globalThis.\u0275AngularfireInstanceCache.find(V=>V[0]===ue)||[];if(De)return function Re(ue,be){try{return ue.toString()===be.toString()}catch{return ue===be}}(ne,Ue)||(fe("error",`${be} was already initialized on the ${se} Firebase App with different settings.${$e?" You may need to reload as Firebase is not HMR aware.":""}`),fe("warn",{is:ne,was:Ue})),De;{const V=j();return globalThis.\u0275AngularfireInstanceCache.push([ue,V,ne]),V}}const $e=!!Pt.hot,fe=(ue,...be)=>{(0,a.X6Q)()&&typeof console<"u"&&console[ue](...be)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},5813:(Pt,Ve,f)=>{"use strict";f.d(Ve,{q4:()=>I,iC:()=>Ha,HU:()=>nl,vb:()=>Bo,JM:()=>$o});var a=f(4650),p=f(5867),C=f(5861),Y=f(9681),e=f(2090),ee=f(4859),R=f(1877),ae=f(8766);const X="@firebase/installations",W="0.5.16",ce=`w:${W}`,_e="FIS_v2",be=new e.LL("installations","Installations",{"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."});function se(L){return L instanceof e.ZR&&L.code.includes("request-failed")}function j({projectId:L}){return`https://firebaseinstallations.googleapis.com/v1/projects/${L}/installations`}function ne(L){return{token:L.token,requestStatus:2,expiresIn:me(L.expiresIn),creationTime:Date.now()}}function De(L,Q){return Ue.apply(this,arguments)}function Ue(){return(Ue=(0,C.Z)(function*(L,Q){const ot=(yield Q.json()).error;return be.create("request-failed",{requestName:L,serverCode:ot.code,serverMessage:ot.message,serverStatus:ot.status})})).apply(this,arguments)}function V({apiKey:L}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":L})}function He(L,{refreshToken:Q}){const Ce=V(L);return Ce.append("Authorization",function Le(L){return`${_e} ${L}`}(Q)),Ce}function Be(L){return Ne.apply(this,arguments)}function Ne(){return(Ne=(0,C.Z)(function*(L){const Q=yield L();return Q.status>=500&&Q.status<600?L():Q})).apply(this,arguments)}function me(L){return Number(L.replace("s","000"))}function ze(L,Q){return dt.apply(this,arguments)}function dt(){return(dt=(0,C.Z)(function*({appConfig:L,heartbeatServiceProvider:Q},{fid:Ce}){const ot=j(L),At=V(L),jt=Q.getImmediate({optional:!0});if(jt){const oi=yield jt.getHeartbeatsHeader();oi&&At.append("x-firebase-client",oi)}const _n={method:"POST",headers:At,body:JSON.stringify({fid:Ce,authVersion:_e,appId:L.appId,sdkVersion:ce})},zn=yield Be(()=>fetch(ot,_n));if(zn.ok){const oi=yield zn.json();return{fid:oi.fid||Ce,registrationStatus:2,refreshToken:oi.refreshToken,authToken:ne(oi.authToken)}}throw yield De("Create Installation",zn)})).apply(this,arguments)}function qe(L){return new Promise(Q=>{setTimeout(Q,L)})}const wt=/^[cdef][\w-]{21}$/;function Lt(){try{const L=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(L),L[0]=112+L[0]%16;const Ce=function ft(L){return function Mt(L){return btoa(String.fromCharCode(...L)).replace(/\+/g,"-").replace(/\//g,"_")}(L).substr(0,22)}(L);return wt.test(Ce)?Ce:""}catch{return""}}function It(L){return`${L.appName}!${L.appId}`}const Ge=new Map;function je(L,Q){const Ce=It(L);$(Ce,Q),function ve(L,Q){const Ce=function Xe(){return!pe&&"BroadcastChannel"in self&&(pe=new BroadcastChannel("[Firebase] FID Change"),pe.onmessage=L=>{$(L.data.key,L.data.fid)}),pe}();Ce&&Ce.postMessage({key:L,fid:Q}),function st(){0===Ge.size&&pe&&(pe.close(),pe=null)}()}(Ce,Q)}function $(L,Q){const Ce=Ge.get(L);if(Ce)for(const ot of Ce)ot(Q)}let pe=null;const at="firebase-installations-store";let te=null;function N(){return te||(te=(0,ae.X3)("firebase-installations-database",1,{upgrade:(L,Q)=>{0===Q&&L.createObjectStore(at)}})),te}function z(L,Q){return Te.apply(this,arguments)}function Te(){return(Te=(0,C.Z)(function*(L,Q){const Ce=It(L),At=(yield N()).transaction(at,"readwrite"),jt=At.objectStore(at),an=yield jt.get(Ce);return yield jt.put(Q,Ce),yield At.done,(!an||an.fid!==Q.fid)&&je(L,Q.fid),Q})).apply(this,arguments)}function xe(L){return T.apply(this,arguments)}function T(){return(T=(0,C.Z)(function*(L){const Q=It(L),ot=(yield N()).transaction(at,"readwrite");yield ot.objectStore(at).delete(Q),yield ot.done})).apply(this,arguments)}function re(L,Q){return Oe.apply(this,arguments)}function Oe(){return(Oe=(0,C.Z)(function*(L,Q){const Ce=It(L),At=(yield N()).transaction(at,"readwrite"),jt=At.objectStore(at),an=yield jt.get(Ce),_n=Q(an);return void 0===_n?yield jt.delete(Ce):yield jt.put(_n,Ce),yield At.done,_n&&(!an||an.fid!==_n.fid)&&je(L,_n.fid),_n})).apply(this,arguments)}function nt(L){return vt.apply(this,arguments)}function vt(){return(vt=(0,C.Z)(function*(L){let Q;const Ce=yield re(L.appConfig,ot=>{const At=Rt(ot),jt=Vt(L,At);return Q=jt.registrationPromise,jt.installationEntry});return""===Ce.fid?{installationEntry:yield Q}:{installationEntry:Ce,registrationPromise:Q}})).apply(this,arguments)}function Rt(L){return Ot(L||{fid:Lt(),registrationStatus:0})}function Vt(L,Q){if(0===Q.registrationStatus){if(!navigator.onLine)return{installationEntry:Q,registrationPromise:Promise.reject(be.create("app-offline"))};const Ce={fid:Q.fid,registrationStatus:1,registrationTime:Date.now()},ot=function Gt(L,Q){return Zt.apply(this,arguments)}(L,Ce);return{installationEntry:Ce,registrationPromise:ot}}return 1===Q.registrationStatus?{installationEntry:Q,registrationPromise:ut(L)}:{installationEntry:Q}}function Zt(){return(Zt=(0,C.Z)(function*(L,Q){try{const Ce=yield ze(L,Q);return z(L.appConfig,Ce)}catch(Ce){throw se(Ce)&&409===Ce.customData.serverCode?yield xe(L.appConfig):yield z(L.appConfig,{fid:Q.fid,registrationStatus:0}),Ce}})).apply(this,arguments)}function ut(L){return Wt.apply(this,arguments)}function Wt(){return(Wt=(0,C.Z)(function*(L){let Q=yield bt(L.appConfig);for(;1===Q.registrationStatus;)yield qe(100),Q=yield bt(L.appConfig);if(0===Q.registrationStatus){const{installationEntry:Ce,registrationPromise:ot}=yield nt(L);return ot||Ce}return Q})).apply(this,arguments)}function bt(L){return re(L,Q=>{if(!Q)throw be.create("installation-not-found");return Ot(Q)})}function Ot(L){return function fn(L){return 1===L.registrationStatus&&L.registrationTime+1e4<Date.now()}(L)?{fid:L.fid,registrationStatus:0}:L}function dn(L,Q){return _i.apply(this,arguments)}function _i(){return(_i=(0,C.Z)(function*({appConfig:L,heartbeatServiceProvider:Q},Ce){const ot=En(L,Ce),At=He(L,Ce),jt=Q.getImmediate({optional:!0});if(jt){const oi=yield jt.getHeartbeatsHeader();oi&&At.append("x-firebase-client",oi)}const _n={method:"POST",headers:At,body:JSON.stringify({installation:{sdkVersion:ce,appId:L.appId}})},zn=yield Be(()=>fetch(ot,_n));if(zn.ok)return ne(yield zn.json());throw yield De("Generate Auth Token",zn)})).apply(this,arguments)}function En(L,{fid:Q}){return`${j(L)}/${Q}/authTokens:generate`}function Vn(L){return kt.apply(this,arguments)}function kt(){return(kt=(0,C.Z)(function*(L,Q=!1){let Ce;const ot=yield re(L.appConfig,jt=>{if(!Ie(jt))throw be.create("not-registered");const an=jt.authToken;if(!Q&&ie(an))return jt;if(1===an.requestStatus)return Ce=Ze(L,Q),jt;{if(!navigator.onLine)throw be.create("app-offline");const _n=Qe(jt);return Ce=q(L,_n),_n}});return Ce?yield Ce:ot.authToken})).apply(this,arguments)}function Ze(L,Q){return Me.apply(this,arguments)}function Me(){return(Me=(0,C.Z)(function*(L,Q){let Ce=yield le(L.appConfig);for(;1===Ce.authToken.requestStatus;)yield qe(100),Ce=yield le(L.appConfig);const ot=Ce.authToken;return 0===ot.requestStatus?Vn(L,Q):ot})).apply(this,arguments)}function le(L){return re(L,Q=>{if(!Ie(Q))throw be.create("not-registered");return function Ct(L){return 1===L.requestStatus&&L.requestTime+1e4<Date.now()}(Q.authToken)?Object.assign(Object.assign({},Q),{authToken:{requestStatus:0}}):Q})}function q(L,Q){return Z.apply(this,arguments)}function Z(){return(Z=(0,C.Z)(function*(L,Q){try{const Ce=yield dn(L,Q),ot=Object.assign(Object.assign({},Q),{authToken:Ce});return yield z(L.appConfig,ot),Ce}catch(Ce){if(!se(Ce)||401!==Ce.customData.serverCode&&404!==Ce.customData.serverCode){const ot=Object.assign(Object.assign({},Q),{authToken:{requestStatus:0}});yield z(L.appConfig,ot)}else yield xe(L.appConfig);throw Ce}})).apply(this,arguments)}function Ie(L){return void 0!==L&&2===L.registrationStatus}function ie(L){return 2===L.requestStatus&&!function we(L){const Q=Date.now();return Q<L.creationTime||L.creationTime+L.expiresIn<Q+36e5}(L)}function Qe(L){const Q={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},L),{authToken:Q})}function sn(){return(sn=(0,C.Z)(function*(L){const Q=L,{installationEntry:Ce,registrationPromise:ot}=yield nt(Q);
1return ot?ot.catch(console.error):Vn(Q).catch(console.error),Ce.fid})).apply(this,arguments)}function In(){return(In=(0,C.Z)(function*(L,Q=!1){const Ce=L;return yield Fn(Ce),(yield Vn(Ce,Q)).token})).apply(this,arguments)}function Fn(L){return ln.apply(this,arguments)}function ln(){return(ln=(0,C.Z)(function*(L){const{registrationPromise:Q}=yield nt(L);Q&&(yield Q)})).apply(this,arguments)}function li(L){return be.create("missing-app-config-values",{valueName:L})}const Zi="installations",er=L=>{const Q=L.getProvider("app").getImmediate(),Ce=function Zn(L){if(!L||!L.options)throw li("App Configuration");if(!L.name)throw li("App Name");const Q=["projectId","apiKey","appId"];for(const Ce of Q)if(!L.options[Ce])throw li(Ce);return{appName:L.name,projectId:L.options.projectId,apiKey:L.options.apiKey,appId:L.options.appId}}(Q);return{app:Q,appConfig:Ce,heartbeatServiceProvider:(0,Y._getProvider)(Q,"heartbeat"),_delete:()=>Promise.resolve()}},$r=L=>{const Q=L.getProvider("app").getImmediate(),Ce=(0,Y._getProvider)(Q,Zi).getImmediate();return{getId:()=>function mt(L){return sn.apply(this,arguments)}(Ce),getToken:At=>function An(L){return In.apply(this,arguments)}(Ce,At)}};(function kr(){(0,Y._registerComponent)(new ee.wA(Zi,er,"PUBLIC")),(0,Y._registerComponent)(new ee.wA("installations-internal",$r,"PRIVATE"))})(),(0,Y.registerVersion)(X,W),(0,Y.registerVersion)(X,W,"esm2017");const or="@firebase/remote-config",it=new e.LL("remoteconfig","Remote Config",{"registration-window":"Undefined window object. This SDK only supports usage in a browser environment.","registration-project-id":"Undefined project identifier. Check Firebase app initialization.","registration-api-key":"Undefined API key. Check Firebase app initialization.","registration-app-id":"Undefined app identifier. Check Firebase app initialization.","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}.","storage-delete":"Error thrown when deleting from storage. Original error: {$originalErrorMessage}.","fetch-client-network":"Fetch client failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-timeout":'The config fetch request timed out. Configure timeout using "fetchTimeoutMillis" SDK setting.',"fetch-throttle":'The config fetch request timed out while in an exponential backoff state. Configure timeout using "fetchTimeoutMillis" SDK setting. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.',"fetch-client-parse":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","indexed-db-unavailable":"Indexed DB is not supported by current browser"});class Zr{constructor(Q,Ce,ot,At){this.client=Q,this.storage=Ce,this.storageCache=ot,this.logger=At}isCachedDataFresh(Q,Ce){if(!Ce)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const ot=Date.now()-Ce,At=ot<=Q;return this.logger.debug(`Config fetch cache check. Cache age millis: ${ot}. Cache max age millis (minimumFetchIntervalMillis setting): ${Q}. Is cache hit: ${At}.`),At}fetch(Q){var Ce=this;return(0,C.Z)(function*(){const[ot,At]=yield Promise.all([Ce.storage.getLastSuccessfulFetchTimestampMillis(),Ce.storage.getLastSuccessfulFetchResponse()]);if(At&&Ce.isCachedDataFresh(Q.cacheMaxAgeMillis,ot))return At;Q.eTag=At&&At.eTag;const jt=yield Ce.client.fetch(Q),an=[Ce.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===jt.status&&an.push(Ce.storage.setLastSuccessfulFetchResponse(jt)),yield Promise.all(an),jt})()}}function xr(L=navigator){return L.languages&&L.languages[0]||L.language}class eo{constructor(Q,Ce,ot,At,jt,an){this.firebaseInstallations=Q,this.sdkVersion=Ce,this.namespace=ot,this.projectId=At,this.apiKey=jt,this.appId=an}fetch(Q){var Ce=this;return(0,C.Z)(function*(){var ot,At,jt;const[an,_n]=yield Promise.all([Ce.firebaseInstallations.getId(),Ce.firebaseInstallations.getToken()]),oi=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${Ce.projectId}/namespaces/${Ce.namespace}
1:fetch?key=${Ce.apiKey}`,ai={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":Q.eTag||"*"},Jn={sdk_version:Ce.sdkVersion,app_instance_id:an,app_instance_id_token:_n,app_id:Ce.appId,language_code:xr()},so={method:"POST",headers:ai,body:JSON.stringify(Jn)},Jr=fetch(oi,so),Fa=new Promise((Da,ns)=>{Q.signal.addEventListener(()=>{const za=new Error("The operation was aborted.");za.name="AbortError",ns(za)})});let ja;try{yield Promise.race([Jr,Fa]),ja=yield Jr}catch(Da){let ns="fetch-client-network";throw"AbortError"===(null===(ot=Da)||void 0===ot?void 0:ot.name)&&(ns="fetch-timeout"),it.create(ns,{originalErrorMessage:null===(At=Da)||void 0===At?void 0:At.message})}let Sa=ja.status;const Hl=ja.headers.get("ETag")||void 0;let Ca,ka;if(200===ja.status){let Da;try{Da=yield ja.json()}catch(ns){throw it.create("fetch-client-parse",{originalErrorMessage:null===(jt=ns)||void 0===jt?void 0:jt.message})}Ca=Da.entries,ka=Da.state}if("INSTANCE_STATE_UNSPECIFIED"===ka?Sa=500:"NO_CHANGE"===ka?Sa=304:("NO_TEMPLATE"===ka||"EMPTY_CONFIG"===ka)&&(Ca={}),304!==Sa&&200!==Sa)throw it.create("fetch-status",{httpStatus:Sa});return{status:Sa,eTag:Hl,config:Ca}})()}}class yo{constructor(Q,Ce){this.client=Q,this.storage=Ce}fetch(Q){var Ce=this;return(0,C.Z)(function*(){const ot=(yield Ce.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return Ce.attemptFetch(Q,ot)})()}attemptFetch(Q,{throttleEndTimeMillis:Ce,backoffCount:ot}){var At=this;return(0,C.Z)(function*(){yield function Li(L,Q){return new Promise((Ce,ot)=>{const At=Math.max(Q-Date.now(),0),jt=setTimeout(Ce,At);L.addEventListener(()=>{clearTimeout(jt),ot(it.create("fetch-throttle",{throttleEndTimeMillis:Q}))})})}(Q.signal,Ce);try{const jt=yield At.client.fetch(Q);return yield At.storage.deleteThrottleMetadata(),jt}catch(jt){if(!function pi(L){if(!(L instanceof e.ZR&&L.customData))return!1;const Q=Number(L.customData.httpStatus);return 429===Q||500===Q||503===Q||504===Q}(jt))throw jt;const an={throttleEndTimeMillis:Date.now()+(0,e.$s)(ot),backoffCount:ot+1};return yield At.storage.setThrottleMetadata(an),At.attemptFetch(Q,an)}})()}}class qi{constructor(Q,Ce,ot,At,jt){this.app=Q,this._client=Ce,this._storageCache=ot,this._storage=At,this._logger=jt,this._isInitializationComplete=!1,this.settings={fetchTimeoutMillis:6e4,minimumFetchIntervalMillis:432e5},this.defaultConfig={}}get fetchTimeMillis(){return this._storageCache.getLastSuccessfulFetchTimestampMillis()||-1}get lastFetchStatus(){return this._storageCache.getLastFetchStatus()||"no-fetch-yet"}}function lr(L,Q){var Ce;const ot=L.target.error||void 0;return it.create(Q,{originalErrorMessage:ot&&(null===(Ce=ot)||void 0===Ce?void 0:Ce.message)})}const Wi="app_namespace_store";class hr{constructor(Q,Ce,ot,At=function yi(){return new Promise((L,Q)=>{var Ce;try{const ot=indexedDB.open("firebase_remote_config",1);ot.onerror=At=>{Q(lr(At,"storage-open"))},ot.onsuccess=At=>{L(At.target.result)},ot.onupgradeneeded=At=>{0===At.oldVersion&&At.target.result.createObjectStore(Wi,{keyPath:"compositeKey"})}}catch(ot){Q(it.create("storage-open",{originalErrorMessage:null===(Ce=ot)||void 0===Ce?void 0:Ce.message}))}})}()){this.appId=Q,this.appName=Ce,this.namespace=ot,this.openDbPromise=At}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(Q){return this.set("last_fetch_status",Q)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(Q){return this.set("last_successful_fetch_timestamp_millis",Q)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(Q){return this.set("last_successful_fetch_response",Q)}getActiveConfig(){return this.get("active_config")}setActiveConfig(Q){return this.set("active_config",Q)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(Q){return this.set("active_config_etag",Q)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(Q){return this.set("throttle_metadata",Q)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(Q){var Ce=this;return(0,C.Z)(function*(){const ot=yield Ce.openDbPromise;return new Promise((At,jt)=>{var an;const zn=ot.transaction([Wi],"readonly").objectStore(Wi),oi=Ce.createCompositeKey(Q);try{const ai=zn.get(oi);ai.onerror=Jn=>{jt(lr(Jn,"storage-get"))},ai.onsuccess=Jn=>{const so=Jn.target.result;At(so?so.value:void 0)}}catch(ai){jt(it.create("storage-get",{originalErrorMessage:null===(an=ai)||void 0===an?void 0:an.message}))}})})()}set(Q,Ce){var ot=this;return(0,C.Z)(function*(){const At=yield ot.openDbPromise;return new Promise((jt,an)=>{var _n;const oi=At.transaction([Wi],"readwrite").objectStore(Wi),ai=ot.createCompositeKey(Q);try{const Jn=oi.put({compositeKey:ai,value:Ce});Jn.onerror=so=>{an(lr(so,"storage-set"))},Jn.onsuccess=()=>{jt()}}catch(Jn){an(it.create("storage-set",{originalErrorMessage:null===(_n=Jn)||void 0===_n?void 0:_n.message}))}})})()}delete(Q){var Ce=this;return(0,C.Z)(function*(){const ot=yield Ce.openDbPromise;return new Promise((At,jt)=>{var an;const zn=ot.transaction([Wi],"readwrite").objectStore(Wi),oi=Ce.createCompositeKey(Q);try{const ai=zn.delete(oi);ai.onerror=Jn=>{jt(lr(Jn,"storage-delete"))},ai.onsuccess=()=>{At()}}catch(ai){jt(it.create("storage-delete",{originalErrorMessage:null===(an=ai)||void 0===an?void 0:an.message}))}})})()}createCompositeKey(Q){return[this.appId,this.appName,this.namespace,Q].join()}}class To{constructor(Q){this.storage=Q}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var Q=this;return(0,C.Z)(function*(){const Ce=Q.storage.getLastFetchStatus(),ot=Q.storage.getLastSuccessfulFetchTimestampMillis(),At=Q.storage.getActiveConfig(),jt=yield Ce;jt&&(Q.lastFetchStatus=jt);const an=yield ot;an&&(Q.lastSuccessfulFetchTimestampMillis=an);const _n=yield At;_n&&(Q.activeConfig=_n)})()}setLastFetchStatus(Q){return this.lastFetchStatus=Q,this.storage.setLastFetchStatus(Q)}setLastSuccessfulFetchTimestampMillis(Q){return this.lastSuccessfulFetchTimestampMillis=Q,this.storage.setLastSuccessfulFetchTimestampMillis(Q)}setActiveConfig(Q){return this.activeConfig=Q,this.storage.setActiveConfig(Q)}}function Io(){return Ur.apply(this,arguments)}function Ur(){return(Ur=(0,C.Z)(function*(){if(!(0,e.hl)())return!1;try{return yield(0,e.eu)()}catch{return!1}}
1)).apply(this,arguments)}!function mr(){(0,Y._registerComponent)(new ee.wA("remote-config",function L(Q,{instanceIdentifier:Ce}){const ot=Q.getProvider("app").getImmediate(),At=Q.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw it.create("registration-window");if(!(0,e.hl)())throw it.create("indexed-db-unavailable");const{projectId:jt,apiKey:an,appId:_n}=ot.options;if(!jt)throw it.create("registration-project-id");if(!an)throw it.create("registration-api-key");if(!_n)throw it.create("registration-app-id");const zn=new hr(_n,ot.name,Ce=Ce||"firebase"),oi=new To(zn),ai=new R.Yd(or);ai.logLevel=R.in.ERROR;const Jn=new eo(At,Y.SDK_VERSION,Ce,jt,an,_n),so=new yo(Jn,zn),Jr=new Zr(so,zn,oi,ai),Fa=new qi(ot,Jr,oi,zn,ai);return function Xn(L){const Q=(0,e.m9)(L);Q._initializePromise||(Q._initializePromise=Q._storageCache.loadFromStorage().then(()=>{Q._isInitializationComplete=!0}))}(Fa),Fa},"PUBLIC").setMultipleInstances(!0)),(0,Y.registerVersion)(or,"0.3.15"),(0,Y.registerVersion)(or,"0.3.15","esm2017")}();const Ho="/firebase-messaging-sw.js",to="/firebase-cloud-messaging-push-scope",Or="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",no="google.c.a.c_id",Co="google.c.a.c_l",ho="google.c.a.ts",fr="google.c.a.e";var Mr=(()=>{return(L=Mr||(Mr={})).PUSH_RECEIVED="push-received",L.NOTIFICATION_CLICKED="notification-clicked",Mr;var L})();function vr(L){const Q=new Uint8Array(L);return btoa(String.fromCharCode(...Q)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Hr(L){const Ce=(L+"=".repeat((4-L.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),ot=atob(Ce),At=new Uint8Array(ot.length);for(let jt=0;jt<ot.length;++jt)At[jt]=ot.charCodeAt(jt);return At}const ht="fcm_token_details_db",Tt="fcm_token_object_Store";function Kt(L){return nn.apply(this,arguments)}function nn(){return nn=(0,C.Z)(function*(L){if("databases"in indexedDB&&!(yield indexedDB.databases()).map(jt=>jt.name).includes(ht))return null;let Q=null;return(yield(0,ae.X3)(ht,5,{upgrade:(ot=(0,C.Z)(function*(At,jt,an,_n){var zn;if(jt<2||!At.objectStoreNames.contains(Tt))return;const oi=_n.objectStore(Tt),ai=yield oi.index("fcmSenderId").get(L);if(yield oi.clear(),ai)if(2===jt){const Jn=ai;if(!Jn.auth||!Jn.p256dh||!Jn.endpoint)return;Q={token:Jn.fcmToken,createTime:null!==(zn=Jn.createTime)&&void 0!==zn?zn:Date.now(),subscriptionOptions:{auth:Jn.auth,p256dh:Jn.p256dh,endpoint:Jn.endpoint,swScope:Jn.swScope,vapidKey:"string"==typeof Jn.vapidKey?Jn.vapidKey:vr(Jn.vapidKey)}}}else if(3===jt){const Jn=ai;Q={token:Jn.fcmToken,createTime:Jn.createTime,subscriptionOptions:{auth:vr(Jn.auth),p256dh:vr(Jn.p256dh),endpoint:Jn.endpoint,swScope:Jn.swScope,vapidKey:vr(Jn.vapidKey)}}}else if(4===jt){const Jn=ai;Q={token:Jn.fcmToken,createTime:Jn.createTime,subscriptionOptions:{auth:vr(Jn.auth),p256dh:vr(Jn.p256dh),endpoint:Jn.endpoint,swScope:Jn.swScope,vapidKey:vr(Jn.vapidKey)}}}}),function(jt,an,_n,zn){return ot.apply(this,arguments)})})).close(),yield(0,ae.Lj)(ht),yield(0,ae.Lj)("fcm_vapid_details_db"),yield(0,ae.Lj)("undefined"),yn(Q)?Q:null;var ot}),nn.apply(this,arguments)}function yn(L){if(!L||!L.subscriptionOptions)return!1;const{subscriptionOptions:Q}=L;return"number"==typeof L.createTime&&L.createTime>0&&"string"==typeof L.token&&L.token.length>0&&"string"==typeof Q.auth&&Q.auth.length>0&&"string"==typeof Q.p256dh&&Q.p256dh.length>0&&"string"==typeof Q.endpoint&&Q.endpoint.length>0&&"string"==typeof Q.swScope&&Q.swScope.length>0&&"string"==typeof Q.vapidKey&&Q.vapidKey.length>0}const Nn="firebase-messaging-store";let Ki=null;function Kn(){return Ki||(Ki=(0,ae.X3)("firebase-messaging-database",1,{upgrade:(L,Q)=>{0===Q&&L.createObjectStore(Nn)}})),Ki}function tr(L){return pr.apply(this,arguments)}function pr(){return(pr=(0,C.Z)(function*(L){const Q=$i(L),ot=yield(yield Kn()).transaction(Nn).objectStore(Nn).get(Q);if(ot)return ot;{const At=yield Kt(L.appConfig.senderId);if(At)return yield xi(L,At),At}})).apply(this,arguments)}function xi(L,Q){return gr.apply(this,arguments)}function gr(){return(gr=(0,C.Z)(function*(L,Q){const Ce=$i(L),At=(yield Kn()).transaction(Nn,"readwrite");return yield At.objectStore(Nn).put(Q,Ce),yield At.done,Q})).apply(this,arguments)}function Ei(L){return gi.apply(this,arguments)}function gi(){return(gi=(0,C.Z)(function*(L){const Q=$i(L),ot=(yield Kn()).transaction(Nn,"readwrite");yield ot.objectStore(Nn).delete(Q),yield ot.done})).apply(this,arguments)}function $i({appConfig:L}){return L.appId}const Wn=new e.LL("messaging","Messaging",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invali
1d-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."});function di(L,Q){return Qi.apply(this,arguments)}function Qi(){return(Qi=(0,C.Z)(function*(L,Q){var Ce;const ot=yield Wr(L),At=Ii(Q),jt={method:"POST",headers:ot,body:JSON.stringify(At)};let an;try{an=yield(yield fetch(Oo(L.appConfig),jt)).json()}catch(_n){throw Wn.create("token-subscribe-failed",{errorInfo:null===(Ce=_n)||void 0===Ce?void 0:Ce.toString()})}if(an.error)throw Wn.create("token-subscribe-failed",{errorInfo:an.error.message});if(!an.token)throw Wn.create("token-subscribe-no-token");return an.token})).apply(this,arguments)}function cr(L,Q){return Eo.apply(this,arguments)}function Eo(){return(Eo=(0,C.Z)(function*(L,Q){var Ce;const ot=yield Wr(L),At=Ii(Q.subscriptionOptions),jt={method:"PATCH",headers:ot,body:JSON.stringify(At)};let an;try{an=yield(yield fetch(`${Oo(L.appConfig)}/${Q.token}`,jt)).json()}catch(_n){throw Wn.create("token-update-failed",{errorInfo:null===(Ce=_n)||void 0===Ce?void 0:Ce.toString()})}if(an.error)throw Wn.create("token-update-failed",{errorInfo:an.error.message});if(!an.token)throw Wn.create("token-update-no-token");return an.token}
1)).apply(this,arguments)}function Vi(L,Q){return Mi.apply(this,arguments)}function Mi(){return(Mi=(0,C.Z)(function*(L,Q){var Ce;const At={method:"DELETE",headers:yield Wr(L)};try{const an=yield(yield fetch(`${Oo(L.appConfig)}/${Q}`,At)).json();if(an.error)throw Wn.create("token-unsubscribe-failed",{errorInfo:an.error.message})}catch(jt){throw Wn.create("token-unsubscribe-failed",{errorInfo:null===(Ce=jt)||void 0===Ce?void 0:Ce.toString()})}})).apply(this,arguments)}function Oo({projectId:L}){return`https://fcmregistrations.googleapis.com/v1/projects/${L}/registrations`}function Wr(L){return hn.apply(this,arguments)}function hn(){return(hn=(0,C.Z)(function*({appConfig:L,installations:Q}){const Ce=yield Q.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":L.apiKey,"x-goog-firebase-installations-auth":`FIS ${Ce}`})})).apply(this,arguments)}function Ii({p256dh:L,auth:Q,endpoint:Ce,vapidKey:ot}){const At={web:{endpoint:Ce,auth:Q,p256dh:L}};return ot!==Or&&(At.web.applicationPubKey=ot),At}const ba=6048e5;function jo(L){return Oi.apply(this,arguments)}function Oi(){return(Oi=(0,C.Z)(function*(L){const Q=yield P(L.swRegistration,L.vapidKey),Ce={vapidKey:L.vapidKey,swScope:L.swRegistration.scope,endpoint:Q.endpoint,auth:vr(Q.getKey("auth")),p256dh:vr(Q.getKey("p256dh"))},ot=yield tr(L.firebaseDependencies);if(ot){if(Ut(ot.subscriptionOptions,Ce))return Date.now()>=ot.createTime+ba?zo(L,{token:ot.token,createTime:Date.now(),subscriptionOptions:Ce}):ot.token;try{yield Vi(L.firebaseDependencies,ot.token)}catch(At){console.warn(At)}return G(L.firebaseDependencies,Ce)}return G(L.firebaseDependencies,Ce)})).apply(this,arguments)}function Ui(L){return Ko.apply(this,arguments)}function Ko(){return(Ko=(0,C.Z)(function*(L){const Q=yield tr(L.firebaseDependencies);Q&&(yield Vi(L.firebaseDependencies,Q.token),yield Ei(L.firebaseDependencies));const Ce=yield L.swRegistration.pushManager.getSubscription();return!Ce||Ce.unsubscribe()})).apply(this,arguments)}function zo(L,Q){return Qo.apply(this,arguments)}function Qo(){return(Qo=(0,C.Z)(function*(L,Q){try{const Ce=yield cr(L.firebaseDependencies,Q),ot=Object.assign(Object.assign({},Q),{token:Ce,createTime:Date.now()});return yield xi(L.firebaseDependencies,ot),Ce}catch(Ce){throw yield Ui(L),Ce}})).apply(this,arguments)}function G(L,Q){return H.apply(this,arguments)}function H(){return(H=(0,C.Z)(function*(L,Q){const ot={token:yield di(L,Q),createTime:Date.now(),subscriptionOptions:Q};return yield xi(L,ot),ot.token})).apply(this,arguments)}function P(L,Q){return ye.apply(this,arguments)}function ye(){return(ye=(0,C.Z)(function*(L,Q){return(yield L.pushManager.getSubscription())||L.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:Hr(Q)})})).apply(this,arguments)}function Ut(L,Q){return Q.vapidKey===L.vapidKey&&Q.endpoint===L.endpoint&&Q.auth===L.auth&&Q.p256dh===L.p256dh}function mn(L){const Q={from:L.from,collapseKey:L.collapse_key,messageId:L.fcmMessageId};return function Hi(L,Q){if(!Q.notification)return;L.notification={};const Ce=Q.notification.title;Ce&&(L.notification.title=Ce);const ot=Q.notification.body;ot&&(L.notification.body=ot);const At=Q.notification.image;At&&(L.notification.image=At);const jt=Q.notification.icon;jt&&(L.notification.icon=jt)}(Q,L),function Rr(L,Q){!Q.data||(L.data=Q.data)}(Q,L),function mo(L,Q){var Ce,ot,At,jt,an;if(!(Q.fcmOptions||null!==(Ce=Q.notification)&&void 0!==Ce&&Ce.click_action))return;L.fcmOptions={};const _n=null!==(At=null===(ot=Q.fcmOptions)||void 0===ot?void 0:ot.link)&&void 0!==At?At:null===(jt=Q.notification)||void 0===jt?void 0:jt.click_action;_n&&(L.fcmOptions.link=_n);const zn=null===(an=Q.fcmOptions)||void 0===an?void 0:an.analytics_label;zn&&(L.fcmOptions.analyticsLabel=zn)}(Q,L),Q}function Ro(L){return"object"==typeof L&&!!L&&no in L}function da(L,Q){const Ce=[];for(let ot=0;ot<L.length;ot++)Ce.push(L.charAt(ot)),ot<Q.length&&Ce.push(Q.charAt(ot));return Ce.join("")}function en(L){return Wn.create("missing-app-config-values",{valueName:L})}da("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),da("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class Gn{constructor(Q,Ce,ot){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroun
1dMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const At=function Va(L){if(!L||!L.options)throw en("App Configuration Object");if(!L.name)throw en("App Name");const Q=["projectId","apiKey","appId","messagingSenderId"],{options:Ce}=L;for(const ot of Q)if(!Ce[ot])throw en(ot);return{appName:L.name,projectId:Ce.projectId,apiKey:Ce.apiKey,appId:Ce.appId,senderId:Ce.messagingSenderId}}(Q);this.firebaseDependencies={app:Q,appConfig:At,installations:Ce,analyticsProvider:ot}}_delete(){return Promise.resolve()}}function Yo(L){return Ji.apply(this,arguments)}function Ji(){return(Ji=(0,C.Z)(function*(L){var Q;try{L.swRegistration=yield navigator.serviceWorker.register(Ho,{scope:to}),L.swRegistration.update().catch(()=>{})}catch(Ce){throw Wn.create("failed-service-worker-registration",{browserErrorMessage:null===(Q=Ce)||void 0===Q?void 0:Q.message})}})).apply(this,arguments)}function Ai(L,Q){return fo.apply(this,arguments)}function fo(){return(fo=(0,C.Z)(function*(L,Q){if(!Q&&!L.swRegistration&&(yield Yo(L)),Q||!L.swRegistration){if(!(Q instanceof ServiceWorkerRegistration))throw Wn.create("invalid-sw-registration");L.swRegistration=Q}})).apply(this,arguments)}function po(L,Q){return wr.apply(this,arguments)}function wr(){return(wr=(0,C.Z)(function*(L,Q){Q?L.vapidKey=Q:L.vapidKey||(L.vapidKey=Or)})).apply(this,arguments)}function Jo(){return(Jo=(0,C.Z)(function*(L,Q){if(!navigator)throw Wn.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw Wn.create("permission-blocked");return yield po(L,Q?.vapidKey),yield Ai(L,Q?.serviceWorkerRegistration),jo(L)})).apply(this,arguments)}function Ua(L,Q,Ce){return _o.apply(this,arguments)}function _o(){return(_o=(0,C.Z)(function*(L,Q,Ce){const ot=Go(Q);(yield L.firebaseDependencies.analyticsProvider.get()).logEvent(ot,{message_id:Ce[no],message_name:Ce[Co],message_time:Ce[ho],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}function Go(L){switch(L){case Mr.NOTIFICATION_CLICKED:return"notification_open";case Mr.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}function ji(){return(ji=(0,C.Z)(function*(L,Q){const Ce=Q.data;if(!Ce.isFirebaseMessaging)return;L.onMessageHandler&&Ce.messageType===Mr.PUSH_RECEIVED&&("function"==typeof L.onMessageHandler?L.onMessageHandler(mn(Ce)):L.onMessageHandler.next(mn(Ce)));const ot=Ce.data;Ro(ot)&&"1"===ot[fr]&&(yield Ua(L,Ce.messageType,ot))})).apply(this,arguments)}const Pr="@firebase/messaging",bo=L=>{const Q=new Gn(L.getProvider("app").getImmediate(),L.getProvider("installations-internal").getImmediate(),L.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",Ce=>function qo(L,Q){return ji.apply(this,arguments)}(Q,Ce)),Q},io=L=>{const Q=L.getProvider("messaging").getImmediate();return{getToken:ot=>function go(L,Q){return Jo.apply(this,arguments)}(Q,ot)}};function Xo(){return ea.apply(this,arguments)}function ea(){return(ea=(0,C.Z)(function*(){try{yield(0,e.eu)()}catch{return!1}return typeof window<"u"&&(0,e.hl)()&&(0,e.zI)()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")})).apply(this,arguments)}!function Ea(){(0,Y._registerComponent)(new ee.wA("messaging",bo,"PUBLIC")),(0,Y._registerComponent)(new ee.wA("messaging-internal",io,"PRIVATE")),(0,Y.registerVersion)(Pr,"0.11.0"),(0,Y.registerVersion)(Pr,"0.11.0","esm2017")}();const Mo="analytics",Ar="firebase_id",na="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",wa="https://www.googletagmanager.com/gtag/js",zi=new R.Yd("@firebase/analytics");function g(L){return Promise.all(L.map(Q=>Q.catch(Ce=>Ce)))}function u(L,Q){const Ce=document.createElement("script");Ce.src=`${wa}?l=${L}&id=${Q}`,Ce.async=!0,document.head.appendChild(Ce)}function v(L,Q,Ce,ot,At,jt){return O.apply(this,arguments)}function O(){return(O=(0,C.Z)(function*(L,Q,Ce,ot,At,jt){const an=ot[At];try{if(an)yield Q[an];else{const zn=(yield g(Ce)).find(oi=>oi.measurementId===At);zn&&(yield Q[zn.appId])}}catch(_n){zi.error(_n)}L("config",At,jt)})).apply(this,arguments)}function he(L,Q,Ce,ot,At){return Fe.apply(this,arguments)}function Fe(){return(Fe=(0,C.Z)(function*(L,Q,Ce,ot,At){try{let jt=[];if(At&&At.send_to){let an=At.send_to;Array.isArray(an)||(an=[an]);const _n=yield g(Ce);for(const zn of an){const oi=_n.find(Jn=>Jn.measurementId===zn),ai=oi&&Q[oi.appId];if(!ai){jt=[];break}jt.push(ai)}}0===jt.length&&(jt=Object.values(Q)),yield Promise.all(jt),L("event",ot,At||{})}catch(jt){zi.error(jt)}})).apply(this,arguments)}function $t(L){const Q=window.document.getElementsByTagName("script");for(const Ce of Object.values(Q))if(Ce.src&&Ce.src.includes(wa)&&Ce.src.includes(L))return Ce;return null}const Qt=new e.LL("analytics","Analytics",{"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-intialized 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}
1","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.'}),Rn=new class Dn{constructor(Q={},Ce=1e3){this.throttleMetadata=Q,this.intervalMillis=Ce}getThrottleMetadata(Q){return this.throttleMetadata[Q]}setThrottleMetadata(Q,Ce){this.throttleMetadata[Q]=Ce}deleteThrottleMetadata(Q){delete this.throttleMetadata[Q]}};function Qn(L){return new Headers({Accept:"application/json","x-goog-api-key":L})}function ci(L){return bi.apply(this,arguments)}function bi(){return(bi=(0,C.Z)(function*(L){var Q;const{appId:Ce,apiKey:ot}=L,At={method:"GET",headers:Qn(ot)},jt=na.replace("{app-id}",Ce),an=yield fetch(jt,At);if(200!==an.status&&304!==an.status){let _n="";try{const zn=yield an.json();null!==(Q=zn.error)&&void 0!==Q&&Q.message&&(_n=zn.error.message)}catch{}throw Qt.create("config-fetch-failed",{httpStatus:an.status,responseMessage:_n})}return an.json()})).apply(this,arguments)}function Yi(L){return Ri.apply(this,arguments)}function Ri(){return(Ri=(0,C.Z)(function*(L,Q=Rn,Ce){const{appId:ot,apiKey:At,measurementId:jt}=L.options;if(!ot)throw Qt.create("no-app-id");if(!At){if(jt)return{measurementId:jt,appId:ot};throw Qt.create("no-api-key")}const an=Q.getThrottleMetadata(ot)||{backoffCount:0,throttleEndTimeMillis:Date.now()},_n=new dr;return setTimeout((0,C.Z)(function*(){_n.abort()}),void 0!==Ce?Ce:6e4),Kr({appId:ot,apiKey:At,measurementId:jt},an,_n,Q)})).apply(this,arguments)}function Kr(L,Q,Ce){return yr.apply(this,arguments)}function yr(){return(yr=(0,C.Z)(function*(L,{throttleEndTimeMillis:Q,backoffCount:Ce},ot,At=Rn){var jt,an;const{appId:_n,measurementId:zn}=L;try{yield Fr(ot,Q)}catch(oi){if(zn)return zi.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${zn} provided in the "measurementId" field in the local Firebase config. [${null===(jt=oi)||void 0===jt?void 0:jt.message}]`),{appId:_n,measurementId:zn};throw oi}try{const oi=yield ci(L);return At.deleteThrottleMetadata(_n),oi}catch(oi){const ai=oi;if(!jr(ai)){if(At.deleteThrottleMetadata(_n),zn)return zi.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${zn} provided in the "measurementId" field in the local Firebase config. [${ai?.message}]`),{appId:_n,measurementId:zn};throw oi}const Jn=503===Number(null===(an=ai?.customData)||void 0===an?void 0:an.httpStatus)?(0,e.$s)(Ce,At.intervalMillis,30):(0,e.$s)(Ce,At.intervalMillis),so={throttleEndTimeMillis:Date.now()+Jn,backoffCount:Ce+1};
1return At.setThrottleMetadata(_n,so),zi.debug(`Calling attemptFetch again in ${Jn} millis`),Kr(L,so,ot,At)}})).apply(this,arguments)}function Fr(L,Q){return new Promise((Ce,ot)=>{const At=Math.max(Q-Date.now(),0),jt=setTimeout(Ce,At);L.addEventListener(()=>{clearTimeout(jt),ot(Qt.create("fetch-throttle",{throttleEndTimeMillis:Q}))})})}function jr(L){if(!(L instanceof e.ZR&&L.customData))return!1;const Q=Number(L.customData.httpStatus);return 429===Q||500===Q||503===Q||504===Q}class dr{constructor(){this.listeners=[]}addEventListener(Q){this.listeners.push(Q)}abort(){this.listeners.forEach(Q=>Q())}}let Sr,Dr;function Qr(){return(Qr=(0,C.Z)(function*(L,Q,Ce,ot,At){if(At&&At.global)L("event",Ce,ot);else{const jt=yield Q;L("event",Ce,Object.assign(Object.assign({},ot),{send_to:jt}))}})).apply(this,arguments)}function ur(L){Dr=L}function zr(L){Sr=L}function mi(){return No.apply(this,arguments)}function No(){return(No=(0,C.Z)(function*(){var L;if(!(0,e.hl)())return zi.warn(Qt.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,e.eu)()}catch(Q){return zi.warn(Qt.create("indexeddb-unavailable",{errorInfo:null===(L=Q)||void 0===L?void 0:L.toString()}).message),!1}return!0})).apply(this,arguments)}function Gi(){return(Gi=(0,C.Z)(function*(L,Q,Ce,ot,At,jt,an){var _n;const zn=Yi(L);zn.then(Jr=>{Ce[Jr.measurementId]=Jr.appId,L.options.measurementId&&Jr.measurementId!==L.options.measurementId&&zi.warn(`The measurement ID in the local Firebase config (${L.options.measurementId}) does not match the measurement ID fetched from the server (${Jr.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(Jr=>zi.error(Jr)),Q.push(zn);const oi=mi().then(Jr=>{if(Jr)return ot.getId()}),[ai,Jn]=yield Promise.all([zn,oi]);$t(jt)||u(jt,ai.measurementId),Dr&&(At("consent","default",Dr),ur(void 0)),At("js",new Date);const so=null!==(_n=an?.config)&&void 0!==_n?_n:{};return so.origin="firebase",so.update=!0,null!=Jn&&(so[Ar]=Jn),At("config",ai.measurementId,so),Sr&&(At("set",Sr),zr(void 0)),ai.measurementId})).apply(this,arguments)}class Nr{constructor(Q){this.app=Q}_delete(){return delete Si[this.app.options.appId],Promise.resolve()}}let Si={},ir=[];const fa={};let oa,Ao,ra="dataLayer",Ra=!1;function Er(L,Q,Ce){!function Wo(){const L=[];if((0,e.ru)()&&L.push("This is a browser extension environment."),(0,e.zI)()||L.push("Cookies are not available."),L.length>0){const Q=L.map((ot,At)=>`(${At+1}) ${ot}`).join(" "),Ce=Qt.create("invalid-analytics-context",{errorInfo:Q});zi.warn(Ce.message)}}();const ot=L.options.appId;if(!ot)throw Qt.create("no-app-id");if(!L.options.apiKey){if(!L.options.measurementId)throw Qt.create("no-api-key");zi.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 ${L.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=Si[ot])throw Qt.create("already-exists",{id:ot});if(!Ra){!function l(L){let Q=[];Array.isArray(window[L])?Q=window[L]:window[L]=Q}(ra);const{wrappedGtag:jt,gtagCore:an}=function Dt(L,Q,Ce,ot,At){let jt=function(...an){window[ot].push(arguments)};return window[At]&&"function"==typeof window[At]&&(jt=window[At]),window[At]=function Je(L,Q,Ce,ot){function jt(){return(jt=(0,C.Z)(function*(an,_n,zn){try{"event"===an?yield he(L,Q,Ce,_n,zn):"config"===an?yield v(L,Q,Ce,ot,_n,zn):"consent"===an?L("consent","update",zn):L("set",_n)}catch(oi){zi.error(oi)}})).apply(this,arguments)}return function At(an,_n,zn){return jt.apply(this,arguments)}}(jt,L,Q,Ce),{gtagCore:jt,wrappedGtag:window[At]}}(Si,ir,fa,ra,"gtag");Ao=jt,oa=an,Ra=!0}return Si[ot]=function ia(L,Q,Ce,ot,At,jt,an){return Gi.apply(this,arguments)}(L,ir,fa,Q,oa,ra,Ce),new Nr(L)}function Aa(){return us.apply(this,arguments)}function us(){return(us=(0,C.Z)(function*(){if((0,e.ru)()||!(0,e.zI)()||!(0,e.hl)())return!1;try{return yield(0,e.eu)()}catch{return!1}}
1)).apply(this,arguments)}const zt="@firebase/analytics";!function tn(){(0,Y._registerComponent)(new ee.wA(Mo,(Q,{options:Ce})=>Er(Q.getProvider("app").getImmediate(),Q.getProvider("installations-internal").getImmediate(),Ce),"PUBLIC")),(0,Y._registerComponent)(new ee.wA("analytics-internal",function L(Q){try{const Ce=Q.getProvider(Mo).getImmediate();return{logEvent:(ot,At,jt)=>function Ye(L,Q,Ce,ot){L=(0,e.m9)(L),function ma(L,Q,Ce,ot,At){return Qr.apply(this,arguments)}(Ao,Si[L.app.options.appId],Q,Ce,ot).catch(At=>zi.error(At))}(Ce,ot,At,jt)}}catch(Ce){throw Qt.create("interop-component-reg-failed",{reason:Ce})}},"PRIVATE")),(0,Y.registerVersion)(zt,"0.8.4"),(0,Y.registerVersion)(zt,"0.8.4","esm2017")}();var jn=f(4408),fi=f(7565);const oo=new class ii extends fi.v{}(class ki extends jn.o{constructor(Q,Ce){super(Q,Ce),this.scheduler=Q,this.work=Ce}schedule(Q,Ce=0){return Ce>0?super.schedule(Q,Ce):(this.delay=Ce,this.state=Q,this.scheduler.flush(this),this)}execute(Q,Ce){return Ce>0||this.closed?super.execute(Q,Ce):this._execute(Q,Ce)}requestAsyncId(Q,Ce,ot=0){return null!=ot&&ot>0||null==ot&&this.delay>0?super.requestAsyncId(Q,Ce,ot):(Q.flush(this),0)}});var aa=f(4986),E=f(8505),M=f(9468),w=f(5363);const I=new a.GfV("7.5.0"),J="__angularfire_symbol__analyticsIsSupportedValue",Ee="__angularfire_symbol__analyticsIsSupported",Pe="__angularfire_symbol__remoteConfigIsSupportedValue",gt="__angularfire_symbol__remoteConfigIsSupported",qt="__angularfire_symbol__messagingIsSupportedValue",wn="__angularfire_symbol__messagingIsSupported";function $o(L,Q,Ce){if(Q){if(1===Q.length)return Q[0];const jt=Q.filter(an=>an.app===Ce);if(1===jt.length)return jt[0]}return Ce.container.getProvider(L).getImmediate({optional:!0})}globalThis[Ee]||(globalThis[Ee]=Aa().then(L=>globalThis[J]=L).catch(()=>globalThis[J]=!1)),globalThis[wn]||(globalThis[wn]=Xo().then(L=>globalThis[qt]=L).catch(()=>globalThis[qt]=!1)),globalThis[gt]||(globalThis[gt]=Io().then(L=>globalThis[Pe]=L).catch(()=>globalThis[Pe]=!1));const Bo=(L,Q)=>{const Ce=Q?[Q]:(0,p.C6)(),ot=[];return Ce.forEach(At=>{At.container.getProvider(L).instances.forEach(an=>{ot.includes(an)||ot.push(an)})}),ot};function _r(){}class es{constructor(Q,Ce=oo){this.zone=Q,this.delegate=Ce}now(){return this.delegate.now()}schedule(Q,Ce,ot){const At=this.zone;return this.delegate.schedule(function(an){At.runGuarded(()=>{Q.apply(this,[an])})},Ce,ot)}}class hs{constructor(Q){this.zone=Q,this.task=null}call(Q,Ce){const ot=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",_r,{},_r,_r)),Ce.pipe((0,E.b)({next:ot,complete:ot,error:ot})).subscribe(Q).add(ot)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let nl=(()=>{class L{constructor(Ce){this.ngZone=Ce,this.outsideAngular=Ce.runOutsideAngular(()=>new es(Zone.current)),this.insideAngular=Ce.run(()=>new es(Zone.current,aa.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return L.\u0275fac=function(Ce){return new(Ce||L)(a.LFG(a.R0b))},L.\u0275prov=a.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();function ts(){const L=globalThis.\u0275AngularFireScheduler;if(!L)throw new Error("Either AngularFireModule has not been provided in your Ap
1pModule (this can be done manually or implictly using\nprovideFirebaseApp) or you're calling an AngularFire method outside of an NgModule (which is not supported).");return L}function Ha(L){return ts(),function rl(L){return function(Ce){return(Ce=Ce.lift(new hs(L.ngZone))).pipe((0,M.R)(L.outsideAngular),(0,w.Q)(L.insideAngular))}}(ts())(L)}},2090:(Pt,Ve,f)=>{"use strict";f.d(Ve,{$s:()=>le,BH:()=>Yt,L:()=>ae,LL:()=>Ge,Pz:()=>wt,UG:()=>Re,US:()=>ee,ZB:()=>de,ZR:()=>It,aH:()=>Mt,b$:()=>ue,eu:()=>V,hl:()=>Ue,jU:()=>$e,m9:()=>Ie,ne:()=>vt,pd:()=>Oe,r3:()=>Bt,ru:()=>fe,tV:()=>X,uI:()=>ge,vZ:()=>z,w1:()=>se,xO:()=>T,xb:()=>te,z$:()=>_e,zI:()=>He,zd:()=>re});const Y=function(ie){const we=[];let Qe=0;for(let Ct=0;Ct<ie.length;Ct++){let mt=ie.charCodeAt(Ct);mt<128?we[Qe++]=mt:mt<2048?(we[Qe++]=mt>>6|192,we[Qe++]=63&mt|128):55296==(64512&mt)&&Ct+1<ie.length&&56320==(64512&ie.charCodeAt(Ct+1))?(mt=65536+((1023&mt)<<10)+(1023&ie.charCodeAt(++Ct)),we[Qe++]=mt>>18|240,we[Qe++]=mt>>12&63|128,we[Qe++]=mt>>6&63|128,we[Qe++]=63&mt|128):(we[Qe++]=mt>>12|224,we[Qe++]=mt>>6&63|128,we[Qe++]=63&mt|128)}return we},ee={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(ie,we){if(!Array.isArray(ie))throw Error("encodeByteArray takes an array as a parameter");this.init_();const Qe=we?this.byteToCharMapWebSafe_:this.byteToCharMap_,Ct=[];for(let mt=0;mt<ie.length;mt+=3){const sn=ie[mt],An=mt+1<ie.length,In=An?ie[mt+1]:0,Fn=mt+2<ie.length,ln=Fn?ie[mt+2]:0;let Ke=(15&In)<<2|ln>>6,_t=63&ln;Fn||(_t=64,An||(Ke=64)),Ct.push(Qe[sn>>2],Qe[(3&sn)<<4|In>>4],Qe[Ke],Qe[_t])}return Ct.join("")},encodeString(ie,we){return this.HAS_NATIVE_SUPPORT&&!we?btoa(ie):this.encodeByteArray(Y(ie),we)},decodeString(ie,we){return this.HAS_NATIVE_SUPPORT&&!we?atob(ie):function(ie){const we=[];let Qe=0,Ct=0;for(;Qe<ie.length;){const mt=ie[Qe++];if(mt<128)we[Ct++]=String.fromCharCode(mt);else if(mt>191&&mt<224){const sn=ie[Qe++];we[Ct++]=String.fromCharCode((31&mt)<<6|63&sn)}else if(mt>239&&mt<365){const Fn=((7&mt)<<18|(63&ie[Qe++])<<12|(63&ie[Qe++])<<6|63&ie[Qe++])-65536;we[Ct++]=String.fromCharCode(55296+(Fn>>10)),we[Ct++]=String.fromCharCode(56320+(1023&Fn))}else{const sn=ie[Qe++],An=ie[Qe++];we[Ct++]=String.fromCharCode((15&mt)<<12|(63&sn)<<6|63&An)}}return we.join("")}(this.decodeStringToByteArray(ie,we))},decodeStringToByteArray(ie,we){this.init_();const Qe=we?this.charToByteMapWebSafe_:this.charToByteMap_,Ct=[];for(let mt=0;mt<ie.length;){const sn=Qe[ie.charAt(mt++)],In=mt<ie.length?Qe[ie.charAt(mt)]:0;++mt;const ln=mt<ie.length?Qe[ie.charAt(mt)]:64;++mt;const rt=mt<ie.length?Qe[ie.charAt(mt)]:64;if(++mt,null==sn||null==In||null==ln||null==rt)throw Error();Ct.push(sn<<2|In>>4),64!==ln&&(Ct.push(In<<4&240|ln>>2),64!==rt&&Ct.push(ln<<6&192|rt))}return Ct},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let ie=0;ie<this.ENCODED_VALS.length;ie++)this.byteToCharMap_[ie]=this.ENCODED_VALS.charAt(ie),this.charToByteMap_[this.byteToCharMap_[ie]]=ie,this.byteToCharMapWebSafe_[ie]=this.ENCODED_VALS_WEBSAFE.charAt(ie),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[ie]]=ie,ie>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(ie)]=ie,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(ie)]=ie)}}},ae=function(ie){return function(ie){const we=Y(ie);return ee.encodeByteArray(we,!0)}(ie).replace(/\./g,"")},X=function(ie){try{return ee.decodeString(ie,!0)}catch(we){console.error("base64Decode failed: ",we)}return null};function de(ie,we){if(!(we instanceof Object))return we;switch(we.constructor){case Date:return new Date(we.getTime());case Object:void 0===ie&&(ie={});break;case Array:ie=[];break;default:return we}for(const Qe in we)!we.hasOwnProperty(Qe)||!ce(Qe)||(ie[Qe]=de(ie[Qe],we[Qe]));return ie}function ce(ie){return"__proto__"!==ie}function _e(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function ge(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(_e())}function Re(){try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function $e(){return"object"==typeof self&&self.self===self}function fe(){const ie="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof ie&&void 0!==ie.id}function ue(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function se(){const ie=_e();return ie.indexOf("MSIE ")>=0||ie.indexOf("Trident/")>=0}function Ue(){return"object"==typeof indexedDB}function V(){return new Promise((ie,we)=>{try{let Qe=!0;const Ct="validate-browser-context-for-indexeddb-analytics-module",mt=self.indexedDB.open(Ct);mt.onsuccess=()=>{mt.result.close(),Qe||self.indexedDB.deleteDatabase(Ct),ie(!0)},mt.onupgradeneeded=()=>{Qe=!1},mt.onerror=()=>{var sn;we((null===(sn=mt.error)||void 0===sn?void 0:sn.message)||"")}}catch(Qe){we(Qe)}})}function He(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}const ze=()=>{try{return function Be(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const ie=process.env.__FIREBASE_DEFAULTS__;return ie?JSON.parse(ie):void 0})()||(()=>{if(typeof document>"u")return;let ie;try{ie=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;
1]+)/)}catch{return}const we=ie&&X(ie[1]);return we&&JSON.parse(we)})()}catch(ie){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${ie}`)}},Mt=()=>{var ie;return null===(ie=ze())||void 0===ie?void 0:ie.config},wt=ie=>{var we;return null===(we=ze())||void 0===we?void 0:we[`_${ie}`]};class Yt{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((we,Qe)=>{this.resolve=we,this.reject=Qe})}wrapCallback(we){return(Qe,Ct)=>{Qe?this.reject(Qe):this.resolve(Ct),"function"==typeof we&&(this.promise.catch(()=>{}),1===we.length?we(Qe):we(Qe,Ct))}}}class It extends Error{constructor(we,Qe,Ct){super(Qe),this.code=we,this.customData=Ct,this.name="FirebaseError",Object.setPrototypeOf(this,It.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Ge.prototype.create)}}class Ge{constructor(we,Qe,Ct){this.service=we,this.serviceName=Qe,this.errors=Ct}create(we,...Qe){const Ct=Qe[0]||{},mt=`${this.service}/${we}`,sn=this.errors[we],An=sn?function je(ie,we){return ie.replace(Ft,(Qe,Ct)=>{const mt=we[Ct];return null!=mt?String(mt):`<${Ct}?>`})}(sn,Ct):"Error";return new It(mt,`${this.serviceName}: ${An} (${mt}).`,Ct)}}const Ft=/\{\$([^}]+)}/g;function Bt(ie,we){return Object.prototype.hasOwnProperty.call(ie,we)}function te(ie){for(const we in ie)if(Object.prototype.hasOwnProperty.call(ie,we))return!1;return!0}function z(ie,we){if(ie===we)return!0;const Qe=Object.keys(ie),Ct=Object.keys(we);for(const mt of Qe){if(!Ct.includes(mt))return!1;const sn=ie[mt],An=we[mt];if(Te(sn)&&Te(An)){if(!z(sn,An))return!1}else if(sn!==An)return!1}for(const mt of Ct)if(!Qe.includes(mt))return!1;return!0}function Te(ie){return null!==ie&&"object"==typeof ie}function T(ie){const we=[];for(const[Qe,Ct]of Object.entries(ie))Array.isArray(Ct)?Ct.forEach(mt=>{we.push(encodeURIComponent(Qe)+"="+encodeURIComponent(mt))}):we.push(encodeURIComponent(Qe)+"="+encodeURIComponent(Ct));return we.length?"&"+we.join("&"):""}function re(ie){const we={};return ie.replace(/^\?/,"").split("&").forEach(Ct=>{if(Ct){const[mt,sn]=Ct.split("=");we[decodeURIComponent(mt)]=decodeURIComponent(sn)}}),we}function Oe(ie){const we=ie.indexOf("?");if(!we)return"";const Qe=ie.indexOf("#",we);return ie.substring(we,Qe>0?Qe:void 0)}function vt(ie,we){const Qe=new Rt(ie,we);return Qe.subscribe.bind(Qe)}class Rt{constructor(we,Qe){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=Qe,this.task.then(()=>{we(this)}).catch(Ct=>{this.error(Ct)})}next(we){this.forEachObserver(Qe=>{Qe.next(we)})}error(we){this.forEachObserver(Qe=>{Qe.error(we)}),this.close(we)}complete(){this.forEachObserver(we=>{we.complete()}),this.close()}subscribe(we,Qe,Ct){let mt;if(void 0===we&&void 0===Qe&&void 0===Ct)throw new Error("Missing Observer.");mt=function Gt(ie,we){if("object"!=typeof ie||null===ie)return!1;for(const Qe of we)if(Qe in ie&&"function"==typeof ie[Qe])return!0;return!1}(we,["next","error","complete"])?we:{next:we,error:Qe,complete:Ct},void 0===mt.next&&(mt.next=Zt),void 0===mt.error&&(mt.error=Zt),void 0===mt.complete&&(mt.complete=Zt);const sn=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?mt.error(this.finalError):mt.complete()}catch{}}),this.observers.push(mt),sn}unsubscribeOne(we){void 0===this.observers||void 0===this.observers[we]||(delete this.observers[we],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(we){if(!this.finalized)for(let Qe=0;Qe<this.observers.length;Qe++)this.sendOne(Qe,we)}sendOne(we,Qe){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[we])try{Qe(this.observers[we])}catch(Ct){typeof console<"u"&&console.error&&console.error(Ct)}})}close(we){this.finalized||(this.finalized=!0,void 0!==we&&(this.finalError=we),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function Zt(){}function le(ie,we=1e3,Qe=2){const Ct=we*Math.pow(Qe,ie),mt=Math.round(.5*Ct*(Math.random()-.5)*2);return Math.min(144e5,Ct+mt)}function Ie(ie){return ie&&ie._delegate?ie._delegate:ie}},615:(Pt,Ve,f)=>{"use strict";f.r(Ve),f.d(Ve,{AdminModule:()=>wl});var a=f(6895),p=f(3238),C=f(9602),Y=f(4080),e=f(4650),ee=f(727),R=f(9521);let $e=(()=>{class h{}
1return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[p.si,p.BQ,p.BQ]}),h})();var fe=f(4006),ue=f(9643),be=f(9549),se=f(445),j=f(1281),ne=f(7579),De=f(6451),Ue=f(4968),V=f(8675),He=f(2722),Be=f(5698),Ne=f(3353);const me=["connectionContainer"],Le=["inputContainer"],ze=["label"];function dt(h,d){1&h&&(e.ynx(0),e.TgZ(1,"div",14),e._UZ(2,"div",15)(3,"div",16)(4,"div",17),e.qZA(),e.TgZ(5,"div",18),e._UZ(6,"div",15)(7,"div",16)(8,"div",17),e.qZA(),e.BQk())}function qe(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"div",19),e.NdJ("cdkObserveContent",function(){e.CHM(r);const D=e.oxw();return e.KtG(D.updateOutlineGap())}),e.Hsn(1,1),e.qZA()}if(2&h){const r=e.oxw();e.Q6J("cdkObserveContentDisabled","outline"!=r.appearance)}}function Mt(h,d){if(1&h&&(e.ynx(0),e.Hsn(1,2),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.BQk()),2&h){const r=e.oxw(2);e.xp6(3),e.Oqu(r._control.placeholder)}}function wt(h,d){1&h&&e.Hsn(0,3,["*ngSwitchCase","true"])}function Yt(h,d){1&h&&(e.TgZ(0,"span",23),e._uU(1," *"),e.qZA())}function Lt(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"label",20,21),e.NdJ("cdkObserveContent",function(){e.CHM(r);const D=e.oxw();return e.KtG(D.updateOutlineGap())}),e.YNc(2,Mt,4,1,"ng-container",12),e.YNc(3,wt,1,0,"ng-content",12),e.YNc(4,Yt,2,0,"span",22),e.qZA()}if(2&h){const r=e.oxw();e.ekj("mat-empty",r._control.empty&&!r._shouldAlwaysFloat())("mat-form-field-empty",r._control.empty&&!r._shouldAlwaysFloat())("mat-accent","accent"==r.color)("mat-warn","warn"==r.color),e.Q6J("cdkObserveContentDisabled","outline"!=r.appearance)("id",r._labelId)("ngSwitch",r._hasLabel()),e.uIk("for",r._control.id)("aria-owns",r._control.id),e.xp6(2),e.Q6J("ngSwitchCase",!1),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngIf",!r.hideRequiredMarker&&r._control.required&&!r._control.disabled)}}function ft(h,d){1&h&&(e.TgZ(0,"div",24),e.Hsn(1,4),e.qZA())}function It(h,d){if(1&h&&(e.TgZ(0,"div",25),e._UZ(1,"span",26),e.qZA()),2&h){const r=e.oxw();e.xp6(1),e.ekj("mat-accent","accent"==r.color)("mat-warn","warn"==r.color)}}function Ge(h,d){if(1&h&&(e.TgZ(0,"div"),e.Hsn(1,5),e.qZA()),2&h){const r=e.oxw();e.Q6J("@transitionMessages",r._subscriptAnimationState)}}function je(h,d){if(1&h&&(e.TgZ(0,"div",30),e._uU(1),e.qZA()),2&h){const r=e.oxw(2);e.Q6J("id",r._hintLabelId),e.xp6(1),e.Oqu(r.hintLabel)}}function Ft(h,d){if(1&h&&(e.TgZ(0,"div",27),e.YNc(1,je,2,2,"div",28),e.Hsn(2,6),e._UZ(3,"div",29),e.Hsn(4,7),e.qZA()),2&h){const r=e.oxw();e.Q6J("@transitionMessages",r._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",r.hintLabel)}}const B=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],$=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],st=new e.OlP("MatHint");let Bt=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275dir=e.lG2({type:h,selectors:[["mat-label"]]}),h})(),at=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275dir=e.lG2({type:h,selectors:[["mat-placeholder"]]}),h})(),te=0;const Te=(0,p.pj)(class{constructor(h){this._elementRef=h}},"primary"),xe=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let T=(()=>{class h extends Te{constructor(r,c,D,U,We,yt,Jt){super(r),this._changeDetectorRef=c,this._dir=D,this._defaults=U,this._platform=We,this._ngZone=yt,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new ne.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+te++,this._labelId="mat-form-field-label-"+te++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==Jt,this.appearance=U?.appearance||"legacy",U&&(this._hideRequiredMarker=Boolean(U.hideRequiredMarker),U.color&&(this.color=this.defaultColor=U.color))}get appearance(){return this._appearance}set appearance(r){const c=this._appearance;this._appearance=r||this._defaults?.appearance||"legacy","outline"===this._appearance&&c!==r&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(r){this._hideRequiredMarker=(0,j.Ig)(r)}
1_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(r){this._hintLabel=r,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(r){r!==this._floatLabel&&(this._floatLabel=r||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(r){this._explicitFormFieldControl=r}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const r=this._control;r.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${r.controlType}`),r.stateChanges.pipe((0,V.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),r.ngControl&&r.ngControl.valueChanges&&r.ngControl.valueChanges.pipe((0,He.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,He.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,De.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,V.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,V.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,He.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(r){const c=this._control?this._control.ngControl:null;return c&&c[r]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,Ue.R)(this._label.nativeElement,"transitionend").pipe((0,Be.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let r=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&r.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const c=this._hintChildren?this._hintChildren.find(U=>"start"===U.align):null,D=this._hintChildren?this._hintChildren.find(U=>"end"===U.align):null;c?r.push(c.id):this._hintLabel&&r.push(this._hintLabelId),D&&r.push(D.id)}else this._errorChildren&&r.push(...this._errorChildren.map(c=>c.id));this._control.setDescribedByIds(r)}}_validateControlChild(){}updateOutlineGap(){const r=this._label?this._label.nativeElement:null,c=this._connectionContainerRef.nativeElement,D=".mat-form-field-outline-start",U=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!r||!r.children.length||!r.textContent.trim()){const un=c.querySelectorAll(`${D}, ${U}`);for(let ri=0;ri<un.length;ri++)un[ri].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let We=0,yt=0;const Jt=c.querySelectorAll(D),Cn=c.querySelectorAll(U);if(this._label&&this._label.nativeElement.children.length){const un=c.getBoundingClientRect();if(0===un.width&&0===un.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const ri=this._getStartEnd(un),bn=r.children,lo=this._getStartEnd(bn[0].getBoundingClientRect());let la=0;for(let So=0;So<bn.length;So++)la+=bn[So].offsetWidth;We=Math.abs(lo-ri)-5,yt=la>0?.75*la+10:0}for(let un=0;un<Jt.length;un++)Jt[un].style.width=`${We}px`;for(let un=0;un<Cn.length;un++)Cn[un].style.width=`${yt}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(r){return this._dir&&"rtl"===this._dir.value?r.right:r.left}
1_isAttachedToDOM(){const r=this._elementRef.nativeElement;if(r.getRootNode){const c=r.getRootNode();return c&&c!==r}return document.documentElement.contains(r)}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(se.Is,8),e.Y36(xe,8),e.Y36(Ne.t4),e.Y36(e.R0b),e.Y36(e.QbO,8))},h.\u0275cmp=e.Xpm({type:h,selectors:[["mat-form-field"]],contentQueries:function(r,c,D){if(1&r&&(e.Suo(D,be.Eo,5),e.Suo(D,be.Eo,7),e.Suo(D,Bt,5),e.Suo(D,Bt,7),e.Suo(D,at,5),e.Suo(D,be.ab,5),e.Suo(D,st,5),e.Suo(D,be.Px,5),e.Suo(D,be.Ve,5)),2&r){let U;e.iGM(U=e.CRH())&&(c._controlNonStatic=U.first),e.iGM(U=e.CRH())&&(c._controlStatic=U.first),e.iGM(U=e.CRH())&&(c._labelChildNonStatic=U.first),e.iGM(U=e.CRH())&&(c._labelChildStatic=U.first),e.iGM(U=e.CRH())&&(c._placeholderChild=U.first),e.iGM(U=e.CRH())&&(c._errorChildren=U),e.iGM(U=e.CRH())&&(c._hintChildren=U),e.iGM(U=e.CRH())&&(c._prefixChildren=U),e.iGM(U=e.CRH())&&(c._suffixChildren=U)}},viewQuery:function(r,c){if(1&r&&(e.Gf(me,7),e.Gf(Le,5),e.Gf(ze,5)),2&r){let D;e.iGM(D=e.CRH())&&(c._connectionContainerRef=D.first),e.iGM(D=e.CRH())&&(c._inputContainerRef=D.first),e.iGM(D=e.CRH())&&(c._label=D.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(r,c){2&r&&e.ekj("mat-form-field-appearance-standard","standard"==c.appearance)("mat-form-field-appearance-fill","fill"==c.appearance)("mat-form-field-appearance-outline","outline"==c.appearance)("mat-form-field-appearance-legacy","legacy"==c.appearance)("mat-form-field-invalid",c._control.errorState)("mat-form-field-can-float",c._canLabelFloat())("mat-form-field-should-float",c._shouldLabelFloat())("mat-form-field-has-label",c._hasFloatingLabel())("mat-form-field-hide-placeholder",c._hideControlPlaceholder())("mat-form-field-disabled",c._control.disabled)("mat-form-field-autofilled",c._control.autofilled)("mat-focused",c._control.focused)("ng-untouched",c._shouldForward("untouched"))("ng-touched",c._shouldForward("touched"))("ng-pristine",c._shouldForward("pristine"))("ng-dirty",c._shouldForward("dirty"))("ng-valid",c._shouldForward("valid"))("ng-invalid",c._shouldForward("invalid"))("ng-pending",c._shouldForward("pending"))("_mat-animation-noopable",!c._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:be.G_,useExisting:h}]),e.qOj],ngContentSelectors:$,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(r,c){1&r&&(e.F$t(B),e.TgZ(0,"div",0)(1,"div",1,2),e.NdJ("click",function(U){return c._control.onContainerClick&&c._control.onContainerClick(U)}),e.YNc(3,dt,9,0,"ng-container",3),e.YNc(4,qe,2,1,"div",4),e.TgZ(5,"div",5,6),e.Hsn(7),e.TgZ(8,"span",7),e.YNc(9,Lt,5,16,"label",8),e.qZA()(),e.YNc(10,ft,2,0,"div",9),e.qZA(),e.YNc(11,It,2,4,"div",10),e.TgZ(12,"div",11),e.YNc(13,Ge,2,1,"div",12),e.YNc(14,Ft,5,2,"div",13),e.qZA()()),2&r&&(e.xp6(3),e.Q6J("ngIf","outline"==c.appearance),e.xp6(1),e.Q6J("ngIf",c._prefixChildren.length),e.xp6(
15),e.Q6J("ngIf",c._hasFloatingLabel()),e.xp6(1),e.Q6J("ngIf",c._suffixChildren.length),e.xp6(1),e.Q6J("ngIf","outline"!=c.appearance),e.xp6(1),e.Q6J("ngSwitch",c._getDisplayedMessages()),e.xp6(1),e.Q6J("ngSwitchCase","error"),e.xp6(1),e.Q6J("ngSwitchCase","hint"))},dependencies:[a.O5,a.RF,a.n9,ue.wD],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}
1.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;
1left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[be.TN.transitionMessages]},changeDetection:0}),h})(),nt=(()=>{class h{}
1return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[a.ez,p.BQ,ue.Q8,p.BQ]}),h})();var vt=f(284),Rt=f(9349);let Gt=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({providers:[p.rD],imports:[Rt.Ky,nt,p.BQ,Rt.Ky,nt]}),h})();var Zt=f(7392),ut=f(7855),Wt=f(8184),bt=f(2687),Ot=f(6325);function fn(h,d){}const dn_params_enterAnimationDuration="150ms",dn_params_exitAnimationDuration="75ms";class _i extends Ot.vA{constructor(){super(...arguments),this.enterAnimationDuration=Ot._H.params.enterAnimationDuration,this.exitAnimationDuration=Ot._H.params.exitAnimationDuration}}let En=(()=>{class h extends Ot.X2{constructor(r,c,D,U,We,yt,Jt,Cn,un){super(r,c,D,U,We,yt,Jt,un),this._changeDetectorRef=Cn,this._state="enter"}_onAnimationDone({toState:r,totalTime:c}){"enter"===r?this._openAnimationDone(c):"exit"===r&&this._animationStateChanged.next({state:"closed",totalTime:c})}_onAnimationStart({toState:r,totalTime:c}){"enter"===r?this._animationStateChanged.next({state:"opening",totalTime:c}):("exit"===r||"void"===r)&&this._animationStateChanged.next({state:"closing",totalTime:c})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||dn_params_enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||dn_params_exitAnimationDuration}}}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.SBq),e.Y36(bt.qV),e.Y36(a.K0,8),e.Y36(_i),e.Y36(bt.ic),e.Y36(e.R0b),e.Y36(Wt.Iu),e.Y36(e.sBO),e.Y36(bt.tE))},h.\u0275cmp=e.Xpm({type:h,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(r,c){1&r&&e.WFA("@dialogContainer.start",function(U){return c._onAnimationStart(U)})("@dialogContainer.done",function(U){return c._onAnimationDone(U)}),2&r&&(e.Ikx("id",c._config.id),e.uIk("aria-modal",c._config.ariaModal)("role",c._config.role)("aria-labelledby",c._config.ariaLabel?null:c._ariaLabelledBy)("aria-label",c._config.ariaLabel)("aria-describedby",c._config.ariaDescribedBy||null),e.d8E("@dialogContainer",c._getAnimationState()))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,c){1&r&&e.YNc(0,fn,0,0,"ng-template",0)},dependencies:[Y.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[Ot.Nv.dialogContainer]}}),h})();class Vn extends Ot.so{}const kt=new e.OlP("MatDialogData"),Ze=new e.OlP("mat-dialog-default-options"),Me=new e.OlP("mat-dialog-scroll-strategy"),q={provide:Me,deps:[Wt.aV],useFactory:function le(h){return()=>h.scrollStrategies.block()}};let Z=(()=>{class h extends Ot.Se{constructor(r,c,D,U,We,yt,Jt,Cn){super(r,c,U,yt,Jt,We,Vn,En,kt,Cn),this.dialogConfigClass=_i}}return h.\u0275fac=function(r){return new(r||h)(e.LFG(Wt.aV),e.LFG(e.zs3),e.LFG(a.Ye,8),e.LFG(Ze,8),e.LFG(Me),e.LFG(h,12),e.LFG(Wt.Xj),e.LFG(e.QbO,8))},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac}),h})(),sn=(()=>{class h{}
1return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({providers:[Z,q],imports:[ut.Su,Wt.U8,Y.eL,p.BQ,p.BQ]}),h})();const tt=new e.OlP("ngx-mat-date-formats");class Ni extends p._A{isSameTime(d,r){return null==d||null==r||this.getHour(d)===this.getHour(r)&&this.getMinute(d)===this.getMinute(r)&&this.getSecond(d)===this.getSecond(r)}copyTime(d,r){this.setHour(d,this.getHour(r)),this.setMinute(d,this.getMinute(r)),this.setSecond(d,this.getSecond(r))}compareDateWithTime(d,r,c){let D=super.compareDate(d,r)||this.getHour(d)-this.getHour(r)||this.getMinute(d)-this.getMinute(r);return c&&(D=D||this.getSecond(d)-this.getSecond(r)),D}setTimeByDefaultValues(d,r){if(!Array.isArray(r))throw Error("@Input DefaultTime should be an array");this.setHour(d,r[0]||0),this.setMinute(d,r[1]||0),this.setSecond(d,r[2]||0)}}const Yn=new e.OlP("NGX_MAT_DATE_RANGE_SELECTION_STRATEGY");let ar=(()=>{class h{constructor(r){this._dateAdapter=r}selectionFinished(r,c){let{start:D,end:U}=c;return null==D?D=r:null==U&&r&&this._dateAdapter.compareDate(r,D)>=0?U=r:(D=r,U=null),new C.C0(D,U)}createPreview(r,c){let D=null,U=null;return c.start&&!c.end&&r&&(D=c.start,U=r),new C.C0(D,U)}}return h.\u0275fac=function(r){return new(r||h)(e.LFG(Ni))},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac}),h})();function Li(h){return Error(`NgxMatDatepicker: No provider found for ${h}. You must import one of the following modules at your application root: NgxMatNativeDateModule, NgxMatMomentModule, or provide a custom implementation.`)}(0,p.pj)(class{constructor(h){this._elementRef=h}});const to={provide:fe.JU,useExisting:(0,e.Gpc)(()=>no),multi:!0},Or={provide:fe.Cf,useExisting:(0,e.Gpc)(()=>no),multi:!0};class wo{constructor(d,r){this.target=d,this.targetElement=r,this.value=this.target.value}}let fr,no=(()=>{class h{constructor(r,c,D,U){if(this._elementRef=r,this._dateAdapter=c,this._dateFormats=D,this._formField=U,this.dateChange=new e.vpe,this.dateInput=new e.vpe,this._valueChange=new e.vpe,this.stateChanges=new e.vpe,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=ee.w0.EMPTY,this._localeSubscription=ee.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatetimePickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=We=>{const yt=this._getValidDateOrNull(this._dateAdapter.deserialize(We.value));return!this.min||!yt||this._dateAdapter.compareDateWithTime(this.min,yt,this._datepicker.showSeconds)<=0?null:{matDatetimePickerMin:{min:this.min,actual:yt}}},this._maxValidator=We=>{const yt=this._getValidDateOrNull(this._dateAdapter.deserialize(We.value));return!this.max||!yt||this._dateAdapter.compareDateWithTime(this.max,yt,this._datepicker.showSeconds)>=0?null:{matDatetimePickerMax:{max:this.max,actual:yt}}},this._filterValidator=We=>{const yt=this._getValidDateOrNull(this._dateAdapter.deserialize(We.value));return this._dateFilter&&yt&&!this._dateFilter(yt)?{matDatetimePickerFilter:!0}:null},this._validator=fe.kI.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw Li("NgxMatDateAdapter");if(!this._dateFormats)throw Li("NGX_MAT_DATE_FORMATS");this._localeSubscription=c.localeChanges.subscribe(()=>{this.value=this.value})}set ngxMatDatetimePicker(r){!r||(this._datepicker=r,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(c=>{this.value=c,this._cvaOnChange(c),this._onTouched(),this.dateInput.emit(new wo(this,this._elementRef.nativeElement)),this.dateChange.emit(new wo(this,this._elementRef.nativeElement))}))}set ngxMatDatetimePickerFilter(r){this._dateFilter=r,this._validatorOnChange()}get value(){return this._value}set value(r){r=this._dateAdapter.deserialize(r),this._lastValueValid=!r||this._dateAdapter.isValid(r),r=this._getValidDateOrNull(r);const c=this.value;this._value=r,this._formatValue(r),this._dateAdapter.sameDate(c,r)||this._valueChange.emit(r)}get min(){return this._min}set min(r){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(r)),this._val
1idatorOnChange()}get max(){return this._max}set max(r){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(r)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(r){const c=null!=r&&"false"!=`${r}`,D=this._elementRef.nativeElement;this._disabled!==c&&(this._disabled=c,this.stateChanges.emit(void 0)),c&&D.blur&&D.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(r){this._validatorOnChange=r}validate(r){return this._validator?this._validator(r):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(r){this.value=r}registerOnChange(r){this._cvaOnChange=r}registerOnTouched(r){this._onTouched=r}setDisabledState(r){this.disabled=r}_onKeydown(r){this._datepicker&&r.altKey&&r.keyCode===R.JH&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),r.preventDefault())}_onInput(r){const c=this._lastValueValid;let D=this._dateAdapter.parse(r,this._dateFormats.parse.dateInput);this._lastValueValid=!D||this._dateAdapter.isValid(D),D=this._getValidDateOrNull(D);const U=this._dateAdapter.isSameTime(D,this._value);null!=D&&(!U||!this._dateAdapter.sameDate(D,this._value))||null==D&&null!=this._value?(this._value=D,this._cvaOnChange(D),this._valueChange.emit(D),this.dateInput.emit(new wo(this,this._elementRef.nativeElement))):c!==this._lastValueValid&&this._validatorOnChange()}_onChange(){this.dateChange.emit(new wo(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_onFocus(){this._datepicker&&this._datepicker.opened&&this._datepicker.cancel()}_formatValue(r){this._elementRef.nativeElement.value=r?this._dateAdapter.format(r,this._dateFormats.display.dateInput):""}_getValidDateOrNull(r){return this._dateAdapter.isDateInstance(r)&&this._dateAdapter.isValid(r)?r:null}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.SBq),e.Y36(Ni,8),e.Y36(tt,8),e.Y36(T,8))},h.\u0275dir=e.lG2({type:h,selectors:[["input","ngxMatDatetimePicker",""]],hostVars:5,hostBindings:function(r,c){1&r&&e.NdJ("input",function(U){return c._onInput(U.target.value)})("change",function(){return c._onChange()})("blur",function(){return c._onBlur()})("focus",function(){return c._onFocus()})("keydown",function(U){return c._onKeydown(U)}),2&r&&(e.Ikx("disabled",c.disabled),e.uIk("aria-haspopup",c._datepicker?"dialog":null)("aria-owns",(null==c._datepicker?null:c._datepicker.opened)&&c._datepicker.id||null)("min",c.min?c._dateAdapter.toIso8601(c.min):null)("max",c.max?c._dateAdapter.toIso8601(c.max):null))},inputs:{ngxMatDatetimePicker:"ngxMatDatetimePicker",ngxMatDatetimePickerFilter:"ngxMatDatetimePickerFilter",value:"value",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["ngxMatDatetimePickerInput"],features:[e._Bn([to,Or,{provide:vt.Jk,useExisting:h}])]}),h})(),Co=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[a.ez,Gt,fe.UX,fe.u5,Zt.Ps,$e]}),h})(),ho=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({providers:[C.Lv,{provide:Yn,useClass:ar}],imports:[a.ez,C.FA,sn,Y.eL,fe.u5,Zt.Ps,$e,Gt,Co]}),h})();try{fr=typeof Intl<"u"}catch{fr=!1}const Do={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},Mr=ht(31,h=>String(h+1)),vr={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},Hr=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ht(h,d){const r=Array(h);for(let c=0;c<h;c++)r[c]=d(c);return r}let pt=(()=>{class h extends Ni{constructor(r,c){super(),this.useUtcForDisplay=!0,super.setLocale(r),this.useUtcForDisplay=!c.TRIDENT,this._clampDate=c.TRIDENT||c.EDGE}getYear(r){return r.getFullYear()}getMonth(r){return r.getMonth()}getDate(r){return r.getDate()}getDayOfWeek(r){return r.getDay()}getMonthNames(r){if(fr){const c=new Intl.DateTimeFormat(this.locale,{month:r,timeZone:"utc"});return ht(12,D=>this._stripDirectionalityCharacters(this._format(c,new Date(2017,D,1))))}return Do[r]}getDateNames(){if(fr){const r=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ht(31,c=>this._stripDirectionalityCharacters(this._format(r,new Date(2017,0,c+1))))}return Mr}getDayOfWeekNames(r){if(fr){const c=new Intl.DateTimeFormat(this.locale,{weekday:r,timeZone:"utc"});return ht(7,D=>this._stripDirectionalityCharacters(this._format(c,new Date(2017,0,D+1))))}return vr[r]}getYearName(r){if(fr){const c=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(c,r))}return String(this.getYear(r))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(r){return this.getDate(this._createDateWithOverflow(this.getYear(r),this.getMonth(r)+1,0))}clone(r){return new Date(r.getTime())}createDate(r,c,D){if(c<0||c>11)throw Error(`Invalid month index "${c}". Month index has to be between 0 and 11.`);if(D<1)throw Error(`Invalid date "${D}". Date has to be greater than 0.`);let U=this._createDateWithOverflow(r,c,D);if(U.getMonth()!=c)throw Error(`Invalid date "${D}" for month with index "${c}".`);return U}today(){return new Date}parse(r){return"number"==typeof r?new Date(r):r?new Date(Date.parse(r)):null}format(r,c){if(!this.isValid(r))throw Error("NativeDateAdapter: Cannot format invalid date.");if(fr){this._clampDate&&(r.getFullYear()<1||r.getFullYear()>9999)&&(r=this.clone(r)).setFullYear(Math.max(1,Math.min(9999,r.getFullYear()))),c={...c,timeZone:"utc"};const D=new Intl.DateTimeFormat(this.locale,c);return this._stripDirectionalityCharacters(this._format(D,r))}return this._stripDirectionalityCharacters(r.toDateString())}addCalendarYears(r,c){return this.addCalendarMonths(r,12*c)}addCalendarMonths(r,c){let D=this._createDateWithOverflow(this.getYear(r),this.getMonth(r)+c,this.getDate(r));return this.getMonth(D)!=((this.getMonth(r)+c)%12+12)%12&&(D=this._createDateWithOverflow(this.getYear(D),this.getMonth(D),0)),D}addCalendarDays(r,c){return this._createDateWithOverflow(this.getYear(r),this.getMonth(r),this.getDate(r)+c)}toIso8601(r){return[r.getUTCFullYear(),this._2digit(r.getUTCMonth()+1),this._2digit(r.getUTCDate())].join("-")}deserialize(r){if("string"==typeof r){if(!r)return null;if(Hr.test(r)){let c=new Date(r);if(this.isValid(c))return c}}return super.deserialize(r)}isDateInstance(r){return r instanceof Date}isValid(r){return!isNaN(r.getTime())}invalid(){return new Date(NaN)}getHour(r){return r.getHours()}getMinute(r){return r.getMinutes()}getSecond(r){return r.getSeconds()}setHour(r,c){r.setHours(c)}setMinute(r,c){r.setMinutes(c)}setSecond(r,c){r.setSeconds(c)}_createDateWithOverflow(r,c,D){const U=new Date(r,c,D);return r>=0&&r<100&&U.setFullYear(this.getYear(U)-1900),U}_2digit(r){return("00"+r).slice(-2)}_stripDirectionalityCharacters(r){return r.replace(/[\u200e\u200f]/g,"")}_format(r,c){const D=new Date;return D.setUTCFullYear(c.getFullYear(),c.getMonth(),c.getDate()),D.setUTCHours(c.getHours(),c.getMinutes(),c.getSeconds(),c.getMilliseconds()),r.format(D)}}
1return h.\u0275fac=function(r){return new(r||h)(e.LFG(p.Ad,8),e.LFG(Ne.t4))},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac}),h})();const Tt={year:"numeric",month:"numeric",day:"numeric",hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"},Kt={parse:{dateInput:Tt},display:{dateInput:Tt,monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let nn=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({providers:[{provide:Ni,useClass:pt}],imports:[Ne.ud]}),h})(),yn=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({providers:[{provide:tt,useValue:Kt}],imports:[nn]}),h})();var On=f(8606),ti=f(9132),Nn=f(137),Ki=f(4526),Kn=f(5861),tr=f(9646),pr=f(9300),xi=f(4004),gr=f(3900),Ei=f(8951),gi=f(9101),$i=f(4850),Bi=f(3683),Wn=f(8255);function di(h,d){if(1&h&&(e.TgZ(0,"h2",7),e._uU(1),e.qZA()),2&h){const r=e.oxw();e.xp6(1),e.hij(" ",r.breadcrumbItem.label," ")}}const Qi=function(){return["/admin/dashboard"]};function cr(h,d){1&h&&(e.TgZ(0,"div")(1,"a",8)(2,"mat-icon"),e._uU(3,"home"),e.qZA(),e._uU(4," Jaffa "),e.qZA(),e._UZ(5,"mat-divider"),e.qZA()),2&h&&(e.xp6(1),e.Q6J("routerLink",e.DdM(1,Qi)))}class Eo{constructor(d,r,c,D){this.authService=d,this.breakpointsService=r,this.router=c,this.route=D,this.subscriptions=[];const U=this.router.events.pipe((0,pr.h)(We=>We instanceof ti.m2),(0,xi.U)(()=>D),(0,xi.U)(We=>We.firstChild),(0,gr.w)(We=>We?We.data:(0,tr.of)({}))).subscribe(We=>{this.breadcrumbItem=We.breadcrumb?We.breadcrumb:{path:"",label:""}});this.subscriptions.push(U)}logout(){var d=this;return(0,Kn.Z)(function*(){yield d.authService.logout()})()}ngOnDestroy(){for(const d of this.subscriptions)d.unsubscribe()}rootRoute(d){for(;d.firstChild;)d=d.firstChild;return d}get device$(){return this.breakpointsService.device$}static#e=this.\u0275fac=function(r){return new(r||Eo)(e.Y36(Ei.e),e.Y36(Ki.S),e.Y36(ti.F0),e.Y36(ti.gz))};static#t=this.\u0275cmp=e.Xpm({type:Eo,selectors:[["sv-admin-header"]],decls:16,vars:5,consts:[[1,"header"],["class","ml-1 f-medium-phone",4,"ngIf"],[1,"spacer"],["mat-icon-button","","id","header-menu",3,"matMenuTriggerFor"],["menu","matMenu"],[4,"ngIf"],["mat-menu-item","","id","logout-link",3,"click"],[1,"ml-1","f-medium-phone"],["mat-menu-item","",3,"routerLink"]],template:function(r,c){if(1&r&&(e.TgZ(0,"mat-toolbar",0)(1,"mat-toolbar-row"),e.YNc(2,di,2,1,"h2",1),e._UZ(3,"span",2),e.ynx(4),e.TgZ(5,"button",3)(6,"mat-icon"),e._uU(7,"menu"),e.qZA()(),e.TgZ(8,"mat-menu",null,4),e.YNc(10,cr,6,2,"div",5),e.ALo(11,"async"),e.TgZ(12,"a",6),e.NdJ("click",function(){return c.logout()}),e.TgZ(13,"mat-icon"),e._uU(14,"logout"),e.qZA(),e._uU(15," Odhl\xe1sit "),e.qZA()(),e.BQk(),e.qZA()()),2&r){const D=e.MAs(9);e.xp6(2),e.Q6J("ngIf",c.breadcrumbItem),e.xp6(3),e.Q6J("matMenuTriggerFor",D),e.xp6(5),e.Q6J("ngIf","phone"===e.lcZ(11,3,c.device$))}},dependencies:[a.O5,ti.rH,Zt.Hw,gi.RK,$i.d,Bi.Ye,Bi.rD,Wn.VK,Wn.OP,Wn.p6,a.Ov],styles:[".header[_ngcontent-%COMP%]{background:#f5f5f5}"]})}var Vi=f(4098),Mi=f(9718),Oo=f(1884),Wr=f(8372),hn=f(7340);const Ii=["*"],ba=["content"];function jo(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){e.CHM(r);const D=e.oxw();return e.KtG(D._onBackdropClicked())}),e.qZA()}if(2&h){const r=e.oxw();e.ekj("mat-drawer-shown",r._isShowingBackdrop())}}function Oi(h,d){1&h&&(e.TgZ(0,"mat-drawer-content"),e.Hsn(1,2),e.qZA())}const Ui=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Ko=["mat-drawer","mat-drawer-content","*"],ye={transformDrawer:(0,hn.X$)("transform",[(0,hn.SB)("open, open-instant",(0,hn.oB)({transform:"none",visibility:"visible"})),(0,hn.SB)("void",(0,hn.oB)({"box-shadow":"none",visibility:"hidden"})),(0,hn.eR)("void => open-instant",(0,hn.jt)("0ms")),(0,hn.eR)("void <=> open, open-instant => void",(0,hn.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},mn=new e.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Rr(){return!1}}),Hi=new e.OlP("MAT_DRAWER_CONTAINER");let mo=(()=>{class h extends Vi.PQ{constructor(r,c,D,U,We){super(D,U,We),this._changeDetectorRef=r,this._container=c}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}
1return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.sBO),e.Y36((0,e.Gpc)(()=>da)),e.Y36(e.SBq),e.Y36(Vi.mF),e.Y36(e.R0b))},h.\u0275cmp=e.Xpm({type:h,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(r,c){2&r&&e.Udp("margin-left",c._container._contentMargins.left,"px")("margin-right",c._container._contentMargins.right,"px")},features:[e._Bn([{provide:Vi.PQ,useExisting:h}]),e.qOj],ngContentSelectors:Ii,decls:1,vars:0,template:function(r,c){1&r&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),h})(),Ro=(()=>{class h{constructor(r,c,D,U,We,yt,Jt,Cn){this._elementRef=r,this._focusTrapFactory=c,this._focusMonitor=D,this._platform=U,this._ngZone=We,this._interactivityChecker=yt,this._doc=Jt,this._container=Cn,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new ne.x,this._animationEnd=new ne.x,this._animationState="void",this.openedChange=new e.vpe(!0),this._openedStream=this.openedChange.pipe((0,pr.h)(un=>un),(0,xi.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,pr.h)(un=>un.fromState!==un.toState&&0===un.toState.indexOf("open")),(0,Mi.h)(void 0)),this._closedStream
1=this.openedChange.pipe((0,pr.h)(un=>!un),(0,xi.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,pr.h)(un=>un.fromState!==un.toState&&"void"===un.toState),(0,Mi.h)(void 0)),this._destroyed=new ne.x,this.onPositionChanged=new e.vpe,this._modeChanged=new ne.x,this.openedChange.subscribe(un=>{un?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,Ue.R)(this._elementRef.nativeElement,"keydown").pipe((0,pr.h)(un=>un.keyCode===R.hY&&!this.disableClose&&!(0,R.Vb)(un)),(0,He.R)(this._destroyed)).subscribe(un=>this._ngZone.run(()=>{this.close(),un.stopPropagation(),un.preventDefault()}))}),this._animationEnd.pipe((0,Oo.x)((un,ri)=>un.fromState===ri.fromState&&un.toState===ri.toState)).subscribe(un=>{const{fromState:ri,toState:bn}=un;(0===bn.indexOf("open")&&"void"===ri||"void"===bn&&0===ri.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(r){(r="end"===r?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(r),this._position=r,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(r){this._mode=r,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(r){this._disableClose=(0,j.Ig)(r)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(r){("true"===r||"false"===r||null==r)&&(r=(0,j.Ig)(r)),this._autoFocus=r}get opened(){return this._opened}set opened(r){this.toggle((0,j.Ig)(r))}_forceFocus(r,c){this._interactivityChecker.isFocusable(r)||(r.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const D=()=>{r.removeEventListener("blur",D),r.removeEventListener("mousedown",D),r.removeAttribute("tabindex")};r.addEventListener("blur",D),r.addEventListener("mousedown",D)})),r.focus(c)}_focusByCssSelector(r,c){let D=this._elementRef.nativeElement.querySelector(r);D&&this._forceFocus(D,c)}_takeFocus(){if(!this._focusTrap)return;const r=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(c=>{!c&&"function"==typeof this._elementRef.nativeElement.focus&&r.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(r){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,r):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const r=this._doc.activeElement;return!!r&&this._elementRef.nativeElement.contains(r)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&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(r){return this.toggle(!0,r)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(r=!this.opened,c){r&&c&&(this._openedVia=c);const D=this._setOpen(r,!r&&this._isFocusWithinDrawer(),this._openedVia||"program");return r||(this._openedVia=null),D}_setOpen(r,c,D){return this._opened=r,r?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",c&&this._restoreFocus(D)),this._updateFocusTrapState(),new Promise(U=>{this.openedChange.pipe((0,Be.q)(1)).subscribe(We=>U(We?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(r){const c=this._elementRef.nativeElement,D=c.parentNode;"end"===r?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),D.insertBefore(this._anchor,c)),D.appendChild(c)):this._anchor&&this._anchor.parentNode.insertBefore(c,this._anchor)}}
1return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.SBq),e.Y36(bt.qV),e.Y36(bt.tE),e.Y36(Ne.t4),e.Y36(e.R0b),e.Y36(bt.ic),e.Y36(a.K0,8),e.Y36(Hi,8))},h.\u0275cmp=e.Xpm({type:h,selectors:[["mat-drawer"]],viewQuery:function(r,c){if(1&r&&e.Gf(ba,5),2&r){let D;e.iGM(D=e.CRH())&&(c._content=D.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(r,c){1&r&&e.WFA("@transform.start",function(U){return c._animationStarted.next(U)})("@transform.done",function(U){return c._animationEnd.next(U)}),2&r&&(e.uIk("align",null),e.d8E("@transform",c._animationState),e.ekj("mat-drawer-end","end"===c.position)("mat-drawer-over","over"===c.mode)("mat-drawer-push","push"===c.mode)("mat-drawer-side","side"===c.mode)("mat-drawer-opened",c.opened))},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:Ii,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(r,c){1&r&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},dependencies:[Vi.PQ],encapsulation:2,data:{animation:[ye.transformDrawer]},changeDetection:0}),h})(),da=(()=>{class h{constructor(r,c,D,U,We,yt=!1,Jt){this._dir=r,this._element=c,this._ngZone=D,this._changeDetectorRef=U,this._animationMode=Jt,this._drawers=new e.n_E,this.backdropClick=new e.vpe,this._destroyed=new ne.x,this._doCheckSubject=new ne.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new ne.x,r&&r.change.pipe((0,He.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),We.change().pipe((0,He.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=yt}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(r){this._autosize=(0,j.Ig)(r)}get hasBackdrop(){return this._backdropOverride??(!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode)}set hasBackdrop(r){this._backdropOverride=null==r?null:(0,j.Ig)(r)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,V.O)(this._allDrawers),(0,He.R)(this._destroyed)).subscribe(r=>{this._drawers.reset(r.filter(c=>!c._container||c._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,V.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(r=>{this._watchDrawerToggle(r),this._watchDrawerPosition(r),this._watchDrawerMode(r)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Wr.b)(10),(0,He.R)(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(r=>r.open())}close(){this._drawers.forEach(r=>r.close())}updateContentMargins(){let r=0,c=0;if(this._left&&this._left.opened)if("side"==this._left.mode)r+=this._left._getWidth();else if("push"==this._left.mode){const D=this._left._getWidth();r+=D,c-=D}if(this._right&&this._right.opened)if("side"==this._right.mode)c+=this._right._getWidth();else if("push"==this._right.mode){const D=this._right._getWidth();c+=D,r-=D}r=r||null,c=c||null,(r!==this._contentMargins.left||c!==this._contentMargins.right)&&(this._contentMargins={left:r,right:c},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(r){r._animationStarted.pipe((0,pr.h)(c=>c.fromState!==c.toState),(0,He.R)(this._drawers.changes)).subscribe(c=>{"open-instant"!==c.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==r.mode&&r.openedChange.pipe((0,He.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(r.opened))}_watchDrawerPosition(r){!r||r.onPositionChanged.pipe((0,He.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Be.q)(1)).subscribe(()=>
1{this._validateDrawers()})})}_watchDrawerMode(r){r&&r._modeChanged.pipe((0,He.R)((0,De.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(r){const c=this._element.nativeElement.classList,D="mat-drawer-container-has-open";r?c.add(D):c.remove(D)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(r=>{"end"==r.position?this._end=r:this._start=r}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(r=>r&&!r.disableClose&&this._canHaveBackdrop(r)).forEach(r=>r._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(r){return"side"!==r.mode||!!this._backdropOverride}_isDrawerOpen(r){return null!=r&&r.opened}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(se.Is,8),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(Vi.rL),e.Y36(mn),e.Y36(e.QbO,8))},h.\u0275cmp=e.Xpm({type:h,selectors:[["mat-drawer-container"]],contentQueries:function(r,c,D){if(1&r&&(e.Suo(D,mo,5),e.Suo(D,Ro,5)),2&r){let U;e.iGM(U=e.CRH())&&(c._content=U.first),e.iGM(U=e.CRH())&&(c._allDrawers=U)}},viewQuery:function(r,c){if(1&r&&e.Gf(mo,5),2&r){let D;e.iGM(D=e.CRH())&&(c._userContent=D.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(r,c){2&r&&e.ekj("mat-drawer-container-explicit-backdrop",c._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[e._Bn([{provide:Hi,useExisting:h}])],ngContentSelectors:Ko,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(r,c){1&r&&(e.F$t(Ui),e.YNc(0,jo,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,Oi,2,0,"mat-drawer-content",1)),2&r&&(e.Q6J("ngIf",c.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!c._content))},dependencies:[a.O5,mo],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),h})(),Yo=(()=>{class h{}
1return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[a.ez,p.BQ,Vi.ZD,Vi.ZD,p.BQ]}),h})();var Ji=f(5017);const Ai=["*"],po=["unscopedContent"],wr=["text"],go=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],Jo=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],ya=new e.OlP("ListOption");let ro=(()=>{class h{constructor(r){this._elementRef=r}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.SBq))},h.\u0275dir=e.lG2({type:h,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),h})(),Po=(()=>{class h{constructor(r){this._elementRef=r}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.SBq))},h.\u0275dir=e.lG2({type:h,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),h})(),ta=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275dir=e.lG2({type:h,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),h})(),ua=(()=>{class h{constructor(r){this._listOption=r}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getCheckboxPosition()}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(ya,8))},h.\u0275dir=e.lG2({type:h,hostVars:4,hostBindings:function(r,c){2&r&&e.ekj("mdc-list-item__start",c._isAlignedAtStart())("mdc-list-item__end",!c._isAlignedAtStart())}}),h})(),ha=(()=>{class h extends ua{}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275dir=e.lG2({type:h,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[e.qOj]}),h})(),Ma=(()=>{class h extends ua{}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275dir=e.lG2({type:h,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[e.qOj]}),h})(),vo=(()=>{class h{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1}get disableRipple(){return this._disableRipple}set disableRipple(r){this._disableRipple=(0,j.Ig)(r)}get disabled(){return this._disabled}set disabled(r){this._disabled=(0,j.Ig)(r)}}return h.\u0275fac=function(r){return new(r||h)},h.\u0275dir=e.lG2({type:h,hostVars:1,hostBindings:function(r,c){2&r&&e.uIk("aria-disabled",c.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),h})(),Mo=(()=>{class h{constructor(r,c,D,U,We,yt){this._elementRef=r,this._ngZone=c,this._listBase=D,this._platform=U,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new ee.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=We||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===yt,D&&!D._isNonInteractive&&this._initInteractiveListItem(),"button"===this._hostElement.nodeName.toLowerCase()&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}set lines(r){this._explicitLines=(0,j.su)(r,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(r){this._disableRipple=(0,j.Ig)(r)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(r){this._disabled=(0,j.Ig)(r)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new p.IR(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,De.T)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}
1_updateItemLines(r){if(!this._lines||!this._titles||!this._unscopedContent)return;r&&this._checkDomForUnscopedTextContent();const c=this._explicitLines??this._inferLinesFromContent(),D=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",c<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",c<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===c),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===c),this._hasUnscopedTextContent){const U=0===this._titles.length&&1===c;D.classList.toggle("mdc-list-item__primary-text",U),D.classList.toggle("mdc-list-item__secondary-text",!U)}else D.classList.remove("mdc-list-item__primary-text"),D.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let r=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(r+=1),r}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(r=>r.nodeType!==r.COMMENT_NODE).some(r=>!(!r.textContent||!r.textContent.trim()))}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(vo,8),e.Y36(Ne.t4),e.Y36(p.Y2,8),e.Y36(e.QbO,8))},h.\u0275dir=e.lG2({type:h,contentQueries:function(r,c,D){if(1&r&&(e.Suo(D,ha,4),e.Suo(D,Ma,4)),2&r){let U;e.iGM(U=e.CRH())&&(c._avatars=U),e.iGM(U=e.CRH())&&(c._icons=U)}},hostVars:3,hostBindings:function(r,c){2&r&&(e.uIk("aria-disabled",c.disabled),e.ekj("mdc-list-item--disabled",c.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),h})(),wa=(()=>{class h extends Mo{constructor(r,c,D,U,We,yt){super(r,c,D,U,We,yt),this._activated=!1}get activated(){return this._activated}set activated(r){this._activated=(0,j.Ig)(r)}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(vo,8),e.Y36(Ne.t4),e.Y36(p.Y2,8),e.Y36(e.QbO,8))},h.\u0275cmp=e.Xpm({type:h,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(r,c,D){if(1&r&&(e.Suo(D,Po,5),e.Suo(D,ro,5),e.Suo(D,ta,5)),2&r){let U;e.iGM(U=e.CRH())&&(c._lines=U),e.iGM(U=e.CRH())&&(c._titles=U),e.iGM(U=e.CRH())&&(c._meta=U)}},viewQuery:function(r,c){if(1&r&&(e.Gf(po,5),e.Gf(wr,5)),2&r){let D;e.iGM(D=e.CRH())&&(c._unscopedContent=D.first),e.iGM(D=e.CRH())&&(c._itemText=D.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(r,c){2&r&&(e.uIk("aria-current",c._getAriaCurrent()),e.ekj("mdc-list-item--activated",c.activated)("mdc-list-item--with-leading-avatar",0!==c._avatars.length)("mdc-list-item--with-leading-icon",0!==c._icons.length)("mdc-list-item--with-trailing-meta",0!==c._meta.length)("_mat-animation-noopable",c._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[e.qOj],ngContentSelectors:Jo,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(r,c){1&r&&(e.F$t(go),e.Hsn(0),e.TgZ(1,"span",0),e.Hsn(2,1),e.Hsn(3,2),e.TgZ(4,"span",1,2),e.NdJ("cdkObserveContent",function(){return c._updateItemLines(!0)}),e.Hsn(6,3),e.qZA()(),e.Hsn(7,4),e.Hsn(8,5),e._UZ(9,"div",3))},dependencies:[ue.wD],encapsulation:2,changeDetection:0}),h})(),v=(()=>{class h extends vo{constructor(){super(...arguments),this._isNonInteractive=!1}}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275cmp=e.Xpm({type:h,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[e._Bn([{provide:vo,useExisting:h}]),e.qOj],ngContentSelectors:Ai,decls:1,vars:0,template:function(r,c){1&r&&(e.F$t(),e.Hsn(0))},styles:['.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:24px;height:24px}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-image .mdc-list-item__start{width:56px;height:56px}.mdc-list-item--with-leading-video .mdc-list-item__start{width:100px;height:56px}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-radio .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-switch .mdc-list-item__start{width:36px;height:20px}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:24px;height:24px}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-radio .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-switch .mdc-list-item__end{width:36px;height:20px}.mdc-list-divider{height:1px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;
1cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0
1;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;
1left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}'],encapsulation:2,changeDetection:0}),h})(),Je=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[ue.Q8,a.ez,p.BQ,p.si,p.us,$i.t]}),h})();const Dt=function(){return["/admin/donations"]},$t=function(){return["/admin/donors"]};function rn(h,d){1&h&&(e.TgZ(0,"mat-drawer",4)(1,"div",5)(2,"a",6),e._UZ(3,"img",7),e.qZA()(),e.TgZ(4,"mat-nav-list",8)(5,"mat-list-item",9)(6,"a",10)(7,"mat-icon"),e._uU(8,"payments"),e.qZA(),e._uU(9," Darov\xe1n\xed "),e.qZA()(),e.TgZ(10,"mat-list-item",9)(11,"a",10)(12,"mat-icon"),e._uU(13,"person"),e.qZA(),e._uU(14," U\u017eivatel\xe9 "),e.qZA()()()()),2&h&&(e.xp6(6),e.Q6J("routerLink",e.DdM(2,Dt)),e.xp6(5),e.Q6J("routerLink",e.DdM(3,$t)))}class Qt{constructor(d){this.breakpointsService=d}get device$(){return this.breakpointsService.device$}static#e=this.\u0275fac=function(r){return new(r||Qt)(e.Y36(Ki.S))};static#t=this.\u0275cmp=e.Xpm({type:Qt,selectors:[["sv-admin-drawer"]],decls:7,vars:3,consts:[["autosize","",1,"sidenav-container"],["mode","side","opened","","class","sidenav",4,"ngIf"],[1,"view-content"],[1,"p-1"],["mode","side","opened","",1,"sidenav"],[1,"mt-1","text-center"],["routerLink","/admin"],["src","/assets/logo.png","width","60","height","27","alt","Logo",1,"inline-block"],[1,"mt-2"],["routerLinkActive","active"],["matListItemLine","",1,"flex","gap-1",3,"routerLink"]],template:function(r,c){1&r&&(e.TgZ(0,"mat-drawer-container",0),e.YNc(1,rn,15,4,"mat-drawer",1),e.ALo(2,"async"),e.TgZ(3,"mat-drawer-content",2),e._UZ(4,"sv-admin-header"),e.TgZ(5,"div",3),e._UZ(6,"router-outlet"),e.qZA()()()),2&r&&(e.xp6(1),e.Q6J("ngIf","phone"!==e.lcZ(2,1,c.device$)))},dependencies:[a.O5,ti.lC,ti.rH,ti.Od,Zt.Hw,Eo,Ro,da,mo,v,wa,Po,a.Ov],styles:[".sidenav-container[_ngcontent-%COMP%]{height:100vh}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%]{min-width:-moz-fit-content;min-width:fit-content;width:150px;background:linear-gradient(rgba(33,33,33,.9),rgba(33,33,33,.9)),url(/assets/side-image-crop.jpeg);background-size:cover}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .mat-mdc-list-item.active[_ngcontent-%COMP%]{background:#008c72}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .mat-mdc-list-item[_ngcontent-%COMP%] .mat-mdc-list-item-line[_ngcontent-%COMP%]{color:#fff}.sidenav-container[_ngcontent-%COMP%] .view-content[_ngcontent-%COMP%]{background:white}"]})}var Sn=f(8996),vn=f(1135),Dn=f(9751),Rn=f(576);const ci=[[["caption"]],[["colgroup"],["col"]]],bi=["caption","colgroup, col"];function Kr(h){return class extends h{constructor(...d){super(...d),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(d){const r=this._sticky;this._sticky=(0,j.Ig)(d),this._hasStickyChanged=r!==this._sticky}hasStickyChanged(){const d=this._hasStickyChanged;return this._hasStickyChanged=!1,d}resetStickyChanged(){this._hasStickyChanged=!1}}}const yr=new e.OlP("CDK_TABLE");let jr=(()=>{class h{constructor(r){this.template=r}}
1return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.Rgc))},h.\u0275dir=e.lG2({type:h,selectors:[["","cdkCellDef",""]]}),h})(),dr=(()=>{class h{constructor(r){this.template=r}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.Rgc))},h.\u0275dir=e.lG2({type:h,selectors:[["","cdkHeaderCellDef",""]]}),h})(),Sr=(()=>{class h{constructor(r){this.template=r}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.Rgc))},h.\u0275dir=e.lG2({type:h,selectors:[["","cdkFooterCellDef",""]]}),h})();class ma{}const Qr=Kr(ma);let Cr=(()=>{class h extends Qr{constructor(r){super(),this._table=r,this._stickyEnd=!1}get name(){return this._name}set name(r){this._setNameInput(r)}get stickyEnd(){return this._stickyEnd}set stickyEnd(r){const c=this._stickyEnd;this._stickyEnd=(0,j.Ig)(r),this._hasStickyChanged=c!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(r){r&&(this._name=r,this.cssClassFriendlyName=r.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(yr,8))},h.\u0275dir=e.lG2({type:h,selectors:[["","cdkColumnDef",""]],contentQueries:function(r,c,D){if(1&r&&(e.Suo(D,jr,5),e.Suo(D,dr,5),e.Suo(D,Sr,5)),2&r){let U;e.iGM(U=e.CRH())&&(c.cell=U.first),e.iGM(U=e.CRH())&&(c.headerCell=U.first),e.iGM(U=e.CRH())&&(c.footerCell=U.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:h}]),e.qOj]}),h})();
1class Zo{constructor(d,r){r.nativeElement.classList.add(...d._columnCssClassName)}}let Fo=(()=>{class h extends Zo{constructor(r,c){super(r,c)}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(Cr),e.Y36(e.SBq))},h.\u0275dir=e.lG2({type:h,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]}),h})(),kn=(()=>{class h extends Zo{constructor(r,c){if(super(r,c),1===r._table?._elementRef.nativeElement.nodeType){const D=r._table._elementRef.nativeElement.getAttribute("role");c.nativeElement.setAttribute("role","grid"===D||"treegrid"===D?"gridcell":"cell")}}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(Cr),e.Y36(e.SBq))},h.\u0275dir=e.lG2({type:h,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[e.qOj]}),h})(),Pn=(()=>{class h extends Zo{constructor(r,c){if(super(r,c),1===r._table?._elementRef.nativeElement.nodeType){const D=r._table._elementRef.nativeElement.getAttribute("role");c.nativeElement.setAttribute("role","grid"===D||"treegrid"===D?"gridcell":"cell")}}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(Cr),e.Y36(e.SBq))},h.\u0275dir=e.lG2({type:h,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]}),h})();class $n{constructor(){this.tasks=[],this.endTasks=[]}}const Un=new e.OlP("_COALESCED_STYLE_SCHEDULER");let nr=(()=>{class h{constructor(r){this._ngZone=r,this._currentSchedule=null,this._destroyed=new ne.x}schedule(r){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(r)}scheduleEnd(r){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(r)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new $n,this._getScheduleObservable().pipe((0,He.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const r=this._currentSchedule;this._currentSchedule=new $n;for(const c of r.tasks)c();for(const c of r.endTasks)c()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,Sn.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,Be.q)(1))}}return h.\u0275fac=function(r){return new(r||h)(e.LFG(e.R0b))},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac}),h})(),ur=(()=>{class h{constructor(r,c){this.template=r,this._differs=c}ngOnChanges(r){if(!this._columnsDiffer){const c=r.columns&&r.columns.currentValue||[];this._columnsDiffer=this._differs.find(c).create(),this._columnsDiffer.diff(c)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(r){return this instanceof No?r.headerCell.template:this instanceof Nr?r.footerCell.template:r.cell.template}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.Rgc),e.Y36(e.ZZ4))},h.\u0275dir=e.lG2({type:h,features:[e.TTD]}),h})();class zr extends ur{}const mi=Kr(zr);let No=(()=>{class h extends mi{constructor(r,c,D){super(r,c),this._table=D}ngOnChanges(r){super.ngOnChanges(r)}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(yr,8))},h.\u0275dir=e.lG2({type:h,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),h})();class ia extends ur{}const Gi=Kr(ia);let Nr=(()=>{class h extends Gi{constructor(r,c,D){super(r,c),this._table=D}ngOnChanges(r){super.ngOnChanges(r)}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(yr,8))},h.\u0275dir=e.lG2({type:h,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),h})(),Si=(()=>{class h extends ur{constructor(r,c,D){super(r,c),this._table=D}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(yr,8))},h.\u0275dir=e.lG2({type:h,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]}),h})(),ir=(()=>{class h{constructor(r){this._viewContainer=r,h.mostRecentCellOutlet=this}ngOnDestroy(){h.mostRecentCellOutlet===this&&(h.mostRecentCellOutlet=null)}}return h.mostRecentCellOutlet=null,h.\u0275fac=function(r){return new(r||h)(e.Y36(e.s_b))},h.\u0275dir=e.lG2({type:h,selectors:[["","cdkCellOutlet",""]]}),h})(),fa=(()=>{class h{}
1return h.\u0275fac=function(r){return new(r||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,c){1&r&&e.GkF(0,0)},dependencies:[ir],encapsulation:2}),h})(),ra=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,c){1&r&&e.GkF(0,0)},dependencies:[ir],encapsulation:2}),h})(),Lo=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,c){1&r&&e.GkF(0,0)},dependencies:[ir],encapsulation:2}),h})(),oa=(()=>{class h{constructor(r){this.templateRef=r,this._contentClassName="cdk-no-data-row"}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.Rgc))},h.\u0275dir=e.lG2({type:h,selectors:[["ng-template","cdkNoDataRow",""]]}),h})();const Ao=["top","bottom","left","right"];class Ra{constructor(d,r,c,D,U=!0,We=!0,yt){this._isNativeHtmlTable=d,this._stickCellCss=r,this.direction=c,this._coalescedStyleScheduler
1=D,this._isBrowser=U,this._needsPositionStickyOnElement=We,this._positionListener=yt,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(d,r){const c=[];for(const D of d)if(D.nodeType===D.ELEMENT_NODE){c.push(D);for(let U=0;U<D.children.length;U++)c.push(D.children[U])}this._coalescedStyleScheduler.schedule(()=>{for(const D of c)this._removeStickyStyle(D,r)})}updateStickyColumns(d,r,c,D=!0){if(!d.length||!this._isBrowser||!r.some(bn=>bn)&&!c.some(bn=>bn))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const U=d[0],We=U.children.length,yt=this._getCellWidths(U,D),Jt=this._getStickyStartColumnPositions(yt,r),Cn=this._getStickyEndColumnPositions(yt,c),un=r.lastIndexOf(!0),ri=c.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const bn="rtl"===this.direction,lo=bn?"right":"left",la=bn?"left":"right";for(const So of d)for(let br=0;br<We;br++){const Cl=So.children[br];r[br]&&this._addStickyStyle(Cl,lo,Jt[br],br===un),c[br]&&this._addStickyStyle(Cl,la,Cn[br],br===ri)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===un?[]:yt.slice(0,un+1).map((So,br)=>r[br]?So:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===ri?[]:yt.slice(ri).map((So,br)=>c[br+ri]?So:null).reverse()}))})}stickRows(d,r,c){if(!this._isBrowser)return;const D="bottom"===c?d.slice().reverse():d,U="bottom"===c?r.slice().reverse():r,We=[],yt=[],Jt=[];for(let un=0,ri=0;un<D.length;un++){if(!U[un])continue;We[un]=ri;const bn=D[un];Jt[un]=this._isNativeHtmlTable?Array.from(bn.children):[bn];const lo=bn.getBoundingClientRect().height;ri+=lo,yt[un]=lo}const Cn=U.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let un=0;un<D.length;un++){if(!U[un])continue;const ri=We[un],bn=un===Cn;for(const lo of Jt[un])this._addStickyStyle(lo,c,ri,bn)}"top"===c?this._positionListener?.stickyHeaderRowsUpdated({sizes:yt,offsets:We,elements:Jt}):this._positionListener?.stickyFooterRowsUpdated({sizes:yt,offsets:We,elements:Jt})})}updateStickyFooterContainer(d,r){if(!this._isNativeHtmlTable)return;const c=d.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{r.some(D=>!D)?this._removeStickyStyle(c,["bottom"]):this._addStickyStyle(c,"bottom",0,!1)})}_removeStickyStyle(d,r){for(const D of r)d.style[D]="",d.classList.remove(this._borderCellCss[D]);Ao.some(D=>-1===r.indexOf(D)&&d.style[D])?d.style.zIndex=this._getCalculatedZIndex(d):(d.style.zIndex="",this._needsPositionStickyOnElement&&(d.style.position=""),d.classList.remove(this._stickCellCss))}_addStickyStyle(d,r,c,D){d.classList.add(this._stickCellCss),D&&d.classList.add(this._borderCellCss[r]),d.style[r]=`${c}px`,d.style.zIndex=this._getCalculatedZIndex(d),this._needsPositionStickyOnElement&&(d.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(d){const r={top:100,bottom:10,left:1,right:1};let c=0;for(const D of Ao)d.style[D]&&(c+=r[D]);return c?`${c}`:""}_getCellWidths(d,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;const c=[],D=d.children;for(let U=0;U<D.length;U++)c.push(D[U].getBoundingClientRect().width);return this._cachedCellWidths=c,c}_getStickyStartColumnPositions(d,r){const c=[];let D=0;for(let U=0;U<d.length;U++)r[U]&&(c[U]=D,D+=d[U]);return c}_getStickyEndColumnPositions(d,r){const c=[];let D=0;for(let U=d.length;U>0;U--)r[U]&&(c[U]=D,D+=d[U]);return c}}const y=new e.OlP("CDK_SPL");let k=(()=>{class h{constructor(r,c){this.viewContainer=r,this.elementRef=c}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.s_b),e.Y36(e.SBq))},h.\u0275dir=e.lG2({type:h,selectors:[["","rowOutlet",""]]}),h})(),Ae=(()=>{class h{constructor(r,c){this.viewContainer=r,this.elementRef=c}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.s_b),e.Y36(e.SBq))},h.\u0275dir=e.lG2({type:h,selectors:[["","headerRowOutlet",""]]}),h})(),Ye=(()=>{class h{constructor(r,c){this.viewContainer=r,this.elementRef=c}}
1return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.s_b),e.Y36(e.SBq))},h.\u0275dir=e.lG2({type:h,selectors:[["","footerRowOutlet",""]]}),h})(),Et=(()=>{class h{constructor(r,c){this.viewContainer=r,this.elementRef=c}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.s_b),e.Y36(e.SBq))},h.\u0275dir=e.lG2({type:h,selectors:[["","noDataRowOutlet",""]]}),h})(),tn=(()=>{class h{constructor(r,c,D,U,We,yt,Jt,Cn,un,ri,bn,lo){this._differs=r,this._changeDetectorRef=c,this._elementRef=D,this._dir=We,this._platform=Jt,this._viewRepeater=Cn,this._coalescedStyleScheduler=un,this._viewportRuler=ri,this._stickyPositioningListener=bn,this._ngZone=lo,this._onDestroy=new ne.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.vpe,this.viewChange=new vn.X({start:0,end:Number.MAX_VALUE}),U||this._elementRef.nativeElement.setAttribute("role","table"),this._document=yt,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(r){this._trackByFn=r}get dataSource(){return this._dataSource}set dataSource(r){this._dataSource!==r&&this._switchDataSource(r)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(r){this._multiTemplateDataRows=(0,j.Ig)(r),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(r){this._fixedLayout=(0,j.Ig)(r),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((r,c)=>this.trackBy?this.trackBy(c.dataIndex,c.data):c),this._viewportRuler.change().pipe((0,He.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const c=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||c,this._forceRecalculateCellWidths=c,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()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(r=>{r.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,Ji.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const r=this._dataDiffer.diff(this._renderRows);if(!r)return this._updateNoDataRow(),void this.contentChanged.next();const c=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(r,c,(D,U,We)=>this._getEmbeddedViewArgs(D.item,We),D=>D.item.data,D=>{1===D.operation&&D.context&&this._renderCellTemplateForItem(D.record.item.rowDef,D.context)}),this._updateRowIndexContext(),r.forEachIdentityChange(D=>{c.get(D.currentIndex).context.$implicit=D.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,Be.q)(1),(0,He.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(r){this._customColumnDefs.add(r)}
1removeColumnDef(r){this._customColumnDefs.delete(r)}addRowDef(r){this._customRowDefs.add(r)}removeRowDef(r){this._customRowDefs.delete(r)}addHeaderRowDef(r){this._customHeaderRowDefs.add(r),this._headerRowDefChanged=!0}removeHeaderRowDef(r){this._customHeaderRowDefs.delete(r),this._headerRowDefChanged=!0}addFooterRowDef(r){this._customFooterRowDefs.add(r),this._footerRowDefChanged=!0}removeFooterRowDef(r){this._customFooterRowDefs.delete(r),this._footerRowDefChanged=!0}setNoDataRow(r){this._customNoDataRow=r}updateStickyHeaderRowStyles(){const r=this._getRenderedRows(this._headerRowOutlet),D=this._elementRef.nativeElement.querySelector("thead");D&&(D.style.display=r.length?"":"none");const U=this._headerRowDefs.map(We=>We.sticky);this._stickyStyler.clearStickyPositioning(r,["top"]),this._stickyStyler.stickRows(r,U,"top"),this._headerRowDefs.forEach(We=>We.resetStickyChanged())}updateStickyFooterRowStyles(){const r=this._getRenderedRows(this._footerRowOutlet),D=this._elementRef.nativeElement.querySelector("tfoot");D&&(D.style.display=r.length?"":"none");const U=this._footerRowDefs.map(We=>We.sticky);this._stickyStyler.clearStickyPositioning(r,["bottom"]),this._stickyStyler.stickRows(r,U,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,U),this._footerRowDefs.forEach(We=>We.resetStickyChanged())}updateStickyColumnStyles(){const r=this._getRenderedRows(this._headerRowOutlet),c=this._getRenderedRows(this._rowOutlet),D=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...r,...c,...D],["left","right"]),this._stickyColumnStylesNeedReset=!1),r.forEach((U,We)=>{this._addStickyColumnStyles([U],this._headerRowDefs[We])}),this._rowDefs.forEach(U=>{const We=[];for(let yt=0;yt<c.length;yt++)this._renderRows[yt].rowDef===U&&We.push(c[yt]);this._addStickyColumnStyles(We,U)}),D.forEach((U,We)=>{this._addStickyColumnStyles([U],this._footerRowDefs[We])}),Array.from(this._columnDefsByName.values()).forEach(U=>U.resetStickyChanged())}_getAllRenderRows(){const r=[],c=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let D=0;D<this._data.length;D++){let U=this._data[D];const We=this._getRenderRowsForData(U,D,c.get(U));this._cachedRenderRowsMap.has(U)||this._cachedRenderRowsMap.set(U,new WeakMap);for(let yt=0;yt<We.length;yt++){let Jt=We[yt];const Cn=this._cachedRenderRowsMap.get(Jt.data);Cn.has(Jt.rowDef)?Cn.get(Jt.rowDef).push(Jt):Cn.set(Jt.rowDef,[Jt]),r.push(Jt)}}return r}_getRenderRowsForData(r,c,D){return this._getRowDefs(r,c).map(We=>{const yt=D&&D.has(We)?D.get(We):[];if(yt.length){const Jt=yt.shift();return Jt.dataIndex=c,Jt}return{data:r,rowDef:We,dataIndex:c}})}_cacheColumnDefs(){this._columnDefsByName.clear(),jn(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(c=>{this._columnDefsByName.has(c.name),this._columnDefsByName.set(c.name,c)})}_cacheRowDefs(){this._headerRowDefs=jn(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=jn(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=jn(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const r=this._rowDefs.filter(c=>!c.when);this._defaultRowDef=r[0]}_renderUpdatedColumns(){const r=(We,yt)=>We||!!yt.getColumnsDiff(),c=this._rowDefs.reduce(r,!1);c&&this._forceRenderDataRows();const D=this._headerRowDefs.reduce(r,!1);D&&this._forceRenderHeaderRows();const U=this._footerRowDefs.reduce(r,!1);return U&&this._forceRenderFooterRows(),c||D||U}_switchDataSource(r){this._data=[],(0,Ji.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),r||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=r}_observeRenderChanges(){if(!this.dataSource)return;let r;(0,Ji.Z9)(this.dataSource)?r=this.dataSource.connect(this):function Qn(h){return!!h&&(h instanceof Dn.y||(0,Rn.m)(h.lift)&&(0,Rn.m)(h.subscribe))}(this.dataSource)?r=this.dataSource:Array.isArray(this.dataSource)&&(r=(0,tr.of)(this.dataSource)),this._renderChangeSubscription=r.pipe((0,He.R)(this._onDestroy)).subscribe(c=>{this._data=c||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEac
1h((r,c)=>this._renderRow(this._headerRowOutlet,r,c)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((r,c)=>this._renderRow(this._footerRowOutlet,r,c)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(r,c){const D=Array.from(c.columns||[]).map(yt=>this._columnDefsByName.get(yt)),U=D.map(yt=>yt.sticky),We=D.map(yt=>yt.stickyEnd);this._stickyStyler.updateStickyColumns(r,U,We,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(r){const c=[];for(let D=0;D<r.viewContainer.length;D++){const U=r.viewContainer.get(D);c.push(U.rootNodes[0])}return c}_getRowDefs(r,c){if(1==this._rowDefs.length)return[this._rowDefs[0]];let D=[];if(this.multiTemplateDataRows)D=this._rowDefs.filter(U=>!U.when||U.when(c,r));else{let U=this._rowDefs.find(We=>We.when&&We.when(c,r))||this._defaultRowDef;U&&D.push(U)}return D}_getEmbeddedViewArgs(r,c){return{templateRef:r.rowDef.template,context:{$implicit:r.data},index:c}}_renderRow(r,c,D,U={}){const We=r.viewContainer.createEmbeddedView(c.template,U,D);return this._renderCellTemplateForItem(c,U),We}_renderCellTemplateForItem(r,c){for(let D of this._getCellTemplates(r))ir.mostRecentCellOutlet&&ir.mostRecentCellOutlet._viewContainer.createEmbeddedView(D,c
1);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const r=this._rowOutlet.viewContainer;for(let c=0,D=r.length;c<D;c++){const We=r.get(c).context;We.count=D,We.first=0===c,We.last=c===D-1,We.even=c%2==0,We.odd=!We.even,this.multiTemplateDataRows?(We.dataIndex=this._renderRows[c].dataIndex,We.renderIndex=c):We.index=this._renderRows[c].dataIndex}}_getCellTemplates(r){return r&&r.columns?Array.from(r.columns,c=>{const D=this._columnDefsByName.get(c);return r.extractCellTemplate(D)}):[]}_applyNativeTableSections(){const r=this._document.createDocumentFragment(),c=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const D of c){const U=this._document.createElement(D.tag);U.setAttribute("role","rowgroup");for(const We of D.outlets)U.appendChild(We.elementRef.nativeElement);r.appendChild(U)}this._elementRef.nativeElement.appendChild(r)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const r=(c,D)=>c||D.hasStickyChanged();this._headerRowDefs.reduce(r,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(r,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(r,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Ra(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,tr.of)()).pipe((0,He.R)(this._onDestroy)).subscribe(c=>{this._stickyStyler.direction=c,this.updateStickyColumnStyles()})}_getOwnDefs(r){return r.filter(c=>!c._table||c._table===this)}_updateNoDataRow(){const r=this._customNoDataRow||this._noDataRow;if(!r)return;const c=0===this._rowOutlet.viewContainer.length;if(c===this._isShowingNoDataRow)return;const D=this._noDataRowOutlet.viewContainer;if(c){const U=D.createEmbeddedView(r.templateRef),We=U.rootNodes[0];1===U.rootNodes.length&&We?.nodeType===this._document.ELEMENT_NODE&&(We.setAttribute("role","row"),We.classList.add(r._contentClassName))}else D.clear();this._isShowingNoDataRow=c}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(se.Is,8),e.Y36(a.K0),e.Y36(Ne.t4),e.Y36(Ji.k),e.Y36(Un),e.Y36(Vi.rL),e.Y36(y,12),e.Y36(e.R0b,8))},h.\u0275cmp=e.Xpm({type:h,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(r,c,D){if(1&r&&(e.Suo(D,oa,5),e.Suo(D,Cr,5),e.Suo(D,Si,5),e.Suo(D,No,5),e.Suo(D,Nr,5)),2&r){let U;e.iGM(U=e.CRH())&&(c._noDataRow=U.first),e.iGM(U=e.CRH())&&(c._contentColumnDefs=U),e.iGM(U=e.CRH())&&(c._contentRowDefs=U),e.iGM(U=e.CRH())&&(c._contentHeaderRowDefs=U),e.iGM(U=e.CRH())&&(c._contentFooterRowDefs=U)}},viewQuery:function(r,c){if(1&r&&(e.Gf(k,7),e.Gf(Ae,7),e.Gf(Ye,7),e.Gf(Et,7)),2&r){let D;e.iGM(D=e.CRH())&&(c._rowOutlet=D.first),e.iGM(D=e.CRH())&&(c._headerRowOutlet=D.first),e.iGM(D=e.CRH())&&(c._footerRowOutlet=D.first),e.iGM(D=e.CRH())&&(c._noDataRowOutlet=D.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(r,c){2&r&&e.ekj("cdk-table-fixed-layout",c.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:yr,useExisting:h},{provide:Ji.k,useClass:Ji.yy},{provide:Un,useClass:nr},{provide:y,useValue:null}])],ngContentSelectors:bi,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(r,c){1&r&&(e.F$t(ci),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[k,Ae,Ye,Et],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),h})();function jn(h,d){return h.concat(Array.from(d))}let ii=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[Vi.Cl]}),h})();var oo=f(9841);const pa=[[["caption"]],[["colgroup"],["col"]]],aa=["caption","colgroup, col"];let I=(()=>{class h extends tn{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}}
1return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275cmp=e.Xpm({type:h,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(r,c){2&r&&e.ekj("mdc-table-fixed-layout",c.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:tn,useExisting:h},{provide:yr,useExisting:h},{provide:Un,useClass:nr},{provide:Ji.k,useClass:Ji.yy},{provide:y,useValue:null}]),e.qOj],ngContentSelectors:aa,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(r,c){1&r&&(e.F$t(pa),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[k,Ae,Ye,Et],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}
1.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}
1.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table .mat-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2}),h})(),J=(()=>{class h extends jr{}
1return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275dir=e.lG2({type:h,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:jr,useExisting:h}]),e.qOj]}),h})(),Ee=(()=>{class h extends dr{}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275dir=e.lG2({type:h,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:dr,useExisting:h}]),e.qOj]}),h})(),Pe=(()=>{class h extends Sr{}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275dir=e.lG2({type:h,selectors:[["","matFooterCellDef",""]],features:[e._Bn([{provide:Sr,useExisting:h}]),e.qOj]}),h})(),gt=(()=>{class h extends Cr{get name(){return this._name}set name(r){this._setNameInput(r)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275dir=e.lG2({type:h,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:Cr,useExisting:h},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:h}]),e.qOj]}),h})(),qt=(()=>{class h extends Fo{}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275dir=e.lG2({type:h,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[e.qOj]}),h})(),wn=(()=>{class h extends kn{}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275dir=e.lG2({type:h,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[e.qOj]}),h})(),Tn=(()=>{class h extends Pn{}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275dir=e.lG2({type:h,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[e.qOj]}),h})(),ui=(()=>{class h extends No{}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275dir=e.lG2({type:h,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:No,useExisting:h}]),e.qOj]}),h})(),vi=(()=>{class h extends Nr{}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275dir=e.lG2({type:h,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[e._Bn([{provide:Nr,useExisting:h}]),e.qOj]}),h})(),ao=(()=>{class h extends Si{}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275dir=e.lG2({type:h,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:Si,useExisting:h}]),e.qOj]}),h})(),$o=(()=>{class h extends fa{}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275cmp=e.Xpm({type:h,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:fa,useExisting:h}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,c){1&r&&e.GkF(0,0)},dependencies:[ir],encapsulation:2}),h})(),Bo=(()=>{class h extends ra{}return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275cmp=e.Xpm({type:h,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[e._Bn([{provide:ra,useExisting:h}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,c){1&r&&e.GkF(0,0)},dependencies:[ir],encapsulation:2}),h})(),_r=(()=>{class h extends Lo{}
1return h.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(h)))(c||h)}}(),h.\u0275cmp=e.Xpm({type:h,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[e._Bn([{provide:Lo,useExisting:h}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,c){1&r&&e.GkF(0,0)},dependencies:[ir],encapsulation:2}),h})(),ts=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[p.BQ,ii,p.BQ]}),h})();class Pa extends Ji.o2{constructor(d=[]){super(),this._renderData=new vn.X([]),this._filter=new vn.X(""),this._internalPageChanges=new ne.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(r,c)=>{const D=r[c];if((0,j.t6)(D)){const U=Number(D);return U<9007199254740991?U:D}return D},this.sortData=(r,c)=>{const D=c.active,U=c.direction;return D&&""!=U?r.sort((We,yt)=>{let Jt=this.sortingDataAccessor(We,D),Cn=this.sortingDataAccessor(yt,D);const un=typeof Jt,ri=typeof Cn;un!==ri&&("number"===un&&(Jt+=""),"number"===ri&&(Cn+=""));let bn=0;return null!=Jt&&null!=Cn?Jt>Cn?bn=1:Jt<Cn&&(bn=-1):null!=Jt?bn=1:null!=Cn&&(bn=-1),bn*("asc"==U?1:-1)}):r},this.filterPredicate=(r,c)=>{const D=Object.keys(r).reduce((We,yt)=>We+r[yt]+"\u25ec","").toLowerCase(),U=c.trim().toLowerCase();return-1!=D.indexOf(U)},this._data=new vn.X(d),this._updateChangeSubscription()}get data(){return this._data.value}set data(d){d=Array.isArray(d)?d:[],this._data.next(d),this._renderChangesSubscription||this._filterData(d)}get filter(){return this._filter.value}set filter(d){this._filter.next(d),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(d){this._sort=d,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(d){this._paginator=d,this._updateChangeSubscription()}_updateChangeSubscription(){const d=this._sort?(0,De.T)(this._sort.sortChange,this._sort.initialized):(0,tr.of)(null),r=this._paginator?(0,De.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,tr.of)(null),D=(0,oo.a)([this._data,this._filter]).pipe((0,xi.U)(([yt])=>this._filterData(yt))),U=(0,oo.a)([D,d]).pipe((0,xi.U)(([yt])=>this._orderData(yt))),We=(0,oo.a)([U,r]).pipe((0,xi.U)(([yt])=>this._pageData(yt)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=We.subscribe(yt=>this._renderData.next(yt))}_filterData(d){return this.filteredData=null==this.filter||""===this.filter?d:d.filter(r=>this.filterPredicate(r,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(d){return this.sort?this.sortData(d.slice(),this.sort):d}_pageData(d){if(!this.paginator)return d;const r=this.paginator.pageIndex*this.paginator.pageSize;return d.slice(r,r+this.paginator.pageSize)}_updatePaginator(d){Promise.resolve().then(()=>{const r=this.paginator;if(r&&(r.length=d,r.pageIndex>0)){const c=Math.ceil(r.length/r.pageSize)-1||0,D=Math.min(r.pageIndex,c);D!==r.pageIndex&&(r.pageIndex=D,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class Vo extends Pa{}var il=f(7445),Ha=f(6406),rl=f(8505);function Ms(h,d,r){for(let c in d)if(d.hasOwnProperty(c)){const D=d[c];D?h.setProperty(c,D,r?.has(c)?"important":""):h.removeProperty(c)}return h}function ms(h,d){const r=d?"":"none";Ms(h.style,{"touch-action":d?"":"none","-webkit-user-drag":d?"":"none","-webkit-tap-highlight-color":d?"":"transparent","user-select":r,"-ms-user-select":r,"-webkit-user-select":r,"-moz-user-select":r})}function L(h,d,r){Ms(h.style,{position:d?"":"fixed",top:d?"":"0",opacity:d?"":"0",left:d?"":"-999em"},r)}function Q(h,d){return d&&"none"!=d?h+" "+d:h}function Ce(h){const d=h.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(h)*d}function At(h,d){return h.getPropertyValue(d).split(",").map(c=>c.trim())}function jt(h){const d=h.getBoundingClientRect();return{top:d.top,right:d.right,bottom:d.bottom,left:d.left,width:d.width,height:d.height,x:d.x,y:d.y}}function an(h,d,r){const{top:c,bottom:D,left:U,right:We}=h;return r>=c&&r<=D&&d>=U&&d<=We}function _n(h,d,r){h.top+=d,h.bottom=h.top+h.height,h.left+=r,h.right=h.left+h.width}function zn(h,d,r,c){const{top:D,right:U,bottom:We,left:yt,width:Jt,height:Cn}=h,un=Jt*d,ri=Cn*d;return c>D-ri&&c<We+ri&&r>yt-un&&r<U+un}class oi{constructor(d){this._document=d,this.positions=new Map}clear(){this.positions.clear()}
1cache(d){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),d.forEach(r=>{this.positions.set(r,{scrollPosition:{top:r.scrollTop,left:r.scrollLeft},clientRect:jt(r)})})}handleScroll(d){const r=(0,Ne.sA)(d),c=this.positions.get(r);if(!c)return null;const D=c.scrollPosition;let U,We;if(r===this._document){const Cn=this.getViewportScrollPosition();U=Cn.top,We=Cn.left}else U=r.scrollTop,We=r.scrollLeft;const yt=D.top-U,Jt=D.left-We;return this.positions.forEach((Cn,un)=>{Cn.clientRect&&r!==un&&r.contains(un)&&_n(Cn.clientRect,yt,Jt)}),D.top=U,D.left=We,{top:yt,left:Jt}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function ai(h){const d=h.cloneNode(!0),r=d.querySelectorAll("[id]"),c=h.nodeName.toLowerCase();d.removeAttribute("id");for(let D=0;D<r.length;D++)r[D].removeAttribute("id");return"canvas"===c?Fa(h,d):("input"===c||"select"===c||"textarea"===c)&&Jr(h,d),Jn("canvas",h,d,Fa),Jn("input, textarea, select",h,d,Jr),d}function Jn(h,d,r,c){const D=d.querySelectorAll(h);if(D.length){const U=r.querySelectorAll(h);for(let We=0;We<D.length;We++)c(D[We],U[We])}}let so=0;function Jr(h,d){"file"!==d.type&&(d.value=h.value),"radio"===d.type&&d.name&&(d.name=`mat-clone-${d.name}-${so++}`)}function Fa(h,d){const r=d.getContext("2d");if(r)try{r.drawImage(h,0,0)}catch{}}const ja=(0,Ne.i$)({passive:!0}),Sa=(0,Ne.i$)({passive:!1}),Ca=new Set(["position"]);class ka{constructor(d,r,c,D,U,We){this._config=r,this._document=c,this._ngZone=D,this._viewportRuler=U,this._dragDropRegistry=We,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new ne.x,this._pointerMoveSubscription=ee.w0.EMPTY,this._pointerUpSubscription=ee.w0.EMPTY,this._scrollSubscription=ee.w0.EMPTY,this._resizeSubscription=ee.w0.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new ne.x,this.started=new ne.x,this.released=new ne.x,this.ended=new ne.x,this.entered=new ne.x,this.exited=new ne.x,this.dropped=new ne.x,this.moved=this._moveEvents,this._pointerDown=yt=>{if(this.beforeStarted.next(),this._handles.length){const Jt=this._getTargetHandle(yt);Jt&&!this._disabledHandles.has(Jt)&&!this.disabled&&this._initializeDragSequence(Jt,yt)}else this.disabled||this._initializeDragSequence(this._rootElement,yt)},this._pointerMove=yt=>{const Jt=this._getPointerPositionOnPage(yt);if(!this._hasStartedDragging){if(Math.abs(Jt.x-this._pickupPositionOnPage.x)+Math.abs(Jt.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const lo=Date.now()>=this._dragStartTime+this._getDragStartDelay(yt),la=this._dropContainer;if(!lo)return void this._endDragSequence(yt);(!la||!la.isDragging()&&!la.isReceiving())&&(yt.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(yt)))}return}yt.preventDefault();const Cn=this._getConstrainedPointerPosition(Jt);if(this._hasMoved=!0,this._lastKnownPointerPosition=Jt,this._updatePointerDirectionDelta(Cn),this._dropContainer)this._updateActiveDropContainer(Cn,Jt);else{const un=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,ri=this._activeTransform;ri.x=Cn.x-un.x+this._passiveTransform.x,ri.y=Cn.y-un.y+this._passiveTransform.y,this._applyRootElementTransform(ri.x,ri.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:Cn,event:yt,distance:this._getDragDistance(Cn),delta:this._pointerDirectionDelta})})},this._pointerUp=yt=>{this._endDragSequence(yt)},this._nativeDragStart=yt=>{if(this._handles.length){const Jt=this._getTargetHandle(yt);Jt&&!this._disabledHandles.has(Jt)&&!this.disabled&&yt.preventDefault()}else this.disabled||yt.preventDefault()},this.withRootElement(d).withParent(r.parentDragRef||null),this._parentPositions=new oi(c),We.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(d){const r=(0,j.Ig)(d);r!==this._disabled&&(this._disabled=r,this._toggleNativeDragInteractions(),this._handles.forEac
1h(c=>ms(c,r)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(d){this._handles=d.map(c=>(0,j.fI)(c)),this._handles.forEach(c=>ms(c,this.disabled)),this._toggleNativeDragInteractions();const r=new Set;return this._disabledHandles.forEach(c=>{this._handles.indexOf(c)>-1&&r.add(c)}),this._disabledHandles=r,this}withPreviewTemplate(d){return this._previewTemplate=d,this}withPlaceholderTemplate(d){return this._placeholderTemplate=d,this}withRootElement(d){const r=(0,j.fI)(d);return r!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{r.addEventListener("mousedown",this._pointerDown,Sa),r.addEventListener("touchstart",this._pointerDown,ja),r.addEventListener("dragstart",this._nativeDragStart,Sa)}),this._initialTransform=void 0,this._rootElement=r),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(d){return this._boundaryElement=d?(0,j.fI)(d):null,this._resizeSubscription.unsubscribe(),d&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(d){return this._parentDragRef=d,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),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._anchor=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}}disableHandle(d){!this._disabledHandles.has(d)&&this._handles.indexOf(d)>-1&&(this._disabledHandles.add(d),ms(d,!0))}enableHandle(d){this._disabledHandles.has(d)&&(this._disabledHandles.delete(d),ms(d,this.disabled))}withDirection(d){return this._direction=d,this}_withDropContainer(d){this._dropContainer=d}getFreeDragPosition(){const d=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:d.x,y:d.y}}setFreeDragPosition(d){return this._activeTransform={x:0,y:0},this._passiveTransform.x=d.x,this._passiveTransform.y=d.y,this._dropContainer||this._applyRootElementTransform(d.x,d.y),this}withPreviewContainer(d){return this._previewContainer=d,this}_sortFromLastPointerPosition(){const d=this._lastKnownPointerPosition;d&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(d),d)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(d){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:d}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(d),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const r=this._getPointerPositionOnPage(d);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(r),dropPoint:r,event:d})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}
1_startDragSequence(d){za(d)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const r=this._dropContainer;if(r){const c=this._rootElement,D=c.parentNode,U=this._placeholder=this._createPlaceholderElement(),We=this._anchor=this._anchor||this._document.createComment(""),yt=this._getShadowRoot();D.insertBefore(We,c),this._initialTransform=c.style.transform||"",this._preview=this._createPreviewElement(),L(c,!1,Ca),this._document.body.appendChild(D.replaceChild(U,c)),this._getPreviewInsertionPoint(D,yt).appendChild(this._preview),this.started.next({source:this,event:d}),r.start(),this._initialContainer=r,this._initialIndex=r.getItemIndex(this)}else this.started.next({source:this,event:d}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(r?r.getScrollableParents():[])}_initializeDragSequence(d,r){this._parentDragRef&&r.stopPropagation();const c=this.isDragging(),D=za(r),U=!D&&0!==r.button,We=this._rootElement,yt=(0,Ne.sA)(r),Jt=!D&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),Cn=D?(0,bt.yG)(r):(0,bt.X6)(r);if(yt&&yt.draggable&&"mousedown"===r.type&&r.preventDefault(),c||U||Jt||Cn)return;if(this._handles.length){const bn=We.style;this._rootElementTapHighlight=bn.webkitTapHighlightColor||"",bn.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=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(bn=>this._updateOnScroll(bn)),this._boundaryElement&&(this._boundaryRect=jt(this._boundaryElement));const un=this._previewTemplate;this._pickupPositionInElement=un&&un.template&&!un.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,d,r);const ri=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(r);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:ri.x,y:ri.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,r)}_cleanupDragArtifacts(d){L(this._rootElement,!0,Ca),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const r=this._dropContainer,c=r.getItemIndex(this),D=this._getPointerPositionOnPage(d),U=this._getDragDistance(D),We=r._isOverContainer(D.x,D.y);this.ended.next({source:this,distance:U,dropPoint:D,event:d}),this.dropped.next({item:this,currentIndex:c,previousIndex:this._initialIndex,container:r,previousContainer:this._initialContainer,isPointerOverContainer:We,distance:U,dropPoint:D,event:d}),r.drop(this,c,this._initialIndex,this._initialContainer,We,U,D,d),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:d,y:r},{x:c,y:D}){let U=this._initialContainer._getSiblingContainerFromPosition(this,d,r);!U&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(d,r)&&(U=this._initialContainer),U&&U!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=U,this._dropContainer.enter(this,d,r,U===this._initialContainer&&U.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:U,currentIndex:U.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(c,D),this._dropContainer._sortItem(this,d,r,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(d,r):this._applyPreviewTransform(d-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y))}_createPreviewElement(){const d=this._previewTemplate,r=this.previewClass,c=d?d.template:null;let D;if(c&&d){const U=d.matchSize?this._initialClientRect:null,We=d.viewContainer.createEmbeddedView(c,d.context);We.detectChanges(),D=Yc(We,this._document),this._previewRef=We,d.matchSize?Su(D,U):D.style.transform=Da(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else D=ai(this._rootElement),Su(D,this._initialClientRect),this._initialTransform&&(D.style.transform=this._initialTransform);return Ms(D.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},Ca),ms(D,!1),D.classList.add("cdk-drag-preview"),D.setAttribute("dir",this._direction),r&&(Array.isArray(r)?r.forEach(U=>D.classList.add(U)):D.classList.add(r)),D}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const d=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(d.left,d.top);const r=function ot(h){const d=getComputedStyle(h),r=At(d,"transition-property"),c=r.find(yt=>"transform"===yt||"all"===yt);if(!c)return 0;const D=r.indexOf(c),U=At(d,"transition-duration"),We=At(d,"transition-delay");return Ce(U[D])+Ce(We[D])}(this._preview);return 0===r?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(c=>{const D=We=>{(!We||(0,Ne.sA)(We)===this._preview&&"transform"===We.propertyName)&&(this._preview?.removeEventListener("transitionend",D),c(),clearTimeout(U))},U=setTimeout(D,1.5*r);this._preview.addEventListener("transitionend",D)}))}_createPlaceholderElement(){const d=this._placeholderTemplate,r=d?d.template:null;
1let c;return r?(this._placeholderRef=d.viewContainer.createEmbeddedView(r,d.context),this._placeholderRef.detectChanges(),c=Yc(this._placeholderRef,this._document)):c=ai(this._rootElement),c.style.pointerEvents="none",c.classList.add("cdk-drag-placeholder"),c}_getPointerPositionInElement(d,r,c){const D=r===this._rootElement?null:r,U=D?D.getBoundingClientRect():d,We=za(c)?c.targetTouches[0]:c,yt=this._getViewportScrollPosition();return{x:U.left-d.left+(We.pageX-U.left-yt.left),y:U.top-d.top+(We.pageY-U.top-yt.top)}}_getPointerPositionOnPage(d){const r=this._getViewportScrollPosition(),c=za(d)?d.touches[0]||d.changedTouches[0]||{pageX:0,pageY:0}:d,D=c.pageX-r.left,U=c.pageY-r.top;if(this._ownerSVGElement){const We=this._ownerSVGElement.getScreenCTM();if(We){const yt=this._ownerSVGElement.createSVGPoint();return yt.x=D,yt.y=U,yt.matrixTransform(We.inverse())}}return{x:D,y:U}}_getConstrainedPointerPosition(d){const r=this._dropContainer?this._dropContainer.lockAxis:null;let{x:c,y:D}=this.constrainPosition?this.constrainPosition(d,this,this._initialClientRect,this._pickupPositionInElement):d;if("x"===this.lockAxis||"x"===r?D=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===r)&&(c=this._pickupPositionOnPage.x),this._boundaryRect){const{x:U,y:We}=this._pickupPositionInElement,yt=this._boundaryRect,{width:Jt,height:Cn}=this._getPreviewRect(),un=yt.top+We,ri=yt.bottom-(Cn-We);c=ns(c,yt.left+U,yt.right-(Jt-U)),D=ns(D,un,ri)}return{x:c,y:D}}_updatePointerDirectionDelta(d){const{x:r,y:c}=d,D=this._pointerDirectionDelta,U=this._pointerPositionAtLastDirectionChange,We=Math.abs(r-U.x),yt=Math.abs(c-U.y);return We>this._config.pointerDirectionChangeThreshold&&(D.x=r>U.x?1:-1,U.x=r),yt>this._config.pointerDirectionChangeThreshold&&(D.y=c>U.y?1:-1,U.y=c),D}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const d=this._handles.length>0||!this.isDragging();d!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=d,ms(this._rootElement,d))}_removeRootElementListeners(d){d.removeEventListener("mousedown",this._pointerDown,Sa),d.removeEventListener("touchstart",this._pointerDown,ja),d.removeEventListener("dragstart",this._nativeDragStart,Sa)}_applyRootElementTransform(d,r){const c=Da(d,r),D=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=D.transform&&"none"!=D.transform?D.transform:""),D.transform=Q(c,this._initialTransform)}_applyPreviewTransform(d,r){const c=this._previewTemplate?.template?void 0:this._initialTransform,D=Da(d,r);this._preview.style.transform=Q(D,c)}_getDragDistance(d){const r=this._pickupPositionOnPage;return r?{x:d.x-r.x,y:d.y-r.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:d,y:r}=this._passiveTransform;if(0===d&&0===r||this.isDragging()||!this._boundaryElement)return;const c=this._rootElement.getBoundingClientRect(),D=this._boundaryElement.getBoundingClientRect();if(0===D.width&&0===D.height||0===c.width&&0===c.height)return;const U=D.left-c.left,We=c.right-D.right,yt=D.top-c.top,Jt=c.bottom-D.bottom;D.width>c.width?(U>0&&(d+=U),We>0&&(d-=We)):d=0,D.height>c.height?(yt>0&&(r+=yt),Jt>0&&(r-=Jt)):r=0,(d!==this._passiveTransform.x||r!==this._passiveTransform.y)&&this.setFreeDragPosition({y:r,x:d})}_getDragStartDelay(d){const r=this.dragStartDelay;return"number"==typeof r?r:za(d)?r.touch:r?r.mouse:0}_updateOnScroll(d){const r=this._parentPositions.handleScroll(d);if(r){const c=(0,Ne.sA)(d);this._boundaryRect&&c!==this._boundaryElement&&c.contains(this._boundaryElement)&&_n(this._boundaryRect,r.top,r.left),this._pickupPositionOnPage.x+=r.left,this._pickupPositionOnPage.y+=r.top,this._dropContainer||(this._activeTransform.x-=r.left,this._activeTransform.y-=r.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,Ne.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(d,r){const c=this._previewContainer||"global";if("parent"===c)return d;if("global"===c){const D=this._document;return r||D.fullscreenElement||D.webkitFullscreenElement||D.mozFullScreenElement||D.msFullscreenElement||D.body}return(0,j.fI)(c)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(d){return this._handles.find(r=>d.target&&(d.target===r||r.contains(d.target)))}}function Da(h,d){return`translate3d(${Math.round(h)}px, ${Math.round(d)}px, 0)`}function ns(h,d,r){return Math.max(d,Math.min(r,h))}function za(h){return"t"===h.type[0]}function Yc(h,d){const r=h.rootNodes;if(1===r.length&&r[0].nodeType===d.ELEMENT_NODE)return r[0];const c=d.createElement("div");return r.forEach(D=>c.appendChild(D)),c}function Su(h,d){h.style.width=`${d.width}px`,h.style.height=`${d.height}px`,h.style.transform=Da(d.left,d.top)}function Gc(h,d,r){const c=is(d,h.length-1),D=is(r,h.length-1);if(c===D)return;const U=h[c],We=D<c?-1:1;for(let yt=c;yt!==D;yt+=We)h[yt]=h[yt+We];h[D]=U}function is(h,d){return Math.max(0,Math.min(d,h))}class Zc{constructor(d,r){this._element=d,this._dragDropRegistry=r,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(d){this.withItems(d)}sort(d,r,c,D){const U=this._itemPositions,We=this._getItemIndexFromPointerPosition(d,r,c,D);if(-1===We&&U.length>0)return null;const yt="horizontal"===this.orientation,Jt=U.findIndex(br=>br.drag===d),Cn=U[We],ri=Cn.clientRect,bn=Jt>We?1:-1,lo=this._getItemOffsetPx(U[Jt].clientRect,ri,bn),la=this._getSiblingOffsetPx(Jt,U,bn),So=U.slice();
1return Gc(U,Jt,We),U.forEach((br,Cl)=>{if(So[Cl]===br)return;const Mc=br.drag===d,Ac=Mc?lo:la,Sc=Mc?d.getPlaceholderElement():br.drag.getRootElement();br.offset+=Ac,yt?(Sc.style.transform=Q(`translate3d(${Math.round(br.offset)}px, 0, 0)`,br.initialTransform),_n(br.clientRect,0,Ac)):(Sc.style.transform=Q(`translate3d(0, ${Math.round(br.offset)}px, 0)`,br.initialTransform),_n(br.clientRect,Ac,0))}),this._previousSwap.overlaps=an(ri,r,c),this._previousSwap.drag=Cn.drag,this._previousSwap.delta=yt?D.x:D.y,{previousIndex:Jt,currentIndex:We}}enter(d,r,c,D){const U=null==D||D<0?this._getItemIndexFromPointerPosition(d,r,c):D,We=this._activeDraggables,yt=We.indexOf(d),Jt=d.getPlaceholderElement();let Cn=We[U];if(Cn===d&&(Cn=We[U+1]),!Cn&&(null==U||-1===U||U<We.length-1)&&this._shouldEnterAsFirstChild(r,c)&&(Cn=We[0]),yt>-1&&We.splice(yt,1),Cn&&!this._dragDropRegistry.isDragging(Cn)){const un=Cn.getRootElement();un.parentElement.insertBefore(Jt,un),We.splice(U,0,d)}else(0,j.fI)(this._element).appendChild(Jt),We.push(d);Jt.style.transform="",this._cacheItemPositions()}withItems(d){this._activeDraggables=d.slice(),this._cacheItemPositions()}withSortPredicate(d){this._sortPredicate=d}reset(){this._activeDraggables.forEach(d=>{const r=d.getRootElement();if(r){const c=this._itemPositions.find(D=>D.drag===d)?.initialTransform;r.style.transform=c||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(d){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(c=>c.drag===d)}updateOnScroll(d,r){this._itemPositions.forEach(({clientRect:c})=>{_n(c,d,r)}),this._itemPositions.forEach(({drag:c})=>{this._dragDropRegistry.isDragging(c)&&c._sortFromLastPointerPosition()})}_cacheItemPositions(){const d="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(r=>{const c=r.getVisibleElement();return{drag:r,offset:0,initialTransform:c.style.transform||"",clientRect:jt(c)}}).sort((r,c)=>d?r.clientRect.left-c.clientRect.left:r.clientRect.top-c.clientRect.top)}_getItemOffsetPx(d,r,c){const D="horizontal"===this.orientation;let U=D?r.left-d.left:r.top-d.top;return-1===c&&(U+=D?r.width-d.width:r.height-d.height),U}_getSiblingOffsetPx(d,r,c){const D="horizontal"===this.orientation,U=r[d].clientRect,We=r[d+-1*c];let yt=U[D?"width":"height"]*c;if(We){const Jt=D?"left":"top",Cn=D?"right":"bottom";-1===c?yt-=We.clientRect[Jt]-U[Cn]:yt+=U[Jt]-We.clientRect[Cn]}return yt}_shouldEnterAsFirstChild(d,r){if(!this._activeDraggables.length)return!1;const c=this._itemPositions,D="horizontal"===this.orientation;if(c[0].drag!==this._activeDraggables[0]){const We=c[c.length-1].clientRect;return D?d>=We.right:r>=We.bottom}{const We=c[0].clientRect;return D?d<=We.left:r<=We.top}}_getItemIndexFromPointerPosition(d,r,c,D){const U="horizontal"===this.orientation,We=this._itemPositions.findIndex(({drag:yt,clientRect:Jt})=>{if(yt===d)return!1;if(D){const Cn=U?D.x:D.y;if(yt===this._previousSwap.drag&&this._previousSwap.overlaps&&Cn===this._previousSwap.delta)return!1}return U?r>=Math.floor(Jt.left)&&r<Math.floor(Jt.right):c>=Math.floor(Jt.top)&&c<Math.floor(Jt.bottom)});return-1!==We&&this._sortPredicate(We,d)?We:-1}}class yf{constructor(d,r,c,D,U){this._dragDropRegistry=r,this._ngZone=D,this._viewportRuler=U,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new ne.x,this.entered=new ne.x,this.exited=new ne.x,this.dropped=new ne.x,this.sorted=new ne.x,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=ee.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new ne.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,il.F)(0,Ha.Z).pipe((0,He.R)(this._stopScrollTimers)).subscribe(()=>
1{const We=this._scrollNode,yt=this.autoScrollStep;1===this._verticalScrollDirection?We.scrollBy(0,-yt):2===this._verticalScrollDirection&&We.scrollBy(0,yt),1===this._horizontalScrollDirection?We.scrollBy(-yt,0):2===this._horizontalScrollDirection&&We.scrollBy(yt,0)})},this.element=(0,j.fI)(d),this._document=c,this.withScrollableParents([this.element]),r.registerDropContainer(this),this._parentPositions=new oi(c),this._sortStrategy=new Zc(this.element,r),this._sortStrategy.withSortPredicate((We,yt)=>this.sortPredicate(We,yt,this))}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._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(d,r,c,D){this._draggingStarted(),null==D&&this.sortingDisabled&&(D=this._draggables.indexOf(d)),this._sortStrategy.enter(d,r,c,D),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:d,container:this,currentIndex:this.getItemIndex(d)})}exit(d){this._reset(),this.exited.next({item:d,container:this})}drop(d,r,c,D,U,We,yt,Jt={}){this._reset(),this.dropped.next({item:d,currentIndex:r,previousIndex:c,container:this,previousContainer:D,isPointerOverContainer:U,distance:We,dropPoint:yt,event:Jt})}withItems(d){const r=this._draggables;return this._draggables=d,d.forEach(c=>c._withDropContainer(this)),this.isDragging()&&(r.filter(D=>D.isDragging()).every(D=>-1===d.indexOf(D))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(d){return this._sortStrategy.direction=d,this}connectedTo(d){return this._siblings=d.slice(),this}withOrientation(d){return this._sortStrategy.orientation=d,this}withScrollableParents(d){const r=(0,j.fI)(this.element);return this._scrollableElements=-1===d.indexOf(r)?[r,...d]:d.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(d){return this._isDragging?this._sortStrategy.getItemIndex(d):this._draggables.indexOf(d)}isReceiving(){return this._activeSiblings.size>0}_sortItem(d,r,c,D){if(this.sortingDisabled||!this._clientRect||!zn(this._clientRect,.05,r,c))return;const U=this._sortStrategy.sort(d,r,c,D);U&&this.sorted.next({previousIndex:U.previousIndex,currentIndex:U.currentIndex,container:this,item:d})}_startScrollingIfNecessary(d,r){if(this.autoScrollDisabled)return;let c,D=0,U=0;if(this._parentPositions.positions.forEach((We,yt)=>{yt===this._document||!We.clientRect||c||zn(We.clientRect,.05,d,r)&&([D,U]=function Tu(h,d,r,c){const D=zl(d,c),U=ku(d,r);let We=0,yt=0;if(D){const Jt=h.scrollTop;1===D?Jt>0&&(We=1):h.scrollHeight-Jt>h.clientHeight&&(We=2)}if(U){const Jt=h.scrollLeft;1===U?Jt>0&&(yt=1):h.scrollWidth-Jt>h.clientWidth&&(yt=2)}return[We,yt]}(yt,We.clientRect,d,r),(D||U)&&(c=yt))}),!D&&!U){const{width:We,height:yt}=this._viewportRuler.getViewportSize(),Jt={width:We,height:yt,top:0,right:We,bottom:yt,left:0};D=zl(Jt,r),U=ku(Jt,d),c=window}c&&(D!==this._verticalScrollDirection||U!==this._horizontalScrollDirection||c!==this._scrollNode)&&(this._verticalScrollDirection=D,this._horizontalScrollDirection=U,this._scrollNode=c,(D||U)&&c?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const d=(0,j.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=d.msScrollSnapType||d.scrollSnapType||"",d.scrollSnapType=d.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const d=(0,j.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(d).clientRect}_reset(){this._isDragging=!1;const d=(0,j.fI)(this.element).style;d.scrollSnapType=d.msScrollSnapType=this._initialScrollSnap,this._siblings.forEac
1h(r=>r._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(d,r){return null!=this._clientRect&&an(this._clientRect,d,r)}_getSiblingContainerFromPosition(d,r,c){return this._siblings.find(D=>D._canReceive(d,r,c))}_canReceive(d,r,c){if(!this._clientRect||!an(this._clientRect,r,c)||!this.enterPredicate(d,this))return!1;const D=this._getShadowRoot().elementFromPoint(r,c);if(!D)return!1;const U=(0,j.fI)(this.element);return D===U||U.contains(D)}_startReceiving(d,r){const c=this._activeSiblings;!c.has(d)&&r.every(D=>this.enterPredicate(D,this)||this._draggables.indexOf(D)>-1)&&(c.add(d),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(d){this._activeSiblings.delete(d),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(d=>{if(this.isDragging()){const r=this._parentPositions.handleScroll(d);r&&this._sortStrategy.updateOnScroll(r.top,r.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const d=(0,Ne.kV)((0,j.fI)(this.element));this._cachedShadowRoot=d||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const d=this._sortStrategy.getActiveItemsSnapshot().filter(r=>r.isDragging());this._siblings.forEach(r=>r._startReceiving(this,d))}}function zl(h,d){const{top:r,bottom:c,height:D}=h,U=.05*D;return d>=r-U&&d<=r+U?1:d>=c-U&&d<=c+U?2:0}function ku(h,d){const{left:r,right:c,width:D}=h,U=.05*D;return d>=r-U&&d<=r+U?1:d>=c-U&&d<=c+U?2:0}const ol=(0,Ne.i$)({passive:!1,capture:!0});let Yl=(()=>{class h{constructor(r,c){this._ngZone=r,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=D=>D.isDragging(),this.pointerMove=new ne.x,this.pointerUp=new ne.x,this.scroll=new ne.x,this._preventDefaultWhileDragging=D=>{this._activeDragInstances.length>0&&D.preventDefault()},this._persistentTouchmoveListener=D=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&D.preventDefault(),this.pointerMove.next(D))},this._document=c}registerDropContainer(r){this._dropInstances.has(r)||this._dropInstances.add(r)}registerDragItem(r){this._dragInstances.add(r),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,ol)})}removeDropContainer(r){this._dropInstances.delete(r)}removeDragItem(r){this._dragInstances.delete(r),this.stopDragging(r),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,ol)}startDragging(r,c){if(!(this._activeDragInstances.indexOf(r)>-1)&&(this._activeDragInstances.push(r),1===this._activeDragInstances.length)){const D=c.type.startsWith("touch");this._globalListeners.set(D?"touchend":"mouseup",{handler:U=>this.pointerUp.next(U),options:!0}).set("scroll",{handler:U=>this.scroll.next(U),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:ol}),D||this._globalListeners.set("mousemove",{handler:U=>this.pointerMove.next(U),options:ol}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((U,We)=>{this._document.addEventListener(We,U.handler,U.options)})})}}stopDragging(r){const c=this._activeDragInstances.indexOf(r);c>-1&&(this._activeDragInstances.splice(c,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(r){return this._activeDragInstances.indexOf(r)>-1}scrolled(r){const c=[this.scroll];return r&&r!==this._document&&c.push(new Dn.y(D=>this._ngZone.runOutsideAngular(()=>{const We=yt=>{this._activeDragInstances.length&&D.next(yt)};return r.addEventListener("scroll",We,!0),()=>{r.removeEventListener("scroll",We,!0)}}))),(0,De.T)(...c)}ngOnDestroy(){this._dragInstances.forEach(r=>this.removeDragItem(r)),this._dropInstances.forEach(r=>this.removeDropContainer(r)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}
1_clearGlobalListeners(){this._globalListeners.forEach((r,c)=>{this._document.removeEventListener(c,r.handler,r.options)}),this._globalListeners.clear()}}return h.\u0275fac=function(r){return new(r||h)(e.LFG(e.R0b),e.LFG(a.K0))},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const xf={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Kc=(()=>{class h{constructor(r,c,D,U){this._document=r,this._ngZone=c,this._viewportRuler=D,this._dragDropRegistry=U}createDrag(r,c=xf){return new ka(r,c,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(r){return new yf(r,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return h.\u0275fac=function(r){return new(r||h)(e.LFG(a.K0),e.LFG(e.R0b),e.LFG(Vi.rL),e.LFG(Yl))},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const al=new e.OlP("CDK_DRAG_PARENT"),Iu=new e.OlP("CdkDropListGroup"),Ou=new e.OlP("CDK_DRAG_CONFIG");let wf=0;const Qc=new e.OlP("CdkDropList");let Gl=(()=>{class h{constructor(r,c,D,U,We,yt,Jt){this.element=r,this._changeDetectorRef=D,this._scrollDispatcher=U,this._dir=We,this._group=yt,this._destroyed=new ne.x,this.connectedTo=[],this.id="cdk-drop-list-"+wf++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.sorted=new e.vpe,this._unsortedItems=new Set,this._dropListRef=c.createDropList(r),this._dropListRef.data=this,Jt&&this._assignDefaults(Jt),this._dropListRef.enterPredicate=(Cn,un)=>this.enterPredicate(Cn.data,un.data),this._dropListRef.sortPredicate=(Cn,un,ri)=>this.sortPredicate(Cn,un.data,ri.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),h._dropLists.push(this),yt&&yt._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(r){this._dropListRef.disabled=this._disabled=(0,j.Ig)(r)}addItem(r){this._unsortedItems.add(r),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(r){this._unsortedItems.delete(r),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((r,c)=>r._dragRef.getVisibleElement().compareDocumentPosition(c._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const r=h._dropLists.indexOf(this);r>-1&&h._dropLists.splice(r,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(r){this._dir&&this._dir.change.pipe((0,V.O)(this._dir.value),(0,He.R)(this._destroyed)).subscribe(c=>r.withDirection(c)),r.beforeStarted.subscribe(()=>{const c=(0,j.Eq)(this.connectedTo).map(D=>"string"==typeof D?h._dropLists.find(We=>We.id===D):D);if(this._group&&this._group._items.forEach(D=>{-1===c.indexOf(D)&&c.push(D)}),!this._scrollableParentsResolved){const D=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(U=>U.getElementRef().nativeElement);this._dropListRef.withScrollableParents(D),this._scrollableParentsResolved=!0}r.disabled=this.disabled,r.lockAxis=this.lockAxis,r.sortingDisabled=(0,j.Ig)(this.sortingDisabled),r.autoScrollDisabled=(0,j.Ig)(this.autoScrollDisabled),r.autoScrollStep=(0,j.su)(this.autoScrollStep,2),r.connectedTo(c.filter(D=>D&&D!==this).map(D=>D._dropListRef)).withOrientation(this.orientation)})}_handleEvents(r){r.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),r.entered.subscribe(c=>{this.entered.emit({container:this,item:c.item.data,currentIndex:c.currentIndex})}),r.exited.subscribe(c=>{this.exited.emit({container:this,item:c.item.data}),this._changeDetectorRef.markForCheck()}),r.sorted.subscribe(c=>{this.sorted.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,container:this,item:c.item.data})}),r.dropped.subscribe(c=>{this.dropped.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,item:c.item.data,isPointerOverContainer:c.isPointerOverContainer,distance:c.distance,dropPoint:c.dropPoint,event:c.event}),this._changeDetectorRef.markForCheck()})}_assignDefaults(r){const{lockAxis:c,draggingDisabled:D,sortingDisabled:U,listAutoScrollDisabled:We,listOrientation:yt}=r;this.disabled=D??!1,this.sortingDisabled=U??!1,this.autoScrollDisabled=We??!1,this.orientation=yt||"vertical",c&&(this.lockAxis=c)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(r=>r._dragRef))}}return h._dropLists=[],h.\u0275fac=function(r){return new(r||h)(e.Y36(e.SBq),e.Y36(Kc),e.Y36(e.sBO),e.Y36(Vi.mF),e.Y36(se.Is,8),e.Y36(Iu,12),e.Y36(Ou,8))},h.\u0275dir=e.lG2({type:h,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(r,c){2&r&&(e.uIk("id",c.id),e.ekj("cdk-drop-list-disabled",c.disabled)("cdk-drop-list-dragging",c._dropListRef.isDragging())("cdk-drop-list-receiving",c._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[e._Bn([{provide:Iu,useValue:void 0},{provide:Qc,useExisting:h}])]}),h})();const sl=new e.OlP("CdkDragHandle"),Jc=new e.OlP("CdkDragPlaceholder"),Na=new e.OlP("CdkDragPreview");let qc=(()=>{class h{constructor(r,c,D,U,We,yt,Jt,Cn,un,ri,bn){this.element=r,this.dropContainer=c,this._ngZone=U,this._viewContainerRef
1=We,this._dir=Jt,this._changeDetectorRef=un,this._selfHandle=ri,this._parentDrag=bn,this._destroyed=new ne.x,this.started=new e.vpe,this.released=new e.vpe,this.ended=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.dropped=new e.vpe,this.moved=new Dn.y(lo=>{const la=this._dragRef.moved.pipe((0,xi.U)(So=>({source:this,pointerPosition:So.pointerPosition,event:So.event,delta:So.delta,distance:So.distance}))).subscribe(lo);return()=>{la.unsubscribe()}}),this._dragRef=Cn.createDrag(r,{dragStartThreshold:yt&&null!=yt.dragStartThreshold?yt.dragStartThreshold:5,pointerDirectionChangeThreshold:yt&&null!=yt.pointerDirectionChangeThreshold?yt.pointerDirectionChangeThreshold:5,zIndex:yt?.zIndex}),this._dragRef.data=this,h._dragInstances.push(this),yt&&this._assignDefaults(yt),c&&(this._dragRef._withDropContainer(c._dropListRef),c.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(r){this._disabled=(0,j.Ig)(r),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(r){this._dragRef.setFreeDragPosition(r)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Be.q)(1),(0,He.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(r){const c=r.rootElementSelector,D=r.freeDragPosition;c&&!c.firstChange&&this._updateRootElement(),D&&!D.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const r=h._dragInstances.indexOf(this);r>-1&&h._dragInstances.splice(r,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const r=this.element.nativeElement;let c=r;this.rootElementSelector&&(c=void 0!==r.closest?r.closest(this.rootElementSelector):r.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(c||r)}_getBoundaryElement(){const r=this.boundaryElement;return r?"string"==typeof r?this.element.nativeElement.closest(r):(0,j.fI)(r):null}_syncInputs(r){r.beforeStarted.subscribe(()=>{if(!r.isDragging()){const c=this._dir,D=this.dragStartDelay,U=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,We=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;r.disabled=this.disabled,r.lockAxis=this.lockAxis,r.dragStartDelay="object"==typeof D&&D?D:(0,j.su)(D),r.constrainPosition=this.constrainPosition,r.previewClass=this.previewClass,r.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(U).withPreviewTemplate(We).withPreviewContainer(this.previewContainer||"global"),c&&r.withDirection(c.value)}}),r.beforeStarted.pipe((0,Be.q)(1)).subscribe(()=>{if(this._parentDrag)return void r.withParent(this._parentDrag._dragRef);let c=this.element.nativeElement.parentElement;for(;c;){if(c.classList.contains("cdk-drag")){r.withParent(h._dragInstances.find(D=>D.element.nativeElement===c)?._dragRef||null);break}c=c.parentElement}})}_handleEvents(r){r.started.subscribe(c=>{this.started.emit({source:this,event:c.event}),this._changeDetectorRef.markForCheck()}),r.released.subscribe(c=>{this.released.emit({source:this,event:c.event})}),r.ended.subscribe(c=>{this.ended.emit({source:this,distance:c.distance,dropPoint:c.dropPoint,event:c.event}),this._changeDetectorRef.markForCheck()}),r.entered.subscribe(c=>{this.entered.emit({container:c.container.data,item:this,currentIndex:c.currentIndex})}),r.exited.subscribe(c=>{this.exited.emit({container:c.container.data,item:this})}),r.dropped.subscribe(c=>{this.dropped.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,isPointerOverContainer:c.isPointerOverContainer,item:this,distance:c.distance,dropPoint:c.dropPoint,event:c.event})})}_assignDefaults(r){const{lockAxis:c,dragStartDelay:D,constrainPosition:U,previewClass:We,boun
1daryElement:yt,draggingDisabled:Jt,rootElementSelector:Cn,previewContainer:un}=r;this.disabled=Jt??!1,this.dragStartDelay=D||0,c&&(this.lockAxis=c),U&&(this.constrainPosition=U),We&&(this.previewClass=We),yt&&(this.boundaryElement=yt),Cn&&(this.rootElementSelector=Cn),un&&(this.previewContainer=un)}_setupHandlesListener(){this._handles.changes.pipe((0,V.O)(this._handles),(0,rl.b)(r=>{const c=r.filter(D=>D._parentDrag===this).map(D=>D.element);this._selfHandle&&this.rootElementSelector&&c.push(this.element),this._dragRef.withHandles(c)}),(0,gr.w)(r=>(0,De.T)(...r.map(c=>c._stateChanges.pipe((0,V.O)(c))))),(0,He.R)(this._destroyed)).subscribe(r=>{const c=this._dragRef,D=r.element.nativeElement;r.disabled?c.disableHandle(D):c.enableHandle(D)})}}return h._dragInstances=[],h.\u0275fac=function(r){return new(r||h)(e.Y36(e.SBq),e.Y36(Qc,12),e.Y36(a.K0),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(Ou,8),e.Y36(se.Is,8),e.Y36(Kc),e.Y36(e.sBO),e.Y36(sl,10),e.Y36(al,12))},h.\u0275dir=e.lG2({type:h,selectors:[["","cdkDrag",""]],contentQueries:function(r,c,D){if(1&r&&(e.Suo(D,Na,5),e.Suo(D,Jc,5),e.Suo(D,sl,5)),2&r){let U;e.iGM(U=e.CRH())&&(c._previewTemplate=U.first),e.iGM(U=e.CRH())&&(c._placeholderTemplate=U.first),e.iGM(U=e.CRH())&&(c._handles=U)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(r,c){2&r&&e.ekj("cdk-drag-disabled",c.disabled)("cdk-drag-dragging",c._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[e._Bn([{provide:al,useExisting:h}]),e.TTD]}),h})(),Xc=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({providers:[Kc],imports:[Vi.ZD]}),h})();class Ta{constructor(d){this.onDestroy=new ne.x,this.loading=!1,this.dataLoading=!0,this.dataLength=0,this.dataSource=new Vo([]),this.componentName="AdminBaseComponent",this._displayedColumns=[],this._injector=d,this.location=this._injector.get(a.Ye)}get persistedFilter(){return sessionStorage.getItem(`${this.componentName}-filter`)||""}get displayedColumns(){const d=localStorage.getItem(`${this.componentName}-columns`);return d?JSON.parse(d):[]}set displayedColumns(d){localStorage.setItem(`${this.componentName}-columns`,JSON.stringify(d))}get persistedSort(){return sessionStorage.getItem(`${this.componentName}-sort`)||""}set persistedSort(d){sessionStorage.setItem(`${this.componentName}-sort`,d)}get persistedSortDirection(){return sessionStorage.getItem(`${this.componentName}-sort-direction`)||""}set persistedSortDirection(d){sessionStorage.setItem(`${this.componentName}-sort-direction`,d)}onSortChanged(d){this.persistedSort=d.active,this.persistedSortDirection=d.direction}goBack(){this.location.historyGo(-1)}getBasicFilter(d,r=""){return{limit:d.pageSize,offset:d.pageSize*d.pageIndex,phrase:r}}toggleColumn(d,r){d.stopPropagation(),this._displayedColumns.length||(this._displayedColumns=[...this.displayedColumns]),this._displayedColumns.includes(r)?this._displayedColumns.splice(this._displayedColumns.indexOf(r),1):this._displayedColumns.unshift(r)}dropColumn(d){this._displayedColumns=[...this.displayedColumns],Gc(this._displayedColumns,d.previousIndex,d.currentIndex),this.updateDisplayedColumns()}updateDisplayedColumns(){this._displayedColumns.length&&(this.displayedColumns=[...this._displayedColumns])}translateColumn(d){switch(d){case"paid":return"Zaplaceno";case"id":return"ID";case"price":return"\u010c\xe1stka";case"name":return"DonationsComponent"===this.componentName?"Daroval":"Jm\xe9no a p\u0159\xedjmen\xed";case"email":return"E-mail";case"phone":return"Telefon";case"birthDate":return"Datum narozen\xed";case"city":return"M\u011bsto";case"street":return"Ulice";case"zip":return"PS\u010c";case"company":return"Firma";case"companyIn":return"I\u010cO";case"companyCity":return"Firma (m\u011bsto)";case"companyStreet":return"Firma (ulice)";case"companyZip":return"Firma (PS\u010c)";case"updatedAt":return"Upraveno";case"createdAt":return"Vytvo\u0159eno";
1case"referenceNumber":return"Variabiln\xed symbol";case"type":return"Forma platby";case"recurring":return"Frekvence";case"confirmedAt":return"Datum potvrzen\xed"}return d}translatePaymentType(d){switch(d){case"CARD":return"Kartou";case"CASH":return"Hotov\u011b";case"TRANSFER":return"P\u0159evodem"}return d}clearFilter(d){sessionStorage.removeItem(`${this.componentName}-filter`),d.firstPage()}applyFilter(d,r){sessionStorage.setItem(`${this.componentName}-filter`,d),r.firstPage()}static#e=this.\u0275fac=function(r){return new(r||Ta)(e.Y36(e.zs3))};static#t=this.\u0275cmp=e.Xpm({type:Ta,selectors:[["ng-component"]],decls:0,vars:0,template:function(r,c){},encapsulation:2})}var Ns=f(8739);const Nu=["mat-sort-header",""];function Lu(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){e.CHM(r);const D=e.oxw();return e.KtG(D._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.CHM(r);const D=e.oxw();return e.KtG(D._disableViewStateAnimation=!1)}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6)(4,"div",7)(5,"div",8),e.qZA()()}if(2&h){const r=e.oxw();e.Q6J("@arrowOpacity",r._getArrowViewState())("@arrowPosition",r._getArrowViewState())("@allowChildren",r._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",r._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",r._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",r._getArrowDirectionState())}}const ed=["*"],Zl=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),Wl=(0,p.dB)((0,p.Id)(class{}));let qr=(()=>{class h extends Wl{constructor(r){super(),this._defaultOptions=r,this.sortables=new Map,this._stateChanges=new ne.x,this.start="asc",this._direction="",this.sortChange=new e.vpe}get direction(){return this._direction}set direction(r){this._direction=r}get disableClear(){return this._disableClear}set disableClear(r){this._disableClear=(0,j.Ig)(r)}register(r){this.sortables.set(r.id,r)}deregister(r){this.sortables.delete(r.id)}sort(r){this.active!=r.id?(this.active=r.id,this.direction=r.start?r.start:this.start):this.direction=this.getNextSortDirection(r),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(r){if(!r)return"";let D=function Ls(h,d){let r=["asc","desc"];return"desc"==h&&r.reverse(),d||r.push(""),r}(r.start||this.start,r?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),U=D.indexOf(this.direction)+1;return U>=D.length&&(U=0),D[U]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(Zl,8))},h.\u0275dir=e.lG2({type:h,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.qOj,e.TTD]}),h})();const Ya=p.mZ.ENTERING+" "+p.yN.STANDARD_CURVE,fs={indicator:(0,hn.X$)("indicator",[(0,hn.SB)("active-asc, asc",(0,hn.oB)({transform:"translateY(0px)"})),(0,hn.SB)("active-desc, desc",(0,hn.oB)({transform:"translateY(10px)"})),(0,hn.eR)("active-asc <=> active-desc",(0,hn.jt)(Ya))]),leftPointer:(0,hn.X$)("leftPointer",[(0,hn.SB)("active-asc, asc",(0,hn.oB)({transform:"rotate(-45deg)"})),(0,hn.SB)("active-desc, desc",(0,hn.oB)({transform:"rotate(45deg)"})),(0,hn.eR)("active-asc <=> active-desc",(0,hn.jt)(Ya))]),rightPointer:(0,hn.X$)("rightPointer",[(0,hn.SB)("active-asc, asc",(0,hn.oB)({transform:"rotate(45deg)"})),(0,hn.SB)("active-desc, desc",(0,hn.oB)({transform:"rotate(-45deg)"})),(0,hn.eR)("active-asc <=> active-desc",(0,hn.jt)(Ya))]),arrowOpacity:(0,hn.X$)("arrowOpacity",[(0,hn.SB)("desc-to-active, asc-to-active, active",(0,hn.oB)({opacity:1})),(0,hn.SB)("desc-to-hint, asc-to-hint, hint",(0,hn.oB)({opacity:.54})),(0,hn.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,hn.oB)({opacity:0})),(0,hn.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,hn.jt)("0ms")),(0,hn.eR)("* <=> *",(0,hn.jt)(Ya))]),arrowPosition:(0,hn.X$)("arrowPosition",[(0,hn.eR)("* => desc-to-hint, * => desc-to-active",(0,hn.jt)(Ya,(0,hn.F4)([(0,hn.oB)({transform:"translateY(-25%)"}),(0,hn.oB)({transform:"translateY(0)"})]))),(0,hn.eR)("* => hint-to-desc, * => active-to-desc",(0,hn.jt)(Ya,(0,hn.F4)([(0,hn.oB)({transform:"translateY(0)"}),(0,hn.oB)({transform:"translateY(25%)"})]))),(0,hn.eR)("* => asc-to-hint, * => asc-to-active",(0,hn.jt)(Ya,(0,hn.F4)([(0,hn.oB)({transform:"translateY(25%)"}),(0,hn.oB)({transform:"translateY(0)"})]))),(0,hn.eR)("* => hint-to-asc, * => active-to-asc",(0,hn.jt)(Ya,(0,hn.F4)([(0,hn.oB)({transform:"translateY(0)"}),(0,hn.oB)({transform:"translateY(-25%)"})]))),(0,hn.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,hn.oB)({transform:"translateY(0)"})),(0,hn.SB)("hint-to-desc, active-to-desc, desc",(0,hn.oB)({transform:"translateY(-25%)"})),(0,hn.SB)("hint-to-asc, active-to-asc, asc",(0,hn.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,hn.X$)("allowChildren",[(0,hn.eR)("* <=> *",[(0,hn.IO)("@*",(0,hn.pV)(),{optional:!0})])])};let ll=(()=>{class h{constructor(){this.changes=new ne.x}}
1return h.\u0275fac=function(r){return new(r||h)},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const $u={provide:ll,deps:[[new e.FiY,new e.tp0,ll]],useFactory:function nd(h){return h||new ll}},id=(0,p.Id)(class{});let rd=(()=>{class h extends id{constructor(r,c,D,U,We,yt,Jt,Cn){super(),this._intl=r,this._changeDetectorRef=c,this._sort=D,this._columnDef=U,this._focusMonitor=We,this._elementRef=yt,this._ariaDescriber=Jt,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",Cn?.arrowPosition&&(this.arrowPosition=Cn?.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(r){this._updateSortActionDescription(r)}get disableClear(){return this._disableClear}set disableClear(r){this._disableClear=(0,j.Ig)(r)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(r=>{const c=!!r;c!==this._showIndicatorHint&&(this._setIndicatorHintVisible(c),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(r){this._isDisabled()&&r||(this._showIndicatorHint=r,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(r){this._viewState=r||{},this._disableViewStateAnimation&&(this._viewState={toState:r.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(r){!this._isDisabled()&&(r.keyCode===R.L_||r.keyCode===R.K5)&&(r.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const r=this._viewState.fromState;return(r?`${r}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(r){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,r)),this._sortActionDescription=r}_handleStateChanges(){this._rerenderSubscription=(0,De.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(ll),e.Y36(e.sBO),e.Y36(qr,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(bt.tE),e.Y36(e.SBq),e.Y36(bt.$s,8),e.Y36(Zl,8))},h.\u0275cmp=e.Xpm({type:h,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(r,c){1&r&&e.NdJ("click",function(){return c._handleClick()})("keydown",function(U){return c._handleKeydown(U)})("mouseenter",function(){return c._setIndicatorHintVisible(!0)})("mouseleave",function(){return c._setIndicatorHintVisible(!1)}),2&r&&(e.uIk("aria-sort",c._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",c._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:Nu,ngContentSelectors:ed,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(r,c){1&r&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,Lu,6,6,"div",2),e.qZA()),2&r&&(e.ekj("mat-sort-header-sorted",c._isSorted())("mat-sort-header-position-before","before"===c.arrowPosition),e.uIk("tabindex",c._isDisabled()?null:0)("role",c._isDisabled()?null:"button"),e.xp6(3),e.Q6J("ngIf",c._renderArrow()))},dependencies:[a.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}
1.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[fs.indicator,fs.leftPointer,fs.rightPointer,fs.arrowOpacity,fs.arrowPosition,fs.allowChildren]},changeDetection:0}),h})(),od=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({providers:[$u],imports:[a.ez,p.BQ]}),h})();var cl=f(7225),As=f(3852),sa=f(1572);function Kl(h,d){if(1&h&&(e.TgZ(0,"p",7)(1,"mat-icon",8),e._uU(2,"warning"),e.qZA(),e._uU(3),e.qZA()),2&h){const r=e.oxw();e.xp6(3),e.hij(" ",r.data.warning," ")}}function Bu(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._UZ(1,"mat-spinner",9),e.qZA())}function ad(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._uU(1,"delete"),e.qZA())}class ps{constructor(d,r,c){this.dialogRef=d,this.notificationService=r,this.data=c,this.loading=!1}deleteItemSuccessSnackbar(){this.notificationService.showSuccessMessage(this.data.successText?this.data.successText:"Polo\u017eka smaz\xe1na")}runAction(){var d=this;return(0,Kn.Z)(function*(){d.loading=!0;try{yield d.data.action(d.data.context),d.deleteItemSuccessSnackbar(),d.dialogRef.close("success")}catch(r){console.error(r)}finally{d.loading=!1}})()}static#e=this.\u0275fac=function(r){return new(r||ps)(e.Y36(Ot.so),e.Y36(As.s),e.Y36(Ot.WI))};static#t=this.\u0275cmp=e.Xpm({type:ps,selectors:[["app-admin-delete-item-dialog"]],decls:15,vars:7,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["class","mat-caption flex items-center mt-1",4,"ngIf"],["mat-dialog-actions",""],["mat-button","","mat-dialog-close","","cdkFocusInitial",""],["mat-raised-button","","color","warn",3,"disabled","click"],[4,"ngIf"],[1,"mat-caption","flex","items-center","mt-1"],[1,"mr-1"],["diameter","18"]],template:function(r,c){1&r&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1)(3,"p"),e._uU(4),e.qZA(),e.YNc(5,Kl,4,1,"p",2),e.qZA(),e.TgZ(6,"div",3)(7,"button",4)(8,"mat-icon"),e._uU(9,"close"),e.qZA(),e._uU(10," Zru\u0161it "),e.qZA(),e.TgZ(11,"button",5),e.NdJ("click",function(){return c.runAction()}),e.YNc(12,Bu,2,0,"mat-icon",6),e.YNc(13,ad,2,0,"mat-icon",6),e._uU(14),e.qZA()()),2&r&&(e.xp6(1),e.hij(" ",c.data.title?c.data.title:"Smazat polo\u017eku","\n"),e.xp6(3),e.Oqu(c.data.text?c.data.text:"Opravdu si p\u0159ejete polo\u017eku smazat?"),e.xp6(1),e.Q6J("ngIf",c.data.warning),e.xp6(6),e.Q6J("disabled",c.loading),e.xp6(1),e.Q6J("ngIf",c.loading),e.xp6(1),e.Q6J("ngIf",!c.loading),e.xp6(1),e.hij(" ",c.data.title?c.data.title:"Smazat polo\u017eku"," "))},dependencies:[a.O5,Ot.ZT,Ot.uh,Ot.xY,Ot.H8,gi.lW,Zt.Hw,sa.Ou]})}var gs=f(5472);const Vu=["input"],Uu=["label"],Ql=["*"],Jl=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:ql});function ql(){return{color:"accent",clickAction:"check-indeterminate"}}const Mf={provide:fe.JU,useExisting:(0,e.Gpc)(()=>dl),multi:!0};class Ss{}let Xl=0;const ec=ql(),Hu=(0,p.sb)((0,p.pj)((0,p.Kr)((0,p.Id)(class{constructor(h){this._elementRef=h}}))));let tc=(()=>{class h extends Hu{constructor(r,c,D,U,We,yt,Jt){super(c),this._changeDetectorRef=D,this._ngZone=U,this._animationMode=yt,this._options=Jt,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.vpe,this.indeterminateChange=new e.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||ec,this.color=this.defaultColor=this._options.color||ec.color,this.tabIndex=parseInt(We)||0,this.id=this._uniqueId=`${r}${++Xl}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(r){this._required=(0,j.Ig)(r)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(r){const c=(0,j.Ig)(r);c!=this.checked&&(this._checked=c,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(r){const c=(0,j.Ig)(r);c!==this.disabled&&(this._disabled=c,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(r){const c=r!=this._indeterminate;this._indeterminate=(0,j.Ig)(r),c&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(r){this.checked=!!r}registerOnChange(r){this._controlValueAccessorChangeFn=r}registerOnTouched(r){this._onTouched=r}setDisabledState(r){this.disabled=r}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(r){let c=this._currentCheckState,D=this._getAnimationTargetElement();if(c!==r&&D&&(this._currentAnimationClass&&D.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(c,r),this._currentCheckState=r,this._currentAnimationClass.length>0)){D.classList.add(this._currentAnimationClass);const U=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{D.classList.remove(U)},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(){const r=this._options?.clickAction;this.disabled||"noop"===r?!this.disabled&&"noop"===r&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==r&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(r){r.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(r,c){if("NoopAnimations"===this._animationMode)return"";switch(r){case 0:if(1===c)return this._animationClasses.uncheckedToChecked;if(3==c)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===c?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===c?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===c?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(r){const c=this._inputElement;c&&(c.nativeElement.indeterminate=r)}}
1return h.\u0275fac=function(r){e.$Z()},h.\u0275dir=e.lG2({type:h,viewQuery:function(r,c){if(1&r&&(e.Gf(Vu,5),e.Gf(Uu,5),e.Gf(p.wG,5)),2&r){let D;e.iGM(D=e.CRH())&&(c._inputElement=D.first),e.iGM(D=e.CRH())&&(c._labelElement=D.first),e.iGM(D=e.CRH())&&(c.ripple=D.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[e.qOj]}),h})(),dl=(()=>{class h extends tc{constructor(r,c,D,U,We,yt){super("mat-mdc-checkbox-",r,c,D,U,We,yt),this._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"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(r){const c=new Ss;return c.source=this,c.checked=r,c}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_preventBubblingFromLabel(r){r.target&&this._labelElement.nativeElement.contains(r.target)&&r.stopPropagation()}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(Jl,8))},h.\u0275cmp=e.Xpm({type:h,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(r,c){2&r&&(e.Ikx("id",c.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.ekj("_mat-animation-noopable","NoopAnimations"===c._animationMode)("mdc-checkbox--disabled",c.disabled)("mat-mdc-checkbox-disabled",c.disabled)("mat-mdc-checkbox-checked",c.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[e._Bn([Mf]),e.qOj],ngContentSelectors:Ql,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","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"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[3,"for"],["label",""]],template:function(r,c){if(1&r&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("click",function(U){return c._preventBubblingFromLabel(U)}),e.TgZ(1,"div",1,2)(3,"div",3),e.NdJ("click",function(){return c._onInputClick()}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("blur",function(){return c._onBlur()})("click",function(){return c._onInputClick()})("change",function(U){return c._onInteractionEvent(U)}),e.qZA(),e._UZ(6,"div",6),e.TgZ(7,"div",7),e.O4$(),e.TgZ(8,"svg",8),e._UZ(9,"path",9),e.qZA(),e.kcU(),e._UZ(10,"div",10),e.qZA(),e._UZ(11,"div",11),e.qZA(),e.TgZ(12,"label",12,13),e.Hsn(14),e.qZA()()),2&r){const D=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==c.labelPosition),e.xp6(4),e.ekj("mdc-checkbox--selected",c.checked),e.Q6J("checked",c.checked)("disabled",c.disabled)("id",c.inputId)("required",c.required)("tabIndex",c.tabIndex),e.uIk("aria-checked",c._getAriaChecked())("aria-label",c.ariaLabel||null)("aria-labelledby",c.ariaLabelledby)("aria-describedby",c.ariaDescribedby)("name",c.name)("value",c.value),e.xp6(7),e.Q6J("matRippleTrigger",D)("matRippleDisabled",c.disableRipple||c.disabled)("matRippleCentered",!0),e.xp6(1),e.Q6J("for",c.inputId)}},dependencies:[p.wG],styles:['
vendor: 1,706 bytes, line 1
1.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox
1[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scale
1X(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselec
1ted-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),h})(),sd=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({}),h})(),ld=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[p.BQ,p.si,sd,p.BQ,sd]}),h})();var $s=f(266);const cd=["searchInput"];function nc(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(r);const D=e.oxw();return D.clearFilter(D.paginator),e.KtG(D.fetchData())}),e.TgZ(1,"mat-icon"),e._uU(2,"close"),e.qZA()()}}function dd(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," Zaplaceno "),e.qZA())}function ic(h,d){1&h&&(e.TgZ(0,"mat-icon",50),e._uU(1,"close"),e.qZA())}function Yu(h,d){1&h&&(e.TgZ(0,"mat-icon",51),e._uU(1,"done"),e.qZA())}function Gu(h,d){if(1&h&&(e.TgZ(0,"td",47),e.YNc(1,ic,2,0,"mat-icon",48),e.YNc(2,Yu,2,0,"mat-icon",49),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.Q6J("ngIf",!r.paid),e.xp6(1),e.Q6J("ngIf",r.paid)}}function ud(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," ID "),e.qZA())}function hd(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.id," ")}}function _s(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," \u010c\xe1stka "),e.qZA())}function md(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.price," ")}}function fd(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," Daroval "),e.qZA())}const pd=function(h){return["/admin/donors/edit",h]};function Af(h,d){if(1&h&&(e.TgZ(0,"td",52)(1,"a",53),e._uU(2),e.qZA()()),2&h){const r=d.$implicit;e.xp6(1),e.Q6J("routerLink",e.VKq(2,pd,r.donor.id)),e.xp6(1),e.Oqu(r.donor.name)}}function ul(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," E-mail "),e.qZA())}function Zu(h,d){if(1&h&&(e.TgZ(0,"td",52)(1,"a",54),e._uU(2),e.qZA()()),2&h){const r=d.$implicit;e.xp6(1),e.Q6J("href","mailto:"+r.donor.email,e.LSH),e.xp6(1),e.Oqu(r.donor.email)}}function gd(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," Telefon "),e.qZA())}function _d(h,d){if(1&h&&(e.TgZ(0,"td",52)(1,"a",54),e._uU(2),e.qZA()()),2&h){const r=d.$implicit;e.xp6(1),e.Q6J("href","tel:"+r.donor.phone,e.LSH),e.xp6(1),e.Oqu(r.donor.phone)}}function bd(h,d){1&h&&(e.TgZ(0,"th",55),e._uU(1," Datum narozen\xed "),e.qZA())}function rc(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.ALo(2,"date"),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,r.donor.birthDate,"shortDate")," ")}}function vd(h,d){1&h&&(e.TgZ(0,"th",55),e._uU(1," Datum potvrzen\xed "),e.qZA())}function hl(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.ALo(2,"date"),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,r.confirmedAt,"shortDate")," ")}}function ml(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," M\u011bsto "),e.qZA())}function yd(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.donor.city," ")}}function oc(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," Ulice "),e.qZA())}function ac(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.donor.street," ")}}function sc(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," PS\u010c "),e.qZA())}function Bs(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.donor.zip," ")}}function Wu(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," Firma "),e.qZA())}function xd(h,d){if(1&h&&(e.TgZ(0,"td",52)(1,"a",53),e._uU(2),e.qZA()()),2&h){const r=d.$implicit;e.xp6(1),e.Q6J("routerLink",e.VKq(2,pd,r.donor.id)),e.xp6(1),e.Oqu(r.donor.company)}}function Ku(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," I\u010cO "),e.qZA())}function Qu(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.donor.companyIn," ")}}function Ju(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," Firma (m\u011bsto) "),e.qZA())}function wd(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.donor.companyCity," ")}}function Cd(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," Firma (ulice) "),e.qZA())}function fl(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.donor.companyStreet," ")}}function lc(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," Firma (PS\u010c) "),e.qZA())}function bs(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.donor.companyZip," ")}}function qu(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," Variabiln\xed
1symbol "),e.qZA())}function Xu(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.referenceNumber," ")}}function Sf(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," Forma platby "),e.qZA())}function eh(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.qZA()),2&h){const r=d.$implicit,c=e.oxw();e.xp6(1),e.hij(" ",c.translatePaymentType(r.type)," ")}}function cc(h,d){1&h&&(e.TgZ(0,"th",46),e._uU(1," Frekvence "),e.qZA())}function th(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.recurring?"M\u011bs\xed\u010dn\u011b":"Jednor\xe1zov\u011b"," ")}}function Dd(h,d){1&h&&(e.TgZ(0,"th",55),e._uU(1," Upraveno "),e.qZA())}function pl(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.ALo(2,"date"),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,r.updatedAt,"short")," ")}}function dc(h,d){1&h&&(e.TgZ(0,"th",55),e._uU(1," Vytvo\u0159eno "),e.qZA())}function Ed(h,d){if(1&h&&(e.TgZ(0,"td",52),e._uU(1),e.ALo(2,"date"),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,r.createdAt,"short")," ")}}function Md(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"mat-checkbox",62),e.NdJ("click",function(D){const We=e.CHM(r).$implicit,yt=e.oxw(2);return e.KtG(yt.toggleColumn(D,We))}),e._uU(1),e.qZA()}if(2&h){const r=d.$implicit,c=e.oxw(2);e.Q6J("checked",c.displayedColumns.includes(r)),e.xp6(1),e.hij(" ",c.translateColumn(r)," ")}}function Ad(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"th",56)(1,"a",57)(2,"button",58)(3,"mat-icon"),e._uU(4,"settings"),e.qZA()()(),e.TgZ(5,"mat-menu",59,60),e.NdJ("close",function(){e.CHM(r);const D=e.oxw();return e.KtG(D.updateDisplayedColumns())}),e.YNc(7,Md,2,2,"mat-checkbox",61),e.qZA()()}if(2&h){const r=e.MAs(6),c=e.oxw();e.xp6(1),e.Q6J("matMenuTriggerFor",r),e.xp6(6),e.Q6J("ngForOf",c.allColumns)}}const vs=function(h){return["/admin/donations/edit",h]};function nh(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"td",63)(1,"button",64)(2,"mat-icon"),e._uU(3,"more_horiz"),e.qZA()(),e.TgZ(4,"mat-menu",null,60)(6,"a",65)(7,"mat-icon",66),e._uU(8,"edit"),e.qZA(),e._uU(9," Upravit "),e.qZA(),e._UZ(10,"mat-divider"),e.TgZ(11,"button",67),e.NdJ("click",function(){const U=e.CHM(r).$implicit,We=e.oxw();return e.KtG(We.showDeleteDonationDialog(U.id))}),e.TgZ(12,"mat-icon",68),e._uU(13,"delete"),e.qZA(),e._uU(14," Smazat "),e.qZA()()()}if(2&h){const r=d.$implicit,c=e.MAs(5);
1e.xp6(1),e.Q6J("matMenuTriggerFor",c),e.xp6(5),e.Q6J("routerLink",e.VKq(2,vs,r.id))}}function ih(h,d){if(1&h&&(e.TgZ(0,"td",69),e._uU(1," \u017d\xe1dn\xe1 data "),e.qZA()),2&h){const r=e.oxw();e.Q6J("colSpan",r.displayedColumns.length)}}function rh(h,d){if(1&h&&(e.TgZ(0,"td",70),e._UZ(1,"mat-spinner",71),e.qZA()),2&h){const r=e.oxw();e.Q6J("colSpan",r.displayedColumns.length)}}function oh(h,d){1&h&&e._UZ(0,"tr",72)}function ah(h,d){1&h&&e._UZ(0,"tr",73)}function Ga(h,d){if(1&h&&e._UZ(0,"tr",74),2&h){const r=e.oxw();e.Q6J("hidden",!(r.dataLoading||r.showNoRecords()))}}const ks=function(){return["/admin/donations/new"]},sh=function(){return["loading"]},lh=function(){return["noRecords"]},ch=function(){return[]};class gl extends Ta{constructor(d,r,c){super(d),this.injector=d,this.donationApiService=r,this.dialog=c,this.componentName="DonationsComponent",this.allColumns=["paid","id","price","referenceNumber","type","recurring","name","email","phone","birthDate","city","street","zip","company","companyIn","companyCity","companyStreet","companyZip","confirmedAt","updatedAt","createdAt"],this.dataSource=new Vo([]),this.displayedColumns.length||(this.displayedColumns=["paid","id","price","referenceNumber","type","recurring","name","company","phone","updatedAt","confirmedAt","actions"])}ngOnDestroy(){this.onDestroy.next(),this.onDestroy.complete()}fetchData(d=!0){var r=()=>super.getBasicFilter,c=this;return(0,Kn.Z)(function*(){let D;d&&(c.dataSource.data=[],c.dataLoading=!0),c.sort.active&&(c.sortValue={active:c.sort.active,direction:c.sort.direction});try{D=yield c.donationApiService.getDonations(r().call(c,c.paginator,c.persistedFilter),c.sortValue?`${c.sortValue.active} ${c.sortValue.direction}`:null),(0,cl.v)(D.data,c.dataSource.data)||(c.dataSource.data=D.data,c.dataLength=D.count)}catch(U){console.error(U)}finally{c.dataLoading=!1}})()}ngAfterViewInit(){var d=this;return(0,Kn.Z)(function*(){yield d.fetchData(),d.paginator.page.subscribe(()=>{d.fetchData()}),(0,Ue.R)(d.searchInput.nativeElement,"keyup").pipe((0,Wr.b)(1e3)).subscribe(()=>{d.applyFilter(d.searchInput.nativeElement.value,d.paginator),d.fetchData()}),d.sort.sortChange.subscribe(r=>{d.sortValue=r,d.fetchData(!1)})})()}showNoRecords(){return 0===this.dataSource.filteredData?.length}showDeleteDonationDialog(d){var r=this;this.lastId=d,this.dialog.open(ps,{data:{action:this.deleteDonor,context:this}}).afterClosed().subscribe(function(){var c=(0,Kn.Z)(function*(D){"success"===D&&(yield r.fetchData())});return function(D){return c.apply(this,arguments)}}())}deleteDonor(d){return(0,Kn.Z)(function*(){yield d.donationApiService.deleteDonation(d.lastId)})()}static#e=this.\u0275fac=function(r){return new(r||gl)(e.Y36(e.zs3),e.Y36(gs.Q),e.Y36(Ot.uw))};static#t=this.\u0275cmp=e.Xpm({type:gl,selectors:[["sv-admin-donations"]],viewQuery:function(r,c){if(1&r&&(e.Gf(cd,5),e.Gf(Ns.NW,5),e.Gf(qr,5)),2&r){let D;e.iGM(D=e.CRH())&&(c.searchInput=D.first),e.iGM(D=e.CRH())&&(c.paginator=D.first),e.iGM(D=e.CRH())&&(c.sort=D.first)}},features:[e.qOj],decls:88,vars:15,consts:[[1,"flex","justify-between","mb-1"],["appearance","outline"],["matInput","",3,"value"],["searchInput",""],["matPrefix",""],["matSuffix","","mat-icon-button","",3,"click",4,"ngIf"],["mat-fab","","color","primary",1,"text-white",3,"routerLink","matTooltip"],[1,"mat-elevation-z8","data-table"],["mat-table","","matSort","","cdkDropList","","cdkDropListOrientation","horizontal",3,"dataSource","matSortActive","matSortDirection","cdkDropListDropped","matSortChange"],["matColumnDef","paid"],["cdkDrag","","mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","text-center",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","price"],["matColumnDef","name"],["matColumnDef","email"],["matColumnDef","phone"],["matColumnDef","birthDate"],["mat-header-cell","","cdkDrag","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","confirmedAt"],["matColumnDef","city"],["matColumnDef","street"],["matColumnDef","zip"],["matColumnDef","company"],["matColumnDef","companyIn"],["matColumnDef","companyCity"],["matColumnDef","companyStreet"],["matColumnDef","companyZip"],["matColumnDef","referenceNumber"],["matColumnDef","type"],["matColumnDef","recurring"],["matColumnDef","updatedAt"],["matColumnDef","createdAt"],["matColumnDef","actions"],["mat-header-cell","","class","text-right",4,"matHeaderCellDef"],["mat-cell","","class","text-right",4,"matCellDef"],["matColumnDef","noRecords"],["style","text-align: center","mat-footer-cell","",3,"colSpan",4,"matFooterCellDef"],["matColumnDef","loading"],["mat-footer-cell","",3,"colSpan",4,"matFooterCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-footer-row","",3,"hidden",4,"matFooterRowDef"],["showFirstLastButtons","","pageSize","50",3,"length"],["matSuffix","","mat-icon-button","",3,"click"],["cdkDrag","","mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"text-center"],["class","text-red-700",4,"ngIf"],["class","text-green-700",4,"ngIf"],[1,"text-red-700"],[1,"text-green-700"],["mat-cell",""],[1,"text-blue-600",3,"routerLink"],[1,"text-blue-600",3,"href"],["mat-header-cell","","cdkDrag","","mat-sort-header",""],["mat-header-cell","",1,"text-right"],[3,"matMenuTriggerFor"],["mat-icon-button",""],[1,"columns-menu",3,"close"],["menu","matMenu"],[3,"checked","click",4,"ngFor","ngForOf"],[3,"checked","click"],["mat-cell","",1,"text-right"],["mat-icon-button","","matTooltip","Akce",3,"matMenuTriggerFor"],["mat-menu-item","",3,"routerLink"],["color","primary"],["mat-menu-item","",3,"click"],["color","warn"],["mat-footer-cell","",2,"text-align","center",3,"colSpan"],["mat-footer-cell","",3,"colSpan"],["diameter","16",2,"margin-left","auto","margin-right","auto"],["mat-header-row",""],["mat-row",""],["mat-footer-row","",3,"hidden"]],template:function(r,c){1&r&&(e.TgZ(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),e._uU(3,"Hledat..."),e.qZA(),e._UZ(4,"input",2,3),e.TgZ(6,"mat-icon",4),e._uU(7,"search"),e.qZA(),e.YNc(8,nc,3,0,"button",5),e.qZA(),e.TgZ(9,"a",6)(10,"mat-icon"),e._uU(11,"add"),e.qZA()()(),e.TgZ(12,"div",7)(13,"table",8),e.NdJ("cdkDropListDropped",function(U){return c.dropColumn(U)})("matSortChange",function(U){return c.onSortChanged(U)}),e.ynx(14,9),e.YNc(15,dd,2,0,"th",10),e.YNc(16,Gu,3,2,"td",11),e.BQk(),e.ynx(17,12),e.YNc(18,ud,2,0,"th",10),e.YNc(19,hd,2,1,"td",13),e.BQk(),e.ynx(20,14),e.YNc(21,_s,2,0,"th",10),e.YNc(22,md,2,1,"td",13),e.BQk(),e.ynx(23,15),e.YNc(24,fd,2,0,"th",10),e.YNc(25,Af,3,4,"td",13),e.BQk(),e.ynx(26,16),e.YNc(27,ul,2,0,"th",10),e.YNc(28,Zu,3,2,"td",13),e.BQk(),e.ynx(29,17),e.YNc(30,gd,2,0,"th",10),e.YNc(31,_d,3,2,"td",13),e.BQk(),e.ynx(32,18),e.YNc(33,bd,2,0,"th",19),e.YNc(34,rc,3,4,"td",13),e.BQk(),e.ynx(35,20),e.YNc(36,vd,2,0,"th",19),e.YNc(37,hl,3,4,"td",13),e.BQk(),e.ynx(38,21),e.YNc(39,ml,2,0,"th",10),e.YNc(40,yd,2,1,"td",13),e.BQk(),e.ynx(41,22),e.YNc(42,oc,2,0,"th",10),e.YNc(43,ac,2,1,"td",13),e.BQk(),e.ynx(44,23),e.YNc(45,sc,2,0,"th",10),e.YNc(46,Bs,2,1,"td",13),e.BQk(),e.ynx(47,24),e.YNc(48,Wu,2,0,"th",10),e.YNc(49,xd,3,4,"td",13),e.BQk(),e.ynx(50,25),e.YNc(51,Ku,2,0,"th",10),e.YNc(52,Qu,2,1,"td",13),e.BQk(),e.ynx(53,26),e.YNc(54,Ju,2,0,"th",10),e.YNc(55,wd,2,1,"td",13),e.BQk(),e.ynx(56,27),e.YNc(57,C
1d,2,0,"th",10),e.YNc(58,fl,2,1,"td",13),e.BQk(),e.ynx(59,28),e.YNc(60,lc,2,0,"th",10),e.YNc(61,bs,2,1,"td",13),e.BQk(),e.ynx(62,29),e.YNc(63,qu,2,0,"th",10),e.YNc(64,Xu,2,1,"td",13),e.BQk(),e.ynx(65,30),e.YNc(66,Sf,2,0,"th",10),e.YNc(67,eh,2,1,"td",13),e.BQk(),e.ynx(68,31),e.YNc(69,cc,2,0,"th",10),e.YNc(70,th,2,1,"td",13),e.BQk(),e.ynx(71,32),e.YNc(72,Dd,2,0,"th",19),e.YNc(73,pl,3,4,"td",13),e.BQk(),e.ynx(74,33),e.YNc(75,dc,2,0,"th",19),e.YNc(76,Ed,3,4,"td",13),e.BQk(),e.ynx(77,34),e.YNc(78,Ad,8,2,"th",35),e.YNc(79,nh,15,4,"td",36),e.BQk(),e.ynx(80,37),e.YNc(81,ih,2,1,"td",38),e.BQk(),e.ynx(82,39),e.YNc(83,rh,2,1,"td",40),e.BQk(),e.YNc(84,oh,1,0,"tr",41),e.YNc(85,ah,1,0,"tr",42),e.YNc(86,Ga,1,1,"tr",43),e.qZA(),e._UZ(87,"mat-paginator",44),e.qZA()),2&r&&(e.xp6(4),e.Q6J("value",c.persistedFilter),e.xp6(4),e.Q6J("ngIf",c.persistedFilter),e.xp6(1),e.Q6J("routerLink",e.DdM(11,ks))("matTooltip","Nov\xe9 darov\xe1n\xed"),e.xp6(4),e.Q6J("dataSource",c.dataSource)("matSortActive",c.persistedSort)("matSortDirection",c.persistedSortDirection),e.xp6(71),e.Q6J("matHeaderRowDef",c.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",c.displayedColumns),e.xp6(1),e.Q6J("matFooterRowDef",c.dataLoading?e.DdM(12,sh):c.showNoRecords()?e.DdM(13,lh):e.DdM(14,ch)),e.xp6(1),e.Q6J("length",c.dataLength))},dependencies:[a.sg,a.O5,ti.rH,gi.RK,gi.EX,Zt.Hw,$i.d,I,Ee,ui,gt,J,ao,Pe,vi,qt,Tn,wn,$o,_r,Bo,qr,rd,Gl,qc,Wn.VK,Wn.OP,Wn.p6,dl,sa.Ou,Ns.NW,$s.gM,be.KE,be.hX,be.qo,be.R9,vt.Nt,a.uU]})}var dh=f(6832);class Za{constructor(d){this.backendService=d}getDonors(d={},r=null){return this.backendService.get("/donor/",{params:{...d,order:r}})}getDonor(d){return this.backendService.get(`/donor/${d}`)}addDonor(d){return this.backendService.post("/donor",d)}updateDonor(d,r){return this.backendService.put(`/donor/${d}`,r)}deleteDonor(d){return this.backendService.delete(`/donor/${d}`)}static#e=this.\u0275fac=function(r){return new(r||Za)(e.LFG(dh.v))};static#t=this.\u0275prov=e.Yz7({token:Za,factory:Za.\u0275fac,providedIn:"root"})}const Sd=["searchInput"];function uh(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"button",38),e.NdJ("click",function(){e.CHM(r);const D=e.oxw();return D.clearFilter(D.paginator),e.KtG(D.fetchData())}),e.TgZ(1,"mat-icon"),e._uU(2,"close"),e.qZA()()}}function hh(h,d){1&h&&(e.TgZ(0,"th",39),e._uU(1," ID "),e.qZA())}function mh(h,d){if(1&h&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.id," ")}}function fh(h,d){1&h&&(e.TgZ(0,"th",39),e._uU(1," Jm\xe9no a p\u0159\xedjmen\xed "),e.qZA())}function _l(h,d){if(1&h&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.name," ")}}function Wa(h,d){1&h&&(e.TgZ(0,"th",39),e._uU(1," E-mail "),e.qZA())}function Vs(h,d){if(1&h&&(e.TgZ(0,"td",40)(1,"a",41),e._uU(2),e.qZA()()),2&h){const r=d.$implicit;e.xp6(1),e.Q6J("href","mailto:"+r.email,e.LSH),e.xp6(1),e.Oqu(r.email)}}function kd(h,d){1&h&&(e.TgZ(0,"th",39),e._uU(1," Telefon "),e.qZA())}function Td(h,d){if(1&h&&(e.TgZ(0,"td",40)(1,"a",41),e._uU(2),e.qZA()()),2&h){const r=d.$implicit;e.xp6(1),e.Q6J("href","tel:"+r.phone,e.LSH),e.xp6(1),e.Oqu(r.phone)}}function Id(h,d){1&h&&(e.TgZ(0,"th",42),e._uU(1," Datum narozen\xed "),e.qZA())}function kf(h,d){if(1&h&&(e.TgZ(0,"td",40),e._uU(1),e.ALo(2,"date"),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,r.birthDate,"shortDate")," ")}}function Tf(h,d){1&h&&(e.TgZ(0,"th",39),e._uU(1," M\u011bsto "),e.qZA())}function If(h,d){if(1&h&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.city," ")}}function uc(h,d){1&h&&(e.TgZ(0,"th",39),e._uU(1," Ulice "),e.qZA())}function hc(h,d){if(1&h&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.street," ")}}function Of(h,d){1&h&&(e.TgZ(0,"th",39),e._uU(1," PS\u010c "),e.qZA())}function Rf(h,d){if(1&h&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.zip," ")}}function Od(h,d){1&h&&(e.TgZ(0,"th",39),e._uU(1," Firma "),e.qZA())}function ph(h,d){if(1&h&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.company," ")}}function gh(h,d){1&h&&(e.TgZ(0,"th",39),e._uU(1," I\u010cO "),e.qZA())}function _h(h,d){if(1&h&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.companyIn," ")}}function bh(h,d){1&h&&(e.TgZ(0,"th",39),e._uU(1," Firma (m\u011bsto) "),e.qZA())}function Rd(h,d){if(1&h&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.companyCity," ")}}function bl(h,d){1&h&&(e.TgZ(0,"th",39),e._uU(1," Firma (ulice) "),e.qZA())}function Pd(h,d){if(1&h&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.companyStreet," ")}}function mc(h,d){1&h&&(e.TgZ(0,"th",39),e._uU(1," Firma (PS\u010c) "),e.qZA())}function vh(h,d){if(1&h&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",r.companyZip," ")}}function Yr(h,d){1&h&&(e.TgZ(0,"th",42),e._uU(1," Upraveno "),e.qZA())}function Fd(h,d){if(1&h&&(e.TgZ(0,"td",40),e._uU(1),e.ALo(2,"date"),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,r.updatedAt,"short")," ")}}function yh(h,d){1&h&&(e.TgZ(0,"th",42),e._uU(1," Vytvo\u0159eno "),e.qZA())}function fc(h,d){if(1&h&&(e.TgZ(0,"td",40),e._uU(1),e.ALo(2,"date"),e.qZA()),2&h){const r=d.$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,r.createdAt,"short")," ")}}
1function Nd(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"mat-checkbox",49),e.NdJ("click",function(D){const We=e.CHM(r).$implicit,yt=e.oxw(2);return e.KtG(yt.toggleColumn(D,We))}),e._uU(1),e.qZA()}if(2&h){const r=d.$implicit,c=e.oxw(2);e.Q6J("checked",c.displayedColumns.includes(r)),e.xp6(1),e.hij(" ",c.translateColumn(r)," ")}}function xh(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"th",43)(1,"a",44)(2,"button",45)(3,"mat-icon"),e._uU(4,"settings"),e.qZA()()(),e.TgZ(5,"mat-menu",46,47),e.NdJ("close",function(){e.CHM(r);const D=e.oxw();return e.KtG(D.updateDisplayedColumns())}),e.YNc(7,Nd,2,2,"mat-checkbox",48),e.qZA()()}if(2&h){const r=e.MAs(6),c=e.oxw();e.xp6(1),e.Q6J("matMenuTriggerFor",r),e.xp6(6),e.Q6J("ngForOf",c.allColumns)}}const wh=function(h){return["/admin/donors/edit",h]};function Ch(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"td",50)(1,"button",51)(2,"mat-icon"),e._uU(3,"more_horiz"),e.qZA()(),e.TgZ(4,"mat-menu",null,47)(6,"a",52)(7,"mat-icon",53),e._uU(8,"edit"),e.qZA(),e._uU(9," Upravit "),e.qZA(),e._UZ(10,"mat-divider"),e.TgZ(11,"button",54),e.NdJ("click",function(){const U=e.CHM(r).$implicit,We=e.oxw();return e.KtG(We.showDeleteDonorDialog(U.id))}),e.TgZ(12,"mat-icon",55),e._uU(13,"delete"),e.qZA(),e._uU(14," Smazat "),e.qZA()()()}if(2&h){const r=d.$implicit,c=e.MAs(5);
1e.xp6(1),e.Q6J("matMenuTriggerFor",c),e.xp6(5),e.Q6J("routerLink",e.VKq(2,wh,r.id))}}function Dh(h,d){if(1&h&&(e.TgZ(0,"td",56),e._uU(1," \u017d\xe1dn\xe1 data "),e.qZA()),2&h){const r=e.oxw();e.Q6J("colSpan",r.displayedColumns.length)}}function Ld(h,d){if(1&h&&(e.TgZ(0,"td",57),e._UZ(1,"mat-spinner",58),e.qZA()),2&h){const r=e.oxw();e.Q6J("colSpan",r.displayedColumns.length)}}function Pf(h,d){1&h&&e._UZ(0,"tr",59)}function Ff(h,d){1&h&&e._UZ(0,"tr",60)}function Us(h,d){if(1&h&&e._UZ(0,"tr",61),2&h){const r=e.oxw();e.Q6J("hidden",!(r.dataLoading||r.showNoRecords()))}}const pc=function(){return["/admin/donors/new"]},$d=function(){return["loading"]},Bd=function(){return["noRecords"]},Vd=function(){return[]};class vl extends Ta{constructor(d,r,c){super(d),this.injector=d,this.donorApiService=r,this.dialog=c,this.componentName="DonorsComponent",this.allColumns=["id","name","email","phone","birthDate","city","street","zip","company","companyIn","companyCity","companyStreet","companyZip","updatedAt","createdAt"],this.dataSource=new Vo([]),this.displayedColumns.length||(this.displayedColumns=["id","name","email","phone","company","updatedAt","createdAt","actions"])}ngOnDestroy(){this.onDestroy.next(),this.onDestroy.complete()}fetchData(d=!0){var r=()=>super.getBasicFilter,c=this;return(0,Kn.Z)(function*(){let D;d&&(c.dataSource.data=[],c.dataLoading=!0),c.sort.active&&(c.sortValue={active:c.sort.active,direction:c.sort.direction});try{D=yield c.donorApiService.getDonors(r().call(c,c.paginator,c.persistedFilter),c.sortValue?`${c.sortValue.active} ${c.sortValue.direction}`:null),(0,cl.v)(D.data,c.dataSource.data)||(c.dataSource.data=D.data,c.dataLength=D.count)}catch(U){console.error(U)}finally{c.dataLoading=!1}})()}ngAfterViewInit(){var d=this;return(0,Kn.Z)(function*(){yield d.fetchData(),d.paginator.page.subscribe(()=>{d.fetchData()}),(0,Ue.R)(d.searchInput.nativeElement,"keyup").pipe((0,Wr.b)(1e3)).subscribe(()=>{d.applyFilter(d.searchInput.nativeElement.value,d.paginator),d.fetchData()}),d.sort.sortChange.subscribe(r=>{d.sortValue=r,d.fetchData(!1)})})()}showNoRecords(){return 0===this.dataSource.filteredData?.length}showDeleteDonorDialog(d){var r=this;this.lastId=d,this.dialog.open(ps,{data:{action:this.deleteDonor,context:this,warning:"Budou smaz\xe1ny i v\u0161echny dary tohoto u\u017eivatele."}}).afterClosed().subscribe(function(){var c=(0,Kn.Z)(function*(D){"success"===D&&(yield r.fetchData())});return function(D){return c.apply(this,arguments)}}())}deleteDonor(d){return(0,Kn.Z)(function*(){yield d.donorApiService.deleteDonor(d.lastId)})()}static#e=this.\u0275fac=function(r){return new(r||vl)(e.Y36(e.zs3),e.Y36(Za),e.Y36(Ot.uw))};static#t=this.\u0275cmp=e.Xpm({type:vl,selectors:[["sv-admin-donors"]],viewQuery:function(r,c){if(1&r&&(e.Gf(Sd,5),e.Gf(Ns.NW,5),e.Gf(qr,5)),2&r){let D;e.iGM(D=e.CRH())&&(c.searchInput=D.first),e.iGM(D=e.CRH())&&(c.paginator=D.first),e.iGM(D=e.CRH())&&(c.sort=D.first)}},features:[e.qOj],decls:71,vars:15,consts:[[1,"flex","justify-between","mb-1"],["appearance","outline"],["matInput","",3,"value"],["searchInput",""],["matPrefix",""],["matSuffix","","mat-icon-button","",3,"click",4,"ngIf"],["mat-fab","","color","primary",1,"text-white",3,"routerLink","matTooltip"],[1,"mat-elevation-z8","data-table"],["mat-table","","matSort","","cdkDropList","","cdkDropListOrientation","horizontal",3,"dataSource","matSortActive","matSortDirection","cdkDropListDropped","matSortChange"],["matColumnDef","id"],["cdkDrag","","mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","email"],["matColumnDef","phone"],["matColumnDef","birthDate"],["mat-header-cell","","cdkDrag","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","city"],["matColumnDef","street"],["matColumnDef","zip"],["matColumnDef","company"],["matColumnDef","companyIn"],["matColumnDef","companyCity"],["matColumnDef","companyStreet"],["matColumnDef","companyZip"],["matColumnDef","updatedAt"],["matColumnDef","createdAt"],["matColumnDef","actions"],["mat-header-cell","","class","text-right",4,"matHeaderCellDef"],["mat-cell","","class","text-right",4,"matCellDef"],["matColumnDef","noRecords"],["style","text-align: center","mat-footer-cell","",3,"colSpan",4,"matFooterCellDef"],["matColumnDef","loading"],["mat-footer-cell","",3,"colSpan",4,"matFooterCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-footer-row","",3,"hidden",4,"matFooterRowDef"],["showFirstLastButtons","","pageSize","50",3,"length"],["matSuffix","","mat-icon-button","",3,"click"],["cdkDrag","","mat-header-cell","","mat-sort-header",""],["mat-cell",""],[1,"text-blue-600",3,"href"],["mat-header-cell","","cdkDrag","","mat-sort-header",""],["mat-header-cell","",1,"text-right"],[3,"matMenuTriggerFor"],["mat-icon-button",""],[1,"columns-menu",3,"close"],["menu","matMenu"],[3,"checked","click",4,"ngFor","ngForOf"],[3,"checked","click"],["mat-cell","",1,"text-right"],["mat-icon-button","","matTooltip","Akce",3,"matMenuTriggerFor"],["mat-menu-item","",3,"routerLink"],["color","primary"],["mat-menu-item","",3,"click"],["color","warn"],["mat-footer-cell","",2,"text-align","center",3,"colSpan"],["mat-footer-cell","",3,"colSpan"],["diameter","16",2,"margin-left","auto","margin-right","auto"],["mat-header-row",""],["mat-row",""],["mat-footer-row","",3,"hidden"]],template:function(r,c){1&r&&(e.TgZ(0,"div")(1,"div",0)(2,"mat-form-field",1)(3,"mat-label"),e._uU(4,"Hledat..."),e.qZA(),e._UZ(5,"input",2,3),e.TgZ(7,"mat-icon",4),e._uU(8,"search"),e.qZA(),e.YNc(9,uh,3,0,"button",5),e.qZA(),e.TgZ(10,"a",6)(11,"mat-icon"),e._uU(12,"add"),e.qZA()()(),e.TgZ(13,"div",7)(14,"table",8),e.NdJ("cdkDropListDropped",function(U){return c.dropColumn(U)})("matSortChange",function(U){return c.onSortChanged(U)}),e.ynx(15,9),e.YNc(16,hh,2,0,"th",10),e.YNc(17,mh,2,1,"td",11),e.BQk(),e.ynx(18,12),e.YNc(19,fh,2,0,"th",10),e.YNc(20,_l,2,1,"td",11),e.BQk(),e.ynx(21,13),e.YNc(22,Wa,2,0,"th",10),e.YNc(23,Vs,3,2,"td",11),e.BQk(),e.ynx(24,14),e.YNc(25,kd,2,0,"th",10),e.YNc(26,Td,3,2,"td",11),e.BQk(),e.ynx(27,15),e.YNc(28,Id,2,0,"th",16),e.YNc(29,kf,3,4,"td",11),e.BQk(),e.ynx(30,17),e.YNc(31,Tf,2,0,"th",10),e.YNc(32,If,2,1,"td",11),e.BQk(),e.ynx(33,18),e.YNc(34,uc,2,0,"th",10),e.YNc(35,hc,2,1,"td",11),e.BQk(),e.ynx(36,19),e.YNc(37,Of,2,0,"th",10),e.YNc(38,Rf,2,1,"td",11),e.BQk(),e.ynx(39,20),e.YNc(40,Od,2,0,"th",10),e.YNc(41,ph,2,1,"td",11),e.BQk(),e.ynx(42,21),e.YNc(43,gh,2,0,"th",10),e.YNc(44,_h,2,1,"td",11),e.BQk(),e.ynx(45,22),e.YNc(46,bh,2,0,"th",10),e.YNc(47,Rd,2,1,"td",11),e.BQk(),e.ynx(48,23),e.YNc(49,bl,2,0,"th",10),e.YNc(50,Pd,2,1,"td",11),e.BQk(),e.ynx(51,24),e.YNc(52,mc,2,0,"th",10),e.YNc(53,vh,2,1,"td",11),e.BQk(),e.ynx(54,25),e.YNc(55,Yr,2,0,"th",16),e.YNc(56,Fd,3,4,"td",11),e.BQk(),e.ynx(57,26),e.YNc(58,yh,2,0,"th",16),e.YNc(59,fc,3,4,"td",11),e.BQk(),e.ynx(60,27),e.YNc(61,xh,8,2,"th",28),e.YNc(62,Ch,15,4,"td",29),e.BQk(),e.ynx(63,30),e.YNc(64,Dh,2,1,"td",31),e.BQk(),e.ynx(65,32),e.YNc(66,Ld,2,1,"td",33),e.BQk(),e.YNc(67,Pf,1,0,"tr",34),e.YNc(68,Ff,1,0,"tr",35),e.YNc(69,Us,1,1,"tr",36),e.qZA(),e._UZ(70,"mat-paginator",37),e.qZA()()),2&r&&(e.xp6(5),e.Q6J("value",c.persistedFilter),e.xp6(4),e.Q6J("ngIf",c.persistedFilter),e.xp6(1),e.Q6J("routerLink",e.DdM(11,pc))("matTooltip","Nov\xfd u\u017eivatel"),e.xp6(4),e.Q6J("dataSource",c.dataSource)("matSortActive",c.persistedSort)("matSortDirection",c.persistedSortDirection),e.xp6(
153),e.Q6J("matHeaderRowDef",c.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",c.displayedColumns),e.xp6(1),e.Q6J("matFooterRowDef",c.dataLoading?e.DdM(12,$d):c.showNoRecords()?e.DdM(13,Bd):e.DdM(14,Vd)),e.xp6(1),e.Q6J("length",c.dataLength))},dependencies:[a.sg,a.O5,ti.rH,gi.RK,gi.EX,Zt.Hw,$i.d,I,Ee,ui,gt,J,ao,Pe,vi,qt,Tn,wn,$o,_r,Bo,qr,rd,Gl,qc,Wn.VK,Wn.OP,Wn.p6,dl,sa.Ou,Ns.NW,$s.gM,be.KE,be.hX,be.qo,be.R9,vt.Nt,a.uU]})}var Ud=f(9956);function Hd(h,d){if(1&h&&(e.ynx(0),e.TgZ(1,"a",3)(2,"mat-icon"),e._uU(3),e.qZA(),e._uU(4),e.qZA(),e.TgZ(5,"span",4),e._uU(6,"/"),e.qZA(),e.BQk()),2&h){const r=e.oxw().$implicit;e.xp6(1),e.Q6J("routerLink",r.path),e.xp6(2),e.Oqu(r.icon),e.xp6(1),e.hij(" ",r.label," ")}}function jd(h,d){if(1&h&&(e.ynx(0),e.TgZ(1,"span",5),e._uU(2),e.qZA(),e.BQk()),2&h){const r=e.oxw().$implicit;e.xp6(2),e.Oqu(r.label)}}function gc(h,d){if(1&h&&(e.TgZ(0,"span"),e.YNc(1,Hd,7,3,"ng-container",2),e.YNc(2,jd,3,1,"ng-container",2),e.qZA()),2&h){const r=d.index,c=e.oxw();e.xp6(1),e.Q6J("ngIf",r+1<c.breadcrumbItems.length),e.xp6(1),e.Q6J("ngIf",r+1===c.breadcrumbItems.length)}}class Ts{constructor(d,r){this.route=d,this.router=r,this.breadcrumbItems=[],this._breadcrumbItems=[]}ngOnInit(){for(const d of this.route.pathFromRoot)if(d.snapshot.data.breadcrumb){let r="";for(const[c,D]of d.snapshot.url.entries())r+=1===d.snapshot.url.length?`/${D.path}`:c+1<d.snapshot.url.length?D.path:`/${D.path}`;this.breadcrumbItems.push("primary"===d.snapshot.outlet?{path:r,label:d.snapshot.data.breadcrumb.label,icon:d.snapshot.data.breadcrumb.icon}:{path:r,label:d.snapshot.data.breadcrumb.label,icon:d.snapshot.data.breadcrumb.icon,outlet:d.snapshot.outlet})}this.prepareItemsToRender(),this.breadcrumbItems=[...new Map(this.breadcrumbItems.map(d=>[d.path,d])).values()]}prepareItemsToRender(){this._breadcrumbItems=JSON.parse(JSON.stringify(this.breadcrumbItems));for(const[d,r]of this.breadcrumbItems.entries())if(r.outlet){const c=this.getPreviousPaths(d),D=r.path.split("/");r.path=this.router.createUrlTree([c.join(""),{outlets:{[r.outlet]:D}}]).toString()}else if(0===d)r.path=this.router.createUrlTree([r.path]).toString();else{const c=this.getPreviousPaths(d);c.push(r.path),r.path=this.router.createUrlTree([c.join("")]).toString()}}getPreviousPaths(d){const r=[];for(const[c,D]of this._breadcrumbItems.entries())c<d&&r.push(D.path);return r}static#e=this.\u0275fac=function(r){return new(r||Ts)(e.Y36(ti.gz),e.Y36(ti.F0))};static#t=this.\u0275cmp=e.Xpm({type:Ts,selectors:[["app-breadcrumbs"]],decls:2,vars:1,consts:[[1,"breadcrumbs-wrapper","text-center-phone"],[4,"ngFor","ngForOf"],[4,"ngIf"],["mat-button","",1,"text-decoration-none",3,"routerLink"],[1,"delimiter"],[1,"ml-1"]],template:function(r,c){1&r&&(e.TgZ(0,"div",0),e.YNc(1,gc,3,2,"span",1),e.qZA()),2&r&&(e.xp6(1),e.Q6J("ngForOf",c.breadcrumbItems))},dependencies:[a.sg,a.O5,ti.rH,Zt.Hw,gi.zs]})}function _c(h,d){1&h&&(e.TgZ(0,"mat-error"),e._uU(1," E-mail nen\xed validn\xed "),e.qZA())}function Eh(h,d){1&h&&(e.TgZ(0,"mat-error"),e._uU(1," Povinn\xe1 polo\u017eka "),e.qZA())}function bc(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._UZ(1,"mat-spinner",25),e.qZA())}function zd(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._UZ(1,"mat-spinner",25),e.qZA())}function Yd(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._uU(1,"edit"),e.qZA())}function ys(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._UZ(1,"mat-spinner",25),e.qZA())}function Mh(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._uU(1,"delete"),e.qZA())}const vc=function(){return["cz","sk"]};class xs extends Ta{constructor(d,r,c,D,U,We){super(c),this.donorApiService=d,this.aresApiService=r,this.injector=c,this.dialog=D,this.route=U,this.notificationService=We,this.componentName="DonorEditComponent",this.nameFormControl=new fe.p4("",[]),this.emailFormControl=new fe.p4({value:"",disabled:!0},[fe.kI.email,fe.kI.required]),this.phoneFormControl=new fe.p4("",[]),this.birthDateFormControl=new fe.p4(void 0,[]),this.streetFormControl=new fe.p4("",[]),this.cityFormControl=new fe.p4("",[]),this.zipFormControl=new fe.p4("",[]),this.companyInFormControl=new fe.p4("",[]),this.companyFormControl=new fe.p4("",[]),this.companyCityFormControl=new fe.p4("",[]),this.companyStreetFormControl=new fe.p4("",[]),this.companyZipFormControl=new fe.p4("",[]),this.aresLoading=!1,this.editDonorForm=new fe.nJ({name:this.nameFormControl,birthDate:this.birthDateFormControl,city:this.cityFormControl,street:this.streetFormControl,zip:this.zipFormControl,phone:this.phoneFormControl,email:this.emailFormControl,companyIn:this.companyInFormControl,company:this.companyFormControl,companyCity:this.companyCityFormControl,companyStreet:this.companyStreetFormControl,companyZip:this.companyZipFormControl}
1),this.donor=this.route.snapshot.data.donorDetail,this.editDonorForm.patchValue(this.donor)}onEditDonor(){var d=this;return(0,Kn.Z)(function*(){const r=d.route.snapshot.params.id;if(d.editDonorForm.valid){d.loading=!0;try{yield d.donorApiService.updateDonor(r,d.editDonorForm.value),d.notificationService.showSuccessMessage("D\xe1rce byl upraven"),d.goBack()}catch(c){console.error(c),d.notificationService.showErrorMessage("Chyba p\u0159i \xfaprav\u011b d\xe1rce, zkuste to znovu")}finally{d.loading=!1}}})()}onLoadAresValues(){var d=this;return(0,Kn.Z)(function*(){d.aresLoading=!0,yield(0,cl.e)(d.notificationService,d.editDonorForm,d.aresApiService),d.aresLoading=!1})()}showDeleteDonorDialog(){this.dialog.open(ps,{data:{action:this.deleteDonor,context:this,warning:"Budou smaz\xe1ny i v\u0161echny dary tohoto u\u017eivatele."}}).afterClosed().subscribe(d=>{"success"===d&&this.goBack()})}deleteDonor(d){return(0,Kn.Z)(function*(){yield d.donorApiService.deleteDonor(d.donor.id)})()}static#e=this.\u0275fac=function(r){return new(r||xs)(e.Y36(Za),e.Y36(Ud.I),e.Y36(e.zs3),e.Y36(Ot.uw),e.Y36(ti.gz),e.Y36(As.s))};static#t=this.\u0275cmp=e.Xpm({type:xs,selectors:[["sv-admin-donor-edit"]],features:[e.qOj],decls:81,vars:30,consts:[[3,"formGroup","ngSubmit"],[1,"form-fieldset","mt-1"],[1,"grid","grid-cols-2","gap-x-1"],["appearance","outline"],["maxlength","255","id","name","type","text","matInput","",3,"formControl"],["maxlength","255","type","email","matInput","","placeholder","[email protected]",3,"formControl"],[4,"ngIf"],["matPrefix","",3,"selectorFor","preferredCountries"],["id","phone",3,"formControl"],["input",""],["matInput","",3,"readonly","formControl","matDatepicker","click"],["matIconSuffix","",3,"for"],[3,"touchUi"],["picker",""],["appearance","outline",1,"w-full"],["type","text","matInput","","maxlength","100",3,"formControl"],["type","text","matInput","","maxlength","10",3,"formControl"],[1,"form-fieldset","mt-2"],["type","text","matInput","","maxlength","50",3,"formControl"],["matSuffix","","mat-flat-button","","color","primary","type","button",1,"text-white",2,"height","55px",3,"disabled","click"],["type","text","matInput","","maxlength","255",3,"formControl"],[1,"mt-2"],["mat-stroked-button","",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"mr-1","text-white",3,"disabled"],["type","button","mat-flat-button","","color","warn",1,"mr-1",3,"disabled","click"],["diameter","18"]],template:function(r,c){if(1&r){const D=e.EpF();e._UZ(0,"app-breadcrumbs"),e.TgZ(1,"form",0),e.NdJ("ngSubmit",function(){return c.onEditDonor()}),e.TgZ(2,"fieldset",1)(3,"legend"),e._uU(4,"Osobn\xed \xfadaje"),e.qZA(),e.TgZ(5,"div",2)(6,"mat-form-field",3)(7,"mat-label"),e._uU(8,"Jm\xe9no a p\u0159\xedjmen\xed"),e.qZA(),e._UZ(9,"input",4),e.qZA(),e.TgZ(10,"mat-form-field",3)(11,"mat-label"),e._uU(12,"E-mailov\xe1 adresa"),e.qZA(),e._UZ(13,"input",5),e.YNc(14,_c,2,0,"mat-error",6),e.YNc(15,Eh,2,0,"mat-error",6),e.qZA(),e.TgZ(16,"mat-form-field",3)(17,"mat-label"),e._uU(18,"Telefonn\xed \u010d\xedslo"),e.qZA(),e._UZ(19,"lac-mat-country-selector",7)(20,"lac-mat-tel-input",8,9),e.qZA(),e.TgZ(22,"mat-form-field",3)(23,"mat-label"),e._uU(24,"Datum narozen\xed"),e.qZA(),e.TgZ(25,"input",10),e.NdJ("click",function(){e.CHM(D);const We=e.MAs(28);return e.KtG(We.open())}),e.qZA(),e._UZ(26,"mat-datepicker-toggle",11)(27,"mat-datepicker",12,13),e.qZA(),e.TgZ(29,"mat-form-field",14)(30,"mat-label"),e._uU(31,"M\u011bsto"),e.qZA(),e._UZ(32,"input",15),e.qZA(),e.TgZ(33,"mat-form-field",14)(34,"mat-label"),e._uU(35,"Ulice"),e.qZA(),e._UZ(36,"input",15),e.qZA(),e.TgZ(37,"mat-form-field",14)(38,"mat-label"),e._uU(39,"PS\u010c"),e.qZA(),e._UZ(40,"input",16),e.qZA()()(),e.TgZ(41,"fieldset",17)(42,"legend"),e._uU(43,"Firemn\xed \xfadaje"),e.qZA(),e.TgZ(44,"div",2)(45,"mat-form-field",3)(46,"mat-label"),e._uU(47,"I\u010c firmy"),e.qZA(),e._UZ(48,"input",18),e.TgZ(49,"button",19),e.NdJ("click",function(){return c.onLoadAresValues()}),e.YNc(50,bc,2,0,"mat-icon",6),e._uU(51," Vyplnit z ARES "),e.qZA()(),e.TgZ(52,"mat-form-field",14)(53,"mat-label"),e._uU(54,"Firma"),e.qZA(),e._UZ(55,"input",20),e.qZA(),e.TgZ(56,"mat-form-field",3)(57,"mat-label"),e._uU(58,"M\u011bsto"),e.qZA(),e._UZ(59,"input",15),e.qZA(),e.TgZ(60,"mat-form-field",3)(61,"mat-label"),e._uU(62,"Ulice"),e.qZA(),e._UZ(63,"input",15),e.qZA(),e.TgZ(64,"mat-form-field",3)(65,"mat-label"),e._uU(66,"PS\u010c"),e.qZA(),e._UZ(67,"input",16),e.qZA()()(),e.TgZ(68,"div",21)(69,"a",22),e.NdJ("click",function(We){return We.preventDefault(),c.goBack()}),e.TgZ(70,"mat-icon"),e._uU(71,"close"),e.qZA(),e._uU(72," Zru\u0161it "),e.qZA(),e.TgZ(73,"button",23),e.YNc(74,zd,2,0,"mat-icon",6),e.YNc(75,Yd,2,0,"mat-icon",6),e._uU(76," Editovat u\u017eivatele "),e.qZA(),e.TgZ(77,"button",24),e.NdJ("click",function(){return c.showDeleteDonorDialog()}),e.YNc(78,ys,2,0,"mat-icon",6),e.YNc(79,Mh,2,0,"mat-icon",6),e._uU(80," Smazat "),e.qZA()()()}if(2&r){const D=e.MAs(21),U=e.MAs(28);e.xp6(1),e.Q6J("formGroup",c.editDonorForm),e.xp6(8),e.Q6J("formControl",c.nameFormControl),e.xp6(4),e.Q6J("formControl",c.emailFormControl),e.xp6(1),e.Q6J("ngIf",c.emailFormControl.hasError("email")),e.xp6(1),e.Q6J("ngIf",c.emailFormControl.hasError("required")),e.xp6(4),e.Q6J("selectorFor",D)("preferredCountries",e.DdM(29,vc)),e.xp6(1),e.Q6J("formControl",c.phoneFormControl),e.xp6(5),e.Q6J("readonly",!0)("formControl",c.birthDateFormControl)("matDatepicker",U),e.xp6(1),e.Q6J("for",U),e.xp6(1),e.Q6J("touchUi",!0),e.xp6(
15),e.Q6J("formControl",c.cityFormControl),e.xp6(4),e.Q6J("formControl",c.streetFormControl),e.xp6(4),e.Q6J("formControl",c.zipFormControl),e.xp6(8),e.Q6J("formControl",c.companyInFormControl),e.xp6(1),e.Q6J("disabled",c.aresLoading),e.xp6(1),e.Q6J("ngIf",c.aresLoading),e.xp6(5),e.Q6J("formControl",c.companyFormControl),e.xp6(4),e.Q6J("formControl",c.companyCityFormControl),e.xp6(4),e.Q6J("formControl",c.companyStreetFormControl),e.xp6(4),e.Q6J("formControl",c.companyZipFormControl),e.xp6(6),e.Q6J("disabled",c.loading||!c.editDonorForm.valid),e.xp6(1),e.Q6J("ngIf",c.loading),e.xp6(1),e.Q6J("ngIf",!c.loading),e.xp6(2),e.Q6J("disabled",c.loading),e.xp6(1),e.Q6J("ngIf",c.loading),e.xp6(1),e.Q6J("ngIf",!c.loading)}},dependencies:[a.O5,C.Mq,C.hl,C.nW,On.Ez,On.Il,gi.zs,gi.lW,Zt.Hw,Ts,sa.Ou,fe._Y,fe.Fj,fe.JJ,fe.JL,fe.nD,fe.oH,fe.sg,be.KE,be.hX,be.TO,be.qo,be.R9,vt.Nt]})}var Ah=f(262);class ws{constructor(d,r){this.donorApiService=d,this.notificationService=r}resolve(d){return(0,Sn.D)(this.donorApiService.getDonor(d.params.id)).pipe((0,Ah.K)(r=>{throw this.notificationService.showErrorMessage("U\u017eivatel nenalezen nebo nastala chyba"),r}))}static#e=this.\u0275fac=function(r){return new(r||ws)(e.LFG(Za),e.LFG(As.s))};static#t=this.\u0275prov=e.Yz7({token:ws,factory:ws.\u0275fac,providedIn:"root"})}function yl(h,d){1&h&&(e.TgZ(0,"mat-error"),e._uU(1," E-mail nen\xed validn\xed "),e.qZA())}function Cs(h,d){1&h&&(e.TgZ(0,"mat-error"),e._uU(1," Povinn\xe1 polo\u017eka "),e.qZA())}function Gd(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._UZ(1,"mat-spinner",24),e.qZA())}function yc(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._UZ(1,"mat-spinner",24),e.qZA())}function Sh(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._uU(1,"edit"),e.qZA())}const kh=function(){return["cz","sk"]};class Hs extends Ta{constructor(d,r,c,D){super(c),this.donorApiService=d,this.aresApiService=r,this.injector=c,this.notificationService=D,this.componentName="DonorNewComponent",this.nameFormControl=new fe.p4("",[]),this.emailFormControl=new fe.p4("",[fe.kI.email,fe.kI.required]),this.phoneFormControl=new fe.p4("",[]),this.birthDateFormControl=new fe.p4(void 0,[]),this.streetFormControl=new fe.p4("",[]),this.cityFormControl=new fe.p4("",[]),this.zipFormControl=new fe.p4("",[]),this.companyInFormControl=new fe.p4("",[]),this.companyFormControl=new fe.p4("",[]),this.companyCityFormControl=new fe.p4("",[]),this.companyStreetFormControl=new fe.p4("",[]),this.companyZipFormControl=new fe.p4("",[]),this.aresLoading=!1,this.newDonorForm=new fe.nJ({name:this.nameFormControl,birthDate:this.birthDateFormControl,city:this.cityFormControl,street:this.streetFormControl,zip:this.zipFormControl,phone:this.phoneFormControl,email:this.emailFormControl,companyIn:this.companyInFormControl,company:this.companyFormControl,companyCity:this.companyCityFormControl,companyStreet:this.companyStreetFormControl,companyZip:this.companyZipFormControl})}onNewDonor(){var d=this;return(0,Kn.Z)(function*(){if(d.newDonorForm.valid){d.loading=!0;try{yield d.donorApiService.addDonor(d.newDonorForm.value),d.notificationService.showSuccessMessage("D\xe1rce byl vytvo\u0159en"),d.goBack()}catch(r){console.error(r),d.notificationService.showErrorMessage("Chyba p\u0159i vytv\xe1\u0159en\xed d\xe1rce, zkuste to znovu")}finally{d.loading=!1}}})()}onLoadAresValues(){var d=this;return(0,Kn.Z)(function*(){d.aresLoading=!0,yield(0,cl.e)(d.notificationService,d.newDonorForm,d.aresApiService),d.aresLoading=!1})()}static#e=this.\u0275fac=function(r){return new(r||Hs)(e.Y36(Za),e.Y36(Ud.I),e.Y36(e.zs3),e.Y36(As.s))};static#t=this.\u0275cmp=e.Xpm({type:Hs,selectors:[["sv-admin-donor-new"]],features:[e.qOj],decls:77,vars:27,consts:[[3,"formGroup","ngSubmit"],[1,"form-fieldset","mt-1"],[1,"grid","grid-cols-2","gap-x-1"],["appearance","outline"],["maxlength","255","id","name","type","text","matInput","",3,"formControl"],["maxlength","255","type","email","matInput","","placeholder","[email protected]",3,"formControl"],[4,"ngIf"],["matPrefix","",3,"selectorFor","preferredCountries"],["id","phone",3,"formControl"],["input",""],["matInput","",3,"readonly","formControl","matDatepicker","click"],["matIconSuffix","",3,"for"],[3,"touchUi"],["picker",""],["appearance","outline",1,"w-full"],["type","text","matInput","","maxlength","100",3,"formControl"],["type","text","matInput","","maxlength","10",3,"formControl"],[1,"form-fieldset","mt-2"],["type","text","matInput","","maxlength","50",3,"formControl"],["matSuffix","","mat-flat-button","","color","primary","type","button",1,"text-white",2,"height","55px",3,"disabled","click"],["type","text","matInput","","maxlength","255",3,"formControl"],[1,"mt-2"],["mat-stroked-button","",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"mr-1","text-white",3,"disabled"],["diameter","18"]],template:function(r,c){if(1&r){const D=e.EpF();e._UZ(0,"app-breadcrumbs"),e.TgZ(1,"form",0),e.NdJ("ngSubmit",function(){return c.onNewDonor()}),e.TgZ(2,"fieldset",1)(3,"legend"),e._uU(4,"Osobn\xed \xfadaje"),e.qZA(),e.TgZ(5,"div",2)(6,"mat-form-field",3)(7,"mat-label"),e._uU(8,"Jm\xe9no a p\u0159\xedjmen\xed"),e.qZA(),e._UZ(9,"
1input",4),e.qZA(),e.TgZ(10,"mat-form-field",3)(11,"mat-label"),e._uU(12,"E-mailov\xe1 adresa"),e.qZA(),e._UZ(13,"input",5),e.YNc(14,yl,2,0,"mat-error",6),e.YNc(15,Cs,2,0,"mat-error",6),e.qZA(),e.TgZ(16,"mat-form-field",3)(17,"mat-label"),e._uU(18,"Telefonn\xed \u010d\xedslo"),e.qZA(),e._UZ(19,"lac-mat-country-selector",7)(20,"lac-mat-tel-input",8,9),e.qZA(),e.TgZ(22,"mat-form-field",3)(23,"mat-label"),e._uU(24,"Datum narozen\xed"),e.qZA(),e.TgZ(25,"input",10),e.NdJ("click",function(){e.CHM(D);const We=e.MAs(28);return e.KtG(We.open())}),e.qZA(),e._UZ(26,"mat-datepicker-toggle",11)(27,"mat-datepicker",12,13),e.qZA(),e.TgZ(29,"mat-form-field",14)(30,"mat-label"),e._uU(31,"M\u011bsto"),e.qZA(),e._UZ(32,"input",15),e.qZA(),e.TgZ(33,"mat-form-field",14)(34,"mat-label"),e._uU(35,"Ulice"),e.qZA(),e._UZ(36,"input",15),e.qZA(),e.TgZ(37,"mat-form-field",14)(38,"mat-label"),e._uU(39,"PS\u010c"),e.qZA(),e._UZ(40,"input",16),e.qZA()()(),e.TgZ(41,"fieldset",17)(42,"legend"),e._uU(43,"Firemn\xed \xfadaje"),e.qZA(),e.TgZ(44,"div",2)(45,"mat-form-field",3)(46,"mat-label"),e._uU(47,"I\u010c firmy"),e.qZA(),e._UZ(48,"input",18),e.TgZ(49,"button",19),e.NdJ("click",function(){return c.onLoadAresValues()}),e.YNc(50,Gd,2,0,"mat-icon",6),e._uU(51," Vyplnit z ARES "),e.qZA()(),e.TgZ(52,"mat-form-field",14)(53,"mat-label"),e._uU(54,"Firma"),e.qZA(),e._UZ(55,"input",20),e.qZA(),e.TgZ(56,"mat-form-field",3)(57,"mat-label"),e._uU(58,"M\u011bsto"),e.qZA(),e._UZ(59,"input",15),e.qZA(),e.TgZ(60,"mat-form-field",3)(61,"mat-label"),e._uU(62,"Ulice"),e.qZA(),e._UZ(63,"input",15),e.qZA(),e.TgZ(64,"mat-form-field",3)(65,"mat-label"),e._uU(66,"PS\u010c"),e.qZA(),e._UZ(67,"input",16),e.qZA()()(),e.TgZ(68,"div",21)(69,"a",22),e.NdJ("click",function(We){return We.preventDefault(),c.goBack()}),e.TgZ(70,"mat-icon"),e._uU(71,"close"),e.qZA(),e._uU(72," Zru\u0161it "),e.qZA(),e.TgZ(73,"button",23),e.YNc(74,yc,2,0,"mat-icon",6),e.YNc(75,Sh,2,0,"mat-icon",6),e._uU(76," Vytvo\u0159it u\u017eivatele "),e.qZA()()()}if(2&r){const D=e.MAs(21),U=e.MAs(28);e.xp6(1),e.Q6J("formGroup",c.newDonorForm),e.xp6(8),e.Q6J("formControl",c.nameFormControl),e.xp6(4),e.Q6J("formControl",c.emailFormControl),e.xp6(1),e.Q6J("ngIf",c.emailFormControl.hasError("email")),e.xp6(1),e.Q6J("ngIf",c.emailFormControl.hasError("required")),e.xp6(4),e.Q6J("selectorFor",D)("preferredCountries",e.DdM(26,kh)),e.xp6(1),e.Q6J("formControl",c.phoneFormControl),e.xp6(5),e.Q6J("readonly",!0)("formControl",c.birthDateFormControl)("matDatepicker",U),e.xp6(1),e.Q6J("for",U),e.xp6(1),e.Q6J("touchUi",!0),e.xp6(5),e.Q6J("formControl",c.cityFormControl),e.xp6(4),e.Q6J("formControl",c.streetFormControl),e.xp6(4),e.Q6J("formControl",c.zipFormControl),e.xp6(8),e.Q6J("formControl",c.companyInFormControl),e.xp6(1),e.Q6J("disabled",c.aresLoading),e.xp6(1),e.Q6J("ngIf",c.aresLoading),e.xp6(5),e.Q6J("formControl",c.companyFormControl),e.xp6(4),e.Q6J("formControl",c.companyCityFormControl),e.xp6(4),e.Q6J("formControl",c.companyStreetFormControl),e.xp6(4),e.Q6J("formControl",c.companyZipFormControl),e.xp6(6),e.Q6J("disabled",c.loading||!c.newDonorForm.valid),e.xp6(1),e.Q6J("ngIf",c.loading),e.xp6(1),e.Q6J("ngIf",!c.loading)}},dependencies:[a.O5,C.Mq,C.hl,C.nW,On.Ez,On.Il,gi.zs,gi.lW,Zt.Hw,Ts,sa.Ou,fe._Y,fe.Fj,fe.JJ,fe.JL,fe.nD,fe.oH,fe.sg,be.KE,be.hX,be.TO,be.qo,be.R9,vt.Nt]})}var La=f(4385);function Th(h,d){if(1&h&&(e.TgZ(0,"a",27)(1,"mat-icon"),e._uU(2,"call"),e.qZA(),e._uU(3),e.qZA()),2&h){const r=e.oxw();e.Q6J("href","tel:"+r.donation.donor.phone,e.LSH),e.xp6(3),e.hij(" \xa0 ",r.donation.donor.phone," ")}}function Ih(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._UZ(1,"mat-spinner",28),e.qZA())}function Oh(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._uU(1,"edit"),e.qZA())}function xc(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._UZ(1,"mat-spinner",28),e.qZA())}function Rh(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._uU(1,"delete"),e.qZA())}const Zd=function(h){return["/admin/donors/edit",h]},Ph=function(h){return[h]};class js extends Ta{constructor(d,r,c,D,U){super(r),this.donationApiService=d,this.injector=r,this.dialog=c,this.route=D,this.notificationService=U,this.componentName="DonationEditComponent",this.recurringFormControl=new fe.NI(!1,[]),this.paidFormControl=new fe.NI(!1,[]),this.typeFormControl=new fe.p4("CASH",[]),this.priceFormControl=new fe.p4(0,[]),this.referenceNumberFormControl=new fe.p4("",[]),this.confirmedAtFormControl=new fe.p4(void 0,[]),this.aresLoading=!1,this.editDonationForm=new fe.nJ({recurring:this.recurringFormControl,type:this.t
1ypeFormControl,price:this.priceFormControl,paid:this.paidFormControl,referenceNumber:this.referenceNumberFormControl,confirmedAt:this.confirmedAtFormControl}),this.donation=this.route.snapshot.data.donationDetail,this.typeFormControl.valueChanges.subscribe(We=>{("CARD"===We||"TRANSFER"===We)&&(this.typeFormControl.disable({emitEvent:!1}),this.priceFormControl.disable(),this.recurringFormControl.disable(),this.paidFormControl.disable(),this.confirmedAtFormControl.disable()),"CARD"===We||"CASH"===We||"TRANSFER"===We?(this.referenceNumberFormControl.reset(),this.referenceNumberFormControl.disable()):this.referenceNumberFormControl.enable(),("TRANSFER"===We||"CASH"===We)&&(this.recurringFormControl.patchValue(!1),this.recurringFormControl.disable())}),this.editDonationForm.patchValue(this.donation)}onEditDonation(){var d=this;return(0,Kn.Z)(function*(){const r=d.route.snapshot.params.id;if(d.editDonationForm.valid){d.loading=!0;try{yield d.donationApiService.updateDonation(r,d.editDonationForm.value),d.notificationService.showSuccessMessage("Dar byl upraven"),d.goBack()}catch(c){console.error(c),d.notificationService.showErrorMessage("Chyba p\u0159i \xfaprav\u011b daru, zkuste to znovu")}finally{d.loading=!1}}})()}showDeleteDonationDialog(){this.dialog.open(ps,{data:{action:this.deleteDonor,context:this}}).afterClosed().subscribe(d=>{"success"===d&&this.goBack()})}deleteDonor(d){return(0,Kn.Z)(function*(){yield d.donationApiService.deleteDonation(d.donation.id)})()}static#e=this.\u0275fac=function(r){return new(r||js)(e.Y36(gs.Q),e.Y36(e.zs3),e.Y36(Ot.uw),e.Y36(ti.gz),e.Y36(As.s))};static#t=this.\u0275cmp=e.Xpm({type:js,selectors:[["sv-admin-donation-edit"]],features:[e.qOj],decls:79,vars:36,consts:[[3,"formGroup","ngSubmit"],[1,"form-fieldset","mt-1"],[1,"grid","grid-cols-2","gap-x-1"],["appearance","outline"],[3,"formControl"],[3,"value"],[3,"value","disabled"],["id","price","type","number","matInput","",3,"formControl"],["maxlength","255","id","referenceNumber","type","number","matInput","",3,"formControl"],["matInput","",3,"readonly","formControl","matDatepicker","click"],["matIconSuffix","",3,"for"],[3,"touchUi"],["picker",""],[1,"form-fieldset","mt-2"],[1,"flex","justify-between","items-center","ml-2","mr-2"],[1,"info"],[1,"font-bold","text-3xl","mb-1"],[1,"contact"],["class","inline-flex mr-1",3,"href",4,"ngIf"],[1,"inline-flex",3,"href"],["mat-flat-button","","color","primary",1,"text-white",3,"routerLink"],[1,"mt-2"],["mat-stroked-button","",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"mr-1","text-white",3,"disabled"],[4,"ngIf"],["mat-stroked-button","","type","button",1,"mr-1",3,"routerLink"],["type","button","mat-flat-button","","color","warn",1,"mr-1",3,"disabled","click"],[1,"inline-flex","mr-1",3,"href"],["diameter","18"]],template:function(r,c){if(1&r){const D=e.EpF();e._UZ(0,"app-breadcrumbs"),e.TgZ(1,"form",0),e.NdJ("ngSubmit",function(){return c.onEditDonation()}),e.TgZ(2,"fieldset",1)(3,"legend"),e._uU(4,"Informace o daru"),e.qZA(),e.TgZ(5,"div",2)(6,"mat-form-field",3)(7,"mat-label"),e._uU(8,"Frekvence"),e.qZA(),e.TgZ(9,"mat-select",4)(10,"mat-option",5),e._uU(11," M\u011bs\xed\u010dn\u011b "),e.qZA(),e.TgZ(12,"mat-option",5),e._uU(13," Jednor\xe1zov\u011b "),e.qZA()()(),e.TgZ(14,"mat-form-field",3)(15,"mat-label"),e._uU(16,"Forma platby"),e.qZA(),e.TgZ(17,"mat-select",4)(18,"mat-option",6),e._uU(19," Kartou "),e.qZA(),e.TgZ(20,"mat-option",5),e._uU(21," Hotov\u011b "),e.qZA(),e.TgZ(22,"mat-option",6),e._uU(23," P\u0159evodem "),e.qZA()()(),e.TgZ(24,"mat-form-field",3)(25,"mat-label"),e._uU(26,"\u010c\xe1stka"),e.qZA(),e._UZ(27,"input",7),e.qZA(),e.TgZ(28,"mat-form-field",3)(29,"mat-label"),e._uU(30,"Status"),e.qZA(),e.TgZ(31,"mat-select",4)(32,"mat-option",5),e._uU(33," Zaplaceno "),e.qZA(),e.TgZ(34,"mat-option",5),e._uU(35," Nezaplaceno "),e.qZA()()(),e.TgZ(36,"mat-form-field",3)(37,"mat-label"),e._uU(38,"Variabiln\xed symbol"),e.qZA(),e._UZ(39,"input",8),e.qZA(),e.TgZ(40,"mat-form-field",3)(41,"mat-label"),e._uU(42,"Datum potvrzen\xed"),e.qZA(),e.TgZ(43,"input",9),e.NdJ("click",function(){e.CHM(D);const We=e.MAs(46);return e.KtG(We.open())}),e.qZA(),e._UZ(44,"mat-datepicker-toggle",10)(45,"mat-datepicker",11,12),e.qZA()()(),e.TgZ(47,"fieldset",13)(48,"legend"),e._uU(49,"Informace o u\u017eivateli"),e.qZA(),e.TgZ(50,"div",14)(51,"div",15)(52,"h2",16),e._uU(53),e.qZA(),e.TgZ(54,"div",17),e.YNc(55,Th,4,2,"a",18),e.TgZ(56,"a",19)(57,"mat-icon"),e._uU(58,"mail"),e.qZA(),e._uU(59),e.qZA()()(),e.TgZ(60,"a",20),e._uU(61," Zobrazit "),e.qZA()()(),e.TgZ(62,"div",21)(63,"a",22),e.NdJ("click",function(We){return We.preventDefault(),c.goBack()}),e.TgZ(64,"mat-icon"),e._uU(65,"close"),e.qZA(),e._uU(66," Zru\u0161it "),e.qZA(),e.TgZ(67,"button",23),e.YNc(68,Ih,2,0,"mat-icon",24),e.YNc(69,Oh,2,0,"mat-icon",24),e._uU(70," Editovat darov\xe1n\xed "),e.qZA(),e.TgZ(71,"a",25)(72,"mat-icon"),e._uU(73,"print"),e.qZA(),e._uU(74," Tisk smlouvy "),e.qZA(),e.TgZ(75,"button",26),e.NdJ("click",function(){return c.showDeleteDonationDialog()}),e.YNc(76,xc,2,0,"mat-icon",24),e.YNc(77,Rh,2,0,"mat-icon",24),e._uU(78," Smazat "),e.qZA()()()}if(2&r){const D=e.MAs(46);e.xp6(1),e.Q6J("formGroup",c.editDonationForm),e.xp6(8),e.Q6J("formControl",c.recurringFormControl),e.xp6(1),e.Q6J("value",!0),e.xp6(2),e.Q6J("value",!1),e.xp6(
15),e.Q6J("formControl",c.typeFormControl),e.xp6(1),e.Q6J("value","CARD")("disabled",!0),e.xp6(2),e.Q6J("value","CASH"),e.xp6(2),e.Q6J("value","TRANSFER")("disabled",!0),e.xp6(5),e.Q6J("formControl",c.priceFormControl),e.xp6(4),e.Q6J("formControl",c.paidFormControl),e.xp6(1),e.Q6J("value",!0),e.xp6(2),e.Q6J("value",!1),e.xp6(5),e.Q6J("formControl",c.referenceNumberFormControl),e.xp6(4),e.Q6J("readonly",!0)("formControl",c.confirmedAtFormControl)("matDatepicker",D),e.xp6(1),e.Q6J("for",D),e.xp6(1),e.Q6J("touchUi",!0),e.xp6(8),e.Oqu(c.donation.donor.name),e.xp6(2),e.Q6J("ngIf",c.donation.donor.phone),e.xp6(1),e.Q6J("href","mailto:"+c.donation.donor.email,e.LSH),e.xp6(3),e.hij(" \xa0 ",c.donation.donor.email," "),e.xp6(1),e.Q6J("routerLink",e.VKq(32,Zd,c.donation.donor.id)),e.xp6(7),e.Q6J("disabled",c.loading||!c.editDonationForm.valid),e.xp6(1),e.Q6J("ngIf",c.loading),e.xp6(1),e.Q6J("ngIf",!c.loading),e.xp6(2),e.Q6J("routerLink",e.VKq(34,Ph,"/donation-confirmation/"+c.donation.id)),e.xp6(4),e.Q6J("disabled",c.loading),e.xp6(1),e.Q6J("ngIf",c.loading),e.xp6(1),e.Q6J("ngIf",!c.loading)}},dependencies:[a.O5,ti.rH,C.Mq,C.hl,C.nW,gi.zs,gi.lW,Zt.Hw,Ts,sa.Ou,fe._Y,fe.Fj,fe.wV,fe.JJ,fe.JL,fe.nD,fe.oH,fe.sg,be.KE,be.hX,be.R9,vt.Nt,La.gD,p.ey]})}var Nf=f(3432),Fh=f(1005);const zs=["searchSelectInput"],Nh=["innerSelectSearch"];function Is(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"mat-checkbox",9),e.NdJ("change",function(D){e.CHM(r);const U=e.oxw();return e.KtG(U._emitSelectAllBooleanToParent(D.checked))}),e.qZA()}if(2&h){const r=e.oxw();e.Q6J("color",null==r.matFormField?null:r.matFormField.color)("checked",r.toggleAllCheckboxChecked)("indeterminate",r.toggleAllCheckboxIndeterminate)("matTooltip",r.toggleAllCheckboxTooltipMessage)("matTooltipPosition",r.toggleAllCheckboxTooltipPosition)}}function Ys(h,d){1&h&&e._UZ(0,"mat-spinner",10)}function Lh(h,d){1&h&&e.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function Wd(h,d){if(1&h&&(e.TgZ(0,"mat-icon",14),e._uU(1),e.qZA()),2&h){const r=e.oxw(2);e.Q6J("svgIcon",r.closeSvgIcon),e.xp6(1),e.hij(" ",r.closeSvgIcon?null:r.closeIcon," ")}}function $h(h,d){if(1&h){const r=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){e.CHM(r);const D=e.oxw();return e.KtG(D._reset(!0))}),e.YNc(1,Lh,1,0,"ng-content",12),e.YNc(2,Wd,2,2,"ng-template",null,13,e.W1O),e.qZA()}if(2&h){const r=e.MAs(3),c=e.oxw();e.xp6(1),e.Q6J("ngIf",c.clearIcon)("ngIfElse",r)}}function Bh(h,d){1&h&&e.Hsn(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function Vh(h,d){if(1&h&&e._uU(0),2&h){const r=e.oxw(2);e.Oqu(r.noEntriesFoundLabel)}}function Kd(h,d){if(1&h&&(e.TgZ(0,"div",15),e.YNc(1,Bh,1,0,"ng-content",12),e.YNc(2,Vh,1,1,"ng-template",null,16,e.W1O),e.qZA()),2&h){const r=e.MAs(3),c=e.oxw();e.xp6(1),e.Q6J("ngIf",c.noEntriesFound)("ngIfElse",r)}}const Qd=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],wc=function(h,d){return{"mat-select-search-inner-multiple":h,"mat-select-search-inner-toggle-all":d}},Cc=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"];let Uh=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275dir=e.lG2({type:h,selectors:[["","ngxMatSelectSearchClear",""]]}),h})();const Dc=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderL
1abel","preventHomeEndKeyPropagation","searching"],Gs=new e.OlP("mat-selectsearch-default-options");let Hh=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275dir=e.lG2({type:h,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),h})(),jh=(()=>{class h{constructor(r,c,D,U=null,We=null,yt){this.matSelect=r,this.changeDetectorRef=c,this._viewportRuler=D,this.matOption=U,this.matFormField=We,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new e.vpe,this.onTouched=Jt=>{},this._options$=new vn.X(null),this.optionsList$=this._options$.pipe((0,gr.w)(Jt=>Jt?Jt.changes.pipe((0,xi.U)(Cn=>Cn.toArray()),(0,V.O)(Jt.toArray())):(0,tr.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,xi.U)(Jt=>Jt?Jt.length:0)),this._formControl=new fe.NI(""),this._showNoEntriesFound$=(0,oo.a)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,xi.U)(([Jt,Cn])=>this.noEntriesFoundLabel&&Jt&&Cn===this.getOptionsLengthOffset())),this._onDestroy=new ne.x,this.applyDefaultOptions(yt)}get value(){return this._formControl.value}set _options(r){this._options$.next(r)}get _options(){return this._options$.getValue()}applyDefaultOptions(r){if(r)for(const c of Dc)r.hasOwnProperty(c)&&(this[c]=r[c])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("aria-hidden","true")):console.error("<ngx-mat-select-search> must be placed inside a <mat-option> element"),this.matSelect.openedChange.pipe((0,Fh.g)(1),(0,He.R)(this._onDestroy)).subscribe(r=>{r?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,Be.q)(1),(0,gr.w)(r=>{this._options=this.matSelect.options;let c=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe((0,rl.b)(()=>{setTimeout(()=>{const D=this._options.toArray(),U=D[this.getOptionsLengthOffset()],We=this.matSelect._keyManager;We&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(c,U)||!We.activeItem||!D.find(Jt=>this.matSelect.compareWith(Jt,We.activeItem)))&&We.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()})),c=U})}))})).pipe((0,He.R)(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe((0,He.R)(this._onDestroy)).subscribe(r=>{this.matOption&&(r?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,He.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,He.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(r){this.toggleAll.emit(r)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(r){(r.key&&1===r.key.length||r.keyCode>=R.A&&r.keyCode<=R.Z||r.keyCode>=R.xE&&r.keyCode<=R.aO||r.keyCode===R.L_||this.preventHomeEndKeyPropagation&&(r.keyCode===R.Sd||r.keyCode===R.uR))&&r.stopPropagation(),this.matSelect.multiple&&r.key&&r.keyCode===R.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&r.keyCode===R.hY&&this.value&&(this._reset(!0),r.stopPropagation())}_handleKeyup(r){if(r.keyCode===R.LH||r.keyCode===R.JH){const c=this.matSelect._getAriaActiveDescendant(),D=this._options.toArray().findIndex(U=>U.id===c);-1!==D&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[D]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",c))}}
1writeValue(r){this._lastExternalInputValue=r,this._formControl.setValue(r),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(r){this._formControl.valueChanges.pipe((0,pr.h)(c=>c!==this._lastExternalInputValue),(0,rl.b)(()=>this._lastExternalInputValue=void 0),(0,He.R)(this._onDestroy)).subscribe(r)}registerOnTouched(r){this.onTouched=r}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const r=this.matSelect.panel.nativeElement,c=r.scrollTop;this.searchSelectInput.nativeElement.focus(),r.scrollTop=c}_reset(r){this._formControl.setValue(""),r&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,He.R)(this._onDestroy)).subscribe(r=>{let c=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!r||!Array.isArray(r))&&(r=[]);const D=this.matSelect.options.map(U=>U.value);this.previousSelectedValues.forEach(U=>{!r.some(We=>this.matSelect.compareWith(We,U))&&!D.some(We=>this.matSelect.compareWith(We,U))&&(r.push(U),c=!0)})}this.previousSelectedValues=r,c&&this.matSelect._onChange(r)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let c,r=this.innerSelectSearch.nativeElement;for(;r=r.parentElement;)if(r.classList.contains("mat-select-panel")){c=r;break}c&&(this.innerSelectSearch.nativeElement.style.width=c.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return h.\u0275fac=function(r){return new(r||h)(e.Y36(La.gD),e.Y36(e.sBO),e.Y36(Vi.rL),e.Y36(p.ey,8),e.Y36(be.KE,8),e.Y36(Gs,8))},h.\u0275cmp=e.Xpm({type:h,selectors:[["ngx-mat-select-search"]],contentQueries:function(r,c,D){if(1&r&&(e.Suo(D,Uh,5),e.Suo(D,Hh,5)),2&r){let U;e.iGM(U=e.CRH())&&(c.clearIcon=U.first),e.iGM(U=e.CRH())&&(c.noEntriesFound=U.first)}},viewQuery:function(r,c){if(1&r&&(e.Gf(zs,7,e.SBq),e.Gf(Nh,7,e.SBq)),2&r){let D;e.iGM(D=e.CRH())&&(c.searchSelectInput=D.first),e.iGM(D=e.CRH())&&(c.innerSelectSearch=D.first)}}
1,inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[e._Bn([{provide:fe.JU,useExisting:(0,e.Gpc)(()=>h),multi:!0}])],ngContentSelectors:Cc,decls:12,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"],["defaultNoEntriesFound",""]],template:function(r,c){1&r&&(e.F$t(Qd),e._UZ(0,"input",0),e.TgZ(1,"div",1,2),e.YNc(3,Is,1,5,"mat-checkbox",3),e.TgZ(4,"input",4,5),e.NdJ("keydown",function(U){return c._handleKeydown(U)})("keyup",function(U){return c._handleKeyup(U)})("blur",function(){return c.onBlur()}),e.qZA(),e.YNc(6,Ys,1,0,"mat-spinner",6),e.YNc(7,$h,4,2,"button",7),e.Hsn(8),e._UZ(9,"mat-divider"),e.qZA(),e.YNc(10,Kd,4,2,"div",8),e.ALo(11,"async")),2&r&&(e.xp6(1),e.Q6J("ngClass",e.WLB(11,wc,c.matSelect.multiple,c._isToggleAllCheckboxVisible())),e.xp6(2),e.Q6J("ngIf",c._isToggleAllCheckboxVisible()),e.xp6(1),e.Q6J("type",c.type)("formControl",c._formControl)("placeholder",c.placeholderL
1abel),e.uIk("aria-label",c.ariaLabel),e.xp6(2),e.Q6J("ngIf",c.searching),e.xp6(1),e.Q6J("ngIf",!c.hideClearSearchButton&&c.value&&!c.searching),e.xp6(3),e.Q6J("ngIf",e.lcZ(11,9,c._showNoEntriesFound$)))},dependencies:[a.mk,a.O5,fe.Fj,fe.JJ,fe.oH,gi.RK,dl,Zt.Hw,sa.Ou,$s.gM,$i.d,a.Ov],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background:none;padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}
1.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),h})(),zh=(()=>{class h{}return h.\u0275fac=function(r){return new(r||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[a.ez,fe.UX,gi.ot,ld,Zt.Ps,sa.Cq,$s.AV,$i.t]}),h})();function Yh(h,d){if(1&h&&(e.TgZ(0,"span",12),e._uU(1),e.qZA()),2&h){const r=e.oxw(2);e.xp6(1),e.Oqu(r.defaultSelectValue.additionalInfo)}}function Gh(h,d){if(1&h&&(e.TgZ(0,"mat-option",9)(1,"div",10)(2,"span"),e._uU(3),e.qZA(),e.YNc(4,Yh,2,1,"span",11),e.qZA()()),2&h){const r=e.oxw(),c=e.MAs(4);e.Q6J("value",r.defaultSelectValue.key),e.xp6(3),e.Oqu(r.defaultSelectValue.label),e.xp6(1),e.Q6J("ngIf",c.panelOpen)}}function Zh(h,d){if(1&h&&(e.TgZ(0,"span",12),e._uU(1),e.qZA()),2&h){const r=e.oxw().$implicit;e.xp6(1),e.Oqu(r.additionalInfo)}}function Os(h,d){if(1&h&&(e.TgZ(0,"mat-option",9)(1,"div",10)(2,"span"),e._uU(3),e.qZA(),e.YNc(4,Zh,2,1,"span",11),e.qZA()()),2&h){const r=d.$implicit;e.oxw();const c=e.MAs(4);e.Q6J("value",r.key),e.xp6(3),e.Oqu(r.label),e.xp6(1),e.Q6J("ngIf",c.panelOpen)}}function Ka(h,d){1&h&&(e.TgZ(0,"mat-error"),e._uU(1," Povinn\xfd \xfadaj "),e.qZA())}function Wh(h,d){1&h&&e._UZ(0,"mat-spinner",13),2&h&&e.Q6J("diameter",18)}class xl{constructor(d){this.donorApiService=d,this.onSelect=new e.vpe,this.valueFormControl=new fe.NI("",[fe.kI.required]),this.filterFormControl=new fe.NI,this.onDestroy=new ne.x,this.loading=!0,this.selectValues=[]}filterChange(d){this.filterFormControl.setValue(d)}ngOnInit(){var d=this;return(0,Kn.Z)(function*(){yield d.provideDefaultValue(d.donorId),yield d.fetchData(),d.filterFormControl.valueChanges.pipe((0,He.R)(d.onDestroy),(0,Wr.b)(1e3)).subscribe((0,Kn.Z)(function*(){yield d.fetchData()})),d.valueFormControl.valueChanges.pipe((0,He.R)(d.onDestroy)).subscribe(r=>{d.donorId=r,d.onSelect.emit(r)})})()}fetchData(){var d=this;return(0,Kn.Z)(function*(){try{d.loading=!0;const r=yield d.donorApiService.getDonors({phrase:d.filterFormControl.value,limit:25});d.selectValues.length=0;for(const c of r.data)d.selectValues.push({label:c.name?c.name:c.company,key:c.id,additionalInfo:d.generateAdditionalInfo(c)});d.valueFormControl.setValue(d.donorId,{emitEvent:!1}),d.onSelect.emit(d.donorId),d.loading=!1}catch(r){console.error(r),d.loading=!1}})()}ngOnDestroy(){this.onDestroy.next(),this.onDestroy.complete()}provideDefaultValue(d){var r=this;return(0,Kn.Z)(function*(){if(d){const c=yield r.donorApiService.getDonor(d);r.defaultSelectValue={key:d,label:c.name?c.name:c.company,additionalInfo:r.generateAdditionalInfo(c)}}})()}generateAdditionalInfo(d){let r="";return r+=d.phone?`${d.email} \u2022 `:d.email,r+=d.phone?d.phone:"",r}static#e=this.\u0275fac=function(r){return new(r||xl)(e.Y36(Za))};static#t=this.\u0275cmp=e.Xpm({type:xl,selectors:[["sv-donor-selector"]],inputs:{donorId:"donorId"},outputs:{onSelect:"onSelect"},decls:12,vars:9,consts:[["appearance","outline",1,"w-full"],["required","",3,"formControl"],["selectEl",""],["ngModel","",3,"clearSearchInput","placeholderL
1abel","noEntriesFoundLabel","searching","ngModelChange"],[3,"value",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["matSuffix","",2,"display","flex"],["matSuffix","","class","right-static-suffix",3,"diameter",4,"ngIf"],[3,"value"],[1,"flex","items-center","gap-1"],["class","mat-small",4,"ngIf"],[1,"mat-small"],["matSuffix","",1,"right-static-suffix",3,"diameter"]],template:function(r,c){1&r&&(e.TgZ(0,"mat-form-field",0)(1,"mat-label"),e._uU(2,"U\u017eivatel"),e.qZA(),e.TgZ(3,"mat-select",1,2)(5,"mat-option")(6,"ngx-mat-select-search",3),e.NdJ("ngModelChange",function(U){return c.filterChange(U)}),e.qZA()(),e.YNc(7,Gh,5,3,"mat-option",4),e.YNc(8,Os,5,3,"mat-option",5),e.qZA(),e.YNc(9,Ka,2,0,"mat-error",6),e.TgZ(10,"div",7),e.YNc(11,Wh,1,1,"mat-spinner",8),e.qZA()()),2&r&&(e.xp6(3),e.Q6J("formControl",c.valueFormControl),e.xp6(3),e.Q6J("clearSearchInput",!1)("placeholderLabel","Vyhledat")("noEntriesFoundLabel","Nenalezeno")("searching",c.loading),e.xp6(1),e.Q6J("ngIf",c.defaultSelectValue),e.xp6(1),e.Q6J("ngForOf",c.selectValues),e.xp6(1),e.Q6J("ngIf",c.valueFormControl.hasError("required")),e.xp6(2),e.Q6J("ngIf",c.loading))},dependencies:[a.sg,a.O5,sa.Ou,fe.JJ,fe.Q7,fe.oH,fe.On,be.KE,be.hX,be.TO,be.R9,La.gD,p.ey,jh]})}function $f(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._UZ(1,"mat-spinner",18),e.qZA())}function Bf(h,d){1&h&&(e.TgZ(0,"mat-icon"),e._uU(1,"edit"),e.qZA())}class Zs extends Ta{constructor(d,r,c){super(r),this.donationApiService=d,this.injector=r,this.notificationService=c,this.componentName="DonationNewComponent",this.recurringFormControl=new fe.NI({value:!1,disabled:!0},[]),this.paidFormControl=new fe.NI(!1,[]),this.typeFormControl=new fe.p4("CASH",[]),this.priceFormControl=new fe.p4(0,[]),this.referenceNumberFormControl=new fe.p4({value:"",disabled:!0},[]),this.confirmedAtFormControl=new fe.p4(void 0,[]),this.donorIdFormControl=new fe.p4("",[fe.kI.required]),this.aresLoading=!1,this.newDonationForm=new fe.nJ({recurring:this.recurringFormControl,type:this.typeFormControl,price:this.priceFormControl,paid:this.paidFormControl,referenceNumber:this.referenceNumberFormControl,confirmedAt:this.confirmedAtFormControl,donorId:this.donorIdFormControl})}onNewDonation(){var d=this;return(0,Kn.Z)(function*(){if(d.newDonationForm.valid){d.loading=!0;try{yield d.donationApiService.addDonation(d.newDonationForm.value),d.notificationService.showSuccessMessage("Darov\xe1n\xed bylo vytvo\u0159eno"),d.goBack()}catch(r){console.error(r),d.notificationService.showErrorMessage("Chyba p\u0159i vytv\xe1\u0159en\xed darov\xe1n\xed, zkuste to znovu")}finally{d.loading=!1}}})()}onDonorSelect(d){this.newDonationForm.patchValue({donorId:d})}static#e=this.\u0275fac=function(r){return new(r||Zs)(e.Y36(gs.Q),e.Y36(e.zs3),e.Y36(As.s))};static#t=this.\u0275cmp=e.Xpm({type:Zs,selectors:[["sv-admin-donation-new"]],features:[e.qOj],decls:57,vars:23,consts:[[3,"formGroup","ngSubmit"],[1,"form-fieldset","mt-1"],[1,"grid","grid-cols-2","gap-x-1"],["appearance","outline"],[3,"formControl"],[3,"value"],[3,"value","disabled"],["id","price","type","number","matInput","",3,"formControl"],["maxlength","255","id","referenceNumber","type","number","matInput","",3,"formControl"],["matInput","",3,"readonly","formControl","matDatepicker","click"],["matIconSuffix","",3,"for"],[3,"touchUi"],["picker",""],[3,"onSelect"],[1,"mt-2"],["mat-stroked-button","",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"mr-1","text-white",3,"disabled"],[4,"ngIf"],["diameter","18"]],template:function(r,c){if(1&r){const D=e.EpF();e._UZ(0,"app-breadcrumbs"),e.TgZ(1,"form",0),e.NdJ("ngSubmit",function(){return c.onNewDonation()}),e.TgZ(2,"fieldset",1)(3,"legend"),e._uU(4,"Informace o daru"),e.qZA(),e.TgZ(5,"div",2)(6,"mat-form-field",3)(7,"mat-label"),e._uU(8,"Frekvence"),e.qZA(),e.TgZ(9,"mat-select",4)(10,"mat-option",5),e._uU(11," M\u011bs\xed\u010dn\u011b "),e.qZA(),e.TgZ(12,"mat-option",5),e._uU(13," Jednor\xe1zov\u011b "),e.qZA()()(),e.TgZ(14,"mat-form-field",3)(15,"mat-label"),e._uU(16,"Forma platby"),e.qZA(),e.TgZ(17,"mat-select",4)(18,"mat-option",6),e._uU(19," Kartou "),e.qZA(),e.TgZ(20,"mat-option",5),e._uU(21," Hotov\u011b "),e.qZA(),e.TgZ(22,"mat-option",6),e._uU(23," P\u0159evodem "),e.qZA()()(),e.TgZ(24,"mat-form-field",3)(25,"mat-label"),e._uU(26,"\u010c\xe1stka"),e.qZA(),e._UZ(27,"input",7),e.qZA(),e.TgZ(28,"mat-form-field",3)(29,"mat-label"),e._uU(30,"Status"),e.qZA(),e.TgZ(31,"mat-select",4)(32,"mat-option",5),e._uU(33," Zaplaceno "),e.qZA(),e.TgZ(34,"mat-option",5),e._uU(35," Nezaplaceno "),e.qZA()()(),e.TgZ(36,"mat-form-field",3)(37,"mat-label"),e._uU(38,"Variabiln\xed
1symbol"),e.qZA(),e._UZ(39,"input",8),e.qZA(),e.TgZ(40,"mat-form-field",3)(41,"mat-label"),e._uU(42,"Datum potvrzen\xed"),e.qZA(),e.TgZ(43,"input",9),e.NdJ("click",function(){e.CHM(D);const We=e.MAs(46);return e.KtG(We.open())}),e.qZA(),e._UZ(44,"mat-datepicker-toggle",10)(45,"mat-datepicker",11,12),e.qZA(),e.TgZ(47,"sv-donor-selector",13),e.NdJ("onSelect",function(We){return c.onDonorSelect(We)}),e.qZA()()(),e.TgZ(48,"div",14)(49,"a",15),e.NdJ("click",function(We){return We.preventDefault(),c.goBack()}),e.TgZ(50,"mat-icon"),e._uU(51,"close"),e.qZA(),e._uU(52," Zru\u0161it "),e.qZA(),e.TgZ(53,"button",16),e.YNc(54,$f,2,0,"mat-icon",17),e.YNc(55,Bf,2,0,"mat-icon",17),e._uU(56," Vytvo\u0159it darov\xe1n\xed "),e.qZA()()()}if(2&r){const D=e.MAs(46);e.xp6(1),e.Q6J("formGroup",c.newDonationForm),e.xp6(8),e.Q6J("formControl",c.recurringFormControl),e.xp6(1),e.Q6J("value",!0),e.xp6(2),e.Q6J("value",!1),e.xp6(5),e.Q6J("formControl",c.typeFormControl),e.xp6(1),e.Q6J("value","CARD")("disabled",!0),e.xp6(2),e.Q6J("value","CASH"),e.xp6(2),e.Q6J("value","TRANSFER")("disabled",!0),e.xp6(5),e.Q6J("formControl",c.priceFormControl),e.xp6(4),e.Q6J("formControl",c.paidFormControl),e.xp6(1),e.Q6J("value",!0),e.xp6(2),e.Q6J("value",!1),e.xp6(5),e.Q6J("formControl",c.referenceNumberFormControl),e.xp6(4),e.Q6J("readonly",!0)("formControl",c.confirmedAtFormControl)("matDatepicker",D),e.xp6(1),e.Q6J("for",D),e.xp6(1),e.Q6J("touchUi",!0),e.xp6(8),e.Q6J("disabled",c.loading||!c.newDonationForm.valid),e.xp6(1),e.Q6J("ngIf",c.loading),e.xp6(1),e.Q6J("ngIf",!c.loading)}},dependencies:[a.O5,C.Mq,C.hl,C.nW,gi.zs,gi.lW,Zt.Hw,Ts,sa.Ou,fe._Y,fe.Fj,fe.wV,fe.JJ,fe.JL,fe.nD,fe.oH,fe.sg,be.KE,be.hX,be.R9,vt.Nt,La.gD,p.ey,xl]})}const Vf=[{path:"admin",component:Qt,data:{breadcrumb:{label:"Dom\u016f",icon:"home"}},runGuardsAndResolvers:"always",children:[{path:"",pathMatch:"full",redirectTo:"/admin/donations/list"},{path:"donations",title:"Darov\xe1n\xed",data:{breadcrumb:{label:"Darov\xe1n\xed",icon:"home"}},children:[{path:"",pathMatch:"full",redirectTo:"/admin/donations/list"},{path:"list",component:gl},{path:"edit/:id",component:js,title:"\xdaprava darov\xe1n\xed",data:{breadcrumb:{label:"\xdaprava darov\xe1n\xed"}},resolve:{donationDetail:Nf.U}},{path:"new",component:Zs,title:"Nov\xe9 darov\xe1n\xed",data:{breadcrumb:{label:"Nov\xe9 darov\xe1n\xed"}}}]},{path:"donors",title:"U\u017eivatel\xe9",data:{breadcrumb:{label:"U\u017eivatel\xe9",icon:"person"}},children:[{path:"",pathMatch:"full",redirectTo:"/admin/donors/list"},{path:"list",component:vl},{path:"edit/:id",component:xs,title:"\xdaprava u\u017eivatele",data:{breadcrumb:{label:"\xdaprava u\u017eivatele"}},resolve:{donorDetail:ws}},{path:"new",component:Hs,title:"Nov\xfd u\u017eivatel",data:{breadcrumb:{label:"Nov\xfd u\u017eivatel"}}}]}],canActivate:[Nn.a],canActivateChild:[Nn.a]}];class Ws{static#e=this.\u0275fac=function(r){return new(r||Ws)};static#t=this.\u0275mod=e.oAB({type:Ws});static#n=this.\u0275inj=e.cJS({imports:[ti.Bz.forChild(Vf),ti.Bz]})}class Rs extends pt{getFirstDayOfWeek(){return 1}static#e=this.\u0275fac=function(){let d;return function(c){return(d||(d=e.n5z(Rs)))(c||Rs)}}();static#t=this.\u0275prov=e.Yz7({token:Rs,factory:Rs.\u0275fac})}var Ec=f(4466),Kh=f(3162);class Ks{static#e=this.\u0275fac=function(r){return new(r||Ks)};static#t=this.\u0275mod=e.oAB({type:Ks}
1);static#n=this.\u0275inj=e.cJS({imports:[a.ez,Ot.Is,gi.ot,Zt.Ps,sa.Cq,Kh.Cv,Ec.m]})}class wl{static#e=this.\u0275fac=function(r){return new(r||wl)};static#t=this.\u0275mod=e.oAB({type:wl});static#n=this.\u0275inj=e.cJS({providers:[{provide:Ni,useClass:Rs},{provide:p._A,useClass:Rs}],imports:[a.ez,Ws,p.XK,yn,C.FA,ho,On.Le,gi.ot,Zt.Ps,Ec.m,Yo,Je,ts,od,Xc,Wn.Tx,ld,sa.Cq,Ns.TU,$s.AV,Ks,fe.UX,fe.u5,be.lN,vt.c,La.LD,zh]})}},3432:(Pt,Ve,f)=>{"use strict";f.d(Ve,{U:()=>ee});var a=f(262),p=f(8996),C=f(4650),Y=f(5472),e=f(3852);class ee{constructor(ae,X){this.donationApiService=ae,this.notificationService=X}resolve(ae){return(0,p.D)(this.donationApiService.getDonation(ae.params.id)).pipe((0,a.K)(X=>{throw this.notificationService.showErrorMessage("Darov\xe1n\xed nenalezeno nebo nastala chyba"),X}))}static#e=this.\u0275fac=function(X){return new(X||ee)(C.LFG(Y.Q),C.LFG(e.s))};static#t=this.\u0275prov=C.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"})}},5472:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Q:()=>C});var a=f(4650),p=f(6832);class C{constructor(e){this.backendService=e}getDonations(e={},ee=null){return this.backendService.get("/donation/",{params:{...e,order:ee}})}getDonation(e){return this.backendService.get(`/donation/${e}`)}addDonation(e){return this.backendService.post("/donation",e)}updateDonation(e,ee){return this.backendService.put(`/donation/${e}`,ee)}deleteDonation(e){return this.backendService.delete(`/donation/${e}`)}static#e=this.\u0275fac=function(ee){return new(ee||C)(a.LFG(p.v))};static#t=this.\u0275prov=a.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"})}},1209:(Pt,Ve,f)=>{"use strict";f.r(Ve),f.d(Ve,{AuthModule:()=>Le});var a=f(6895),p=f(4006),C=f(9549),Y=f(284),e=f(9101),ee=f(7392),R=f(9132),ae=f(5861),X=f(4650),W=f(4526),de=f(4850),ce=f(3683);function _e(ze,dt){1&ze&&(X.TgZ(0,"a",3),X._UZ(1,"img",4),X.qZA())}class ge{constructor(){this.showLogo=!1}static#e=this.\u0275fac=function(qe){return new(qe||ge)};static#t=this.\u0275cmp=X.Xpm({type:ge,selectors:[["sv-public-header"]],inputs:{showLogo:"showLogo"},decls:4,vars:1,consts:[["color","primary",1,"header"],["routerLink","/","class","logo-container",4,"ngIf"],[1,"spacer"],["routerLink","/",1,"logo-container"],["src","/assets/logo.png","width","50","height","40",1,"logo"]],template:function(qe,Mt){1&qe&&(X.TgZ(0,"mat-toolbar",0)(1,"mat-toolbar-row"),X.YNc(2,_e,2,0,"a",1),X._UZ(3,"span",2),X.qZA()()),2&qe&&(X.xp6(2),X.Q6J("ngIf",Mt.showLogo))},dependencies:[a.O5,R.rH,ce.Ye,ce.rD],styles:[".logo-container[_ngcontent-%COMP%]{display:flex}.mat-divider[_ngcontent-%COMP%]{height:24px;background:white}.header[_ngcontent-%COMP%]{background:#303030}"]})}var Re=f(5867),$e=f(8951),fe=f(3852),ue=f(1572);function be(ze,dt){1&ze&&(X.TgZ(0,"mat-error"),X._uU(1," E-mail nen\xed validn\xed "),X.qZA())}function se(ze,dt){1&ze&&(X.TgZ(0,"mat-error"),X._uU(1," Povinn\xe1 polo\u017eka "),X.qZA())}function j(ze,dt){1&ze&&(X.TgZ(0,"mat-error"),X._uU(1," Povinn\xe1 polo\u017eka "),X.qZA())}function ne(ze,dt){1&ze&&(X.TgZ(0,"mat-icon"),X._UZ(1,"mat-spinner",8),X.qZA())}function De(ze,dt){1&ze&&(X.TgZ(0,"mat-icon"),X._uU(1,"login"),X.qZA())}class Ue{constructor(dt,qe,Mt){this.authService=dt,this.router=qe,this.notificationService=Mt,this.loading=!1,this.emailFormControl=new p.p4("",[p.kI.required,p.kI.email]),this.passwordFormControl=new p.p4("",[p.kI.required]),this.loginForm=new p.nJ({email:this.emailFormControl,password:this.passwordFormControl})}onLogin(){var dt=this;return(0,ae.Z)(function*(){if(dt.loginForm.valid){dt.loading=!0;try{const qe=yield dt.authService.firebaseLogin(dt.emailFormControl.value,dt.passwordFormControl.value),Mt=yield qe.user?.getIdToken(),wt=qe.user?.uid;localStorage.setItem("userUid",wt),localStorage.setItem("idToken",Mt),yield dt.router.navigate(["/admin"])}catch(qe){dt.loginFailedSnackbar(qe instanceof Re.ZR?qe.code:qe.error.message),console.error(qe)}finally{dt.loading=!1}}})()}loginFailedSnackbar(dt){switch(dt){case"auth/user-not-found":dt="U\u017eivatel nenalezen, zkontrolujte e-mail";break;case"auth/wrong-password":dt="\u0160patn\xe9 heslo"}this.notificationService.showErrorMessage(dt)}static#e=this.\u0275fac=function(qe){return new(qe||Ue)(X.Y36($e.e),X.Y36(R.F0),X.Y36(fe.s))};static#t=this.\u0275cmp=X.Xpm({type:Ue,selectors:[["sv-auth-login"]],decls:19,vars:9,consts:[[3,"formGroup","ngSubmit"],[1,"responsive-form-table","d-block-desktop","d-block-tablet"],[1,"form-cell"],["appearance","outline",1,"input-field"],["id","email","autocomplete","username","required","","type","email","matInput","","placeholder","[email protected]",3,"formControl"],[4,"ngIf"],["id","password","autocomplete","current-password","required","","type","password","matInput","",3,"formControl"],["mat-flat-button","","type","submit","color","primary",1,"mr-2",3,"disabled"],["diameter","15"]],template:function(qe,Mt){1&qe&&(X.TgZ(0,"form",0),X.NdJ("ngSubmit",function(){return Mt.onLogin()}),X.TgZ(1,"div",1)(2,"div",2)(3,"mat-form-field",3)(4,"mat-label"),X._uU(5,"E-mail"),X.qZA(),X._UZ(6,"input",4),X.YNc(7,be,2,0,"mat-error",5),X.YNc(8,se,2,0,"mat-error",5),X.qZA()(),X.TgZ(9,"div",2)(10,"mat-form-field",3)(11,"mat-label"),X._uU(12,"Heslo"),X.qZA(),X._UZ(13,"input",6),X.YNc(14,j,2,0,"mat-error",5),X.qZA()()(),X.TgZ(15,"button",7),X.YNc(16,ne,2,0,"mat-icon",5),X.YNc(17,De,2,0,"mat-icon",5),X._uU(18," P\u0159ihl\xe1sit "),X.qZA()()),2&qe&&(X.Q6J("formGroup",Mt.loginForm),X.xp6(6),X.Q6J("formControl",Mt.emailFormControl),X.xp6(1),X.Q6J("ngIf",Mt.emailFormControl.hasError("email")&&!Mt.emailFormControl.hasError("required")),X.xp6(1),X.Q6J("ngIf",Mt.emailFormControl.hasError("required")),X.xp6(5),X.Q6J("formControl",Mt.passwordFormControl),X.xp6(1),X.Q6J("ngIf",Mt.passwordFormControl.hasError("required")),X.xp6(1),X.Q6J("disabled",Mt.loading||!Mt.loginForm.valid),X.xp6(1),X.Q6J("ngIf",Mt.loading),X.xp6(1),X.Q6J("ngIf",!Mt.loading))},dependencies:[a.O5,p._Y,p.Fj,p.JJ,p.JL,p.Q7,p.oH,p.sg,C.KE,C.hX,C.TO,e.lW,ee.Hw,Y.Nt,ue.Ou],styles:[".input-field[_ngcontent-%COMP%]{display:block;width:350px}"]})}function V(ze,dt){1&ze&&X._UZ(0,"sv-public-header",16),2&ze&&X.Q6J("showLogo",!0)}class He{constructor(dt,qe){this.router=dt,this.breakpointsService=qe,this.currentYear=(new Date).getFullYear()}ngOnInit(){var dt=this;return(0,ae.Z)(function*(){localStorage.getItem("userUid")&&localStorage.getItem("idToken")&&(yield dt.router.navigate(["/admin"]))})()}get device$(){return this.breakpointsService.device$}static#e=this.\u0275fac=function(qe){return new(qe||He)(X.Y36(R.F0),X.Y36(W.S))};static#t=this.\u0275cmp=X.Xpm({type:He,selectors:[["sv-auth-signpost"]],decls:28,vars:12,consts:[[1,"signpost-wrapper"],[3,"showLogo",4,"ngIf"],[1,"sides"],[1,"auth"],[1,"content","ml-1","mr-1","mt-1"],[1,"bottom-info","mt-1"],[1,"info-content"],[1,"mt-1","text-center"],["href","https://svobodni.cz","target","_blank",1,"underline"],[1,"mb-1","text-center"],["href","https://www.linkedin.com/in/daniel-krul-563b2a141/","target","_blank",1,"underline"],["href","https://cv.davidnekovar.cz","target","_blank",1,"underline"],[1,"promo","hidden","md:flex"],[1,"shade"],[1,"logo"],["src","/assets/logo.png","alt","Logo","width","100"],[3,"showLogo"]],template:function(qe,Mt){1&qe&&(X.TgZ(0,"div",0),X.YNc(1,V,1,1,"sv-public-header",1),X.ALo(2,"async"),X.TgZ(3,"div",2),X.ALo(4,"async"),X.ALo(5,"async"),X.TgZ(6,"div",3)(7,"div",4),X._UZ(8,"sv-auth-login"),X.qZA(),X.TgZ(9,"div",5)(10,"div",6),X._UZ(11,"mat-divider"),X.TgZ(12,"p",7),X._uU(13),X.TgZ(14,"a",8),X._uU(1
15,"svobodni.cz"),X.qZA()(),X.TgZ(16,"p",9),X._uU(17," (vytvo\u0159il "),X.TgZ(18,"a",10),X._uU(19,"Daniel Kr\u016fl"),X.qZA(),X._uU(20,", upravil "),X.TgZ(21,"a",11),X._uU(22,"David Nekov\xe1\u0159"),X.qZA(),X._uU(23,") "),X.qZA()()()(),X.TgZ(24,"div",12)(25,"div",13)(26,"div",14),X._UZ(27,"img",15),X.qZA()()()()()),2&qe&&(X.xp6(1),X.Q6J("ngIf","desktop"!==X.lcZ(2,6,Mt.device$)),X.xp6(2),X.Udp("min-height","desktop"!==X.lcZ(4,8,Mt.device$)?"calc(100vh - 64px)":"100vh")("max-height","desktop"!==X.lcZ(5,10,Mt.device$)?"calc(100vh - 64px)":"100vh"),X.xp6(10),X.hij(" \xa9 2022-",Mt.currentYear," Svobodn\xed / "))},dependencies:[a.O5,de.d,ge,Ue,a.Ov],styles:[".signpost-wrapper[_ngcontent-%COMP%] .sides[_ngcontent-%COMP%]{display:flex}.signpost-wrapper[_ngcontent-%COMP%] .sides[_ngcontent-%COMP%] .auth[_ngcontent-%COMP%]{flex:1.2;max-height:100vh;overflow-y:auto;display:flex;flex-direction:column}.signpost-wrapper[_ngcontent-%COMP%] .sides[_ngcontent-%COMP%] .auth[_ngcontent-%COMP%] .bottom-info[_ngcontent-%COMP%]{flex-grow:1;align-items:flex-end;display:flex}.signpost-wrapper[_ngcontent-%COMP%] .sides[_ngcontent-%COMP%] .auth[_ngcontent-%COMP%] .bottom-info[_ngcontent-%COMP%] .info-content[_ngcontent-%COMP%]{width:100%}.signpost-wrapper[_ngcontent-%COMP%] .sides[_ngcontent-%COMP%] .promo[_ngcontent-%COMP%]{flex:1;background:url(/assets/side-image.jpeg) no-repeat center center;background-size:cover;position:relative}.signpost-wrapper[_ngcontent-%COMP%] .sides[_ngcontent-%COMP%] .promo[_ngcontent-%COMP%] .shade[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center}"]})}const Be=[{path:"",component:He,pathMatch:"full"}];class Ne{static#e=this.\u0275fac=function(qe){return new(qe||Ne)};static#t=this.\u0275mod=X.oAB({type:Ne});static#n=this.\u0275inj=X.cJS({imports:[R.Bz.forChild(Be),R.Bz]})}var me=f(4466);class Le{static#e=this.\u0275fac=function(qe){return new(qe||Le)};static#t=this.\u0275mod=X.oAB({type:Le});static#n=this.\u0275inj=X.cJS({imports:[a.ez,Ne,p.UX,C.lN,e.ot,ee.Ps,Y.c,de.t,ue.Cq,me.m]})}},137:(Pt,Ve,f)=>{"use strict";f.d(Ve,{a:()=>e});var a=f(5861),p=f(4650),C=f(8951),Y=f(9132);class e{constructor(R,ae){this.authService=R,this.router=ae}canActivate(){var R=this;const ae=localStorage.getItem("idToken"),X=localStorage.getItem("userUid");return new Promise(function(){var W=(0,a.Z)(function*(de){if(X&&ae){if(yield R.authService.tryRelogin())return de(!0),!0;yield R.authService.logout(),de(!1)}else yield R.router.navigate(["/"]),de(!1)});return function(de){return W.apply(this,arguments)}}())}canActivateChild(){return this.canActivate()}static#e=this.\u0275fac=function(ae){return new(ae||e)(p.LFG(C.e),p.LFG(Y.F0))};static#t=this.\u0275prov=p.Yz7({token:e,factory:e.\u0275fac})}},8951:(Pt,Ve,f)=>{"use strict";f.d(Ve,{e:()=>ee});var a=f(5861),p=f(590),C=f(4650),Y=f(9132),e=f(4496);class ee{constructor(ae,X){this.router=ae,this.angularFireAuth=X}firebaseLogin(ae,X){var W=this;return(0,a.Z)(function*(){return yield W.angularFireAuth.setPersistence("local"),W.angularFireAuth.signInWithEmailAndPassword(ae,X)})()}firebaseResetPassword(ae){return this.angularFireAuth.sendPasswordResetEmail(ae)}logout(){var ae=this;return(0,a.Z)(function*(){yield ae.angularFireAuth.signOut(),localStorage.removeItem("userUid"),localStorage.removeItem("idToken"),yield ae.router.navigate(["/"])})()}getFirebaseUser(){return this.angularFireAuth.authState.pipe((0,p.P)()).toPromise()}tryRelogin(){var ae=this;return(0,a.Z)(function*(){const X=yield ae.getFirebaseUser();if(X){const W=yield X?.getIdToken();return localStorage.setItem("idToken",W),!0}return!1})()}static#e=this.\u0275fac=function(X){return new(X||ee)(C.LFG(Y.F0),C.LFG(e.zQ))};static#t=this.\u0275prov=C.Yz7({token:ee,factory:ee.\u0275fac})}},6832:(Pt,Ve,f)=>{"use strict";f.d(Ve,{v:()=>ce});var a=f(4650),p=f(9635),C=f(4482),Y=f(5403),e=f(4671),ee=f(5963),R=f(8421),X=f(262),W=f(2340),de=f(529);class ce{constructor(ge){this.http=ge,this.NUM_OF_RETRIES=2}get(ge,Re){return this.http.get(this.url(ge),Re).pipe(this.retryOrTrow()).toPromise()}post(ge,Re,$e){return this.http.post(this.url(ge),Re,$e).pipe(this.retryOrTrow()).toPromise()}request(ge){return this.http.request(ge)}put(ge,Re,$e){return this.http.put(this.url(ge),Re,$e).pipe(this.retryOrTrow()).toPromise()}delete(ge,Re){return this.http.delete(this.url(ge),Re).pipe(this.retryOrTrow()).toPromise()}patch(ge,Re,$e){return this.http.patch(this.url(ge),Re,$e).pipe(this.retryOrTrow())}url(ge=""){return(0,a.X6Q)()&&console.info("API call: ",ge),`${W.N.apiUrl}${ge||""}`}retryOrTrow(){return(0,p.z)(function ae(_e=1/0){let ge;ge=_e&&"object"==typeof _e?_e:{count:_e};const{count:Re=1/0,delay:$e,resetOnSuccess:fe=!1}=ge;return Re<=0?e.y:(0,C.e)((ue,be)=>{let j,se=0;const ne=()=>{let De=!1;j=ue.subscribe((0,Y.x)(be,Ue=>{fe&&(se=0),be.next(Ue)},void 0,Ue=>{if(se++<Re){const V=()=>{j?(j.unsubscribe(),j=null,ne()):De=!0};if(null!=$e){const He="number"==typeof $e?(0,ee.H)($e):(0,R.Xf)($e(Ue,se)),Be=(0,Y.x)(be,()=>{Be.unsubscribe(),V()},()=>{be.complete()});He.subscribe(Be)}else V()}else be.error(Ue)})),De&&(j.unsubscribe(),j=null,ne())};ne()})}(this.NUM_OF_RETRIES),(0,X.K)(ge=>{throw{status:ge.error.status,messages:ge.error.messages,errors:ge.error.errors}}))}static#e=this.\u0275fac=function(Re){return new(Re||ce)(a.LFG(de.eN))};static#t=this.\u0275prov=a.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"})}},4526:(Pt,Ve,f)=>{"use strict";f.d(Ve,{S:()=>Y});var a=f(4707),p=f(4650),C=f(2289);class Y{constructor(ee){this.breakpointObserver=ee,this.device$=new a.t(1),this.breakpointObserver.observe(["(max-width: 600px)"]).subscribe(R=>{R.matches&&this.device$.next("phone")}),this.breakpointObserver.observe(["(min-width: 601px) and (max-width: 992px)"]).subscribe(R=>{R.matches&&this.device$.next("tablet")}),this.breakpointObserver.observe(["(min-width: 992px)"]).subscribe(R=>{R.matches&&this.device$.next("desktop")})}static#e=this.\u0275fac=function(R){return new(R||Y)(p.LFG(C.Yg))};static#t=this.\u0275prov=p.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"})}},9956:(Pt,Ve,f)=>{"use strict";f.d(Ve,{I:()=>ae});var a=f(4004),p=f(9220),Y=f(2340),e=f(4650),ee=f(6832),R=f(529);class ae{constructor(W,de){this.backendService=W,this.httpClient=de}getAresData(W){return this.httpClient.get(`${Y.N.apiUrl}/ares/${W}`,{responseType:"text"}).pipe((0,a.U)(de=>{const ce=p.xml2js(de,{compact:!0}),_e={};if("1"!==ce["are:Ares_odpovedi"]["are:Odpoved"]["D:PZA"]?._text)throw new Error;{const Re=ce["are:Ares_odpovedi"]["are:Odpoved"]["D:VBAS"]["D:OF"]?._text,$e=ce["are:Ares_odpovedi"]["are:Odpoved"]["D:VBAS"]["D:AA"]["D:CO"]?._text;Re&&(_e.company=Re),_e.companyCity=ce["are:Ares_odpovedi"]["are:Odpoved"]["D:VBAS"]["D:AA"]["D:N"]._text,_e.companyZip=ce["are:Ares_odpovedi"]["are:Odpoved"]["D:VBAS"]["D:AA"]["D:PSC"]._text,_e.companyStreet=ce["are:Ares_odpovedi"]["are:Odpoved"]["D:VBAS"]["D:AD"]["D:UC"]._text,$e&&(_e.companyStreet=`${_e.companyStreet}/${$e}`)}return _e})).toPromise()}static#e=this.\u0275fac=function(de){return new(de||ae)(e.LFG(ee.v),e.LFG(R.eN))};static#t=this.\u0275prov=e.Yz7({token:ae,factory:ae.\u0275fac})}},4466:(Pt,Ve,f)=>{"use strict";f.d(Ve,{m:()=>de});var a=f(6895),p=f(9132),C=f(7392),Y=f(9101),e=f(4850),ee=f(3683),R=f(8255),ae=f(3852),X=f(7009),W=f(4650);class de{static#e=this.\u0275fac=function(ge){return new(ge||de)};static#t=this.\u0275mod=W.oAB({type:de});static#n=this.\u0275inj=W.cJS({providers:[ae.s],imports:[a.ez,p.Bz,C.Ps,Y.ot,e.t,ee.g0,R.Tx,X.ZX]})}},3852:(Pt,Ve,f)=>{"use strict";f.d(Ve,{s:()=>W});var a=f(7009),p=f(4650),C=f(6895),Y=f(7392);function e(de,ce){1&de&&(p.ynx(0),p.TgZ(1,"mat-icon"),p._uU(2," done "),p.qZA(),p.BQk())}function ee(de,ce){1&de&&(p.TgZ(0,"mat-icon"),p._uU(1," error "),p.qZA())}function R(de,ce){if(1&de&&(p.TgZ(0,"p"),p._uU(1),p.qZA()),2&de){const _e=ce.$implicit;p.xp6(1),p.Oqu(_e)}}class ae{constructor(ce){this.data=ce}get type(){return this.data.type}static#e=this.\u0275fac=function(_e){return new(_e||ae)(p.Y36(a.qD))};static#t=this.\u0275cmp=p.Xpm({type:ae,selectors:[["sv-snack-bar-notification"]],decls:8,vars:5,consts:[[1,"wrapper",3,"ngClass"],[4,"ngIf","ngIfElse"],["errorIcon",""],[4,"ngFor","ngForOf"]],template:function(_e,ge){if(1&_e&&(p.TgZ(0,"div",0),p.YNc(1,e,3,0,"ng-container",1),p.YNc(2,ee,2,0,"ng-template",null,2,p.W1O),p.TgZ(4,"div")(5,"h3"),p._uU(6),p.qZA(),p.YNc(7,R,2,1,"p",3),p.qZA()()),2&_e){const Re=p.MAs(3);p.Q6J("ngClass",ge.type),p.xp6(1),p.Q6J("ngIf","success"===ge.type)("ngIfElse",Re),p.xp6(5),p.Oqu(ge.data.title),p.xp6(1),p.Q6J("ngForOf",ge.data.messages)}},dependencies:[C.mk,C.sg,C.O5,Y.Hw],styles:[".wrapper[_ngcontent-%COMP%]{display:flex;gap:16px;padding:16px;align-items:center;background-color:#fff;position:relative;box-shadow:0 8px 5px -4px #3031318e;-webkit-box-shadow:0 8px 5px -4px rgba(48,49,49,.5568627451);-moz-box-shadow:0 8px 5px -4px rgba(48,49,49,.5568627451);overflow:hidden;border:1px solid #E9E9E9;border-top:3px solid #86BC25}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:32px;width:32px;height:32px;opacity:0;animation:_ngcontent-%COMP%_flyIn 1s ease-out forwards;animation-delay:.2s}.wrapper[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#3f8725;margin-bottom:10.6666666667px}.wrapper[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideIn .3s ease-in-out forwards;animation-delay:.2s;opacity:0}
1.wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:4px}.wrapper.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#3f8725}.wrapper.error[_ngcontent-%COMP%]{border-top:3px solid #f44336}.wrapper.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#f44336}.wrapper.error[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#f44336}@keyframes _ngcontent-%COMP%_flyIn{0%{transform:scale(25);opacity:.5}30%{transform:rotate(-30deg)}60%{transform:rotate(30deg)}to{transform:scale(1) rotate(0);opacity:1;background-color:#fff}}@keyframes _ngcontent-%COMP%_slideIn{0%{transform:translate(20px);opacity:0}to{transform:translate(0);opacity:1}}"],changeDetection:0})}class W{constructor(ce){this.snackBar=ce}showErrorMessage(ce,_e=[],ge=5e3){this.openSnackBar({type:"error",title:ce,messages:_e,duration:ge})}showSuccessMessage(ce,_e=[],ge=5e3){this.openSnackBar({type:"success",title:ce,messages:_e,duration:ge})}openSnackBar(ce){this.snackBar.openFromComponent(ae,{duration:ce.duration,verticalPosition:"top",data:ce})}static#e=this.\u0275fac=function(_e){return new(_e||W)(p.LFG(a.ux))};static#t=this.\u0275prov=p.Yz7({token:W,factory:W.\u0275fac})}},7225:(Pt,Ve,f)=>{"use strict";f.d(Ve,{e:()=>p,v:()=>C});var a=f(5861);const p=function(){var e=(0,a.Z)(function*(ee,R,ae){if(R.value.companyIn)try{const X=yield ae.getAresData(R.value.companyIn);R.patchValue(X)}catch(X){console.error(X),ee.showErrorMessage("Firma nenalezena, zkontrolujte Va\u0161e I\u010cO.",[])}else ee.showErrorMessage("Zadejte I\u010cO",[])});return function(R,ae,X){return e.apply(this,arguments)}}(),C=(e,ee)=>{if(!e||!ee)return!1;const R=Object.keys(e),ae=Object.keys(ee);if(R.length!==ae.length)return!1;for(const X of R){const W=e[X],de=ee[X],ce=Y(W)&&Y(de);if(ce&&!C(W,de)||!ce&&W!==de)return!1}return!0};function Y(e){return null!=e&&"object"==typeof e}},2340:(Pt,Ve,f)=>{"use strict";f.d(Ve,{N:()=>a});const a={firebase:{projectId:"svobodni-donations",appId:"1:881695056817:web:82792ac4ac487e8609d390",storageBucket:"svobodni-donations.appspot.com",apiKey:"AIzaSyBDt-ZCUOwbHWU1xOFG3sKzR2gPD8aRZFc",authDomain:"svobodni-donations.firebaseapp.com",messagingSenderId:"881695056817"},production:!0,apiUrl:"https://europe-west1-svobodni-donations.cloudfunctions.net/app",stripePublic:"pk_live_51MAfYZHXilsvga6v0uhMDIS4LygnCIwcY54hXY8pXlPRJhD0nocGPBAG5q8giMp3MdHCEzBWruDgjtByUXnmb04A00LPAz6AtL"}},2328:(Pt,Ve,f)=>{"use strict";var a=f(1481),p=f(4650),C=f(9132);class Y{static#e=this.\u0275fac=function(l){return new(l||Y)};static#t=this.\u0275cmp=p.Xpm({type:Y,selectors:[["sv-not-found"]],decls:1,vars:0,template:function(l,v){1&l&&p._uU(0,"Not found\n")},encapsulation:2})}const e=[{path:"",loadChildren:()=>Promise.resolve().then(f.bind(f,1209)).then(g=>g.AuthModule),pathMatch:"full"},{path:"",loadChildren:()=>f.e(741).then(f.bind(f,1741)).then(g=>g.PublicModule)},{path:"",loadChildren:()=>f.e(348).then(f.bind(f,9348)).then(g=>g.PrivateModule)},{path:"",loadChildren:()=>Promise.resolve().then(f.bind(f,615)).then(g=>g.AdminModule)},{path:"**",component:Y}];class ee{static#e=this.\u0275fac=function(l){return new(l||ee)};static#t=this.\u0275mod=p.oAB({type:ee});static#n=this.\u0275inj=p.cJS({imports:[C.Bz.forRoot(e),C.Bz]})}var R=f(7340),ae=f(1135),X=f(7445),W=f(4526);class de{constructor(){this.isAppLoading=new ae.X(void 0)}static#e=this.\u0275fac=function(l){return new(l||de)};static#t=this.\u0275prov=p.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})}var ce=f(6895),_e=f(1572);function ge(g,u){1&g&&(p.TgZ(0,"div",1),p._UZ(1,"mat-spinner",2),p.qZA()),2&g&&p.Q6J("@fadeInOut",void 0)}class Re{constructor(u,l,v){this.breakpointsService=u,this.appStateService=l,this.router=v,this.appLoading=new ae.X(void 0),(0,X.F)(1e3).subscribe(()=>{this.appLoading.next(this.appStateService.isAppLoading.value)}),this.router.events.subscribe(O=>{O instanceof C.OD&&this.appStateService.isAppLoading.next(!0),(O instanceof C.m2||O instanceof C.gk||O instanceof C.Q3)&&this.appStateService.isAppLoading.next(!1)})}get device$(){return this.breakpointsService.device$}static#e=this.\u0275fac=function(l){return new(l||Re)(p.Y36(W.S),p.Y36(de),p.Y36(C.F0))};static#t=this.\u0275cmp=p.Xpm({type:Re,selectors:[["app-root"]],decls:5,vars:8,consts:[["id","loading",4,"ngIf"],["id","loading"],["diameter","24"]],template:function(l,v){1&l&&(p.YNc(0,ge,2,1,"div",0),p.ALo(1,"async"),p.TgZ(2,"div"),p.ALo(3,"async"),p._UZ(4,"router-outlet"),p.qZA()),2&l&&(p.Q6J("ngIf",p.lcZ(1,4,v.appLoading)),p.xp6(2),p.Gre("mat-app-background ",p.lcZ(3,6,v.device$),""))},dependencies:[ce.O5,C.lC,_e.Ou,ce.Ov],styles:["#loading{height:100%;position:absolute;width:100%;background:rgba(0,0,0,.75);z-index:20;display:flex;align-items:center;justify-content:center}#loading .mat-progress-spinner circle,#loading .mat-spinner circle{stroke:#fff}\n"],encapsulation:2,data:{animation:[(0,R.X$)("fadeInOut",[(0,R.eR)(":enter",[(0,R.oB)({opacity:0}
1),(0,R.jt)(200,(0,R.oB)({opacity:1}))]),(0,R.eR)(":leave",[(0,R.jt)(200,(0,R.oB)({opacity:0}))])])]}})}function fe(g){return new p.vHH(3e3,!1)}function z(){return typeof window<"u"&&typeof window.document<"u"}function Te(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function xe(g){switch(g.length){case 0:return new R.ZN;case 1:return g[0];default:return new R.ZE(g)}}function T(g,u,l,v,O=new Map,he=new Map){const Fe=[],Je=[];let Dt=-1,$t=null;if(v.forEach(rn=>{const Qt=rn.get("offset"),Sn=Qt==Dt,vn=Sn&&$t||new Map;rn.forEach((Dn,Rn)=>{let Qn=Rn,ci=Dn;if("offset"!==Rn)switch(Qn=u.normalizePropertyName(Qn,Fe),ci){case R.k1:ci=O.get(Rn);break;case R.l3:ci=he.get(Rn);break;default:ci=u.normalizeStyleValue(Rn,Qn,ci,Fe)}vn.set(Qn,ci)}),Sn||Je.push(vn),$t=vn,Dt=Qt}),Fe.length)throw function je(g){return new p.vHH(3502,!1)}();return Je}function re(g,u,l,v){switch(u){case"start":g.onStart(()=>v(l&&Oe(l,"start",g)));break;case"done":g.onDone(()=>v(l&&Oe(l,"done",g)));break;case"destroy":g.onDestroy(()=>v(l&&Oe(l,"destroy",g)))}}function Oe(g,u,l){const he=nt(g.element,g.triggerName,g.fromState,g.toState,u||g.phaseName,l.totalTime??g.totalTime,!!l.disabled),Fe=g._data;return null!=Fe&&(he._data=Fe),he}function nt(g,u,l,v,O="",he=0,Fe){return{element:g,triggerName:u,fromState:l,toState:v,phaseName:O,totalTime:he,disabled:!!Fe}}function vt(g,u,l){let v=g.get(u);return v||g.set(u,v=l),v}function Rt(g){const u=g.indexOf(":");return[g.substring(1,u),g.slice(u+1)]}let Vt=(g,u)=>!1,Gt=(g,u,l)=>[],Zt=null;function ut(g){const u=g.parentNode||g.host;return u===Zt?null:u}(Te()||typeof Element<"u")&&(z()?(Zt=(()=>document.documentElement)(),Vt=(g,u)=>{for(;u;){if(u===g)return!0;u=ut(u)}return!1}):Vt=(g,u)=>g.contains(u),Gt=(g,u,l)=>{if(l)return Array.from(g.querySelectorAll(u));const v=g.querySelector(u);return v?[v]:[]});let Ot=null,fn=!1;const Vn=Vt,kt=Gt;let Me=(()=>{class g{validateStyleProperty(l){return function dn(g){Ot||(Ot=function En(){return typeof document<"u"?document.body:null}()||{},fn=!!Ot.style&&"WebkitAppearance"in Ot.style);let u=!0;return Ot.style&&!function bt(g){return"ebkit"==g.substring(1,6)}(g)&&(u=g in Ot.style,!u&&fn&&(u="Webkit"+g.charAt(0).toUpperCase()+g.slice(1)in Ot.style)),u}(l)}matchesElement(l,v){return!1}containsElement(l,v){return Vn(l,v)}getParentElement(l){return ut(l)}query(l,v,O){return kt(l,v,O)}computeStyle(l,v,O){return O||""}animate(l,v,O,he,Fe,Je=[],Dt){return new R.ZN(O,he)}}return g.\u0275fac=function(l){return new(l||g)},g.\u0275prov=p.Yz7({token:g,factory:g.\u0275fac}),g})(),le=(()=>{class g{}return g.NOOP=new Me,g})();const ie="ng-enter",we="ng-leave",Qe="ng-trigger",Ct=".ng-trigger",mt="ng-animating",sn=".ng-animating";function An(g){if("number"==typeof g)return g;const u=g.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:In(parseFloat(u[1]),u[2])}function In(g,u){return"s"===u?1e3*g:g}function Fn(g,u,l){return g.hasOwnProperty("duration")?g:function ln(g,u,l){let O,he=0,Fe="";if("string"==typeof g){const Je=g.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Je)return u.push(fe()),{duration:0,delay:0,easing:""};O=In(parseFloat(Je[1]),Je[2]);const Dt=Je[3];null!=Dt&&(he=In(parseFloat(Dt),Je[4]));const $t=Je[5];$t&&(Fe=$t)}else O=g;if(!l){let Je=!1,Dt=u.length;
1O<0&&(u.push(function ue(){return new p.vHH(3100,!1)}()),Je=!0),he<0&&(u.push(function be(){return new p.vHH(3101,!1)}()),Je=!0),Je&&u.splice(Dt,0,fe())}return{duration:O,delay:he,easing:Fe}}(g,u,l)}function ct(g,u={}){return Object.keys(g).forEach(l=>{u[l]=g[l]}),u}function rt(g){const u=new Map;return Object.keys(g).forEach(l=>{u.set(l,g[l])}),u}function Ht(g,u=new Map,l){if(l)for(let[v,O]of l)u.set(v,O);for(let[v,O]of g)u.set(v,O);return u}function xn(g,u,l){return l?u+":"+l+";":""}function Hn(g){let u="";for(let l=0;l<g.style.length;l++){const v=g.style.item(l);u+=xn(0,v,g.style.getPropertyValue(v))}for(const l in g.style)g.style.hasOwnProperty(l)&&!l.startsWith("_")&&(u+=xn(0,Ci(l),g.style[l]));g.setAttribute("style",u)}function Zn(g,u,l){g.style&&(u.forEach((v,O)=>{const he=qn(O);l&&!l.has(O)&&l.set(O,g.style[he]),g.style[he]=v}),Te()&&Hn(g))}function li(g,u){g.style&&(u.forEach((l,v)=>{const O=qn(v);g.style[O]=""}),Te()&&Hn(g))}function Zi(g){return Array.isArray(g)?1==g.length?g[0]:(0,R.vP)(g):g}const er=new RegExp("{{\\s*(.+?)\\s*}}","g");function $r(g){let u=[];if("string"==typeof g){let l;for(;l=er.exec(g);)u.push(l[1]);er.lastIndex=0}return u}function kr(g,u,l){const v=g.toString(),O=v.replace(er,(he,Fe)=>{let Je=u[Fe];return null==Je&&(l.push(function j(g){return new p.vHH(3003,!1)}()),Je=""),Je.toString()});return O==v?g:O}function or(g){const u=[];let l=g.next();for(;!l.done;)u.push(l.value),l=g.next();return u}const Br=/-+([a-z0-9])/g;function qn(g){return g.replace(Br,(...u)=>u[1].toUpperCase())}function Ci(g){return g.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function St(g,u,l){switch(u.type){case 7:return g.visitTrigger(u,l);case 0:return g.visitState(u,l);case 1:return g.visitTransition(u,l);case 2:return g.visitSequence(u,l);case 3:return g.visitGroup(u,l);case 4:return g.visitAnimate(u,l);case 5:return g.visitKeyframes(u,l);case 6:return g.visitStyle(u,l);case 8:return g.visitReference(u,l);case 9:return g.visitAnimateChild(u,l);case 10:return g.visitAnimateRef(u,l);case 11:return g.visitQuery(u,l);case 12:return g.visitStagger(u,l);default:throw function ne(g){return new p.vHH(3004,!1)}()}}function A(g,u){return window.getComputedStyle(g)[u]}function Fi(g,u){const l=[];return"string"==typeof g?g.split(/\s*,\s*/).forEach(v=>function Ni(g,u,l){if(":"==g[0]){const Dt=function Yn(g,u){switch(g){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,v)=>parseFloat(v)>parseFloat(l);case":decrement":return(l,v)=>parseFloat(v)<parseFloat(l);default:return u.push(function Lt(g){return new p.vHH(3016,!1)}()),"* => *"}}(g,l);if("function"==typeof Dt)return void u.push(Dt);g=Dt}const v=g.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==v||v.length<4)return l.push(function Yt(g){return new p.vHH(3015,!1)}()),u;const O=v[1],he=v[2],Fe=v[3];u.push(Uo(O,Fe));"<"==he[0]&&!("*"==O&&"*"==Fe)&&u.push(Uo(Fe,O))}(v,l,u)):l.push(g),l}const ar=new Set(["true","1"]),Gr=new Set(["false","0"]);function Uo(g,u){const l=ar.has(g)||Gr.has(g),v=ar.has(u)||Gr.has(u);return(O,he)=>{let Fe="*"==g||g==O,Je="*"==u||u==he;return!Fe&&l&&"boolean"==typeof O&&(Fe=O?ar.has(g):Gr.has(g)),!Je&&v&&"boolean"==typeof he&&(Je=he?ar.has(u):Gr.has(u)),Fe&&Je}}const sr=new RegExp("s*:selfs*,?","g");function Tr(g,u,l,v){return new xr(g).build(u,l,v)}class xr{constructor(u){this._driver=u}build(u,l,v){const O=new pi(l);return this._resetContextStyleTimingState(O),St(this,Zi(u),O)}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles=new Map,u.collectedStyles.set("",new Map),u.currentTime=0}visitTrigger(u,l){let v=l.queryCount=0,O=l.depCount=0;const he=[],Fe=[];return"@"==u.name.charAt(0)&&l.errors.push(function Ue(){return new p.vHH(3006,!1)}()),u.definitions.forEach(Je=>{if(this._resetContextStyleTimingState(l),0==Je.type){const Dt=Je,$t=Dt.name;$t.toString().split(/\s*,\s*/).forEach(rn=>{Dt.name=rn,he.push(this.visitState(Dt,l))}),Dt.name=$t}else if(1==Je.type){const Dt=this.visitTransition(Je,l);v+=Dt.queryCount,O+=Dt.depCount,Fe.push(Dt)}else l.errors.push(function V(){return new p.vHH(3007,!1)}())}),{type:7,name:u.name,states:he,transitions:Fe,queryCount:v,depCount:O,options:null}}visitState(u,l){const v=this.visitStyle(u.styles,l),O=u.options&&u.options.params||null;if(v.containsDynamicStyles){const he=new Set,Fe=O||{};
vendor: 15,311 bytes, line 1
1v.styles.forEach(Je=>{Je instanceof Map&&Je.forEach(Dt=>{$r(Dt).forEach($t=>{Fe.hasOwnProperty($t)||he.add($t)})})}),he.size&&(or(he.values()),l.errors.push(function He(g,u){return new p.vHH(3008,!1)}()))}return{type:0,name:u.name,style:v,options:O?{params:O}:null}}visitTransition(u,l){l.queryCount=0,l.depCount=0;const v=St(this,Zi(u.animation),l);return{type:1,matchers:Fi(u.expr,l.errors),animation:v,queryCount:l.queryCount,depCount:l.depCount,options:Di(u.options)}}visitSequence(u,l){return{type:2,steps:u.steps.map(v=>St(this,v,l)),options:Di(u.options)}}visitGroup(u,l){const v=l.currentTime;let O=0;const he=u.steps.map(Fe=>{l.currentTime=v;const Je=St(this,Fe,l);return O=Math.max(O,l.currentTime),Je});return l.currentTime=O,{type:3,steps:he,options:Di(u.options)}}visitAnimate(u,l){const v=function Ir(g,u){if(g.hasOwnProperty("duration"))return g;if("number"==typeof g)return qi(Fn(g,u).duration,0,"");const l=g;if(l.split(/\s+/).some(he=>"{"==he.charAt(0)&&"{"==he.charAt(1))){const he=qi(0,0,"");return he.dynamic=!0,he.strValue=l,he}const O=Fn(l,u);return qi(O.duration,O.delay,O.easing)}(u.timings,l.errors);l.currentAnimateTimings=v;let O,he=u.styles?u.styles:(0,R.oB)({});if(5==he.type)O=this.visitKeyframes(he,l);else{let Fe=u.styles,Je=!1;if(!Fe){Je=!0;const $t={};v.easing&&($t.easing=v.easing),Fe=(0,R.oB)($t)}l.currentTime+=v.duration+v.delay;const Dt=this.visitStyle(Fe,l);Dt.isEmptyStep=Je,O=Dt}return l.currentAnimateTimings=null,{type:4,timings:v,style:O,options:null}}visitStyle(u,l){const v=this._makeStyleAst(u,l);return this._validateStyleAst(v,l),v}_makeStyleAst(u,l){const v=[],O=Array.isArray(u.styles)?u.styles:[u.styles];for(let Je of O)"string"==typeof Je?Je===R.l3?v.push(Je):l.errors.push(new p.vHH(3002,!1)):v.push(rt(Je));let he=!1,Fe=null;return v.forEach(Je=>{if(Je instanceof Map&&(Je.has("easing")&&(Fe=Je.get("easing"),Je.delete("easing")),!he))for(let Dt of Je.values())if(Dt.toString().indexOf("{{")>=0){he=!0;break}}),{type:6,styles:v,easing:Fe,offset:u.offset,containsDynamicStyles:he,options:null}}_validateStyleAst(u,l){const v=l.currentAnimateTimings;let O=l.currentTime,he=l.currentTime;v&&he>0&&(he-=v.duration+v.delay),u.styles.forEach(Fe=>{"string"!=typeof Fe&&Fe.forEach((Je,Dt)=>{const $t=l.collectedStyles.get(l.currentQuerySelector),rn=$t.get(Dt);let Qt=!0;rn&&(he!=O&&he>=rn.startTime&&O<=rn.endTime&&(l.errors.push(function me(g,u,l,v,O){return new p.vHH(3010,!1)}()),Qt=!1),he=rn.startTime),Qt&&$t.set(Dt,{startTime:he,endTime:O}),l.options&&function rr(g,u,l){const v=u.params||{},O=$r(g);O.length&&O.forEach(he=>{v.hasOwnProperty(he)||l.push(function se(g){return new p.vHH(3001,!1)}())})}(Je,l.options,l.errors)})})}visitKeyframes(u,l){const v={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function Le(){return new p.vHH(3011,!1)}()),v;let he=0;const Fe=[];let Je=!1,Dt=!1,$t=0;const rn=u.steps.map(ci=>{const bi=this._makeStyleAst(ci,l);let Yi=null!=bi.offset?bi.offset:function yo(g){if("string"==typeof g)return null;let u=null;if(Array.isArray(g))g.forEach(l=>{if(l instanceof Map&&l.has("offset")){const v=l;u=parseFloat(v.get("offset")),v.delete("offset")}});else if(g instanceof Map&&g.has("offset")){const l=g;u=parseFloat(l.get("offset")),l.delete("offset")}return u}(bi.styles),Ri=0;return null!=Yi&&(he++,Ri=bi.offset=Yi),Dt=Dt||Ri<0||Ri>1,Je=Je||Ri<$t,$t=Ri,Fe.push(Ri),bi});Dt&&l.errors.push(function ze(){return new p.vHH(3012,!1)}()),Je&&l.errors.push(function dt(){return new p.vHH(3200,!1)}());const Qt=u.steps.length;let Sn=0;he>0&&he<Qt?l.errors.push(function qe(){return new p.vHH(3202,!1)}()):0==he&&(Sn=1/(Qt-1));const vn=Qt-1,Dn=l.currentTime,Rn=l.currentAnimateTimings,Qn=Rn.duration;return rn.forEach((ci,bi)=>{const Yi=Sn>0?bi==vn?1:Sn*bi:Fe[bi],Ri=Yi*Qn;l.currentTime=Dn+Rn.delay+Ri,Rn.duration=Ri,this._validateStyleAst(ci,l),ci.offset=Yi,v.styles.push(ci)}),v}visitReference(u,l){return{type:8,animation:St(this,Zi(u.animation),l),options:Di(u.options)}}visitAnimateChild(u,l){return l.depCount++,{type:9,options:Di(u.options)}}visitAnimateRef(u,l){return{type:10,animation:this.visitReference(u.animation,l),options:Di(u.options)}}visitQuery(u,l){const v=l.currentQuerySelector,O=u.options||{};l.queryCount++,l.currentQuery=u;const[he,Fe]=function eo(g){const u=!!g.split(/\s*,\s*/).find(l=>":self"==l);return u&&(g=g.replace(sr,"")),g=g.replace(/@\*/g,Ct).replace(/@\w+/g,l=>Ct+"-"+l.slice(1)).replace(/:animating/g,sn),[g,u]}(u.selector);l.currentQuerySelector=v.length?v+" "+he:he,vt(l.collectedStyles,l.currentQuerySelector,new Map);const Je=St(this,Zi(u.animation),l);return l.currentQuery=null,l.currentQuerySelector=v,{type:11,selector:he,limit:O.limit||0,optional:!!O.optional,includeSelf:Fe,animation:Je,originalSelector:u.selector,options:Di(u.options)}}visitStagger(u,l){l.currentQuery||l.errors.push(function Mt(){return new p.vHH(3013,!1)}());const v="full"===u.timings?{duration:0,delay:0,easing:"full"}:Fn(u.timings,l.errors,!0);return{type:12,animation:St(this,Zi(u.animation),l),timings:v,options:null}}}class pi{constructor(u){this.errors=u,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Di(g){return g?(g=ct(g)).params&&(g.params=function Li(g){return g?ct(g):null}(g.params)):g={},g}function qi(g,u,l){return{duration:g,delay:u,easing:l}}function lr(g,u,l,v,O,he,Fe=null,Je=!1){return{type:1,element:g,keyframes:u,preStyleProps:l,postStyleProps:v,duration:O,delay:he,totalTime:O+he,easing:Fe,subTimeline:Je}}class Wi{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,l){let v=this._map.get(u);v||this._map.set(u,v=[]),v.push(...l)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const yi=new RegExp(":enter","g"),To=new RegExp(":leave","g");function mr(g,u,l,v,O,he=new Map,Fe=new Map,Je,Dt,$t=[]){return(new xo).buildKeyframes(g,u,l,v,O,he,Fe,Je,Dt,$t)}class xo{buildKeyframes(u,l,v,O,he,Fe,Je,Dt,$t,rn=[]){$t=$t||new Wi;const Qt=new Io(u,l,$t,O,he,rn,[]);Qt.options=Dt;const Sn=Dt.delay?An(Dt.delay):0;Qt.currentTimeline.delayNextStep(Sn),Qt.currentTimeline.setStyles([Fe],null,Qt.errors,Dt),St(this,v,Qt);const vn=Qt.timelines.filter(Dn=>Dn.containsAnimation());if(vn.length&&Je.size){let Dn;for(let Rn=vn.length-1;Rn>=0;Rn--){const Qn=vn[Rn];if(Qn.element===l){Dn=Qn;break}}Dn&&!Dn.allowOnlyTimelineStyles()&&Dn.setStyles([Je],null,Qt.errors,Dt)}return vn.length?vn.map(Dn=>Dn.buildKeyframes()):[lr(l,[],[],[],0,Sn,"",!1)]}visitTrigger(u,l){}visitState(u,l){}visitTransition(u,l){}visitAnimateChild(u,l){const v=l.subInstructions.get(l.element);if(v){const O=l.createSubContext(u.options),he=l.currentTimeline.currentTime,Fe=this._visitSubInstructions(v,O,O.options);he!=Fe&&l.transformIntoNewTimeline(Fe)}l.previousNode=u}visitAnimateRef(u,l){const v=l.createSubContext(u.options);v.transformIntoNewTimeline(),this._applyAnimationRefDelays([u.options,u.animation.options],l,v),this.visitReference(u.animation,v),l.transformIntoNewTimeline(v.currentTimeline.currentTime),l.previousNode=u}_applyAnimationRefDelays(u,l,v){for(const O of u){const he=O?.delay;if(he){const Fe="number"==typeof he?he:An(kr(he,O?.params??{},l.errors));v.delayNextStep(Fe)}}}_visitSubInstructions(u,l,v){let he=l.currentTimeline.currentTime;const Fe=null!=v.duration?An(v.duration):null,Je=null!=v.delay?An(v.delay):null;return 0!==Fe&&u.forEach(Dt=>{const $t=l.appendInstructionToTimeline(Dt,Fe,Je);he=Math.max(he,$t.duration+$t.delay)}),he}visitReference(u,l){l.updateOptions(u.options,!0),St(this,u.animation,l),l.previousNode=u}visitSequence(u,l){const v=l.subContextCount;let O=l;const he=u.options;if(he&&(he.params||he.delay)&&(O=l.createSubContext(he),O.transformIntoNewTimeline(),null!=he.delay)){6==O.previousNode.type&&(O.currentTimeline.snapshotCurrentStyles(),O.previousNode=Ti);const Fe=An(he.delay);O.delayNextStep(Fe)}u.steps.length&&(u.steps.forEach(Fe=>St(this,Fe,O)),O.currentTimeline.applyStylesToKeyframe(),O.subContextCount>v&&O.transformIntoNewTimeline()),l.previousNode=u}visitGroup(u,l){const v=[];let O=l.currentTimeline.currentTime;const he=u.options&&u.options.delay?An(u.options.delay):0;u.steps.forEach(Fe=>{const Je=l.createSubContext(u.options);he&&Je.delayNextStep(he),St(this,Fe,Je),O=Math.max(O,Je.currentTimeline.currentTime),v.push(Je.currentTimeline)}),v.forEach(Fe=>l.currentTimeline.mergeTimelineCollectedStyles(Fe)),l.transformIntoNewTimeline(O),l.previousNode=u}_visitTiming(u,l){if(u.dynamic){const v=u.strValue;return Fn(l.params?kr(v,l.params,l.errors):v,l.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,l){const v=l.currentAnimateTimings=this._visitTiming(u.timings,l),O=l.currentTimeline;v.delay&&(l.incrementTime(v.delay),O.snapshotCurrentStyles());const he=u.style;5==he.type?this.visitKeyframes(he,l):(l.incrementTime(v.duration),this.visitStyle(he,l),O.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=u}visitStyle(u,l){const v=l.currentTimeline,O=l.currentAnimateTimings;!O&&v.hasCurrentStyleProperties()&&v.forwardFrame();const he=O&&O.easing||u.easing;u.isEmptyStep?v.applyEmptyStep(he):v.setStyles(u.styles,he,l.errors,l.options),l.previousNode=u}visitKeyframes(u,l){const v=l.currentAnimateTimings,O=l.currentTimeline.duration,he=v.duration,Je=l.createSubContext().currentTimeline;Je.easing=v.easing,u.styles.forEach(Dt=>{Je.forwardTime((Dt.offset||0)*he),Je.setStyles(Dt.styles,Dt.easing,l.errors,l.options),Je.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(Je),l.transformIntoNewTimeline(O+he),l.previousNode=u}visitQuery(u,l){const v=l.currentTimeline.currentTime,O=u.options||{},he=O.delay?An(O.delay):0;he&&(6===l.previousNode.type||0==v&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=Ti);let Fe=v;const Je=l.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!O.optional,l.errors);l.currentQueryTotal=Je.length;let Dt=null;Je.forEach(($t,rn)=>{l.currentQueryIndex=rn;const Qt=l.createSubContext(u.options,$t);he&&Qt.delayNextStep(he),$t===l.element&&(Dt=Qt.currentTimeline),St(this,u.animation,Qt),Qt.currentTimeline.applyStylesToKeyframe(),Fe=Math.max(Fe,Qt.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(Fe),Dt&&(l.currentTimeline.mergeTimelineCollectedStyles(Dt),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=u}visitStagger(u,l){const v=l.parentContext,O=l.currentTimeline,he=u.timings,Fe=Math.abs(he.duration),Je=Fe*(l.currentQueryTotal-1);let Dt=Fe*l.currentQueryIndex;switch(he.duration<0?"reverse":he.easing){case"reverse":Dt=Je-Dt;break;case"full":Dt=v.currentStaggerTime}const rn=l.currentTimeline;Dt&&rn.delayNextStep(Dt);const Qt=rn.currentTime;St(this,u.animation,l),l.previousNode=u,v.currentStaggerTime=O.currentTime-Qt+(O.startTime-v.currentTimeline.startTime)}}const Ti={};class Io{constructor(u,l,v,O,he,Fe,Je,Dt){this._driver=u,this.element=l,this.subInstructions=v,this._enterClassName=O,this._leaveClassName=he,this.errors=Fe,this.timelines=Je,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ti,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Dt||new Ur(this._driver,l,0),Je.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,l){if(!u)return;const v=u;let O=this.options;null!=v.duration&&(O.duration=An(v.duration)),null!=v.delay&&(O.delay=An(v.delay));const he=v.params;if(he){let Fe=O.params;Fe||(Fe=this.options.params={}),Object.keys(he).forEach(Je=>{(!l||!Fe.hasOwnProperty(Je))&&(Fe[Je]=kr(he[Je],Fe,this.errors))})}}_copyOptions(){const u={};if(this.options){const l=this.options.params;if(l){const v=u.params={};Object.keys(l).forEach(O=>{v[O]=l[O]})}}return u}createSubContext(u=null,l,v){const O=l||this.element,he=new Io(this._driver,O,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(O,v||0));return he.previousNode=this.previousNode,he.currentAnimateTimings=this.currentAnimateTimings,he.options=this._copyOptions(),he.updateOptions(u),he.currentQueryIndex=this.currentQueryIndex,he.currentQueryTotal=this.currentQueryTotal,he.parentContext=this,this.subContextCount++,he}transformIntoNewTimeline(u){return this.previousNode=Ti,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,l,v){const O={duration:l??u.duration,delay:this.currentTimeline.currentTime+(v??0)+u.delay,easing:""},he=new Ho(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,O,u.stretchStartingKeyframe);return this.timelines.push(he),O}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,l,v,O,he,Fe){let Je=[];if(O&&Je.push(this.element),u.length>0){u=(u=u.replace(yi,"."+this._enterClassName)).replace(To,"."+this._leaveClassName);let $t=this._driver.query(this.element,u,1!=v);0!==v&&($t=v<0?$t.slice($t.length+v,$t.length):$t.slice(0,v)),Je.push(...$t)}return!he&&0==Je.length&&Fe.push(function wt(g){return new p.vHH(3014,!1)}()),Je}}class Ur{constructor(u,l,v,O){this._driver=u,this.element=l,this.startTime=v,this._elementTimelineStylesLookup=O,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(u){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+u),l&&this.snapshotCurrentStyles()):this.startTime+=u}fork(u,l){return this.applyStylesToKeyframe(),new Ur(this._driver,u,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(u){this.applyStylesToKeyframe(),this.duration=u,this._loadKeyframe()}_updateStyle(u,l){this._localTimelineStyles.set(u,l),this._globalTimelineStyles.set(u,l),this._styleSummary.set(u,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}
1applyEmptyStep(u){u&&this._previousKeyframe.set("easing",u);for(let[l,v]of this._globalTimelineStyles)this._backFill.set(l,v||R.l3),this._currentKeyframe.set(l,R.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,l,v,O){l&&this._previousKeyframe.set("easing",l);const he=O&&O.params||{},Fe=function Or(g,u){const l=new Map;let v;return g.forEach(O=>{if("*"===O){v=v||u.keys();for(let he of v)l.set(he,R.l3)}else Ht(O,l)}),l}(u,this._globalTimelineStyles);for(let[Je,Dt]of Fe){const $t=kr(Dt,he,v);this._pendingStyles.set(Je,$t),this._localTimelineStyles.has(Je)||this._backFill.set(Je,this._globalTimelineStyles.get(Je)??R.l3),this._updateStyle(Je,$t)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((u,l)=>{this._currentKeyframe.set(l,u)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((u,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,u)}))}snapshotCurrentStyles(){for(let[u,l]of this._localTimelineStyles)this._pendingStyles.set(u,l),this._updateStyle(u,l)}
vendor: 12,808 bytes, line 1
1getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const u=[];for(let l in this._currentKeyframe)u.push(l);return u}mergeTimelineCollectedStyles(u){u._styleSummary.forEach((l,v)=>{const O=this._styleSummary.get(v);(!O||l.time>O.time)&&this._updateStyle(v,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,l=new Set,v=1===this._keyframes.size&&0===this.duration;let O=[];this._keyframes.forEach((Je,Dt)=>{const $t=Ht(Je,new Map,this._backFill);$t.forEach((rn,Qt)=>{rn===R.k1?u.add(Qt):rn===R.l3&&l.add(Qt)}),v||$t.set("offset",Dt/this.duration),O.push($t)});const he=u.size?or(u.values()):[],Fe=l.size?or(l.values()):[];if(v){const Je=O[0],Dt=new Map(Je);Je.set("offset",0),Dt.set("offset",1),O=[Je,Dt]}return lr(this.element,O,he,Fe,this.duration,this.startTime,this.easing,!1)}}class Ho extends Ur{constructor(u,l,v,O,he,Fe,Je=!1){super(u,l,Fe.delay),this.keyframes=v,this.preStyleProps=O,this.postStyleProps=he,this._stretchStartingKeyframe=Je,this.timings={duration:Fe.duration,delay:Fe.delay,easing:Fe.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:l,duration:v,easing:O}=this.timings;if(this._stretchStartingKeyframe&&l){const he=[],Fe=v+l,Je=l/Fe,Dt=Ht(u[0]);Dt.set("offset",0),he.push(Dt);const $t=Ht(u[0]);$t.set("offset",to(Je)),he.push($t);const rn=u.length-1;for(let Qt=1;Qt<=rn;Qt++){let Sn=Ht(u[Qt]);const vn=Sn.get("offset");Sn.set("offset",to((l+vn*v)/Fe)),he.push(Sn)}v=Fe,l=0,O="",u=he}return lr(this.element,u,this.preStyleProps,this.postStyleProps,v,l,O,!0)}}function to(g,u=3){const l=Math.pow(10,u-1);return Math.round(g*l)/l}class no{}const ho=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class fr extends no{normalizePropertyName(u,l){return qn(u)}normalizeStyleValue(u,l,v,O){let he="";const Fe=v.toString().trim();if(ho.has(l)&&0!==v&&"0"!==v)if("number"==typeof v)he="px";else{const Je=v.match(/^[+-]?[\d\.]+([a-z]*)$/);Je&&0==Je[1].length&&O.push(function De(g,u){return new p.vHH(3005,!1)}())}return Fe+he}}function Do(g,u,l,v,O,he,Fe,Je,Dt,$t,rn,Qt,Sn){return{type:0,element:g,triggerName:u,isRemovalTransition:O,fromState:l,fromStyles:he,toState:v,toStyles:Fe,timelines:Je,queriedElements:Dt,preStyleProps:$t,postStyleProps:rn,totalTime:Qt,errors:Sn}}const Mr={};class vr{constructor(u,l,v){this._triggerName=u,this.ast=l,this._stateStyles=v}match(u,l,v,O){return function ht(g,u,l,v,O){return g.some(he=>he(u,l,v,O))}(this.ast.matchers,u,l,v,O)}buildStyles(u,l,v){let O=this._stateStyles.get("*");return void 0!==u&&(O=this._stateStyles.get(u?.toString())||O),O?O.buildStyles(l,v):new Map}build(u,l,v,O,he,Fe,Je,Dt,$t,rn){const Qt=[],Sn=this.ast.options&&this.ast.options.params||Mr,Dn=this.buildStyles(v,Je&&Je.params||Mr,Qt),Rn=Dt&&Dt.params||Mr,Qn=this.buildStyles(O,Rn,Qt),ci=new Set,bi=new Map,Yi=new Map,Ri="void"===O,Kr={params:pt(Rn,Sn),delay:this.ast.options?.delay},yr=rn?[]:mr(u,l,this.ast.animation,he,Fe,Dn,Qn,Kr,$t,Qt);let Fr=0;if(yr.forEach(dr=>{Fr=Math.max(dr.duration+dr.delay,Fr)}),Qt.length)return Do(l,this._triggerName,v,O,Ri,Dn,Qn,[],[],bi,Yi,Fr,Qt);yr.forEach(dr=>{const Sr=dr.element,ma=vt(bi,Sr,new Set);dr.preStyleProps.forEach(Cr=>ma.add(Cr));const Qr=vt(Yi,Sr,new Set);dr.postStyleProps.forEach(Cr=>Qr.add(Cr)),Sr!==l&&ci.add(Sr)});const jr=or(ci.values());return Do(l,this._triggerName,v,O,Ri,Dn,Qn,yr,jr,bi,Yi,Fr)}}function pt(g,u){const l=ct(u);for(const v in g)g.hasOwnProperty(v)&&null!=g[v]&&(l[v]=g[v]);return l}class Tt{constructor(u,l,v){this.styles=u,this.defaultParams=l,this.normalizer=v}buildStyles(u,l){const v=new Map,O=ct(this.defaultParams);return Object.keys(u).forEach(he=>{const Fe=u[he];null!==Fe&&(O[he]=Fe)}),this.styles.styles.forEach(he=>{"string"!=typeof he&&he.forEach((Fe,Je)=>{Fe&&(Fe=kr(Fe,O,l));const Dt=this.normalizer.normalizePropertyName(Je,l);Fe=this.normalizer.normalizeStyleValue(Je,Dt,Fe,l),v.set(Dt,Fe)})}),v}}class nn{constructor(u,l,v){this.name=u,this.ast=l,this._normalizer=v,this.transitionFactories=[],this.states=new Map,l.states.forEach(O=>{this.states.set(O.name,new Tt(O.style,O.options&&O.options.params||{},v))}),On(this.states,"true","1"),On(this.states,"false","0"),l.transitions.forEach(O=>{this.transitionFactories.push(new vr(u,O,this.states))}),this.fallbackTransition=function yn(g,u,l){return new vr(g,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Fe,Je)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,l,v,O){return this.transitionFactories.find(Fe=>Fe.match(u,l,v,O))||null}matchStyles(u,l,v){return this.fallbackTransition.buildStyles(u,l,v)}}function On(g,u,l){g.has(u)?g.has(l)||g.set(l,g.get(u)):g.has(l)&&g.set(u,g.get(l))}const ti=new Wi;class Nn{constructor(u,l,v){this.bodyNode=u,this._driver=l,this._normalizer=v,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,l){const v=[],he=Tr(this._driver,l,v,[]);if(v.length)throw function Ft(g){return new p.vHH(3503,!1)}();this._animations.set(u,he)}_buildPlayer(u,l,v){const O=u.element,he=T(0,this._normalizer,0,u.keyframes,l,v);return this._driver.animate(O,he,u.duration,u.delay,u.easing,[],!0)}create(u,l,v={}){const O=[],he=this._animations.get(u);let Fe;const Je=new Map;if(he?(Fe=mr(this._driver,l,he,ie,we,new Map,new Map,v,ti,O),Fe.forEach(rn=>{const Qt=vt(Je,rn.element,new Map);rn.postStyleProps.forEach(Sn=>Qt.set(Sn,null))})):(O.push(function B(){return new p.vHH(3300,!1)}()),Fe=[]),O.length)throw function $(g){return new p.vHH(3504,!1)}();Je.forEach((rn,Qt)=>{rn.forEach((Sn,vn)=>{rn.set(vn,this._driver.computeStyle(Qt,vn,R.l3))})});const $t=xe(Fe.map(rn=>{const Qt=Je.get(rn.element);return this._buildPlayer(rn,new Map,Qt)}));return this._playersById.set(u,$t),$t.onDestroy(()=>this.destroy(u)),this.players.push($t),$t}destroy(u){const l=this._getPlayer(u);l.destroy(),this._playersById.delete(u);const v=this.players.indexOf(l);v>=0&&this.players.splice(v,1)}_getPlayer(u){const l=this._playersById.get(u);if(!l)throw function ve(g){return new p.vHH(3301,!1)}();return l}listen(u,l,v,O){const he=nt(l,"","","");return re(this._getPlayer(u),v,he,O),()=>{}}command(u,l,v,O){if("register"==v)return void this.register(u,O[0]);if("create"==v)return void this.create(u,l,O[0]||{});const he=this._getPlayer(u);switch(v){case"play":he.play();break;case"pause":he.pause();break;case"reset":he.reset();break;case"restart":he.restart();break;case"finish":he.finish();break;case"init":he.init();break;case"setPosition":he.setPosition(parseFloat(O[0]));break;case"destroy":this.destroy(u)}}}const Ki="ng-animate-queued",tr="ng-animate-disabled",Ei=[],gi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},$i={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bi="__ng_removed";class Wn{constructor(u,l=""){this.namespaceId=l;const v=u&&u.hasOwnProperty("value");if(this.value=function Oo(g){return g??null}(v?u.value:u),v){const he=ct(u);delete he.value,this.options=he}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(u){const l=u.params;if(l){const v=this.options.params;Object.keys(l).forEach(O=>{null==v[O]&&(v[O]=l[O])})}}}const di="void",Qi=new Wn(di);class cr{constructor(u,l,v){this.id=u,this.hostElement=l,this._engine=v,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,Oi(l,this._hostClassName)}listen(u,l,v,O){if(!this._triggers.has(l))throw function pe(g,u){return new p.vHH(3302,!1)}();if(null==v||0==v.length)throw function Xe(g){return new p.vHH(3303,!1)}();if(!function hn(g){return"start"==g||"done"==g}(v))throw function st(g,u){return new p.vHH(3400,!1)}();const he=vt(this._elementListeners,u,[]),Fe={name:l,phase:v,callback:O};he.push(Fe);const Je=vt(this._engine.statesByElement,u,new Map);return Je.has(l)||(Oi(u,Qe),Oi(u,Qe+"-"+l),Je.set(l,Qi)),()=>{this._engine.afterFlush(()=>{const Dt=he.indexOf(Fe);Dt>=0&&he.splice(Dt,1),this._triggers.has(l)||Je.delete(l)})}}register(u,l){return!this._triggers.has(u)&&(this._triggers.set(u,l),!0)}_getTrigger(u){const l=this._triggers.get(u);if(!l)throw function lt(g){return new p.vHH(3401,!1)}();return l}trigger(u,l,v,O=!0){const he=this._getTrigger(l),Fe=new Vi(this.id,l,u);let Je=this._engine.statesByElement.get(u);Je||(Oi(u,Qe),Oi(u,Qe+"-"+l),this._engine.statesByElement.set(u,Je=new Map));let Dt=Je.get(l);const $t=new Wn(v,this.id);if(!(v&&v.hasOwnProperty("value"))&&Dt&&$t.absorbOptions(Dt.options),Je.set(l,$t),Dt||(Dt=Qi),$t.value!==di&&Dt.value===$t.value){if(!function G(g,u){const l=Object.keys(g),v=Object.keys(u);if(l.length!=v.length)return!1;for(let O=0;O<l.length;O++){const he=l[O];if(!u.hasOwnProperty(he)||g[he]!==u[he])return!1}return!0}(Dt.params,$t.params)){const Rn=[],Qn=he.matchStyles(Dt.value,Dt.params,Rn),ci=he.matchStyles($t.value,$t.params,Rn);Rn.length?this._engine.reportError(Rn):this._engine.afterFlush(()=>{li(u,Qn),Zn(u,ci)})}return}const Sn=vt(this._engine.playersByElement,u,[]);Sn.forEach(Rn=>{Rn.namespaceId==this.id&&Rn.triggerName==l&&Rn.queued&&Rn.destroy()});let vn=he.matchTransition(Dt.value,$t.value,u,$t.params),Dn=!1;if(!vn){if(!O)return;vn=he.fallbackTransition,Dn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:l,transition:vn,fromState:Dt,toState:$t,player:Fe,isFallbackTransition:Dn}),Dn||(Oi(u,Ki),Fe.onStart(()=>{Ui(u,Ki)})),Fe.onDone(()=>{let Rn=this.players.indexOf(Fe);Rn>=0&&this.players.splice(Rn,1);const Qn=this._engine.playersByElement.get(u);if(Qn){let ci=Qn.indexOf(Fe);ci>=0&&Qn.splice(ci,1)}}),this.players.push(Fe),Sn.push(Fe),Fe}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach(l=>l.delete(u)),this._elementListeners.forEach((l,v)=>{this._elementListeners.set(v,l.filter(O=>O.name!=u))})}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);const l=this._engine.playersByElement.get(u);l&&(l.forEach(v=>v.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,l){const v=this._engine.driver.query(u,Ct,!0);v.forEach(O=>{if(O[Bi])return;const he=this._engine.fetchNamespacesByElement(O);he.size?he.forEach(Fe=>Fe.triggerLeaveAnimation(O,l,!1,!0)):this.clearElementCache(O)}),this._engine.afterFlushAnimationsDone(()=>v.forEach(O=>this.clearElementCache(O)))}triggerLeaveAnimation(u,l,v,O){const he=this._engine.statesByElement.get(u),Fe=new Map;if(he){const Je=[];if(he.forEach((Dt,$t)=>{if(Fe.set($t,Dt.value),this._triggers.has($t)){const rn=this.trigger(u,$t,di,O);rn&&Je.push(rn)}}),Je.length)return this._engine.markElementAsRemoved(this.id,u,!0,l,Fe),v&&xe(Je).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){const l=this._elementListeners.get(u),v=this._engine.statesByElement.get(u);if(l&&v){const O=new Set;l.forEach(he=>{const Fe=he.name;if(O.has(Fe))return;O.add(Fe);const Dt=this._triggers.get(Fe).fallbackTransition,$t=v.get(Fe)||Qi,rn=new Wn(di),Qt=new Vi(this.id,Fe,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:Fe,transition:Dt,fromState:$t,toState:rn,player:Qt,isFallbackTransition:!0})})}}removeNode(u,l){const v=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,l),this.triggerLeaveAnimation(u,l,!0))return;let O=!1;if(v.totalAnimations){const he=v.players.length?v.playersByQueriedElement.get(u):[];if(he&&he.length)O=!0;else{let Fe=u;for(;Fe=Fe.parentNode;)if(v.statesByElement.get(Fe)){O=!0;break}}}if(this.prepareLeaveAnimationListeners(u),O)v.markElementAsRemoved(this.id,u,!1,l);else{const he=u[Bi];(!he||he===gi)&&(v.afterFlush(()=>this.clearElementCache(u)),v.destroyInnerAnimations(u),v._onRemovalComplete(u,l))}}insertNode(u,l){Oi(u,this._hostClassName)}drainQueuedTransitions(u){const l=[];return this._queue.forEach(v=>{const O=v.player;if(O.destroyed)return;const he=v.element,Fe=this._elementListeners.get(he);Fe&&Fe.forEach(Je=>{if(Je.name==v.triggerName){const Dt=nt(he,v.triggerName,v.fromState.value,v.toState.value);Dt._data=u,re(v.player,Je.phase,Dt,Je.callback)}}),O.markedForDestroy?this._engine.afterFlush(()=>{O.destroy()}):l.push(v)}),this._queue=[],l.sort((v,O)=>{const he=v.transition.ast.depCount,Fe=O.transition.ast.depCount;return 0==he||0==Fe?he-Fe:this._engine.driver.containsElement(v.element,O.element)?1:-1})}
1destroy(u){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}elementContainsData(u){let l=!1;return this._elementListeners.has(u)&&(l=!0),l=!!this._queue.find(v=>v.element===u)||l,l}}class Eo{constructor(u,l,v){this.bodyNode=u,this.driver=l,this._normalizer=v,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(O,he)=>{}}_onRemovalComplete(u,l){this.onRemovalComplete(u,l)}get queuedPlayers(){const u=[];return this._namespaceList.forEach(l=>{l.players.forEach(v=>{v.queued&&u.push(v)})}),u}createNamespace(u,l){const v=new cr(u,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(v,l):(this.newHostElements.set(l,v),this.collectEnterElement(l)),this._namespaceLookup[u]=v}_balanceNamespaceList(u,l){const v=this._namespaceList,O=this.namespacesByHostElement;if(v.length-1>=0){let Fe=!1,Je=this.driver.getParentElement(l);for(;Je;){const Dt=O.get(Je);if(Dt){const $t=v.indexOf(Dt);v.splice($t+1,0,u),Fe=!0;break}Je=this.driver.getParentElement(Je)}Fe||v.unshift(u)}else v.push(u);return O.set(l,u),u}register(u,l){let v=this._namespaceLookup[u];return v||(v=this.createNamespace(u,l)),v}registerTrigger(u,l,v){let O=this._namespaceLookup[u];O&&O.register(l,v)&&this.totalAnimations++}destroy(u,l){if(!u)return;const v=this._fetchNamespace(u);this.afterFlush(()=>{this.namespacesByHostElement.delete(v.hostElement),delete this._namespaceLookup[u];const O=this._namespaceList.indexOf(v);O>=0&&this._namespaceList.splice(O,1)}),this.afterFlushAnimationsDone(()=>v.destroy(l))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const l=new Set,v=this.statesByElement.get(u);if(v)for(let O of v.values())if(O.namespaceId){const he=this._fetchNamespace(O.namespaceId);he&&l.add(he)}return l}trigger(u,l,v,O){if(Wr(l)){const he=this._fetchNamespace(u);if(he)return he.trigger(l,v,O),!0}return!1}insertNode(u,l,v,O){if(!Wr(l))return;const he=l[Bi];if(he&&he.setForRemoval){he.setForRemoval=!1,he.setForMove=!0;const Fe=this.collectedLeaveElements.indexOf(l);Fe>=0&&this.collectedLeaveElements.splice(Fe,1)}if(u){const Fe=this._fetchNamespace(u);Fe&&Fe.insertNode(l,v)}O&&this.collectEnterElement(l)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,l){l?this.disabledNodes.has(u)||(this.disabledNodes.add(u),Oi(u,tr)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),Ui(u,tr))}removeNode(u,l,v,O){if(Wr(l)){const he=u?this._fetchNamespace(u):null;if(he?he.removeNode(l,O):this.markElementAsRemoved(u,l,!1,O),v){const Fe=this.namespacesByHostElement.get(l);Fe&&Fe.id!==u&&Fe.removeNode(l,O)}}else this._onRemovalComplete(l,O)}markElementAsRemoved(u,l,v,O,he){this.collectedLeaveElements.push(l),l[Bi]={namespaceId:u,setForRemoval:O,hasAnimation:v,removedBeforeQueried:!1,previousTriggersValues:he}}listen(u,l,v,O,he){return Wr(l)?this._fetchNamespace(u).listen(l,v,O,he):()=>{}}_buildInstruction(u,l,v,O,he){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,v,O,u.fromState.options,u.toState.options,l,he)}destroyInnerAnimations(u){let l=this.driver.query(u,Ct,!0);l.forEach(v=>this.destroyActiveAnimationsForElement(v)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(u,sn,!0),l.forEach(v=>this.finishActiveQueriedAnimationOnElement(v)))}destroyActiveAnimationsForElement(u){const l=this.playersByElement.get(u);l&&l.forEach(v=>{v.queued?v.markedForDestroy=!0:v.destroy()})}finishActiveQueriedAnimationOnElement(u){const l=this.playersByQueriedElement.get(u);l&&l.forEach(v=>v.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return xe(this.players).onDone(()=>u());u()})}processLeaveNode(u){const l=u[Bi];if(l&&l.setForRemoval){if(u[Bi]=gi,l.namespaceId){this.destroyInnerAnimations(u);const v=this._fetchNamespace(l.namespaceId);v&&v.clearElementCache(u)}this._onRemovalComplete(u,l.setForRemoval)}u.classList?.contains(tr)&&this.markElementAsDisabled(u,!1),this.driver.query(u,".ng-animate-disabled",!0).forEac
vendor: 16,053 bytes, line 1
1h(v=>{this.markElementAsDisabled(v,!1)})}flush(u=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((v,O)=>this._balanceNamespaceList(v,O)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let v=0;v<this.collectedEnterElements.length;v++)Oi(this.collectedEnterElements[v],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const v=[];try{l=this._flushAnimations(v,u)}finally{for(let O=0;O<v.length;O++)v[O]()}}else for(let v=0;v<this.collectedLeaveElements.length;v++)this.processLeaveNode(this.collectedLeaveElements[v]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(v=>v()),this._flushFns=[],this._whenQuietFns.length){const v=this._whenQuietFns;this._whenQuietFns=[],l.length?xe(l).onDone(()=>{v.forEach(O=>O())}):v.forEach(O=>O())}}reportError(u){throw function Bt(g){return new p.vHH(3402,!1)}()}_flushAnimations(u,l){const v=new Wi,O=[],he=new Map,Fe=[],Je=new Map,Dt=new Map,$t=new Map,rn=new Set;this.disabledNodes.forEach(kn=>{rn.add(kn);const Pn=this.driver.query(kn,".ng-animate-queued",!0);for(let $n=0;$n<Pn.length;$n++)rn.add(Pn[$n])});const Qt=this.bodyNode,Sn=Array.from(this.statesByElement.keys()),vn=jo(Sn,this.collectedEnterElements),Dn=new Map;let Rn=0;vn.forEach((kn,Pn)=>{const $n=ie+Rn++;Dn.set(Pn,$n),kn.forEach(Un=>Oi(Un,$n))});const Qn=[],ci=new Set,bi=new Set;for(let kn=0;kn<this.collectedLeaveElements.length;kn++){const Pn=this.collectedLeaveElements[kn],$n=Pn[Bi];$n&&$n.setForRemoval&&(Qn.push(Pn),ci.add(Pn),$n.hasAnimation?this.driver.query(Pn,".ng-star-inserted",!0).forEach(Un=>ci.add(Un)):bi.add(Pn))}const Yi=new Map,Ri=jo(Sn,Array.from(ci));Ri.forEach((kn,Pn)=>{const $n=we+Rn++;Yi.set(Pn,$n),kn.forEach(Un=>Oi(Un,$n))}),u.push(()=>{vn.forEach((kn,Pn)=>{const $n=Dn.get(Pn);kn.forEach(Un=>Ui(Un,$n))}),Ri.forEach((kn,Pn)=>{const $n=Yi.get(Pn);kn.forEach(Un=>Ui(Un,$n))}),Qn.forEach(kn=>{this.processLeaveNode(kn)})});const Kr=[],yr=[];for(let kn=this._namespaceList.length-1;kn>=0;kn--)this._namespaceList[kn].drainQueuedTransitions(l).forEach($n=>{const Un=$n.player,nr=$n.element;if(Kr.push(Un),this.collectedEnterElements.length){const Gi=nr[Bi];if(Gi&&Gi.setForMove){if(Gi.previousTriggersValues&&Gi.previousTriggersValues.has($n.triggerName)){const Nr=Gi.previousTriggersValues.get($n.triggerName),Si=this.statesByElement.get($n.element);if(Si&&Si.has($n.triggerName)){const ir=Si.get($n.triggerName);ir.value=Nr,Si.set($n.triggerName,ir)}}return void Un.destroy()}}const Dr=!Qt||!this.driver.containsElement(Qt,nr),ur=Yi.get(nr),zr=Dn.get(nr),mi=this._buildInstruction($n,v,zr,ur,Dr);if(mi.errors&&mi.errors.length)return void yr.push(mi);if(Dr)return Un.onStart(()=>li(nr,mi.fromStyles)),Un.onDestroy(()=>Zn(nr,mi.toStyles)),void O.push(Un);if($n.isFallbackTransition)return Un.onStart(()=>li(nr,mi.fromStyles)),Un.onDestroy(()=>Zn(nr,mi.toStyles)),void O.push(Un);const No=[];mi.timelines.forEach(Gi=>{Gi.stretchStartingKeyframe=!0,this.disabledNodes.has(Gi.element)||No.push(Gi)}),mi.timelines=No,v.append(nr,mi.timelines),Fe.push({instruction:mi,player:Un,element:nr}),mi.queriedElements.forEach(Gi=>vt(Je,Gi,[]).push(Un)),mi.preStyleProps.forEach((Gi,Nr)=>{if(Gi.size){let Si=Dt.get(Nr);Si||Dt.set(Nr,Si=new Set),Gi.forEach((ir,fa)=>Si.add(fa))}}),mi.postStyleProps.forEach((Gi,Nr)=>{let Si=$t.get(Nr);Si||$t.set(Nr,Si=new Set),Gi.forEach((ir,fa)=>Si.add(fa))})});if(yr.length){const kn=[];yr.forEach(Pn=>{kn.push(function te(g,u){return new p.vHH(3505,!1)}())}),Kr.forEach(Pn=>Pn.destroy()),this.reportError(kn)}const Fr=new Map,jr=new Map;Fe.forEach(kn=>{const Pn=kn.element;v.has(Pn)&&(jr.set(Pn,Pn),this._beforeAnimationBuild(kn.player.namespaceId,kn.instruction,Fr))}),O.forEach(kn=>{const Pn=kn.element;this._getPreviousPlayers(Pn,!1,kn.namespaceId,kn.triggerName,null).forEach(Un=>{vt(Fr,Pn,[]).push(Un),Un.destroy()})});const dr=Qn.filter(kn=>H(kn,Dt,$t)),Sr=new Map;ba(Sr,this.driver,bi,$t,R.l3).forEach(kn=>{H(kn,Dt,$t)&&dr.push(kn)});const Qr=new Map;vn.forEach((kn,Pn)=>{ba(Qr,this.driver,new Set(kn),Dt,R.k1)}),dr.forEach(kn=>{const Pn=Sr.get(kn),$n=Qr.get(kn);Sr.set(kn,new Map([...Array.from(Pn?.entries()??[]),...Array.from($n?.entries()??[])]))});const Cr=[],Zo=[],Fo={};Fe.forEach(kn=>{const{element:Pn,player:$n,instruction:Un}=kn;if(v.has(Pn)){if(rn.has(Pn))return $n.onDestroy(()=>Zn(Pn,Un.toStyles)),$n.disabled=!0,$n.overrideTotalTime(Un.totalTime),void O.push($n);let nr=Fo;if(jr.size>1){let ur=Pn;const zr=[];for(;ur=ur.parentNode;){const mi=jr.get(ur);if(mi){nr=mi;break}zr.push(ur)}zr.forEach(mi=>jr.set(mi,nr))}const Dr=this._buildAnimation($n.namespaceId,Un,Fr,he,Qr,Sr);if($n.setRealPlayer(Dr),nr===Fo)Cr.push($n);else{const ur=this.playersByElement.get(nr);ur&&ur.length&&($n.parentPlayer=xe(ur)),O.push($n)}}else li(Pn,Un.fromStyles),$n.onDestroy(()=>Zn(Pn,Un.toStyles)),Zo.push($n),rn.has(Pn)&&O.push($n)}),Zo.forEach(kn=>{const Pn=he.get(kn.element);if(Pn&&Pn.length){const $n=xe(Pn);kn.setRealPlayer($n)}}),O.forEach(kn=>{kn.parentPlayer?kn.syncPlayerEvents(kn.parentPlayer):kn.destroy()});for(let kn=0;kn<Qn.length;kn++){const Pn=Qn[kn],$n=Pn[Bi];if(Ui(Pn,we),$n&&$n.hasAnimation)continue;let Un=[];if(Je.size){let Dr=Je.get(Pn);Dr&&Dr.length&&Un.push(...Dr);let ur=this.driver.query(Pn,sn,!0);for(let zr=0;zr<ur.length;zr++){let mi=Je.get(ur[zr]);mi&&mi.length&&Un.push(...mi)}}const nr=Un.filter(Dr=>!Dr.destroyed);nr.length?Ko(this,Pn,nr):this.processLeaveNode(Pn)}return Qn.length=0,Cr.forEach(kn=>{this.players.push(kn),kn.onDone(()=>{kn.destroy();const Pn=this.players.indexOf(kn);this.players.splice(Pn,1)}),kn.play()}),Cr}elementContainsData(u,l){let v=!1;const O=l[Bi];return O&&O.setForRemoval&&(v=!0),this.playersByElement.has(l)&&(v=!0),this.playersByQueriedElement.has(l)&&(v=!0),this.statesByElement.has(l)&&(v=!0),this._fetchNamespace(u).elementContainsData(l)||v}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,l,v,O,he){let Fe=[];if(l){const Je=this.playersByQueriedElement.get(u);Je&&(Fe=Je)}else{const Je=this.playersByElement.get(u);if(Je){const Dt=!he||he==di;Je.forEach($t=>{$t.queued||!Dt&&$t.triggerName!=O||Fe.push($t)})}}return(v||O)&&(Fe=Fe.filter(Je=>!(v&&v!=Je.namespaceId||O&&O!=Je.triggerName))),Fe}_beforeAnimationBuild(u,l,v){const he=l.element,Fe=l.isRemovalTransition?void 0:u,Je=l.isRemovalTransition?void 0:l.triggerName;for(const Dt of l.timelines){const $t=Dt.element,rn=$t!==he,Qt=vt(v,$t,[]);this._getPreviousPlayers($t,rn,Fe,Je,l.toState).forEach(vn=>{const Dn=vn.getRealPlayer();Dn.beforeDestroy&&Dn.beforeDestroy(),vn.destroy(),Qt.push(vn)})}li(he,l.fromStyles)}_buildAnimation(u,l,v,O,he,Fe){const Je=l.triggerName,Dt=l.element,$t=[],rn=new Set,Qt=new Set,Sn=l.timelines.map(Dn=>{const Rn=Dn.element;rn.add(Rn);const Qn=Rn[Bi];if(Qn&&Qn.removedBeforeQueried)return new R.ZN(Dn.duration,Dn.delay);const ci=Rn!==Dt,bi=function zo(g){const u=[];return Qo(g,u),u}((v.get(Rn)||Ei).map(Fr=>Fr.getRealPlayer())).filter(Fr=>!!Fr.element&&Fr.element===Rn),Yi=he.get(Rn),Ri=Fe.get(Rn),Kr=T(0,this._normalizer,0,Dn.keyframes,Yi,Ri),yr=this._buildPlayer(Dn,Kr,bi);if(Dn.subTimeline&&O&&Qt.add(Rn),ci){const Fr=new Vi(u,Je,Rn);Fr.setRealPlayer(yr),$t.push(Fr)}return yr});$t.forEach(Dn=>{vt(this.playersByQueriedElement,Dn.element,[]).push(Dn),Dn.onDone(()=>function Mi(g,u,l){let v=g.get(u);if(v){if(v.length){const O=v.indexOf(l);v.splice(O,1)}0==v.length&&g.delete(u)}return v}(this.playersByQueriedElement,Dn.element,Dn))}),rn.forEach(Dn=>Oi(Dn,mt));const vn=xe(Sn);return vn.onDestroy(()=>{rn.forEach(Dn=>Ui(Dn,mt)),Zn(Dt,l.toStyles)}),Qt.forEach(Dn=>{vt(O,Dn,[]).push(vn)}),vn}_buildPlayer(u,l,v){return l.length>0?this.driver.animate(u.element,l,u.duration,u.delay,u.easing,v):new R.ZN(u.duration,u.delay)}}class Vi{constructor(u,l,v){this.namespaceId=u,this.triggerName=l,this.element=v,this._player=new R.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,this._queuedCallbacks.forEach((l,v)=>{l.forEach(O=>re(u,v,void 0,O))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){const l=this._player;l.triggerCallback&&u.onStart(()=>l.triggerCallback("start")),u.onDone(()=>this.finish()),u.onDestroy(()=>this.destroy())}_queueEvent(u,l){vt(this._queuedCallbacks,u,[]).push(l)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){const l=this._player;l.triggerCallback&&l.triggerCallback(u)}}function Wr(g){return g&&1===g.nodeType}function Ii(g,u){const l=g.style.display;return g.style.display=u??"none",l}function ba(g,u,l,v,O){const he=[];l.forEach(Dt=>he.push(Ii(Dt)));const Fe=[];v.forEach((Dt,$t)=>{const rn=new Map;Dt.forEach(Qt=>{const Sn=u.computeStyle($t,Qt,O);rn.set(Qt,Sn),(!Sn||0==Sn.length)&&($t[Bi]=$i,Fe.push($t))}),g.set($t,rn)});let Je=0;return l.forEach(Dt=>Ii(Dt,he[Je++])),Fe}function jo(g,u){const l=new Map;if(g.forEach(Je=>l.set(Je,[])),0==u.length)return l;const O=new Set(u),he=new Map;function Fe(Je){if(!Je)return 1;let Dt=he.get(Je);if(Dt)return Dt;const $t=Je.parentNode;return Dt=l.has($t)?$t:O.has($t)?1:Fe($t),he.set(Je,Dt),Dt}return u.forEach(Je=>{const Dt=Fe(Je);1!==Dt&&l.get(Dt).push(Je)}),l}function Oi(g,u){g.classList?.add(u)}function Ui(g,u){g.classList?.remove(u)}function Ko(g,u,l){xe(l).onDone(()=>g.processLeaveNode(u))}function Qo(g,u){for(let l=0;l<g.length;l++){const v=g[l];v instanceof R.ZE?Qo(v.players,u):u.push(v)}}function H(g,u,l){const v=l.get(g);if(!v)return!1;let O=u.get(g);return O?v.forEach(he=>O.add(he)):u.set(g,v),l.delete(g),!0}class P{constructor(u,l,v){this.bodyNode=u,this._driver=l,this._normalizer=v,this._triggerCache={},this.onRemovalComplete=(O,he)=>{},this._transitionEngine=new Eo(u,l,v),this._timelineEngine=new Nn(u,l,v),this._transitionEngine.onRemovalComplete=(O,he)=>this.onRemovalComplete(O,he)}registerTrigger(u,l,v,O,he){const Fe=u+"-"+O;let Je=this._triggerCache[Fe];if(!Je){const Dt=[],rn=Tr(this._driver,he,Dt,[]);if(Dt.length)throw function Ge(g,u){return new p.vHH(3404,!1)}();Je=function Kt(g,u,l){return new nn(g,u,l)}(O,rn,this._normalizer),this._triggerCache[Fe]=Je}this._transitionEngine.registerTrigger(l,O,Je)}register(u,l){this._transitionEngine.register(u,l)}destroy(u,l){this._transitionEngine.destroy(u,l)}onInsert(u,l,v,O){this._transitionEngine.insertNode(u,l,v,O)}onRemove(u,l,v,O){this._transitionEngine.removeNode(u,l,O||!1,v)}disableAnimations(u,l){this._transitionEngine.markElementAsDisabled(u,l)}process(u,l,v,O){if("@"==v.charAt(0)){const[he,Fe]=Rt(v);this._timelineEngine.command(he,l,Fe,O)}else this._transitionEngine.trigger(u,l,v,O)}listen(u,l,v,O,he){if("@"==v.charAt(0)){const[Fe,Je]=Rt(v);return this._timelineEngine.listen(Fe,l,Je,he)}return this._transitionEngine.listen(u,l,v,O,he)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Ut=(()=>{class g{constructor(l,v,O){this._element=l,this._startStyles=v,this._endStyles=O,this._state=0;let he=g.initialStylesByElement.get(l);he||g.initialStylesByElement.set(l,he=new Map),this._initialStyles=he}start(){this._state<1&&(this._startStyles&&Zn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Zn(this._element,this._initialStyles),this._endStyles&&(Zn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(g.initialStylesByElement.delete(this._element),this._startStyles&&(li(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(li(this._element,this._endStyles),this._endStyles=null),Zn(this._element,this._initialStyles),this._state=3)}}return g.initialStylesByElement=new WeakMap,g})();function mn(g){let u=null;return g.forEach((l,v)=>{(function Hi(g){return"display"===g||"position"===g})(v)&&(u=u||new Map,u.set(v,l))}),u}class Rr{constructor(u,l,v,O){this.element=u,this.keyframes=l,this.options=v,this._specialStyles=O,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=v.duration,this._delay=v.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(u){const l=[];return u.forEach(v=>{l.push(Object.fromEntries(v))}),l}_triggerWebAnimation(u,l,v){return u.animate(this._convertKeyframesToObject(l),v)}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(u=>u()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}setPosition(u){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const u=new Map;this.hasStarted()&&this._finalKeyframe.forEach((v,O)=>{"offset"!==O&&u.set(O,this._finished?v:A(this.element,O))}),this.currentSnapshot=u}triggerCallback(u){const l="start"===u?this._onStartFns:this._onDoneFns;l.forEach(v=>v()),l.length=0}}class mo{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}matchesElement(u,l){return!1}containsElement(u,l){return Vn(u,l)}getParentElement(u){return ut(u)}query(u,l,v){return kt(u,l,v)}computeStyle(u,l,v){return window.getComputedStyle(u)[l]}animate(u,l,v,O,he,Fe=[]){const Dt={duration:v,delay:O,fill:0==O?"both":"forwards"};he&&(Dt.easing=he);const $t=new Map,rn=Fe.filter(vn=>vn instanceof Rr);(function Pi(g,u){return 0===g||0===u}
1)(v,O)&&rn.forEach(vn=>{vn.currentSnapshot.forEach((Dn,Rn)=>$t.set(Rn,Dn))});let Qt=function Ke(g){return g.length?g[0]instanceof Map?g:g.map(u=>rt(u)):[]}(l).map(vn=>Ht(vn));Qt=function it(g,u,l){if(l.size&&u.length){let v=u[0],O=[];if(l.forEach((he,Fe)=>{v.has(Fe)||O.push(Fe),v.set(Fe,he)}),O.length)for(let he=1;he<u.length;he++){let Fe=u[he];O.forEach(Je=>Fe.set(Je,A(g,Je)))}}return u}(u,Qt,$t);const Sn=function ye(g,u){let l=null,v=null;return Array.isArray(u)&&u.length?(l=mn(u[0]),u.length>1&&(v=mn(u[u.length-1]))):u instanceof Map&&(l=mn(u)),l||v?new Ut(g,l,v):null}(u,Qt);return new Rr(u,Qt,Dt,Sn)}}let Ro=(()=>{class g extends R._j{constructor(l,v){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(v.body,{id:"0",encapsulation:p.ifc.None,styles:[],data:{animation:[]}})}build(l){const v=this._nextAnimationId.toString();this._nextAnimationId++;const O=Array.isArray(l)?(0,R.vP)(l):l;return en(this._renderer,null,v,"register",[O]),new da(v,this._renderer)}}return g.\u0275fac=function(l){return new(l||g)(p.LFG(p.FYo),p.LFG(ce.K0))},g.\u0275prov=p.Yz7({token:g,factory:g.\u0275fac}),g})();class da extends R.LC{constructor(u,l){super(),this._id=u,this._renderer=l}create(u,l){return new Va(this._id,u,l||{},this._renderer)}}class Va{constructor(u,l,v,O){this.id=u,this.element=l,this._renderer=O,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",v)}_listen(u,l){return this._renderer.listen(this.element,`@@${this.id}:${u}`,l)}_command(u,...l){return en(this._renderer,this.element,this.id,u,l)}onDone(u){this._listen("done",u)}onStart(u){this._listen("start",u)}onDestroy(u){this._listen("destroy",u)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(u){this._command("setPosition",u)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function en(g,u,l,v,O){return g.setProperty(u,`@@${l}:${v}`,O)}const Yo="@.disabled";let Ji=(()=>{class g{constructor(l,v,O){this.delegate=l,this.engine=v,this._zone=O,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),v.onRemovalComplete=(he,Fe)=>{const Je=Fe?.parentNode(he);Je&&Fe.removeChild(Je,he)}}createRenderer(l,v){const he=this.delegate.createRenderer(l,v);if(!(l&&v&&v.data&&v.data.animation)){let rn=this._rendererCache.get(he);return rn||(rn=new Ai("",he,this.engine,()=>this._rendererCache.delete(he)),this._rendererCache.set(he,rn)),rn}const Fe=v.id,Je=v.id+"-"+this._currentId;this._currentId++,this.engine.register(Je,l);const Dt=rn=>{Array.isArray(rn)?rn.forEach(Dt):this.engine.registerTrigger(Fe,Je,l,rn.name,rn)};return v.data.animation.forEach(Dt),new fo(this,Je,he,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,v,O){l>=0&&l<this._microtaskId?this._zone.run(()=>v(O)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(he=>{const[Fe,Je]=he;Fe(Je)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([v,O]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return g.\u0275fac=function(l){return new(l||g)(p.LFG(p.FYo),p.LFG(P),p.LFG(p.R0b))},g.\u0275prov=p.Yz7({token:g,factory:g.\u0275fac}),g})();class Ai{constructor(u,l,v,O){this.namespaceId=u,this.delegate=l,this.engine=v,this._onDestroy=O,this.destroyNode=this.delegate.destroyNode?he=>l.destroyNode(he):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(u,l){return this.delegate.createElement(u,l)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,l){this.delegate.appendChild(u,l),this.engine.onInsert(this.namespaceId,l,u,!1)}insertBefore(u,l,v,O=!0){this.delegate.insertBefore(u,l,v),this.engine.onInsert(this.namespaceId,l,u,O)}removeChild(u,l,v){this.engine.onRemove(this.namespaceId,l,this.delegate,v)}selectRootElement(u,l){return this.delegate.selectRootElement(u,l)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,l,v,O){this.delegate.setAttribute(u,l,v,O)}removeAttribute(u,l,v){this.delegate.removeAttribute(u,l,v)}addClass(u,l){this.delegate.addClass(u,l)}removeClass(u,l){this.delegate.removeClass(u,l)}setStyle(u,l,v,O){this.delegate.setStyle(u,l,v,O)}removeStyle(u,l,v){this.delegate.removeStyle(u,l,v)}setProperty(u,l,v){"@"==l.charAt(0)&&l==Yo?this.disableAnimations(u,!!v):this.delegate.setProperty(u,l,v)}setValue(u,l){this.delegate.setValue(u,l)}listen(u,l,v){return this.delegate.listen(u,l,v)}disableAnimations(u,l){this.engine.disableAnimations(u,l)}}class fo extends Ai{constructor(u,l,v,O,he){super(l,v,O,he),this.factory=u,this.namespaceId=l}setProperty(u,l,v){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Yo?this.disableAnimations(u,v=void 0===v||!!v):this.engine.process(this.namespaceId,u,l.slice(1),v):this.delegate.setProperty(u,l,v)}listen(u,l,v){if("@"==l.charAt(0)){const O=function po(g){switch(g){case"body":return document.body;case"document":return document;case"window":return window;default:return g}}(u);let he=l.slice(1),Fe="";return"@"!=he.charAt(0)&&([he,Fe]=function wr(g){const u=g.indexOf(".");return[g.substring(0,u),g.slice(u+1)]}(he)),this.engine.listen(this.namespaceId,O,he,Fe,Je=>{this.factory.scheduleListenerCallback(Je._data||-1,v,Je)})}return this.delegate.listen(u,l,v)}}const _o=[{provide:R._j,useClass:Ro},{provide:no,useFactory:function Jo(){return new fr}},{provide:P,useClass:(()=>{class g extends P{constructor(l,v,O,he){super(l.body,v,O)}ngOnDestroy(){this.flush()}}return g.\u0275fac=function(l){return new(l||g)(p.LFG(ce.K0),p.LFG(le),p.LFG(no),p.LFG(p.z2F))},g.\u0275prov=p.Yz7({token:g,factory:g.\u0275fac}),g})()},{provide:p.FYo,useFactory:function Ua(g,u,l){return new Ji(g,u,l)},deps:[a.se,P,p.R0b]}],Go=[{provide:le,useFactory:()=>new mo},{provide:p.QbO,useValue:"BrowserAnimations"},..._o],qo=[{provide:le,useClass:Me},{provide:p.QbO,useValue:"NoopAnimations"},..._o];let ji=(()=>{class g{static withConfig(l){return{ngModule:g,providers:l.disableAnimations?qo:Go}}}return g.\u0275fac=function(l){return new(l||g)},g.\u0275mod=p.oAB({type:g}),g.\u0275inj=p.cJS({providers:Go,imports:[a.b2]}),g})();var io=f(137),Ea=f(8951),Xo=f(529),ea=f(2843),ya=f(262);class ro{constructor(u){this.authService=u}intercept(u,l){const v=localStorage.getItem("idToken");return v&&(u=u.clone({headers:this.addExtraHeaders(u.headers,v)})),l.handle(u).pipe((0,ya.K)(O=>(O instanceof Xo.UA&&401===O.status&&this.authService.tryRelogin().then(he=>{he||this.authService.logout()}),(0,ea._)(O))))}addExtraHeaders(u,l){return u.append("Authorization",`Bearer ${l}`)}static#e=this.\u0275fac=function(l){return new(l||ro)(p.LFG(Ea.e))};static#t=this.\u0275prov=p.Yz7({token:ro,factory:ro.\u0275fac})}var Po=f(9956);class ta{static#e=this.\u0275fac=function(l){return new(l||ta)};static#t=this.\u0275mod=p.oAB({type:ta});static#n=this.\u0275inj=p.cJS({providers:[io.a,Ea.e,{provide:Xo.TP,useClass:ro,multi:!0},Po.I],imports:[ce.ez,Xo.JF]})}var ua=f(2011),ha=f(4496),Ma=f(2340),vo=f(615),Mo=f(1209);const Ar=void 0,Oa=["cs",[["dop.","odp."],Ar,Ar],Ar,[["N","P","\xda","S","\u010c","P","S"],["ne","po","\xfat","st","\u010dt","p\xe1","so"],["ned\u011ble","pond\u011bl\xed","\xfater\xfd","st\u0159eda","\u010dtvrtek","p\xe1tek","sobota"],["ne","po","\xfat","st","\u010dt","p\xe1","so"]],Ar,[["1","2","3","4","5","6","7","8","9","10","11","12"],["led","\xfano","b\u0159e","dub","kv\u011b","\u010dvn","\u010dvc","srp","z\xe1\u0159","\u0159\xedj","lis","pro"],["ledna","\xfanora","b\u0159ezna","dubna","kv\u011btna","\u010dervna","\u010dervence","srpna","z\xe1\u0159\xed","\u0159\xedjna","listopadu","prosince"]],[["1","2","3","4","5","6","7","8","9","10","11","12"],["led","\xfano","b\u0159e","dub","kv\u011b","\u010dvn","\u010dvc","srp","z\xe1\u0159","\u0159\xedj","lis","pro"],["leden","\xfanor","b\u0159ezen","duben","kv\u011bten","\u010derven","\u010dervenec","srpe
1n","z\xe1\u0159\xed","\u0159\xedjen","listopad","prosinec"]],[["p\u0159.n.l.","n.l."],["p\u0159. n. l.","n. l."],["p\u0159ed na\u0161\xedm letopo\u010dtem","na\u0161eho letopo\u010dtu"]],1,[6,0],["dd.MM.yy","d. M. y","d. MMMM y","EEEE d. MMMM y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss zzzz"],["{1} {0}",Ar,Ar,Ar],[",","\xa0",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"CZK","K\u010d","\u010desk\xe1 koruna",{AUD:["AU$","$"],BYN:[Ar,"\u0440."],CSK:["K\u010ds"],CZK:["K\u010d"],ILS:[Ar,"\u20aa"],INR:[Ar,"\u20b9"],JPY:["JP\xa5","\xa5"],PHP:[Ar,"\u20b1"],RON:[Ar,"L"],RUR:[Ar,"\u0440."],TWD:["NT$"],USD:["US$","$"],VND:[Ar,"\u20ab"],XEU:["ECU"],XXX:[]},"ltr",function xa(g){const l=Math.floor(Math.abs(g)),v=g.toString().replace(/^[^.]*\.?/,"").length;return 1===l&&0===v?1:l===Math.floor(l)&&l>=2&&l<=4&&0===v?3:0!==v?4:5}];var na=f(8739);class wa extends na.ye{constructor(){super(),this.getRangeLabel=(u,l,v)=>0===v||0===l?`Str\xe1nka 0 z ${v}`:`Celkem: ${v} \u2022 Str\xe1nka ${u+1} z ${Math.ceil(v/l)}`,super.itemsPerPageLabel="Polo\u017eek na str\xe1nku: ",super.nextPageLabel="Dal\u0161\xed str\xe1nka",super.previousPageLabel="P\u0159edchoz\xed str\xe1nka",super.lastPageLabel="Posledn\xed str\xe1nka",super.firstPageLabel="Prvn\xed str\xe1nka"}}(0,ce.qS)(Oa);class zi{static#e=this.\u0275fac=function(l){return new(l||zi)};static#t=this.\u0275mod=p.oAB({type:zi,bootstrap:[Re]});static#n=this.\u0275inj=p.cJS({providers:[{provide:p.soG,useValue:"cs-CZ"},{provide:p.EJc,useValue:"CZK"},{provide:na.ye,useFactory:()=>new wa}],imports:[a.b2,ee,ji,_e.Cq,ta,vo.AdminModule,ua.hO.initializeApp(Ma.N.firebase),ha.ww,Mo.AuthModule]})}a.q6().bootstrapModule(zi).catch(g=>console.error(g))},5343:(Pt,Ve)=>{"use strict";Ve.byteLength=function R(_e){var ge=ee(_e),$e=ge[1];return 3*(ge[0]+$e)/4-$e},Ve.toByteArray=function X(_e){var ge,j,Re=ee(_e),$e=Re[0],fe=Re[1],ue=new p(function ae(_e,ge,Re){return 3*(ge+Re)/4-Re}(0,$e,fe)),be=0,se=fe>0?$e-4:$e;for(j=0;j<se;j+=4)ge=a[_e.charCodeAt(j)]<<18|a[_e.charCodeAt(j+1)]<<12|a[_e.charCodeAt(j+2)]<<6|a[_e.charCodeAt(j+3)],ue[be++]=ge>>16&255,ue[be++]=ge>>8&255,ue[be++]=255≥return 2===fe&&(ge=a[_e.charCodeAt(j)]<<2|a[_e.charCodeAt(j+1)]>>4,ue[be++]=255&ge),1===fe&&(ge=a[_e.charCodeAt(j)]<<10|a[_e.charCodeAt(j+1)]<<4|a[_e.charCodeAt(j+2)]>>2,ue[be++]=ge>>8&255,ue[be++]=255&ge),ue},Ve.fromByteArray=function ce(_e){for(var ge,Re=_e.length,$e=Re%3,fe=[],be=0,se=Re-$e;be<se;be+=16383)fe.push(de(_e,be,be+16383>se?se:be+16383));return 1===$e?fe.push(f[(ge=_e[Re-1])>>2]+f[ge<<4&63]+"=="):2===$e&&fe.push(f[(ge=(_e[Re-2]<<8)+_e[Re-1])>>10]+f[ge>>4&63]+f[ge<<2&63]+"="),fe.join("")};for(var f=[],a=[],p=typeof Uint8Array<"u"?Uint8Array:Array,C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Y=0,e=C.length;Y<e;
vendor: 22,041 bytes, line 1
1++Y)f[Y]=C[Y],a[C.charCodeAt(Y)]=Y;function ee(_e){var ge=_e.length;if(ge%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Re=_e.indexOf("=");return-1===Re&&(Re=ge),[Re,Re===ge?0:4-Re%4]}function W(_e){return f[_e>>18&63]+f[_e>>12&63]+f[_e>>6&63]+f[63&_e]}function de(_e,ge,Re){for(var fe=[],ue=ge;ue<Re;ue+=3)fe.push(W((_e[ue]<<16&16711680)+(_e[ue+1]<<8&65280)+(255&_e[ue+2])));return fe.join("")}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63},3172:(Pt,Ve,f)=>{"use strict";var a=f(5343),p=f(8461),C="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;Ve.Buffer=R,Ve.SlowBuffer=function ue(te){return+te!=te&&(te=0),R.alloc(+te)},Ve.INSPECT_MAX_BYTES=50;var Y=2147483647;function ee(te){if(te>Y)throw new RangeError('The value "'+te+'" is invalid for option "size"');var N=new Uint8Array(te);return Object.setPrototypeOf(N,R.prototype),N}function R(te,N,z){if("number"==typeof te){if("string"==typeof N)throw new TypeError('The "string" argument must be of type string. Received type number');return de(te)}return ae(te,N,z)}function ae(te,N,z){if("string"==typeof te)return function ce(te,N){if(("string"!=typeof N||""===N)&&(N="utf8"),!R.isEncoding(N))throw new TypeError("Unknown encoding: "+N);var z=0|be(te,N),Te=ee(z),xe=Te.write(te,N);return xe!==z&&(Te=Te.slice(0,xe)),Te}(te,N);if(ArrayBuffer.isView(te))return function ge(te){if(lt(te,Uint8Array)){var N=new Uint8Array(te);return Re(N.buffer,N.byteOffset,N.byteLength)}return _e(te)}(te);if(null==te)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof te);if(lt(te,ArrayBuffer)||te&<(te.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(lt(te,SharedArrayBuffer)||te&<(te.buffer,SharedArrayBuffer)))return Re(te,N,z);if("number"==typeof te)throw new TypeError('The "value" argument must not be of type number. Received type number');var Te=te.valueOf&&te.valueOf();if(null!=Te&&Te!==te)return R.from(Te,N,z);var xe=function $e(te){if(R.isBuffer(te)){var N=0|fe(te.length),z=ee(N);return 0===z.length||te.copy(z,0,0,N),z}return void 0!==te.length?"number"!=typeof te.length||Bt(te.length)?ee(0):_e(te):"Buffer"===te.type&&Array.isArray(te.data)?_e(te.data):void 0}(te);if(xe)return xe;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof te[Symbol.toPrimitive])return R.from(te[Symbol.toPrimitive]("string"),N,z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof te)}function X(te){if("number"!=typeof te)throw new TypeError('"size" argument must be of type number');if(te<0)throw new RangeError('The value "'+te+'" is invalid for option "size"')}function de(te){return X(te),ee(te<0?0:0|fe(te))}function _e(te){for(var N=te.length<0?0:0|fe(te.length),z=ee(N),Te=0;Te<N;Te+=1)z[Te]=255&te[Te];return z}function Re(te,N,z){if(N<0||te.byteLength<N)throw new RangeError('"offset" is outside of buffer bounds');if(te.byteLength<N+(z||0))throw new RangeError('"length" is outside of buffer bounds');var Te;return Te=void 0===N&&void 0===z?new Uint8Array(te):void 0===z?new Uint8Array(te,N):new Uint8Array(te,N,z),Object.setPrototypeOf(Te,R.prototype),Te}function fe(te){if(te>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return 0|te}function be(te,N){if(R.isBuffer(te))return te.length;if(ArrayBuffer.isView(te)||lt(te,ArrayBuffer))return te.byteLength;if("string"!=typeof te)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof te);var z=te.length,Te=arguments.length>2&&!0===arguments[2];if(!Te&&0===z)return 0;for(var xe=!1;;)switch(N){case"ascii":case"latin1":case"binary":return z;case"utf8":case"utf-8":return $(te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*z;case"hex":return z>>>1;case"base64":return Xe(te).length;default:if(xe)return Te?-1:$(te).length;N=(""+N).toLowerCase(),xe=!0}}function se(te,N,z){var Te=!1;if((void 0===N||N<0)&&(N=0),N>this.length||((void 0===z||z>this.length)&&(z=this.length),z<=0)||(z>>>=0)<=(N>>>=0))return"";for(te||(te="utf8");;)switch(te){case"hex":return wt(this,N,z);case"utf8":case"utf-8":return Le(this,N,z);case"ascii":return qe(this,N,z);case"latin1":case"binary":return Mt(this,N,z);case"base64":return me(this,N,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Yt(this,N,z);default:if(Te)throw new TypeError("Unknown encoding: "+te);te=(te+"").toLowerCase(),Te=!0}}function j(te,N,z){var Te=te[N];te[N]=te[z],te[z]=Te}function ne(te,N,z,Te,xe){if(0===te.length)return-1;if("string"==typeof z?(Te=z,z=0):z>2147483647?z=2147483647:z<-2147483648&&(z=-2147483648),Bt(z=+z)&&(z=xe?0:te.length-1),z<0&&(z=te.length+z),z>=te.length){if(xe)return-1;z=te.length-1}else if(z<0){if(!xe)return-1;z=0}if("string"==typeof N&&(N=R.from(N,Te)),R.isBuffer(N))return 0===N.length?-1:De(te,N,z,Te,xe);if("number"==typeof N)return N&=255,"function"==typeof Uint8Array.prototype.indexOf?xe?Uint8Array.prototype.indexOf.call(te,N,z):Uint8Array.prototype.lastIndexOf.call(te,N,z):De(te,[N],z,Te,xe);throw new TypeError("val must be string, number or Buffer")}function De(te,N,z,Te,xe){var vt,T=1,re=te.length,Oe=N.length;if(void 0!==Te&&("ucs2"===(Te=String(Te).toLowerCase())||"ucs-2"===Te||"utf16le"===Te||"utf-16le"===Te)){if(te.length<2||N.length<2)return-1;T=2,re/=2,Oe/=2,z/=2}function nt(Zt,ut){return 1===T?Zt[ut]:Zt.readUInt16BE(ut*T)}if(xe){var Rt=-1;for(vt=z;vt<re;vt++)if(nt(te,vt)===nt(N,-1===Rt?0:vt-Rt)){if(-1===Rt&&(Rt=vt),vt-Rt+1===Oe)return Rt*T}else-1!==Rt&&(vt-=vt-Rt),Rt=-1}else for(z+Oe>re&&(z=re-Oe),vt=z;vt>=0;vt--){for(var Vt=!0,Gt=0;Gt<Oe;Gt++)if(nt(te,vt+Gt)!==nt(N,Gt)){Vt=!1;break}if(Vt)return vt}return-1}function Ue(te,N,z,Te){z=Number(z)||0;var xe=te.length-z;Te?(Te=Number(Te))>xe&&(Te=xe):Te=xe;var T=N.length;Te>T/2&&(Te=T/2);for(var re=0;re<Te;++re){var Oe=parseInt(N.substr(2*re,2),16);if(Bt(Oe))return re;te[z+re]=Oe}return re}function V(te,N,z,Te){return st($(N,te.length-z),te,z,Te)}function He(te,N,z,Te){return st(function ve(te){for(var N=[],z=0;z<te.length;++z)N.push(255&te.charCodeAt(z));return N}(N),te,z,Te)}function Be(te,N,z,Te){return st(Xe(N),te,z,Te)}function Ne(te,N,z,Te){return st(function pe(te,N){for(var z,Te,T=[],re=0;re<te.length&&!((N-=2)<0);++re)Te=(z=te.charCodeAt(re))>>8,T.push(z%256),T.push(Te);return T}(N,te.length-z),te,z,Te)}function me(te,N,z){return a.fromByteArray(0===N&&z===te.length?te:te.slice(N,z))}function Le(te,N,z){z=Math.min(te.length,z);for(var Te=[],xe=N;xe<z;){var nt,vt,Rt,Vt,T=te[xe],re=null,Oe=T>239?4:T>223?3:T>191?2:1;if(xe+Oe<=z)switch(Oe){case 1:T<128&&(re=T);break;case 2:128==(192&(nt=te[xe+1]))&&(Vt=(31&T)<<6|63&nt)>127&&(re=Vt);break;case 3:vt=te[xe+2],128==(192&(nt=te[xe+1]))&&128==(192&vt)&&(Vt=(15&T)<<12|(63&nt)<<6|63&vt)>2047&&(Vt<55296||Vt>57343)&&(re=Vt);break;case 4:vt=te[xe+2],Rt=te[xe+3],128==(192&(nt=te[xe+1]))&&128==(192&vt)&&128==(192&Rt)&&(Vt=(15&T)<<18|(63&nt)<<12|(63&vt)<<6|63&Rt)>65535&&Vt<1114112&&(re=Vt)}null===re?(re=65533,Oe=1):re>65535&&(Te.push((re-=65536)>>>10&1023|55296),re=56320|1023&re),Te.push(re),xe+=Oe}return function dt(te){var N=te.length;if(N<=4096)return String.fromCharCode.apply(String,te);for(var z="",Te=0;Te<N;)z+=String.fromCharCode.apply(String,te.slice(Te,Te+=4096));return z}(Te)}function qe(te,N,z){var Te="";z=Math.min(te.length,z);for(var xe=N;xe<z;++xe)Te+=String.fromCharCode(127&te[xe]);return Te}function Mt(te,N,z){var Te="";z=Math.min(te.length,z);for(var xe=N;xe<z;++xe)Te+=String.fromCharCode(te[xe]);return Te}function wt(te,N,z){var Te=te.length;(!N||N<0)&&(N=0),(!z||z<0||z>Te)&&(z=Te);for(var xe="",T=N;T<z;++T)xe+=at[te[T]];return xe}function Yt(te,N,z){for(var Te=te.slice(N,z),xe="",T=0;T<Te.length-1;T+=2)xe+=String.fromCharCode(Te[T]+256*Te[T+1]);return xe}function Lt(te,N,z){if(te%1!=0||te<0)throw new RangeError("offset is not uint");if(te+N>z)throw new RangeError("Trying to access beyond buffer length")}function ft(te,N,z,Te,xe,T){if(!R.isBuffer(te))throw new TypeError('"buffer" argument must be a Buffer instance');if(N>xe||N<T)throw new RangeError('"value" argument is out of bounds');if(z+Te>te.length)throw new RangeError("Index out of range")}function It(te,N,z,Te,xe,T){if(z+Te>te.length)throw new RangeError("Index out of range");if(z<0)throw new RangeError("Index out of range")}function Ge(te,N,z,Te,xe){return N=+N,z>>>=0,xe||It(te,0,z,4),p.write(te,N,z,Te,23,4),z+4}function je(te,N,z,Te,xe){return N=+N,z>>>=0,xe||It(te,0,z,8),p.write(te,N,z,Te,52,8),z+8}Ve.kMaxLength=Y,!(R.TYPED_ARRAY_SUPPORT=function e(){try{var te=new Uint8Array(1),N={foo:function(){return 42}};return Object.setPrototypeOf(N,Uint8Array.prototype),Object.setPrototypeOf(te,N),42===te.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(R.prototype,"parent",{enumerable:!0,get:function(){if(R.isBuffer(this))return this.buffer}}),Object.defineProperty(R.prototype,"offset",{enumerable:!0,get:function(){if(R.isBuffer(this))return this.byteOffset}}),R.poolSize=8192,R.from=function(te,N,z){return ae(te,N,z)},Object.setPrototypeOf(R.prototype,Uint8Array.prototype),Object.setPrototypeOf(R,Uint8Array),R.alloc=function(te,N,z){return function W(te,N,z){return X(te),te<=0?ee(te):void 0!==N?"string"==typeof z?ee(te).fill(N,z):ee(te).fill(N):ee(te)}(te,N,z)},R.allocUnsafe=function(te){return de(te)},R.allocUnsafeSlow=function(te){return de(te)},R.isBuffer=function(N){return null!=N&&!0===N._isBuffer&&N!==R.prototype},R.compare=function(N,z){if(lt(N,Uint8Array)&&(N=R.from(N,N.offset,N.byteLength)),lt(z,Uint8Array)&&(z=R.from(z,z.offset,z.byteLength)),!R.isBuffer(N)||!R.isBuffer(z))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(N===z)return 0;for(var Te=N.length,xe=z.length,T=0,re=Math.min(Te,xe);T<re;++T)if(N[T]!==z[T]){Te=N[T],xe=z[T];break}return Te<xe?-1:xe<Te?1:0},R.isEncoding=function(N){switch(String(N).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},R.concat=function(N,z){if(!Array.isArray(N))throw new TypeError('"list" argument must be an Array of Buffers');if(0===N.length)return R.alloc(0);var Te;if(void 0===z)for(z=0,Te=0;Te<N.length;++Te)z+=N[Te].length;var xe=R.allocUnsafe(z),T=0;for(Te=0;Te<N.length;++Te){var re=N[Te];if(lt(re,Uint8Array))T+re.length>xe.length?R.from(re).copy(xe,T):Uint8Array.prototype.set.call(xe,re,T);else{if(!R.isBuffer(re))throw new TypeError('"list" argument must be an Array of Buffers');re.copy(xe,T)}T+=re.length}return xe},R.byteLength=be,R.prototype._isBuffer=!0,R.prototype.swap16=function(){var N=this.length;if(N%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var z=0;z<N;z+=2)j(this,z,z+1);return this},R.prototype.swap32=function(){var N=this.length;if(N%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var z=0;z<N;z+=4)j(this,z,z+3),j(this,z+1,z+2);return this},R.prototype.swap64=function(){var N=this.length;if(N%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var z=0;z<N;z+=8)j(this,z,z+7),j(this,z+1,z+6),j(this,z+2,z+5),j(this,z+3,z+4);return this},R.prototype.toLocaleString=R.prototype.toString=function(){var N=this.length;return 0===N?"":0===arguments.length?Le(this,0,N):se.apply(this,arguments)},R.prototype.equals=function(N){if(!R.isBuffer(N))throw new TypeError("Argument must be a Buffer");return this===N||0===R.compare(this,N)},R.prototype.inspect=function(){var N="",z=Ve.INSPECT_MAX_BYTES;return N=this.toString("hex",0,z).replace(/(.{2})/g,"$1 ").trim(),this.length>z&&(N+=" ... "),"<Buffer "+N+">"},C&&(R.prototype[C]=R.prototype.inspect),R.prototype.compare=function(N,z,Te,xe,T){if(lt(N,Uint8Array)&&(N=R.from(N,N.offset,N.byteLength)),!R.isBuffer(N))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof N);if(void 0===z&&(z=0),void 0===Te&&(Te=N?N.length:0),void 0===xe&&(xe=0),void 0===T&&(T=this.length),z<0||Te>N.length||xe<0||T>this.length)throw new RangeError("out of range index");if(xe>=T&&z>=Te)return 0;if(xe>=T)return-1;if(z>=Te)return 1;if(this===N)return 0;for(var re=(T>>>=0)-(xe>>>=0),Oe=(Te>>>=0)-(z>>>=0),nt=Math.min(re,Oe),vt=this.slice(xe,T),Rt=N.slice(z,Te),Vt=0;Vt<nt;++Vt)if(vt[Vt]!==Rt[Vt]){re=vt[Vt],Oe=Rt[Vt];break}return re<Oe?-1:Oe<re?1:0},R.prototype.includes=function(N,z,Te){return-1!==this.indexOf(N,z,Te)},R.prototype.indexOf=function(N,z,Te){return ne(this,N,z,Te,!0)},R.prototype.lastIndexOf=function(N,z,Te){return ne(this,N,z,Te,!1)},R.prototype.write=function(N,z,Te,xe){if(void 0===z)xe="utf8",Te=this.length,z=0;else if(void 0===Te&&"string"==typeof z)xe=z,Te=this.length,z=0;else{if(!isFinite(z))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");z>>>=0,isFinite(Te)?(Te>>>=0,void 0===xe&&(xe="utf8")):(xe=Te,Te=void 0)}var T=this.length-z;if((void 0===Te||Te>T)&&(Te=T),N.length>0&&(Te<0||z<0)||z>this.length)throw new RangeError("Attempt to write outside buffer bounds");xe||(xe="utf8");for(var re=!1;;)switch(xe){case"hex":return Ue(this,N,z,Te);case"utf8":case"utf-8":return V(this,N,z,Te);case"ascii":case"latin1":case"binary":return He(this,N,z,Te);case"base64":return Be(this,N,z,Te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ne(this,N,z,Te);default:if(re)throw new TypeError("Unknown encoding: "+xe);xe=(""+xe).toLowerCase(),re=!0}},R.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},R.prototype.slice=function(N,z){var Te=this.length;(N=~~N)<0?(N+=Te)<0&&(N=0):N>Te&&(N=Te),(z=void 0===z?Te:~~z)<0?(z+=Te)<0&&(z=0):z>Te&&(z=Te),z<N&&(z=N);var xe=this.subarray(N,z);return Object.setPrototypeOf(xe,R.prototype),xe},R.prototype.readUintLE=R.prototype.readUIntLE=function(N,z,Te){N>>>=0,z>>>=0,Te||Lt(N,z,this.length);for(var xe=this[N],T=1,re=0;++re<z&&(T*=256);)xe+=this[N+re]*T;return xe},R.prototype.readUintBE=R.prototype.readUIntBE=function(N,z,Te){N>>>=0,z>>>=0,Te||Lt(N,z,this.length);for(var xe=this[N+--z],T=1;z>0&&(T*=256);)xe+=this[N+--z]*T;return xe},R.prototype.readUint8=R.prototype.readUInt8=function(N,z){return N>>>=0,z||Lt(N,1,this.length),this[N]},R.prototype.readUint16LE=R.prototype.readUInt16LE=function(N,z){return N>>>=0,z||Lt(N,2,this.length),this[N]|this[N+1]<<8},R.prototype.readUint16BE=R.prototype.readUInt16BE=function(N,z){return N>>>=0,z||Lt(N,2,this.length),this[N]<<8|this[N+1]},R.prototype.readUint32LE=R.prototype.readUInt32LE=function(N,z){return N>>>=0,z||Lt(N,4,this.length),(this[N]|this[N+1]<<8|this[N+2]<<16)+16777216*this[N+3]},R.prototype.readUint32BE=R.prototype.readUInt32BE=function(N,z){return N>>>=0,z||Lt(N,4,this.length),16777216*this[N]+(this[N+1]<<16|this[N+2]<<8|this[N+3])},R.prototype.readIntLE=function(N,z,Te){N>>>=0,z>>>=0,Te||Lt(N,z,this.length);for(var xe=this[N],T=1,re=0;++re<z&&(T*=256);)xe+=this[N+re]*T;return xe>=(T*=128)&&(xe-=Math.pow(2,8*z)),xe},R.prototype.readIntBE=function(N,z,Te){N>>>=0,z>>>=0,Te||Lt(N,z,this.length);for(var xe=z,T=1,re=this[N+--xe];xe>0&&(T*=256);)re+=this[N+--xe]*T;return re>=(T*=128)&&(re-=Math.pow(2,8*z)),re},R.prototype.readInt8=function(N,z){return N>>>=0,z||Lt(N,1,this.length),128&this[N]?-1*(255-this[N]+1):this[N]},R.prototype.readInt16LE=function(N,z){N>>>=0,z||Lt(N,2,this.length);var Te=this[N]|this[N+1]<<8;return 32768&Te?4294901760|Te:Te},R.prototype.readInt16BE=function(N,z){N>>>=0,z||Lt(N,2,this.length);var Te=this[N+1]|this[N]<<8;return 32768&Te?4294901760|Te:Te},R.prototype.readInt32LE=function(N,z){return N>>>=0,z||Lt(N,4,this.length),this[N]|this[N+1]<<8|this[N+2]<<16|this[N+3]<<24},R.prototype.readInt32BE=function(N,z){return N>>>=0,z||Lt(N,4,this.length),this[N]<<24|this[N+1]<<16|this[N+2]<<8|this[N+3]},R.prototype.readFloatLE=function(N,z){return N>>>=0,z||Lt(N,4,this.length),p.read(this,N,!0,23,4)},R.prototype.readFloatBE=function(N,z){return N>>>=0,z||Lt(N,4,this.length),p.read(this,N,!1,23,4)},R.prototype.readDoubleLE=function(N,z){return N>>>=0,z||Lt(N,8,this.length),p.read(this,N,!0,52,8)},R.prototype.readDoubleBE=function(N,z){return N>>>=0,z||Lt(N,8,this.length),p.read(this,N,!1,52,8)},R.prototype.writeUintLE=R.prototype.writeUIntLE=function(N,z,Te,xe){N=+N,z>>>=0,Te>>>=0,xe||ft(this,N,z,Te,Math.pow(2,8*Te)-1,0);var re=1,Oe=0;for(this[z]=255&N;++Oe<Te&&(re*=256);)this[z+Oe]=N/re&255;return z+Te},R.prototype.writeUintBE=R.prototype.writeUIntBE=function(N,z,Te,xe){N=+N,z>>>=0,Te>>>=0,xe||ft(this,N,z,Te,Math.pow(2,8*Te)-1,0);var re=Te-1,Oe=1;for(this[z+re]=255&N;--re>=0&&(Oe*=256);)this[z+re]=N/Oe&255;return z+Te},R.prototype.writeUint8=R.prototype.writeUInt8=function(N,z,Te){return N=+N,z>>>=0,Te||ft(this,N,z,1,255,0),this[z]=255&N,z+1},R.prototype.writeUint16LE=R.prototype.writeUInt16LE=function(N,z,Te){return N=+N,z>>>=0,Te||ft(this,N,z,2,65535,0),this[z]=255&N,this[z+1]=N>>>8,z+2},R.prototype.writeUint16BE=R.prototype.writeUInt16BE=function(N,z,Te){return N=+N,z>>>=0,Te||ft(this,N,z,2,65535,0),this[z]=N>>>8,this[z+1]=255&N,z+2},R.prototype.writeUint32LE=R.prototype.writeUInt32LE=function(N,z,Te){return N=+N,z>>>=0,Te||ft(this,N,z,4,4294967295,0),this[z+3]=N>>>24,this[z+2]=N>>>16,this[z+1]=N>>>8,this[z]=255&N,z+4},R.prototype.writeUint32BE=R.prototype.writeUInt32BE=function(N,z,Te){return N=+N,z>>>=0,Te||ft(this,N,z,4,4294967295,0),this[z]=N>>>24,this[z+1]=N>>>16,this[z+2]=N>>>8,this[z+3]=255&N,z+4},R.prototype.writeIntLE=function(N,z,Te,xe){if(N=+N,z>>>=0,!xe){var T=Math.pow(2,8*Te-1);ft(this,N,z,Te,T-1,-T)}var re=0,Oe=1,nt=0;for(this[z]=255&N;++re<Te&&(Oe*=256);)N<0&&0===nt&&0!==this[z+re-1]&&(nt=1),this[z+re]=(N/Oe>>0)-nt&255;return z+Te},R.prototype.writeIntBE=function(N,z,Te,xe){if(N=+N,z>>>=0,!xe){var T=Math.pow(2,8*Te-1);ft(this,N,z,Te,T-1,-T)}var re=Te-1,Oe=1,nt=0;for(this[z+re]=255&N;--re>=0&&(Oe*=256);)N<0&&0===nt&&0!==this[z+re+1]&&(nt=1),this[z+re]=(N/Oe>>0)-nt&255;return z+Te},R.prototype.writeInt8=function(N,z,Te){return N=+N,z>>>=0,Te||ft(this,N,z,1,127,-128),N<0&&(N=255+N+1),this[z]=255&N,z+1},R.prototype.writeInt16LE=function(N,z,Te){return N=+N,z>>>=0,Te||ft(this,N,z,2,32767,-32768),this[z]=255&N,this[z+1]=N>>>8,z+2},R.prototype.writeInt16BE=function(N,z,Te){return N=+N,z>>>=0,Te||ft(this,N,z,2,32767,-32768),this[z]=N>>>8,this[z+1]=255&N,z+2},R.prototype.writeInt32LE=function(N,z,Te){return N=+N,z>>>=0,Te||ft(this,N,z,4,2147483647,-2147483648),this[z]=255&N,this[z+1]=N>>>8,this[z+2]=N>>>16,this[z+3]=N>>>24,z+4},R.prototype.writeInt32BE=function(N,z,Te){return N=+N,z>>>=0,Te||ft(this,N,z,4,2147483647,-2147483648),N<0&&(N=4294967295+N+1),this[z]=N>>>24,this[z+1]=N>>>16,this[z+2]=N>>>8,this[z+3]=255&N,z+4},R.prototype.writeFloatLE=function(N,z,Te){return Ge(this,N,z,!0,Te)},R.prototype.writeFloatBE=function(N,z,Te){return Ge(this,N,z,!1,Te)},R.prototype.writeDoubleLE=function(N,z,Te){return je(this,N,z,!0,Te)},R.prototype.writeDoubleBE=function(N,z,Te){return je(this,N,z,!1,Te)},R.prototype.copy=function(N,z,Te,xe){if(!R.isBuffer(N))throw new TypeError("argument should be a Buffer");if(Te||(Te=0),!xe&&0!==xe&&(xe=this.length),z>=N.length&&(z=N.length),z||(z=0),xe>0&&xe<Te&&(xe=Te),xe===Te||0===N.length||0===this.length)return 0;if(z<0)throw new RangeError("targetStart out of bounds");if(Te<0||Te>=this.length)throw new RangeError("Index out of range");if(xe<0)throw new RangeError("sourceEnd out of bounds");xe>this.length&&(xe=this.length),N.length-z<xe-Te&&(xe=N.length-z+Te);var T=xe-Te;return this===N&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(z,Te,xe):Uint8Array.prototype.set.call(N,this.subarray(Te,xe),z),T},R.prototype.fill=function(N,z,Te,xe){if("string"==typeof N){if("string"==typeof z?(xe=z,z=0,Te=this.length):"string"==typeof Te&&(xe=Te,Te=this.length),void 0!==xe&&"string"!=typeof xe)throw new TypeError("encoding must be a string");if("string"==typeof xe&&!R.isEncoding(xe))throw new TypeError("Unknown encoding: "+xe);if(1===N.length){var T=N.charCodeAt(0);("utf8"===xe&&T<128||"latin1"===xe)&&(N=T)}}else"number"==typeof N?N&=255:"boolean"==typeof N&&(N=Number(N));if(z<0||this.length<z||this.length<Te)throw new RangeError("Out of range index");if(Te<=z)return this;var re;if(z>>>=0,Te=void 0===Te?this.length:Te>>>0,N||(N=0),"number"==typeof N)for(re=z;re<Te;++re)this[re]=N;else{var Oe=R.isBuffer(N)?N:R.from(N,xe),nt=Oe.length;if(0===nt)throw new TypeError('The value "'+N+'" is invalid for argument "value"');for(re=0;re<Te-z;++re)this[re+z]=Oe[re%nt]}return this};var Ft=/[^+/0-9A-Za-z-_]/g;function $(te,N){N=N||1/0;for(var z,Te=te.length,xe=null,T=[],re=0;re<Te;++re){if((z=te.charCodeAt(re))>55295&&z<57344){if(!xe){if(z>56319){(N-=3)>-1&&T.push(239,191,189);continue}if(re+1===Te){(N-=3)>-1&&T.push(239,191,189);continue}xe=z;continue}if(z<56320){(N-=3)>-1&&T.push(239,191,189),xe=z;continue}z=65536+(xe-55296<<10|z-56320)}else xe&&(N-=3)>-1&&T.push(239,191,189);if(xe=null,z<128){if((N-=1)<0)break;T.push(z)}else if(z<2048){if((N-=2)<0)break;T.push(z>>6|192,63&z|128)}else if(z<65536){if((N-=3)<0)break;T.push(z>>12|224,z>>6&63|128,63&z|128)}else{if(!(z<1114112))throw new Error("Invalid code point");if((N-=4)<0)break;T.push(z>>18|240,z>>12&63|128,z>>6&63|128,63&z|128)}}return T}function Xe(te){return a.toByteArray(function B(te){if((te=(te=te.split("=")[0]).trim().replace(Ft,"")).length<2)return"";for(;te.length%4!=0;)te+="=";return te}(te))}function st(te,N,z,Te){for(var xe=0;xe<Te&&!(xe+z>=N.length||xe>=te.length);++xe)N[xe+z]=te[xe];return xe}function lt(te,N){return te instanceof N||null!=te&&null!=te.constructor&&null!=te.constructor.name&&te.constructor.name===N.name}function Bt(te){return te!=te}
1var at=function(){for(var te="0123456789abcdef",N=new Array(256),z=0;z<16;++z)for(var Te=16*z,xe=0;xe<16;++xe)N[Te+xe]=te[z]+te[xe];return N}()},6570:Pt=>{function Ve(a){if(a)return function f(a){for(var p in Ve.prototype)a[p]=Ve.prototype[p];return a}(a)}Pt.exports=Ve,Ve.prototype.on=Ve.prototype.addEventListener=function(a,p){return this._callbacks=this._callbacks||{},(this._callbacks[a]=this._callbacks[a]||[]).push(p),this},Ve.prototype.once=function(a,p){var C=this;function Y(){C.off(a,Y),p.apply(this,arguments)}return this._callbacks=this._callbacks||{},Y.fn=p,this.on(a,Y),this},Ve.prototype.off=Ve.prototype.removeListener=Ve.prototype.removeAllListeners=Ve.prototype.removeEventListener=function(a,p){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var C=this._callbacks[a];if(!C)return this;if(1==arguments.length)return delete this._callbacks[a],this;for(var Y,e=0;e<C.length;e++)if((Y=C[e])===p||Y.fn===p){C.splice(e,1);break}return this},Ve.prototype.emit=function(a){this._callbacks=this._callbacks||{};var p=[].slice.call(arguments,1),C=this._callbacks[a];if(C)for(var Y=0,e=(C=C.slice(0)).length;Y<e;++Y)C[Y].apply(this,p);return this},Ve.prototype.listeners=function(a){return this._callbacks=this._callbacks||{},this._callbacks[a]||[]},Ve.prototype.hasListeners=function(a){return!!this.listeners(a).length}},5867:(Pt,Ve,f)=>{"use strict";f.d(Ve,{C6:()=>a.getApps,Mq:()=>a.getApp,ZR:()=>a.FirebaseError});var a=f(9681);(0,a.registerVersion)("firebase","9.14.0","app")},127:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Z:()=>a.Z});var a=f(3942);a.Z.registerVersion("firebase","9.14.0","app-compat")},8461:(Pt,Ve)=>{Ve.read=function(f,a,p,C,Y){var e,ee,R=8*Y-C-1,ae=(1<<R)-1,X=ae>>1,W=-7,de=p?Y-1:0,ce=p?-1:1,_e=f[a+de];for(de+=ce,e=_e&(1<<-W)-1,_e>>
vendor: 8,352 bytes, line 1
1=-W,W+=R;W>0;e=256*e+f[a+de],de+=ce,W-=8);for(ee=e&(1<<-W)-1,e>>=-W,W+=C;W>0;ee=256*ee+f[a+de],de+=ce,W-=8);if(0===e)e=1-X;else{if(e===ae)return ee?NaN:1/0*(_e?-1:1);ee+=Math.pow(2,C),e-=X}return(_e?-1:1)*ee*Math.pow(2,e-C)},Ve.write=function(f,a,p,C,Y,e){var ee,R,ae,X=8*e-Y-1,W=(1<<X)-1,de=W>>1,ce=23===Y?Math.pow(2,-24)-Math.pow(2,-77):0,_e=C?0:e-1,ge=C?1:-1,Re=a<0||0===a&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(R=isNaN(a)?1:0,ee=W):(ee=Math.floor(Math.log(a)/Math.LN2),a*(ae=Math.pow(2,-ee))<1&&(ee--,ae*=2),(a+=ee+de>=1?ce/ae:ce*Math.pow(2,1-de))*ae>=2&&(ee++,ae/=2),ee+de>=W?(R=0,ee=W):ee+de>=1?(R=(a*ae-1)*Math.pow(2,Y),ee+=de):(R=a*Math.pow(2,de-1)*Math.pow(2,Y),ee=0));Y>=8;f[p+_e]=255&R,_e+=ge,R/=256,Y-=8);for(ee=ee<<Y|R,X+=Y;X>0;f[p+_e]=255&ee,_e+=ge,ee/=256,X-=8);f[p+_e-ge]|=128*Re}},8606:(Pt,Ve,f)=>{"use strict";function e(b,y,_,k){var Et,Ae=arguments.length,Ye=Ae<3?y:null===k?k=Object.getOwnPropertyDescriptor(y,_):k;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ye=Reflect.decorate(b,y,_,k);else for(var zt=b.length-1;zt>=0;zt--)(Et=b[zt])&&(Ye=(Ae<3?Et(Ye):Ae>3?Et(y,_,Ye):Et(y,_))||Ye);return Ae>3&&Ye&&Object.defineProperty(y,_,Ye),Ye}function ee(b,y){return function(_,k){y(_,k,b)}}function R(b,y){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(b,y)}f.d(Ve,{Il:()=>Xa,Ez:()=>Er,Le:()=>Aa});var V=f(4650),He=f(9549),Be=f(284),Ne=f(7579),me=f(4006),Le=f(2687),ze=f(1281);const dt={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([457]\\d{6})$","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2457]\\d{6})$","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-4
16-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"1|([267]\\d{6})$","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"0|(183[12])",0,0,0,[["(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-9]\\d{6})$","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[047]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:[25689]\\d|40)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","(?:590|(?:69|80)\\d|976)\\d{6}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["976[01]\\d{5}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-8]\\d{6})$","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([3-8]\\d{6})$","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-79]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|68|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|13|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-7]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"0|([59]\\d{7})$","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","(?:10|2[0-57-9])(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4}
1)","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"0|(1(?:[12]\\d|79)\\d\\d)",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0(4(?:[14]4|56)|[579])?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","[27]\\d{6,7}|[34]\\d{5,7}|(?:5|8\\d\\d)\\d{7}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["5"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"0|([59]\\d{7})$","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8}
1)","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"1|([2-7]\\d{6})$","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[189]"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[013579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-246-9])))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])
1))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-9]\\d{6})$","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94|80\\d|976)\\d{6}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"0|([25-9]\\d{5})$","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d\\d|606)\\d{5}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590|(?:69|80)\\d|976)\\d{6}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1289]|5[3-579]|6[0-289]|7[08]|8[0-689]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["976[01]\\d{5}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"1|([3-9]\\d{6})$","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-46-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-489]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-489]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"0|([25-8]\\d{5})$","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2
1-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],0,0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"0|([0-24-8]\\d{5})$","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2
1-9]|636)|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|(?:[235-8]\\d|99)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-7]\\d{6})$","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-9]\\d{6})$","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"1|([2-8]\\d{6})$","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"0|(1001)"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:2|33|5\\d|77|88)\\d{7}|[4-6]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",1]],"8",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29[89]|389)","5(?:29[89]|389)0"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:29(?:[189][05]|2[29]|3[01])|389[05])\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|90)|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[08]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}"],["80\\d{7}"],["89\\d{7}"],0,0,0,0,["592(?:4[0-2]|93)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590|(?:69|80)\\d|976)\\d{6}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["976[01]\\d{5}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"0|([24-9]\\d{6})$","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"1|([2-9]\\d{6})$","670$1",0,"670"],MQ:["596","00","(?:69|80)\\d{7}|(?:59|97)6\\d{6}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"1|([34]\\d{6})$","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:5|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["5"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[3467]|9[13-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","1(?:(?:44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[017]\\d|[235][1-9]|4[0-35-9]|6[0-46-9]|8[1-79]|9[1-8])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[04]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[489]|59"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7}
1)","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[47]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[59]|80"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7|86"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","(?:[45]|80\\d\\d)\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","[2-7]\\d{7}|800\\d{4}(?:\\d{2})?|2\\d{6}",[7,8,9],[["(\\d{3})(\\d{4})","$1 $2",["2[126]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]]]],RE:["262","00","976\\d{6}|(?:26|[68]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,"26[23]|69|[89]"],RO:["40","00","(?:[2378]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","800\\d{4}|(?:[249]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-5]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|[57]9)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["24|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3478]|64|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6(?:0[5-7]|[1-35-9])|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|(5\\d{6})$","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"1|([2-479]\\d{6})$","649$1",0,"649"],TD:["235","00|16","(?:22|[69]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","(?:00|[1-57-9]\\d)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7|91[78]"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","[1-6]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-46-8]\\d{6})$","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["505(?:[2-57-9]\\d\\d|
16(?:[0-35-9]\\d|44))\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-289]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-7]|33|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","4\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["4"],"0$1"]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","(?:33|55|[679]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[35-9]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"1|([2-7]\\d{6})$","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-578]\\d{6})$","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"1|([2-9]\\d{6})$","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7[24-68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","80\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,"269|63"],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"[0-36-9]\\d{8}",[9],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],0,0,0,0,0,0,[0,["[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|285\\d{9}|(?:[19]\\d|49)\\d{6}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["4"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[19]"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["34[57]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-3]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|3(?:2|47|7\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,0,0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:(?:285\\d\\d|3(?:45|[69]\\d{3}))\\d|9[89])\\d{6}"]]],883:["883",0,"(?:210|370\\d\\d)\\d{7}|51\\d{7}(?:\\d{3})?",[9,10,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["2"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[35]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:210|(?:370[1-9]|51[013]0)\\d)\\d{7}|5100\\d{5}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function qe(b,y){var _=Array.prototype.slice.call(y);return _.push(dt),b.apply(this,_)}function Mt(b,y){b=b.split("-"),y=y.split("-");for(var _=b[0].split("."),k=y[0].split("."),Ae=0;Ae<3;Ae++){var Ye=Number(_[Ae]),Et=Number(k[Ae]);if(Ye>Et)return 1;if(Et>Ye)return-1;if(!isNaN(Ye)&&isNaN(Et))return 1;if(isNaN(Ye)&&!isNaN(Et))return-1}return b[1]&&y[1]?b[1]>y[1]?1:b[1]<y[1]?-1:0:!b[1]&&y[1]?1:b[1]&&!y[1]?-1:0}function wt(b){return(wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(y){return typeof y}:function(y){return y&&"function"==typeof Symbol&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(b)}function Yt(b,y){if(!(b instanceof y))throw new TypeError("Cannot call a class as a function")}function Lt(b,y){for(var _=0;_<y.length;_++){var k=y[_];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}function ft(b,y,_){return y&&Lt(b.prototype,y),_&&Lt(b,_),Object.defineProperty(b,"prototype",{writable:!1}),b}var B=/^\d+$/,$=function(){function b(y){Yt(this,b),function Bt(b){if(!b)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!at(b)||!at(b.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries`
1child object property. Got ".concat(at(b)?"an object of shape: { "+Object.keys(b).join(", ")+" }":"a "+te(b)+": "+b,"."))}(y),this.metadata=y,xe.call(this,y)}return ft(b,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(_){return"001"!==_})}},{key:"getCountryMetadata",value:function(_){return this.metadata.countries[_]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(_){return void 0!==this.getCountryMetadata(_)}},{key:"hasCallingCode",value:function(_){if(this.getCountryCodesForCallingCode(_))return!0;if(this.nonGeographic()){if(this.nonGeographic()[_])return!0}else{var k=this.countryCallingCodes()[_];if(k&&1===k.length&&"001"===k[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(_){return this.nonGeographic()?!!this.nonGeographic()[_]:!this.getCountryCodesForCallingCode(_)}},{key:"country",value:function(_){return this.selectNumberingPlan(_)}},{key:"selectNumberingPlan",value:function(_,k){if(_&&B.test(_)&&(k=_,_=null),_&&"001"!==_){if(!this.hasCountry(_))throw new Error("Unknown country: ".concat(_));this.numberingPlan=new ve(this.getCountryMetadata(_),this)}else if(k){if(!this.hasCallingCode(k))throw new Error("Unknown calling code: ".concat(k));this.numberingPlan=new ve(this.getNumberingPlanMetadata(k),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(_){var k=this.countryCallingCodes()[_];if(k)return 1===k.length&&3===k[0].length?void 0:k}},{key:"getCountryCodeForCallingCode",value:function(_){var k=this.getCountryCodesForCallingCode(_);if(k)return k[0]}},{key:"getNumberingPlanMetadata",value:function(_){var k=this.getCountryCodeForCallingCode(_);if(k)return this.getCountryMetadata(k);if(this.nonGeographic()){var Ae=this.nonGeographic()[_];if(Ae)return Ae}else{var Ye=this.countryCallingCodes()[_];if(Ye&&1===Ye.length&&"001"===Ye[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(_){return this.numberingPlan.type(_)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(_){return this.selectNumberingPlan(_)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),b}(),ve=function(){function b(y,_){Yt(this,b),this.globalMetadataObject=_,this.metadata=y,xe.call(this,_.metadata)}return ft(b,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(_){return _[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var _=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(Ae){return new pe(Ae,_)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(_){return _[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return!(this.types()&&0===this.types().length||!this.t
vendor: 1,370 bytes, line 1
1ypes())}},{key:"type",value:function(_){if(this.hasTypes()&<(this.types(),_))return new st(lt(this.types(),_),this)}},{key:"ext",value:function(){return this.v1||this.v2?" ext. ":this.metadata[13]||" ext. "}}]),b}(),pe=function(){function b(y,_){Yt(this,b),this._format=y,this.metadata=_}return ft(b,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||Xe.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),b}(),Xe=/^\(?\$1\)?$/,st=function(){function b(y,_){Yt(this,b),this.type=y,this.metadata=_}return ft(b,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.t
1ype[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),b}();function lt(b,y){switch(y){case"FIXED_LINE":return b[0];case"MOBILE":return b[1];case"TOLL_FREE":return b[2];case"PREMIUM_RATE":return b[3];case"PERSONAL_NUMBER":return b[4];case"VOICEMAIL":return b[5];case"UAN":return b[6];case"PAGER":return b[7];case"VOIP":return b[8];case"SHARED_COST":return b[9]}}var at=function(y){return"object"===wt(y)},te=function(y){return wt(y)};function z(b,y){if((y=new $(y)).hasCountry(b))return y.country(b).countryCallingCode();throw new Error("Unknown country: ".concat(b))}function xe(b){var y=b.version;"number"==typeof y?(this.v1=1===y,this.v2=2===y,this.v3=3===y,this.v4=4===y):y?-1===Mt(y,"1.2.0")?this.v2=!0:-1===Mt(y,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}function re(b){return(re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(y){return typeof y}:function(y){return y&&"function"==typeof Symbol&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(b)}function Oe(b,y){var _=Object.keys(b);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(b);y&&(k=k.filter(function(Ae){return Object.getOwnPropertyDescriptor(b,Ae).enumerable})),_.push.apply(_,k)}return _}function vt(b,y,_){return y in b?Object.defineProperty(b,y,{value:_,enumerable:!0,configurable:!0,writable:!0}):b[y]=_,b}function Zt(b,y){(null==y||y>b.length)&&(y=b.length);for(var _=0,k=new Array(y);_<y;_++)k[_]=b[_];return k}function Ot(b){var zt,pn,tn,_=function Rt(b,y){return function Wt(b){if(Array.isArray(b))return b}(b)||function ut(b,y){var _=null==b?null:typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(null!=_){var Et,zt,k=[],Ae=!0,Ye=!1;try{for(_=_.call(b);!(Ae=(Et=_.next()).done)&&(k.push(Et.value),!y||k.length!==y);Ae=!0);}catch(pn){Ye=!0,zt=pn}finally{try{!Ae&&null!=_.return&&_.return()}finally{if(Ye)throw zt}}return k}}(b,y)||function Gt(b,y){if(b){if("string"==typeof b)return Zt(b,y);var _=Object.prototype.toString.call(b).slice(8,-1);if("Object"===_&&b.constructor&&(_=b.constructor.name),"Map"===_||"Set"===_)return Array.from(b);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return Zt(b,y)}}(b,y)||function Vt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Array.prototype.slice.call(b),4),k=_[0],Ae=_[1],Ye=_[2],Et=_[3];if("string"!=typeof k)throw new TypeError("A text for parsing must be a string.");if(zt=k,Ae&&"string"!=typeof Ae){if(!fn(Ae))throw new Error("Invalid second argument: ".concat(Ae));Ye?(pn=Ae,tn=Ye):tn=Ae}else Et?(pn=Ye,tn=Et):(pn=void 0,tn=Ye),Ae&&(pn=function nt(b){for(var y=1;y<arguments.length;y++){var _=null!=arguments[y]?arguments[y]:{};y%2?Oe(Object(_),!0).forEach(function(k){vt(b,k,_[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(_)):Oe(Object(_)).forEac
1h(function(k){Object.defineProperty(b,k,Object.getOwnPropertyDescriptor(_,k))})}return b}({defaultCountry:Ae},pn));return{text:zt,options:pn,metadata:tn}}var fn=function(y){return"object"===re(y)},Vn="0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9",Ie="".concat("-\u2010-\u2015\u2212\u30fc\uff0d").concat("\uff0f/").concat("\uff0e.").concat(" \xa0\xad\u200b\u2060\u3000").concat("()\uff08\uff09\uff3b\uff3d\\[\\]").concat("~\u2053\u223c\uff5e");function we(b){return(we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(y){return typeof y}:function(y){return y&&"function"==typeof Symbol&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(b)}function Qe(b,y){for(var _=0;_<y.length;_++){var k=y[_];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}function In(b,y){if(y&&("object"===we(y)||"function"==typeof y))return y;if(void 0!==y)throw new TypeError("Derived constructors may only return object or undefined");return Fn(b)}function Fn(b){if(void 0===b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function ln(b){var y="function"==typeof Map?new Map:void 0;return ln=function(k){if(null===k||!function Ke(b){return-1!==Function.toString.call(b).indexOf("[native code]")}(k))return k;if("function"!=typeof k)throw new TypeError("Super expression must either be null or a function");if(typeof y<"u"){if(y.has(k))return y.get(k);y.set(k,Ae)}function Ae(){return ct(k,arguments,Ht(this).constructor)}return Ae.prototype=Object.create(k.prototype,{constructor:{value:Ae,enumerable:!1,writable:!0,configurable:!0}}),_t(Ae,k)},ln(b)}function ct(b,y,_){return(ct=rt()?Reflect.construct:function(Ae,Ye,Et){var zt=[null];zt.push.apply(zt,Ye);var tn=new(Function.bind.apply(Ae,zt));return Et&&_t(tn,Et.prototype),tn}).apply(null,arguments)}function rt(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _t(b,y){return(_t=Object.setPrototypeOf||function(k,Ae){return k.__proto__=Ae,k})(b,y)}function Ht(b){return(Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(_){return _.__proto__||Object.getPrototypeOf(_)})(b)}var xn=function(b){!function sn(b,y){if("function"!=typeof y&&null!==y)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(y&&y.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),Object.defineProperty(b,"prototype",{writable:!1}),y&&_t(b,y)}(_,b);var y=function An(b){var y=rt();return function(){var Ae,k=Ht(b);if(y){var Ye=Ht(this).constructor;Ae=Reflect.construct(k,arguments,Ye)}else Ae=k.apply(this,arguments);return In(this,Ae)}}(_);function _(k){var Ae;return function mt(b,y){if(!(b instanceof y))throw new TypeError("Cannot call a class as a function")}(this,_),Ae=y.call(this,k),Object.setPrototypeOf(Fn(Ae),_.prototype),Ae.name=Ae.constructor.name,Ae}return function Ct(b,y,_){return y&&Qe(b.prototype,y),_&&Qe(b,_),Object.defineProperty(b,"prototype",{writable:!1}),b}(_)}(ln(Error)),Zn=function(y){return"([".concat(Vn,"]{1,").concat(y,"})")};function li(b){var Ye="[ \xa0\\t,]*",Et="[:\\.\uff0e]?[ \xa0\\t,-]*",ki="[ \xa0\\t]*";return";ext="+Zn("20")+"|"+Ye+"(?:e?xt(?:ensi(?:o\u0301?|\xf3))?n?|\uff45?\uff58\uff54\uff4e?|\u0434\u043e\u0431|anexo)"+Et+Zn("20")+"#?|"+Ye+"(?:[x\uff58#\uff03~\uff5e]|int|\uff49\uff4e\uff54)"+Et+Zn("9")+"#?|[- ]+"+Zn("6")+"#|"+ki+"(?:,{2}|;)"+Et+Zn("15")+"#?|"+ki+"(?:,)+"+Et+Zn("9")+"#?"}var rr="[+\uff0b]{0,1}(?:["+Ie+"]*["+Vn+"]){3,}["+Ie+Vn+"]*",er=new RegExp("^[+\uff0b]{0,1}(?:["+Ie+"]*["+Vn+"]){1,2}$","i"),$r=rr+"(?:"+li()+")?",kr=new RegExp("^[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{2}$|^"+$r+"$","i");function or(b){return b.length>=2&&kr.test(b)}var qn=new RegExp("(?:"+li()+")$","i");function St(b,y){(null==y||y>b.length)&&(y=b.length);for(var _=0,k=new Array(y);_<y;_++)k[_]=b[_];return k}var A={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9"};function K(b){return A[b]}function ke(b){for(var k,y="",_=function Pi(b,y){var _=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(_)return(_=_.call(b)).next.bind(_);if(Array.isArray(b)||(_=function it(b,y){if(b){if("string"==typeof b)return St(b,y);var _=Object.prototype.toString.call(b).slice(8,-1);if("Object"===_&&b.constructor&&(_=b.constructor.name),"Map"===_||"Set"===_)return Array.from(b);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return St(b,y)}}(b))||y&&b&&"number"==typeof b.length){_&&(b=_);var k=0;return function(){return k>=b.length?{done:!0}:{done:!1,value:b[k++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(b.split(""));!(k=_()).done;){var Ye=K(k.value);Ye&&(y+=Ye)}return y}function Ln(b,y){(null==y||y>b.length)&&(y=b.length);for(var _=0,k=new Array(y);_<y;_++)k[_]=b[_];return k}function si(b){for(var k,y="",_=function tt(b,y){var _=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(_)return(_=_.call(b)).next.bind(_);if(Array.isArray(b)||(_=function on(b,y){if(b){if("string"==typeof b)return Ln(b,y);var _=Object.prototype.toString.call(b).slice(8,-1);if("Object"===_&&b.constructor&&(_=b.constructor.name),"Map"===_||"Set"===_)return Array.from(b);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return Ln(b,y)}}(b))||y&&b&&"number"==typeof b.length){_&&(b=_);var k=0;return function(){return k>=b.length?{done:!0}:{done:!1,value:b[k++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(b.split(""));!(k=_()).done;)y+=wi(k.value,y)||"";return y}function wi(b,y){return"+"===b?y?void 0:"+":K(b)}function Ni(b,y){(null==y||y>b.length)&&(y=b.length);for(var _=0,k=new Array(y);_<y;_++)k[_]=b[_];return k}function ar(b,y){return Gr(b,void 0,y)}function Gr(b,y,_){var k=_.type(y),Ae=k&&k.possibleLengths()||_.possibleLengths();if(!Ae)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===y){if(!_.type("FIXED_LINE"))return Gr(b,"MOBILE",_);var Ye=_.type("MOBILE");Ye&&(Ae=function Yn(b,y){for(var Ae,_=b.slice(),k=function Xn(b,y){var _=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(_)return(_=_.call(b)).next.bind(_);if(Array.isArray(b)||(_=function Fi(b,y){if(b){if("string"==typeof b)return Ni(b,y);var _=Object.prototype.toString.call(b).slice(8,-1);if("Object"===_&&b.constructor&&(_=b.constructor.name),"Map"===_||"Set"===_)return Array.from(b);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return Ni(b,y)}}(b))||y&&b&&"number"==typeof b.length){_&&(b=_);var k=0;return function(){return k>=b.length?{done:!0}:{done:!1,value:b[k++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(y);!(Ae=k()).done;){var Ye=Ae.value;b.indexOf(Ye)<0&&_.push(Ye)}return _.sort(function(Et,zt){return Et-zt})}(Ae,Ye.possibleLengths()))}else if(y&&!k)return"INVALID_LENGTH";var Et=b.length,zt=Ae[0];return zt===Et?"IS_POSSIBLE":zt>Et?"TOO_SHORT":Ae[Ae.length-1]<Et?"TOO_LONG":Ae.indexOf(Et,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Vr(b,y){return"IS_POSSIBLE"===ar(b,y)}function sr(b,y){return function xr(b){if(Array.isArray(b))return b}(b)||function Zr(b,y){var _=null==b?null:typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(null!=_){var Et,zt,k=[],Ae=!0,Ye=!1;try{for(_=_.call(b);!(Ae=(Et=_.next()).done)&&(k.push(Et.value),!y||k.length!==y);Ae=!0);}catch(pn){Ye=!0,zt=pn}finally{try{!Ae&&null!=_.return&&_.return()}finally{if(Ye)throw zt}}return k}}(b,y)||Li(b,y)||function Tr(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Li(b,y){if(b){if("string"==typeof b)return pi(b,y);var _=Object.prototype.toString.call(b).slice(8,-1);if("Object"===_&&b.constructor&&(_=b.constructor.name),"Map"===_||"Set"===_)return Array.from(b);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return pi(b,y)}}function pi(b,y){(null==y||y>b.length)&&(y=b.length);for(var _=0,k=new Array(y);_<y;_++)k[_]=b[_];return k}function Di(b,y){return b=b||"",new RegExp("^(?:"+y+")$").test(b)}function Wi(b,y){(null==y||y>b.length)&&(y=b.length);for(var _=0,k=new Array(y);_<y;_++)k[_]=b[_];return k}var Xi=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function uo(b,y,_){if(y=y||{},b.country){(_=new $(_)).selectNumberingPlan(b.country,b.countryCallingCode);var k=y.v2?b.nationalNumber:b.phone;if(Di(k,_.nationalNumberPattern())){if(yi(k,"FIXED_LINE",_))return _.type("MOBILE")&&""===_.type("MOBILE").pattern()||!_.type("MOBILE")||yi(k,"MOBILE",_)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var Ye,Ae=function qi(b,y){var _=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(_)return(_=_.call(b)).next.bind(_);if(Array.isArray(b)||(_=function lr(b,y){if(b){if("string"==typeof b)return Wi(b,y);var _=Object.prototype.toString.call(b).slice(8,-1);if("Object"===_&&b.constructor&&(_=b.constructor.name),"Map"===_||"Set"===_)return Array.from(b);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return Wi(b,y)}}(b))||y&&b&&"number"==typeof b.length){_&&(b=_);var k=0;return function(){return k>=b.length?{done:!0}:{done:!1,value:b[k++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(Xi);!(Ye=Ae()).done;){var Et=Ye.value;if(yi(k,Et,_))return Et}}}}function yi(b,y,_){return!(!(y=_.type(y))||!y.pattern()||y.possibleLengths()&&y.possibleLengths().indexOf(b.length)<0)&&Di(b,y.pattern())}function To(b){return b.replace(new RegExp("[".concat(Ie,"]+"),"g")," ").trim()}var mr=/(\$\d)/;function xo(b,y,_){var k=_.useInternationalFormat,Ae=_.withNationalPrefix,zt=b.replace(new RegExp(y.pattern()),k?y.internationalFormat():Ae&&y.nationalPrefixFormattingRule()?y.format().replace(mr,y.nationalPrefixFormattingRule()):y.format());return k?To(zt):zt}var Ti=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function to(b,y){(null==y||y>b.length)&&(y=b.length);for(var _=0,k=new Array(y);_<y;_++)k[_]=b[_];return k}function Or(b,y){var _=Object.keys(b);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(b);y&&(k=k.filter(function(Ae){return Object.getOwnPropertyDescriptor(b,Ae).enumerable})),_.push.apply(_,k)}return _}function wo(b){for(var y=1;y<arguments.length;y++){var _=null!=arguments[y]?arguments[y]:{};y%2?Or(Object(_),!0).forEach(function(k){no(b,k,_[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(_)):Or(Object(_)).forEac
1h(function(k){Object.defineProperty(b,k,Object.getOwnPropertyDescriptor(_,k))})}return b}function no(b,y,_){return y in b?Object.defineProperty(b,y,{value:_,enumerable:!0,configurable:!0,writable:!0}):b[y]=_,b}var Co={formatExtension:function(y,_,k){return"".concat(y).concat(k.ext()).concat(_)}};function fr(b,y,_,k,Ae){var Ye=function Do(b,y){for(var k,_=function Ur(b,y){var _=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(_)return(_=_.call(b)).next.bind(_);if(Array.isArray(b)||(_=function Ho(b,y){if(b){if("string"==typeof b)return to(b,y);var _=Object.prototype.toString.call(b).slice(8,-1);if("Object"===_&&b.constructor&&(_=b.constructor.name),"Map"===_||"Set"===_)return Array.from(b);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return to(b,y)}}(b))||y&&b&&"number"==typeof b.length){_&&(b=_);var k=0;return function(){return k>=b.length?{done:!0}:{done:!1,value:b[k++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(b);!(k=_()).done;){var Ae=k.value;if(Ae.leadingDigitsPatterns().length>0){var Ye=Ae.leadingDigitsPatterns()[Ae.leadingDigitsPatterns().length-1];if(0!==y.search(Ye))continue}if(Di(y,Ae.pattern()))return Ae}}(k.formats(),b);return Ye?xo(b,Ye,{useInternationalFormat:"INTERNATIONAL"===_,withNationalPrefix:!(Ye.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&Ae&&!1===Ae.nationalPrefix),carrierCode:y,metadata:k}):b}function Mr(b,y,_,k){return y?k(b,y,_):b}function Hr(b,y){var _=Object.keys(b);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(b);y&&(k=k.filter(function(Ae){return Object.getOwnPropertyDescriptor(b,Ae).enumerable})),_.push.apply(_,k)}return _}function ht(b){for(var y=1;y<arguments.length;y++){var _=null!=arguments[y]?arguments[y]:{};y%2?Hr(Object(_),!0).forEach(function(k){pt(b,k,_[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(_)):Hr(Object(_)).forEac
1h(function(k){Object.defineProperty(b,k,Object.getOwnPropertyDescriptor(_,k))})}return b}function pt(b,y,_){return y in b?Object.defineProperty(b,y,{value:_,enumerable:!0,configurable:!0,writable:!0}):b[y]=_,b}function Kt(b,y){for(var _=0;_<y.length;_++){var k=y[_];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}var On=function(){function b(y,_,k){if(function Tt(b,y){if(!(b instanceof y))throw new TypeError("Cannot call a class as a function")}(this,b),!y)throw new TypeError("`country` or `countryCallingCode` not passed");if(!_)throw new TypeError("`nationalNumber` not passed");if(!k)throw new TypeError("`metadata` not passed");var Ae=new $(k);!!ti(y)&&(this.country=y,Ae.country(y),y=Ae.countryCallingCode()),this.countryCallingCode=y,this.nationalNumber=_,this.number="+"+this.countryCallingCode+this.nationalNumber,this.metadata=k}return function nn(b,y,_){y&&Kt(b.prototype,y),_&&Kt(b,_),Object.defineProperty(b,"prototype",{writable:!1})}(b,[{key:"setExt",value:function(_){this.ext=_}},{key:"isPossible",value:function(){return function Uo(b,y,_){if(void 0===y&&(y={}),_=new $(_),y.v2){if(!b.countryCallingCode)throw new Error("Invalid phone number object passed");_.selectNumberingPlan(b.countryCallingCode)}else{if(!b.phone)return!1;if(b.country){if(!_.hasCountry(b.country))throw new Error("Unknown country: ".concat(b.country));_.country(b.country)}else{if(!b.countryCallingCode)throw new Error("Invalid phone number object passed");_.selectNumberingPlan(b.countryCallingCode)}}if(_.possibleLengths())return Vr(b.phone||b.nationalNumber,_);if(b.countryCallingCode&&_.isNonGeographicCallingCode(b.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.metadata)}},{key:"isValid",value:function(){return function hr(b,y,_){return y=y||{},_=new $(_),!!b.country&&(_.selectNumberingPlan(b.country,b.countryCallingCode),_.hasTypes()?void 0!==uo(b,y,_.metadata):Di(y.v2?b.nationalNumber:b.phone,_.nationalNumberPattern()))}(this,{v2:!0},this.metadata)}},{key:"isNonGeographic",value:function(){return new $(this.metadata).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(_){return this.number===_.number&&this.ext===_.ext}},{key:"getType",value:function(){return uo(this,{v2:!0},this.metadata)}},{key:"format",value:function(_,k){return function ho(b,y,_,k){if(_=_?wo(wo({},Co),_):Co,k=new $(k),b.country&&"001"!==b.country){if(!k.hasCountry(b.country))throw new Error("Unknown country: ".concat(b.country));k.country(b.country)}else{if(!b.countryCallingCode)return b.phone||"";k.selectNumberingPlan(b.countryCallingCode)}var Et,Ae=k.countryCallingCode(),Ye=_.v2?b.nationalNumber:b.phone;switch(y){case"NATIONAL":return Ye?Mr(Et=fr(Ye,b.carrierCode,"NATIONAL",k,_),b.ext,k,_.formatExtension):"";case"INTERNATIONAL":return Ye?(Et=fr(Ye,null,"INTERNATIONAL",k,_),Mr(Et="+".concat(Ae," ").concat(Et),b.ext,k,_.formatExtension)):"+".concat(Ae);case"E.164":return"+".concat(Ae).concat(Ye);case"RFC3966":return function Ir(b){var y=b.number,_=b.ext;if(!y)return"";if("+"!==y[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(y).concat(_?";ext="+_:"")}({number:"+".concat(Ae).concat(Ye),ext:b.ext});case"IDD":if(!_.fromCountry)return;var zt=function vr(b,y,_,k,Ae){if(z(k,Ae.metadata)===_){var Et=fr(b,y,"NATIONAL",Ae);return"1"===_?_+" "+Et:Et}var zt=function Io(b,y,_){var k=new $(_);return k.selectNumberingPlan(b,y),k.defaultIDDPrefix()?k.defaultIDDPrefix():Ti.test(k.IDDPrefix())?k.IDDPrefix():void 0}(k,void 0,Ae.metadata);if(zt)return"".concat(zt," ").concat(_," ").concat(fr(b,null,"INTERNATIONAL",Ae))}(Ye,b.carrierCode,Ae,_.fromCountry,k);return Mr(zt,b.ext,k,_.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(y,'"'))}}(this,_,k?ht(ht({},k),{},{v2:!0}):{v2:!0},this.metadata)}},{key:"formatNational",value:function(_){return this.format("NATIONAL",_)}},{key:"formatInternational",value:function(_){return this.format("INTERNATIONAL",_)}},{key:"getURI",value:function(_){return this.format("RFC3966",_)}}]),b}(),ti=function(y){return/^[A-Z]{2}$/.test(y)},Nn=new RegExp("(["+Vn+"])");function Ki(b,y,_,k){if(y){var Ae=new $(k);Ae.selectNumberingPlan(y,_);var Ye=new RegExp(Ae.IDDPrefix());if(0===b.search(Ye)){var Et=(b=b.slice(b.match(Ye)[0].length)).match(Nn);if(!(Et&&null!=Et[1]&&Et[1].length>0&&"0"===Et[1]))return b}}}function Kn(b,y){if(b&&y.numberingPlan.nationalPrefixForParsing()){var _=new RegExp("^(?:"+y.numberingPlan.nationalPrefixForParsing()+")"),k=_.exec(b);if(k){var Ae,Ye,tn,Et=k.length-1,zt=Et>0&&k[Et];
1if(y.nationalPrefixTransformRule()&&zt?(Ae=b.replace(_,y.nationalPrefixTransformRule()),Et>1&&(Ye=k[1])):(Ae=b.slice(k[0].length),zt&&(Ye=k[1])),zt){var jn=b.indexOf(k[1]);b.slice(0,jn)===y.numberingPlan.nationalPrefix()&&(tn=y.numberingPlan.nationalPrefix())}else tn=k[0];return{nationalNumber:Ae,nationalPrefix:tn,carrierCode:Ye}}}return{nationalNumber:b}}function tr(b,y){var _=Kn(b,y),k=_.carrierCode,Ae=_.nationalNumber;if(Ae!==b){if(!function pr(b,y,_){return!(Di(b,_.nationalNumberPattern())&&!Di(y,_.nationalNumberPattern()))}(b,Ae,y))return{nationalNumber:b};if(y.possibleLengths()&&!function xi(b,y){switch(ar(b,y)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(Ae,y))return{nationalNumber:b}}return{nationalNumber:Ae,carrierCode:k}}function gr(b,y,_,k){var Ae=y?z(y,k):_;if(0===b.indexOf(Ae)){(k=new $(k)).selectNumberingPlan(y,_);var Ye=b.slice(Ae.length),zt=tr(Ye,k).nationalNumber,tn=tr(b,k).nationalNumber;if(!Di(tn,k.nationalNumberPattern())&&Di(zt,k.nationalNumberPattern())||"TOO_LONG"===ar(tn,k))return{countryCallingCode:Ae,number:Ye}}return{number:b}}function Ei(b,y,_,k){if(!b)return{};if("+"!==b[0]){var Ae=Ki(b,y,_,k);if(!Ae||Ae===b){if(y||_){var Ye=gr(b,y,_,k),Et=Ye.countryCallingCode;if(Et)return{countryCallingCode:Et,number:Ye.number}}return{number:b}}b="+"+Ae}if("0"===b[1])return{};k=new $(k);for(var pn=2;pn-1<=3&&pn<=b.length;){var tn=b.slice(1,pn);if(k.hasCallingCode(tn))return k.selectNumberingPlan(tn),{countryCallingCode:tn,number:b.slice(pn)};pn++}return{}}function Bi(b,y){(null==y||y>b.length)&&(y=b.length);for(var _=0,k=new Array(y);_<y;_++)k[_]=b[_];return k}function di(b,y,_){var k=_.getCountryCodesForCallingCode(b);if(k)return 1===k.length?k[0]:function Qi(b,y,_){_=new $(_);for(var Ae,k=function gi(b,y){var _=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(_)return(_=_.call(b)).next.bind(_);if(Array.isArray(b)||(_=function $i(b,y){if(b){if("string"==typeof b)return Bi(b,y);var _=Object.prototype.toString.call(b).slice(8,-1);if("Object"===_&&b.constructor&&(_=b.constructor.name),"Map"===_||"Set"===_)return Array.from(b);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return Bi(b,y)}}(b))||y&&b&&"number"==typeof b.length){_&&(b=_);var k=0;return function(){return k>=b.length?{done:!0}:{done:!1,value:b[k++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(b);!(Ae=k()).done;){var Ye=Ae.value;if(_.country(Ye),_.leadingDigits()){if(y&&0===y.search(_.leadingDigits()))return Ye}else if(uo({phone:y,country:Ye},void 0,_.metadata))return Ye}}(k,y,_.metadata)}var Eo=new RegExp("[+\uff0b"+Vn+"]"),Vi=new RegExp("[^"+Vn+"#]+$");function Oo(b,y,_){if(y=y||{},_=new $(_),y.defaultCountry&&!_.hasCountry(y.defaultCountry))throw y.v2?new xn("INVALID_COUNTRY"):new Error("Unknown country: ".concat(y.defaultCountry));var k=function hn(b,y,_){if(b&&0===b.indexOf("tel:"))return function yo(b){for(var y,_,Ae,k=function eo(b,y){var _=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(_)return(_=_.call(b)).next.bind(_);if(Array.isArray(b)||(_=Li(b))||y&&b&&"number"==typeof b.length){_&&(b=_);var k=0;return function(){return k>=b.length?{done:!0}:{done:!1,value:b[k++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}((b=b.replace(/^tel:/,"tel=")).split(";"));!(Ae=k()).done;){var zt=sr(Ae.value.split("="),2),tn=zt[1];switch(zt[0]){case"tel":y=tn;break;case"ext":_=tn;break;case"phone-context":"+"===tn[0]&&(y=tn+y)}}if(!or(y))return{};var jn={number:y};return _&&(jn.ext=_),jn}(b);var k=function Wr(b,y,_){if(b){if(b.length>250){if(_)throw new xn("TOO_LONG");return}if(!1===y)return b;var k=b.search(Eo);if(!(k<0))return b.slice(k).replace(Vi,"")}}(b,_,y);if(!k)return{};if(!or(k))return function Br(b){return er.test(b)}(k)?{error:"TOO_SHORT"}:{};var Ae=function Ci(b){var y=b.search(qn);if(y<0)return{};for(var _=b.slice(0,y),k=b.match(qn),Ae=1;Ae<k.length;){if(k[Ae])return{number:_,ext:k[Ae]};Ae++}}(k);return Ae.ext?Ae:{number:k}}(b,y.v2,y.extract),Ae=k.number,Ye=k.ext;if(!Ae){if(y.v2)throw new xn("TOO_SHORT"===k.error?"TOO_SHORT":"NOT_A_NUMBER");return{}}var zt=function ba(b,y,_,k){var zt,Ae=Ei(si(b),y,_,k.metadata),Ye=Ae.countryCallingCode,Et=Ae.number;if(Ye)k.selectNumberingPlan(Ye);else{if(!Et||!y&&!_)return{};k.selectNumberingPlan(y,_),!!y&&(zt=y),Ye=_||z(y,k.metadata)}if(!Et)return{countryCallingCode:Ye};var pn=tr(si(Et),k),tn=pn.nationalNumber,jn=pn.carrierCode,ki=di(Ye,tn,k);return ki&&(zt=ki,"001"===ki||k.country(zt)),{country:zt,countryCallingCode:Ye,nationalNumber:tn,carrierCode:jn}}(Ae,y.defaultCountry,y.defaultCallingCode,_),pn=zt.country,tn=zt.nationalNumber,jn=zt.countryCallingCode,ki=zt.carrierCode;if(!_.hasSelectedNumberingPlan()){if(y.v2)throw new xn("INVALID_COUNTRY");return{}}if(!tn||tn.length<2){if(y.v2)throw new xn("TOO_SHORT");return{}}if(tn.length>17){if(y.v2)throw new xn("TOO_LONG");return{}}if(y.v2){var fi=new On(jn,tn,_.metadata);return pn&&(fi.country=pn),ki&&(fi.carrierCode=ki),Ye&&(fi.ext=Ye),fi}var ii=!!(y.extended?_.hasSelectedNumberingPlan():pn)&&Di(tn,_.nationalNumberPattern());return y.extended?{country:pn,countryCallingCode:jn,carrierCode:ki,valid:ii,possible:!!ii||!(!0!==y.extended||!_.possibleLengths()||!Vr(tn,_)),phone:tn,ext:Ye}:ii?function Ii(b,y,_){var k={country:b,phone:y};return _&&(k.ext=_),k}(pn,tn,Ye):{}}
1function jo(b,y){var _=Object.keys(b);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(b);y&&(k=k.filter(function(Ae){return Object.getOwnPropertyDescriptor(b,Ae).enumerable})),_.push.apply(_,k)}return _}function Oi(b){for(var y=1;y<arguments.length;y++){var _=null!=arguments[y]?arguments[y]:{};y%2?jo(Object(_),!0).forEach(function(k){Ui(b,k,_[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(_)):jo(Object(_)).forEach(function(k){Object.defineProperty(b,k,Object.getOwnPropertyDescriptor(_,k))})}return b}function Ui(b,y,_){return y in b?Object.defineProperty(b,y,{value:_,enumerable:!0,configurable:!0,writable:!0}):b[y]=_,b}function zo(b,y){var _=Object.keys(b);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(b);y&&(k=k.filter(function(Ae){return Object.getOwnPropertyDescriptor(b,Ae).enumerable})),_.push.apply(_,k)}return _}function Qo(b){for(var y=1;y<arguments.length;y++){var _=null!=arguments[y]?arguments[y]:{};y%2?zo(Object(_),!0).forEach(function(k){G(b,k,_[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(_)):zo(Object(_)).forEac
1h(function(k){Object.defineProperty(b,k,Object.getOwnPropertyDescriptor(_,k))})}return b}function G(b,y,_){return y in b?Object.defineProperty(b,y,{value:_,enumerable:!0,configurable:!0,writable:!0}):b[y]=_,b}function H(b,y,_){y&&y.defaultCountry&&!function Te(b,y){return void 0!==y.countries[b]}(y.defaultCountry,_)&&(y=Qo(Qo({},y),{},{defaultCountry:void 0}));try{return function Ko(b,y,_){return Oo(b,Oi(Oi({},y),{},{v2:!0}),_)}(b,y,_)}catch(k){if(!(k instanceof xn))throw k}}function P(){var b=Ot(arguments),y=b.text,_=b.options,k=b.metadata;return H(y,_,k)}function ye(){return qe(P,arguments)}function Ut(b,y,_){if(y[b])return new On(b,y[b],_)}function Rr(b,y){for(var _=0;_<y.length;_++){var k=y[_];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}var Ro=function(){function b(y){var _=y.onCountryChange,k=y.onCallingCodeChange;(function Hi(b,y){if(!(b instanceof y))throw new TypeError("Cannot call a class as a function")})(this,b),this.onCountryChange=_,this.onCallingCodeChange=k}return function mo(b,y,_){y&&Rr(b.prototype,y),_&&Rr(b,_),Object.defineProperty(b,"prototype",{writable:!1})}(b,[{key:"reset",value:function(_,k){this.international=!1,this.IDDPrefix=void 0,this.missingPlus=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(_,k)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberMatchesInput=!0,this.nationalPrefix=void 0,this.carrierCode=void 0,this.complexPrefixBeforeNationalSignificantNumber=void 0}},{key:"update",value:function(_){for(var k=0,Ae=Object.keys(_);k<Ae.length;k++){var Ye=Ae[k];this[Ye]=_[Ye]}}},{key:"initCountryAndCallingCode",value:function(_,k){this.setCountry(_),this.setCallingCode(k)}},{key:"setCountry",value:function(_){this.country=_,this.onCountryChange(_)}},{key:"setCallingCode",value:function(_){this.callingCode=_,this.onCallingCodeChange(_,this.country)}},{key:"startInternationalNumber",value:function(_,k){this.international=!0,this.initCountryAndCallingCode(_,k)}},{key:"appendDigits",value:function(_){this.digits+=_}},{key:"appendNationalSignificantNumberDigits",value:function(_){this.nationalSignificantNumber+=_}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}]),b}();function en(b,y){(null==y||y>b.length)&&(y=b.length);for(var _=0,k=new Array(y);_<y;_++)k[_]=b[_];return k}var Gn="x",Yo=new RegExp(Gn);function Ai(b,y){if(y<1)return"";for(var _="";y>1;)1&y&&(_+=b),y>>=1,b+=b;return _+b}function fo(b,y){return")"===b[y]&&y++,function wr(b){for(var y=[],_=0;_<b.length;)"("===b[_]?y.push(_):")"===b[_]&&y.pop(),_++;var k=0,Ae="";y.push(b.length);for(var Ye=0,Et=y;Ye<Et.length;Ye++){var zt=Et[Ye];Ae+=b.slice(k,zt),k=zt+1}return Ae}(b.slice(0,y))}function Jo(b,y,_){var k=_.metadata,Ae=_.shouldTryNationalPrefixFormattingRule,Ye=_.getSeparatorAfterNationalPrefix;if(new RegExp("^(?:".concat(y.pattern(),")$")).test(b.nationalSignificantNumber))return function _o(b,y,_){var k=_.metadata,Ye=_.getSeparatorAfterNationalPrefix;if((0,_.shouldTryNationalPrefixFormattingRule)(y)){var jn=Go(b,y,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:Ye,metadata:k});if(jn)return jn}return Go(b,y,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:Ye,metadata:k})}(b,y,{metadata:k,shouldTryNationalPrefixFormattingRule:Ae,getSeparatorAfterNationalPrefix:Ye})}function Go(b,y,_){var Ae=_.useNationalPrefixFormattingRule,Ye=_.getSeparatorAfterNationalPrefix,Et=xo(b.nationalSignificantNumber,y,{carrierCode:b.carrierCode,useInternationalFormat:b.international,withNationalPrefix:Ae,metadata:_.metadata});if(Ae||(b.nationalPrefix?Et=b.nationalPrefix+Ye(y)+Et:b.complexPrefixBeforeNationalSignificantNumber&&(Et=b.complexPrefixBeforeNationalSignificantNumber+" "+Et)),function qo(b,y){return ke(b)===y.getNationalDigits()}(Et,b))return Et}function Pr(b,y){for(var _=0;_<y.length;_++){var k=y[_];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}var bo=function(){function b(){!function ji(b,y){if(!(b instanceof y))throw new TypeError("Cannot call a class as a function")}(this,b)}return function va(b,y,_){y&&Pr(b.prototype,y),_&&Pr(b,_),Object.defineProperty(b,"prototype",{writable:!1})}(b,[{key:"parse",value:function(_){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(_),1!==this.context.length)throw new Error("Non-finalized contexts left when pattern parse ended");var k=this.context[0],Ae=k.branches,Ye=k.instructions;if(Ae)return{op:"|",args:Ae.concat([ea(Ye)])};if(0===Ye.length)throw new Error("Pattern is required");return 1===Ye.length?Ye[0]:Ye}},{key:"startContext",value:function(_){this.context.push(_)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(_){if(!_)throw new Error("Pattern is required");var k=_.match(Xo);if(k){var Ae=k[1],Ye=_.slice(0,k.index),Et=_.slice(k.index+Ae.length);switch(Ae){case"(?:":Ye&&this.parsePattern(Ye),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw new Error('")" operator must be preceded by "(?:" operator');if(Ye&&this.parsePattern(Ye),0===this.getContext().instructions.length)throw new Error('No instructions foun
1d after "|" operator in an "or" group');var pn=this.getContext().branches;pn.push(ea(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:pn});break;case"|":if(!this.getContext().or)throw new Error('"|" operator can only be used inside "or" groups');if(Ye&&this.parsePattern(Ye),!this.getContext().branches){if(1!==this.context.length)throw new Error('"branches" not found in an "or" group context');this.getContext().branches=[]}this.getContext().branches.push(ea(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":Ye&&this.parsePattern(Ye),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw new Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:io(Ye)});break;default:throw new Error("Unknown operator: ".concat(Ae))}Et&&this.parsePattern(Et)}else{if(Ea.test(_))throw new Error("Illegal characters found in a pattern: ".concat(_));this.getContext().instructions=this.getContext().instructions.concat(_.split(""))}}}]),b}();function io(b){for(var y=[],_=0;_<b.length;){if("-"===b[_]){if(0===_||_===b.length-1)throw new Error("Couldn't parse a one-of set pattern: ".concat(b));
1for(var k=b[_-1].charCodeAt(0)+1,Ae=b[_+1].charCodeAt(0)-1,Ye=k;Ye<=Ae;)y.push(String.fromCharCode(Ye)),Ye++}else y.push(b[_]);_++}return y}var Ea=/[\(\)\[\]\?\:\|]/,Xo=new RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function ea(b){return 1===b.length?b[0]:b}function ya(b,y){var _=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(_)return(_=_.call(b)).next.bind(_);if(Array.isArray(b)||(_=function ro(b,y){if(b){if("string"==typeof b)return Po(b,y);var _=Object.prototype.toString.call(b).slice(8,-1);if("Object"===_&&b.constructor&&(_=b.constructor.name),"Map"===_||"Set"===_)return Array.from(b);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return Po(b,y)}}(b))||y&&b&&"number"==typeof b.length){_&&(b=_);var k=0;return function(){return k>=b.length?{done:!0}:{done:!1,value:b[k++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Po(b,y){(null==y||y>b.length)&&(y=b.length);for(var _=0,k=new Array(y);_<y;_++)k[_]=b[_];return k}function ua(b,y){for(var _=0;_<y.length;_++){var k=y[_];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}var Ma=function(){function b(y){(function ta(b,y){if(!(b instanceof y))throw new TypeError("Cannot call a class as a function")})(this,b),this.matchTree=(new bo).parse(y)}return function ha(b,y,_){y&&ua(b.prototype,y),_&&ua(b,_),Object.defineProperty(b,"prototype",{writable:!1})}(b,[{key:"match",value:function(_){var k=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ae=k.allowOverflow;if(!_)throw new Error("String is required");var Ye=vo(_.split(""),this.matchTree,!0);if(Ye&&Ye.match&&delete Ye.matchedChars,!Ye||!Ye.overflow||Ae)return Ye}}]),b}();function vo(b,y,_){if("string"==typeof y){var k=b.join("");return 0===y.indexOf(k)?b.length===y.length?{match:!0,matchedChars:b}:{partialMatch:!0}:0===k.indexOf(y)?_&&b.length>y.length?{overflow:!0}:{match:!0,matchedChars:b.slice(0,y.length)}:void 0}if(Array.isArray(y)){for(var Ae=b.slice(),Ye=0;Ye<y.length;){var zt=vo(Ae,y[Ye],_&&Ye===y.length-1);if(!zt)return;if(zt.overflow)return zt;if(!zt.match){if(zt.partialMatch)return{partialMatch:!0};throw new Error("Unsupported match result:\n".concat(JSON.stringify(zt,null,2)))}if(0===(Ae=Ae.slice(zt.matchedChars.length)).length)return Ye===y.length-1?{match:!0,matchedChars:b}:{partialMatch:!0};Ye++}return _?{overflow:!0}:{match:!0,matchedChars:b.slice(0,b.length-Ae.length)}}switch(y.op){case"|":for(var pn,jn,tn=ya(y.args);!(jn=tn()).done;){var fi=vo(b,jn.value,_);if(fi){if(fi.overflow)return fi;if(fi.match)return{match:!0,matchedChars:fi.matchedChars};if(!fi.partialMatch)throw new Error("Unsupported match result:\n".concat(JSON.stringify(fi,null,2)));pn=!0}}return pn?{partialMatch:!0}:void 0;case"[]":for(var oo,ii=ya(y.args);!(oo=ii()).done;){var pa=oo.value;if(b[0]===pa)return 1===b.length?{match:!0,matchedChars:b}:_?{overflow:!0}:{match:!0,matchedChars:[pa]}}return;default:throw new Error("Unsupported instruction tree: ".concat(y))}}function Mo(b,y){var _=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(_)return(_=_.call(b)).next.bind(_);if(Array.isArray(b)||(_=function Ar(b,y){if(b){if("string"==typeof b)return xa(b,y);var _=Object.prototype.toString.call(b).slice(8,-1);if("Object"===_&&b.constructor&&(_=b.constructor.name),"Map"===_||"Set"===_)return Array.from(b);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return xa(b,y)}}(b))||y&&b&&"number"==typeof b.length){_&&(b=_);var k=0;return function(){return k>=b.length?{done:!0}:{done:!1,value:b[k++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xa(b,y){(null==y||y>b.length)&&(y=b.length);for(var _=0,k=new Array(y);_<y;_++)k[_]=b[_];return k}function na(b,y){for(var _=0;_<y.length;_++){var k=y[_];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}var u=Ai("9",15),l=/[- ]/,Fe=new RegExp("["+Ie+"]*\\$1["+Ie+"]*(\\$\\d["+Ie+"]*)*$"),Dt=function(){function b(y){var k=y.metadata;(function Oa(b,y){if(!(b instanceof y))throw new TypeError("Cannot call a class as a function")})(this,b),this.metadata=k,this.resetFormat()}return function wa(b,y,_){y&&na(b.prototype,y),_&&na(b,_),Object.defineProperty(b,"prototype",{writable:!1})}(b,[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(_,k){this.resetFormat(),_?(this.isNANP="1"===_.callingCode(),this.matchingFormats=_.formats(),k.nationalSignificantNumber&&this.narrowDownMatchingFormats(k)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(_,k){var Ae=this;if(function Ua(b,y){return"IS_POSSIBLE"===ar(b,y)}(k.nationalSignificantNumber,this.metadata))for(var Et,Ye=Mo(this.matchingFormats);!(Et=Ye()).done;){var zt=Et.value,pn=Jo(k,zt,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(jn){return Ae.shouldTryNationalPrefixFormattingRule(jn,{international:k.international,nationalPrefix:k.nationalPrefix})},getSeparatorAfterNationalPrefix:function(jn){return Ae.getSeparatorAfterNationalPrefix(jn)}});if(pn)return this.resetFormat(),this.chosenFormat=zt,this.setNationalNumberTemplate(pn.replace(/\d/g,Gn),k),this.populatedNationalNumberTemplate=pn,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(Gn),pn}return this.formatNationalNumberWithNextDigits(_,k)}},{key:"formatNationalNumberWithNextDigits",value:function(_,k){var Ae=this.chosenFormat,Ye=this.chooseFormat(k);if(Ye)return this.formatNextNationalNumberDigits(Ye===Ae?_:k.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(_){var k=this,Ye=_.nationalPrefix,Et=_.international,zt=_.nationalSignificantNumber,pn=zt.length-3;pn<0&&(pn=0),this.matchingFormats=this.matchingFormats.filter(function(tn){return k.formatSuits(tn,Et,Ye)&&k.formatMatches(tn,zt,pn)}),this.chosenFormat&&-1===this.matchingFormats.indexOf(this.chosenFormat)&&this.resetFormat()}},{key:"formatSuits",value:function(_,k,Ae){return!(Ae&&!_.usesNationalPrefix()&&!_.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!k&&!Ae&&_.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(_,k,Ae){var Ye=_.leadingDigitsPatterns().length;if(0===Ye)return!0;Ae=Math.min(Ae,Ye-1);var Et=_.leadingDigitsPatterns()[Ae];if(k.length<3)try{return void 0!==new Ma(Et).match(k,{allowOverflow:!0})}catch(zt){return console.error(zt),!0}return new RegExp("^(".concat(Et,")")).test(k)}},{key:"getFormatFormat",value:function(_,k){return k?_.internationalFormat():_.format()}},{key:"chooseFormat",value:function(_){for(var Et,k=this,Ae=function(){var tn=Et.value;return k.chosenFormat===tn?"break":Fe.test(k.getFormatFormat(tn,_.international))?k.createTemplateForFormat(tn,_)?(k.chosenFormat=tn,"break"):(k.matchingFormats=k.matchingFormats.filter(function(jn){return jn!==tn}),"continue"):"continue"},Ye=Mo(this.matchingFormats.slice());!(Et=Ye()).done&&"break"!==Ae(););return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(_,k){if(!(_.pattern().indexOf("|")>=0)){var Ae=this.getTemplateForFormat(_,k);if(Ae)return this.setNationalNumberTemplate(Ae,k),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(_){return this.isNANP||_&&_.nationalPrefixFormattingRule()&&l.test(_.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(_,k){var Ae=_.IDDPrefix;return Ae?k&&!1===k.spacing?Ae:Ae+" ":_.missingPlus?"":"+"}},{key:"getTemplate",value:function(_){if(this.template){for(var k=-1,Ae=0,Ye=_.international?this.getInternationalPrefixBeforeCountryCallingCode(_,{spacing:!1}):"";Ae<Ye.length+_.getDigitsWithoutInternationalPrefix().length;)k=this.template.indexOf(Gn,k+1),Ae++;return fo(this.template,k+1)}}},{key:"setNationalNumberTemplate",value:function(_,k){this.nationalNumberTemplate=_,this.populatedNationalNumberTemplate=_,this.populatedNationalNumberTemplatePosition=-1,this.template=k.international?this.getInternationalPrefixBeforeCountryCallingCode(k).replace(/[\d\+]/g,Gn)+Ai(Gn,k.callingCode.length)+" "+_:_}},{key:"getTemplateForFormat",value:function(_,k){var Ae=k.nationalSignificantNumber,Ye=k.international,Et=k.nationalPrefix,zt=k.complexPrefixBeforeNationalSignificantNumber,pn=_.pattern();pn=pn.replace(/\[([^\[\]])*\]/g,"\\d").replace(/\d(?=[^,}][^,}])/g,"\\d");var tn=u.match(pn)[0];if(!(Ae.length>tn.length)){var jn=new RegExp("^"+pn+"$"),ki=Ae.replace(/\d/g,"9");jn.test(ki)&&(tn=ki);var ii,fi=this.getFormatFormat(_,Ye);if(this.shouldTryNationalPrefixFormattingRule(_,{international:Ye,nationalPrefix:Et})){var oo=fi.replace(mr,_.nationalPrefixFormattingRule());if(ke(_.nationalPrefixFormattingRule())===(Et||"")+ke("$1")&&(fi=oo,ii=!0,Et))for(var pa=Et.length;pa>0;)fi=fi.replace(/\d/,Gn),pa--}var aa=tn.replace(new RegExp(pn),fi).replace(new RegExp("9","g"),Gn);
1return ii||(zt?aa=Ai(Gn,zt.length)+" "+aa:Et&&(aa=Ai(Gn,Et.length)+this.getSeparatorAfterNationalPrefix(_)+aa)),Ye&&(aa=To(aa)),aa}}},{key:"formatNextNationalNumberDigits",value:function(_){var k=function go(b,y,_){for(var Ae,k=function da(b,y){var _=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(_)return(_=_.call(b)).next.bind(_);if(Array.isArray(b)||(_=function Va(b,y){if(b){if("string"==typeof b)return en(b,y);var _=Object.prototype.toString.call(b).slice(8,-1);if("Object"===_&&b.constructor&&(_=b.constructor.name),"Map"===_||"Set"===_)return Array.from(b);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return en(b,y)}}(b))||y&&b&&"number"==typeof b.length){_&&(b=_);var k=0;return function(){return k>=b.length?{done:!0}:{done:!1,value:b[k++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(_.split(""));!(Ae=k()).done;){var Ye=Ae.value;if(b.slice(y+1).search(Yo)<0)return;y=b.search(Yo),b=b.replace(Yo,Ye)}return[b,y]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,_);if(k)return this.populatedNationalNumberTemplate=k[0],this.populatedNationalNumberTemplatePosition=k[1],fo(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1);this.resetFormat()}},{key:"shouldTryNationalPrefixFormattingRule",value:function(_,k){var Ae=k.international,Ye=k.nationalPrefix;if(_.nationalPrefixFormattingRule()){var Et=_.usesNationalPrefix();if(Et&&Ye||!Et&&!Ae)return!0}}}]),b}();function $t(b,y){return function Dn(b){if(Array.isArray(b))return b}(b)||function vn(b,y){var _=null==b?null:typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(null!=_){var Et,zt,k=[],Ae=!0,Ye=!1;try{for(_=_.call(b);!(Ae=(Et=_.next()).done)&&(k.push(Et.value),!y||k.length!==y);Ae=!0);}catch(pn){Ye=!0,zt=pn}finally{try{!Ae&&null!=_.return&&_.return()}finally{if(Ye)throw zt}}return k}}(b,y)||function Qt(b,y){if(b){if("string"==typeof b)return Sn(b,y);var _=Object.prototype.toString.call(b).slice(8,-1);if("Object"===_&&b.constructor&&(_=b.constructor.name),"Map"===_||"Set"===_)return Array.from(b);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return Sn(b,y)}}(b,y)||function rn(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sn(b,y){(null==y||y>b.length)&&(y=b.length);for(var _=0,k=new Array(y);_<y;_++)k[_]=b[_];return k}function Qn(b,y){for(var _=0;_<y.length;_++){var k=y[_];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}var Yi=new RegExp("^["+Ie+Vn+"]+$","i"),Ri="(?:[+\uff0b]["+Ie+Vn+"]*|["+Ie+Vn+"]+)",Kr=new RegExp("[^"+Ie+Vn+"]+.*$"),yr=/[^\d\[\]]/,Fr=function(){function b(y){var _=y.defaultCountry,k=y.defaultCallingCode,Ae=y.metadata,Ye=y.onNationalSignificantNumberChange;(function Rn(b,y){if(!(b instanceof y))throw new TypeError("Cannot call a class as a function")})(this,b),this.defaultCountry=_,this.defaultCallingCode=k,this.metadata=Ae,this.onNationalSignificantNumberChange=Ye}return function ci(b,y,_){y&&Qn(b.prototype,y),_&&Qn(b,_),Object.defineProperty(b,"prototype",{writable:!1})}(b,[{key:"input",value:function(_,k){var tn,Ae=function Sr(b){var _=$t(function dr(b){var y=function jr(b){var _,y=b.search(Ri);if(!(y<0))return"+"===(b=b.slice(y))[0]&&(_=!0,b=b.slice(1)),b=b.replace(Kr,""),_&&(b="+"+b),b}(b)||"";return"+"===y[0]?[y.slice(1),!0]:[y]}(b),2),k=_[0],Ae=_[1];return Yi.test(k)||(k=""),[k,Ae]}(_),Ye=$t(Ae,2),zt=Ye[1],pn=ke(Ye[0]);return zt&&(k.digits||(k.startInternationalNumber(),pn||(tn=!0))),pn&&this.inputDigits(pn,k),{digits:pn,justLeadingPlus:tn}}},{key:"inputDigits",value:function(_,k){var Ae=k.digits,Ye=Ae.length<3&&Ae.length+_.length>=3;if(k.appendDigits(_),Ye&&this.extractIddPrefix(k),this.isWaitingForCountryCallingCode(k)){if(!this.extractCountryCallingCode(k))return}else k.appendNationalSignificantNumberDigits(_);k.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(k.getNationalDigits(),function(Et){return k.update(Et)})}},{key:"isWaitingForCountryCallingCode",value:function(_){return _.international&&!_.callingCode}},{key:"extractCountryCallingCode",value:function(_){var k=Ei("+"+_.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),Ae=k.countryCallingCode,Ye=k.number;if(Ae)return _.setCallingCode(Ae),_.update({nationalSignificantNumber:Ye}),!0}},{key:"reset",value:function(_){if(_){this.hasSelectedNumberingPlan=!0;var k=_._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=k&&yr.test(k)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(_,k){if(this.hasSelectedNumberingPlan){var Ae=Kn(_,this.metadata),Et=Ae.nationalNumber;if(Et!==_)return this.onExtractedNationalNumber(Ae.nationalPrefix,Ae.carrierCode,Et,_,k),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(_,k,Ae){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(_,Ae);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var Ye=Kn(_,this.metadata),zt=Ye.nationalNumber;if(zt!==k)return this.onExtractedNationalNumber(Ye.nationalPrefix,Ye.carrierCode,zt,_,Ae),!0}}},{key:"onExtractedNationalNumber",value:function(_,k,Ae,Ye,Et){var zt,pn,tn=Ye.lastIndexOf(Ae);if(tn>=0&&tn===Ye.length-Ae.length){pn=!0;var jn=Ye.slice(0,tn);jn!==_&&(zt=jn)}Et({nationalPrefix:_,carrierCode:k,nationalSignificantNumber:Ae,nationalSignificantNumberMatchesInput:pn,complexPrefixBeforeNationalSignificantNumber:zt}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(_){return!!this.extractAnotherNationalSignificantNumber(_.getNationalDigits(),_.nationalSignificantNumber,function(k){return _.update(k)}
1)||(this.extractIddPrefix(_)||this.fixMissingPlus(_)?(this.extractCallingCodeAndNationalSignificantNumber(_),!0):void 0)}},{key:"extractIddPrefix",value:function(_){var Ye=_.digits;if(!_.international&&!_.IDDPrefix){var zt=Ki(Ye,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(void 0!==zt&&zt!==Ye)return _.update({IDDPrefix:Ye.slice(0,Ye.length-zt.length)}),this.startInternationalNumber(_,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(_){if(!_.international){var Ae=gr(_.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata).countryCallingCode;if(Ae)return _.update({missingPlus:!0}),this.startInternationalNumber(_,{country:_.country,callingCode:Ae}),!0}}},{key:"startInternationalNumber",value:function(_,k){_.startInternationalNumber(k.country,k.callingCode),_.nationalSignificantNumber&&(_.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(_){this.extractCountryCallingCode(_)&&this.extractNationalSignificantNumber(_.getNationalDigits(),function(k){return _.update(k)})}}]),b}();function ma(b){return(ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(y){return typeof y}:function(y){return y&&"function"==typeof Symbol&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(b)}function Fo(b,y){(null==y||y>b.length)&&(y=b.length);for(var _=0,k=new Array(y);_<y;_++)k[_]=b[_];return k}function Un(b,y){for(var _=0;_<y.length;_++){var k=y[_];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}var ur=function(){function b(y,_){(function $n(b,y){if(!(b instanceof y))throw new TypeError("Cannot call a class as a function")})(this,b),this.metadata=new $(_);var Ae=function Qr(b,y){return function Pn(b){if(Array.isArray(b))return b}(b)||function kn(b,y){var _=null==b?null:typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(null!=_){var Et,zt,k=[],Ae=!0,Ye=!1;try{for(_=_.call(b);!(Ae=(Et=_.next()).done)&&(k.push(Et.value),!y||k.length!==y);Ae=!0);}catch(pn){Ye=!0,zt=pn}finally{try{!Ae&&null!=_.return&&_.return()}finally{if(Ye)throw zt}}return k}}(b,y)||function Zo(b,y){if(b){if("string"==typeof b)return Fo(b,y);var _=Object.prototype.toString.call(b).slice(8,-1);if("Object"===_&&b.constructor&&(_=b.constructor.name),"Map"===_||"Set"===_)return Array.from(b);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return Fo(b,y)}}(b,y)||function Cr(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this.getCountryAndCallingCode(y),2),Et=Ae[1];this.defaultCountry=Ae[0],this.defaultCallingCode=Et,this.reset()}return function nr(b,y,_){y&&Un(b.prototype,y),_&&Un(b,_),Object.defineProperty(b,"prototype",{writable:!1})}(b,[{key:"getCountryAndCallingCode",value:function(_){var k,Ae;return _&&("object"===ma(_)?(k=_.defaultCountry,Ae=_.defaultCallingCode):k=_),k&&!this.metadata.hasCountry(k)&&(k=void 0),[k,Ae]}},{key:"input",value:function(_){var k=this.parser.input(_,this.state),Ae=k.digits;if(k.justLeadingPlus)this.formattedOutput="+";else if(Ae){var Et;if(this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state),this.metadata.hasSelectedNumberingPlan()&&(Et=this.formatter.format(Ae,this.state)),void 0===Et&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var zt=this.state.getNationalDigits();zt&&(Et=this.formatter.format(zt,this.state))}this.formattedOutput=Et?this.getFullNumber(Et):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var _=this;return this.state=new Ro({onCountryChange:function(Ae){_.country=Ae},onCallingCodeChange:function(Ae,Ye){_.metadata.selectNumberingPlan(Ye,Ae),_.formatter.reset(_.metadata.numberingPlan,_.state),_.parser.reset(_.metadata.numberingPlan)}}),this.formatter=new Dt({state:this.state,metadata:this.metadata}),this.parser=new Fr({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){_.determineTheCountryIfNeeded(),_.formatter.reset(_.metadata.numberingPlan,_.state)}}),this.state.reset(this.defaultCountry,this.defaultCallingCode),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){if(this.isInternational())return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){if(this.state.digits)return this._getCountry()}},{key:"_getCountry",value:function(){return this.state.country}},{key:"determineTheCountryIfNeeded",value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:"getFullNumber",value:function(_){var zt;if(this.isInternational()){var Ye=this.state.callingCode;return zt=Ye?_?"".concat(Ye," ").concat(_):Ye:"".concat(this.state.getDigitsWithoutInternationalPrefix()),this.formatter.getInternationalPrefixBeforeCountryCallingCode(this.state,{spacing:!!zt})+zt}return _}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var _=this.state,Et=_.nationalSignificantNumber,zt=_.complexPrefixBeforeNationalSignificantNumber||_.nationalPrefix;return zt&&(Et=zt+Et),Et}},{key:"getNonFormattedNumber",value:function(){return this.getFullNumber(this.state.nationalSignificantNumberMatchesInput?this.getNon
1FormattedNationalNumberWithPrefix():this.state.getNationalDigits())}},{key:"getNonFormattedTemplate",value:function(){var _=this.getNonFormattedNumber();if(_)return _.replace(/[\+\d]/g,Gn)}},{key:"isCountryCallingCodeAmbiguous",value:function(){var k=this.metadata.getCountryCodesForCallingCode(this.state.callingCode);return k&&k.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry(di(this.isInternational()?this.state.callingCode:this.defaultCallingCode,this.state.nationalSignificantNumber,this.metadata))}},{key:"getNumberValue",value:function(){var _=this.state,k=_.digits,Ae=_.callingCode,Ye=_.country,Et=_.nationalSignificantNumber;if(k){if(this.isInternational())return Ae?"+"+Ae+Et:"+"+k;if(Ye||Ae)return"+"+(Ye?this.metadata.countryCallingCode():Ae)+Et}}},{key:"getNumber",value:function(){var _=this.state,k=_.nationalSignificantNumber,Ae=_.carrierCode,Ye=_.callingCode,Et=this._getCountry();if(k&&(Et||Ye)){var zt=new On(Et||Ye,k,this.metadata.metadata);return Ae&&(zt.carrierCode=Ae),zt}}},{key:"isPossible",value:function(){var _=this.getNumber();return!!_&&_.isPossible()}},{key:"isValid",value:function(){var _=this.getNumber();return!!_&&_.isValid()}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}]),b}();function zr(b){return ur.call(this,b,dt)}(zr.prototype=Object.create(ur.prototype,{})).constructor=zr;var mi=f(9101),No=f(4850),ia=f(8255),Gi=f(6895);const Nr=["phoneInput"],Si=["searchInput"];function ir(b,y){if(1&b){const _=V.EpF();V.TgZ(0,"mat-form-field",12),V.NdJ("click",function(Ae){return Ae.stopPropagation()}),V.TgZ(1,"input",13,14),V.NdJ("ngModelChange",function(Ae){V.CHM(_);const Ye=V.oxw(2);return V.KtG(Ye.searchQuery=Ae)}),V.qZA()()}if(2&b){const _=V.oxw(2);V.xp6(1),V.Q6J("ngModel",_.searchQuery)("placeholder",_.searchPlaceholder)}}function fa(b,y){if(1&b){const _=V.EpF();V.TgZ(0,"button",15),V.NdJ("click",function(){const Ye=V.CHM(_).$implicit,Et=V.oxw(2);return V.KtG(Et.selectCountry(Ye))}),V.TgZ(1,"div",16),V._UZ(2,"div",17),V.qZA(),V.TgZ(3,"div",18),V._uU(4),V.qZA()()}if(2&b){const _=y.$implicit;V.xp6(2),V.Q6J("ngClass",_.flagClass),V.xp6(2),V.AsE("",_.name," +",_.dialCode,"")}}function ra(b,y){1&b&&V._UZ(0,"mat-divider")}function Lo(b,y){if(1&b){const _=V.EpF();V.TgZ(0,"button",15),V.NdJ("click",function(){V.CHM(_);const Ae=V.oxw().$implicit,Ye=V.oxw(2);return V.KtG(Ye.selectCountry(Ae))}),V.TgZ(1,"div",16),V._UZ(2,"div",17),V.qZA(),V.TgZ(3,"div",18),V._uU(4),V.qZA()()}if(2&b){const _=V.oxw().$implicit;V.xp6(2),V.Q6J("ngClass",_.flagClass),V.xp6(2),V.AsE("",_.name," +",_.dialCode,"")}}function oa(b,y){if(1&b&&(V.ynx(0),V.YNc(1,Lo,5,3,"button",19),V.ALo(2,"search"),V.BQk()),2&b){const _=y.$implicit,k=V.oxw(2);V.xp6(1),V.Q6J("ngIf",V.xi3(2,1,_.name,k.searchQuery))}}function Ao(b,y){if(1&b){const _=V.EpF();V.ynx(0),V.TgZ(1,"button",1),V.NdJ("click",function(){V.CHM(_);const Ae=V.oxw();return V.KtG(Ae.onOpenMenuClick())}),V._UZ(2,"span",2),V.TgZ(3,"span",3),V._uU(4),V.qZA(),V._UZ(5,"span",4),V.qZA(),V.TgZ(6,"mat-menu",5,6),V.NdJ("closed",function(){V.CHM(_);const Ae=V.oxw();return V.KtG(Ae.onMenuClosed())}),V.TgZ(8,"div",7),V.YNc(9,ir,3,2,"mat-form-field",8),V.qZA(),V.TgZ(10,"div",9),V.YNc(11,fa,5,3,"button",10),V.YNc(12,ra,1,0,"mat-divider",0),V.YNc(13,oa,3,4,"ng-container",11),V.qZA()(),V.BQk()}if(2&b){const _=V.MAs(7),k=V.oxw();V.xp6(1),V.Q6J("matMenuTriggerFor",_)("disabled",k.disabled),V.xp6(1),V.Q6J("ngClass",k.selectedCountry.flagClass),V.xp6(1),V.Q6J("hidden",!k.showDialCode),V.xp6(1),V.hij("+",k.selectedCountry.dialCode,""),V.xp6(5),V.Q6J("ngIf",!k.disableSearch),V.xp6(2),V.Q6J("ngForOf",k.preferredCountriesInDropDown),V.xp6(1),V.Q6J("ngIf",null==k.preferredCountriesInDropDown?null:k.preferredCountriesInDropDown.length),V.xp6(1),V.Q6J("ngForOf",k.allCountries)}}let Ra=(()=>{let b=class{constructor(){this.allCountries=[["Afghanistan (\u202b\u0627\u0641\u063a\u0627\u0646\u0633\u062a\u0627\u0646\u202c\u200e)","af","93"],["Albania (Shqip\xebri)","al","355"],["Algeria (\u202b\u0627\u0644\u062c\u0632\u0627\u0626\u0631\u202c\u200e)","dz","213"],["American Samoa","as","1684"],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1264"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54"],["Armenia (\u0540\u0561\u0575\u0561\u057d\u057f\u0561\u0576)","am","374"],["Aruba","aw","297"],["Australia","au","61",0],["Austr
1ia (\xd6sterreich)","at","43"],["Azerbaijan (Az\u0259rbaycan)","az","994"],["Bahamas","bs","1242"],["Bahrain (\u202b\u0627\u0644\u0628\u062d\u0631\u064a\u0646\u202c\u200e)","bh","973"],["Bangladesh (\u09ac\u09be\u0982\u09b2\u09be\u09a6\u09c7\u09b6)","bd","880"],["Barbados","bb","1246"],["Belarus (\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c)","by","375"],["Belgium (Belgi\xeb)","be","32"],["Belize","bz","501"],["Benin (B\xe9nin)","bj","229"],["Bermuda","bm","1441"],["Bhutan (\u0f60\u0f56\u0fb2\u0f74\u0f42)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (\u0411\u043e\u0441\u043d\u0430 \u0438 \u0425\u0435\u0440\u0446\u0435\u0433\u043e\u0432\u0438\u043d\u0430)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1284"],["Brunei","bn","673"],["Bulgaria (\u0411\u044a\u043b\u0433\u0430\u0440\u0438\u044f)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (\u1780\u1798\u17d2\u1796\u17bb\u1787\u17b6)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1],["Cayman Islands","ky","1345"],["Central African Republic (R\xe9publique centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (\u4e2d\u56fd)","cn","86"],["Christmas Island","cx","61",2],["Cocos (Keeling) Islands","cc","61",1],["Colombia","co","57"],["Comoros (\u202b\u062c\u0632\u0631 \u0627\u0644\u0642\u0645\u0631\u202c\u200e)","km","269"],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["C\xf4te d\u2019Ivoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Cura\xe7ao","cw","599",0],["Cyprus (\u039a\u03cd\u03c0\u03c1\u03bf\u03c2)","cy","357"],["Czech Republic (\u010cesk\xe1 republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic (Rep\xfablica Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (\u202b\u0645\u0635\u0631\u202c\u200e)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (F\xf8royar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane fran\xe7aise)","gf","594"],["French Polynesia (Polyn\xe9sie fran\xe7aise)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (\u10e1\u10d0\u10e5\u10d0\u10e0\u10d7\u10d5\u10d4\u10da\u10dd)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["Gibraltar","gi","350"],["Greece (\u0395\u03bb\u03bb\u03ac\u03b4\u03b1)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1473"],["Guadeloupe","gp","590",0],["Guam","gu","1671"],["Guatemala","gt","502"],["Guernsey","gg","44",1],["Guinea (Guin\xe9e)","gn","224"],["Guinea-Bissau (Guin\xe9 Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (\u9999\u6e2f)","hk","852"],["Hungary (Magyarorsz\xe1g)","hu","36"],["Iceland (\xcdsland)","is","354"],["India (\u092d\u093e\u0930\u0924)","in","91"],["Indonesia","id","62"],["Iran (\u202b\u0627\u06cc\u0631\u0627\u0646\u202c\u200e)","ir","98"],["Iraq (\u202b\u0627\u0644\u0639\u0631\u0627\u0642\u202c\u200e)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2],["Israel (\u202b\u05d9\u05e9\u05e8\u05d0\u05dc\u202c\u200e)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan (\u65e5\u672c)","jp","81"],["Jersey","je","44",3],["Jordan (\u202b\u0627\u0644\u0623\u0631\u062f\u0646\u202c\u200e)","jo","962"],["Kazakhstan (\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d)","kz","7",1],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (\u202b\u0627\u0644\u0643\u0648\u064a\u062a\u202c\u200e)","kw","965"],["Kyrgyzstan (\u041a\u044b\u0440\u0433\u044b\u0437\u0441\u0442\u0430\u043d)","kg","996"],["Laos (\u0ea5\u0eb2\u0ea7)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (\u202b\u0644\u0628\u0646\u0627\u0646\u202c\u200e)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (\u202b\u0644\u064a\u0628\u064a\u0627\u202c\u200e)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (\u6fb3\u9580)","mo","853"],["Macedonia (FYROM) (\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0438\u0458\u0430)","mk","389"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (\u202b\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627\u202c\u200e)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1],["Mexico (M\xe9xico)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (\u041c\u043e\u043d\u0433\u043e\u043b)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1664"],["Morocco (\u202b\u0627\u0644\u0645\u063a\u0631\u0628\u202c\u200e)","ma","212",0],["Mozambique (Mo\xe7ambique)","mz","258"],["Myanmar (Burma) (\u1019\u103c\u1014\u103a\u1019\u102c)","mm","95"],["Namibia (Namibi\xeb)","na","264"],["Nauru","nr","674"],["Nepal (\u0928\u0947\u092a\u093e\u0932)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Cal\xe9donie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (\uc870\uc120 \ubbfc\uc8fc\uc8fc\uc758 \uc778\ubbfc \uacf5\ud654\uad6d)","kp","850"],["Northern Mariana Islands","mp","1670"],["Norway (Norge)","no","47",0],["Oman (\u202b\u0639\u064f\u0645\u0627\u0646\u202c\u200e)","om","968"],["Pakistan (\u202b\u067e\u0627\u06a9\u0633\u062a\u0627\u0646\u202c\u200e)","pk","92"],["Palau","pw","680"],["Palestine (\u202b\u0641\u0644\u0633\u0637\u064a\u0646\u202c\u200e)","ps","970"],["Panama (Panam\xe1)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Per\xfa)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (\u202b\u0642\u0637\u0631\u202c\u200e)","qa","974"],["R\xe9union (La R\xe9union)","re","262",0],["Romania (Rom\xe2nia)","ro","40"],["Russia (\u0420\u043e\u0441\u0441\u0438\u044f)","ru","7",0],["Rwanda","rw","250"],["Saint Barth\xe9lemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Martin (Saint-Martin (partie fran\xe7aise))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["S\xe3o Tom\xe9 and Pr\xedncipe (S\xe3o Tom\xe9 e Pr\xedncipe)","st","239"],["Saudi Arabia (\u202b\u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629\u202c\u200e)","sa","966"],["Senegal (S\xe9n\xe9gal)","sn","221"],["Serbia (\u0421\u0440\u0431\u0438\u0458\u0430)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1721"],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["S
1omalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (\ub300\ud55c\ubbfc\uad6d)","kr","82"],["South Sudan (\u202b\u062c\u0646\u0648\u0628 \u0627\u0644\u0633\u0648\u062f\u0627\u0646\u202c\u200e)","ss","211"],["Spain (Espa\xf1a)","es","34"],["Sri Lanka (\u0dc1\u0dca\u200d\u0dbb\u0dd3 \u0dbd\u0d82\u0d9a\u0dcf\u0dc0)","lk","94"],["Sudan (\u202b\u0627\u0644\u0633\u0648\u062f\u0627\u0646\u202c\u200e)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1],["Swaziland","sz","268"],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (\u202b\u0633\u0648\u0631\u064a\u0627\u202c\u200e)","sy","963"],["Taiwan (\u53f0\u7063)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (\u0e44\u0e17\u0e22)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia (\u202b\u062a\u0648\u0646\u0633\u202c\u200e)","tn","216"],["Turkey (T\xfcrkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1649"],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1340"],["Uganda","ug","256"],["Ukraine (\u0423\u043a\u0440\u0430\u0457\u043d\u0430)","ua","380"],["United Arab Emirates (\u202b\u0627\u0644\u0625\u0645\u0627\u0631\u0627\u062a \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0645\u062a\u062d\u062f\u0629\u202c\u200e)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (O\u02bbzbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Citt\xe0 del Vaticano)","va","39",1],["Venezuela","ve","58"],["Vietnam (Vi\u1ec7t Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (\u202b\u0627\u0644\u0635\u062d\u0631\u0627\u0621 \u0627\u0644\u063a\u0631\u0628\u064a\u0629\u202c\u200e)","eh","212",1],["Yemen (\u202b\u0627\u0644\u064a\u0645\u0646\u202c\u200e)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["\xc5land Islands","ax","358",1]]}};return b.\u0275fac=function(_){return new(_||b)},b.\u0275prov=V.Yz7({token:b,factory:function(y){return b.\u0275fac(y)}}),b})();
1const cs={"001":"001",AC:"40123",AD:"312345",AE:"501234567",AF:"701234567",AG:"2684641234",AI:"2642351234",AL:"662123456",AM:"77123456",AO:"923123456",AR:"91123456789",AS:"6847331234",AT:"664123456",AU:"412345678",AW:"5601234",AX:"412345678",AZ:"401234567",BA:"61123456",BB:"2462501234",BD:"1812345678",BE:"470123456",BF:"70123456",BG:"48123456",BH:"36001234",BI:"79561234",BJ:"90011234",BL:"690001234",BM:"4413701234",BN:"7123456",BO:"71234567",BQ:"3181234",BR:"11961234567",BS:"2423591234",BT:"17123456",BW:"71123456",BY:"294911911",BZ:"6221234",CA:"5062345678",CC:"412345678",CD:"991234567",CF:"70012345",CG:"061234567",CH:"781234567",CI:"01234567",CK:"71234",CL:"221234567",CM:"671234567",CN:"13123456789",CO:"3211234567",CR:"83123456",CU:"51234567",CV:"9911234",CW:"95181234",CX:"412345678",CY:"96123456",CZ:"601123456",DE:"15123456789",DJ:"77831001",DK:"32123456",DM:"7672251234",DO:"8092345678",DZ:"551234567",EC:"991234567",EE:"51234567",EG:"1001234567",EH:"650123456",ER:"7123456",ES:"612345678",ET:"911234567",FI:"412345678",FJ:"7012345",FK:"51234",FM:"3501234",FO:"211234",FR:"612345678",GA:"06031234",GB:"7400123456",GD:"4734031234",GE:"555123456",GF:"694201234",GG:"7781123456",GH:"231234567",GI:"57123456",GL:"221234",GM:"3012345",GN:"601123456",GP:"690001234",GQ:"222123456",GR:"6912345678",GT:"51234567",GU:"6713001234",GW:"955012345",GY:"6091234",HK:"51234567",HN:"91234567",HR:"921234567",HT:"34101234",HU:"201234567",ID:"812345678",IE:"850123456",IL:"502345678",IM:"7924123456",IN:"8123456789",IO:"3801234",IQ:"7912345678",IR:"9123456789",IS:"6111234",IT:"3123456789",JE:"7797712345",JM:"8762101234",JO:"790123456",JP:"9012345678",KE:"712123456",KG:"700123456",KH:"91234567",KI:"72001234",KM:"3212345",KN:"8697652917",KP:"1921234567",KR:"1000000000",KW:"50012345",KY:"3453231234",KZ:"7710009998",LA:"2023123456",LB:"71123456",LC:"7582845678",LI:"660234567",LK:"712345678",LR:"770123456",LS:"50123456",LT:"61234567",LU:"628123456",LV:"21234567",LY:"912345678",MA:"650123456",MC:"612345678",MD:"62112345",ME:"67622901",MF:"690001234",MG:"321234567",MH:"2351234",MK:"72345678",ML:"65012345",MM:"92123456",MN:"88123456",MO:"66123456",MP:"6702345678",MQ:"696201234",MR:"22123456",MS:"6644923456",MT:"96961234",MU:"52512345",MV:"7712345",MW:"991234567",MX:"12221234567",MY:"123456789",MZ:"821234567",NA:"811234567",NC:"751234",NE:"93123456",NF:"381234",NG:"8021234567",NI:"81234567",NL:"612345678",NO:"40612345",NP:"9841234567",NR:"5551234",NU:"8884012",NZ:"211234567",OM:"92123456",PA:"61234567",PE:"912345678",PF:"87123456",PG:"70123456",PH:"9051234567",PK:"3012345678",PL:"512345678",PM:"551234",PR:"7872345678",PS:"599123456",PT:"912345678",PW:"6201234",PY:"961456789",QA:"33123456",RE:"692123456",RO:"712034567",RS:"601234567",RU:"9123456789",RW:"720123456",SA:"512345678",SB:"7421234",SC:"2510123",SD:"911231234",SE:"701234567",SG:"81234567",SH:"51234",SI:"31234567",SJ:"41234567",SK:"912123456",SL:"25123456",SM:"66661212",SN:"701234567",SO:"71123456",SR:"7412345",SS:"977123456",ST:"9812345",SV:"70123456",SX:"7215205678",SY:"944567890",SZ:"76123456",TA:"8999",TC:"6492311234",TD:"63012345",TG:"90112345",TH:"812345678",TJ:"917123456",TK:"7290",TL:"77212345",TM:"66123456",TN:"20123456",TO:"7715123",TR:"5012345678",TT:"8682911234",TV:"901234",TW:"912345678",TZ:"621234567",UA:"501234567",UG:"712345678",US:"2015550123",UY:"94231234",UZ:"912345678",VA:"3123456789",VC:"7844301234",VE:"4121234567",VG:"2843001234",VI:"3406421234",VN:"912345678",VU:"5912345",WF:"501234",WS:"7212345",XK:"43201234",YE:"712345678",YT:"639012345",ZA:"711234567",ZM:"955123456",ZW:"712345678"};var Wo;let Er=Wo=class{constructor(y,_,k,Ae){this.ngControl=y,this.fm=_,this.elRef=k,this.changeDetector=Ae,this.blur=new V.vpe,this.PhoneNumberMaxDigits=20,this.maxInputLength=this.PhoneNumberMaxDigits,this.countryChange=new Ne.x,this.stateChanges=new Ne.x,this.id="lac-mat-tel-input-"+Wo.nextId++,this.focused=!1,this._required=!1,this.inputDisabled=!1,this.controlType="mat-tel",this.describedBy="",this.onTouched=()=>{},this.propagateChange=Ye=>{},this._internationalFormat=!1,null!=this.ngControl&&(this.ngControl.valueAccessor=this),_.monitor(k.nativeElement,!0).subscribe(Ye=>{this.focused=!!Ye,this.stateChanges.next()})}set value(y){if(this._value=y&&`+${function T(){return qe(z,arguments)}(this.selectedCountry)} ${y}`,this.internationalFormat&&this._value){let _=ye(this._value);_&&_.isValid()&&(this._value=_.formatInternational())}
1this.propagateChange(this._value),this.stateChanges.next()}get placeholder(){return this._placeholder}set placeholder(y){this._placeholder=y,this.stateChanges.next()}get empty(){return!this.phone}get shouldLabelFloat(){return this.focused||!this.empty}get required(){return this._required}set required(y){this._required=(0,ze.Ig)(y),this.stateChanges.next()}get disabled(){return this.inputDisabled||this.ngControl.disabled}set disabled(y){this.inputDisabled=(0,ze.Ig)(y),this.stateChanges.next()}get errorState(){return this.ngControl&&null!==this.ngControl.errors&&!!this.ngControl.touched}setDescribedByIds(y){this.describedBy=y.join(" ")}onContainerClick(y){this.disabled||this.onTouched()}writeValue(y){this.onInputChanged(y)}registerOnChange(y){this.propagateChange=y}registerOnTouched(y){this.onTouched=y}get internationalFormat(){return this._internationalFormat}set internationalFormat(y){this._internationalFormat=(0,ze.Ig)(y),this.onInputChanged(this.phone)}ngOnInit(){}ngOnDestroy(){this.fm.stopMonitoring(this.elRef.nativeElement),this.countryChange.complete(),this.stateChanges.complete()}onCountrySelected(y,_){let k=this.selectedCountry&&this.selectedCountry!=y;this.selectedCountry=y;let Et=function mn(){return qe(Ut,arguments)}(y,cs).formatNational().replace(/[^\d]/g,"")+"9999999999";this.maxInputLength=this.PhoneNumberMaxDigits;for(let zt=Et.length;zt>=0;zt--){let pn=Et.substring(0,zt),tn=ye(pn,y);if(tn&&tn.isValid()){let jn=new zr(y).input(pn);this.maxInputLength=jn.length,this.placeholder=jn;break}}k&&!_&&(this.phone="",this.value=this.phone,this.phoneInput&&setTimeout(()=>this.phoneInput.focus()))}onInputChanged(y){if(y||(y=""),this.phone=y,y.startsWith("+"))try{let k=ye(y);if(k&&k.country){let Ae=k.country;return this.onCountrySelected(Ae,!0),this.countryChange.next(Ae),void setTimeout(()=>{this.phone=k.formatNational(),this.value=this.phone})}}catch{}let _=y.replace(/[^\d]/g,"");setTimeout(()=>{let k=new zr(this.selectedCountry).input(_);this.phone=k.substr(0,k.length-1)===this.phone?_:k,this.value=this.phone},0)}onInputKeyPress(y){!/[0-9\+\-\ ]/.test(y.key)&&(!y.ctrlKey||!/[axcv]/.test(y.key))&&!["ArrowLeft","ArrowUp","ArrowRight","ArrowDown","Home","End","Insert","Delete","Backspace"].includes(y.key)&&y.preventDefault()}};Er.\u0275fac=function(y){return new(y||Er)(V.Y36(me.a5,10),V.Y36(Le.tE),V.Y36(V.SBq),V.Y36(V.sBO))},Er.\u0275cmp=V.Xpm({type:Er,selectors:[["lac-mat-tel-input"]],viewQuery:function(y,_){if(1&y&&V.Gf(Nr,7),2&y){let k;V.iGM(k=V.CRH())&&(_.phoneInput=k.first)}},hostVars:4,hostBindings:function(y,_){2&y&&(V.Ikx("id",_.id),V.uIk("aria-describedby",_.describedBy),V.ekj("floating",_.shouldLabelFloat))},inputs:{required:"required",disabled:"disabled",internationalFormat:"internationalFormat"},outputs:{blur:"blur"},features:[V._Bn([{provide:He.Eo,useExisting:Wo}])],decls:2,vars:4,consts:[["type","text","matInput","",3,"ngModel","disabled","maxlength","placeholder","blur","keypress","ngModelChange"],["phoneInput","matInput"]],template:function(y,_){1&y&&(V.TgZ(0,"input",0,1),V.NdJ("blur",function(Ae){return _.blur.emit(Ae)})("keypress",function(Ae){return _.onInputKeyPress(Ae)})("ngModelChange",function(Ae){return _.onInputChanged(Ae)}),V.qZA()),2&y&&V.Q6J("ngModel",_.phone)("disabled",_.disabled)("maxlength",_.phone?_.maxInputLength:_.PhoneNumberMaxDigits)("placeholder",_.placeholder)},dependencies:[me.Fj,me.JJ,me.nD,me.On,Be.Nt]}),Er.nextId=0,Er.ctorParameters=()=>[{type:me.a5,decorators:[{type:V.FiY},{type:V.PiD}]}
1,{type:Le.tE},{type:V.SBq},{type:V.sBO}],e([(0,V.r_U)(),R("design:type",V.vpe)],Er.prototype,"blur",void 0),e([(0,V.i9L)("phoneInput",{static:!0}),R("design:type",Be.Nt)],Er.prototype,"phoneInput",void 0),e([(0,V.pfw)(),R("design:type",String)],Er.prototype,"id",void 0),e([(0,V.pfw)("class.floating"),R("design:type",Object),R("design:paramtypes",[])],Er.prototype,"shouldLabelFloat",null),e([(0,V.IIB)(),R("design:type",Object),R("design:paramtypes",[Object])],Er.prototype,"required",null),e([(0,V.IIB)(),R("design:type",Boolean),R("design:paramtypes",[Boolean])],Er.prototype,"disabled",null),e([(0,V.pfw)("attr.aria-describedby"),R("design:type",Object)],Er.prototype,"describedBy",void 0),e([(0,V.IIB)(),R("design:type",Object),R("design:paramtypes",[Object])],Er.prototype,"internationalFormat",null),Er=Wo=e([ee(0,(0,V.FiY)()),ee(0,(0,V.PiD)()),R("design:paramtypes",[me.a5,Le.tE,V.SBq,V.sBO])],Er);let Xa=(()=>{let b=class{constructor(_){this.countryCodeData=_,this.preferredCountries=[],this.onlyCountries=[],this.change=new V.vpe,this.allCountries=[],this.preferredCountriesInDropDown=[],this.fetchCountryData()}get disabled(){return this.selectorFor&&this.selectorFor.disabled}fetchCountryData(){this.countryCodeData.allCountries.forEach(_=>{const k={name:_[0].toString(),iso2:_[1].toString(),dialCode:_[2].toString(),priority:+_[3]||0,areaCodes:_[4]||void 0,flagClass:_[1].toString().toUpperCase(),placeHolder:""};this.allCountries.push(k)})}ngOnInit(){let _;this.preferredCountries.length&&this.preferredCountries.forEach(k=>{const Ae=this.allCountries.filter(Ye=>Ye.iso2===k);this.preferredCountriesInDropDown.push(Ae[0])}),this.onlyCountries.length&&(this.allCountries=this.allCountries.filter(k=>this.onlyCountries.includes(k.iso2))),_=this.preferredCountriesInDropDown.length?this.preferredCountriesInDropDown[0]:this.allCountries[0],this.selectorFor&&(this.countrySubscription=this.selectorFor.countryChange.subscribe(k=>this.onCountryUpdateFromInput(k))),this.selectCountry(_)}ngOnDestroy(){this.countrySubscription&&this.countrySubscription.unsubscribe()}selectCountry(_){this.selectedCountry=_,this.selectorFor&&this.selectorFor.onCountrySelected(_.flagClass),this.change.next(_)}onCountryUpdateFromInput(_){let k=this.allCountries.find(Ae=>Ae.flagClass===_.toString());this.selectedCountry=k,this.change.next(k)}onOpenMenuClick(){!this.disableSearch&&this.searchInput&&setTimeout(()=>this.searchInput.focus())}onMenuClosed(){this.searchQuery=""}};return b.\u0275fac=function(_){return new(_||b)(V.Y36(Ra))},b.\u0275cmp=V.Xpm({type:b,selectors:[["lac-mat-country-selector"]],viewQuery:function(_,k){if(1&_&&V.Gf(Si,5),2&_){let Ae;V.iGM(Ae=V.CRH())&&(k.searchInput=Ae.first)}},inputs:{preferredCountries:"preferredCountries",onlyCountries:"onlyCountries",selectorFor:"selectorFor",showDialCode:"showDialCode",disableSearch:"disableSearch",searchPlaceholder:"searchPlaceholder"},outputs:{change:"change"},features:[V._Bn([Ra])],decls:1,vars:1,consts:[[4,"ngIf"],["type","button","mat-button","",1,"country-selector",3,"matMenuTriggerFor","disabled","click"],[1,"country-selector-flag","flag",3,"ngClass"],[1,"country-selector-code",3,"hidden"],[1,"country-arrow"],[3,"closed"],["menu","matMenu"],[1,"country-search-container"],["class","country-search","appearance","outline",3,"click",4,"ngIf"],[1,"countries-container"],["type","button","mat-menu-item","","class","country-list-button",3,"click",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["appearance","outline",1,"country-search",3,"click"],["matInput","","type","text",3,"ngModel","placeholder","ngModelChange"],["searchInput","matInput"],["type","button","mat-menu-item","",1,"country-list-button",3,"click"],[1,"icon-wrapper"],[1,"flag",3,"ngClass"],[1,"label-wrapper"],["type","button","mat-menu-item","","class","country-list-button",3,"click",4,"ngIf"]],template:function(_,k){1&_&&V.YNc(0,Ao,14,9,"ng-container",0),2&_&&V.Q6J("ngIf",k.selectedCountry)},dependencies:function(){return[Gi.mk,Gi.sg,Gi.O5,me.Fj,me.JJ,me.On,Be.Nt,He.KE,ia.VK,ia.OP,ia.p6,No.d,mi.lW,ds]}
1,styles:[".flag{background-image:url(https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/flags_sprite_2x.png);background-size:100% auto;-webkit-filter:drop-shadow(1px 1px 1px rgba(0, 0, 0, .54));filter:drop-shadow(1px 1px 1px rgba(0, 0, 0, .54));height:14px;width:24px}.country-selector-flag{display:inline-block;margin-right:5px}.country-selector-code{margin-right:5px;font-size:initial;font-weight:initial}.icon-wrapper,.label-wrapper{display:table-cell;vertical-align:middle}.icon-wrapper{padding-right:15px}.country-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px;color:rgba(0,0,0,.54);display:table-cell;vertical-align:middle}.country-search-container{padding:10px}.mat-form-field.country-search{width:100%}.mat-form-field.country-search .mat-form-field-infix{padding:0 0 10px}.mat-form-field.country-search .mat-form-field-wrapper{padding-bottom:0}.flag.KY{background-position:0 0}.flag.AC{background-position:0 -14px}.flag.AE{background-position:0 -28px}.flag.AF{background-position:0 -42px}.flag.AG{background-position:0 -56px}.flag.AI{background-position:0 -70px}.flag.AL{background-position:0 -84px}.flag.AM{background-position:0 -98px}.flag.AO{background-position:0 -112px}.flag.AQ{background-position:0 -126px}.flag.AR{background-position:0 -140px}.flag.AS{background-position:0 -154px}.flag.AT{background-position:0 -168px}.flag.AU{background-position:0 -182px}.flag.AW{background-position:0 -196px}.flag.AX{background-position:0 -210px}.flag.AZ{background-position:0 -224px}.flag.BA{background-position:0 -238px}.flag.BB{background-position:0 -252px}.flag.BD{background-position:0 -266px}.flag.BE{background-position:0 -280px}.flag.BF{background-position:0 -294px}.flag.BG{background-position:0 -308px}.flag.BH{background-position:0 -322px}.flag.BI{background-position:0 -336px}.flag.BJ{background-position:0 -350px}.flag.BL{background-position:0 -364px}.flag.BM{background-position:0 -378px}.flag.BN{background-position:0 -392px}.flag.BO{background-position:0 -406px}.flag.BQ{background-position:0 -420px}.flag.BR{background-position:0 -434px}.flag.BS{background-position:0 -448px}.flag.BT{background-position:0 -462px}.flag.BV{background-position:0 -476px}.flag.BW{background-position:0 -490px}.flag.BY{background-position:0 -504px}.flag.BZ{background-position:0 -518px}.flag.CA{background-position:0 -532px}.flag.CC{background-position:0 -546px}.flag.CD{background-position:0 -560px}.flag.CF{background-position:0 -574px}.flag.CG{background-position:0 -588px}.flag.CH{background-position:0 -602px}.flag.CI{background-position:0 -616px}.flag.CK{background-position:0 -630px}.flag.CL{background-position:0 -644px}.flag.CM{background-position:0 -658px}.flag.CN{background-position:0 -672px}.flag.CO{background-position:0 -686px}.flag.CP{background-position:0 -700px}.flag.CR{background-position:0 -714px}.flag.CU{background-position:0 -728px}.flag.CV{background-position:0 -742px}.flag.CW{background-position:0 -756px}.flag.CX{background-position:0 -770px}.flag.CY{background-position:0 -784px}.flag.CZ{background-position:0 -798px}.flag.DE{background-position:0 -812px}.flag.DG{background-position:0 -826px}.flag.DJ{background-position:0 -840px}.flag.DK{background-position:0 -854px}.flag.DM{background-position:0 -868px}.flag.DO{background-position:0 -882px}.flag.DZ{background-position:0 -896px}.flag.EA{background-position:0 -910px}.flag.EC{background-position:0 -924px}.flag.EE{background-position:0 -938px}.flag.EG{background-position:0 -952px}.flag.EH{background-position:0 -966px}.flag.ER{background-position:0 -980px}.flag.ES{background-position:0 -994px}.flag.ET{background-position:0 -1008px}.flag.EU{background-position:0 -1022px}.flag.FI{background-position:0 -1036px}.flag.FJ{background-position:0 -1050px}.flag.FK{background-position:0 -1064px}.flag.FM{background-position:0 -1078px}.flag.FO{background-position:0 -1092px}.flag.FR{background-position:0 -1106px}.flag.GA{background-position:0 -1120px}.flag.GB{background-position:0 -1134px}.flag.GD{background-position:0 -1148px}.flag.GE{background-position:0 -1162px}.flag.GF{background-position:0 -1176px}.flag.GG{background-position:0 -1190px}.flag.GH{background-position:0 -1204px}.flag.GI{background-position:0 -1218px}.flag.GL{background-position:0 -1232px}.flag.GM{background-position:0 -1246px}.flag.GN{background-position:0 -1260px}.flag.GP{background-position:0 -1274px}.flag.GQ{background-position:0 -1288px}.flag.GR{background-position:0 -1302px}.flag.GS{background-position:0 -1316px}.flag.GT{background-position:0 -1330px}.flag.GU{background-position:0 -1344px}.flag.GW{background-position:0 -1358px}.flag.GY{background-position:0 -1372px}.flag.HK{background-position:0 -1386px}.flag.HM{background-position:0 -1400px}.flag.HN{background-position:0 -1414px}.flag.HR{background-position:0 -1428px}.flag.HT{background-position:0 -1442px}.flag.HU{background-position:0 -1456px}.flag.IC{background-position:0 -1470px}.flag.ID{background-position:0 -1484px}.flag.IE{background-position:0 -1498px}.flag.IL{background-position:0 -1512px}.flag.IM{background-position:0 -1526px}.flag.IN{background-position:0 -1540px}.flag.IO{background-position:0 -1554px}.flag.IQ{background-position:0 -1568px}.flag.IR{background-position:0 -1582px}.flag.IS{background-position:0 -1596px}.flag.IT{background-position:0 -1610px}.flag.JE{background-position:0 -1624px}.flag.JM{background-position:0 -1638px}.flag.JO{background-position:0 -1652px}.flag.JP{background-position:0 -1666px}.flag.KE{background-position:0 -1680px}.flag.KG{background-position:0 -1694px}.flag.KH{background-position:0 -1708px}.flag.KI{background-position:0 -1722px}.flag.KM{background-position:0 -1736px}.flag.KN{background-position:0 -1750px}.flag.KP{background-position:0 -1764px}.flag.KR{background-position:0 -1778px}.flag.KW{background-position:0 -1792px}.flag.AD{background-position:0 -1806px}.flag.KZ{background-position:0 -1820px}.flag.LA{background-position:0 -1834px}.flag.LB{background-position:0 -1848px}.flag.LC{background-position:0 -1862px}.flag.LI{background-position:0 -1876px}.flag.LK{background-position:0 -1890px}.flag.LR{background-position:0 -1904px}.flag.LS{background-position:0 -1918px}.flag.LT{background-position:0 -1932px}.flag.LU{background-position:0 -1946px}.flag.LV{background-position:0 -1960px}.flag.LY{background-position:0 -1974px}.flag.MA{background-position:0 -1988px}.flag.MC{background-position:0 -2002px}.flag.MD{background-position:0 -2016px}.flag.ME{background-position:0 -2030px}.flag.MF{background-position:0 -2044px}.flag.MG{background-position:0 -2058px}.flag.MH{background-position:0 -2072px}.flag.MK{background-position:0 -2086px}.flag.ML{background-position:0 -2100px}.flag.MM{background-position:0 -2114px}.flag.MN{background-position:0 -2128px}.flag.MO{background-position:0 -2142px}.flag.MP{background-position:0 -2156px}.flag.MQ{background-position:0 -2170px}.flag.MR{background-position:0 -2184px}.flag.MS{background-position:0 -2198px}.flag.MT{background-position:0 -2212px}.flag.MU{background-position:0 -2226px}.flag.MV{background-position:0 -2240px}.flag.MW{background-position:0 -2254px}.flag.MX{background-position:0 -2268px}.flag.MY{background-position:0 -2282px}.flag.MZ{background-position:0 -2296px}.flag.NA{background-position:0 -2310px}.flag.NC{background-position:0 -2324px}.flag.NE{background-position:0 -2338px}.flag.NF{background-position:0 -2352px}.flag.NG{background-position:0 -2366px}.flag.NI{background-position:0 -2380px}.flag.NL{background-position:0 -2394px}.flag.NO{background-position:0 -2408px}.flag.NP{background-position:0 -2422px}.flag.NR{background-position:0 -2436px}.flag.NU{background-position:0 -2450px}.flag.NZ{background-position:0 -2464px}.flag.OM{background-position:0 -2478px}.flag.PA{background-position:0 -2492px}.flag.PE{background-position:0 -2506px}.flag.PF{background-position:0 -2520px}.flag.PG{background-position:0 -2534px}.flag.PH{background-position:0 -2548px}.flag.PK{background-position:0 -2562px}.flag.PL{background-position:0 -2576px}.flag.PM{background-position:0 -2590px}.flag.PN{background-position:0 -2604px}.flag.PR{background-position:0 -2618px}.flag.PS{background-position:0 -2632px}.flag.PT{background-position:0 -2646px}.flag.PW{background-position:0 -2660px}.flag.PY{background-position:0 -2674px}.flag.QA{background-position:0 -2688px}.flag.RE{background-position:0 -2702px}.flag.RO{background-position:0 -2716px}.flag.RS{background-position:0 -2730px}.flag.RU{background-position:0 -2744px}.flag.RW{background-position:0 -2758px}.flag.SA{background-position:0 -2772px}.flag.SB{background-position:0 -2786px}.flag.SC{background-position:0 -2800px}.flag.SD{background-position:0 -2814px}.flag.SE{background-position:0 -2828px}.flag.SG{background-position:0 -2842px}.flag.SH{background-position:0 -2856px}.flag.SI{background-position:0 -2870px}.flag.SJ{background-position:0 -2884px}.flag.SK{background-position:0 -2898px}.flag.SL{background-position:0 -2912px}.flag.SM{background-position:0 -2926px}.flag.SN{background-position:0 -2940px}.flag.SO{background-position:0 -2954px}.flag.SR{background-position:0 -2968px}.flag.SS{background-position:0 -2982px}.flag.ST{background-position:0 -2996px}.flag.SV{background-position:0 -3010px}.flag.SX{background-position:0 -3024px}.flag.SY{background-position:0 -3038px}.flag.SZ{background-position:0 -3052px}.flag.TA{background-position:0 -3066px}.flag.TC{background-position:0 -3080px}.flag.TD{background-position:0 -3094px}.flag.TF{background-position:0 -3108px}.flag.TG{background-position:0 -3122px}.flag.TH{background-position:0 -3136px}.flag.TJ{background-position:0 -3150px}.flag.TK{background-position:0 -3164px}.flag.TL{background-position:0 -3178px}.flag.TM{background-position:0 -3192px}.flag.TN{background-position:0 -3206px}
1.flag.TO{background-position:0 -3220px}.flag.TR{background-position:0 -3234px}.flag.TT{background-position:0 -3248px}.flag.TV{background-position:0 -3262px}.flag.TW{background-position:0 -3276px}.flag.TZ{background-position:0 -3290px}.flag.UA{background-position:0 -3304px}.flag.UG{background-position:0 -3318px}.flag.UM{background-position:0 -3332px}.flag.UN{background-position:0 -3346px}.flag.US{background-position:0 -3360px}.flag.UY{background-position:0 -3374px}.flag.UZ{background-position:0 -3388px}.flag.VA{background-position:0 -3402px}.flag.VC{background-position:0 -3416px}.flag.VE{background-position:0 -3430px}.flag.VG{background-position:0 -3444px}.flag.VI{background-position:0 -3458px}.flag.VN{background-position:0 -3472px}.flag.VU{background-position:0 -3486px}.flag.WF{background-position:0 -3500px}.flag.WS{background-position:0 -3514px}.flag.XK{background-position:0 -3528px}.flag.YE{background-position:0 -3542px}.flag.YT{background-position:0 -3556px}.flag.ZA{background-position:0 -3570px}.flag.ZM{background-position:0 -3584px}.flag.ZW{background-position:0 -3598px}"],encapsulation:2}),e([(0,V.IIB)(),R("design:type",Er)],b.prototype,"selectorFor",void 0),e([(0,V.IIB)(),R("design:type",Array)],b.prototype,"preferredCountries",void 0),e([(0,V.IIB)(),R("design:type",Array)],b.prototype,"onlyCountries",void 0),e([(0,V.IIB)(),R("design:type",Boolean)],b.prototype,"showDialCode",void 0),e([(0,V.IIB)(),R("design:type",Boolean)],b.prototype,"disableSearch",void 0),e([(0,V.IIB)(),R("design:type",String)],b.prototype,"searchPlaceholder",void 0),e([(0,V.r_U)(),R("design:type",V.vpe)],b.prototype,"change",void 0),e([(0,V.i9L)("searchInput"),R("design:type",Be.Nt)],b.prototype,"searchInput",void 0),b=e([R("design:paramtypes",[Ra])],b),b})(),ds=(()=>{let b=class{transform(_,k){return!k||""===k||_.toLowerCase().includes(k.toLowerCase())}};return b.\u0275fac=function(_){return new(_||b)},b.\u0275pipe=V.Yjl({name:"search",type:b,pure:!0}),b})(),Aa=(()=>{let b=class{};return b.\u0275fac=function(_){return new(_||b)},b.\u0275mod=V.oAB({type:b}),b.\u0275inj=V.cJS({imports:[Gi.ez,me.u5,Be.c,ia.Tx,No.t,mi.ot,me.UX]}),b})()},1135:(Pt,Ve,f)=>{"use strict";f.d(Ve,{X:()=>p});var a=f(7579);class p extends a.x{constructor(Y){super(),this._value=Y}get value(){return this.getValue()}_subscribe(Y){const e=super._subscribe(Y);return!e.closed&&Y.next(this._value),e}getValue(){const{hasError:Y,thrownError:e,_value:ee}=this;if(Y)throw e;return this._throwIfClosed(),ee}next(Y){super.next(this._value=Y)}}},9751:(Pt,Ve,f)=>{"use strict";f.d(Ve,{y:()=>ae});var a=f(930),p=f(727),C=f(8822),Y=f(9635),e=f(2416),ee=f(576),R=f(2806);let ae=(()=>{class ce{constructor(ge){ge&&(this._subscribe=ge)}lift(ge){const Re=new ce;return Re.source=this,Re.operator=ge,Re}subscribe(ge,Re,$e){const fe=function de(ce){return ce&&ce instanceof a.Lv||function W(ce){return ce&&(0,ee.m)(ce.next)&&(0,ee.m)(ce.error)&&(0,ee.m)(ce.complete)}(ce)&&(0,p.Nn)(ce)}(ge)?ge:new a.Hp(ge,Re,$e);return(0,R.x)(()=>{const{operator:ue,source:be}=this;fe.add(ue?ue.call(fe,be):be?this._subscribe(fe):this._trySubscribe(fe))}),fe}_trySubscribe(ge){try{return this._subscribe(ge)}catch(Re){ge.error(Re)}}forEach(ge,Re){return new(Re=X(Re))(($e,fe)=>{const ue=new a.Hp({next:be=>{try{ge(be)}catch(se){fe(se),ue.unsubscribe()}},error:fe,complete:$e});this.subscribe(ue)})}_subscribe(ge){var Re;return null===(Re=this.source)||void 0===Re?void 0:Re.subscribe(ge)}[C.L](){return this}pipe(...ge){return(0,Y.U)(ge)(this)}toPromise(ge){return new(ge=X(ge))((Re,$e)=>{let fe;this.subscribe(ue=>fe=ue,ue=>$e(ue),()=>Re(fe))})}}return ce.create=_e=>new ce(_e),ce})();function X(ce){var _e;return null!==(_e=ce??e.v.Promise)&&void 0!==_e?_e:Promise}},4707:(Pt,Ve,f)=>{"use strict";f.d(Ve,{t:()=>C});var a=f(7579),p=f(6063);class C extends a.x{constructor(e=1/0,ee=1/0,R=p.l){super(),this._bufferSize=e,this._windowTime=ee,this._timestampProvider=R,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=ee===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,ee)}next(e){const{isStopped:ee,_buffer:R,_infiniteTimeWindow:ae,_timestampProvider:X,_windowTime:W}=this;ee||(R.push(e),!ae&&R.push(X.now()+W)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();const ee=this._innerSubscribe(e),{_infiniteTimeWindow:R,_buffer:ae}=this,X=ae.slice();for(let W=0;W<X.length&&!e.closed;W+=R?1:2)e.next(X[W]);return this._checkFinalizedStatuses(e),ee}_trimBuffer(){const{_bufferSize:e,_timestampProvider:ee,_buffer:R,_infiniteTimeWindow:ae}=this,X=(ae?1:2)*e;if(e<1/0&&X<R.length&&R.splice(0,R.length-X),!ae){const W=ee.now();let de=0;for(let ce=1;ce<R.length&&R[ce]<=W;ce+=2)de=ce;de&&R.splice(0,de+1)}}}},7579:(Pt,Ve,f)=>{"use strict";f.d(Ve,{x:()=>R});var a=f(9751),p=f(727);const Y=(0,f(3888).d)(X=>function(){X(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var e=f(8737),ee=f(2806);let R=(()=>{class X extends a.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(de){const ce=new ae(this,this);return ce.operator=de,ce}_throwIfClosed(){if(this.closed)throw new Y}next(de){(0,ee.x)(()=>
vendor: 4,205 bytes, line 1
1{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ce of this.currentObservers)ce.next(de)}})}error(de){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=de;const{observers:ce}=this;for(;ce.length;)ce.shift().error(de)}})}complete(){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:de}=this;for(;de.length;)de.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var de;return(null===(de=this.observers)||void 0===de?void 0:de.length)>0}_trySubscribe(de){return this._throwIfClosed(),super._trySubscribe(de)}_subscribe(de){return this._throwIfClosed(),this._checkFinalizedStatuses(de),this._innerSubscribe(de)}_innerSubscribe(de){const{hasError:ce,isStopped:_e,observers:ge}=this;return ce||_e?p.Lc:(this.currentObservers=null,ge.push(de),new p.w0(()=>{this.currentObservers=null,(0,e.P)(ge,de)}))}_checkFinalizedStatuses(de){const{hasError:ce,thrownError:_e,isStopped:ge}=this;ce?de.error(_e):ge&&de.complete()}asObservable(){const de=new a.y;return de.source=this,de}}return X.create=(W,de)=>new ae(W,de),X})();class ae extends R{constructor(W,de){super(),this.destination=W,this.source=de}next(W){var de,ce;null===(ce=null===(de=this.destination)||void 0===de?void 0:de.next)||void 0===ce||ce.call(de,W)}error(W){var de,ce;null===(ce=null===(de=this.destination)||void 0===de?void 0:de.error)||void 0===ce||ce.call(de,W)}complete(){var W,de;null===(de=null===(W=this.destination)||void 0===W?void 0:W.complete)||void 0===de||de.call(W)}_subscribe(W){var de,ce;return null!==(ce=null===(de=this.source)||void 0===de?void 0:de.subscribe(W))&&void 0!==ce?ce:p.Lc}}},930:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Hp:()=>$e,Lv:()=>ce});var a=f(576),p=f(727),C=f(2416),Y=f(7849),e=f(5032);const ee=X("C",void 0,void 0);function X(j,ne,De){return{kind:j,value:ne,error:De}}var W=f(3410),de=f(2806);class ce extends p.w0{constructor(ne){super(),this.isStopped=!1,ne?(this.destination=ne,(0,p.Nn)(ne)&&ne.add(this)):this.destination=se}static create(ne,De,Ue){return new $e(ne,De,Ue)}next(ne){this.isStopped?be(function ae(j){return X("N",j,void 0)}(ne),this):this._next(ne)}error(ne){this.isStopped?be(function R(j){return X("E",void 0,j)}(ne),this):(this.isStopped=!0,this._error(ne))}complete(){this.isStopped?be(ee,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ne){this.destination.next(ne)}_error(ne){try{this.destination.error(ne)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const _e=Function.prototype.bind;function ge(j,ne){return _e.call(j,ne)}class Re{constructor(ne){this.partialObserver=ne}next(ne){const{partialObserver:De}=this;if(De.next)try{De.next(ne)}catch(Ue){fe(Ue)}}error(ne){const{partialObserver:De}=this;if(De.error)try{De.error(ne)}catch(Ue){fe(Ue)}else fe(ne)}complete(){const{partialObserver:ne}=this;if(ne.complete)try{ne.complete()}catch(De){fe(De)}}}class $e extends ce{constructor(ne,De,Ue){let V;if(super(),(0,a.m)(ne)||!ne)V={next:ne??void 0,error:De??void 0,complete:Ue??void 0};else{let He;this&&C.v.useDeprecatedNextContext?(He=Object.create(ne),He.unsubscribe=()=>this.unsubscribe(),V={next:ne.next&&ge(ne.next,He),error:ne.error&&ge(ne.error,He),complete:ne.complete&&ge(ne.complete,He)}):V=ne}this.destination=new Re(V)}}function fe(j){C.v.useDeprecatedSynchronousErrorHandling?(0,de.O)(j):(0,Y.h)(j)}function be(j,ne){const{onStoppedNotification:De}=C.v;De&&W.z.setTimeout(()=>De(j,ne))}const se={closed:!0,next:e.Z,error:function ue(j){throw j},complete:e.Z}},727:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Lc:()=>ee,w0:()=>e,Nn:()=>R});var a=f(576);const C=(0,f(3888).d)(X=>function(de){X(this),this.message=de?`${de.length} errors occurred during unsubscription:\n${de.map((ce,_e)=>`${_e+1}) ${ce.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=de});var Y=f(8737);class e{constructor(W){this.initialTeardown=W,this.closed=!1,this._parentage=null,this._finalizers=null}
1unsubscribe(){let W;if(!this.closed){this.closed=!0;const{_parentage:de}=this;if(de)if(this._parentage=null,Array.isArray(de))for(const ge of de)ge.remove(this);else de.remove(this);const{initialTeardown:ce}=this;if((0,a.m)(ce))try{ce()}catch(ge){W=ge instanceof C?ge.errors:[ge]}const{_finalizers:_e}=this;if(_e){this._finalizers=null;for(const ge of _e)try{ae(ge)}catch(Re){W=W??[],Re instanceof C?W=[...W,...Re.errors]:W.push(Re)}}if(W)throw new C(W)}}add(W){var de;if(W&&W!==this)if(this.closed)ae(W);else{if(W instanceof e){if(W.closed||W._hasParent(this))return;W._addParent(this)}(this._finalizers=null!==(de=this._finalizers)&&void 0!==de?de:[]).push(W)}}_hasParent(W){const{_parentage:de}=this;return de===W||Array.isArray(de)&&de.includes(W)}_addParent(W){const{_parentage:de}=this;this._parentage=Array.isArray(de)?(de.push(W),de):de?[de,W]:W}_removeParent(W){const{_parentage:de}=this;de===W?this._parentage=null:Array.isArray(de)&&(0,Y.P)(de,W)}remove(W){const{_finalizers:de}=this;de&&(0,Y.P)(de,W),W instanceof e&&W._removeParent(this)}}e.EMPTY=(()=>{const X=new e;return X.closed=!0,X})();const ee=e.EMPTY;function R(X){return X instanceof e||X&&"closed"in X&&(0,a.m)(X.remove)&&(0,a.m)(X.add)&&(0,a.m)(X.unsubscribe)}function ae(X){(0,a.m)(X)?X():X.unsubscribe()}},2416:(Pt,Ve,f)=>{"use strict";f.d(Ve,{v:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(Pt,Ve,f)=>{"use strict";f.d(Ve,{c:()=>ee});var a=f(9751),p=f(727),C=f(8343),Y=f(5403),e=f(4482);class ee extends a.y{constructor(ae,X){super(),this.source=ae,this.subjectFactory=X,this._subject=null,this._refCount=0,this._connection=null,(0,e.A)(ae)&&(this.lift=ae.lift)}_subscribe(ae){return this.getSubject().subscribe(ae)}getSubject(){const ae=this._subject;return(!ae||ae.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:ae}=this;this._subject=this._connection=null,ae?.unsubscribe()}connect(){let ae=this._connection;if(!ae){ae=this._connection=new p.w0;const X=this.getSubject();ae.add(this.source.subscribe((0,Y.x)(X,void 0,()=>{this._teardown(),X.complete()},W=>{this._teardown(),X.error(W)},()=>this._teardown()))),ae.closed&&(this._connection=null,ae=p.w0.EMPTY)}return ae}refCount(){return(0,C.x)()(this)}}},9841:(Pt,Ve,f)=>{"use strict";f.d(Ve,{a:()=>W});var a=f(9751),p=f(4742),C=f(8996),Y=f(4671),e=f(3268),ee=f(3269),R=f(1810),ae=f(5403),X=f(9672);function W(..._e){const ge=(0,ee.yG)(_e),Re=(0,ee.jO)(_e),{args:$e,keys:fe}=(0,p.D)(_e);if(0===$e.length)return(0,C.D)([],ge);const ue=new a.y(function de(_e,ge,Re=Y.y){return $e=>{ce(ge,()=>{const{length:fe}=_e,ue=new Array(fe);let be=fe,se=fe;for(let j=0;j<fe;j++)ce(ge,()=>{const ne=(0,C.D)(_e[j],ge);let De=!1;ne.subscribe((0,ae.x)($e,Ue=>{ue[j]=Ue,De||(De=!0,se--),se||$e.next(Re(ue.slice()))},()=>{--be||$e.complete()}))},$e)},$e)}}($e,ge,fe?be=>(0,R.n)(fe,be):Y.y));return Re?ue.pipe((0,e.Z)(Re)):ue}function ce(_e,ge,Re){_e?(0,X.f)(Re,_e,ge):ge()}},7272:(Pt,Ve,f)=>{"use strict";f.d(Ve,{z:()=>e});var a=f(8189),C=f(3269),Y=f(8996);function e(...ee){return function p(){return(0,a.J)(1)}()((0,Y.D)(ee,(0,C.yG)(ee)))}},9770:(Pt,Ve,f)=>{"use strict";f.d(Ve,{P:()=>C});var a=f(9751),p=f(8421);function C(Y){return new a.y(e=>{(0,p.Xf)(Y()).subscribe(e)})}},515:(Pt,Ve,f)=>{"use strict";f.d(Ve,{E:()=>p});const p=new(f(9751).y)(e=>e.complete())},4128:(Pt,Ve,f)=>{"use strict";f.d(Ve,{D:()=>ae});var a=f(9751),p=f(4742),C=f(8421),Y=f(3269),e=f(5403),ee=f(3268),R=f(1810);function ae(...X){const W=(0,Y.jO)(X),{args:de,keys:ce}=(0,p.D)(X),_e=new a.y(ge=>{const{length:Re}=de;if(!Re)return void ge.complete();const $e=new Array(Re);let fe=Re,ue=Re;for(let be=0;be<Re;be++){let se=!1;(0,C.Xf)(de[be]).subscribe((0,e.x)(ge,j=>{se||(se=!0,ue--),$e[be]=j},()=>fe--,void 0,()=>{(!fe||!se)&&(ue||ge.next(ce?(0,R.n)(ce,$e):$e),ge.complete())}))}});return W?_e.pipe((0,ee.Z)(W)):_e}},8996:(Pt,Ve,f)=>{"use strict";f.d(Ve,{D:()=>ne});var a=f(8421),p=f(5363),C=f(9468),ee=f(9751),ae=f(2202),X=f(576),W=f(9672);function ce(De,Ue){if(!De)throw new Error("Iterable cannot be null");return new ee.y(V=>{(0,W.f)(V,Ue,()=>{const He=De[Symbol.asyncIterator]();(0,W.f)(V,Ue,()=>{He.next().then(Be=>{Be.done?V.complete():V.next(Be.value)})},0,!0)})})}var _e=f(3670),ge=f(8239),Re=f(1144),$e=f(6495),fe=f(2206),ue=f(4532),be=f(3260);function ne(De,Ue){return Ue?function j(De,Ue){if(null!=De){if((0,_e.c)(De))return function Y(De,Ue){return(0,a.Xf)(De).pipe((0,C.R)(Ue),(0,p.Q)(Ue))}(De,Ue);
1if((0,Re.z)(De))return function R(De,Ue){return new ee.y(V=>{let He=0;return Ue.schedule(function(){He===De.length?V.complete():(V.next(De[He++]),V.closed||this.schedule())})})}(De,Ue);if((0,ge.t)(De))return function e(De,Ue){return(0,a.Xf)(De).pipe((0,C.R)(Ue),(0,p.Q)(Ue))}(De,Ue);if((0,fe.D)(De))return ce(De,Ue);if((0,$e.T)(De))return function de(De,Ue){return new ee.y(V=>{let He;return(0,W.f)(V,Ue,()=>{He=De[ae.h](),(0,W.f)(V,Ue,()=>{let Be,Ne;try{({value:Be,done:Ne}=He.next())}catch(me){return void V.error(me)}Ne?V.complete():V.next(Be)},0,!0)}),()=>(0,X.m)(He?.return)&&He.return()})}(De,Ue);if((0,be.L)(De))return function se(De,Ue){return ce((0,be.Q)(De),Ue)}(De,Ue)}throw(0,ue.z)(De)}(De,Ue):(0,a.Xf)(De)}},4968:(Pt,Ve,f)=>{"use strict";f.d(Ve,{R:()=>W});var a=f(8421),p=f(9751),C=f(5577),Y=f(1144),e=f(576),ee=f(3268);const R=["addListener","removeListener"],ae=["addEventListener","removeEventListener"],X=["on","off"];function W(Re,$e,fe,ue){if((0,e.m)(fe)&&(ue=fe,fe=void 0),ue)return W(Re,$e,fe).pipe((0,ee.Z)(ue));const[be,se]=function ge(Re){return(0,e.m)(Re.addEventListener)&&(0,e.m)(Re.removeEventListener)}(Re)?ae.map(j=>ne=>Re[j]($e,ne,fe)):function ce(Re){return(0,e.m)(Re.addListener)&&(0,e.m)(Re.removeListener)}(Re)?R.map(de(Re,$e)):function _e(Re){return(0,e.m)(Re.on)&&(0,e.m)(Re.off)}(Re)?X.map(de(Re,$e)):[];if(!be&&(0,Y.z)(Re))return(0,C.z)(j=>W(j,$e,fe))((0,a.Xf)(Re));if(!be)throw new TypeError("Invalid event target");return new p.y(j=>{const ne=(...De)=>j.next(1<De.length?De:De[0]);return be(ne),()=>se(ne)})}function de(Re,$e){return fe=>ue=>Re[fe]($e,ue)}},8421:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Xf:()=>_e});var a=f(655),p=f(1144),C=f(8239),Y=f(9751),e=f(3670),ee=f(2206),R=f(4532),ae=f(6495),X=f(3260),W=f(576),de=f(7849),ce=f(8822);function _e(j){if(j instanceof Y.y)return j;if(null!=j){if((0,e.c)(j))return function ge(j){return new Y.y(ne=>{const De=j[ce.L]();if((0,W.m)(De.subscribe))return De.subscribe(ne);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(j);if((0,p.z)(j))return function Re(j){return new Y.y(ne=>{for(let De=0;De<j.length&&!ne.closed;De++)ne.next(j[De]);ne.complete()})}(j);if((0,C.t)(j))return function $e(j){return new Y.y(ne=>{j.then(De=>{ne.closed||(ne.next(De),ne.complete())},De=>ne.error(De)).then(null,de.h)})}(j);if((0,ee.D)(j))return ue(j);if((0,ae.T)(j))return function fe(j){return new Y.y(ne=>{for(const De of j)if(ne.next(De),ne.closed)return;ne.complete()})}(j);if((0,X.L)(j))return function be(j){return ue((0,X.Q)(j))}(j)}throw(0,R.z)(j)}function ue(j){return new Y.y(ne=>{(function se(j,ne){var De,Ue,V,He;return(0,a.mG)(this,void 0,void 0,function*(){try{for(De=(0,a.KL)(j);!(Ue=yield De.next()).done;)if(ne.next(Ue.value),ne.closed)return}catch(Be){V={error:Be}}finally{try{Ue&&!Ue.done&&(He=De.return)&&(yield He.call(De))}finally{if(V)throw V.error}}ne.complete()})})(j,ne).catch(De=>ne.error(De))})}},7445:(Pt,Ve,f)=>{"use strict";f.d(Ve,{F:()=>C});var a=f(4986),p=f(5963);function C(Y=0,e=a.z){return Y<0&&(Y=0),(0,p.H)(Y,Y,e)}},6451:(Pt,Ve,f)=>{"use strict";f.d(Ve,{T:()=>ee});var a=f(8189),p=f(8421),C=f(515),Y=f(3269),e=f(8996);function ee(...R){const ae=(0,Y.yG)(R),X=(0,Y._6)(R,1/0),W=R;return W.length?1===W.length?(0,p.Xf)(W[0]):(0,a.J)(X)((0,e.D)(W,ae)):C.E}},9646:(Pt,Ve,f)=>{"use strict";f.d(Ve,{of:()=>C});var a=f(3269),p=f(8996);function C(...Y){const e=(0,a.yG)(Y);return(0,p.D)(Y,e)}},2843:(Pt,Ve,f)=>{"use strict";f.d(Ve,{_:()=>C});var a=f(9751),p=f(576);function C(Y,e){const ee=(0,p.m)(Y)?Y:()=>Y,R=ae=>ae.error(ee());return new a.y(e?ae=>e.schedule(R,0,ae):R)}},5963:(Pt,Ve,f)=>{"use strict";f.d(Ve,{H:()=>e});var a=f(9751),p=f(4986),C=f(3532);function e(ee=0,R,ae=p.P){let X=-1;return null!=R&&((0,C.K)(R)?ae=R:X=R),new a.y(W=>{let de=function Y(ee){return ee instanceof Date&&!isNaN(ee)}(ee)?+ee-ae.now():ee;de<0&&(de=0);let ce=0;return ae.schedule(function(){W.closed||(W.next(ce++),0<=X?this.schedule(void 0,X):W.complete())},de)})}},5403:(Pt,Ve,f)=>{"use strict";f.d(Ve,{x:()=>p});var a=f(930);function p(Y,e,ee,R,ae){return new C(Y,e,ee,R,ae)}class C extends a.Lv{constructor(e,ee,R,ae,X,W){super(e),this.onFinalize=X,this.shouldUnsubscribe=W,this._next=ee?function(de){try{ee(de)}catch(ce){e.error(ce)}}:super._next,this._error=ae?function(de){try{ae(de)}catch(ce){e.error(ce)}finally{this.unsubscribe()}}:super._error,this._complete=R?function(){try{R()}catch(de){e.error(de)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ee}=this;super.unsubscribe(),!ee&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}},262:(Pt,Ve,f)=>{"use strict";f.d(Ve,{K:()=>Y});var a=f(8421),p=f(5403),C=f(4482);function Y(e){return(0,C.e)((ee,R)=>{let W,ae=null,X=!1;ae=ee.subscribe((0,p.x)(R,void 0,void 0,de=>{W=(0,a.Xf)(e(de,Y(e)(ee))),ae?(ae.unsubscribe(),ae=null,W.subscribe(R)):X=!0})),X&&(ae.unsubscribe(),ae=null,W.subscribe(R))})}},4351:(Pt,Ve,f)=>{"use strict";f.d(Ve,{b:()=>C});var a=f(5577),p=f(576);function C(Y,e){return(0,p.m)(e)?(0,a.z)(Y,e,1):(0,a.z)(Y,1)}},8372:(Pt,Ve,f)=>{"use strict";f.d(Ve,{b:()=>Y});var a=f(4986),p=f(4482),C=f(5403);function Y(e,ee=a.z){return(0,p.e)((R,ae)=>{let X=null,W=null,de=null;const ce=()=>{if(X){X.unsubscribe(),X=null;const ge=W;W=null,ae.next(ge)}};function _e(){const ge=de+e,Re=ee.now();if(Re<ge)return X=this.schedule(void 0,ge-Re),void ae.add(X);ce()}R.subscribe((0,C.x)(ae,ge=>{W=ge,de=ee.now(),X||(X=ee.schedule(_e,e),ae.add(X))},()=>{ce(),ae.complete()},void 0,()=>{W=X=null}))})}},6590:(Pt,Ve,f)=>{"use strict";f.d(Ve,{d:()=>C});var a=f(4482),p=f(5403);function C(Y){return(0,a.e)((e,ee)=>{let R=!1;e.subscribe((0,p.x)(ee,ae=>{R=!0,ee.next(ae)},()=>{R||ee.next(Y),ee.complete()}
1))})}},1005:(Pt,Ve,f)=>{"use strict";f.d(Ve,{g:()=>ce});var a=f(4986),p=f(7272),C=f(5698),Y=f(4482),e=f(5403),ee=f(5032),ae=f(9718),X=f(5577);function W(_e,ge){return ge?Re=>(0,p.z)(ge.pipe((0,C.q)(1),function R(){return(0,Y.e)((_e,ge)=>{_e.subscribe((0,e.x)(ge,ee.Z))})}()),Re.pipe(W(_e))):(0,X.z)((Re,$e)=>_e(Re,$e).pipe((0,C.q)(1),(0,ae.h)(Re)))}var de=f(5963);function ce(_e,ge=a.z){const Re=(0,de.H)(_e,ge);return W(()=>Re)}},1884:(Pt,Ve,f)=>{"use strict";f.d(Ve,{x:()=>Y});var a=f(4671),p=f(4482),C=f(5403);function Y(ee,R=a.y){return ee=ee??e,(0,p.e)((ae,X)=>{let W,de=!0;ae.subscribe((0,C.x)(X,ce=>{const _e=R(ce);(de||!ee(W,_e))&&(de=!1,W=_e,X.next(ce))}))})}function e(ee,R){return ee===R}},9300:(Pt,Ve,f)=>{"use strict";f.d(Ve,{h:()=>C});var a=f(4482),p=f(5403);function C(Y,e){return(0,a.e)((ee,R)=>{let ae=0;ee.subscribe((0,p.x)(R,X=>Y.call(e,X,ae++)&&R.next(X)))})}},8746:(Pt,Ve,f)=>{"use strict";f.d(Ve,{x:()=>p});var a=f(4482);function p(C){return(0,a.e)((Y,e)=>{try{Y.subscribe(e)}finally{e.add(C)}})}},590:(Pt,Ve,f)=>{"use strict";f.d(Ve,{P:()=>R});var a=f(6805),p=f(9300),C=f(5698),Y=f(6590),e=f(8068),ee=f(4671);function R(ae,X){const W=arguments.length>=2;return de=>de.pipe(ae?(0,p.h)((ce,_e)=>ae(ce,_e,de)):ee.y,(0,C.q)(1),W?(0,Y.d)(X):(0,e.T)(()=>new a.K))}},4004:(Pt,Ve,f)=>{"use strict";f.d(Ve,{U:()=>C});var a=f(4482),p=f(5403);function C(Y,e){return(0,a.e)((ee,R)=>{let ae=0;ee.subscribe((0,p.x)(R,X=>{R.next(Y.call(e,X,ae++))}))})}},9718:(Pt,Ve,f)=>{"use strict";f.d(Ve,{h:()=>p});var a=f(4004);function p(C){return(0,a.U)(()=>C)}},8189:(Pt,Ve,f)=>{"use strict";f.d(Ve,{J:()=>C});var a=f(5577),p=f(4671);function C(Y=1/0){return(0,a.z)(p.y,Y)}},5577:(Pt,Ve,f)=>{"use strict";f.d(Ve,{z:()=>ae});var a=f(4004),p=f(8421),C=f(4482),Y=f(9672),e=f(5403),R=f(576);function ae(X,W,de=1/0){return(0,R.m)(W)?ae((ce,_e)=>(0,a.U)((ge,Re)=>W(ce,ge,_e,Re))((0,p.Xf)(X(ce,_e))),de):("number"==typeof W&&(de=W),(0,C.e)((ce,_e)=>function ee(X,W,de,ce,_e,ge,Re,$e){const fe=[];let ue=0,be=0,se=!1;const j=()=>{se&&!fe.length&&!ue&&W.complete()},ne=Ue=>ue<ce?De(Ue):fe.push(Ue),De=Ue=>{ge&&W.next(Ue),ue++;let V=!1;(0,p.Xf)(de(Ue,be++)).subscribe((0,e.x)(W,He=>{_e?.(He),ge?ne(He):W.next(He)},()=>{V=!0},void 0,()=>{if(V)try{for(ue--;fe.length&&ue<ce;){const He=fe.shift();Re?(0,Y.f)(W,Re,()=>De(He)):De(He)}j()}catch(He){W.error(He)}}))};return X.subscribe((0,e.x)(W,ne,()=>{se=!0,j()})),()=>{$e?.()}}(ce,_e,X,de)))}},5363:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Q:()=>Y});var a=f(9672),p=f(4482),C=f(5403);function Y(e,ee=0){return(0,p.e)((R,ae)=>{R.subscribe((0,C.x)(ae,X=>(0,a.f)(ae,e,()=>ae.next(X),ee),()=>(0,a.f)(ae,e,()=>ae.complete(),ee),X=>(0,a.f)(ae,e,()=>ae.error(X),ee)))})}},8343:(Pt,Ve,f)=>{"use strict";f.d(Ve,{x:()=>C});var a=f(4482),p=f(5403);function C(){return(0,a.e)((Y,e)=>{let ee=null;Y._refCount++;const R=(0,p.x)(e,void 0,void 0,void 0,()=>{if(!Y||Y._refCount<=0||0<--Y._refCount)return void(ee=null);const ae=Y._connection,X=ee;ee=null,ae&&(!X||ae===X)&&ae.unsubscribe(),e.unsubscribe()});Y.subscribe(R),R.closed||(ee=Y.connect())})}},3099:(Pt,Ve,f)=>{"use strict";f.d(Ve,{B:()=>e});var a=f(8421),p=f(7579),C=f(930),Y=f(4482);function e(R={}){const{connector:ae=(()=>new p.x),resetOnError:X=!0,resetOnComplete:W=!0,resetOnRefCountZero:de=!0}=R;return ce=>{let _e,ge,Re,$e=0,fe=!1,ue=!1;const be=()=>{ge?.unsubscribe(),ge=void 0},se=()=>{be(),_e=Re=void 0,fe=ue=!1},j=()=>{const ne=_e;se(),ne?.unsubscribe()};return(0,Y.e)((ne,De)=>{$e++,!ue&&!fe&&be();const Ue=Re=Re??ae();De.add(()=>{$e--,0===$e&&!ue&&!fe&&(ge=ee(j,de))}),Ue.subscribe(De),!_e&&$e>0&&(_e=new C.Hp({next:V=>Ue.next(V),error:V=>{ue=!0,be(),ge=ee(se,X,V),Ue.error(V)},complete:()=>{fe=!0,be(),ge=ee(se,W),Ue.complete()}}),(0,a.Xf)(ne).subscribe(_e))})(ce)}}function ee(R,ae,...X){if(!0===ae)return void R();if(!1===ae)return;const W=new C.Hp({next:()=>{W.unsubscribe(),R()}});return ae(...X).subscribe(W)}},5684:(Pt,Ve,f)=>{"use strict";f.d(Ve,{T:()=>p});var a=f(9300);function p(C){return(0,a.h)((Y,e)=>C<=e)}},8675:(Pt,Ve,f)=>{"use strict";f.d(Ve,{O:()=>Y});var a=f(7272),p=f(3269),C=f(4482);function Y(...e){const ee=(0,p.yG)(e);return(0,C.e)((R,ae)=>{(ee?(0,a.z)(e,R,ee):(0,a.z)(e,R)).subscribe(ae)})}},9468:(Pt,Ve,f)=>{"use strict";f.d(Ve,{R:()=>p});var a=f(4482);function p(C,Y=0){return(0,a.e)((e,ee)=>{ee.add(C.schedule(()=>e.subscribe(ee),Y))})}},3900:(Pt,Ve,f)=>{"use strict";f.d(Ve,{w:()=>Y});var a=f(8421),p=f(4482),C=f(5403);function Y(e,ee){return(0,p.e)((R,ae)=>{let X=null,W=0,de=!1;const ce=()=>de&&!X&&ae.complete();R.subscribe((0,C.x)(ae,_e=>{X?.unsubscribe();let ge=0;const Re=W++;(0,a.Xf)(e(_e,Re)).subscribe(X=(0,C.x)(ae,$e=>ae.next(ee?ee(_e,$e,Re,ge++):$e),()=>{X=null,ce()}))},()=>{de=!0,ce()}))})}},5698:(Pt,Ve,f)=>{"use strict";f.d(Ve,{q:()=>Y});var a=f(515),p=f(4482),C=f(5403);function Y(e){return e<=0?()=>a.E:(0,p.e)((ee,R)=>{let ae=0;ee.subscribe((0,C.x)(R,X=>{++ae<=e&&(R.next(X),e<=ae&&R.complete())}))})}},2722:(Pt,Ve,f)=>{"use strict";f.d(Ve,{R:()=>e});var a=f(4482),p=f(5403),C=f(8421),Y=f(5032);function e(ee){return(0,a.e)((R,ae)=>{(0,C.Xf)(ee).subscribe((0,p.x)(ae,()=>ae.complete(),Y.Z)),!ae.closed&&R.subscribe(ae)})}},2529:(Pt,Ve,f)=>{"use strict";f.d(Ve,{o:()=>C});var a=f(4482),p=f(5403);function C(Y,e=!1){return(0,a.e)((ee,R)=>{let ae=0;ee.subscribe((0,p.x)(R,X=>{const W=Y(X,ae++);(W||e)&&R.next(X),!W&&R.complete()}
1))})}},8505:(Pt,Ve,f)=>{"use strict";f.d(Ve,{b:()=>e});var a=f(576),p=f(4482),C=f(5403),Y=f(4671);function e(ee,R,ae){const X=(0,a.m)(ee)||R||ae?{next:ee,error:R,complete:ae}:ee;return X?(0,p.e)((W,de)=>{var ce;null===(ce=X.subscribe)||void 0===ce||ce.call(X);let _e=!0;W.subscribe((0,C.x)(de,ge=>{var Re;null===(Re=X.next)||void 0===Re||Re.call(X,ge),de.next(ge)},()=>{var ge;_e=!1,null===(ge=X.complete)||void 0===ge||ge.call(X),de.complete()},ge=>{var Re;_e=!1,null===(Re=X.error)||void 0===Re||Re.call(X,ge),de.error(ge)},()=>{var ge,Re;_e&&(null===(ge=X.unsubscribe)||void 0===ge||ge.call(X)),null===(Re=X.finalize)||void 0===Re||Re.call(X)}))}):Y.y}},8068:(Pt,Ve,f)=>{"use strict";f.d(Ve,{T:()=>Y});var a=f(6805),p=f(4482),C=f(5403);function Y(ee=e){return(0,p.e)((R,ae)=>{let X=!1;R.subscribe((0,C.x)(ae,W=>{X=!0,ae.next(W)},()=>X?ae.complete():ae.error(ee())))})}function e(){return new a.K}},4408:(Pt,Ve,f)=>{"use strict";f.d(Ve,{o:()=>e});var a=f(727);class p extends a.w0{constructor(R,ae){super()}schedule(R,ae=0){return this}}const C={setInterval(ee,R,...ae){const{delegate:X}=C;return X?.setInterval?X.setInterval(ee,R,...ae):setInterval(ee,R,...ae)},clearInterval(ee){const{delegate:R}=C;return(R?.clearInterval||clearInterval)(ee)},delegate:void 0};var Y=f(8737);class e extends p{constructor(R,ae){super(R,ae),this.scheduler=R,this.work=ae,this.pending=!1}schedule(R,ae=0){var X;if(this.closed)return this;this.state=R;const W=this.id,de=this.scheduler;return null!=W&&(this.id=this.recycleAsyncId(de,W,ae)),this.pending=!0,this.delay=ae,this.id=null!==(X=this.id)&&void 0!==X?X:this.requestAsyncId(de,this.id,ae),this}requestAsyncId(R,ae,X=0){return C.setInterval(R.flush.bind(R,this),X)}recycleAsyncId(R,ae,X=0){if(null!=X&&this.delay===X&&!1===this.pending)return ae;null!=ae&&C.clearInterval(ae)}execute(R,ae){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const X=this._execute(R,ae);if(X)return X;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(R,ae){let W,X=!1;try{this.work(R)}catch(de){X=!0,W=de||new Error("Scheduled action threw falsy error")}if(X)return this.unsubscribe(),W}unsubscribe(){if(!this.closed){const{id:R,scheduler:ae}=this,{actions:X}=ae;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Y.P)(X,this),null!=R&&(this.id=this.recycleAsyncId(ae,R,null)),this.delay=null,super.unsubscribe()}}}},7565:(Pt,Ve,f)=>{"use strict";f.d(Ve,{v:()=>C});var a=f(6063);class p{constructor(e,ee=p.now){this.schedulerActionCtor=e,this.now=ee}schedule(e,ee=0,R){return new this.schedulerActionCtor(this,e).schedule(R,ee)}}p.now=a.l.now;class C extends p{constructor(e,ee=p.now){super(e,ee),this.actions=[],this._active=!1}flush(e){const{actions:ee}=this;if(this._active)return void ee.push(e);let R;this._active=!0;do{if(R=e.execute(e.state,e.delay))break}while(e=ee.shift());if(this._active=!1,R){for(;e=ee.shift();)e.unsubscribe();throw R}}}},6406:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Z:()=>R});var a=f(4408),p=f(727);const C={schedule(X){let W=requestAnimationFrame,de=cancelAnimationFrame;const{delegate:ce}=C;ce&&(W=ce.requestAnimationFrame,de=ce.cancelAnimationFrame);const _e=W(ge=>{de=void 0,X(ge)});return new p.w0(()=>de?.(_e))},requestAnimationFrame(...X){const{delegate:W}=C;return(W?.requestAnimationFrame||requestAnimationFrame)(...X)},cancelAnimationFrame(...X){const{delegate:W}=C;return(W?.cancelAnimationFrame||cancelAnimationFrame)(...X)},delegate:void 0};var e=f(7565);const R=new class ee extends e.v{flush(W){this._active=!0;const de=this._scheduled;this._scheduled=void 0;const{actions:ce}=this;let _e;W=W||ce.shift();do{if(_e=W.execute(W.state,W.delay))break}while((W=ce[0])&&W.id===de&&ce.shift());if(this._active=!1,_e){for(;(W=ce[0])&&W.id===de&&ce.shift();)W.unsubscribe();throw _e}}}(class Y extends a.o{constructor(W,de){super(W,de),this.scheduler=W,this.work=de}requestAsyncId(W,de,ce=0){return null!==ce&&ce>0?super.requestAsyncId(W,de,ce):(W.actions.push(this),W._scheduled||(W._scheduled=C.requestAnimationFrame(()=>W.flush(void 0))))}recycleAsyncId(W,de,ce=0){var _e;if(null!=ce?ce>0:this.delay>0)return super.recycleAsyncId(W,de,ce);const{actions:ge}=W;null!=de&&(null===(_e=ge[ge.length-1])||void 0===_e?void 0:_e.id)!==de&&(C.cancelAnimationFrame(de),W._scheduled=void 0)}})},3101:(Pt,Ve,f)=>{"use strict";f.d(Ve,{E:()=>ge});var a=f(4408);let C,p=1;const Y={};function e($e){return $e in Y&&(delete Y[$e],!0)}const ee={setImmediate($e){const fe=p++;return Y[fe]=!0,C||(C=Promise.resolve()),C.then(()=>e(fe)&&$e()),fe},clearImmediate($e){e($e)}},{setImmediate:ae,clearImmediate:X}=ee,W={setImmediate(...$e){const{delegate:fe}=W;return(fe?.setImmediate||ae)(...$e)},clearImmediate($e){const{delegate:fe}=W;return(fe?.clearImmediate||X)($e)},delegate:void 0};var ce=f(7565);const ge=new class _e extends ce.v{flush(fe){this._active=!0;const ue=this._scheduled;this._scheduled=void 0;const{actions:be}=this;let se;fe=fe||be.shift();do{if(se=fe.execute(fe.state,fe.delay))break}while((fe=be[0])&&fe.id===ue&&be.shift());if(this._active=!1,se){for(;(fe=be[0])&&fe.id===ue&&be.shift();)fe.unsubscribe();throw se}}}(class de extends a.o{constructor(fe,ue){super(fe,ue),this.scheduler
1=fe,this.work=ue}requestAsyncId(fe,ue,be=0){return null!==be&&be>0?super.requestAsyncId(fe,ue,be):(fe.actions.push(this),fe._scheduled||(fe._scheduled=W.setImmediate(fe.flush.bind(fe,void 0))))}recycleAsyncId(fe,ue,be=0){var se;if(null!=be?be>0:this.delay>0)return super.recycleAsyncId(fe,ue,be);const{actions:j}=fe;null!=ue&&(null===(se=j[j.length-1])||void 0===se?void 0:se.id)!==ue&&(W.clearImmediate(ue),fe._scheduled=void 0)}})},4986:(Pt,Ve,f)=>{"use strict";f.d(Ve,{P:()=>Y,z:()=>C});var a=f(4408);const C=new(f(7565).v)(a.o),Y=C},6063:(Pt,Ve,f)=>{"use strict";f.d(Ve,{l:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},3410:(Pt,Ve,f)=>{"use strict";f.d(Ve,{z:()=>a});const a={setTimeout(p,C,...Y){const{delegate:e}=a;return e?.setTimeout?e.setTimeout(p,C,...Y):setTimeout(p,C,...Y)},clearTimeout(p){const{delegate:C}=a;return(C?.clearTimeout||clearTimeout)(p)},delegate:void 0}},2202:(Pt,Ve,f)=>{"use strict";f.d(Ve,{h:()=>p});const p=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Pt,Ve,f)=>{"use strict";f.d(Ve,{L:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(Pt,Ve,f)=>{"use strict";f.d(Ve,{K:()=>p});const p=(0,f(3888).d)(C=>function(){C(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(Pt,Ve,f)=>{"use strict";f.d(Ve,{_6:()=>ee,jO:()=>Y,yG:()=>e});var a=f(576),p=f(3532);function C(R){return R[R.length-1]}function Y(R){return(0,a.m)(C(R))?R.pop():void 0}function e(R){return(0,p.K)(C(R))?R.pop():void 0}function ee(R,ae){return"number"==typeof C(R)?R.pop():ae}},4742:(Pt,Ve,f)=>{"use strict";f.d(Ve,{D:()=>e});const{isArray:a}=Array,{getPrototypeOf:p,prototype:C,keys:Y}=Object;function e(R){if(1===R.length){const ae=R[0];if(a(ae))return{args:ae,keys:null};if(function ee(R){return R&&"object"==typeof R&&p(R)===C}(ae)){const X=Y(ae);return{args:X.map(W=>ae[W]),keys:X}}}return{args:R,keys:null}}},8737:(Pt,Ve,f)=>{"use strict";function a(p,C){if(p){const Y=p.indexOf(C);0<=Y&&p.splice(Y,1)}}f.d(Ve,{P:()=>a})},3888:(Pt,Ve,f)=>{"use strict";function a(p){const Y=p(e=>{Error.call(e),e.stack=(new Error).stack});return Y.prototype=Object.create(Error.prototype),Y.prototype.constructor=Y,Y}f.d(Ve,{d:()=>a})},1810:(Pt,Ve,f)=>{"use strict";function a(p,C){return p.reduce((Y,e,ee)=>(Y[e]=C[ee],Y),{})}f.d(Ve,{n:()=>a})},2806:(Pt,Ve,f)=>{"use strict";f.d(Ve,{O:()=>Y,x:()=>C});var a=f(2416);let p=null;function C(e){if(a.v.useDeprecatedSynchronousErrorHandling){const ee=!p;if(ee&&(p={errorThrown:!1,error:null}),e(),ee){const{errorThrown:R,error:ae}=p;if(p=null,R)throw ae}}else e()}function Y(e){a.v.useDeprecatedSynchronousErrorHandling&&p&&(p.errorThrown=!0,p.error=e)}},9672:(Pt,Ve,f)=>{"use strict";function a(p,C,Y,e=0,ee=!1){const R=C.schedule(function(){Y(),ee?p.add(this.schedule(null,e)):this.unsubscribe()},e);if(p.add(R),!ee)return R}f.d(Ve,{f:()=>a})},4671:(Pt,Ve,f)=>{"use strict";function a(p){return p}f.d(Ve,{y:()=>a})},1144:(Pt,Ve,f)=>{"use strict";f.d(Ve,{z:()=>a});const a=p=>p&&"number"==typeof p.length&&"function"!=typeof p},2206:(Pt,Ve,f)=>{"use strict";f.d(Ve,{D:()=>p});var a=f(576);function p(C){return Symbol.asyncIterator&&(0,a.m)(C?.[Symbol.asyncIterator])}},576:(Pt,Ve,f)=>{"use strict";function a(p){return"function"==typeof p}f.d(Ve,{m:()=>a})},3670:(Pt,Ve,f)=>{"use strict";f.d(Ve,{c:()=>C});var a=f(8822),p=f(576);function C(Y){return(0,p.m)(Y[a.L])}},6495:(Pt,Ve,f)=>{"use strict";f.d(Ve,{T:()=>C});var a=f(2202),p=f(576);function C(Y){return(0,p.m)(Y?.[a.h])}},8239:(Pt,Ve,f)=>{"use strict";f.d(Ve,{t:()=>p});var a=f(576);function p(C){return(0,a.m)(C?.then)}},3260:(Pt,Ve,f)=>{"use strict";f.d(Ve,{L:()=>Y,Q:()=>C});var a=f(655),p=f(576);function C(e){return(0,a.FC)(this,arguments,function*(){const R=e.getReader();try{for(;;){const{value:ae,done:X}=yield(0,a.qq)(R.read());if(X)return yield(0,a.qq)(void 0);yield yield(0,a.qq)(ae)}}finally{R.releaseLock()}})}function Y(e){return(0,p.m)(e?.getReader)}},3532:(Pt,Ve,f)=>{"use strict";f.d(Ve,{K:()=>p});var a=f(576);function p(C){return C&&(0,a.m)(C.schedule)}},4482:(Pt,Ve,f)=>{"use strict";f.d(Ve,{A:()=>p,e:()=>C});var a=f(576);function p(Y){return(0,a.m)(Y?.lift)}function C(Y){return e=>{if(p(e))return e.lift(function(ee){try{return Y(ee,this)}catch(R){this.error(R)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Z:()=>Y});var a=f(4004);const{isArray:p}=Array;function Y(e){return(0,a.U)(ee=>function C(e,ee){return p(ee)?e(...ee):e(ee)}(e,ee))}},5032:(Pt,Ve,f)=>{"use strict";function a(){}f.d(Ve,{Z:()=>a})},9635:(Pt,Ve,f)=>{"use strict";f.d(Ve,{U:()=>C,z:()=>p});var a=f(4671);function p(...Y){return C(Y)}function C(Y){return 0===Y.length?a.y:1===Y.length?Y[0]:function(ee){return Y.reduce((R,ae)=>ae(R),ee)}}},7849:(Pt,Ve,f)=>{"use strict";f.d(Ve,{h:()=>C});var a=f(2416),p=f(3410);function C(Y){p.z.setTimeout(()=>{const{onUnhandledError:e}=a.v;if(!e)throw Y;e(Y)})}},4532:(Pt,Ve,f)=>{"use strict";function a(p){return new TypeError(`You provided ${null!==p&&"object"==typeof p?"an invali
1d object":`'${p}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}f.d(Ve,{z:()=>a})},3502:(Pt,Ve,f)=>{var a=f(3172),p=a.Buffer;function C(e,ee){for(var R in e)ee[R]=e[R]}function Y(e,ee,R){return p(e,ee,R)}p.from&&p.alloc&&p.allocUnsafe&&p.allocUnsafeSlow?Pt.exports=a:(C(a,Ve),Ve.Buffer=Y),Y.prototype=Object.create(p.prototype),C(p,Y),Y.from=function(e,ee,R){if("number"==typeof e)throw new TypeError("Argument must not be a number");return p(e,ee,R)},Y.alloc=function(e,ee,R){if("number"!=typeof e)throw new TypeError("Argument must be a number");var ae=p(e);return void 0!==ee?"string"==typeof R?ae.fill(ee,R):ae.fill(ee):ae.fill(0),ae},Y.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return p(e)},Y.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a.SlowBuffer(e)}},1503:(Pt,Ve,f)=>{!function(a){a.parser=function(B,$){return new C(B,$)},a.SAXParser=C,a.SAXStream=W,a.createStream=function X(B,$){return new W(B,$)},a.MAX_BUFFER_LENGTH=65536;var R,p=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function C(B,$){if(!(this instanceof C))return new C(B,$);var ve=this;(function e(B){for(var $=0,ve=p.length;$<ve;$++)B[p[$]]=""})(ve),ve.q=ve.c="",ve.bufferCheckPosition=a.MAX_BUFFER_LENGTH,ve.opt=$||{},ve.opt.lowercase=ve.opt.lowercase||ve.opt.lowercasetags,ve.looseCase=ve.opt.lowercase?"toLowerCase":"toUpperCase",ve.tags=[],ve.closed=ve.closedRoot=ve.sawRoot=!1,ve.tag=ve.error=null,ve.strict=!!B,ve.noscript=!(!B&&!ve.opt.noscript),ve.state=V.BEGIN,ve.strictEntities=ve.opt.strictEntities,ve.ENTITIES=Object.create(ve.strictEntities?a.XML_ENTITIES:a.ENTITIES),ve.attribList=[],ve.opt.xmlns&&(ve.ns=Object.create(Re)),ve.trackPosition=!1!==ve.opt.position,ve.trackPosition&&(ve.position=ve.line=ve.column=0),Be(ve,"onready")}a.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(B){function $(){}return $.prototype=B,new $}),Object.keys||(Object.keys=function(B){var $=[];for(var ve in B)B.hasOwnProperty(ve)&&$.push(ve);return $}),C.prototype={end:function(){dt(this)},write:function Ft(B){var $=this;if(this.error)throw this.error;if($.closed)return ze($,"Cannot write after close. Assign an onready handler.");if(null===B)return dt($);"object"==typeof B&&(B=B.toString());for(var ve=0,pe="";pe=je(B,ve++),$.c=pe,pe;)switch($.trackPosition&&($.position++,"\n"===pe?($.line++,$.column=0):$.column++),$.state){case V.BEGIN:if($.state=V.BEGIN_WHITESPACE,"\ufeff"===pe)continue;Ge($,pe);continue;case V.BEGIN_WHITESPACE:Ge($,pe);continue;case V.TEXT:if($.sawRoot&&!$.closedRoot){for(var Xe=ve-1;pe&&"<"!==pe&&"&"!==pe;)(pe=je(B,ve++))&&$.trackPosition&&($.position++,"\n"===pe?($.line++,$.column=0):$.column++);$.textNode+=B.substring(Xe,ve-1)}"<"!==pe||$.sawRoot&&$.closedRoot&&!$.strict?(!se(pe)&&(!$.sawRoot||$.closedRoot)&&qe($,"Text data outside of root node."),"&"===pe?$.state=V.TEXT_ENTITY:$.textNode+=pe):($.state=V.OPEN_WAKA,$.startTagPosition=$.position);continue;case V.SCRIPT:"<"===pe?$.state=V.SCRIPT_ENDING:$.script+=pe;continue;case V.SCRIPT_ENDING:"/"===pe?$.state=V.CLOSE_TAG:($.script+="<"+pe,$.state=V.SCRIPT);continue;case V.OPEN_WAKA:"!"===pe?($.state=V.SGML_DECL,$.sgmlDecl=""):se(pe)||(De($e,pe)?($.state=V.OPEN_TAG,$.tagName=pe):"/"===pe?($.state=V.CLOSE_TAG,$.tagName=""):"?"===pe?($.state=V.PROC_INST,$.procInstName=$.procInstBody=""):(qe($,"Unencoded <"),$.startTagPosition+1<$.position&&(pe=new Array($.position-$.startTagPosition).join(" ")+pe),$.textNode+="<"+pe,$.state=V.TEXT));continue;case V.SGML_DECL:"[CDATA["===($.sgmlDecl+pe).toUpperCase()?(Ne($,"onopencdata"),$.state=V.CDATA,$.sgmlDecl="",$.cdata=""):$.sgmlDecl+pe==="--"?($.state=V.COMMENT,$.comment="",$.sgmlDecl=""):"DOCTYPE"===($.sgmlDecl+pe).toUpperCase()?($.state=V.DOCTYPE,($.doctype||$.sawRoot)&&qe($,"Inappropriately located doctype declaration"),$.doctype="",$.sgmlDecl=""):">"===pe?(Ne($,"onsgmldeclaration",$.sgmlDecl),$.sgmlDecl="",$.state=V.TEXT):(j(pe)&&($.state=V.SGML_DECL_QUOTED),$.sgmlDecl+=pe);continue;case V.SGML_DECL_QUOTED:pe===$.q&&($.state=V.SGML_DECL,$.q=""),$.sgmlDecl+=pe;continue;case V.DOCTYPE:">"===pe?($.state=V.TEXT,Ne($,"ondoctype",$.doctype),$.doctype=!0):($.doctype+=pe,"["===pe?$.state=V.DOCTYPE_DTD:j(pe)&&($.state=V.DOCTYPE_QUOTED,$.q=pe));continue;case V.DOCTYPE_QUOTED:$.doctype+=pe,pe===$.q&&($.q="",$.state=V.DOCTYPE);continue;case V.DOCTYPE_DTD:$.doctype+=pe,"]"===pe?$.state=V.DOCTYPE:j(pe)&&($.state=V.DOCTYPE_DTD_QUOTED,$.q=pe);continue;case V.DOCTYPE_DTD_QUOTED:$.doctype+=pe,pe===$.q&&($.state=V.DOCTYPE_DTD,$.q="");continue;case V.COMMENT:"-"===pe?$.state=V.COMMENT_ENDING:$.comment+=pe;continue;case V.COMMENT_ENDING:"-"===pe?($.state=V.COMMENT_ENDED,$.comment=Le($.opt,$.comment),$.comment&&Ne($,"oncomment",$.comment),$.comment=""):($.comment+="-"+pe,$.state=V.COMMENT);continue;case V.COMMENT_ENDED:">"!==pe?(qe($,"Malformed comment"),$.comment+="--"+pe,$.state=V.COMMENT):$.state=V.TEXT;continue;case V.CDATA:"]"===pe?$.state=V.CDATA_ENDING:$.cdata+=pe;continue;case V.CDATA_ENDING:"]"===pe?$.state=V.CDATA_ENDING_2:($.cdata+="]"
vendor: 12,135 bytes, line 1
1+pe,$.state=V.CDATA);continue;case V.CDATA_ENDING_2:">"===pe?($.cdata&&Ne($,"oncdata",$.cdata),Ne($,"onclosecdata"),$.cdata="",$.state=V.TEXT):"]"===pe?$.cdata+="]":($.cdata+="]]"+pe,$.state=V.CDATA);continue;case V.PROC_INST:"?"===pe?$.state=V.PROC_INST_ENDING:se(pe)?$.state=V.PROC_INST_BODY:$.procInstName+=pe;continue;case V.PROC_INST_BODY:if(!$.procInstBody&&se(pe))continue;"?"===pe?$.state=V.PROC_INST_ENDING:$.procInstBody+=pe;continue;case V.PROC_INST_ENDING:">"===pe?(Ne($,"onprocessinginstruction",{name:$.procInstName,body:$.procInstBody}),$.procInstName=$.procInstBody="",$.state=V.TEXT):($.procInstBody+="?"+pe,$.state=V.PROC_INST_BODY);continue;case V.OPEN_TAG:De(fe,pe)?$.tagName+=pe:(Mt($),">"===pe?Lt($):"/"===pe?$.state=V.OPEN_TAG_SLASH:(se(pe)||qe($,"Invalid character in tag name"),$.state=V.ATTRIB));continue;case V.OPEN_TAG_SLASH:">"===pe?(Lt($,!0),ft($)):(qe($,"Forward-slash in opening tag not followed by >"),$.state=V.ATTRIB);continue;case V.ATTRIB:if(se(pe))continue;">"===pe?Lt($):"/"===pe?$.state=V.OPEN_TAG_SLASH:De($e,pe)?($.attribName=pe,$.attribValue="",$.state=V.ATTRIB_NAME):qe($,"Invalid attribute name");continue;case V.ATTRIB_NAME:"="===pe?$.state=V.ATTRIB_VALUE:">"===pe?(qe($,"Attribute without value"),$.attribValue=$.attribName,Yt($),Lt($)):se(pe)?$.state=V.ATTRIB_NAME_SAW_WHITE:De(fe,pe)?$.attribName+=pe:qe($,"Invalid attribute name");continue;case V.ATTRIB_NAME_SAW_WHITE:if("="===pe)$.state=V.ATTRIB_VALUE;else{if(se(pe))continue;qe($,"Attribute without value"),$.tag.attributes[$.attribName]="",$.attribValue="",Ne($,"onattribute",{name:$.attribName,value:""}),$.attribName="",">"===pe?Lt($):De($e,pe)?($.attribName=pe,$.state=V.ATTRIB_NAME):(qe($,"Invalid attribute name"),$.state=V.ATTRIB)}continue;case V.ATTRIB_VALUE:if(se(pe))continue;j(pe)?($.q=pe,$.state=V.ATTRIB_VALUE_QUOTED):(qe($,"Unquoted attribute value"),$.state=V.ATTRIB_VALUE_UNQUOTED,$.attribValue=pe);continue;case V.ATTRIB_VALUE_QUOTED:if(pe!==$.q){"&"===pe?$.state=V.ATTRIB_VALUE_ENTITY_Q:$.attribValue+=pe;continue}Yt($),$.q="",$.state=V.ATTRIB_VALUE_CLOSED;continue;case V.ATTRIB_VALUE_CLOSED:se(pe)?$.state=V.ATTRIB:">"===pe?Lt($):"/"===pe?$.state=V.OPEN_TAG_SLASH:De($e,pe)?(qe($,"No whitespace between attributes"),$.attribName=pe,$.attribValue="",$.state=V.ATTRIB_NAME):qe($,"Invalid attribute name");continue;case V.ATTRIB_VALUE_UNQUOTED:if(!ne(pe)){"&"===pe?$.state=V.ATTRIB_VALUE_ENTITY_U:$.attribValue+=pe;continue}Yt($),">"===pe?Lt($):$.state=V.ATTRIB;continue;case V.CLOSE_TAG:if($.tagName)">"===pe?ft($):De(fe,pe)?$.tagName+=pe:$.script?($.script+="</"+$.tagName,$.tagName="",$.state=V.SCRIPT):(se(pe)||qe($,"Invalid tagname in closing tag"),$.state=V.CLOSE_TAG_SAW_WHITE);else{if(se(pe))continue;Ue($e,pe)?$.script?($.script+="</"+pe,$.state=V.SCRIPT):qe($,"Invalid tagname in closing tag."):$.tagName=pe}continue;case V.CLOSE_TAG_SAW_WHITE:if(se(pe))continue;">"===pe?ft($):qe($,"Invalid characters in closing tag");continue;case V.TEXT_ENTITY:case V.ATTRIB_VALUE_ENTITY_Q:case V.ATTRIB_VALUE_ENTITY_U:var lt,Bt;switch($.state){case V.TEXT_ENTITY:lt=V.TEXT,Bt="textNode";break;case V.ATTRIB_VALUE_ENTITY_Q:lt=V.ATTRIB_VALUE_QUOTED,Bt="attribValue";break;case V.ATTRIB_VALUE_ENTITY_U:lt=V.ATTRIB_VALUE_UNQUOTED,Bt="attribValue"}";"===pe?($[Bt]+=It($),$.entity="",$.state=lt):De($.entity.length?be:ue,pe)?$.entity+=pe:(qe($,"Invalid character in entity name"),$[Bt]+="&"+$.entity+pe,$.entity="",$.state=lt);continue;default:throw new Error($,"Unknown state: "+$.state)}return $.position>=$.bufferCheckPosition&&function Y(B){for(var $=Math.max(a.MAX_BUFFER_LENGTH,10),ve=0,pe=0,Xe=p.length;pe<Xe;pe++){var st=B[p[pe]].length;if(st>$)switch(p[pe]){case"textNode":me(B);break;case"cdata":Ne(B,"oncdata",B.cdata),B.cdata="";break;case"script":Ne(B,"onscript",B.script),B.script="";break;default:ze(B,"Max buffer length exceeded: "+p[pe])}ve=Math.max(ve,st)}B.bufferCheckPosition=a.MAX_BUFFER_LENGTH-ve+B.position}($),$},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){!function ee(B){me(B),""!==B.cdata&&(Ne(B,"oncdata",B.cdata),B.cdata=""),""!==B.script&&(Ne(B,"onscript",B.script),B.script="")}(this)}};try{R=f(5398).Stream}catch{R=function(){}}var ae=a.EVENTS.filter(function(B){return"error"!==B&&"end"!==B});function W(B,$){if(!(this instanceof W))return new W(B,$);R.apply(this),this._parser=new C(B,$),this.writable=!0,this.readable=!0;var ve=this;this._parser.onend=function(){ve.emit("end")},this._parser.onerror=function(pe){ve.emit("error",pe),ve._parser.error=null},this._decoder=null,ae.forEach(function(pe){Object.defineProperty(ve,"on"+pe,{get:function(){return ve._parser["on"+pe]},set:function(Xe){if(!Xe)return ve.removeAllListeners(pe),ve._parser["on"+pe]=Xe,Xe;ve.on(pe,Xe)},enumerable:!0,configurable:!1})})}(W.prototype=Object.create(R.prototype,{constructor:{value:W}})).write=function(B){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(B)){if(!this._decoder){var $=f(3054).s;this._decoder=new $("utf8")}B=this._decoder.write(B)}return this._parser.write(B.toString()),this.emit("data",B),!0},W.prototype.end=function(B){return B&&B.length&&this.write(B),this._parser.end(),!0},W.prototype.on=function(B,$){var ve=this;return!ve._parser["on"+B]&&-1!==ae.indexOf(B)&&(ve._parser["on"+B]=function(){var pe=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);pe.splice(0,0,B),ve.emit.apply(ve,pe)}),R.prototype.on.call(ve,B,$)};var _e="http://www.w3.org/XML/1998/namespace",ge="http://www.w3.org/2000/xmlns/",Re={xml:_e,xmlns:ge},$e=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,fe=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,ue=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,be=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function se(B){return" "===B||"\n"===B||"\r"===B||"\t"===B}function j(B){return'"'===B||"'"===B}function ne(B){return">"===B||se(B)}function De(B,$){return B.test($)}function Ue(B,$){return!De(B,$)}var B,$,ve,V=0;for(var He in a.STATE={BEGIN:V++,BEGIN_WHITESPACE:V++,TEXT:V++,TEXT_ENTITY:V++,OPEN_WAKA:V++,SGML_DECL:V++,SGML_DECL_QUOTED:V++,DOCTYPE:V++,DOCTYPE_QUOTED:V++,DOCTYPE_DTD:V++,DOCTYPE_DTD_QUOTED:V++,COMMENT_STARTING:V++,COMMENT:V++,COMMENT_ENDING:V++,COMMENT_ENDED:V++,CDATA:V++,CDATA_ENDING:V++,CDATA_ENDING_2:V++,PROC_INST:V++,PROC_INST_BODY:V++,PROC_INST_ENDING:V++,OPEN_TAG:V++,OPEN_TAG_SLASH:V++,ATTRIB:V++,ATTRIB_NAME:V++,ATTRIB_NAME_SAW_WHITE:V++,ATTRIB_VALUE:V++,ATTRIB_VALUE_QUOTED:V++,ATTRIB_VALUE_CLOSED:V++,ATTRIB_VALUE_UNQUOTED:V++,ATTRIB_VALUE_ENTITY_Q:V++,ATTRIB_VALUE_ENTITY_U:V++,CLOSE_TAG:V++,CLOSE_TAG_SAW_WHITE:V++,SCRIPT:V++,SCRIPT_ENDING:V++},a.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},a.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(a.ENTITIES).forEach(function(B){var $=a.ENTITIES[B],ve="number"==typeof $?String.fromCharCode($):$;a.ENTITIES[B]=ve}),a.STATE)a.STATE[a.STATE[He]]=He;function Be(B,$,ve){B[$]&&B[$](ve)}function Ne(B,$,ve){B.textNode&&me(B),Be(B,$,ve)}function me(B){B.textNode=Le(B.opt,B.textNode),B.textNode&&Be(B,"ontext",B.textNode),B.textNode=""}function Le(B,$){return B.trim&&($=$.trim()),B.normalize&&($=$.replace(/\s+/g," ")),$}function ze(B,$){return me(B),B.trackPosition&&($+="\nLine: "+B.line+"\nColumn: "+B.column+"\nChar: "+B.c),$=new Error($),B.error=$,Be(B,"onerror",$),B}function dt(B){return B.sawRoot&&!B.closedRoot&&qe(B,"Unclosed root tag"),B.state!==V.BEGIN&&B.state!==V.BEGIN_WHITESPACE&&B.state!==V.TEXT&&ze(B,"Unexpected end"),me(B),B.c="",B.closed=!0,Be(B,"onend"),C.call(B,B.strict,B.opt),B}function qe(B,$){if("object"!=typeof B||!(B instanceof C))throw new Error("bad call to strictFail");B.strict&&ze(B,$)}function Mt(B){B.strict||(B.tagName=B.tagName[B.looseCase]());var $=B.tags[B.tags.length-1]||B,ve=B.tag={name:B.tagName,attributes:{}};B.opt.xmlns&&(ve.ns=$.ns),B.attribList.length=0,Ne(B,"onopentagstart",ve)}function wt(B,$){var pe=B.indexOf(":")<0?["",B]:B.split(":"),Xe=pe[0],st=pe[1];return $&&"xmlns"===B&&(Xe="xmlns",st=""),{prefix:Xe,local:st}}function Yt(B){if(B.strict||(B.attribName=B.attribName[B.looseCase]()),-1!==B.attribList.indexOf(B.attribName)||B.tag.attributes.hasOwnProperty(B.attribName))B.attribName=B.attribValue="";else{if(B.opt.xmlns){var $=wt(B.attribName,!0),pe=$.local;if("xmlns"===$.prefix)if("xml"===pe&&B.attribValue!==_e)qe(B,"xml: prefix must be bound to "+_e+"\nActual: "+B.attribValue);else if("xmlns"===pe&&B.attribValue!==ge)qe(B,"xmlns: prefix must be bound to "+ge+"\nActual: "+B.attribValue);else{var Xe=B.tag,st=B.tags[B.tags.length-1]||B;Xe.ns===st.ns&&(Xe.ns=Object.create(st.ns)),Xe.ns[pe]=B.attribValue}B.attribList.push([B.attribName,B.attribValue])}else B.tag.attributes[B.attribName]=B.attribValue,Ne(B,"onattribute",{name:B.attribName,value:B.attribValue});B.attribName=B.attribValue=""}}function Lt(B,$){if(B.opt.xmlns){var ve=B.tag,pe=wt(B.tagName);ve.prefix=pe.prefix,ve.local=pe.local,ve.uri=ve.ns[pe.prefix]||"",ve.prefix&&!ve.uri&&(qe(B,"Unbound namespace prefix: "+JSON.stringify(B.tagName)),ve.uri=pe.prefix),ve.ns&&(B.tags[B.tags.length-1]||B).ns!==ve.ns&&Object.keys(ve.ns).forEac
1h(function(re){Ne(B,"onopennamespace",{prefix:re,uri:ve.ns[re]})});for(var st=0,lt=B.attribList.length;st<lt;st++){var Bt=B.attribList[st],at=Bt[0],te=Bt[1],N=wt(at,!0),z=N.prefix,xe=""===z?"":ve.ns[z]||"",T={name:at,value:te,prefix:z,local:N.local,uri:xe};z&&"xmlns"!==z&&!xe&&(qe(B,"Unbound namespace prefix: "+JSON.stringify(z)),T.uri=z),B.tag.attributes[at]=T,Ne(B,"onattribute",T)}B.attribList.length=0}B.tag.isSelfClosing=!!$,B.sawRoot=!0,B.tags.push(B.tag),Ne(B,"onopentag",B.tag),$||(B.state=B.noscript||"script"!==B.tagName.toLowerCase()?V.TEXT:V.SCRIPT,B.tag=null,B.tagName=""),B.attribName=B.attribValue="",B.attribList.length=0}function ft(B){if(!B.tagName)return qe(B,"Weird empty close tag."),B.textNode+="</>",void(B.state=V.TEXT);if(B.script){if("script"!==B.tagName)return B.script+="</"+B.tagName+">",B.tagName="",void(B.state=V.SCRIPT);Ne(B,"onscript",B.script),B.script=""}var $=B.tags.length,ve=B.tagName;B.strict||(ve=ve[B.looseCase]());for(var pe=ve;$--&&B.tags[$].name!==pe;)qe(B,"Unexpected close tag");if($<0)return qe(B,"Unmatched closing tag: "+B.tagName),B.textNode+="</"+B.tagName+">",void(B.state=V.TEXT);B.tagName=ve;for(var st=B.tags.length;st-- >$;){var lt=B.tag=B.tags.pop();B.tagName=B.tag.name,Ne(B,"onclosetag",B.tagName);var Bt={};for(var at in lt.ns)Bt[at]=lt.ns[at];B.opt.xmlns&<.ns!==(B.tags[B.tags.length-1]||B).ns&&Object.keys(lt.ns).forEach(function(N){Ne(B,"onclosenamespace",{prefix:N,uri:lt.ns[N]})})}0===$&&(B.closedRoot=!0),B.tagName=B.attribValue=B.attribName="",B.attribList.length=0,B.state=V.TEXT}function It(B){var pe,$=B.entity,ve=$.toLowerCase(),Xe="";return B.ENTITIES[$]?B.ENTITIES[$]:B.ENTITIES[ve]?B.ENTITIES[ve]:("#"===($=ve).charAt(0)&&("x"===$.charAt(1)?($=$.slice(2),Xe=(pe=parseInt($,16)).toString(16)):($=$.slice(1),Xe=(pe=parseInt($,10)).toString(10))),$=$.replace(/^0+/,""),isNaN(pe)||Xe.toLowerCase()!==$?(qe(B,"Invalid character entity"),"&"+B.entity+";"):String.fromCodePoint(pe))}function Ge(B,$){"<"===$?(B.state=V.OPEN_WAKA,B.startTagPosition=B.position):se($)||(qe(B,"Non-whitespace before first tag."),B.textNode=$,B.state=V.TEXT)}function je(B,$){var ve="";return $<B.length&&(ve=B.charAt($)),ve}V=a.STATE,String.fromCodePoint||(B=String.fromCharCode,$=Math.floor,ve=function(){var pe=16384,Xe=[],Bt=-1,at=arguments.length;if(!at)return"";for(var te="";++Bt<at;){var N=Number(arguments[Bt]);if(!isFinite(N)||N<0||N>1114111||$(N)!==N)throw RangeError("Invalid code point: "+N);N<=65535?Xe.push(N):Xe.push(55296+((N-=65536)>>10),N%1024+56320),(Bt+1===at||Xe.length>pe)&&(te+=B.apply(null,Xe),Xe.length=0)}return te},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:ve,configurable:!0,writable:!0}):String.fromCodePoint=ve)}(Ve)},5398:(Pt,Ve,f)=>{var a=f(6570);function p(){a.call(this)}p.prototype=new a,Pt.exports=p,p.Stream=p,p.prototype.pipe=function(C,Y){var e=this;function ee(_e){C.writable&&!1===C.write(_e)&&e.pause&&e.pause()}function R(){e.readable&&e.resume&&e.resume()}e.on("data",ee),C.on("drain",R),!C._isStdio&&(!Y||!1!==Y.end)&&(e.on("end",X),e.on("close",W));var ae=!1;function X(){ae||(ae=!0,C.end())}function W(){ae||(ae=!0,"function"==typeof C.destroy&&C.destroy())}function de(_e){if(ce(),!this.hasListeners("error"))throw _e}function ce(){e.off("data",ee),C.off("drain",R),e.off("end",X),e.off("close",W),e.off("error",de),C.off("error",de),e.off("end",ce),e.off("close",ce),C.off("end",ce),C.off("close",ce)}return e.on("error",de),C.on("error",de),e.on("end",ce),e.on("close",ce),C.on("end",ce),C.on("close",ce),C.emit("pipe",e),C}},3054:(Pt,Ve,f)=>{"use strict";var a=f(3502).Buffer,p=a.isEncoding||function(ue){switch((ue=""+ue)&&ue.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function e(ue){var be;switch(this.encoding=function Y(ue){var be=function C(ue){if(!ue)return"utf8";for(var be;;)switch(ue){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return ue;default:if(be)return;ue=(""+ue).toLowerCase(),be=!0}}(ue);if("string"!=typeof be&&(a.isEncoding===p||!p(ue)))throw new Error("Unknown encoding: "+ue);return be||ue}(ue),this.encoding){case"utf16le":this.text=ce,this.end=_e,be=4;break;case"utf8":this.fillLast=X,be=4;break;case"base64":this.text=ge,this.end=Re,be=3;break;default:return this.write=$e,void(this.end=fe)}this.lastNeed=0,this.lastTotal=0,this.lastChar=a.allocUnsafe(be)}function ee(ue){return ue<=127?0:ue>>5==6?2:ue>>4==14?3:ue>>3==30?4:ue>>6==2?-1:-2}function X(ue){var be=this.lastTotal-this.lastNeed,se=function ae(ue,be,se){if(128!=(192&be[0]))return ue.lastNeed=0,"\ufffd";if(ue.lastNeed>1&&be.length>1){if(128!=(192&be[1]))return ue.lastNeed=1,"\ufffd";if(ue.lastNeed>2&&be.length>2&&128!=(192&be[2]))return ue.lastNeed=2,"\ufffd"}}(this,ue);return void 0!==se?se:this.lastNeed<=ue.length?(ue.copy(this.lastChar,be,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(ue.copy(this.lastChar,be,0,ue.length),void(this.lastNeed-=ue.length))}function ce(ue,be){if((ue.length-be)%2==0){var se=ue.toString("utf16le",be);if(se){var j=se.charCodeAt(se.length-1);if(j>=55296&&j<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ue[ue.length-2],this.lastChar[1]=ue[ue.length-1],se.slice(0,-1)}return se}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ue[ue.length-1],ue.toString("utf16le",be,ue.length-1)}function _e(ue){var be=ue&&ue.length?this.write(ue):"";return this.lastNeed?be+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):be}function ge(ue,be){var se=(ue.length-be)%3;return 0===se?ue.toString("base64",be):(this.lastNeed=3-se,this.lastTotal=3,1===se?this.lastChar[0]=ue[ue.length-1]:(this.lastChar[0]=ue[ue.length-2],this.lastChar[1]=ue[ue.length-1]),ue.toString("base64",be,ue.length-se))}function Re(ue){var be=ue&&ue.length?this.write(ue):"";return this.lastNeed?be+this.lastChar.toString("base64",0,3-this.lastNeed):be}function $e(ue){return ue.toString(this.encoding)}function fe(ue){return ue&&ue.length?this.write(ue):""}Ve.s=e,e.prototype.write=function(ue){if(0===ue.length)return"";var be,se;if(this.lastNeed){if(void 0===(be=this.fillLast(ue)))return"";se=this.lastNeed,this.lastNeed=0}else se=0;return se<ue.length?be?be+this.text(ue,se):this.text(ue,se):be||""},e.prototype.end=function de(ue){var be=ue&&ue.length?this.write(ue):"";return this.lastNeed?be+"\ufffd":be},e.prototype.text=function W(ue,be){var se=function R(ue,be,se){var j=be.length-1;if(j<se)return 0;var ne=ee(be[j]);return ne>=0?(ne>0&&(ue.lastNeed=ne-1),ne):--j<se||-2===ne?0:(ne=ee(be[j]))>=0?(ne>0&&(ue.lastNeed=ne-2),ne):--j<se||-2===ne?0:(ne=ee(be[j]))>=0?(ne>0&&(2===ne?ne=0:ue.lastNeed=ne-3),ne):0}(this,ue,be);if(!this.lastNeed)return ue.toString("utf8",be);this.lastTotal=se;var j=ue.length-(se-this.lastNeed);return ue.copy(this.lastChar,0,j),ue.toString("utf8",be,j)},e.prototype.fillLast=function(ue){if(this.lastNeed<=ue.length)return ue.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ue.copy(this.lastChar,this.lastTotal-this.lastNeed,0,ue.length),this.lastNeed-=ue.length}},5097:Pt=>{Pt.exports={isArray:function(Ve){return Array.isArray?Array.isArray(Ve):"[object Array]"===Object.prototype.toString.call(Ve)}}},9220:(Pt,Ve,f)=>{var a=f(9910),p=f(6976),C=f(3559),Y=f(1097);Pt.exports={xml2js:a,xml2json:p,js2xml:C,json2xml:Y}},3559:(Pt,Ve,f)=>{var C,Y,a=f(5886),p=f(5097).isArray;function ee(se,j,ne){return(!ne&&se.spaces?"\n":"")+Array(j+1).join(se.spaces)}function R(se,j,ne){if(j.ignoreAttributes)return"";"attributesFn"in j&&(se=j.attributesFn(se,Y,C));var De,Ue,V,He,Be=[];for(De in se)se.hasOwnProperty(De)&&null!=se[De]&&(He=j.noQuotesForNativeAttributes&&"string"!=typeof se[De]?"":'"',Ue=(Ue=""+se[De]).replace(/"/g,"""),V="attributeNameFn"in j?j.attributeNameFn(De,Ue,Y,C):De,Be.push(j.spaces&&j.indentAttributes?ee(j,ne+1,!1):" "),Be.push(V+"="+He+("attributeValueFn"in j?j.attributeValueFn(Ue,De,Y,C):Ue)+He));
1return se&&Object.keys(se).length&&j.spaces&&j.indentAttributes&&Be.push(ee(j,ne,!1)),Be.join("")}function ae(se,j,ne){return C=se,Y="xml",j.ignoreDeclaration?"":"<?xml"+R(se[j.attributesKey],j,ne)+"?>"}function X(se,j,ne){if(j.ignoreInstruction)return"";var De;for(De in se)if(se.hasOwnProperty(De))break;var Ue="instructionNameFn"in j?j.instructionNameFn(De,se[De],Y,C):De;if("object"==typeof se[De])return C=se,Y=Ue,"<?"+Ue+R(se[De][j.attributesKey],j,ne)+"?>";var V=se[De]?se[De]:"";return"instructionFn"in j&&(V=j.instructionFn(V,De,Y,C)),"<?"+Ue+(V?" "+V:"")+"?>"}function W(se,j){return j.ignoreComment?"":"\x3c!--"+("commentFn"in j?j.commentFn(se,Y,C):se)+"--\x3e"}function de(se,j){return j.ignoreCdata?"":"<![CDATA["+("cdataFn"in j?j.cdataFn(se,Y,C):se.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function ce(se,j){return j.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in j?j.doctypeFn(se,Y,C):se)+">"}function _e(se,j){return j.ignoreText?"":(se=(se=(se=""+se).replace(/&/g,"&")).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),"textFn"in j?j.textFn(se,Y,C):se)}function $e(se,j,ne,De){return se.reduce(function(Ue,V){var He=ee(j,ne,De&&!Ue);switch(V.type){case"element":return Ue+He+function Re(se,j,ne){C=se,Y=se.name;var De=[],Ue="elementNameFn"in j?j.elementNameFn(se.name,se):se.name;De.push("<"+Ue),se[j.attributesKey]&&De.push(R(se[j.attributesKey],j,ne));var V=se[j.elementsKey]&&se[j.elementsKey].length||se[j.attributesKey]&&"preserve"===se[j.attributesKey]["xml:space"];return V||(V="fullTagEmptyElementFn"in j?j.fullTagEmptyElementFn(se.name,se):j.fullTagEmptyElement),V?(De.push(">"),se[j.elementsKey]&&se[j.elementsKey].length&&(De.push($e(se[j.elementsKey],j,ne+1)),C=se,Y=se.name),De.push(j.spaces&&function ge(se,j){var ne;if(se.elements&&se.elements.length)for(ne=0;ne<se.elements.length;++ne)switch(se.elements[ne][j.typeKey]){case"text":if(j.indentText)return!0;break;case"cdata":if(j.indentCdata)return!0;break;case"instruction":if(j.indentInstruction)return!0;break;default:return!0}return!1}(se,j)?"\n"+Array(ne+1).join(j.spaces):""),De.push("</"+Ue+">")):De.push("/>"),De.join("")}(V,j,ne);case"comment":return Ue+He+W(V[j.commentKey],j);case"doctype":return Ue+He+ce(V[j.doctypeKey],j);case"cdata":return Ue+(j.indentCdata?He:"")+de(V[j.cdataKey],j);case"text":return Ue+(j.indentText?He:"")+_e(V[j.textKey],j);case"instruction":var Be={};return Be[V[j.nameKey]]=V[j.attributesKey]?V:V[j.instructionKey],Ue+(j.indentInstruction?He:"")+X(Be,j,ne)}},"")}function fe(se,j,ne){var De;for(De in se)if(se.hasOwnProperty(De))switch(De){case j.parentKey:case j.attributesKey:break;case j.textKey:if(j.indentText||ne)return!0;break;case j.cdataKey:if(j.indentCdata||ne)return!0;break;case j.instructionKey:if(j.indentInstruction||ne)return!0;break;default:return!0}return!1}function ue(se,j,ne,De,Ue){C=se,Y=j;var V="elementNameFn"in ne?ne.elementNameFn(j,se):j;if(typeof se>"u"||null===se||""===se)return"fullTagEmptyElementFn"in ne&&ne.fullTagEmptyElementFn(j,se)||ne.fullTagEmptyElement?"<"+V+"></"+V+">":"<"+V+"/>";var He=[];if(j){if(He.push("<"+V),"object"!=typeof se)return He.push(">"+_e(se,ne)+"</"+V+">"),He.join("");se[ne.attributesKey]&&He.push(R(se[ne.attributesKey],ne,De));var Be=fe(se,ne,!0)||se[ne.attributesKey]&&"preserve"===se[ne.attributesKey]["xml:space"];if(Be||(Be="fullTagEmptyElementFn"in ne?ne.fullTagEmptyElementFn(j,se):ne.fullTagEmptyElement),!Be)return He.push("/>"),He.join("");He.push(">")}return He.push(be(se,ne,De+1,!1)),C=se,Y=j,j&&He.push((Ue?ee(ne,De,!1):"")+"</"+V+">"),He.join("")}function be(se,j,ne,De){var Ue,V,He,Be=[];for(V in se)if(se.hasOwnProperty(V))for(He=p(se[V])?se[V]:[se[V]],Ue=0;Ue<He.length;++Ue){switch(V){case j.declarationKey:Be.push(ae(He[Ue],j,ne));break;case j.instructionKey:Be.push((j.indentInstruction?ee(j,ne,De):"")+X(He[Ue],j,ne));break;case j.attributesKey:case j.parentKey:break;case j.textKey:Be.push((j.indentText?ee(j,ne,De):"")+_e(He[Ue],j));break;case j.cdataKey:Be.push((j.indentCdata?ee(j,ne,De):"")+de(He[Ue],j));break;case j.doctypeKey:Be.push(ee(j,ne,De)+ce(He[Ue],j));break;case j.commentKey:Be.push(ee(j,ne,De)+W(He[Ue],j));break;default:Be.push(ee(j,ne,De)+ue(He[Ue],V,j,ne,fe(He[Ue],j)))}De=De&&!Be.length}return Be.join("")}
1Pt.exports=function(se,j){j=function e(se){var j=a.copyOptions(se);return a.ensureFlagExists("ignoreDeclaration",j),a.ensureFlagExists("ignoreInstruction",j),a.ensureFlagExists("ignoreAttributes",j),a.ensureFlagExists("ignoreText",j),a.ensureFlagExists("ignoreComment",j),a.ensureFlagExists("ignoreCdata",j),a.ensureFlagExists("ignoreDoctype",j),a.ensureFlagExists("compact",j),a.ensureFlagExists("indentText",j),a.ensureFlagExists("indentCdata",j),a.ensureFlagExists("indentAttributes",j),a.ensureFlagExists("indentInstruction",j),a.ensureFlagExists("fullTagEmptyElement",j),a.ensureFlagExists("noQuotesForNativeAttributes",j),a.ensureSpacesExists(j),"number"==typeof j.spaces&&(j.spaces=Array(j.spaces+1).join(" ")),a.ensureKeyExists("declaration",j),a.ensureKeyExists("instruction",j),a.ensureKeyExists("attributes",j),a.ensureKeyExists("text",j),a.ensureKeyExists("comment",j),a.ensureKeyExists("cdata",j),a.ensureKeyExists("doctype",j),a.ensureKeyExists("type",j),a.ensureKeyExists("name",j),a.ensureKeyExists("elements",j),a.checkFnExists("doctype",j),a.checkFnExists("instruction",j),a.checkFnExists("cdata",j),a.checkFnExists("comment",j),a.checkFnExists("text",j),a.checkFnExists("instructionName",j),a.checkFnExists("elementName",j),a.checkFnExists("attributeName",j),a.checkFnExists("attributeValue",j),a.checkFnExists("attributes",j),a.checkFnExists("fullTagEmptyElement",j),j}(j);var ne=[];return C=se,Y="_root_",j.compact?ne.push(be(se,j,0,!0)):(se[j.declarationKey]&&ne.push(ae(se[j.declarationKey],j,0)),se[j.elementsKey]&&se[j.elementsKey].length&&ne.push($e(se[j.elementsKey],j,0,!ne.length))),ne.join("")}},1097:(Pt,Ve,f)=>{var a=f(3559);Pt.exports=function(p,C){p instanceof Buffer&&(p=p.toString());var Y=null;if("string"==typeof p)try{Y=JSON.parse(p)}catch{throw new Error("The JSON structure is invalid")}else Y=p;return a(Y,C)}},5886:(Pt,Ve,f)=>{var a=f(5097).isArray;Pt.exports={copyOptions:function(p){var C,Y={};for(C in p)p.hasOwnProperty(C)&&(Y[C]=p[C]);return Y},ensureFlagExists:function(p,C){(!(p in C)||"boolean"!=typeof C[p])&&(C[p]=!1)},ensureSpacesExists:function(p){(!("spaces"in p)||"number"!=typeof p.spaces&&"string"!=typeof p.spaces)&&(p.spaces=0)},ensureAlwaysArrayExists:function(p){(!("alwaysArray"in p)||"boolean"!=typeof p.alwaysArray&&!a(p.alwaysArray))&&(p.alwaysArray=!1)},ensureKeyExists:function(p,C){(!(p+"Key"in C)||"string"!=typeof C[p+"Key"])&&(C[p+"Key"]=C.compact?"_"+p:p)},checkFnExists:function(p,C){return p+"Fn"in C}}},9910:(Pt,Ve,f)=>{var e,R,a=f(1503),C=f(5886),Y=f(5097).isArray;function X(se){var j=Number(se);if(!isNaN(j))return j;var ne=se.toLowerCase();return"true"===ne||"false"!==ne&&se}function W(se,j){var ne;if(e.compact){if(!R[e[se+"Key"]]&&(Y(e.alwaysArray)?-1!==e.alwaysArray.indexOf(e[se+"Key"]):e.alwaysArray)&&(R[e[se+"Key"]]=[]),R[e[se+"Key"]]&&!Y(R[e[se+"Key"]])&&(R[e[se+"Key"]]=[R[e[se+"Key"]]]),se+"Fn"in e&&"string"==typeof j&&(j=e[se+"Fn"](j,R)),"instruction"===se&&("instructionFn"in e||"instructionNameFn"in e))for(ne in j)if(j.hasOwnProperty(ne))if("instructionFn"in e)j[ne]=e.instructionFn(j[ne],ne,R);else{var De=j[ne];delete j[ne],j[e.instructionNameFn(ne,De,R)]=De}Y(R[e[se+"Key"]])?R[e[se+"Key"]].push(j):R[e[se+"Key"]]=j}else{R[e.elementsKey]||(R[e.elementsKey]=[]);var Ue={};if(Ue[e.typeKey]=se,"instruction"===se){for(ne in j)if(j.hasOwnProperty(ne))break;Ue[e.nameKey]="instructionNameFn"in e?e.instructionNameFn(ne,j,R):ne,e.instructionHasAttributes?(Ue[e.attributesKey]=j[ne][e.attributesKey],"instructionFn"in e&&(Ue[e.attributesKey]=e.instructionFn(Ue[e.attributesKey],ne,R))):("instructionFn"in e&&(j[ne]=e.instructionFn(j[ne],ne,R)),Ue[e.instructionKey]=j[ne])}else se+"Fn"in e&&(j=e[se+"Fn"](j,R)),Ue[e[se+"Key"]]=j;e.addParent&&(Ue[e.parentKey]=R),R[e.elementsKey].push(Ue)}}function de(se){var j;if("attributesFn"in e&&se&&(se=e.attributesFn(se,R)),(e.trim||"attributeValueFn"in e||"attributeNameFn"in e||e.nativeTypeAttributes)&&se)for(j in se)if(se.hasOwnProperty(j)&&(e.trim&&(se[j]=se[j].trim()),e.nativeTypeAttributes&&(se[j]=X(se[j])),"attributeValueFn"in e&&(se[j]=e.attributeValueFn(se[j],j,R)),"attributeNameFn"in e)){var ne=se[j];delete se[j],se[e.attributeNameFn(j,se[j],R)]=ne}return se}function ce(se){var j={};if(se.body&&("xml"===se.name.toLowerCase()||e.instructionHasAttributes)){for(var De,ne=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(De=ne.exec(se.body));)j[De[1]]=De[2]||De[3]||De[4];j=de(j)}if("xml"===se.name.toLowerCase()){if(e.ignoreDeclaration)return;R[e.declarationKey]={},Object.keys(j).length&&(R[e.declarationKey][e.attributesKey]=j),e.addParent&&(R[e.declarationKey][e.parentKey]=R)}else{if(e.ignoreInstruction)return;e.trim&&(se.body=se.body.trim());var Ue={};e.instructionHasAttributes&&Object.keys(j).length?(Ue[se.name]={},Ue[se.name][e.attributesKey]=j):Ue[se.name]=se.body,W("instruction",Ue)}}function _e(se,j){var ne;if("object"==typeof se&&(j=se.attributes,se=se.name),j=de(j),"elementNameFn"in e&&(se=e.elementNameFn(se,R)),e.compact){var De;if(ne={},!e.ignoreAttributes&&j&&Object.keys(j).length)for(De in ne[e.attributesKey]={},j)j.hasOwnProperty(De)&&(ne[e.attributesKey][De]=j[De]);!(se in R)&&(Y(e.alwaysArray)?-1!==e.alwaysArray.indexOf(se):e.alwaysArray)&&(R[se]=[]),R[se]&&!Y(R[se])&&(R[se]=[R[se]]),Y(R[se])?R[se].push(ne):R[se]=ne}else R[e.elementsKey]||(R[e.elementsKey]=[]),(ne={})[e.typeKey]="element",ne[e.nameKey]=se,!e.ignoreAttributes&&j&&Object.keys(j).length&&(ne[e.attributesKey]=j),e.alwaysChildren&&(ne[e.elementsKey]=[]),R[e.elementsKey].push(ne);ne[e.parentKey]=R,R=ne}function ge(se){e.ignoreText||!se.trim()&&!e.captureSpacesBetweenElements||(e.trim&&(se=se.trim()),e.nativeType&&(se=X(se)),e.sanitize&&(se=se.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")),W("text",se))}function Re(se){e.ignoreComment||(e.trim&&(se=se.trim()),W("comment",se))}function $e(se){var j=R[e.parentKey];e.addParent||delete R[e.parentKey],R=j}function fe(se){e.ignoreCdata||(e.trim&&(se=se.trim()),W("cdata",se))}function ue(se){e.ignoreDoctype||(se=se.replace(/^ /,""),e.trim&&(se=se.trim()),W("doctype",se))}function be(se){se.note=se}Pt.exports=function(se,j){var ne=a.parser(!0,{}),De={};if(R=De,e=function ae(se){return e=C.copyOptions(se),C.ensureFlagExists("ignoreDeclaration",e),C.ensureFlagExists("ignoreInstruction",e),C.ensureFlagExists("ignoreAttributes",e),C.ensureFlagExists("ignoreText",e),C.ensureFlagExists("ignoreComment",e),C.ensureFlagExists("ignoreCdata",e),C.ensureFlagExists("ignoreDoctype",e),C.ensureFlagExists("compact",e),C.ensureFlagExists("alwaysChildren",e),C.ensureFlagExists("addParent",e),C.ensureFlagExists("trim",e),C.ensureFlagExists("nativeType",e),C.ensureFlagExists("nativeTypeAttributes",e),C.ensureFlagExists("sanitize",e),C.ensureFlagExists("instructionHasAttributes",e),C.ensureFlagExists("captureSpacesBetweenElements",e),C.ensureAlwaysArrayExists(e),C.ensureKeyExists("declaration",e),C.ensureKeyExists("instruction",e),C.ensureKeyExists("attributes",e),C.ensureKeyExists("text",e),C.ensureKeyExists("comment",e),C.ensureKeyExists("cdata",e),C.ensureKeyExists("doctype",e),C.ensureKeyExists("type",e),C.ensureKeyExists("name",e),C.ensureKeyExists("elements",e),C.ensureKeyExists("parent",e),C.checkFnExists("doctype",e),C.checkFnExists("instruction",e),C.checkFnExists("cdata",e),C.checkFnExists("comment",e),C.checkFnExists("text",e),C.checkFnExists("instructionName",e),C.checkFnExists("elementName",e),C.checkFnExists("attributeName",e),C.checkFnExists("attributeValue",e),C.checkFnExists("attributes",e),e}(j),ne.opt={strictEntities:!0},ne.onopentag=_e,ne.ontext=ge,ne.oncomment=Re,ne.onclosetag=$e,ne.onerror=be,ne.oncdata=fe,ne.ondoctype=ue,ne.onprocessinginstruction=ce,ne.write(se).close(),De[e.elementsKey]){var Ue=De[e.elementsKey];delete De[e.elementsKey],De[e.elementsKey]=Ue,delete De.text}return De}},6976:(Pt,Ve,f)=>{var a=f(5886),p=f(9910);Pt.exports=function(Y,e){var ee,R,X;return ee=function C(Y){var e=a.copyOptions(Y);
1return a.ensureSpacesExists(e),e}(e),R=p(Y,ee),X="compact"in ee&&ee.compact?"_parent":"parent",("addParent"in ee&&ee.addParent?JSON.stringify(R,function(W,de){return W===X?"_":de},ee.spaces):JSON.stringify(R,null,ee.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},655:(Pt,Ve,f)=>{"use strict";function Y(Ne,me){var Le={};for(var ze in Ne)Object.prototype.hasOwnProperty.call(Ne,ze)&&me.indexOf(ze)<0&&(Le[ze]=Ne[ze]);if(null!=Ne&&"function"==typeof Object.getOwnPropertySymbols){var dt=0;for(ze=Object.getOwnPropertySymbols(Ne);dt<ze.length;dt++)me.indexOf(ze[dt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,ze[dt])&&(Le[ze[dt]]=Ne[ze[dt]])}return Le}function ae(Ne,me,Le,ze){return new(Le||(Le=Promise))(function(qe,Mt){function wt(ft){try{Lt(ze.next(ft))}catch(It){Mt(It)}}function Yt(ft){try{Lt(ze.throw(ft))}catch(It){Mt(It)}}function Lt(ft){ft.done?qe(ft.value):function dt(qe){return qe instanceof Le?qe:new Le(function(Mt){Mt(qe)})}(ft.value).then(wt,Yt)}Lt((ze=ze.apply(Ne,me||[])).next())})}function fe(Ne){return this instanceof fe?(this.v=Ne,this):new fe(Ne)}function ue(Ne,me,Le){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var dt,ze=Le.apply(Ne,me||[]),qe=[];return dt={},Mt("next"),Mt("throw"),Mt("return"),dt[Symbol.asyncIterator]=function(){return this},dt;function Mt(Ge){ze[Ge]&&(dt[Ge]=function(je){return new Promise(function(Ft,B){qe.push([Ge,je,Ft,B])>1||wt(Ge,je)})})}function wt(Ge,je){try{!function Yt(Ge){Ge.value instanceof fe?Promise.resolve(Ge.value.v).then(Lt,ft):It(qe[0][2],Ge)}
vendor: 4,205 bytes, line 1
1(ze[Ge](je))}catch(Ft){It(qe[0][3],Ft)}}function Lt(Ge){wt("next",Ge)}function ft(Ge){wt("throw",Ge)}function It(Ge,je){Ge(je),qe.shift(),qe.length&&wt(qe[0][0],qe[0][1])}}function se(Ne){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Le,me=Ne[Symbol.asyncIterator];return me?me.call(Ne):(Ne=function ce(Ne){var me="function"==typeof Symbol&&Symbol.iterator,Le=me&&Ne[me],ze=0;if(Le)return Le.call(Ne);if(Ne&&"number"==typeof Ne.length)return{next:function(){return Ne&&ze>=Ne.length&&(Ne=void 0),{value:Ne&&Ne[ze++],done:!Ne}}};throw new TypeError(me?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ne),Le={},ze("next"),ze("throw"),ze("return"),Le[Symbol.asyncIterator]=function(){return this},Le);function ze(qe){Le[qe]=Ne[qe]&&function(Mt){return new Promise(function(wt,Yt){!function dt(qe,Mt,wt,Yt){Promise.resolve(Yt).then(function(Lt){qe({value:Lt,done:wt})},Mt)}(wt,Yt,(Mt=Ne[qe](Mt)).done,Mt.value)})}}}f.d(Ve,{FC:()=>ue,KL:()=>se,_T:()=>Y,mG:()=>ae,qq:()=>fe})},7340:(Pt,Ve,f)=>{"use strict";f.d(Ve,{F4:()=>W,IO:()=>Re,LC:()=>p,SB:()=>X,X$:()=>Y,ZE:()=>be,ZN:()=>ue,_j:()=>a,eR:()=>de,jt:()=>e,k1:()=>se,l3:()=>C,oB:()=>ae,pV:()=>_e,ru:()=>ee,vP:()=>R});class a{}class p{}const C="*";function Y(j,ne){return{type:7,name:j,definitions:ne,options:{}}}function e(j,ne=null){return{type:4,styles:ne,timings:j}}function ee(j,ne=null){return{type:3,steps:j,options:ne}}function R(j,ne=null){return{type:2,steps:j,options:ne}}function ae(j){return{type:6,styles:j,offset:null}}function X(j,ne,De){return{type:0,name:j,styles:ne,options:De}}function W(j){return{type:5,steps:j}}function de(j,ne,De=null){return{type:1,expr:j,animation:ne,options:De}}function _e(j=null){return{type:9,options:j}}function Re(j,ne,De=null){return{type:11,selector:j,animation:ne,options:De}}function fe(j){Promise.resolve().then(j)}class ue{constructor(ne=0,De=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ne+De}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}onStart(ne){this._originalOnStartFns.push(ne),this._onStartFns.push(ne)}onDone(ne){this._originalOnDoneFns.push(ne),this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){fe(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ne=>ne()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ne=>ne()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ne){this._position=this.totalTime?ne*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ne){const De="start"==ne?this._onStartFns:this._onDoneFns;De.forEach(Ue=>Ue()),De.length=0}}class be{constructor(ne){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ne;let De=0,Ue=0,V=0;const He=this.players.length;0==He?fe(()=>this._onFinish()):this.players.forEach(Be=>{Be.onDone(()=>{++De==He&&this._onFinish()}),Be.onDestroy(()=>{++Ue==He&&this._onDestroy()}),Be.onStart(()=>{++V==He&&this._onStart()})}),this.totalTime=this.players.reduce((Be,Ne)=>Math.max(Be,Ne.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}init(){this.players.forEach(ne=>ne.init())}onStart(ne){this._onStartFns.push(ne)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ne=>ne()),this._onStartFns=[])}onDone(ne){this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEac
1h(ne=>ne.play())}pause(){this.players.forEach(ne=>ne.pause())}restart(){this.players.forEach(ne=>ne.restart())}finish(){this._onFinish(),this.players.forEach(ne=>ne.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ne=>ne.destroy()),this._onDestroyFns.forEach(ne=>ne()),this._onDestroyFns=[])}reset(){this.players.forEach(ne=>ne.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ne){const De=ne*this.totalTime;this.players.forEach(Ue=>{const V=Ue.totalTime?Math.min(1,De/Ue.totalTime):1;Ue.setPosition(V)})}getPosition(){const ne=this.players.reduce((De,Ue)=>null===De||Ue.totalTime>De.totalTime?Ue:De,null);return null!=ne?ne.getPosition():0}beforeDestroy(){this.players.forEach(ne=>{ne.beforeDestroy&&ne.beforeDestroy()})}triggerCallback(ne){const De="start"==ne?this._onStartFns:this._onDoneFns;De.forEach(Ue=>Ue()),De.length=0}}const se="!"},2687:(Pt,Ve,f)=>{"use strict";f.d(Ve,{$s:()=>Ne,Em:()=>qe,Kd:()=>Wt,X6:()=>xe,ic:()=>wt,kH:()=>_i,mK:()=>Bt,qV:()=>lt,qm:()=>Ze,rt:()=>Me,s1:()=>dt,tE:()=>dn,yG:()=>T});var a=f(6895),p=f(4650),C=f(3353),Y=f(7579),e=f(727),ee=f(1135),R=f(9646),ae=f(9521),X=f(8505),W=f(8372),de=f(9300),ce=f(4004),_e=f(5698),ge=f(5684),Re=f(1884),$e=f(2722),fe=f(1281),ue=f(9643),be=f(2289);function De(le,q){return(le.getAttribute(q)||"").match(/\S+/g)||[]}const V="cdk-describedby-message",He="cdk-describedby-host";let Be=0,Ne=(()=>{class le{constructor(Z,Ie){this._platform=Ie,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Be++,this._document=Z,this._id=(0,p.f3M)(p.AFp)+"-"+Be++}describe(Z,Ie,ie){if(!this._canBeDescribed(Z,Ie))return;const we=me(Ie,ie);"string"!=typeof Ie?(Le(Ie,this._id),this._messageRegistry.set(we,{messageElement:Ie,referenceCount:0})):this._messageRegistry.has(we)||this._createMessageElement(Ie,ie),this._isElementDescribedByMessage(Z,we)||this._addMessageReference(Z,we)}removeDescription(Z,Ie,ie){if(!Ie||!this._isElementNode(Z))return;const we=me(Ie,ie);if(this._isElementDescribedByMessage(Z,we)&&this._removeMessageReference(Z,we),"string"==typeof Ie){const Qe=this._messageRegistry.get(we);Qe&&0===Qe.referenceCount&&this._deleteMessageElement(we)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Z=this._document.querySelectorAll(`[${He}="${this._id}"]`);for(let Ie=0;Ie<Z.length;Ie++)this._removeCdkDescribedByReferenceIds(Z[Ie]),Z[Ie].removeAttribute(He);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(Z,Ie){const ie=this._document.createElement("div");Le(ie,this._id),ie.textContent=Z,Ie&&ie.setAttribute("role",Ie),this._createMessagesContainer(),this._messagesContainer.appendChild(ie),this._messageRegistry.set(me(Z,Ie),{messageElement:ie,referenceCount:0})}_deleteMessageElement(Z){this._messageRegistry.get(Z)?.messageElement?.remove(),this._messageRegistry.delete(Z)}_createMessagesContainer(){if(this._messagesContainer)return;const Z="cdk-describedby-message-container",Ie=this._document.querySelectorAll(`.${Z}[platform="server"]`);for(let we=0;we<Ie.length;we++)Ie[we].remove();const ie=this._document.createElement("div");ie.style.visibility="hidden",ie.classList.add(Z),ie.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&ie.setAttribute("platform","server"),this._document.body.appendChild(ie),this._messagesContainer=ie}_removeCdkDescribedByReferenceIds(Z){const Ie=De(Z,"aria-describedby").filter(ie=>0!=ie.indexOf(V));Z.setAttribute("aria-describedby",Ie.join(" "))}_addMessageReference(Z,Ie){const ie=this._messageRegistry.get(Ie);(function j(le,q,Z){const Ie=De(le,q);Ie.some(ie=>ie.trim()==Z.trim())||(Ie.push(Z.trim()),le.setAttribute(q,Ie.join(" ")))})(Z,"aria-describedby",ie.messageElement.id),Z.setAttribute(He,this._id),ie.referenceCount++}_removeMessageReference(Z,Ie){const ie=this._messageRegistry.get(Ie);ie.referenceCount--,function ne(le,q,Z){const ie=De(le,q).filter(we=>we!=Z.trim());ie.length?le.setAttribute(q,ie.join(" ")):le.removeAttribute(q)}(Z,"aria-describedby",ie.messageElement.id),Z.removeAttribute(He)}_isElementDescribedByMessage(Z,Ie){const ie=De(Z,"aria-describedby"),we=this._messageRegistry.get(Ie),Qe=we&&we.messageElement.id;return!!Qe&&-1!=ie.indexOf(Qe)}_canBeDescribed(Z,Ie){if(!this._isElementNode(Z))return!1;if(Ie&&"object"==typeof Ie)return!0;const ie=null==Ie?"":`${Ie}`.trim(),we=Z.getAttribute("aria-label");return!(!ie||we&&we.trim()===ie)}_isElementNode(Z){return Z.nodeType===this._document.ELEMENT_NODE}}return le.\u0275fac=function(Z){return new(Z||le)(p.LFG(a.K0),p.LFG(C.t4))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();function me(le,q){return"string"==typeof le?`${q||""}/${le}`:le}function Le(le,q){le.id||(le.id=`${V}-${q}-${Be++}`)}class ze{constructor(q){this._items=q,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Y.x,this._typeaheadSub
1scription=e.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=Z=>Z.disabled,this._pressedLetters=[],this.tabOut=new Y.x,this.change=new Y.x,q instanceof p.n_E&&(this._itemChangesSubscription=q.changes.subscribe(Z=>{if(this._activeItem){const ie=Z.toArray().indexOf(this._activeItem);ie>-1&&ie!==this._activeItemIndex&&(this._activeItemIndex=ie)}}))}skipPredicate(q){return this._skipPredicateFn=q,this}withWrap(q=!0){return this._wrap=q,this}withVerticalOrientation(q=!0){return this._vertical=q,this}withHorizontalOrientation(q){return this._horizontal=q,this}withAllowedModifierKeys(q){return this._allowedModifierKeys=q,this}withTypeAhead(q=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,X.b)(Z=>this._pressedLetters.push(Z)),(0,W.b)(q),(0,de.h)(()=>this._pressedLetters.length>0),(0,ce.U)(()=>this._pressedLetters.join(""))).subscribe(Z=>{const Ie=this._getItemsArray();for(let ie=1;ie<Ie.length+1;ie++){const we=(this._activeItemIndex+ie)%Ie.length,Qe=Ie[we];if(!this._skipPredicateFn(Qe)&&0===Qe.getLabel().toUpperCase().trim().indexOf(Z)){this.setActiveItem(we);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(q=!0){return this._homeAndEnd=q,this}withPageUpDown(q=!0,Z=10){return this._pageUpAndDown={enabled:q,delta:Z},this}setActiveItem(q){const Z=this._activeItem;this.updateActiveItem(q),this._activeItem!==Z&&this.change.next(this._activeItemIndex)}onKeydown(q){const Z=q.keyCode,ie=["altKey","ctrlKey","metaKey","shiftKey"].every(we=>!q[we]||this._allowedModifierKeys.indexOf(we)>-1);switch(Z){case ae.Mf:return void this.tabOut.next();case ae.JH:if(this._vertical&&ie){this.setNextItemActive();break}return;case ae.LH:if(this._vertical&&ie){this.setPreviousItemActive();break}return;case ae.SV:if(this._horizontal&&ie){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case ae.oh:if(this._horizontal&&ie){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case ae.Sd:if(this._homeAndEnd&&ie){this.setFirstItemActive();break}return;case ae.uR:if(this._homeAndEnd&&ie){this.setLastItemActive();break}return;case ae.Ku:if(this._pageUpAndDown.enabled&&ie){const we=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(we>0?we:0,1);break}return;case ae.VM:if(this._pageUpAndDown.enabled&&ie){const we=this._activeItemIndex+this._pageUpAndDown.delta,Qe=this._getItemsArray().length;this._setActiveItemByIndex(we<Qe?we:Qe-1,-1);break}return;default:return void((ie||(0,ae.Vb)(q,"shiftKey"))&&(q.key&&1===q.key.length?this._letterKeyStream.next(q.key.toLocaleUpperCase()):(Z>=ae.A&&Z<=ae.Z||Z>=ae.xE&&Z<=ae.aO)&&this._letterKeyStream.next(String.fromCharCode(Z))))}this._pressedLetters=[],q.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(q){const Z=this._getItemsArray(),Ie="number"==typeof q?q:Z.indexOf(q);this._activeItem=Z[Ie]??null,this._activeItemIndex=Ie}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(q){this._wrap?this._setActiveInWrapMode(q):this._setActiveInDefaultMode(q)}_setActiveInWrapMode(q){const Z=this._getItemsArray();for(let Ie=1;Ie<=Z.length;Ie++){const ie=(this._activeItemIndex+q*Ie+Z.length)%Z.length;if(!this._skipPredicateFn(Z[ie]))return void this.setActiveItem(ie)}}_setActiveInDefaultMode(q){this._setActiveItemByIndex(this._activeItemIndex+q,q)}_setActiveItemByIndex(q,Z){const Ie=this._getItemsArray();if(Ie[q]){for(;this._skipPredicateFn(Ie[q]);)if(!Ie[q+=Z])return;this.setActiveItem(q)}}_getItemsArray(){return this._items instanceof p.n_E?this._items.toArray():this._items}}class dt extends ze{setActiveItem(q){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(q),this.activeItem&&this.activeItem.setActiveStyles()}}class qe extends ze{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(q){return this._origin=q,this}setActiveItem(q){super.setActiveItem(q),this.activeItem&&this.activeItem.focus(this._origin)}}let wt=(()=>{class le{constructor(Z){this._platform=Z}isDisabled(Z){return Z.hasAttribute("disabled")}isVisible(Z){return function Lt(le){return!!(le.offsetWidth||le.offsetHeight||"function"==typeof le.getClientRects&&le.getClientRects().length)}(Z)&&"visible"===getComputedStyle(Z).visibility}
1isTabbable(Z){if(!this._platform.isBrowser)return!1;const Ie=function Yt(le){try{return le.frameElement}catch{return null}}(function Xe(le){return le.ownerDocument&&le.ownerDocument.defaultView||window}(Z));if(Ie&&(-1===$(Ie)||!this.isVisible(Ie)))return!1;let ie=Z.nodeName.toLowerCase(),we=$(Z);return Z.hasAttribute("contenteditable")?-1!==we:!("iframe"===ie||"object"===ie||this._platform.WEBKIT&&this._platform.IOS&&!function ve(le){let q=le.nodeName.toLowerCase(),Z="input"===q&&le.type;return"text"===Z||"password"===Z||"select"===q||"textarea"===q}(Z))&&("audio"===ie?!!Z.hasAttribute("controls")&&-1!==we:"video"===ie?-1!==we&&(null!==we||this._platform.FIREFOX||Z.hasAttribute("controls")):Z.tabIndex>=0)}isFocusable(Z,Ie){return function pe(le){return!function It(le){return function je(le){return"input"==le.nodeName.toLowerCase()}(le)&&"hidden"==le.type}(le)&&(function ft(le){let q=le.nodeName.toLowerCase();return"input"===q||"select"===q||"button"===q||"textarea"===q}(le)||function Ge(le){return function Ft(le){return"a"==le.nodeName.toLowerCase()}(le)&&le.hasAttribute("href")}(le)||le.hasAttribute("contenteditable")||B(le))}(Z)&&!this.isDisabled(Z)&&(Ie?.ignoreVisibility||this.isVisible(Z))}}return le.\u0275fac=function(Z){return new(Z||le)(p.LFG(C.t4))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();function B(le){if(!le.hasAttribute("tabindex")||void 0===le.tabIndex)return!1;let q=le.getAttribute("tabindex");return!(!q||isNaN(parseInt(q,10)))}function $(le){if(!B(le))return null;const q=parseInt(le.getAttribute("tabindex")||"",10);return isNaN(q)?-1:q}class st{constructor(q,Z,Ie,ie,we=!1){this._element=q,this._checker=Z,this._ngZone=Ie,this._document=ie,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,we||this.attachAnchors()}get enabled(){return this._enabled}set enabled(q){this._enabled=q,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(q,this._startAnchor),this._toggleAnchorTabIndex(q,this._endAnchor))}destroy(){const q=this._startAnchor,Z=this._endAnchor;q&&(q.removeEventListener("focus",this.startAnchorListener),q.remove()),Z&&(Z.removeEventListener("focus",this.endAnchorListener),Z.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(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(q){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusInitialElement(q)))})}focusFirstTabbableElementWhenReady(q){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusFirstTabbableElement(q)))})}focusLastTabbableElementWhenReady(q){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusLastTabbableElement(q)))})}_getRegionBoundary(q){const Z=this._element.querySelectorAll(`[cdk-focus-region-${q}], [cdkFocusRegion${q}], [cdk-focus-${q}]`);return"start"==q?Z.length?Z[0]:this._getFirstTabbableElement(this._element):Z.length?Z[Z.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(q){const Z=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Z){if(!this._checker.isFocusable(Z)){const Ie=this._getFirstTabbableElement(Z);return Ie?.focus(q),!!Ie}return Z.focus(q),!0}return this.focusFirstTabbableElement(q)}focusFirstTabbableElement(q){const Z=this._getRegionBoundary("start");return Z&&Z.focus(q),!!Z}focusLastTabbableElement(q){const Z=this._getRegionBoundary("end");return Z&&Z.focus(q),!!Z}hasAttached(){return this._hasAttached}_getFirstTabbableElement(q){if(this._checker.isFocusable(q)&&this._checker.isTabbable(q))return q;const Z=q.children;for(let Ie=0;Ie<Z.length;Ie++){const ie=Z[Ie].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Z[Ie]):null;if(ie)return ie}return null}_getLastTabbableElement(q){if(this._checker.isFocusable(q)&&this._checker.isTabbable(q))return q;const Z=q.children;for(let Ie=Z.length-1;Ie>=0;Ie--){const ie=Z[Ie].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Z[Ie]):null;if(ie)return ie}return null}_createAnchor(){const q=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,q),q.classList.add("cdk-visually-hidden"),q.classList.add("cdk-focus-trap-anchor"),q.setAttribute("aria-hidden","true"),q}_toggleAnchorTabIndex(q,Z){q?Z.setAttribute("tabindex","0"):Z.removeAttribute("tabindex")}toggleAnchors(q){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(q,this._startAnchor),this._toggleAnchorTabIndex(q,this._endAnchor))}_executeOnStable(q){this._ngZone.isStable?q():this._ngZone.onStable.pipe((0,_e.q)(1)).subscribe(q)}}let lt=(()=>{class le{constructor(Z,Ie,ie){this._checker=Z,this._ngZone=Ie,this._document=ie}create(Z,Ie=!1){return new st(Z,this._checker,this._ngZone,this._document,Ie)}}return le.\u0275fac=function(Z){return new(Z||le)(p.LFG(wt),p.LFG(p.R0b),p.LFG(a.K0))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})(),Bt=(()=>{class le{constructor(Z,Ie,ie){this._elementRef=Z,this._focusTrapFactory=Ie,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(Z){this.focusTrap.enabled=(0,fe.Ig)(Z)}get autoCapture(){return this._autoCapture}set autoCapture(Z){this._autoCapture=(0,fe.Ig)(Z)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(Z){const Ie=Z.autoCapture;Ie&&!Ie.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,C.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return le.\u0275fac=function(Z){return new(Z||le)(p.Y36(p.SBq),p.Y36(lt),p.Y36(a.K0))},le.\u0275dir=p.lG2({type:le,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[p.TTD]}),le})();function xe(le){return 0===le.buttons||0===le.offsetX&&0===le.offsetY}function T(le){const q=le.touches&&le.touches[0]||le.changedTouches&&le.changedTouches[0];
1return!(!q||-1!==q.identifier||null!=q.radiusX&&1!==q.radiusX||null!=q.radiusY&&1!==q.radiusY)}const re=new p.OlP("cdk-input-modality-detector-options"),Oe={ignoreKeys:[ae.zL,ae.jx,ae.b2,ae.MW,ae.JU]},vt=(0,C.i$)({passive:!0,capture:!0});let Rt=(()=>{class le{constructor(Z,Ie,ie,we){this._platform=Z,this._mostRecentTarget=null,this._modality=new ee.X(null),this._lastTouchMs=0,this._onKeydown=Qe=>{this._options?.ignoreKeys?.some(Ct=>Ct===Qe.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,C.sA)(Qe))},this._onMousedown=Qe=>{Date.now()-this._lastTouchMs<650||(this._modality.next(xe(Qe)?"keyboard":"mouse"),this._mostRecentTarget=(0,C.sA)(Qe))},this._onTouchstart=Qe=>{T(Qe)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,C.sA)(Qe))},this._options={...Oe,...we},this.modalityDetected=this._modality.pipe((0,ge.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Re.x)()),Z.isBrowser&&Ie.runOutsideAngular(()=>{ie.addEventListener("keydown",this._onKeydown,vt),ie.addEventListener("mousedown",this._onMousedown,vt),ie.addEventListener("touchstart",this._onTouchstart,vt)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,vt),document.removeEventListener("mousedown",this._onMousedown,vt),document.removeEventListener("touchstart",this._onTouchstart,vt))}}return le.\u0275fac=function(Z){return new(Z||le)(p.LFG(C.t4),p.LFG(p.R0b),p.LFG(a.K0),p.LFG(re,8))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();const Vt=new p.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Gt(){return null}}),Zt=new p.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ut=0,Wt=(()=>{class le{constructor(Z,Ie,ie,we){this._ngZone=Ie,this._defaultOptions=we,this._document=ie,this._liveElement=Z||this._createLiveElement()}announce(Z,...Ie){const ie=this._defaultOptions;let we,Qe;return 1===Ie.length&&"number"==typeof Ie[0]?Qe=Ie[0]:[we,Qe]=Ie,this.clear(),clearTimeout(this._previousTimeout),we||(we=ie&&ie.politeness?ie.politeness:"polite"),null==Qe&&ie&&(Qe=ie.duration),this._liveElement.setAttribute("aria-live",we),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Ct=>this._currentResolve=Ct)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Z,"number"==typeof Qe&&(this._previousTimeout=setTimeout(()=>this.clear(),Qe)),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(){const Z="cdk-live-announcer-element",Ie=this._document.getElementsByClassName(Z),ie=this._document.createElement("div");for(let we=0;we<Ie.length;we++)Ie[we].remove();return ie.classList.add(Z),ie.classList.add("cdk-visually-hidden"),ie.setAttribute("aria-atomic","true"),ie.setAttribute("aria-live","polite"),ie.id="cdk-live-announcer-"+ut++,this._document.body.appendChild(ie),ie}_exposeAnnouncerToModals(Z){const Ie=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let ie=0;ie<Ie.length;ie++){const we=Ie[ie],Qe=we.getAttribute("aria-owns");Qe?-1===Qe.indexOf(Z)&&we.setAttribute("aria-owns",Qe+" "+Z):we.setAttribute("aria-owns",Z)}}}return le.\u0275fac=function(Z){return new(Z||le)(p.LFG(Vt,8),p.LFG(p.R0b),p.LFG(a.K0),p.LFG(Zt,8))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();const Ot=new p.OlP("cdk-focus-monitor-default-options"),fn=(0,C.i$)({passive:!0,capture:!0});let dn=(()=>{class le{constructor(Z,Ie,ie,we,Qe){this._ngZone=Z,this._platform=Ie,this._inputModalityDetector=ie,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Y.x,this._rootNodeFocusAndBlurListener=Ct=>{for(let sn=(0,C.sA)(Ct);sn;sn=sn.parentElement)"focus"===Ct.type?this._onFocus(Ct,sn):this._onBlur(Ct,sn)},this._document=we,this._detectionMode=Qe?.detectionMode||0}monitor(Z,Ie=!1){const ie=(0,fe.fI)(Z);if(!this._platform.isBrowser||1!==ie.nodeType)return(0,R.of)(null);const we=(0,C.kV)(ie)||this._getDocument(),Qe=this._elementInfo.get(ie);if(Qe)return Ie&&(Qe.checkChildren=!0),Qe.subject;
1const Ct={checkChildren:Ie,subject:new Y.x,rootNode:we};return this._elementInfo.set(ie,Ct),this._registerGlobalListeners(Ct),Ct.subject}stopMonitoring(Z){const Ie=(0,fe.fI)(Z),ie=this._elementInfo.get(Ie);ie&&(ie.subject.complete(),this._setClasses(Ie),this._elementInfo.delete(Ie),this._removeGlobalListeners(ie))}focusVia(Z,Ie,ie){const we=(0,fe.fI)(Z);we===this._getDocument().activeElement?this._getClosestElementsInfo(we).forEach(([Ct,mt])=>this._originChanged(Ct,Ie,mt)):(this._setOrigin(Ie),"function"==typeof we.focus&&we.focus(ie))}ngOnDestroy(){this._elementInfo.forEach((Z,Ie)=>this.stopMonitoring(Ie))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Z){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Z)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Z&&this._isLastInteractionFromInputLabel(Z)?"mouse":"program"}_shouldBeAttributedToTouch(Z){return 1===this._detectionMode||!!Z?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Z,Ie){Z.classList.toggle("cdk-focused",!!Ie),Z.classList.toggle("cdk-touch-focused","touch"===Ie),Z.classList.toggle("cdk-keyboard-focused","keyboard"===Ie),Z.classList.toggle("cdk-mouse-focused","mouse"===Ie),Z.classList.toggle("cdk-program-focused","program"===Ie)}_setOrigin(Z,Ie=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Z,this._originFromTouchInteraction="touch"===Z&&Ie,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Z,Ie){const ie=this._elementInfo.get(Ie),we=(0,C.sA)(Z);!ie||!ie.checkChildren&&Ie!==we||this._originChanged(Ie,this._getFocusOrigin(we),ie)}_onBlur(Z,Ie){const ie=this._elementInfo.get(Ie);!ie||ie.checkChildren&&Z.relatedTarget instanceof Node&&Ie.contains(Z.relatedTarget)||(this._setClasses(Ie),this._emitOrigin(ie,null))}_emitOrigin(Z,Ie){Z.subject.observers.length&&this._ngZone.run(()=>Z.subject.next(Ie))}_registerGlobalListeners(Z){if(!this._platform.isBrowser)return;const Ie=Z.rootNode,ie=this._rootNodeFocusListenerCount.get(Ie)||0;ie||this._ngZone.runOutsideAngular(()=>{Ie.addEventListener("focus",this._rootNodeFocusAndBlurListener,fn),Ie.addEventListener("blur",this._rootNodeFocusAndBlurListener,fn)}),this._rootNodeFocusListenerCount.set(Ie,ie+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,$e.R)(this._stopInputModalityDetector)).subscribe(we=>{this._setOrigin(we,!0)}))}_removeGlobalListeners(Z){const Ie=Z.rootNode;if(this._rootNodeFocusListenerCount.has(Ie)){const ie=this._rootNodeFocusListenerCount.get(Ie);ie>1?this._rootNodeFocusListenerCount.set(Ie,ie-1):(Ie.removeEventListener("focus",this._rootNodeFocusAndBlurListener,fn),Ie.removeEventListener("blur",this._rootNodeFocusAndBlurListener,fn),this._rootNodeFocusListenerCount.delete(Ie))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Z,Ie,ie){this._setClasses(Z,Ie),this._emitOrigin(ie,Ie),this._lastFocusOrigin=Ie}_getClosestElementsInfo(Z){const Ie=[];return this._elementInfo.forEach((ie,we)=>{(we===Z||ie.checkChildren&&we.contains(Z))&&Ie.push([we,ie])}),Ie}_isLastInteractionFromInputLabel(Z){const{_mostRecentTarget:Ie,mostRecentModality:ie}=this._inputModalityDetector;if("mouse"!==ie||!Ie||Ie===Z||"INPUT"!==Z.nodeName&&"TEXTAREA"!==Z.nodeName||Z.disabled)return!1;const we=Z.labels;if(we)for(let Qe=0;Qe<we.length;Qe++)if(we[Qe].contains(Ie))return!0;return!1}}return le.\u0275fac=function(Z){return new(Z||le)(p.LFG(p.R0b),p.LFG(C.t4),p.LFG(Rt),p.LFG(a.K0,8),p.LFG(Ot,8))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})(),_i=(()=>{class le{constructor(Z,Ie){this._elementRef=Z,this._focusMonitor=Ie,this._focusOrigin=null,this.cdkFocusChange=new p.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Z=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Z,1===Z.nodeType&&Z.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Ie=>{this._focusOrigin=Ie,this.cdkFocusChange.emit(Ie)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return le.\u0275fac=function(Z){return new(Z||le)(p.Y36(p.SBq),p.Y36(dn))},le.\u0275dir=p.lG2({type:le,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),le})();const En="cdk-high-contrast-black-on-white",Vn="cdk-high-contrast-white-on-black",kt="cdk-high-contrast-active";let Ze=(()=>{class le{constructor(Z,Ie){this._platform=Z,this._document=Ie,this._breakpointSubscription=(0,p.f3M)(be.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasse
1s())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Z=this._document.createElement("div");Z.style.backgroundColor="rgb(1,2,3)",Z.style.position="absolute",this._document.body.appendChild(Z);const Ie=this._document.defaultView||window,ie=Ie&&Ie.getComputedStyle?Ie.getComputedStyle(Z):null,we=(ie&&ie.backgroundColor||"").replace(/ /g,"");switch(Z.remove(),we){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Z=this._document.body.classList;Z.remove(kt,En,Vn),this._hasCheckedHighContrastMode=!0;const Ie=this.getHighContrastMode();1===Ie?Z.add(kt,En):2===Ie&&Z.add(kt,Vn)}}}return le.\u0275fac=function(Z){return new(Z||le)(p.LFG(C.t4),p.LFG(a.K0))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})(),Me=(()=>{class le{constructor(Z){Z._applyBodyHighContrastModeCssClasses()}}return le.\u0275fac=function(Z){return new(Z||le)(p.LFG(Ze))},le.\u0275mod=p.oAB({type:le}),le.\u0275inj=p.cJS({imports:[ue.Q8]}),le})()},445:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Is:()=>R,vT:()=>X});var a=f(4650),p=f(6895);const C=new a.OlP("cdk-dir-doc",{providedIn:"root",factory:function Y(){return(0,a.f3M)(p.K0)}}),e=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let R=(()=>{class W{constructor(ce){if(this.value="ltr",this.change=new a.vpe,ce){const ge=ce.documentElement?ce.documentElement.dir:null;this.value=function ee(W){const de=W?.toLowerCase()||"";return"auto"===de&&typeof navigator<"u"&&navigator?.language?e.test(navigator.language)?"rtl":"ltr":"rtl"===de?"rtl":"ltr"}((ce.body?ce.body.dir:null)||ge||"ltr")}}ngOnDestroy(){this.change.complete()}}return W.\u0275fac=function(ce){return new(ce||W)(a.LFG(C,8))},W.\u0275prov=a.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),X=(()=>{class W{}return W.\u0275fac=function(ce){return new(ce||W)},W.\u0275mod=a.oAB({type:W}),W.\u0275inj=a.cJS({}),W})()},1281:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Eq:()=>e,HM:()=>ee,Ig:()=>p,du:()=>ae,fI:()=>R,su:()=>C,t6:()=>Y});var a=f(4650);function p(X){return null!=X&&"false"!=`${X}`}function C(X,W=0){return Y(X)?Number(X):W}function Y(X){return!isNaN(parseFloat(X))&&!isNaN(Number(X))}function e(X){return Array.isArray(X)?X:[X]}function ee(X){return null==X?"":"string"==typeof X?X:`${X}px`}function R(X){return X instanceof a.SBq?X.nativeElement:X}function ae(X,W=/\s+/){const de=[];if(null!=X){const ce=Array.isArray(X)?X:`${X}`.split(W);for(const _e of ce){const ge=`${_e}`.trim();ge&&de.push(ge)}}return de}},5017:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Ov:()=>X,Z9:()=>e,eX:()=>ae,k:()=>ce,o2:()=>Y,yy:()=>R});var a=f(4033),p=f(7579),C=f(4650);class Y{}function e(_e){return _e&&"function"==typeof _e.connect&&!(_e instanceof a.c)}class R{applyChanges(ge,Re,$e,fe,ue){ge.forEachOperation((be,se,j)=>{let ne,De;if(null==be.previousIndex){const Ue=$e(be,se,j);ne=Re.createEmbeddedView(Ue.templateRef,Ue.context,Ue.index),De=1}else null==j?(Re.remove(se),De=3):(ne=Re.get(se),Re.move(ne,j),De=2);ue&&ue({context:ne?.context,operation:De,record:be})})}detach(){}}class ae{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(ge,Re,$e,fe,ue){ge.forEachOperation((be,se,j)=>{let ne,De;null==be.previousIndex?(ne=this._insertView(()=>$e(be,se,j),j,Re,fe(be)),De=ne?1:0):null==j?(this._detachAndCacheView(se,Re),De=3):(ne=this._moveView(se,j,Re,fe(be)),De=2),ue&&ue({context:ne?.context,operation:De,record:be})})}detach(){for(const ge of this._viewCache)ge.destroy();this._viewCache=[]}_insertView(ge,Re,$e,fe){const ue=this._insertViewFromCache(Re,$e);if(ue)return void(ue.context.$implicit=fe);const be=ge();return $e.createEmbeddedView(be.templateRef,be.context,be.index)}_detachAndCacheView(ge,Re){const $e=Re.detach(ge);this._maybeCacheView($e,Re)}_moveView(ge,Re,$e,fe){const ue=$e.get(ge);return $e.move(ue,Re),ue.context.$implicit=fe,ue}_maybeCacheView(ge,Re){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(ge);else{const $e=Re.indexOf(ge);-1===$e?ge.destroy():Re.remove($e)}}_insertViewFromCache(ge,Re){const $e=this._viewCache.pop();return $e&&Re.insert($e,ge),$e||null}}class X{constructor(ge=!1,Re,$e=!0,fe){this._multiple=ge,this._emitChanges=$e,this.compareWith=fe,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new p.x,Re&&Re.length&&(ge?Re.forEach(ue=>this._markSelected(ue)):this._markSelected(Re[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())
1),this._selected}select(...ge){this._verifyValueAssignment(ge),ge.forEach($e=>this._markSelected($e));const Re=this._hasQueuedChanges();return this._emitChangeEvent(),Re}deselect(...ge){this._verifyValueAssignment(ge),ge.forEach($e=>this._unmarkSelected($e));const Re=this._hasQueuedChanges();return this._emitChangeEvent(),Re}setSelection(...ge){this._verifyValueAssignment(ge);const Re=this.selected,$e=new Set(ge);ge.forEach(ue=>this._markSelected(ue)),Re.filter(ue=>!$e.has(ue)).forEach(ue=>this._unmarkSelected(ue));const fe=this._hasQueuedChanges();return this._emitChangeEvent(),fe}toggle(ge){return this.isSelected(ge)?this.deselect(ge):this.select(ge)}clear(ge=!0){this._unmarkAll();const Re=this._hasQueuedChanges();return ge&&this._emitChangeEvent(),Re}isSelected(ge){if(this.compareWith){for(const Re of this._selection)if(this.compareWith(Re,ge))return!0;return!1}return this._selection.has(ge)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(ge){this._multiple&&this.selected&&this._selected.sort(ge)}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(ge){this.isSelected(ge)||(this._multiple||this._unmarkAll(),this.isSelected(ge)||this._selection.add(ge),this._emitChanges&&this._selectedToEmit.push(ge))}_unmarkSelected(ge){this.isSelected(ge)&&(this._selection.delete(ge),this._emitChanges&&this._deselectedToEmit.push(ge))}_unmarkAll(){this.isEmpty()||this._selection.forEach(ge=>this._unmarkSelected(ge))}_verifyValueAssignment(ge){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}const ce=new C.OlP("_ViewRepeater")},7855:(Pt,Ve,f)=>{"use strict";f.d(Ve,{LL:()=>$e,Su:()=>He,Vq:()=>Ue,ib:()=>ge});var a=f(2687),p=f(8184),C=f(3353),Y=f(4080),e=f(6895),ee=f(4650),R=f(9521),ae=f(7579),X=f(9770),W=f(9646),de=f(445),ce=f(8675);function _e(Be,Ne){}class ge{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let $e=(()=>{class Be extends Y.en{constructor(me,Le,ze,dt,qe,Mt,wt,Yt){super(),this._elementRef=me,this._focusTrapFactory=Le,this._config=dt,this._interactivityChecker=qe,this._ngZone=Mt,this._overlayRef=wt,this._focusMonitor=Yt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Lt=>{this._portalOutlet.hasAttached();const ft=this._portalOutlet.attachDomPortal(Lt);return this._contentAttached(),ft},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=ze}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(me){this._portalOutlet.hasAttached();const Le=this._portalOutlet.attachComponentPortal(me);return this._contentAttached(),Le}attachTemplatePortal(me){this._portalOutlet.hasAttached();const Le=this._portalOutlet.attachTemplatePortal(me);return this._contentAttached(),Le}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(me,Le){this._interactivityChecker.isFocusable(me)||(me.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ze=()=>{me.removeEventListener("blur",ze),me.removeEventListener("mousedown",ze),me.removeAttribute("tabindex")};me.addEventListener("blur",ze),me.addEventListener("mousedown",ze)})),me.focus(Le)}_focusByCssSelector(me,Le){let ze=this._elementRef.nativeElement.querySelector(me);ze&&this._forceFocus(ze,Le)}_trapFocus(){const me=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||me.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Le=>{Le||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const me=this._config.restoreFocus;let Le=null;if("string"==typeof me?Le=this._document.querySelector(me):"boolean"==typeof me?Le=me?this._elementFocusedBeforeDialogWasOpened:null:me&&(Le=me),this._config.restoreFocus&&Le&&"function"==typeof Le.focu
1s){const ze=(0,C.ht)(),dt=this._elementRef.nativeElement;(!ze||ze===this._document.body||ze===dt||dt.contains(ze))&&(this._focusMonitor?(this._focusMonitor.focusVia(Le,this._closeInteractionType),this._closeInteractionType=null):Le.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const me=this._elementRef.nativeElement,Le=(0,C.ht)();return me===Le||me.contains(Le)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,C.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return Be.\u0275fac=function(me){return new(me||Be)(ee.Y36(ee.SBq),ee.Y36(a.qV),ee.Y36(e.K0,8),ee.Y36(ge),ee.Y36(a.ic),ee.Y36(ee.R0b),ee.Y36(p.Iu),ee.Y36(a.tE))},Be.\u0275cmp=ee.Xpm({type:Be,selectors:[["cdk-dialog-container"]],viewQuery:function(me,Le){if(1&me&&ee.Gf(Y.Pl,7),2&me){let ze;ee.iGM(ze=ee.CRH())&&(Le._portalOutlet=ze.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(me,Le){2&me&&ee.uIk("id",Le._config.id||null)("role",Le._config.role)("aria-modal",Le._config.ariaModal)("aria-labelledby",Le._config.ariaLabel?null:Le._ariaLabelledBy)("aria-label",Le._config.ariaLabel)("aria-describedby",Le._config.ariaDescribedBy||null)},features:[ee.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(me,Le){1&me&&ee.YNc(0,_e,0,0,"ng-template",0)},dependencies:[Y.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),Be})();class fe{constructor(Ne,me){this.overlayRef=Ne,this.config=me,this.closed=new ae.x,this.disableClose=me.disableClose,this.backdropClick=Ne.backdropClick(),this.keydownEvents=Ne.keydownEvents(),this.outsidePointerEvents=Ne.outsidePointerEvents(),this.id=me.id,this.keydownEvents.subscribe(Le=>{Le.keyCode===R.hY&&!this.disableClose&&!(0,R.Vb)(Le)&&(Le.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(Ne,me){if(this.containerInstance){const Le=this.closed;this.containerInstance._closeInteractionType=me?.focusOrigin||"program",this.overlayRef.dispose(),Le.next(Ne),Le.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Ne="",me=""){return this.overlayRef.updateSize({width:Ne,height:me}),this}addPanelClass(Ne){return this.overlayRef.addPanelClass(Ne),this}removePanelClass(Ne){return this.overlayRef.removePanelClass(Ne),this}}const ue=new ee.OlP("DialogScrollStrategy"),be=new ee.OlP("DialogData"),se=new ee.OlP("DefaultDialogConfig"),ne={provide:ue,deps:[p.aV],useFactory:function j(Be){return()=>Be.scrollStrategies.block()}};let De=0,Ue=(()=>{class Be{constructor(me,Le,ze,dt,qe,Mt){this._overlay=me,this._injector=Le,this._defaultOptions=ze,this._parentDialog=dt,this._overlayContainer=qe,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ae.x,this._afterOpenedAtThisLevel=new ae.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,X.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,ce.O)(void 0))),this._scrollStrategy=Mt}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(me,Le){(Le={...this._defaultOptions||new ge,...Le}).id=Le.id||"cdk-dialog-"+De++,Le.id&&this.getDialogById(Le.id);const dt=this._getOverlayConfig(Le),qe=this._overlay.create(dt),Mt=new fe(qe,Le),wt=this._attachContainer(qe,Mt,Le);return Mt.containerInstance=wt,this._attachDialogContent(me,Mt,wt,Le),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Mt),Mt.closed.subscribe(()=>this._removeOpenDialog(Mt,!0)),this.afterOpened.next(Mt),Mt}closeAll(){V(this.openDialogs,me=>me.close())}getDialogById(me){return this.openDialogs.find(Le=>Le.id===me)}ngOnDestroy(){V(this._openDialogsAtThisLevel,me=>{!1===me.config.closeOnDestroy&&this._removeOpenDialog(me,!1)}),V(this._openDialogsAtThisLevel,me=>me.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(me){const Le=new p.X_({positionStrategy:me.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:me.scrollStrategy||this._scrollStrategy(),panelClass:me.panelClass,hasBackdrop:me.hasBackdrop,direction:me.direction,minWidth:me.minWidth,minHeight:me.minHeight,maxWidth:me.maxWidth,maxHeight:me.maxHeight,width:me.width,height:me.height,disposeOnNavigation:me.closeOnNavigation});return me.backdropClass&&(Le.backdropClass=me.backdropClass),Le}_attachContainer(me,Le,ze){const dt=ze.injector||ze.viewContainerRef?.injector,qe=[{provide:ge,useValue:ze},{provide:fe,useValue:Le},{provide:p.Iu,useValue:me}];let Mt;ze.container?"function"==typeof ze.container?Mt=ze.container:(Mt=ze.container.type,qe.push(...ze.container.providers(ze))):Mt=$e;const wt=new Y.C5(Mt,ze.viewContainerRef,ee.zs3.create({parent:dt||this._injector,providers:qe}),ze.componentFactoryResolver);return me.attach(wt).instance}_attachDialogContent(me,Le,ze,dt){if(me instanceof ee.Rgc){const qe=this._createInjector(dt,Le,ze,void 0);let Mt={$implicit:dt.data,dialogRef:Le};dt.templateContext&&(Mt={...Mt,..."function"==typeof dt.templateContext?dt.templateContext():dt.templateContext}),ze.attachTemplatePortal(new Y.UE(me,null,Mt,qe))}else{const qe=this._createInjector(dt,Le,ze,this._injector),Mt=ze.attachComponentPortal(new Y.C5(me,dt.viewContainerRef,qe,dt.componentFactoryResolver));Le.componentInstance=Mt.instance}}_createInjector(me,Le,ze,dt){const qe=me.injector||me.viewContainerRef?.injector,Mt=[{provide:be,useValue:me.data},{provide:fe,useValue:Le}];return me.providers&&("function"==typeof me.providers?Mt.push(...me.providers(Le,me,ze)):Mt.push(...me.providers)),me.direction&&(!qe||!qe.get(de.Is,null,{optional:!0}))&&Mt.push({provide:de.Is,useValue:{value:me.direction,change:(0,W.of)()}}),ee.zs3.create({parent:qe||dt,providers:Mt})}_removeOpenDialog(me,Le){const ze=this.openDialogs.indexOf(me);ze>-1&&(this.openDialogs.splice(ze,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
1h((dt,qe)=>{dt?qe.setAttribute("aria-hidden",dt):qe.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Le&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const me=this._overlayContainer.getContainerElement();if(me.parentElement){const Le=me.parentElement.children;for(let ze=Le.length-1;ze>-1;ze--){const dt=Le[ze];dt!==me&&"SCRIPT"!==dt.nodeName&&"STYLE"!==dt.nodeName&&!dt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(dt,dt.getAttribute("aria-hidden")),dt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const me=this._parentDialog;return me?me._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return Be.\u0275fac=function(me){return new(me||Be)(ee.LFG(p.aV),ee.LFG(ee.zs3),ee.LFG(se,8),ee.LFG(Be,12),ee.LFG(p.Xj),ee.LFG(ue))},Be.\u0275prov=ee.Yz7({token:Be,factory:Be.\u0275fac}),Be})();function V(Be,Ne){let me=Be.length;for(;me--;)Ne(Be[me])}let He=(()=>{class Be{}return Be.\u0275fac=function(me){return new(me||Be)},Be.\u0275mod=ee.oAB({type:Be}),Be.\u0275inj=ee.cJS({providers:[Ue,ne],imports:[p.U8,Y.eL,a.rt,Y.eL]}),Be})()},9521:(Pt,Ve,f)=>{"use strict";f.d(Ve,{A:()=>It,JH:()=>se,JU:()=>ee,K5:()=>e,Ku:()=>_e,LH:()=>ue,L_:()=>ce,MW:()=>Zt,Mf:()=>C,SV:()=>be,Sd:()=>$e,VM:()=>ge,Vb:()=>wi,Z:()=>Gt,aO:()=>Mt,b2:()=>si,hY:()=>de,jx:()=>R,oh:()=>fe,uR:()=>Re,xE:()=>V,zL:()=>ae});const C=9,e=13,ee=16,R=17,ae=18,de=27,ce=32,_e=33,ge=34,Re=35,$e=36,fe=37,ue=38,be=39,se=40,V=48,Mt=57,It=65,Gt=90,Zt=91,si=224;function wi(Xn,...Fi){return Fi.length?Fi.some(Ni=>Xn[Ni]):Xn.altKey||Xn.shiftKey||Xn.ctrlKey||Xn.metaKey}},2289:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Yg:()=>se,u3:()=>ne});var a=f(4650),p=f(1281),C=f(7579),Y=f(9841),e=f(7272),ee=f(9751),R=f(5698),ae=f(5684),X=f(8372),W=f(4004),de=f(8675),ce=f(2722),_e=f(3353);const Re=new Set;let $e,fe=(()=>{class De{constructor(V){this._platform=V,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):be}matchMedia(V){return(this._platform.WEBKIT||this._platform.BLINK)&&function ue(De){if(!Re.has(De))try{$e||($e=document.createElement("style"),$e.setAttribute("type","text/css"),document.head.appendChild($e)),$e.sheet&&($e.sheet.insertRule(`@media ${De} {body{ }}`,0),Re.add(De))}catch(Ue){console.error(Ue)}}(V),this._matchMedia(V)}}return De.\u0275fac=function(V){return new(V||De)(a.LFG(_e.t4))},De.\u0275prov=a.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();function be(De){return{matches:"all"===De||""===De,media:De,addListener:()=>{},removeListener:()=>{}}}let se=(()=>{class De{constructor(V,He){this._mediaMatcher=V,this._zone=He,this._queries=new Map,this._destroySubject=new C.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(V){return j((0,p.Eq)(V)).some(Be=>this._registerQuery(Be).mql.matches)}observe(V){const Be=j((0,p.Eq)(V)).map(me=>this._registerQuery(me).observable);let Ne=(0,Y.a)(Be);return Ne=(0,e.z)(Ne.pipe((0,R.q)(1)),Ne.pipe((0,ae.T)(1),(0,X.b)(0))),Ne.pipe((0,W.U)(me=>{const Le={matches:!1,breakpoints:{}};return me.forEach(({matches:ze,query:dt})=>{Le.matches=Le.matches||ze,Le.breakpoints[dt]=ze}),Le}))}_registerQuery(V){if(this._queries.has(V))return this._queries.get(V);const He=this._mediaMatcher.matchMedia(V),Ne={observable:new ee.y(me=>{const Le=ze=>this._zone.run(()=>me.next(ze));return He.addListener(Le),()=>{He.removeListener(Le)}}).pipe((0,de.O)(He),(0,W.U)(({matches:me})=>({query:V,matches:me})),(0,ce.R)(this._destroySubject)),mql:He};return this._queries.set(V,Ne),Ne}}return De.\u0275fac=function(V){return new(V||De)(a.LFG(fe),a.LFG(a.R0b))},De.\u0275prov=a.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();function j(De){return De.map(Ue=>Ue.split(",")).reduce((Ue,V)=>Ue.concat(V)).map(Ue=>Ue.trim())}const ne={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)"}},9643:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Q8:()=>X,wD:()=>ae});var a=f(1281),p=f(4650),C=f(9751),Y=f(7579),e=f(8372);let ee=(()=>{class W{create(ce){return typeof MutationObserver>"u"?null:new MutationObserver(ce)}}return W.\u0275fac=function(ce){return new(ce||W)},W.\u0275prov=p.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),R=(()=>{class W{constructor(ce){this._mutationObserverFactory=ce,this._observedElements=new Map}
1ngOnDestroy(){this._observedElements.forEach((ce,_e)=>this._cleanupObserver(_e))}observe(ce){const _e=(0,a.fI)(ce);return new C.y(ge=>{const $e=this._observeElement(_e).subscribe(ge);return()=>{$e.unsubscribe(),this._unobserveElement(_e)}})}_observeElement(ce){if(this._observedElements.has(ce))this._observedElements.get(ce).count++;else{const _e=new Y.x,ge=this._mutationObserverFactory.create(Re=>_e.next(Re));ge&&ge.observe(ce,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(ce,{observer:ge,stream:_e,count:1})}return this._observedElements.get(ce).stream}_unobserveElement(ce){this._observedElements.has(ce)&&(this._observedElements.get(ce).count--,this._observedElements.get(ce).count||this._cleanupObserver(ce))}_cleanupObserver(ce){if(this._observedElements.has(ce)){const{observer:_e,stream:ge}=this._observedElements.get(ce);_e&&_e.disconnect(),ge.complete(),this._observedElements.delete(ce)}}}return W.\u0275fac=function(ce){return new(ce||W)(p.LFG(ee))},W.\u0275prov=p.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),ae=(()=>{class W{constructor(ce,_e,ge){this._contentObserver=ce,this._elementRef=_e,this._ngZone=ge,this.event=new p.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(ce){this._disabled=(0,a.Ig)(ce),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(ce){this._debounce=(0,a.su)(ce),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const ce=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?ce.pipe((0,e.b)(this.debounce)):ce).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return W.\u0275fac=function(ce){return new(ce||W)(p.Y36(R),p.Y36(p.SBq),p.Y36(p.R0b))},W.\u0275dir=p.lG2({type:W,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),W})(),X=(()=>{class W{}return W.\u0275fac=function(ce){return new(ce||W)},W.\u0275mod=p.oAB({type:W}),W.\u0275inj=p.cJS({providers:[ee]}),W})()},8184:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Iu:()=>Mt,U8:()=>z,X_:()=>Ue,Xj:()=>qe,_G:()=>Lt,aV:()=>Xe,pI:()=>at,xu:()=>Bt});var a=f(4098),p=f(6895),C=f(4650),Y=f(1281),e=f(3353),ee=f(445),R=f(4080),ae=f(7579),X=f(727),W=f(6451),de=f(5698),ce=f(2722),_e=f(2529),ge=f(9521);const Re=(0,e.Mq)();class $e{constructor(T,re){this._viewportRuler=T,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=re}attach(){}enable(){if(this._canBeEnabled()){const T=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=T.style.left||"",this._previousHTMLStyles.top=T.style.top||"",T.style.left=(0,Y.HM)(-this._previousScrollPosition.left),T.style.top=(0,Y.HM)(-this._previousScrollPosition.top),T.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const T=this._document.documentElement,Oe=T.style,nt=this._document.body.style,vt=Oe.scrollBehavior||"",Rt=nt.scrollBehavior||"";this._isEnabled=!1,Oe.left=this._previousHTMLStyles.left,Oe.top=this._previousHTMLStyles.top,T.classList.remove("cdk-global-scrollblock"),Re&&(Oe.scrollBehavior=nt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Re&&(Oe.scrollBehavior=vt,nt.scrollBehavior=Rt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const re=this._document.body,Oe=this._viewportRuler.getViewportSize();return re.scrollHeight>Oe.height||re.scrollWidth>Oe.width}}class ue{constructor(T,re,Oe,nt){this._scrollDispatcher=T,this._ngZone=re,this._viewportRuler=Oe,this._config=nt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(T){this._overlayRef=T}enable(){if(this._scrollSubscription)return;const T=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=T.subscribe(()=>{const re=this._viewportRuler.getViewportScrollPosition().top;Math.abs(re-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=T.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class be{enable(){}disable(){}attach(){}}
1function se(xe,T){return T.some(re=>xe.bottom<re.top||xe.top>re.bottom||xe.right<re.left||xe.left>re.right)}function j(xe,T){return T.some(re=>xe.top<re.top||xe.bottom>re.bottom||xe.left<re.left||xe.right>re.right)}class ne{constructor(T,re,Oe,nt){this._scrollDispatcher=T,this._viewportRuler=re,this._ngZone=Oe,this._config=nt,this._scrollSubscription=null}attach(T){this._overlayRef=T}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const re=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Oe,height:nt}=this._viewportRuler.getViewportSize();se(re,[{width:Oe,height:nt,bottom:nt,right:Oe,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}}let De=(()=>{class xe{constructor(re,Oe,nt,vt){this._scrollDispatcher=re,this._viewportRuler=Oe,this._ngZone=nt,this.noop=()=>new be,this.close=Rt=>new ue(this._scrollDispatcher,this._ngZone,this._viewportRuler,Rt),this.block=()=>new $e(this._viewportRuler,this._document),this.reposition=Rt=>new ne(this._scrollDispatcher,this._viewportRuler,this._ngZone,Rt),this._document=vt}}return xe.\u0275fac=function(re){return new(re||xe)(C.LFG(a.mF),C.LFG(a.rL),C.LFG(C.R0b),C.LFG(p.K0))},xe.\u0275prov=C.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})();class Ue{constructor(T){if(this.scrollStrategy=new be,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,T){const re=Object.keys(T);for(const Oe of re)void 0!==T[Oe]&&(this[Oe]=T[Oe])}}}class Be{constructor(T,re){this.connectionPair=T,this.scrollableViewProperties=re}}let Le=(()=>{class xe{constructor(re){this._attachedOverlays=[],this._document=re}ngOnDestroy(){this.detach()}add(re){this.remove(re),this._attachedOverlays.push(re)}remove(re){const Oe=this._attachedOverlays.indexOf(re);Oe>-1&&this._attachedOverlays.splice(Oe,1),0===this._attachedOverlays.length&&this.detach()}}return xe.\u0275fac=function(re){return new(re||xe)(C.LFG(p.K0))},xe.\u0275prov=C.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),ze=(()=>{class xe extends Le{constructor(re,Oe){super(re),this._ngZone=Oe,this._keydownListener=nt=>{const vt=this._attachedOverlays;for(let Rt=vt.length-1;Rt>-1;Rt--)if(vt[Rt]._keydownEvents.observers.length>0){const Vt=vt[Rt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Vt.next(nt)):Vt.next(nt);break}}}add(re){super.add(re),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return xe.\u0275fac=function(re){return new(re||xe)(C.LFG(p.K0),C.LFG(C.R0b,8))},xe.\u0275prov=C.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),dt=(()=>{class xe extends Le{constructor(re,Oe,nt){super(re),this._platform=Oe,this._ngZone=nt,this._cursorStyleIsSet=!1,this._pointerDownListener=vt=>{this._pointerDownEventTarget=(0,e.sA)(vt)},this._clickListener=vt=>{const Rt=(0,e.sA)(vt),Vt="click"===vt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Rt;this._pointerDownEventTarget=null;const Gt=this._attachedOverlays.slice();for(let Zt=Gt.length-1;Zt>-1;Zt--){const ut=Gt[Zt];if(ut._outsidePointerEvents.observers.length<1||!ut.hasAttached())continue;if(ut.overlayElement.contains(Rt)||ut.overlayElement.contains(Vt))break;const Wt=ut._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Wt.next(vt)):Wt.next(vt)}}}add(re){if(super.add(re),!this._isAttached){const Oe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Oe)):this._addEventListeners(Oe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Oe.style.cursor,Oe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const re=this._document.body;re.removeEventListener("pointerdown",this._pointerDownListener,!0),re.removeEventListener("click",this._clickListener,!0),re.removeEventListener("auxclick",this._clickListener,!0),re.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(re.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(re){re.addEventListener("pointerdown",this._pointerDownListener,!0),re.addEventListener("click",this._clickListener,!0),re.addEventListener("auxclick",this._clickListener,!0),re.addEventListener("contextmenu",this._clickListener,!0)}}return xe.\u0275fac=function(re){return new(re||xe)(C.LFG(p.K0),C.LFG(e.t4),C.LFG(C.R0b,8))},xe.\u0275prov=C.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),qe=(()=>{class xe{constructor(re,Oe){this._platform=Oe,this._document=re}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const re="cdk-overlay-container";if(this._platform.isBrowser||(0,e.Oy)()){const nt=this._document.querySelectorAll(`.${re}[platform="server"], .${re}[platform="test"]`);for(let vt=0;vt<nt.length;vt++)nt[vt].remove()}const Oe=this._document.createElement("div");Oe.classList.add(re),(0,e.Oy)()?Oe.setAttribute("platform","test"):this._platform.isBrowser||Oe.setAttribute("platform","server"),this._document.body.appendChild(Oe),this._containerElement=Oe}}return xe.\u0275fac=function(re){return new(re||xe)(C.LFG(p.K0),C.LFG(e.t4))},xe.\u0275prov=C.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})();class Mt{constructor(T,re,Oe,nt,vt,Rt,Vt,Gt,Zt,ut=!1){this._portalOutlet=T,this._host=re,this._pane=Oe,this._config=nt,this._ngZone=vt,this._keyboardDispatcher=Rt,this._document=Vt,this._location=Gt,this._outsideClickDispatcher=Zt,this._animationsDisabled=ut,this._backdropElement=null,this._backdropClick=new ae.x,this._attachments=new ae.x,this._detachments=new ae.x,this._locationChanges=X.w0.EMPTY,this._backdropClickHandler=Wt=>this._backdropClick.next(Wt),this._backdropTransitionendHandler=Wt=>{this._disposeBackdrop(Wt.target)}
1,this._keydownEvents=new ae.x,this._outsidePointerEvents=new ae.x,nt.scrollStrategy&&(this._scrollStrategy=nt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=nt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(T){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const re=this._portalOutlet.attach(T);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,de.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof re?.onDestroy&&re.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),re}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const T=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),T}dispose(){const T=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,T&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(T){T!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=T,this.hasAttached()&&(T.attach(this),this.updatePosition()))}updateSize(T){this._config={...this._config,...T},this._updateElementSize()}setDirection(T){this._config={...this._config,direction:T},this._updateElementDirection()}addPanelClass(T){this._pane&&this._toggleClasses(this._pane,T,!0)}removePanelClass(T){this._pane&&this._toggleClasses(this._pane,T,!1)}getDirection(){const T=this._config.direction;return T?"string"==typeof T?T:T.value:"ltr"}updateScrollStrategy(T){T!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=T,this.hasAttached()&&(T.attach(this),T.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const T=this._pane.style;T.width=(0,Y.HM)(this._config.width),T.height=(0,Y.HM)(this._config.height),T.minWidth=(0,Y.HM)(this._config.minWidth),T.minHeight=(0,Y.HM)(this._config.minHeight),T.maxWidth=(0,Y.HM)(this._config.maxWidth),T.maxHeight=(0,Y.HM)(this._config.maxHeight)}_togglePointerEvents(T){this._pane.style.pointerEvents=T?"":"none"}_attachBackdrop(){const T="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(T)})}):this._backdropElement.classList.add(T)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const T=this._backdropElement;if(T){if(this._animationsDisabled)return void this._disposeBackdrop(T);T.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{T.addEventListener("transitionend",this._backdropTransitionendHandler)}),T.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(T)},500))}}
1_toggleClasses(T,re,Oe){const nt=(0,Y.Eq)(re||[]).filter(vt=>!!vt);nt.length&&(Oe?T.classList.add(...nt):T.classList.remove(...nt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const T=this._ngZone.onStable.pipe((0,ce.R)((0,W.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),T.unsubscribe())})})}_disposeScrollStrategy(){const T=this._scrollStrategy;T&&(T.disable(),T.detach&&T.detach())}_disposeBackdrop(T){T&&(T.removeEventListener("click",this._backdropClickHandler),T.removeEventListener("transitionend",this._backdropTransitionendHandler),T.remove(),this._backdropElement===T&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const wt="cdk-overlay-connected-position-bounding-box",Yt=/([A-Za-z%]+)$/;class Lt{constructor(T,re,Oe,nt,vt){this._viewportRuler=re,this._document=Oe,this._platform=nt,this._overlayContainer=vt,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ae.x,this._resizeSubscription=X.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(T)}get positions(){return this._preferredPositions}attach(T){this._validatePositions(),T.hostElement.classList.add(wt),this._overlayRef=T,this._boundingBox=T.hostElement,this._pane=T.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const T=this._originRect,re=this._overlayRect,Oe=this._viewportRect,nt=this._containerRect,vt=[];let Rt;for(let Vt of this._preferredPositions){let Gt=this._getOriginPoint(T,nt,Vt),Zt=this._getOverlayPoint(Gt,re,Vt),ut=this._getOverlayFit(Zt,re,Oe,Vt);if(ut.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Vt,Gt);this._canFitWithFlexibleDimensions(ut,Zt,Oe)?vt.push({position:Vt,origin:Gt,overlayRect:re,boundingBoxRect:this._calculateBoundingBoxRect(Gt,Vt)}):(!Rt||Rt.overlayFit.visibleArea<ut.visibleArea)&&(Rt={overlayFit:ut,overlayPoint:Zt,originPoint:Gt,position:Vt,overlayRect:re})}if(vt.length){let Vt=null,Gt=-1;for(const Zt of vt){const ut=Zt.boundingBoxRect.width*Zt.boundingBoxRect.height*(Zt.position.weight||1);ut>Gt&&(Gt=ut,Vt=Zt)}return this._isPushed=!1,void this._applyPosition(Vt.position,Vt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Rt.position,Rt.originPoint);this._applyPosition(Rt.position,Rt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ft(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(wt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const T=this._lastPosition;if(T){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const re=this._getOriginPoint(this._originRect,this._containerRect,T);this._applyPosition(T,re)}else this.apply()}withScrollableContainers(T){return this._scrollables=T,this}withPositions(T){return this._preferredPositions=T,-1===T.indexOf(this._lastPosition)&&(this._lastPosition=null),this._val
1idatePositions(),this}withViewportMargin(T){return this._viewportMargin=T,this}withFlexibleDimensions(T=!0){return this._hasFlexibleDimensions=T,this}withGrowAfterOpen(T=!0){return this._growAfterOpen=T,this}withPush(T=!0){return this._canPush=T,this}withLockedPosition(T=!0){return this._positionLocked=T,this}setOrigin(T){return this._origin=T,this}withDefaultOffsetX(T){return this._offsetX=T,this}withDefaultOffsetY(T){return this._offsetY=T,this}withTransformOriginOn(T){return this._transformOriginSelector=T,this}_getOriginPoint(T,re,Oe){let nt,vt;if("center"==Oe.originX)nt=T.left+T.width/2;else{const Rt=this._isRtl()?T.right:T.left,Vt=this._isRtl()?T.left:T.right;nt="start"==Oe.originX?Rt:Vt}return re.left<0&&(nt-=re.left),vt="center"==Oe.originY?T.top+T.height/2:"top"==Oe.originY?T.top:T.bottom,re.top<0&&(vt-=re.top),{x:nt,y:vt}}_getOverlayPoint(T,re,Oe){let nt,vt;return nt="center"==Oe.overlayX?-re.width/2:"start"===Oe.overlayX?this._isRtl()?-re.width:0:this._isRtl()?0:-re.width,vt="center"==Oe.overlayY?-re.height/2:"top"==Oe.overlayY?0:-re.height,{x:T.x+nt,y:T.y+vt}}_getOverlayFit(T,re,Oe,nt){const vt=Ge(re);let{x:Rt,y:Vt}=T,Gt=this._getOffset(nt,"x"),Zt=this._getOffset(nt,"y");Gt&&(Rt+=Gt),Zt&&(Vt+=Zt);let bt=0-Vt,Ot=Vt+vt.height-Oe.height,fn=this._subtractOverflows(vt.width,0-Rt,Rt+vt.width-Oe.width),dn=this._subtractOverflows(vt.height,bt,Ot),_i=fn*dn;return{visibleArea:_i,isCompletelyWithinViewport:vt.width*vt.height===_i,fitsInViewportVertically:dn===vt.height,fitsInViewportHorizontally:fn==vt.width}}_canFitWithFlexibleDimensions(T,re,Oe){if(this._hasFlexibleDimensions){const nt=Oe.bottom-re.y,vt=Oe.right-re.x,Rt=It(this._overlayRef.getConfig().minHeight),Vt=It(this._overlayRef.getConfig().minWidth),Zt=T.fitsInViewportHorizontally||null!=Vt&&Vt<=vt;return(T.fitsInViewportVertically||null!=Rt&&Rt<=nt)&&Zt}return!1}_pushOverlayOnScreen(T,re,Oe){if(this._previousPushAmount&&this._positionLocked)return{x:T.x+this._previousPushAmount.x,y:T.y+this._previousPushAmount.y};const nt=Ge(re),vt=this._viewportRect,Rt=Math.max(T.x+nt.width-vt.width,0),Vt=Math.max(T.y+nt.height-vt.height,0),Gt=Math.max(vt.top-Oe.top-T.y,0),Zt=Math.max(vt.left-Oe.left-T.x,0);let ut=0,Wt=0;return ut=nt.width<=vt.width?Zt||-Rt:T.x<this._viewportMargin?vt.left-Oe.left-T.x:0,Wt=nt.height<=vt.height?Gt||-Vt:T.y<this._viewportMargin?vt.top-Oe.top-T.y:0,this._previousPushAmount={x:ut,y:Wt},{x:T.x+ut,y:T.y+Wt}}_applyPosition(T,re){if(this._setTransformOrigin(T),this._setOverlayElementStyles(re,T),this._setBoundingBoxStyles(re,T),T.panelClass&&this._addPanelClasses(T.panelClass),this._lastPosition=T,this._positionChanges.observers.length){const Oe=this._getScrollVisibility(),nt=new Be(T,Oe);this._positionChanges.next(nt)}this._isInitialRender=!1}_setTransformOrigin(T){if(!this._transformOriginSelector)return;const re=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Oe,nt=T.overlayY;Oe="center"===T.overlayX?"center":this._isRtl()?"start"===T.overlayX?"right":"left":"start"===T.overlayX?"left":"right";for(let vt=0;vt<re.length;vt++)re[vt].style.transformOrigin=`${Oe} ${nt}`}_calculateBoundingBoxRect(T,re){const Oe=this._viewportRect,nt=this._isRtl();let vt,Rt,Vt,ut,Wt,bt;if("top"===re.overlayY)Rt=T.y,vt=Oe.height-Rt+this._viewportMargin;else if("bottom"===re.overlayY)Vt=Oe.height-T.y+2*this._viewportMargin,vt=Oe.height-Vt+this._viewportMargin;else{const Ot=Math.min(Oe.bottom-T.y+Oe.top,T.y),fn=this._lastBoundingBoxSize.height;vt=2*Ot,Rt=T.y-Ot,vt>fn&&!this._isInitialRender&&!this._growAfterOpen&&(Rt=T.y-fn/2)}if("end"===re.overlayX&&!nt||"start"===re.overlayX&&nt)bt=Oe.width-T.x+this._viewportMargin,ut=T.x-this._viewportMargin;else if("start"===re.overlayX&&!nt||"end"===re.overlayX&&nt)Wt=T.x,ut=Oe.right-T.x;else{const Ot=Math.min(Oe.right-T.x+Oe.left,T.x),fn=this._lastBoundingBoxSize.width;ut=2*Ot,Wt=T.x-Ot,ut>fn&&!this._isInitialRender&&!this._growAfterOpen&&(Wt=T.x-fn/2)}return{top:Rt,left:Wt,bottom:Vt,right:bt,width:ut,height:vt}}_setBoundingBoxStyles(T,re){const Oe=this._calculateBoundingBoxRect(T,re);!this._isInitialRender&&!this._growAfterOpen&&(Oe.height=Math.min(Oe.height,this._lastBoundingBoxSize.height),Oe.width=Math.min(Oe.width,this._lastBoundingBoxSize.width));const nt={};if(this._hasExactPosition())nt.top=nt.left="0",nt.bottom=nt.right=nt.maxHeight=nt.maxWidth="",nt.width=nt.height="100%";else{const vt=this._overlayRef.getConfig().maxHeight,Rt=this._overlayRef.getConfig().maxWidth;nt.height=(0,Y.HM)(Oe.height),nt.top=(0,Y.HM)(Oe.top),nt.bottom=(0,Y.HM)(Oe.bottom),nt.width=(0,Y.HM)(Oe.width),nt.left=(0,Y.HM)(Oe.left),nt.right=(0,Y.HM)(Oe.right),nt.alignItems="center"===re.overlayX?"center":"end"===re.overlayX?"flex-end":"flex-start",nt.justifyContent="center"===re.overlayY?"center":"bottom"===re.overlayY?"flex-end":"flex-start",vt&&(nt.maxHeight=(0,Y.HM)(vt)),Rt&&(nt.maxWidth=(0,Y.HM)(Rt))}this._lastBoundingBoxSize=Oe,ft(this._boundingBox.style,nt)}_resetBoundingBoxStyles(){ft(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ft(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(T,re){const Oe={},nt=this._hasExactPosition(),vt=this._hasFlexibleDimensions,Rt=this._overlayRef.getConfig();if(nt){const ut=this._viewportRuler.getViewportScrollPosition();ft(Oe,this._getExactOverlayY(re,T,ut)),ft(Oe,this._getExactOverlayX(re,T,ut))}else Oe.position="static";let Vt="",Gt=this._getOffset(re,"x"),Zt=this._getOffset(re,"y");Gt&&(Vt+=`translateX(${Gt}px) `),Zt&&(Vt+=`translateY(${Zt}px)`),Oe.transform=Vt.trim(),Rt.maxHeight&&(nt?Oe.maxHeight=(0,Y.HM)(Rt.maxHeight):vt&&(Oe.maxHeight="")),Rt.maxWidth&&(nt?Oe.maxWidth=(0,Y.HM)(Rt.maxWidth):vt&&(Oe.maxWidth="")),ft(this._pane.style,Oe)}_getExactOverlayY(T,re,Oe){let nt={top:"",bottom:""},vt=this._getOverlayPoint(re,this._overlayRect,T);return this._isPushed&&(vt=this._pushOverlayOnScreen(vt,this._overlayRect,Oe)),"bottom"===T.overlayY?nt.bottom=this._document.documentElement.clientHeight-(vt.y+this._overlayRect.height)+"px":nt.top=(0,Y.HM)(vt.y),nt}_getExactOverlayX(T,re,Oe){let Rt,nt={left:"",right:""},vt=this._getOverlayPoint(re,this._overlayRect,T);return this._isPushed&&(vt=this._pushOverlayOnScreen(vt,this._overlayRect,Oe)),Rt=this._isRtl()?"end"===T.overlayX?"left":"right":"end"===T.overlayX?"right":"left","right"===Rt?nt.right=this._document.documentElement.clientWidth-(vt.x+this._overlayRect.width)+"px":nt.left=(0,Y.HM)(vt.x),nt}_getScrollVisibility(){const T=this._getOriginRect(),re=this._pane.getBoundingClientRect(),Oe=this._scrollables.map(nt=>nt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:j(T,Oe),isOriginOutsideView:se(T,Oe),isOverlayClipped:j(re,Oe),isOverlayOutsideView:se(re,Oe)}}_subtractOverflows(T,...re){return re.reduce((Oe,nt)=>Oe-Math.max(nt,0),T)}_getNarrowedViewportRect(){const T=this._document.documentElement.clientWidth,re=this._document.documentElement.clientHeight,Oe=this._viewportRuler.getViewportScrollPosition();
1return{top:Oe.top+this._viewportMargin,left:Oe.left+this._viewportMargin,right:Oe.left+T-this._viewportMargin,bottom:Oe.top+re-this._viewportMargin,width:T-2*this._viewportMargin,height:re-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(T,re){return"x"===re?T.offsetX??this._offsetX:T.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(T){this._pane&&(0,Y.Eq)(T).forEach(re=>{""!==re&&-1===this._appliedPanelClasses.indexOf(re)&&(this._appliedPanelClasses.push(re),this._pane.classList.add(re))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(T=>{this._pane.classList.remove(T)}),this._appliedPanelClasses=[])}_getOriginRect(){const T=this._origin;if(T instanceof C.SBq)return T.nativeElement.getBoundingClientRect();if(T instanceof Element)return T.getBoundingClientRect();const re=T.width||0,Oe=T.height||0;return{top:T.y,bottom:T.y+Oe,left:T.x,right:T.x+re,height:Oe,width:re}}}function ft(xe,T){for(let re in T)T.hasOwnProperty(re)&&(xe[re]=T[re]);return xe}function It(xe){if("number"!=typeof xe&&null!=xe){const[T,re]=xe.split(Yt);return re&&"px"!==re?null:parseFloat(T)}return xe||null}function Ge(xe){return{top:Math.floor(xe.top),right:Math.floor(xe.right),bottom:Math.floor(xe.bottom),left:Math.floor(xe.left),width:Math.floor(xe.width),height:Math.floor(xe.height)}}const B="cdk-global-overlay-wrapper";class ${constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(T){const re=T.getConfig();this._overlayRef=T,this._width&&!re.width&&T.updateSize({width:this._width}),this._height&&!re.height&&T.updateSize({height:this._height}),T.hostElement.classList.add(B),this._isDisposed=!1}top(T=""){return this._bottomOffset="",this._topOffset=T,this._alignItems="flex-start",this}left(T=""){return this._xOffset=T,this._xPosition="left",this}bottom(T=""){return this._topOffset="",this._bottomOffset=T,this._alignItems="flex-end",this}right(T=""){return this._xOffset=T,this._xPosition="right",this}start(T=""){return this._xOffset=T,this._xPosition="start",this}end(T=""){return this._xOffset=T,this._xPosition="end",this}width(T=""){return this._overlayRef?this._overlayRef.updateSize({width:T}):this._width=T,this}height(T=""){return this._overlayRef?this._overlayRef.updateSize({height:T}):this._height=T,this}centerHorizontally(T=""){return this.left(T),this._xPosition="center",this}centerVertically(T=""){return this.top(T),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const T=this._overlayRef.overlayElement.style,re=this._overlayRef.hostElement.style,Oe=this._overlayRef.getConfig(),{width:nt,height:vt,maxWidth:Rt,maxHeight:Vt}=Oe,Gt=!("100%"!==nt&&"100vw"!==nt||Rt&&"100%"!==Rt&&"100vw"!==Rt),Zt=!("100%"!==vt&&"100vh"!==vt||Vt&&"100%"!==Vt&&"100vh"!==Vt),ut=this._xPosition,Wt=this._xOffset,bt="rtl"===this._overlayRef.getConfig().direction;let Ot="",fn="",dn="";Gt?dn="flex-start":"center"===ut?(dn="center",bt?fn=Wt:Ot=Wt):bt?"left"===ut||"end"===ut?(dn="flex-end",Ot=Wt):("right"===ut||"start"===ut)&&(dn="flex-start",fn=Wt):"left"===ut||"start"===ut?(dn="flex-start",Ot=Wt):("right"===ut||"end"===ut)&&(dn="flex-end",fn=Wt),T.position=this._cssPosition,T.marginLeft=Gt?"0":Ot,T.marginTop=Zt?"0":this._topOffset,T.marginBottom=this._bottomOffset,T.marginRight=Gt?"0":fn,re.justifyContent=dn,re.alignItems=Zt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const T=this._overlayRef.overlayElement.style,re=this._overlayRef.hostElement,Oe=re.style;re.classList.remove(B),Oe.justifyContent=Oe.alignItems=T.marginTop=T.marginBottom=T.marginLeft=T.marginRight=T.position="",this._overlayRef=null,this._isDisposed=!0}}let ve=(()=>{class xe{constructor(re,Oe,nt,vt){this._viewportRuler=re,this._document=Oe,this._platform=nt,this._overlayContainer=vt}global(){return new $}flexibleConnectedTo(re){return new Lt(re,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return xe.\u0275fac=function(re){return new(re||xe)(C.LFG(a.rL),C.LFG(p.K0),C.LFG(e.t4),C.LFG(qe))},xe.\u0275prov=C.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),pe=0,Xe=(()=>{class xe{constructor(re,Oe,nt,vt,Rt,Vt,Gt,Zt,ut,Wt,bt,Ot){this.scrollStrategies=re,this._overlayContainer=Oe,this._componentFactoryResolver=nt,this._positionBuilder=vt,this._keyboardDispatcher=Rt,this._injector=Vt,this._ngZone=Gt,this._document=Zt,this._directionality=ut,this._location=Wt,this._outsideClickDispatcher=bt,this._animationsModuleType=Ot}create(re){const Oe=this._createHostElement(),nt=this._createPaneElement(Oe),vt=this._createPortalOutlet(nt),Rt=new Ue(re);return Rt.direction=Rt.direction||this._directionality.value,new Mt(vt,Oe,nt,Rt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(re){const Oe=this._document.createElement("div");return Oe.id="cdk-overlay-"+pe++,Oe.classList.add("cdk-overlay-pane"),re.appendChild(Oe),Oe}_createHostElement(){const re=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(re),re}_createPortalOutlet(re){return this._appRef||(this._appRef=this._injector.get(C.z2F)),new R.u0(re,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return xe.\u0275fac=function(re){return new(re||xe)(C.LFG(De),C.LFG(qe),C.LFG(C._Vd),C.LFG(ve),C.LFG(ze),C.LFG(C.zs3),C.LFG(C.R0b),C.LFG(p.K0),C.LFG(ee.Is),C.LFG(p.Ye),C.LFG(dt),C.LFG(C.QbO,8))},xe.\u0275prov=C.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})();const st=[{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"}],lt=new C.OlP("cdk-connected-overlay-scroll-strategy");let Bt=(()=>{class xe{constructor(re){this.elementRef=re}}return xe.\u0275fac=function(re){return new(re||xe)(C.Y36(C.SBq))},xe.\u0275dir=C.lG2({type:xe,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),xe})(),at=(()=>{class xe{constructor(re,Oe,nt,vt,Rt){this._overlay=re,this._dir=Rt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=X.w0.EMPTY,this._attachSubscription=X.w0.EMPTY,this._detachSubscription=X.w0.EMPTY,this._positionSubscription=X.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new C.vpe,this.positionChange=new C.vpe,this.attach=new C.vpe,this.detach=new C.vpe,this.overlayKeydown=new C.vpe,this.overlayOutsideClick=new C.vpe,this._templatePortal=new R.UE(Oe,nt),this._scrollStrategyFactory=vt,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(re){this._offsetX=re,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(re){this._offsetY=re,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(re){this._hasBackdrop=(0,Y.Ig)(re)}get lockPosition(){return this._lockPosition}set lockPosition(re){this._lockPosition=(0,Y.Ig)(re)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(re){this._flexibleDimensions=(0,Y.Ig)(re)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(re){this._growAfterOpen=(0,Y.Ig)(re)}get push(){return this._push}set push(re){this._push=(0,Y.Ig)(re)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(re){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),re.origin&&this.open&&this._position.apply()),re.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=st);const re=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=re.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=re.detachments().subscribe(()=>this.detach.emit()),re.keydownEvents().subscribe(Oe=>{this.overlayKeydown.next(Oe),Oe.keyCode===ge.hY&&!this.disableClose&&!(0,ge.Vb)(Oe)&&(Oe.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Oe=>{this.overlayOutsideClick.next(Oe)})}_buildConfig(){const re=this._position=this.positionStrategy||this._createPositionStrategy(),Oe=new Ue({direction:this._dir,positionStrategy:re,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Oe.width=this.width),(this.height||0===this.height)&&(Oe.height=this.height),(this.minWidth||0===this.minWidth)&&(Oe.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Oe.minHeight=this.minHeight),this.backdropClass&&(Oe.backdropClass=this.backdropClass),this.panelClass&&(Oe.panelClass=this.panelClass),Oe}_updatePositionStrategy(re){const Oe=this.positions.map(nt=>({originX:nt.originX,originY:nt.originY,overlayX:nt.overlayX,overlayY:nt.overlayY,offsetX:nt.offsetX||this.offsetX,offsetY:nt.offsetY||this.offsetY,panelClass:nt.panelClass||void 0}));return re.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Oe).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const re=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(re),re}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin
1instanceof Bt?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(re=>{this.backdropClick.emit(re)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,_e.o)(()=>this.positionChange.observers.length>0)).subscribe(re=>{this.positionChange.emit(re),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return xe.\u0275fac=function(re){return new(re||xe)(C.Y36(Xe),C.Y36(C.Rgc),C.Y36(C.s_b),C.Y36(lt),C.Y36(ee.Is,8))},xe.\u0275dir=C.lG2({type:xe,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[C.TTD]}),xe})();const N={provide:lt,deps:[Xe],useFactory:function te(xe){return()=>xe.scrollStrategies.reposition()}};let z=(()=>{class xe{}return xe.\u0275fac=function(re){return new(re||xe)},xe.\u0275mod=C.oAB({type:xe}),xe.\u0275inj=C.cJS({providers:[Xe,N],imports:[ee.vT,R.eL,a.Cl,a.Cl]}),xe})()},3353:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Mq:()=>ge,Oy:()=>j,_i:()=>Re,ht:()=>be,i$:()=>de,kV:()=>ue,qK:()=>ae,sA:()=>se,t4:()=>Y,ud:()=>e});var a=f(4650),p=f(6895);let C;try{C=typeof Intl<"u"&&Intl.v8BreakIterator}catch{C=!1}let ee,Y=(()=>{class ne{constructor(Ue){this._platformId=Ue,this.isBrowser=this._platformId?(0,p.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!C)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return ne.\u0275fac=function(Ue){return new(Ue||ne)(a.LFG(a.Lbi))},ne.\u0275prov=a.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})(),e=(()=>{class ne{}return ne.\u0275fac=function(Ue){return new(Ue||ne)},ne.\u0275mod=a.oAB({type:ne}),ne.\u0275inj=a.cJS({}),ne})();const R=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","t
1ime","url","week"];function ae(){if(ee)return ee;if("object"!=typeof document||!document)return ee=new Set(R),ee;let ne=document.createElement("input");return ee=new Set(R.filter(De=>(ne.setAttribute("type",De),ne.type===De))),ee}let X,ce,_e,$e;function de(ne){return function W(){if(null==X&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>X=!0}))}finally{X=X||!1}return X}()?ne:!!ne.capture}function ge(){if(null==_e){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return _e=!1,_e;if("scrollBehavior"in document.documentElement.style)_e=!0;else{const ne=Element.prototype.scrollTo;_e=!!ne&&!/\{\s*\[native code\]\s*\}/.test(ne.toString())}}return _e}function Re(){if("object"!=typeof document||!document)return 0;if(null==ce){const ne=document.createElement("div"),De=ne.style;ne.dir="rtl",De.width="1px",De.overflow="auto",De.visibility="hidden",De.pointerEvents="none",De.position="absolute";const Ue=document.createElement("div"),V=Ue.style;V.width="2px",V.height="1px",ne.appendChild(Ue),document.body.appendChild(ne),ce=0,0===ne.scrollLeft&&(ne.scrollLeft=1,ce=0===ne.scrollLeft?1:2),ne.remove()}return ce}function ue(ne){if(function fe(){if(null==$e){const ne=typeof document<"u"?document.head:null;$e=!(!ne||!ne.createShadowRoot&&!ne.attachShadow)}return $e}()){const De=ne.getRootNode?ne.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&De instanceof ShadowRoot)return De}return null}function be(){let ne=typeof document<"u"&&document?document.activeElement:null;for(;ne&&ne.shadowRoot;){const De=ne.shadowRoot.activeElement;if(De===ne)break;ne=De}return ne}function se(ne){return ne.composedPath?ne.composedPath()[0]:ne.target}function j(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(Pt,Ve,f)=>{"use strict";f.d(Ve,{C5:()=>W,Pl:()=>be,UE:()=>de,eL:()=>j,en:()=>_e,u0:()=>Re});var a=f(4650),p=f(6895);class X{attach(Ue){return this._attachedHost=Ue,Ue.attach(this)}detach(){let Ue=this._attachedHost;null!=Ue&&(this._attachedHost=null,Ue.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ue){this._attachedHost=Ue}}class W extends X{constructor(Ue,V,He,Be,Ne){super(),this.component=Ue,this.viewContainerRef=V,this.injector=He,this.componentFactoryResolver=Be,this.projectableNodes=Ne}}class de extends X{constructor(Ue,V,He,Be){super(),this.templateRef=Ue,this.viewContainerRef=V,this.context=He,this.injector=Be}get origin(){return this.templateRef.elementRef}attach(Ue,V=this.context){return this.context=V,super.attach(Ue)}detach(){return this.context=void 0,super.detach()}}class ce extends X{constructor(Ue){super(),this.element=Ue instanceof a.SBq?Ue.nativeElement:Ue}}class _e{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Ue){return Ue instanceof W?(this._attachedPortal=Ue,this.attachComponentPortal(Ue)):Ue instanceof de?(this._attachedPortal=Ue,this.attachTemplatePortal(Ue)):this.attachDomPortal&&Ue instanceof ce?(this._attachedPortal=Ue,this.attachDomPortal(Ue)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Ue){this._disposeFn=Ue}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Re extends _e{constructor(Ue,V,He,Be,Ne){super(),this.outletElement=Ue,this._componentFactoryResolver=V,this._appRef=He,this._defaultInjector=Be,this.attachDomPortal=me=>{const Le=me.element,ze=this._document.createComment("dom-portal");Le.parentNode.insertBefore(ze,Le),this.outletElement.appendChild(Le),this._attachedPortal=me,super.setDisposeFn(()=>{ze.parentNode&&ze.parentNode.replaceChild(Le,ze)})},this._document=Ne}attachComponentPortal(Ue){const He=(Ue.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ue.component);let Be;return Ue.viewContainerRef?(Be=Ue.viewContainerRef.createComponent(He,Ue.viewContainerRef.length,Ue.injector||Ue.viewContainerRef.injector,Ue.projectableNodes||void 0),this.setDisposeFn(()=>Be.destroy())):(Be=He.create(Ue.injector||this._defaultInjector||a.zs3.NULL),this._appRef.attachView(Be.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Be.hostView),Be.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Be)),this._attachedPortal=Ue,Be}attachTemplatePortal(Ue){let V=Ue.viewContainerRef,He=V.createEmbeddedView(Ue.templateRef,Ue.context,{injector:Ue.injector});
1return He.rootNodes.forEach(Be=>this.outletElement.appendChild(Be)),He.detectChanges(),this.setDisposeFn(()=>{let Be=V.indexOf(He);-1!==Be&&V.remove(Be)}),this._attachedPortal=Ue,He}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Ue){return Ue.hostView.rootNodes[0]}}let be=(()=>{class De extends _e{constructor(V,He,Be){super(),this._componentFactoryResolver=V,this._viewContainerRef=He,this._isInitialized=!1,this.attached=new a.vpe,this.attachDomPortal=Ne=>{const me=Ne.element,Le=this._document.createComment("dom-portal");Ne.setAttachedHost(this),me.parentNode.insertBefore(Le,me),this._getRootNode().appendChild(me),this._attachedPortal=Ne,super.setDisposeFn(()=>{Le.parentNode&&Le.parentNode.replaceChild(me,Le)})},this._document=Be}get portal(){return this._attachedPortal}set portal(V){this.hasAttached()&&!V&&!this._isInitialized||(this.hasAttached()&&super.detach(),V&&super.attach(V),this._attachedPortal=V||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(V){V.setAttachedHost(this);const He=null!=V.viewContainerRef?V.viewContainerRef:this._viewContainerRef,Ne=(V.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(V.component),me=He.createComponent(Ne,He.length,V.injector||He.injector,V.projectableNodes||void 0);return He!==this._viewContainerRef&&this._getRootNode().appendChild(me.hostView.rootNodes[0]),super.setDisposeFn(()=>
1me.destroy()),this._attachedPortal=V,this._attachedRef=me,this.attached.emit(me),me}attachTemplatePortal(V){V.setAttachedHost(this);const He=this._viewContainerRef.createEmbeddedView(V.templateRef,V.context,{injector:V.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=V,this._attachedRef=He,this.attached.emit(He),He}_getRootNode(){const V=this._viewContainerRef.element.nativeElement;return V.nodeType===V.ELEMENT_NODE?V:V.parentNode}}return De.\u0275fac=function(V){return new(V||De)(a.Y36(a._Vd),a.Y36(a.s_b),a.Y36(p.K0))},De.\u0275dir=a.lG2({type:De,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[a.qOj]}),De})(),j=(()=>{class De{}return De.\u0275fac=function(V){return new(V||De)},De.\u0275mod=a.oAB({type:De}),De.\u0275inj=a.cJS({}),De})()},4098:(Pt,Ve,f)=>{"use strict";f.d(Ve,{PQ:()=>me,ZD:()=>je,mF:()=>Ne,Cl:()=>Ft,rL:()=>ze});var a=f(1281),p=f(4650),C=f(7579),Y=f(9646),e=f(9751),ee=f(4968),X=(f(6406),f(3101),f(4986)),W=f(4482),de=f(8421),ce=f(5403),ge=f(5963);function Re(B,$=X.z){return function _e(B){return(0,W.e)(($,ve)=>{let pe=!1,Xe=null,st=null,lt=!1;const Bt=()=>{if(st?.unsubscribe(),st=null,pe){pe=!1;const te=Xe;Xe=null,ve.next(te)}lt&&ve.complete()},at=()=>{st=null,lt&&ve.complete()};$.subscribe((0,ce.x)(ve,te=>{pe=!0,Xe=te,st||(0,de.Xf)(B(te)).subscribe(st=(0,ce.x)(ve,Bt,at))},()=>{lt=!0,(!pe||!st||st.closed)&&ve.complete()}))})}(()=>(0,ge.H)(B,$))}var $e=f(9300),fe=f(2722),ue=f(3353),be=f(6895),se=f(445);let Ne=(()=>{class B{constructor(ve,pe,Xe){this._ngZone=ve,this._platform=pe,this._scrolled=new C.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Xe}register(ve){this.scrollContainers.has(ve)||this.scrollContainers.set(ve,ve.elementScrolled().subscribe(()=>this._scrolled.next(ve)))}deregister(ve){const pe=this.scrollContainers.get(ve);pe&&(pe.unsubscribe(),this.scrollContainers.delete(ve))}scrolled(ve=20){return this._platform.isBrowser?new e.y(pe=>{this._globalSubscription||this._addGlobalListener();const Xe=ve>0?this._scrolled.pipe(Re(ve)).subscribe(pe):this._scrolled.subscribe(pe);return this._scrolledCount++,()=>{Xe.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Y.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ve,pe)=>this.deregister(pe)),this._scrolled.complete()}ancestorScrolled(ve,pe){const Xe=this.getAncestorScrollContainers(ve);return this.scrolled(pe).pipe((0,$e.h)(st=>!st||Xe.indexOf(st)>-1))}getAncestorScrollContainers(ve){const pe=[];return this.scrollContainers.forEach((Xe,st)=>{this._scrollableContainsElement(st,ve)&&pe.push(st)}),pe}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ve,pe){let Xe=(0,a.fI)(pe),st=ve.getElementRef().nativeElement;do{if(Xe==st)return!0}while(Xe=Xe.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ve=this._getWindow();return(0,ee.R)(ve.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return B.\u0275fac=function(ve){return new(ve||B)(p.LFG(p.R0b),p.LFG(ue.t4),p.LFG(be.K0,8))},B.\u0275prov=p.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})(),me=(()=>{class B{constructor(ve,pe,Xe,st){this.elementRef=ve,this.scrollDispatcher=pe,this.ngZone=Xe,this.dir=st,this._destroyed=new C.x,this._elementScrolled=new e.y(lt=>this.ngZone.runOutsideAngular(()=>(0,ee.R)(this.elementRef.nativeElement,"scroll").pipe((0,fe.R)(this._destroyed)).subscribe(lt)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(ve){const pe=this.elementRef.nativeElement,Xe=this.dir&&"rtl"==this.dir.value;null==ve.left&&(ve.left=Xe?ve.end:ve.start),null==ve.right&&(ve.right=Xe?ve.start:ve.end),null!=ve.bottom&&(ve.top=pe.scrollHeight-pe.clientHeight-ve.bottom),Xe&&0!=(0,ue._i)()?(null!=ve.left&&(ve.right=pe.scrollWidth-pe.clientWidth-ve.left),2==(0,ue._i)()?ve.left=ve.right:1==(0,ue._i)()&&(ve.left=ve.right?-ve.right:ve.right)):null!=ve.right&&(ve.left=pe.scrollWidth-pe.clientWidth-ve.right),this._applyScrollToOptions(ve)}_applyScrollToOptions(ve){const pe=this.elementRef.nativeElement;(0,ue.Mq)()?pe.scrollTo(ve):(null!=ve.top&&(pe.scrollTop=ve.top),null!=ve.left&&(pe.scrollLeft=ve.left))}measureScrollOffset(ve){const pe="left",st=this.elementRef.nativeElement;if("top"==ve)return st.scrollTop;if("bottom"==ve)return st.scrollHeight-st.clientHeight-st.scrollTop;const lt=this.dir&&"rtl"==this.dir.value;return"start"==ve?ve=lt?"right":pe:"end"==ve&&(ve=lt?pe:"right"),lt&&2==(0,ue._i)()?ve==pe?st.
1scrollWidth-st.clientWidth-st.scrollLeft:st.scrollLeft:lt&&1==(0,ue._i)()?ve==pe?st.scrollLeft+st.scrollWidth-st.clientWidth:-st.scrollLeft:ve==pe?st.scrollLeft:st.scrollWidth-st.clientWidth-st.scrollLeft}}return B.\u0275fac=function(ve){return new(ve||B)(p.Y36(p.SBq),p.Y36(Ne),p.Y36(p.R0b),p.Y36(se.Is,8))},B.\u0275dir=p.lG2({type:B,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),B})(),ze=(()=>{class B{constructor(ve,pe,Xe){this._platform=ve,this._change=new C.x,this._changeListener=st=>{this._change.next(st)},this._document=Xe,pe.runOutsideAngular(()=>{if(ve.isBrowser){const st=this._getWindow();st.addEventListener("resize",this._changeListener),st.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ve=this._getWindow();ve.removeEventListener("resize",this._changeListener),ve.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ve={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ve}getViewportRect(){const ve=this.getViewportScrollPosition(),{width:pe,height:Xe}=this.getViewportSize();return{top:ve.top,left:ve.left,bottom:ve.top+Xe,right:ve.left+pe,height:Xe,width:pe}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ve=this._document,pe=this._getWindow(),Xe=ve.documentElement,st=Xe.getBoundingClientRect();return{top:-st.top||ve.body.scrollTop||pe.scrollY||Xe.scrollTop||0,left:-st.left||ve.body.scrollLeft||pe.scrollX||Xe.scrollLeft||0}}change(ve=20){return ve>0?this._change.pipe(Re(ve)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ve=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ve.innerWidth,height:ve.innerHeight}:{width:0,height:0}}}return B.\u0275fac=function(ve){return new(ve||B)(p.LFG(ue.t4),p.LFG(p.R0b),p.LFG(be.K0,8))},B.\u0275prov=p.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})(),je=(()=>{class B{}return B.\u0275fac=function(ve){return new(ve||B)},B.\u0275mod=p.oAB({type:B}),B.\u0275inj=p.cJS({}),B})(),Ft=(()=>{class B{}return B.\u0275fac=function(ve){return new(ve||B)},B.\u0275mod=p.oAB({type:B}),B.\u0275inj=p.cJS({imports:[se.vT,je,se.vT,je]}),B})()},9349:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Ky:()=>W,Lq:()=>R});var a=f(3353),p=f(4650),C=f(1281),Y=f(515),e=f(7579);const ee=(0,a.i$)({passive:!0});let R=(()=>{class de{constructor(_e,ge){this._platform=_e,this._ngZone=ge,this._monitoredElements=new Map}monitor(_e){if(!this._platform.isBrowser)return Y.E;const ge=(0,C.fI)(_e),Re=this._monitoredElements.get(ge);if(Re)return Re.subject;const $e=new e.x,fe="cdk-text-field-autofilled",ue=be=>{"cdk-text-field-autofill-start"!==be.animationName||ge.classList.contains(fe)?"cdk-text-field-autofill-end"===be.animationName&&ge.classList.contains(fe)&&(ge.classList.remove(fe),this._ngZone.run(()=>$e.next({target:be.target,isAutofilled:!1}))):(ge.classList.add(fe),this._ngZone.run(()=>$e.next({target:be.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{ge.addEventListener("animationstart",ue,ee),ge.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(ge,{subject:$e,unlisten:()=>{ge.removeEventListener("animationstart",ue,ee)}}),$e}stopMonitoring(_e){const ge=(0,C.fI)(_e),Re=this._monitoredElements.get(ge);Re&&(Re.unlisten(),Re.subject.complete(),ge.classList.remove("cdk-text-field-autofill-monitored"),ge.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ge))}ngOnDestroy(){this._monitoredElements.forEach((_e,ge)=>this.stopMonitoring(ge))}}return de.\u0275fac=function(_e){return new(_e||de)(p.LFG(a.t4),p.LFG(p.R0b))},de.\u0275prov=p.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),W=(()=>{class de{}return de.\u0275fac=function(_e){return new(_e||de)},de.\u0275mod=p.oAB({type:de}),de.\u0275inj=p.cJS({}),de})()},6895:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Do:()=>se,ED:()=>Uo,EM:()=>Nn,H9:()=>Co,HT:()=>e,JF:()=>xi,K0:()=>R,Mx:()=>St,NF:()=>Kt,O5:()=>Xn,Ov:()=>qi,PM:()=>nn,RF:()=>ar,S$:()=>fe,V_:()=>W,Ye:()=>j,b0:()=>be,bD:()=>Hr,ez:()=>vr,mk:()=>A,n9:()=>Gr,q:()=>C,qS:()=>it,sg:()=>Ln,tP:()=>xr,uU:()=>mr,w_:()=>ee});var a=f(4650);let p=null;function C(){return p}function e(g){p||(p=g)}class ee{}const R=new a.OlP("DocumentToken");let ae=(()=>{class g{historyGo(l){throw new Error("Not implemented")}}return g.\u0275fac=function(l){return new(l||g)},g.\u0275prov=a.Yz7({token:g,factory:function(){return function X(){return(0,a.LFG)(de)}()},providedIn:"platform"}),g})();const W=new a.OlP("Location Initialized");let de=(()=>{class g extends ae{constructor(l){super(),this._doc=l,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return C().getBaseHref(this._doc)}onPopState(l){const v=C().getGlobalEventTarget(this._doc,"window");return v.addEventListener("popstate",l,!1),()=>v.removeEventListener("popstate",l)}onHashChange(l){const v=C().getGlobalEventTarget(this._doc,"window");return v.addEventListener("hashchange",l,!1),()=>v.removeEventListener("hashchange",l)}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(l){this.location.pathname=l}pushState(l,v,O){ce()?this._history.pushState(l,v,O):this.location.hash=O}replaceState(l,v,O){ce()?this._history.replaceState(l,v,O):this.location.hash=O}forward(){this._history.forward()}back(){this._history.back()}historyGo(l=0){this._history.go(l)}getState(){return this._history.state}}return g.\u0275fac=function(l){return new(l||g)(a.LFG(R))},g.\u0275prov=a.Yz7({token:g,factory:function(){return function _e(){return new de((0,a.LFG)(R))}()},providedIn:"platform"}),g})();function ce(){return!!window.history.pushState}function ge(g,u){if(0==g.length)return u;if(0==u.length)return g;let l=0;return g.endsWith("/")&&l++,u.startsWith("/")&&l++,2==l?g+u.substring(1):1==l?g+u:g+"/"+u}function Re(g){const u=g.match(/#|\?|$/),l=u&&u.index||g.length;return g.slice(0,l-("/"===g[l-1]?1:0))+g.slice(l)}function $e(g){return g&&"?"!==g[0]?"?"+g:g}let fe=(()=>{class g{historyGo(l){throw new Error("Not implemented")}}return g.\u0275fac=function(l){return new(l||g)},g.\u0275prov=a.Yz7({token:g,factory:function(){return(0,a.f3M)(be)},providedIn:"root"}),g})();const ue=new a.OlP("appBaseHref");let be=(()=>{class g extends fe{constructor(l,v){super(),this._platformLocation=l,this._removeListenerFns=[],this._baseHref=v??this._platformLocation.getBaseHrefFromDOM()??(0,a.f3M)(R).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(l){this._removeListenerFns.push(this._platformLocation.onPopState(l),this._platformLocation.on
1HashChange(l))}getBaseHref(){return this._baseHref}prepareExternalUrl(l){return ge(this._baseHref,l)}path(l=!1){const v=this._platformLocation.pathname+$e(this._platformLocation.search),O=this._platformLocation.hash;return O&&l?`${v}${O}`:v}pushState(l,v,O,he){const Fe=this.prepareExternalUrl(O+$e(he));this._platformLocation.pushState(l,v,Fe)}replaceState(l,v,O,he){const Fe=this.prepareExternalUrl(O+$e(he));this._platformLocation.replaceState(l,v,Fe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(l=0){this._platformLocation.historyGo?.(l)}}return g.\u0275fac=function(l){return new(l||g)(a.LFG(ae),a.LFG(ue,8))},g.\u0275prov=a.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),se=(()=>{class g extends fe{constructor(l,v){super(),this._platformLocation=l,this._baseHref="",this._removeListenerFns=[],null!=v&&(this._baseHref=v)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(l){this._removeListenerFns.push(this._platformLocation.onPopState(l),this._platformLocation.onHashChange(l))}getBaseHref(){return this._baseHref}path(l=!1){let v=this._platformLocation.hash;return null==v&&(v="#"),v.length>0?v.substring(1):v}prepareExternalUrl(l){const v=ge(this._baseHref,l);return v.length>0?"#"+v:v}pushState(l,v,O,he){let Fe=this.prepareExternalUrl(O+$e(he));0==Fe.length&&(Fe=this._platformLocation.pathname),this._platformLocation.pushState(l,v,Fe)}replaceState(l,v,O,he){let Fe=this.prepareExternalUrl(O+$e(he));0==Fe.length&&(Fe=this._platformLocation.pathname),this._platformLocation.replaceState(l,v,Fe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(l=0){this._platformLocation.historyGo?.(l)}}return g.\u0275fac=function(l){return new(l||g)(a.LFG(ae),a.LFG(ue,8))},g.\u0275prov=a.Yz7({token:g,factory:g.\u0275fac}),g})(),j=(()=>{class g{constructor(l){this._subject=new a.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=l;const v=this._locationStrategy.getBaseHref();this._baseHref=Re(Ue(v)),this._locationStrategy.onPopState(O=>{this._subject.emit({url:this.path(!0),pop:!0,state:O.state,type:O.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(l=!1){return this.normalize(this._locationStrategy.path(l))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(l,v=""){return this.path()==this.normalize(l+$e(v))}normalize(l){return g.stripTrailingSlash(function De(g,u){return g&&u.startsWith(g)?u.substring(g.length):u}(this._baseHref,Ue(l)))}prepareExternalUrl(l){return l&&"/"!==l[0]&&(l="/"+l),this._locationStrategy.prepareExternalUrl(l)}go(l,v="",O=null){this._locationStrategy.pushState(O,"",l,v),this._notifyUrlChangeListeners(this.prepareExternalUrl(l+$e(v)),O)}replaceState(l,v="",O=null){this._locationStrategy.replaceState(O,"",l,v),this._notifyUrlChangeListeners(this.prepareExternalUrl(l+$e(v)),O)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(l=0){this._locationStrategy.historyGo?.(l)}onUrlChange(l){return this._urlChangeListeners.push(l),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(v=>{this._notifyUrlChangeListeners(v.url,v.state)})),()=>{const v=this._urlChangeListeners.indexOf(l);this._urlChangeListeners.splice(v,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(l="",v){this._urlChangeListeners.forEach(O=>O(l,v))}subscribe(l,v,O){return this._subject.subscribe({next:l,error:v,complete:O})}}return g.normalizeQueryParams=$e,g.joinWithSlash=ge,g.stripTrailingSlash=Re,g.\u0275fac=function(l){return new(l||g)(a.LFG(fe))},g.\u0275prov=a.Yz7({token:g,factory:function(){return function ne(){return new j((0,a.LFG)(fe))}()},providedIn:"root"}),g})();function Ue(g){return g.replace(/\/index.html$/,"")}const V={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var He=(()=>((He=He||{})[He.Decimal=0]="Decimal",He[He.Percent=1]="Percent",He[He.Currency=2]="Currency",He[He.Scie
1ntific=3]="Scientific",He))(),Ne=(()=>((Ne=Ne||{})[Ne.Format=0]="Format",Ne[Ne.Standalone=1]="Standalone",Ne))(),me=(()=>((me=me||{})[me.Narrow=0]="Narrow",me[me.Abbreviated=1]="Abbreviated",me[me.Wide=2]="Wide",me[me.Short=3]="Short",me))(),Le=(()=>((Le=Le||{})[Le.Short=0]="Short",Le[Le.Medium=1]="Medium",Le[Le.Long=2]="Long",Le[Le.Full=3]="Full",Le))(),ze=(()=>((ze=ze||{})[ze.Decimal=0]="Decimal",ze[ze.Group=1]="Group",ze[ze.List=2]="List",ze[ze.PercentSign=3]="PercentSign",ze[ze.PlusSign=4]="PlusSign",ze[ze.MinusSign=5]="MinusSign",ze[ze.Exponential=6]="Exponential",ze[ze.SuperscriptingExponent=7]="SuperscriptingExponent",ze[ze.PerMille=8]="PerMille",ze[ze.Infinity=9]="Infinity",ze[ze.NaN=10]="NaN",ze[ze.TimeSeparator=11]="TimeSeparator",ze[ze.CurrencyDecimal=12]="CurrencyDecimal",ze[ze.CurrencyGroup=13]="CurrencyGroup",ze))();function Ge(g,u){return z((0,a.cg1)(g)[a.wAp.DateFormat],u)}function je(g,u){return z((0,a.cg1)(g)[a.wAp.TimeFormat],u)}function Ft(g,u){return z((0,a.cg1)(g)[a.wAp.DateTimeFormat],u)}function B(g,u){const l=(0,a.cg1)(g),v=l[a.wAp.NumberSymbols][u];if(typeof v>"u"){if(u===ze.CurrencyDecimal)return l[a.wAp.NumberSymbols][ze.Decimal];if(u===ze.CurrencyGroup)return l[a.wAp.NumberSymbols][ze.Group]}return v}function Bt(g){if(!g[a.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${g[a.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function z(g,u){for(let l=u;l>-1;l--)if(typeof g[l]<"u")return g[l];throw new Error("Locale data API: locale data undefined")}function Te(g){const[u,l]=g.split(":");return{hours:+u,minutes:+l}}const Oe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,nt={},vt=/((?:[^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]*)/;var Rt=(()=>((Rt=Rt||{})[Rt.Short=0]="Short",Rt[Rt.ShortGMT=1]="ShortGMT",Rt[Rt.Long=2]="Long",Rt[Rt.Extended=3]="Extended",Rt))(),Vt=(()=>((Vt=Vt||{})[Vt.FullYear=0]="FullYear",Vt[Vt.Month=1]="Month",Vt[Vt.Date=2]="Date",Vt[Vt.Hours=3]="Hours",Vt[Vt.Minutes=4]="Minutes",Vt[Vt.Seconds=5]="Seconds",Vt[Vt.FractionalSeconds=6]="FractionalSeconds",Vt[Vt.Day=7]="Day",Vt))(),Gt=(()=>((Gt=Gt||{})[Gt.DayPeriods=0]="DayPeriods",Gt[Gt.Days=1]="Days",Gt[Gt.Months=2]="Months",Gt[Gt.Eras=3]="Eras",Gt))();function Zt(g,u,l,v){let O=function sn(g){if(In(g))return g;if("number"==typeof g&&!isNaN(g))return new Date(g);if("string"==typeof g){if(g=g.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(g)){const[O,he=1,Fe=1]=g.split("-").map(Je=>+Je);return ut(O,he-1,Fe)}const l=parseFloat(g);if(!isNaN(g-l))return new Date(l);let v;if(v=g.match(Oe))return function An(g){const u=new Date(0);let l=0,v=0;const O=g[8]?u.setUTCFullYear:u.setFullYear,he=g[8]?u.setUTCHours:u.setHours;g[9]&&(l=Number(g[9]+g[10]),v=Number(g[9]+g[11])),O.call(u,Number(g[1]),Number(g[2])-1,Number(g[3]));const Fe=Number(g[4]||0)-l,Je=Number(g[5]||0)-v,Dt=Number(g[6]||0),$t=Math.floor(1e3*parseFloat("0."+(g[7]||0)));return he.call(u,Fe,Je,Dt,$t),u}(v)}const u=new Date(g);if(!In(u))throw new Error(`Unable to convert "${g}" into a date`);return u}(g);u=Wt(l,u)||u;let Je,Fe=[];for(;u;){if(Je=vt.exec(u),!Je){Fe.push(u);break}{Fe=Fe.concat(Je.slice(1));const rn=Fe.pop();if(!rn)break;u=rn}}let Dt=O.getTimezoneOffset();v&&(Dt=Qe(v,Dt),O=function mt(g,u,l){const v=l?-1:1,O=g.getTimezoneOffset();return function Ct(g,u){return(g=new Date(g.getTime())).setMinutes(g.getMinutes()+u),g}(g,v*(Qe(u,O)-O))}(O,v,!0));let $t="";return Fe.forEach(rn=>{const Qt=function we(g){if(ie[g])return ie[g];let u;switch(g){case"G":case"GG":case"GGG":u=En(Gt.Eras,me.Abbreviated);break;case"GGGG":u=En(Gt.Eras,me.Wide);break;case"GGGGG":u=En(Gt.Eras,me.Narrow);break;case"y":u=dn(Vt.FullYear,1,0,!1,!0);break;case"yy":u=dn(Vt.FullYear,2,0,!0,!0);break;case"yyy":u=dn(Vt.FullYear,3,0,!1,!0);break;case"yyyy":u=dn(Vt.FullYear,4,0,!1,!0);break;case"Y":u=Ie(1);break;case"YY":u=Ie(2,!0);break;case"YYY":u=Ie(3);break;case"YYYY":u=Ie(4);break;case"M":case"L":u=dn(Vt.Month,1,1);break;case"MM":case"LL":u=dn(Vt.Month,2,1);break;case"MMM":u=En(Gt.Months,me.Abbreviated);break;case"MMMM":u=En(Gt.Months,me.Wide);break;case"MMMMM":u=En(Gt.Months,me.Narrow);break;case"LLL":u=En(Gt.Months,me.Abbreviated,Ne.Standalone);break;case"LLLL":u=En(Gt.Months,me.Wide,Ne.Standalone);break;case"LLLLL":u=En(Gt.Months,me.Narrow,Ne.Standalone);break;case"w":u=Z(1);break;case"ww":u=Z(2);break;case"W":u=Z(1,!0);break;case"d":u=dn(Vt.Date,1);break;case"dd":u=dn(Vt.Date,2);break;case"c":case"cc":u=dn(Vt.Day,1);break;case"ccc":u=En(Gt.Days,me.Abbreviated,Ne.Standalone);break;case"cccc":u=En(Gt.Days,me.Wide,Ne.Standalone);break;case"ccccc":u=En(Gt.Days,me.Narrow,Ne.Standalone);break;case"cccccc":u=En(Gt.Days,me.Short,Ne.Standalone);break;case"E":case"EE":case"EEE":u=En(Gt.Days,me.Abbreviated);break;case"EEEE":u=En(Gt.Days,me.Wide);break;case"EEEEE":u=En(Gt.Days,me.Narrow);break;case"EEEEEE":u=En(Gt.Days,me.Short);break;case"a":case"aa":case"aaa":u=En(Gt.DayPeriods,me.Abbreviated);break;case"aaaa":u=En(Gt.DayPeriods,me.Wide);break;case"aaaaa":u=En(Gt.DayPeriods,me.Narrow);break;
1case"b":case"bb":case"bbb":u=En(Gt.DayPeriods,me.Abbreviated,Ne.Standalone,!0);break;case"bbbb":u=En(Gt.DayPeriods,me.Wide,Ne.Standalone,!0);break;case"bbbbb":u=En(Gt.DayPeriods,me.Narrow,Ne.Standalone,!0);break;case"B":case"BB":case"BBB":u=En(Gt.DayPeriods,me.Abbreviated,Ne.Format,!0);break;case"BBBB":u=En(Gt.DayPeriods,me.Wide,Ne.Format,!0);break;case"BBBBB":u=En(Gt.DayPeriods,me.Narrow,Ne.Format,!0);break;case"h":u=dn(Vt.Hours,1,-12);break;case"hh":u=dn(Vt.Hours,2,-12);break;case"H":u=dn(Vt.Hours,1);break;case"HH":u=dn(Vt.Hours,2);break;case"m":u=dn(Vt.Minutes,1);break;case"mm":u=dn(Vt.Minutes,2);break;case"s":u=dn(Vt.Seconds,1);break;case"ss":u=dn(Vt.Seconds,2);break;case"S":u=dn(Vt.FractionalSeconds,1);break;case"SS":u=dn(Vt.FractionalSeconds,2);break;case"SSS":u=dn(Vt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":u=kt(Rt.Short);break;case"ZZZZZ":u=kt(Rt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":u=kt(Rt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":u=kt(Rt.Long);break;default:return null}return ie[g]=u,u}(rn);$t+=Qt?Qt(O,l,Dt):"''"===rn?"'":rn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),$t}function ut(g,u,l){const v=new Date(0);return v.setFullYear(g,u,l),v.setHours(0,0,0),v}function Wt(g,u){const l=function qe(g){return(0,a.cg1)(g)[a.wAp.LocaleId]}(g);if(nt[l]=nt[l]||{},nt[l][u])return nt[l][u];let v="";switch(u){case"shortDate":v=Ge(g,Le.Short);break;case"mediumDate":v=Ge(g,Le.Medium);break;case"longDate":v=Ge(g,Le.Long);break;case"fullDate":v=Ge(g,Le.Full);break;case"shortTime":v=je(g,Le.Short);break;case"mediumTime":v=je(g,Le.Medium);break;case"longTime":v=je(g,Le.Long);break;case"fullTime":v=je(g,Le.Full);break;case"short":const O=Wt(g,"shortTime"),he=Wt(g,"shortDate");v=bt(Ft(g,Le.Short),[O,he]);break;case"medium":const Fe=Wt(g,"mediumTime"),Je=Wt(g,"mediumDate");v=bt(Ft(g,Le.Medium),[Fe,Je]);break;case"long":const Dt=Wt(g,"longTime"),$t=Wt(g,"longDate");v=bt(Ft(g,Le.Long),[Dt,$t]);break;case"full":const rn=Wt(g,"fullTime"),Qt=Wt(g,"fullDate");v=bt(Ft(g,Le.Full),[rn,Qt])}return v&&(nt[l][u]=v),v}function bt(g,u){return u&&(g=g.replace(/\{([^}]+)}/g,function(l,v){return null!=u&&v in u?u[v]:l})),g}function Ot(g,u,l="-",v,O){let he="";(g<0||O&&g<=0)&&(O?g=1-g:(g=-g,he=l));let Fe=String(g);for(;Fe.length<u;)Fe="0"+Fe;return v&&(Fe=Fe.slice(Fe.length-u)),he+Fe}function dn(g,u,l=0,v=!1,O=!1){return function(he,Fe){let Je=function _i(g,u){switch(g){case Vt.FullYear:return u.getFullYear();case Vt.Month:return u.getMonth();case Vt.Date:return u.getDate();case Vt.Hours:return u.getHours();case Vt.Minutes:return u.getMinutes();case Vt.Seconds:return u.getSeconds();case Vt.FractionalSeconds:return u.getMilliseconds();case Vt.Day:return u.getDay();default:throw new Error(`Unknown DateType value "${g}".`)}}(g,he);if((l>0||Je>-l)&&(Je+=l),g===Vt.Hours)0===Je&&-12===l&&(Je=12);else if(g===Vt.FractionalSeconds)return function fn(g,u){return Ot(g,3).substring(0,u)}(Je,u);const Dt=B(Fe,ze.MinusSign);return Ot(Je,u,Dt,v,O)}}function En(g,u,l=Ne.Format,v=!1){return function(O,he){return function Vn(g,u,l,v,O,he){switch(l){case Gt.Months:return function Yt(g,u,l){const v=(0,a.cg1)(g),he=z([v[a.wAp.MonthsFormat],v[a.wAp.MonthsStandalone]],u);return z(he,l)}(u,O,v)[g.getMonth()];case Gt.Days:return function wt(g,u,l){const v=(0,a.cg1)(g),he=z([v[a.wAp.DaysFormat],v[a.wAp.DaysStandalone]],u);return z(he,l)}(u,O,v)[g.getDay()];case Gt.DayPeriods:const Fe=g.getHours(),Je=g.getMinutes();if(he){const $t=function at(g){const u=(0,a.cg1)(g);return Bt(u),(u[a.wAp.ExtraData][2]||[]).map(v=>"string"==typeof v?Te(v):[Te(v[0]),Te(v[1])])}(u),rn=function te(g,u,l){const v=(0,a.cg1)(g);Bt(v);const he=z([v[a.wAp.ExtraData][0],v[a.wAp.ExtraData][1]],u)||[];return z(he,l)||[]}(u,O,v),Qt=$t.findIndex(Sn=>{if(Array.isArray(Sn)){const[vn,Dn]=Sn,Rn=Fe>=vn.hours&&Je>=vn.minutes,Qn=Fe<Dn.hours||Fe===Dn.hours&&Je<Dn.minutes;if(vn.hours<Dn.hours){if(Rn&&Qn)return!0}else if(Rn||Qn)return!0}else if(Sn.hours===Fe&&Sn.minutes===Je)return!0;return!1});if(-1!==Qt)return rn[Qt]}return function Mt(g,u,l){const v=(0,a.cg1)(g),he=z([v[a.wAp.DayPeriodsFormat],v[a.wAp.DayPeriodsStandalone]],u);return z(he,l)}(u,O,v)[Fe<12?0:1];case Gt.Eras:return function Lt(g,u){return z((0,a.cg1)(g)[a.wAp.Eras],u)}(u,v)[g.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${l}`)}}(O,he,g,u,l,v)}}function kt(g){return function(u,l,v){const O=-1*v,he=B(l,ze.MinusSign),Fe=O>0?Math.floor(O/60):Math.ceil(O/60);switch(g){case Rt.Short:return(O>=0?"+":"")+Ot(Fe,2,he)+Ot(Math.abs(O%60),2,he);case Rt.ShortGMT:return"GMT"+(O>=0?"+":"")+Ot(Fe,1,he);case Rt.Long:return"GMT"+(O>=0?"+":"")+Ot(Fe,2,he)+":"+Ot(Math.abs(O%60),2,he);case Rt.Extended:return 0===v?"Z":(O>=0?"+":"")+Ot(Fe,2,he)+":"+Ot(Math.abs(O%60),2,he);default:throw new Error(`Unknown zone width "${g}"`)}}}function q(g){return ut(g.getFullYear(),g.getMonth(),g.getDate()+(4-g.getDay()))}function Z(g,u=!1){return function(l,v){let O;if(u){const he=new Date(l.getFullYear(),l.getMonth(),1).getDay()-1,Fe=l.getDate();O=1+Math.floor((Fe+he)/7)}else{const he=q(l),Fe=function le(g){const u=ut(g,0,1).getDay();return ut(g,0,1+(u<=4?4:11)-u)}(he.getFullYear()),Je=he.getTime()-Fe.getTime();O=1+Math.round(Je/6048e5)}return Ot(O,g,B(v,ze.MinusSign))}}function Ie(g,u=!1){return function(l,v){return Ot(q(l).getFullYear(),g,B(v,ze.MinusSign),u)}}const ie={};function Qe(g,u){g=g.replace(/:/g,"");const l=Date.parse("Jan 01, 1970 00:00:00 "+g)/6e4;return isNaN(l)?u:l}function In(g){return g instanceof Date&&!isNaN(g.valueOf())}const Fn=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function li(g,u,l,v,O){const Fe=function er(g,u="-"){const l={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},v=g.split(";"),O=v[0],he=v[1],Fe=-1!==O.indexOf(".")?O.split("."):[O.substring(0,O.lastIndexOf("0")+1),O.substring(O.lastIndexOf("0")+1)],Je=Fe[0],Dt=Fe[1]||"";l.posPre=Je.substring(0,Je.indexOf("#"));for(let rn=0;rn<Dt.length;rn++){const Qt=Dt.charAt(rn);"0"===Qt?l.minFrac=l.maxFrac=rn+1:"#"===Qt?l.maxFrac=rn+1:l.posSuf+=Qt}const $t=Je.split(",");if(l.gSize=$t[1]?$t[1].length:0,l.lgSize=$t[2]||$t[1]?($t[2]||$t[1]).length:0,he){const rn=O.length-l.posPre.length-l.posSuf.length,Qt=he.indexOf("#");l.negPre=he.substring(0,Qt).replace(/'/g,""),l.negSuf=he.slice(Qt+rn).replace(/'/g,"")}else l.negPre=u+l.posPre,l.negSuf=l.posSuf;return l}(function $(g,u){return(0,a.cg1)(g)[a.wAp.NumberFormats][u]}(u,He.Currency),B(u,ze.MinusSign));return Fe.minFrac=function re(g){let u;const l=V[g];return l&&(u=l[2]),"number"==typeof u?u:2}(v),Fe.maxFrac=Fe.minFrac,function Zn(g,u,l,v,O,he,Fe=!1){let Je="",Dt=!1;if(isFinite(g)){let $t=function kr(g){let v,O,he,Fe,Je,u=Math.abs(g)+"",l=0;for((O=u.indexOf("."))>-1&&(u=u.replace(".","")),(he=u.search(/e/i))>0?(O<0&&(O=he),O+=+u.slice(he+1),u=u.substring(0,he)):O<0&&(O=u.length),he=0;"0"===u.charAt(he);he++);if(he===(Je=u.length))v=[0],O=1;else{for(Je--;"0"===u.charAt(Je);)Je--;for(O-=he,v=[],Fe=0;he<=Je;he++,Fe++)v[Fe]=Number(u.charAt(he))}return O>22&&(v=v.splice(0,21),l=O-1,O=1),{digits:v,exponent:l,integerLen:O}}(g);Fe&&($t=function $r(g){if(0===g.digits[0])return g;const u=g.digits.length-g.integerLen;return g.exponent?g.exponent+=2:(0===u?g.digits.push(0,0):1===u&&g.digits.push(0),g.integerLen+=2),g}($t));let rn=u.minInt,Qt=u.minFrac,Sn=u.maxFrac;if(he){const bi=he.match(Fn);if(null===bi)throw new Error(`${he} is not a valid digit info`);const Yi=bi[1],Ri=bi[3],Kr=bi[5];null!=Yi&&(rn=Br(Yi)),null!=Ri&&(Qt=Br(Ri)),null!=Kr?Sn=Br(Kr):null!=Ri&&Qt>Sn&&(Sn=Qt)}!function or(g,u,l){if(u>l)throw new Error(`The minimum number of digits after fraction (${u}) is higher than the maximum (${l}).`);let v=g.digits,O=v.length-g.integerLen;const he=Math.min(Math.max(u,O),l);let Fe=he+g.integerLen,Je=v[Fe];if(Fe>0){v.splice(Math.max(g.integerLen,Fe));for(let Qt=Fe;Qt<v.length;Qt++)v[Qt]=0}
1else{O=Math.max(0,O),g.integerLen=1,v.length=Math.max(1,Fe=he+1),v[0]=0;for(let Qt=1;Qt<Fe;Qt++)v[Qt]=0}if(Je>=5)if(Fe-1<0){for(let Qt=0;Qt>Fe;Qt--)v.unshift(0),g.integerLen++;v.unshift(1),g.integerLen++}else v[Fe-1]++;for(;O<Math.max(0,he);O++)v.push(0);let Dt=0!==he;const $t=u+g.integerLen,rn=v.reduceRight(function(Qt,Sn,vn,Dn){return Dn[vn]=(Sn+=Qt)<10?Sn:Sn-10,Dt&&(0===Dn[vn]&&vn>=$t?Dn.pop():Dt=!1),Sn>=10?1:0},0);rn&&(v.unshift(rn),g.integerLen++)}($t,Qt,Sn);let vn=$t.digits,Dn=$t.integerLen;const Rn=$t.exponent;let Qn=[];for(Dt=vn.every(bi=>!bi);Dn<rn;Dn++)vn.unshift(0);for(;Dn<0;Dn++)vn.unshift(0);Dn>0?Qn=vn.splice(Dn,vn.length):(Qn=vn,vn=[0]);const ci=[];for(vn.length>=u.lgSize&&ci.unshift(vn.splice(-u.lgSize,vn.length).join(""));vn.length>u.gSize;)ci.unshift(vn.splice(-u.gSize,vn.length).join(""));vn.length&&ci.unshift(vn.join("")),Je=ci.join(B(l,v)),Qn.length&&(Je+=B(l,O)+Qn.join("")),Rn&&(Je+=B(l,ze.Exponential)+"+"+Rn)}else Je=B(l,ze.Infinity);return Je=g<0&&!Dt?u.negPre+Je+u.negSuf:u.posPre+Je+u.posSuf,Je}(g,Fe,u,ze.CurrencyGroup,ze.CurrencyDecimal,O).replace("\xa4",l).replace("\xa4","").trim()}function Br(g){const u=parseInt(g);if(isNaN(u))throw new Error("Invalid integer literal when parsing "+g);return u}function it(g,u,l){return(0,a.dwT)(g,u,l)}function St(g,u){u=encodeURIComponent(u);for(const l of g.split(";")){const v=l.indexOf("="),[O,he]=-1==v?[l,""]:[l.slice(0,v),l.slice(v+1)];if(O.trim()===u)return decodeURIComponent(he)}return null}let A=(()=>{class g{constructor(l,v,O,he){this._iterableDiffers=l,this._keyValueDiffers=v,this._ngEl=O,this._renderer=he,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(l){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof l?l.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(l){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof l?l.split(/\s+/):l,this._rawClass&&((0,a.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const l=this._iterableDiffer.diff(this._rawClass);l&&this._applyIterableChanges(l)}else if(this._keyValueDiffer){const l=this._keyValueDiffer.diff(this._rawClass);l&&this._applyKeyValueChanges(l)}}_applyKeyValueChanges(l){l.forEachAddedItem(v=>this._toggleClass(v.key,v.currentValue)),l.forEachChangedItem(v=>this._toggleClass(v.key,v.currentValue)),l.forEachRemovedItem(v=>{v.previousValue&&this._toggleClass(v.key,!1)})}_applyIterableChanges(l){l.forEachAddedItem(v=>{if("string"!=typeof v.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,a.AaK)(v.item)}`);this._toggleClass(v.item,!0)}),l.forEachRemovedItem(v=>this._toggleClass(v.item,!1))}_applyClasses(l){l&&(Array.isArray(l)||l instanceof Set?l.forEach(v=>this._toggleClass(v,!0)):Object.keys(l).forEach(v=>this._toggleClass(v,!!l[v])))}_removeClasses(l){l&&(Array.isArray(l)||l instanceof Set?l.forEach(v=>this._toggleClass(v,!1)):Object.keys(l).forEach(v=>this._toggleClass(v,!1)))}_toggleClass(l,v){(l=l.trim())&&l.split(/\s+/g).forEach(O=>{v?this._renderer.addClass(this._ngEl.nativeElement,O):this._renderer.removeClass(this._ngEl.nativeElement,O)})}}return g.\u0275fac=function(l){return new(l||g)(a.Y36(a.ZZ4),a.Y36(a.aQg),a.Y36(a.SBq),a.Y36(a.Qsj))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),g})();class on{constructor(u,l,v,O){this.$implicit=u,this.ngForOf=l,this.index=v,this.count=O}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ln=(()=>{class g{constructor(l,v,O){this._viewContainer=l,this._template=v,this._differs=O,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(l){this._ngForOf=l,this._ngForOfDirty=!0}set ngForTrackBy(l){this._trackByFn=l}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(l){l&&(this._template=l)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const l=this._ngForOf;!this._differ&&l&&(this._differ=this._differs.find(l).create(this.ngForTrackBy))}if(this._differ){const l=this._differ.diff(this._ngForOf);l&&this._applyChanges(l)}}_applyChanges(l){const v=this._viewContainer;l.forEachOperation((O,he,Fe)=>{if(null==O.previousIndex)v.createEmbeddedView(this._template,new on(O.item,this._ngForOf,-1,-1),null===Fe?void 0:Fe);else if(null==Fe)v.remove(null===he?void 0:he);else if(null!==he){const Je=v.get(he);v.move(Je,Fe),si(Je,O)}});for(let O=0,he=v.length;O<he;O++){const Je=v.get(O).context;Je.index=O,Je.count=he,Je.ngForOf=this._ngForOf}l.forEachIdentityChange(O=>{si(v.get(O.currentIndex),O)})}static ngTemplateContextGuard(l,v){return!0}}return g.\u0275fac=function(l){return new(l||g)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(a.ZZ4))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),g})();function si(g,u){g.context.$implicit=u.item}let Xn=(()=>{class g{constructor(l,v){this._viewContainer=l,this._context=new Fi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenView
1Ref=null,this._elseViewRef=null,this._thenTemplateRef=v}set ngIf(l){this._context.$implicit=this._context.ngIf=l,this._updateView()}set ngIfThen(l){Ni("ngIfThen",l),this._thenTemplateRef=l,this._thenViewRef=null,this._updateView()}set ngIfElse(l){Ni("ngIfElse",l),this._elseTemplateRef=l,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 ngTemplateContextGuard(l,v){return!0}}return g.\u0275fac=function(l){return new(l||g)(a.Y36(a.s_b),a.Y36(a.Rgc))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),g})();class Fi{constructor(){this.$implicit=null,this.ngIf=null}}function Ni(g,u){if(u&&!u.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,a.AaK)(u)}'.`)}class Yn{constructor(u,l){this._viewContainerRef=u,this._templateRef=l,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(u){u&&!this._created?this.create():!u&&this._created&&this.destroy()}}let ar=(()=>{class g{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(l){this._ngSwitch=l,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(l){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(l)}_matchCase(l){const v=l==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||v,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),v}_updateDefaultCases(l){if(this._defaultViews&&l!==this._defaultUsed){this._defaultUsed=l;for(let v=0;v<this._defaultViews.length;v++)this._defaultViews[v].enforceState(l)}}}return g.\u0275fac=function(l){return new(l||g)},g.\u0275dir=a.lG2({type:g,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),g})(),Gr=(()=>{class g{constructor(l,v,O){this.ngSwitch=O,O._addCase(),this._view=new Yn(l,v)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return g.\u0275fac=function(l){return new(l||g)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(ar,9))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),g})(),Uo=(()=>{class g{constructor(l,v,O){O._addDefault(new Yn(l,v))}}return g.\u0275fac=function(l){return new(l||g)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(ar,9))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngSwitchDefault",""]],standalone:!0}),g})(),xr=(()=>{class g{constructor(l){this._viewContainerRef=l,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(l){if(l.ngTemplateOutlet||l.ngTemplateOutletInjector){const v=this._viewContainerRef;if(this._viewRef&&v.remove(v.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:O,ngTemplateOutletContext:he,ngTemplateOutletInjector:Fe}=this;this._viewRef=v.createEmbeddedView(O,he,Fe?{injector:Fe}:void 0)}else this._viewRef=null}else this._viewRef&&l.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return g.\u0275fac=function(l){return new(l||g)(a.Y36(a.s_b))},g.\u0275dir=a.lG2({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[a.TTD]}),g})();function Li(g,u){return new a.vHH(2100,!1)}class pi{createSubscription(u,l){return u.subscribe({next:l,error:v=>{throw v}})}dispose(u){u.unsubscribe()}}class yo{createSubscription(u,l){return u.then(l,v=>{throw v})}dispose(u){}}const Ir=new yo,Di=new pi;let qi=(()=>{class g{constructor(l){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=l}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(l){return this._obj?l!==this._obj?(this._dispose(),this.transform(l)):this._latestValue:(l&&this._subscribe(l),this._latestValue)}_subscribe(l){this._obj=l,this._strategy=this._selectStrategy(l),this._subscription=this._strategy.createSubscription(l,v=>this._updateLatestValue(l,v))}_selectStrategy(l){if((0,a.QGY)(l))return Ir;if((0,a.F4k)(l))return Di;throw Li()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(l,v){l===this._obj&&(this._latestValue=v,this._ref.markForCheck())}}
1return g.\u0275fac=function(l){return new(l||g)(a.Y36(a.sBO,16))},g.\u0275pipe=a.Yjl({name:"async",type:g,pure:!1,standalone:!0}),g})();const hr=new a.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),To=new a.OlP("DATE_PIPE_DEFAULT_OPTIONS");let mr=(()=>{class g{constructor(l,v,O){this.locale=l,this.defaultTimezone=v,this.defaultOptions=O}transform(l,v,O,he){if(null==l||""===l||l!=l)return null;try{return Zt(l,v??this.defaultOptions?.dateFormat??"mediumDate",he||this.locale,O??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Fe){throw Li()}}}return g.\u0275fac=function(l){return new(l||g)(a.Y36(a.soG,16),a.Y36(hr,24),a.Y36(To,24))},g.\u0275pipe=a.Yjl({name:"date",type:g,pure:!0,standalone:!0}),g})(),Co=(()=>{class g{constructor(l,v="USD"){this._locale=l,this._defaultCurrencyCode=v}transform(l,v=this._defaultCurrencyCode,O="symbol",he,Fe){if(!function ho(g){return!(null==g||""===g||g!=g)}(l))return null;Fe=Fe||this._locale,"boolean"==typeof O&&(O=O?"symbol":"code");let Je=v||this._defaultCurrencyCode;"code"!==O&&(Je="symbol"===O||"symbol-narrow"===O?function xe(g,u,l="en"){const v=function st(g){return(0,a.cg1)(g)[a.wAp.Currencies]}(l)[g]||V[g]||[],O=v[1];return"narrow"===u&&"string"==typeof O?O:v[0]||g}(Je,"symbol"===O?"wide":"narrow",Fe):O);try{return li(function fr(g){if("string"==typeof g&&!isNaN(Number(g)-parseFloat(g)))return Number(g);if("number"!=typeof g)throw new Error(`${g} is not a number`);return g}(l),Fe,Je,v,he)}catch(Dt){throw Li()}}}return g.\u0275fac=function(l){return new(l||g)(a.Y36(a.soG,16),a.Y36(a.EJc,16))},g.\u0275pipe=a.Yjl({name:"currency",type:g,pure:!0,standalone:!0}),g})();let vr=(()=>{class g{}return g.\u0275fac=function(l){return new(l||g)},g.\u0275mod=a.oAB({type:g}),g.\u0275inj=a.cJS({}),g})();const Hr="browser";function Kt(g){return g===Hr}function nn(g){return"server"===g}let Nn=(()=>{class g{}return g.\u0275prov=(0,a.Yz7)({token:g,providedIn:"root",factory:()=>new Ki((0,a.LFG)(R),window)}),g})();class Ki{constructor(u,l){this.document=u,this.window=l,this.offset=()=>[0,0]}setOffset(u){this.offset=Array.isArray(u)?()=>u:u}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(u){this.supportsScrolling()&&this.window.scrollTo(u[0],u[1])}scrollToAnchor(u){if(!this.supportsScrolling())return;const l=function tr(g,u){const l=g.getElementById(u)||g.getElementsByName(u)[0];if(l)return l;if("function"==typeof g.createTreeWalker&&g.body&&(g.body.createShadowRoot||g.body.attachShadow)){const v=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let O=v.currentNode;for(;O;){const he=O.shadowRoot;if(he){const Fe=he.getElementById(u)||he.querySelector(`[name="${u}"]`);if(Fe)return Fe}O=v.nextNode()}}return null}(this.document,u);l&&(this.scrollToElement(l),l.focus())}setHistoryScrollRestoration(u){if(this.supportScrollRestoration()){const l=this.window.history;l&&l.scrollRestoration&&(l.scrollRestoration=u)}}scrollToElement(u){const l=u.getBoundingClientRect(),v=l.left+this.window.pageXOffset,O=l.top+this.window.pageYOffset,he=this.offset();this.window.scrollTo(v-he[0],O-he[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const u=Kn(this.window.history)||Kn(Object.getPrototypeOf(this.window.history));return!(!u||!u.writable&&!u.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Kn(g){return Object.getOwnPropertyDescriptor(g,"scrollRestoration")}class xi{}},529:(Pt,Ve,f)=>{"use strict";f.d(Ve,{JF:()=>kt,TP:()=>Lt,UA:()=>ze,eN:()=>qe});var a=f(6895),p=f(4650),C=f(9646),Y=f(9751),e=f(4351),ee=f(9300),R=f(4004);class ae{}class X{}class W{constructor(q){this.normalizedNames=new Map,this.lazyUpdate=null,q?this.lazyInit="string"==typeof q?()=>{this.headers=new Map,q.split("\n").forEach(Z=>{const Ie=Z.indexOf(":");if(Ie>0){const ie=Z.slice(0,Ie),we=ie.toLowerCase(),Qe=Z.slice(Ie+1).trim();this.maybeSetNormalizedName(ie,we),this.headers.has(we)?this.headers.get(we).push(Qe):this.headers.set(we,[Qe])}})}:()=>{this.headers=new Map,Object.keys(q).forEach(Z=>{let Ie=q[Z];const ie=Z.toLowerCase();"string"==typeof Ie&&(Ie=[Ie]),Ie.length>0&&(this.headers.set(ie,Ie),this.maybeSetNormalizedName(Z,ie))})}:this.headers=new Map}has(q){return this.init(),this.headers.has(q.toLowerCase())}get(q){this.init();const Z=this.headers.get(q.toLowerCase());return Z&&Z.length>0?Z[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(q){return this.init(),this.headers.get(q.toLowerCase())||null}append(q,Z){return this.clone({name:q,value:Z,op:"a"})}set(q,Z){return this.clone({name:q,value:Z,op:"s"})}delete(q,Z){return this.clone({name:q,value:Z,op:"d"})}maybeSetNormalizedName(q,Z){this.normalizedNames.has(Z)||this.normalizedNames.set(Z,q)}init(){this.lazyInit&&(this.lazyInit instanceof W?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(q=>this.applyUpdate(q)),this.lazyUpdate=null))}
vendor: 10,804 bytes, line 1
1copyFrom(q){q.init(),Array.from(q.headers.keys()).forEach(Z=>{this.headers.set(Z,q.headers.get(Z)),this.normalizedNames.set(Z,q.normalizedNames.get(Z))})}clone(q){const Z=new W;return Z.lazyInit=this.lazyInit&&this.lazyInit instanceof W?this.lazyInit:this,Z.lazyUpdate=(this.lazyUpdate||[]).concat([q]),Z}applyUpdate(q){const Z=q.name.toLowerCase();switch(q.op){case"a":case"s":let Ie=q.value;if("string"==typeof Ie&&(Ie=[Ie]),0===Ie.length)return;this.maybeSetNormalizedName(q.name,Z);const ie=("a"===q.op?this.headers.get(Z):void 0)||[];ie.push(...Ie),this.headers.set(Z,ie);break;case"d":const we=q.value;if(we){let Qe=this.headers.get(Z);if(!Qe)return;Qe=Qe.filter(Ct=>-1===we.indexOf(Ct)),0===Qe.length?(this.headers.delete(Z),this.normalizedNames.delete(Z)):this.headers.set(Z,Qe)}else this.headers.delete(Z),this.normalizedNames.delete(Z)}}forEach(q){this.init(),Array.from(this.normalizedNames.keys()).forEach(Z=>q(this.normalizedNames.get(Z),this.headers.get(Z)))}}class ce{encodeKey(q){return $e(q)}encodeValue(q){return $e(q)}decodeKey(q){return decodeURIComponent(q)}decodeValue(q){return decodeURIComponent(q)}}const ge=/%(\d[a-f0-9])/gi,Re={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $e(le){return encodeURIComponent(le).replace(ge,(q,Z)=>Re[Z]??q)}function fe(le){return`${le}`}class ue{constructor(q={}){if(this.updates=null,this.cloneFrom=null,this.encoder=q.encoder||new ce,q.fromString){if(q.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function _e(le,q){const Z=new Map;return le.length>0&&le.replace(/^\?/,"").split("&").forEach(ie=>{const we=ie.indexOf("="),[Qe,Ct]=-1==we?[q.decodeKey(ie),""]:[q.decodeKey(ie.slice(0,we)),q.decodeValue(ie.slice(we+1))],mt=Z.get(Qe)||[];mt.push(Ct),Z.set(Qe,mt)}),Z}(q.fromString,this.encoder)}else q.fromObject?(this.map=new Map,Object.keys(q.fromObject).forEach(Z=>{const Ie=q.fromObject[Z],ie=Array.isArray(Ie)?Ie.map(fe):[fe(Ie)];this.map.set(Z,ie)})):this.map=null}has(q){return this.init(),this.map.has(q)}get(q){this.init();const Z=this.map.get(q);return Z?Z[0]:null}getAll(q){return this.init(),this.map.get(q)||null}keys(){return this.init(),Array.from(this.map.keys())}append(q,Z){return this.clone({param:q,value:Z,op:"a"})}appendAll(q){const Z=[];return Object.keys(q).forEach(Ie=>{const ie=q[Ie];Array.isArray(ie)?ie.forEach(we=>{Z.push({param:Ie,value:we,op:"a"})}):Z.push({param:Ie,value:ie,op:"a"})}),this.clone(Z)}set(q,Z){return this.clone({param:q,value:Z,op:"s"})}delete(q,Z){return this.clone({param:q,value:Z,op:"d"})}toString(){return this.init(),this.keys().map(q=>{const Z=this.encoder.encodeKey(q);return this.map.get(q).map(Ie=>Z+"="+this.encoder.encodeValue(Ie)).join("&")}).filter(q=>""!==q).join("&")}clone(q){const Z=new ue({encoder:this.encoder});return Z.cloneFrom=this.cloneFrom||this,Z.updates=(this.updates||[]).concat(q),Z}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(q=>this.map.set(q,this.cloneFrom.map.get(q))),this.updates.forEach(q=>{switch(q.op){case"a":case"s":const Z=("a"===q.op?this.map.get(q.param):void 0)||[];Z.push(fe(q.value)),this.map.set(q.param,Z);break;case"d":if(void 0===q.value){this.map.delete(q.param);break}{let Ie=this.map.get(q.param)||[];const ie=Ie.indexOf(fe(q.value));-1!==ie&&Ie.splice(ie,1),Ie.length>0?this.map.set(q.param,Ie):this.map.delete(q.param)}}}),this.cloneFrom=this.updates=null)}}class se{constructor(){this.map=new Map}set(q,Z){return this.map.set(q,Z),this}get(q){return this.map.has(q)||this.map.set(q,q.defaultValue()),this.map.get(q)}delete(q){return this.map.delete(q),this}has(q){return this.map.has(q)}keys(){return this.map.keys()}}function ne(le){return typeof ArrayBuffer<"u"&&le instanceof ArrayBuffer}function De(le){return typeof Blob<"u"&&le instanceof Blob}function Ue(le){return typeof FormData<"u"&&le instanceof FormData}class He{constructor(q,Z,Ie,ie){let we;if(this.url=Z,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=q.toUpperCase(),function j(le){switch(le){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ie?(this.body=void 0!==Ie?Ie:null,we=ie):we=Ie,we&&(this.reportProgress=!!we.reportProgress,this.withCredentials=!!we.withCredentials,we.responseType&&(this.responseType=we.responseType),we.headers&&(this.headers=we.headers),we.context&&(this.context=we.context),we.params&&(this.params=we.params)),this.headers||(this.headers=new W),this.context||(this.context=new se),this.params){const Qe=this.params.toString();if(0===Qe.length)this.urlWithParams=Z;else{const Ct=Z.indexOf("?");this.urlWithParams=Z+(-1===Ct?"?":Ct<Z.length-1?"&":"")+Qe}}else this.params=new ue,this.urlWithParams=Z}serializeBody(){return null===this.body?null:ne(this.body)||De(this.body)||Ue(this.body)||function V(le){return typeof URLSearchParams<"u"&&le instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof ue?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ue(this.body)?null:De(this.body)?this.body.type||null:ne(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ue?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(q={}){const Z=q.method||this.method,Ie=q.url||this.url,ie=q.responseType||this.responseType,we=void 0!==q.body?q.body:this.body,Qe=void 0!==q.withCredentials?q.withCredentials:this.withCredentials,Ct=void 0!==q.reportProgress?q.reportProgress:this.reportProgress;let mt=q.headers||this.headers,sn=q.params||this.params;const An=q.context??this.context;return void 0!==q.setHeaders&&(mt=Object.keys(q.setHeaders).reduce((In,Fn)=>In.set(Fn,q.setHeaders[Fn]),mt)),q.setParams&&(sn=Object.keys(q.setParams).reduce((In,Fn)=>In.set(Fn,q.setParams[Fn]),sn)),new He(Z,Ie,we,{params:sn,headers:mt,context:An,reportProgress:Ct,responseType:ie,withCredentials:Qe})}}var Be=(()=>((Be=Be||{})[Be.Sent=0]="Sent",Be[Be.UploadProgress=1]="UploadProgress",Be[Be.ResponseHeader=2]="ResponseHeader",Be[Be.DownloadProgress=3]="DownloadProgress",Be[Be.Response=4]="Response",Be[Be.User=5]="User",Be))();class Ne{constructor(q,Z=200,Ie="OK"){this.headers=q.headers||new W,this.status=void 0!==q.status?q.status:Z,this.statusText=q.statusText||Ie,this.url=q.url||null,this.ok=this.status>=200&&this.status<300}}class me extends Ne{constructor(q={}){super(q),this.type=Be.ResponseHeader}clone(q={}){return new me({headers:q.headers||this.headers,status:void 0!==q.status?q.status:this.status,statusText:q.statusText||this.statusText,url:q.url||this.url||void 0})}}class Le extends Ne{constructor(q={}){super(q),this.type=Be.Response,this.body=void 0!==q.body?q.body:null}clone(q={}){return new Le({body:void 0!==q.body?q.body:this.body,headers:q.headers||this.headers,status:void 0!==q.status?q.status:this.status,statusText:q.statusText||this.statusText,url:q.url||this.url||void 0})}}class ze extends Ne{constructor(q){super(q,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${q.url||"(unknown url)"}`:`Http failure response for ${q.url||"(unknown url)"}: ${q.status} ${q.statusText}`,this.error=q.error||null}}function dt(le,q){return{body:q,headers:le.headers,context:le.context,observe:le.observe,params:le.params,reportProgress:le.reportProgress,responseType:le.responseType,withCredentials:le.withCredentials}}let qe=(()=>{class le{constructor(Z){this.handler=Z}request(Z,Ie,ie={}){let we;if(Z instanceof He)we=Z;else{let mt,sn;mt=ie.headers instanceof W?ie.headers:new W(ie.headers),ie.params&&(sn=ie.params instanceof ue?ie.params:new ue({fromObject:ie.params})),we=new He(Z,Ie,void 0!==ie.body?ie.body:null,{headers:mt,context:ie.context,params:sn,reportProgress:ie.reportProgress,responseType:ie.responseType||"json",withCredentials:ie.withCredentials})}const Qe=(0,C.of)(we).pipe((0,e.b)(mt=>this.handler.handle(mt)));if(Z instanceof He||"events"===ie.observe)return Qe;const Ct=Qe.pipe((0,ee.h)(mt=>mt instanceof Le));switch(ie.observe||"body"){case"body":switch(we.responseType){case"arraybuffer":return Ct.pipe((0,R.U)(mt=>{if(null!==mt.body&&!(mt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return mt.body}));case"blob":return Ct.pipe((0,R.U)(mt=>{if(null!==mt.body&&!(mt.body instanceof Blob))throw new Error("Response is not a Blob.");return mt.body}));case"text":return Ct.pipe((0,R.U)(mt=>{if(null!==mt.body&&"string"!=typeof mt.body)throw new Error("Response is not a string.");return mt.body}));default:return Ct.pipe((0,R.U)(mt=>mt.body))}case"response":return Ct;default:throw new Error(`Unreachable: unhandled observe type ${ie.observe}}`)}}delete(Z,Ie={}){return this.request("DELETE",Z,Ie)}get(Z,Ie={}){return this.request("GET",Z,Ie)}head(Z,Ie={}){return this.request("HEAD",Z,Ie)}jsonp(Z,Ie){return this.request("JSONP",Z,{params:(new ue).append(Ie,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Z,Ie={}){return this.request("OPTIONS",Z,Ie)}patch(Z,Ie,ie={}){return this.request("PATCH",Z,dt(ie,Ie))}post(Z,Ie,ie={}){return this.request("POST",Z,dt(ie,Ie))}put(Z,Ie,ie={}){return this.request("PUT",Z,dt(ie,Ie))}}return le.\u0275fac=function(Z){return new(Z||le)(p.LFG(ae))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac}),le})();function Mt(le,q){return q(le)}function wt(le,q){return(Z,Ie)=>q.intercept(Z,{handle:ie=>le(ie,Ie)})}const Lt=new p.OlP("HTTP_INTERCEPTORS"),ft=new p.OlP("HTTP_INTERCEPTOR_FNS");function It(){let le=null;return(q,Z)=>(null===le&&(le=((0,p.f3M)(Lt,{optional:!0})??[]).reduceRight(wt,Mt)),le(q,Z))}let Ge=(()=>{class le extends ae{constructor(Z,Ie){super(),this.backend=Z,this.injector=Ie,this.chain=null}handle(Z){if(null===this.chain){const Ie=Array.from(new Set(this.injector.get(ft)));this.chain=Ie.reduceRight((ie,we)=>function Yt(le,q,Z){return(Ie,ie)=>Z.runInContext(()=>q(Ie,we=>le(we,ie)))}(ie,we,this.injector),Mt)}return this.chain(Z,Ie=>this.backend.handle(Ie))}}return le.\u0275fac=function(Z){return new(Z||le)(p.LFG(X),p.LFG(p.lqb))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac}),le})();const te=/^\)\]\}',?\n/;let z=(()=>{class le{constructor(Z){this.xhrFactory=Z}handle(Z){if("JSONP"===Z.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Y.y(Ie=>{const ie=this.xhrFactory.build();if(ie.open(Z.method,Z.urlWithParams),Z.withCredentials&&(ie.withCredentials=!0),Z.headers.forEac
1h((ln,ct)=>ie.setRequestHeader(ln,ct.join(","))),Z.headers.has("Accept")||ie.setRequestHeader("Accept","application/json, text/plain, */*"),!Z.headers.has("Content-Type")){const ln=Z.detectContentTypeHeader();null!==ln&&ie.setRequestHeader("Content-Type",ln)}if(Z.responseType){const ln=Z.responseType.toLowerCase();ie.responseType="json"!==ln?ln:"text"}const we=Z.serializeBody();let Qe=null;const Ct=()=>{if(null!==Qe)return Qe;const ln=ie.statusText||"OK",ct=new W(ie.getAllResponseHeaders()),rt=function N(le){return"responseURL"in le&&le.responseURL?le.responseURL:/^X-Request-URL:/m.test(le.getAllResponseHeaders())?le.getResponseHeader("X-Request-URL"):null}(ie)||Z.url;return Qe=new me({headers:ct,status:ie.status,statusText:ln,url:rt}),Qe},mt=()=>{let{headers:ln,status:ct,statusText:rt,url:Ke}=Ct(),_t=null;204!==ct&&(_t=typeof ie.response>"u"?ie.responseText:ie.response),0===ct&&(ct=_t?200:0);let Ht=ct>=200&&ct<300;if("json"===Z.responseType&&"string"==typeof _t){const xn=_t;_t=_t.replace(te,"");try{_t=""!==_t?JSON.parse(_t):null}catch(Hn){_t=xn,Ht&&(Ht=!1,_t={error:Hn,text:_t})}}Ht?(Ie.next(new Le({body:_t,headers:ln,status:ct,statusText:rt,url:Ke||void 0})),Ie.complete()):Ie.error(new ze({error:_t,headers:ln,status:ct,statusText:rt,url:Ke||void 0}))},sn=ln=>{const{url:ct}=Ct(),rt=new ze({error:ln,status:ie.status||0,statusText:ie.statusText||"Unknown Error",url:ct||void 0});Ie.error(rt)};let An=!1;const In=ln=>{An||(Ie.next(Ct()),An=!0);let ct={type:Be.DownloadProgress,loaded:ln.loaded};ln.lengthComputable&&(ct.total=ln.total),"text"===Z.responseType&&!!ie.responseText&&(ct.partialText=ie.responseText),Ie.next(ct)},Fn=ln=>{let ct={type:Be.UploadProgress,loaded:ln.loaded};ln.lengthComputable&&(ct.total=ln.total),Ie.next(ct)};return ie.addEventListener("load",mt),ie.addEventListener("error",sn),ie.addEventListener("timeout",sn),ie.addEventListener("abort",sn),Z.reportProgress&&(ie.addEventListener("progress",In),null!==we&&ie.upload&&ie.upload.addEventListener("progress",Fn)),ie.send(we),Ie.next({type:Be.Sent}),()=>{ie.removeEventListener("error",sn),ie.removeEventListener("abort",sn),ie.removeEventListener("load",mt),ie.removeEventListener("timeout",sn),Z.reportProgress&&(ie.removeEventListener("progress",In),null!==we&&ie.upload&&ie.upload.removeEventListener("progress",Fn)),ie.readyState!==ie.DONE&&ie.abort()}})}}return le.\u0275fac=function(Z){return new(Z||le)(p.LFG(a.JF))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac}),le})();const Te=new p.OlP("XSRF_ENABLED"),xe="XSRF-TOKEN",T=new p.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>xe}),re="X-XSRF-TOKEN",Oe=new p.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>re});class nt{}let vt=(()=>{class le{constructor(Z,Ie,ie){this.doc=Z,this.platform=Ie,this.cookieName=ie,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Z=this.doc.cookie||"";return Z!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,a.Mx)(Z,this.cookieName),this.lastCookieString=Z),this.lastToken}}return le.\u0275fac=function(Z){return new(Z||le)(p.LFG(a.K0),p.LFG(p.Lbi),p.LFG(T))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac}),le})();function Rt(le,q){const Z=le.url.toLowerCase();if(!(0,p.f3M)(Te)||"GET"===le.method||"HEAD"===le.method||Z.startsWith("http://")||Z.startsWith("https://"))return q(le);const Ie=(0,p.f3M)(nt).getToken(),ie=(0,p.f3M)(Oe);return null!=Ie&&!le.headers.has(ie)&&(le=le.clone({headers:le.headers.set(ie,Ie)})),q(le)}var Gt=(()=>((Gt=Gt||{})[Gt.Interceptors=0]="Interceptors",Gt[Gt.LegacyInterceptors=1]="LegacyInterceptors",Gt[Gt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Gt[Gt.NoXsrfProtection=3]="NoXsrfProtection",Gt[Gt.JsonpSupport=4]="JsonpSupport",Gt[Gt.RequestsMadeViaParent=5]="RequestsMadeViaParent",Gt))();function Zt(le,q){return{\u0275kind:le,\u0275providers:q}}function ut(...le){const q=[qe,z,Ge,{provide:ae,useExisting:Ge},{provide:X,useExisting:z},{provide:ft,useValue:Rt,multi:!0},{provide:Te,useValue:!0},{provide:nt,useClass:vt}];for(const Z of le)q.push(...Z.\u0275providers);return(0,p.MR2)(q)}const bt=new p.OlP("LEGACY_INTERCEPTOR_FN");function fn({cookieName:le,headerName:q}){const Z=[];return void 0!==le&&Z.push({provide:T,useValue:le}),void 0!==q&&Z.push({provide:Oe,useValue:q}),Zt(Gt.CustomXsrfConfiguration,Z)}let kt=(()=>{class le{}return le.\u0275fac=function(Z){return new(Z||le)},le.\u0275mod=p.oAB({type:le}),le.\u0275inj=p.cJS({providers:[ut(Zt(Gt.LegacyInterceptors,[{provide:bt,useFactory:It},{provide:ft,useExisting:bt,multi:!0}]),fn({cookieName:xe,headerName:re}))]}),le})()},4650:(Pt,Ve,f)=>{"use strict";f.d(Ve,{$8M:()=>Ae,$Z:()=>Kf,AFp:()=>K_,ALo:()=>f_,AaK:()=>ae,AsE:()=>Rm,BQk:()=>cu,CHM:()=>Yo,CRH:()=>E_,CZH:()=>wu,CqO:()=>kp,D6c:()=>Cx,DdM:()=>a_,EJc:()=>B1,EiD:()=>Pd,EpF:()=>Ap,F$t:()=>Pp,F4k:()=>Sp,FYo:()=>Wd,FiY:()=>zn,Gf:()=>C_,GfV:()=>Kd,GkF:()=>ym,Gpc:()=>de,Gre:()=>hg,Hsn:()=>Fp,IIB:()=>O1,Ikx:()=>Pm,JOm:()=>Na,JVY:()=>lh,JZr:()=>$e,KtG:()=>Ji,L6k:()=>ch,LAX:()=>dh,LFG:()=>Ze,LSH:()=>fc,Lbi:()=>F1,Lck:()=>ky,MAs:()=>Mp,MMx:()=>zm,MR2:()=>vl,NdJ:()=>wm,O4$:()=>v,OlP:()=>ii,Oqu:()=>Om,P3R:()=>Ld,PXZ:()=>ex,PiD:()=>oi,Q6J:()=>_m,QGY:()=>xm,QP$:()=>it,QbO:()=>N1,Qsj:()=>$h,R0b:()=>Ba,RDi:()=>th,Rgc:()=>Hc,SBq:()=>Ys,Sil:()=>U1,Suo:()=>D_,TTD:()=>Kn,TgZ:()=>au,Tol:()=>Jp,Udp:()=>km,VKq:()=>s_,W1O:()=>k_,WFA:()=>Cm,WLB:()=>l_,X6Q:()=>ox,XFs:()=>xe,Xpm:()=>Zn,Xts:()=>pc,Y36:()=>El,YKP:()=>Jg,YNc:()=>Ep,Yjl:()=>Br,Yz7:()=>B,Z0I:()=>Xe,ZZ4:()=>gf,_Bn:()=>Qg,_UZ:()=>vm,_Vd:()=>zs,_c5:()=>xx,_uU:()=>rg,aQg:()=>_f,c2e:()=>L1,cJS:()=>ve,cg1:()=>Nm,d8E:()=>Fm,dDg:()=>Q1,dqk:()=>Rt,dwT:()=>Tv,eBb:()=>gl,eFA:()=>c0,ekj:()=>Tm,eoX:()=>a0,f3M:()=>le,g9A:()=>J_,h0i:()=>Bl,hGG:()=>wx,hij:()=>hu,i9L:()=>I,iGM:()=>w_,ifc:()=>In,ip1:()=>W_,jDz:()=>Xg,kL8:()=>wg,kYT:()=>$r,kcU:()=>he,lG2:()=>or,lcZ:()=>p_,lqb:()=>Cs,lri:()=>r0,mCW:()=>_l,n5z:()=>b,n_E:()=>_u,oAB:()=>er,oJD:()=>Fd,oxw:()=>Rp,pB0:()=>Za,pfw:()=>P1,q3G:()=>Yr,q4F:()=>Qd,qLn:()=>Gs,qOj:()=>mm,qZA:()=>su,qzn:()=>ks,rWj:()=>o0,r_U:()=>R1,s9C:()=>Dm,sBO:()=>ax,sIi:()=>Oc,s_b:()=>vu,soG:()=>Cu,tb:()=>q_,tp0:()=>ai,uIk:()=>gm,vHH:()=>fe,vpe:()=>ls,wAp:()=>ei,xi3:()=>g_,xp6:()=>lo,ynx:()=>lu,z2F:()=>Du,z3N:()=>Ga,zSh:()=>vc,zs3:()=>Qs});var a=f(7579),p=f(727),C=f(9751),Y=f(6451),e=f(3099);function ee(t){for(let n in t)if(t[n]===ee)return n;throw Error("Could not find renamed property on target object.")}function R(t,n){for(const i in n)n.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=n[i])}function ae(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(ae).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const i=n.indexOf("\n");return-1===i?n:n.substring(0,i)}function X(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const W=ee({__forward_ref__:ee});function de(t){return t.__forward_ref__=de,t.toString=function(){return ae(this())},t}function ce(t){return _e(t)?t():t}function _e(t){return"function"==typeof t&&t.hasOwnProperty(W)&&t.__forward_ref__===de}function ge(t){return t&&!!t.\u0275providers}const $e="https://g.co/ng/security#xss";
1class fe extends Error{constructor(n,i){super(function ue(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}(n,i)),this.code=n}}function be(t){return"string"==typeof t?t:null==t?"":String(t)}function Ue(t,n){throw new fe(-201,!1)}function ft(t,n){null==t&&function It(t,n,i,o){throw new Error(`ASSERTION ERROR: ${t}`+(null==o?"":` [Expected=> ${i} ${o} ${n} <=Actual]`))}(n,t,null,"!=")}function B(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ve(t){return{providers:t.providers||[],imports:t.imports||[]}}function pe(t){return st(t,te)||st(t,z)}function Xe(t){return null!==pe(t)}function st(t,n){return t.hasOwnProperty(n)?t[n]:null}function at(t){return t&&(t.hasOwnProperty(N)||t.hasOwnProperty(Te))?t[N]:null}const te=ee({\u0275prov:ee}),N=ee({\u0275inj:ee}),z=ee({ngInjectableDef:ee}),Te=ee({ngInjectorDef:ee});var xe=(()=>((xe=xe||{})[xe.Default=0]="Default",xe[xe.Host=1]="Host",xe[xe.Self=2]="Self",xe[xe.SkipSelf=4]="SkipSelf",xe[xe.Optional=8]="Optional",xe))();let T;function Oe(t){const n=T;return T=t,n}function nt(t,n,i){const o=pe(t);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&xe.Optional?null:void 0!==n?n:void Ue(ae(t))}const Rt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ut={},Wt="__NG_DI_FLAG__",bt="ngTempTokenPath",fn=/\n/gm,_i="__source";let En;function Vn(t){const n=En;return En=t,n}function kt(t,n=xe.Default){if(void 0===En)throw new fe(-203,!1);return null===En?nt(t,void 0,n):En.get(t,n&xe.Optional?null:void 0,n)}function Ze(t,n=xe.Default){return(function re(){return T}()||kt)(ce(t),n)}function le(t,n=xe.Default){return Ze(t,q(n))}function q(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Z(t){const n=[];for(let i=0;i<t.length;i++){const o=ce(t[i]);if(Array.isArray(o)){if(0===o.length)throw new fe(900,!1);let s,m=xe.Default;for(let x=0;x<o.length;x++){const S=o[x],F=ie(S);"number"==typeof F?-1===F?s=S.token:m|=F:s=S}n.push(Ze(s,m))}else n.push(Ze(o))}return n}function Ie(t,n){return t[Wt]=n,t.prototype[Wt]=n,t}function ie(t){return t[Wt]}function Ct(t){return{toString:t}.toString()}var mt=(()=>((mt=mt||{})[mt.OnPush=0]="OnPush",mt[mt.Default=1]="Default",mt))(),In=(()=>{return(t=In||(In={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",In;var t})();const Fn={},ln=[],ct=ee({\u0275cmp:ee}),rt=ee({\u0275dir:ee}),Ke=ee({\u0275pipe:ee}),_t=ee({\u0275mod:ee}),Ht=ee({\u0275fac:ee}),xn=ee({__NG_ELEMENT_ID__:ee});let Hn=0;function Zn(t){return Ct(()=>{const i=!0===t.standalone,o={},s={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:o,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===mt.OnPush,directiveDefs:null,pipeDefs:null,standalone:i,dependencies:i&&t.dependencies||null,getStandaloneInjector:null,selectors:t.selectors||ln,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||In.Emulated,id:"c"+Hn++,styles:t.styles||ln,_:null,setInput:null,schemas:t.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},m=t.dependencies,x=t.features;return s.inputs=kr(t.inputs,o),s.outputs=kr(t.outputs),x&&x.forEach(S=>S(s)),s.directiveDefs=m?()=>("function"==typeof m?m():m).map(Zi).filter(rr):null,s.pipeDefs=m?()=>("function"==typeof m?m():m).map(Pi).filter(rr):null,s})}function Zi(t){return qn(t)||Ci(t)}function rr(t){return null!==t}function er(t){return Ct(()=>({type:t.type,bootstrap:t.bootstrap||ln,declarations:t.declarations||ln,imports:t.imports||ln,exports:t.exports||ln,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function $r(t,n){return Ct(()=>{const i=St(t,!0);i.declarations=n.declarations||ln,i.imports=n.imports||ln,i.exports=n.exports||ln})}function kr(t,n){if(null==t)return Fn;const i={};for(const o in t)if(t.hasOwnProperty(o)){let s=t[o],m=s;Array.isArray(s)&&(m=s[1],s=s[0]),i[s]=o,n&&(n[s]=m)}return i}const or=Zn;function Br(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function qn(t){return t[ct]||null}function Ci(t){return t[rt]||null}function Pi(t){return t[Ke]||null}function it(t){const n=qn(t)||Ci(t)||Pi(t);return null!==n&&n.standalone}function St(t,n){const i=t[_t]||null;if(!i&&!0===n)throw new Error(`Type ${ae(t)} does not have '\u0275mod' property.`);return i}function yi(t){return Array.isArray(t)&&"object"==typeof t[1]}function hr(t){return Array.isArray(t)&&!0===t[1]}function To(t){return 0!=(4&t.flags)}
1function mr(t){return t.componentOffset>-1}function xo(t){return 1==(1&t.flags)}function Ti(t){return null!==t.template}function Io(t){return 0!=(256&t[2])}function Nn(t,n){return t.hasOwnProperty(Ht)?t[Ht]:null}class Ki{constructor(n,i,o){this.previousValue=n,this.currentValue=i,this.firstChange=o}isFirstChange(){return this.firstChange}}function Kn(){return tr}function tr(t){return t.type.prototype.ngOnChanges&&(t.setInput=xi),pr}function pr(){const t=Ei(this),n=t?.current;if(n){const i=t.previous;if(i===Fn)t.previous=n;else for(let o in n)i[o]=n[o];t.current=null,this.ngOnChanges(n)}}function xi(t,n,i,o){const s=this.declaredInputs[i],m=Ei(t)||function gi(t,n){return t[gr]=n}(t,{previous:Fn,current:null}),x=m.current||(m.current={}),S=m.previous,F=S[s];x[s]=new Ki(F&&F.currentValue,n,S===Fn),t[o]=n}Kn.ngInherit=!0;const gr="__ngSimpleChanges__";function Ei(t){return t[gr]||null}function Mi(t){for(;Array.isArray(t);)t=t[0];return t}function hn(t,n){return Mi(n[t])}function Ii(t,n){return Mi(n[t.index])}function jo(t,n){return t.data[n]}function Oi(t,n){return t[n]}function Ui(t,n){const i=n[t];return yi(i)?i:i[0]}function zo(t){return 64==(64&t[2])}function G(t,n){return null==n?null:t[n]}function H(t){t[18]=0}function P(t,n){t[5]+=n;let i=t,o=t[3];for(;null!==o&&(1===n&&1===i[5]||-1===n&&0===i[5]);)o[5]+=n,i=o,o=o[3]}const ye={lFrame:Ar(null),bindingsEnabled:!0};function Ro(){return ye.bindingsEnabled}function en(){return ye.lFrame.lView}function Gn(){return ye.lFrame.tView}function Yo(t){return ye.lFrame.contextLView=t,t[8]}function Ji(t){return ye.lFrame.contextLView=null,t}function Ai(){let t=fo();for(;null!==t&&64===t.type;)t=t.parent;return t}function fo(){return ye.lFrame.currentTNode}function wr(t,n){const i=ye.lFrame;i.currentTNode=t,i.isParent=n}function go(){return ye.lFrame.isParent}function Jo(){ye.lFrame.isParent=!1}function ji(){const t=ye.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function bo(){return ye.lFrame.bindingIndex++}function io(t){const n=ye.lFrame,i=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,i}function ea(t,n){const i=ye.lFrame;i.bindingIndex=i.bindingRootIndex=t,ro(n)}function ro(t){ye.lFrame.currentDirectiveIndex=t}function Po(t){const n=ye.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function ta(){return ye.lFrame.currentQueryIndex}function ua(t){ye.lFrame.currentQueryIndex=t}function ha(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[6]:null}function Ma(t,n,i){if(i&xe.SkipSelf){let s=n,m=t;for(;!(s=s.parent,null!==s||i&xe.Host||(s=ha(m),null===s||(m=m[15],10&s.type))););if(null===s)return!1;n=s,t=m}const o=ye.lFrame=Mo();return o.currentTNode=n,o.lView=t,!0}function vo(t){const n=Mo(),i=t[1];ye.lFrame=n,n.currentTNode=i.firstChild,n.lView=t,n.tView=i,n.contextLView=t,n.bindingIndex=i.bindingStartIndex,n.inI18n=!1}function Mo(){const t=ye.lFrame,n=null===t?null:t.child;return null===n?Ar(t):n}function Ar(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function xa(){const t=ye.lFrame;return ye.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Oa=xa;function na(){const t=xa();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function g(){return ye.lFrame.selectedIndex}function u(t){ye.lFrame.selectedIndex=t}function l(){const t=ye.lFrame;return jo(t.tView,t.selectedIndex)}function v(){ye.lFrame.currentNamespace="svg"}function he(){!function Fe(){ye.lFrame.currentNamespace=null}()}function $t(t,n){for(let i=n.directiveStart,o=n.directiveEnd;i<o;i++){const m=t.data[i].type.prototype,{ngAfterContentInit:x,ngAfterContentChecked:S,ngAfterViewInit:F,ngAfterViewChecked:oe,ngOnDestroy:Se}=m;x&&(t.contentHooks||(t.contentHooks=[])).push(-i,x),S&&((t.contentHooks||(t.contentHooks=[])).push(i,S),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(i,S)),F&&(t.viewHooks||(t.viewHooks=[])).push(-i,F),oe&&((t.viewHooks||(t.viewHooks=[])).push(i,oe),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(i,oe)),null!=Se&&(t.destroyHooks||(t.destroyHooks=[])).push(i,Se)}}function rn(t,n,i){vn(t,n,3,i)}
1function Qt(t,n,i,o){(3&t[2])===i&&vn(t,n,i,o)}function Sn(t,n){let i=t[2];(3&i)===n&&(i&=2047,i+=1,t[2]=i)}function vn(t,n,i,o){const m=o??-1,x=n.length-1;let S=0;for(let F=void 0!==o?65535&t[18]:0;F<x;F++)if("number"==typeof n[F+1]){if(S=n[F],null!=o&&S>=o)break}else n[F]<0&&(t[18]+=65536),(S<m||-1==m)&&(Dn(t,i,n,F),t[18]=(4294901760&t[18])+F+2),F++}function Dn(t,n,i,o){const s=i[o]<0,m=i[o+1],S=t[s?-i[o]:i[o]];if(s){if(t[2]>>11<t[18]>>16&&(3&t[2])===n){t[2]+=2048;try{m.call(S)}finally{}}}else try{m.call(S)}finally{}}class Qn{constructor(n,i,o){this.factory=n,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=o}}function dr(t,n,i){let o=0;for(;o<i.length;){const s=i[o];if("number"==typeof s){if(0!==s)break;o++;const m=i[o++],x=i[o++],S=i[o++];t.setAttribute(n,x,S,m)}else{const m=s,x=i[++o];ma(m)?t.setProperty(n,m,x):t.setAttribute(n,m,x),o++}}return o}function Sr(t){return 3===t||4===t||6===t}function ma(t){return 64===t.charCodeAt(0)}function Qr(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let i=-1;for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?i=s:0===i||Cr(t,i,s,null,-1===i||2===i?n[++o]:null)}}return t}function Cr(t,n,i,o,s){let m=0,x=t.length;if(-1===n)x=-1;else for(;m<t.length;){const S=t[m++];if("number"==typeof S){if(S===n){x=-1;break}if(S>n){x=m-1;break}}}for(;m<t.length;){const S=t[m];if("number"==typeof S)break;if(S===i){if(null===o)return void(null!==s&&(t[m+1]=s));if(o===t[m+1])return void(t[m+2]=s)}m++,null!==o&&m++,null!==s&&m++}-1!==x&&(t.splice(x,0,n),m=x+1),t.splice(m++,0,i),null!==o&&t.splice(m++,0,o),null!==s&&t.splice(m++,0,s)}function Zo(t){return-1!==t}function Fo(t){return 32767&t}function Pn(t,n){let i=function kn(t){return t>>16}(t),o=n;for(;i>0;)o=o[15],i--;return o}let $n=!0;function Un(t){const n=$n;return $n=t,n}let zr=0;const mi={};function ia(t,n){const i=Nr(t,n);if(-1!==i)return i;const o=n[1];o.firstCreatePass&&(t.injectorIndex=n.length,Gi(o.data,t),Gi(n,null),Gi(o.blueprint,null));const s=Si(t,n),m=t.injectorIndex;if(Zo(s)){const x=Fo(s),S=Pn(s,n),F=S[1].data;for(let oe=0;oe<8;oe++)n[m+oe]=S[x+oe]|F[x+oe]}return n[m+8]=s,m}function Gi(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Nr(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function Si(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=0,o=null,s=n;for(;null!==s;){if(o=k(s),null===o)return-1;if(i++,s=s[15],-1!==o.injectorIndex)return o.injectorIndex|i<<16}return-1}function ir(t,n,i){!function No(t,n,i){let o;"string"==typeof i?o=i.charCodeAt(0)||0:i.hasOwnProperty(xn)&&(o=i[xn]),null==o&&(o=i[xn]=zr++);const s=255&o;n.data[t+(s>>5)]|=1<<s}(t,n,i)}function ra(t,n,i){if(i&xe.Optional||void 0!==t)return t;Ue()}function Lo(t,n,i,o){if(i&xe.Optional&&void 0===o&&(o=null),0==(i&(xe.Self|xe.Host))){const s=t[9],m=Oe(void 0);try{return s?s.get(n,o,i&xe.Optional):nt(n,o,i&xe.Optional)}finally{Oe(m)}}return ra(o,0,i)}function oa(t,n,i,o=xe.Default,s){if(null!==t){if(1024&n[2]){const x=function _(t,n,i,o,s){let m=t,x=n;for(;null!==m&&null!==x&&1024&x[2]&&!(256&x[2]);){const S=Ao(m,x,i,o|xe.Self,mi);if(S!==mi)return S;let F=m.parent;if(!F){const oe=x[21];if(oe){const Se=oe.get(i,mi,o);if(Se!==mi)return Se}F=k(x),x=x[15]}m=F}return s}(t,n,i,o,mi);if(x!==mi)return x}const m=Ao(t,n,i,o,mi);if(m!==mi)return m}return Lo(n,i,o,s)}function Ao(t,n,i,o,s){const m=function Er(t){if("string"==typeof t)return t.charCodeAt(0)||0;const n=t.hasOwnProperty(xn)?t[xn]:void 0;return"number"==typeof n?n>=0?255&n:us:n}(i);if("function"==typeof m){if(!Ma(n,t,o))return o&xe.Host?ra(s,0,o):Lo(n,i,o,s);try{const x=m(o);if(null!=x||o&xe.Optional)return x;Ue()}finally{Oa()}}else if("number"==typeof m){let x=null,S=Nr(t,n),F=-1,oe=o&xe.Host?n[16][6]:null;for((-1===S||o&xe.SkipSelf)&&(F=-1===S?Si(t,n):n[S+8],-1!==F&&ds(o,!1)?(x=n[1],S=Fo(F),n=Pn(F,n)):S=-1);-1!==S;){const Se=n[1];if(Xa(m,S,Se.data)){const et=Ra(S,n,i,x,o,oe);if(et!==mi)return et}F=n[S+8],-1!==F&&ds(o,n[1].data[S+8]===oe)&&Xa(m,S,n)?(x=Se,S=Fo(F),n=Pn(F,n)):S=-1}}return s}function Ra(t,n,i,o,s,m){const x=n[1],S=x.data[t+8],Se=cs(S,x,i,null==o?mr(S)&&$n:o!=x&&0!=(3&S.type),s&xe.Host&&m===S);return null!==Se?Wo(n,x,Se,S):mi}function cs(t,n,i,o,s){const m=t.providerIndexes,x=n.data,S=1048575&m,F=t.directiveStart,Se=m>>20,xt=s?S+Se:t.directiveEnd;for(let Nt=o?S:S+Se;Nt<xt;Nt++){const Xt=x[Nt];if(Nt<F&&i===Xt||Nt>=F&&Xt.type===i)return Nt}if(s){const Nt=x[F];if(Nt&&Ti(Nt)&&Nt.type===i)return F}return null}function Wo(t,n,i,o){let s=t[i];const m=n.data;if(function ci(t){return t instanceof Qn}(s)){const x=s;x.resolving&&function j(t,n){const i=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new fe(-200,`Circular dependency in DI detected for ${t}${i}`)}(function se(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.n
1ame||t.type.toString():be(t)}(m[i]));const S=Un(x.canSeeViewProviders);x.resolving=!0;const F=x.injectImpl?Oe(x.injectImpl):null;Ma(t,o,xe.Default);try{s=t[i]=x.factory(void 0,m,t,o),n.firstCreatePass&&i>=o.directiveStart&&function Dt(t,n,i){const{ngOnChanges:o,ngOnInit:s,ngDoCheck:m}=n.type.prototype;if(o){const x=tr(n);(i.preOrderHooks||(i.preOrderHooks=[])).push(t,x),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,x)}s&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-t,s),m&&((i.preOrderHooks||(i.preOrderHooks=[])).push(t,m),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,m))}(i,m[i],n)}finally{null!==F&&Oe(F),Un(S),x.resolving=!1,Oa()}}return s}function Xa(t,n,i){return!!(i[n+(t>>5)]&1<<t)}function ds(t,n){return!(t&xe.Self||t&xe.Host&&n)}class Aa{constructor(n,i){this._tNode=n,this._lView=i}get(n,i,o){return oa(this._tNode,this._lView,n,q(o),i)}}function us(){return new Aa(Ai(),en())}function b(t){return Ct(()=>{const n=t.prototype.constructor,i=n[Ht]||y(n),o=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==o;){const m=s[Ht]||y(s);if(m&&m!==i)return m;s=Object.getPrototypeOf(s)}return m=>new m})}function y(t){return _e(t)?()=>{const n=y(ce(t));return n&&n()}:Nn(t)}function k(t){const n=t[1],i=n.type;return 2===i?n.declTNode:1===i?t[6]:null}function Ae(t){return function fa(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const i=t.attrs;if(i){const o=i.length;let s=0;for(;s<o;){const m=i[s];if(Sr(m))break;if(0===m)s+=2;else if("number"==typeof m)for(s++;s<o&&"string"==typeof i[s];)s++;else{if(m===n)return i[s+1];s+=2}}}return null}(Ai(),t)}const Et="__parameters__",zt="__prop__metadata__";function tn(t){return function(...i){if(t){const o=t(...i);for(const s in o)this[s]=o[s]}}}function jn(t,n,i){return Ct(()=>{const o=tn(n);function s(...m){if(this instanceof s)return o.apply(this,m),this;const x=new s(...m);return S.annotation=x,S;function S(F,oe,Se){const et=F.hasOwnProperty(Et)?F[Et]:Object.defineProperty(F,Et,{value:[]})[Et];for(;et.length<=Se;)et.push(null);return(et[Se]=et[Se]||[]).push(x),F}}return i&&(s.prototype=Object.create(i.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}function ki(t,n,i,o){return Ct(()=>{const s=tn(n);function m(...x){if(this instanceof m)return s.apply(this,x),this;const S=new m(...x);return function F(oe,Se){const et=oe.constructor,xt=et.hasOwnProperty(zt)?et[zt]:Object.defineProperty(et,zt,{value:{}})[zt];xt[Se]=xt.hasOwnProperty(Se)&&xt[Se]||[],xt[Se].unshift(S),o&&o(oe,Se,...x)}}return i&&(m.prototype=Object.create(i.prototype)),m.prototype.ngMetadataName=t,m.annotationCls=m,m})}class ii{constructor(n,i){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=B({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}class aa{}const I=ki("ViewChild",(t,n)=>({selector:t,first:!0,isViewQuery:!0,descendants:!0,...n}),aa);function vi(t,n){void 0===n&&(n=t);for(let i=0;i<t.length;i++){let o=t[i];Array.isArray(o)?(n===t&&(n=t.slice(0,i)),vi(o,n)):n!==t&&n.push(o)}return n}function ao(t,n){t.forEach(i=>Array.isArray(i)?ao(i,n):n(i))}function $o(t,n,i){n>=t.length?t.push(i):t.splice(n,0,i)}function Bo(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function _r(t,n){const i=[];for(let o=0;o<t;o++)i.push(n);return i}function Vo(t,n,i){let o=Ha(t,n);return o>=0?t[1|o]=i:(o=~o,function nl(t,n,i,o){let s=t.length;if(s==n)t.push(i,o);else if(1===s)t.push(o,t[0]),t[0]=i;else{for(s--,t.push(t[s-1],t[s]);s>n;)t[s]=t[s-2],s--;t[n]=i,t[n+1]=o}}(t,o,n,i)),o}function il(t,n){const i=Ha(t,n);if(i>=0)return t[1|i]}function Ha(t,n){return function Ms(t,n,i){let o=0,s=t.length>>i;for(;s!==o;){const m=o+(s-o>>1),x=t[m<<i];if(n===x)return m<<i;x>n?s=m:o=m+1}return~(s<<i)}(t,n,1)}const zn=Ie(jn("Optional"),8),oi=Ie(jn("Self"),2),ai=Ie(jn("SkipSelf"),4);var Na=(()=>((Na=Na||{})[Na.Important=1]="Important",Na[Na.DashCase=2]="DashCase",Na))();const Ta=new Map;let Ns=0;const Wl="__ngContext__";function qr(t,n){yi(n)?(t[Wl]=n[20],function Lu(t){Ta.set(t[20],t)}(n)):t[Wl]=n}function Kl(t,n){return undefined(t,n)}function gs(t){const n=t[3];return hr(n)?n[3]:n}function Ql(t){return ql(t[13])}function Jl(t){return ql(t[4])}function ql(t){for(;null!==t&&!hr(t);)t=t[4];return t}
1function Ss(t,n,i,o,s){if(null!=o){let m,x=!1;hr(o)?m=o:yi(o)&&(x=!0,o=o[0]);const S=Mi(o);0===t&&null!==i?null==s?md(n,i,S):_s(n,i,S,s||null,!0):1===t&&null!==i?_s(n,i,S,s||null,!0):2===t?function ac(t,n,i){const o=ul(t,n);o&&function pd(t,n,i,o){t.removeChild(n,i,o)}(t,o,n,i)}(n,S,x):3===t&&n.destroyNode(S),null!=m&&function Ku(t,n,i,o,s){const m=i[7];m!==Mi(i)&&Ss(n,t,o,m,s);for(let S=10;S<i.length;S++){const F=i[S];Bs(F[1],F,t,n,o,m)}}(n,t,m,i,s)}}function tc(t,n,i){return t.createElement(n,i)}function cd(t,n){const i=t[9],o=i.indexOf(n),s=n[3];512&n[2]&&(n[2]&=-513,P(s,-1)),i.splice(o,1)}function nc(t,n){if(t.length<=10)return;const i=10+n,o=t[i];if(o){const s=o[17];null!==s&&s!==t&&cd(s,o),n>0&&(t[i-1][4]=o[4]);const m=Bo(t,10+n);!function dl(t,n){Bs(t,n,n[11],2,null,null),n[0]=null,n[6]=null}(o[1],o);const x=m[19];null!==x&&x.detachView(m[1]),o[3]=null,o[4]=null,o[2]&=-65}return o}function dd(t,n){if(!(128&n[2])){const i=n[11];i.destroyNode&&Bs(t,n,i,3,null,null),function sd(t){let n=t[13];if(!n)return ic(t[1],t);for(;n;){let i=null;if(yi(n))i=n[13];else{const o=n[10];o&&(i=o)}if(!i){for(;n&&!n[4]&&n!==t;)yi(n)&&ic(n[1],n),n=n[3];null===n&&(n=t),yi(n)&&ic(n[1],n),i=n&&n[4]}n=i}}(n)}}function ic(t,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function Gu(t,n){let i;if(null!=t&&null!=(i=t.destroyHooks))for(let o=0;o<i.length;o+=2){const s=n[i[o]];if(!(s instanceof Qn)){const m=i[o+1];if(Array.isArray(m))for(let x=0;x<m.length;x+=2){const S=s[m[x]],F=m[x+1];try{F.call(S)}finally{}}else try{m.call(s)}finally{}}}}(t,n),function Yu(t,n){const i=t.cleanup,o=n[7];let s=-1;if(null!==i)for(let m=0;m<i.length-1;m+=2)if("string"==typeof i[m]){const x=i[m+3];x>=0?o[s=x]():o[s=-x].unsubscribe(),m+=2}else{const x=o[s=i[m+1]];i[m].call(x)}if(null!==o){for(let m=s+1;m<o.length;m++)(0,o[m])();n[7]=null}}(t,n),1===n[1].type&&n[11].destroy();const i=n[17];if(null!==i&&hr(n[3])){i!==n[3]&&cd(i,n);const o=n[19];null!==o&&o.detachView(t)}!function Df(t){Ta.delete(t[20])}(n)}}function ud(t,n,i){return function hd(t,n,i){let o=n;for(;null!==o&&40&o.type;)o=(n=o).parent;if(null===o)return i[0];{const{componentOffset:s}=o;if(s>-1){const{encapsulation:m}=t.data[o.directiveStart+s];if(m===In.None||m===In.Emulated)return null}return Ii(o,i)}}(t,n.parent,i)}function _s(t,n,i,o,s){t.insertBefore(n,i,o,s)}function md(t,n,i){t.appendChild(n,i)}function fd(t,n,i,o,s){null!==o?_s(t,n,i,o,s):md(t,n,i)}function ul(t,n){return t.parentNode(n)}function gd(t,n,i){return bd(t,n,i)}let fl,cc,pl,bd=function _d(t,n,i){return 40&t.type?Ii(t,i):null};function hl(t,n,i,o){const s=ud(t,o,n),m=n[11],S=gd(o.parent||n[6],o,n);if(null!=s)if(Array.isArray(i))for(let F=0;F<i.length;F++)fd(m,s,i[F],S,!1);else fd(m,s,i,S,!1)}function ml(t,n){if(null!==n){const i=n.type;if(3&i)return Ii(n,t);if(4&i)return oc(-1,t[n.index]);if(8&i){const o=n.child;if(null!==o)return ml(t,o);{const s=t[n.index];return hr(s)?oc(-1,s):Mi(s)}}if(32&i)return Kl(n,t)()||Mi(t[n.index]);{const o=yd(t,n);return null!==o?Array.isArray(o)?o[0]:ml(gs(t[16]),o):ml(t,n.next)}}return null}function yd(t,n){return null!==n?t[16][6].projection[n.projection]:null}function oc(t,n){const i=10+t+1;if(i<n.length){const o=n[i],s=o[1].firstChild;if(null!==s)return ml(o,s)}return n[7]}function sc(t,n,i,o,s,m,x){for(;null!=i;){const S=o[i.index],F=i.type;if(x&&0===n&&(S&&qr(Mi(S),o),i.flags|=2),32!=(32&i.flags))if(8&F)sc(t,n,i.child,o,s,m,!1),Ss(n,t,s,S,m);else if(32&F){const oe=Kl(i,o);let Se;for(;Se=oe();)Ss(n,t,s,Se,m);Ss(n,t,s,S,m)}else 16&F?xd(t,n,o,i,s,m):Ss(n,t,s,S,m);i=x?i.projectionNext:i.next}}function Bs(t,n,i,o,s,m){sc(i,o,t.firstChild,n,s,m,!1)}function xd(t,n,i,o,s,m){const x=i[16],F=x[6].projection[o.projection];if(Array.isArray(F))for(let oe=0;oe<F.length;oe++)Ss(n,t,s,F[oe],m);else sc(t,n,F,x[3],s,m,!0)}function wd(t,n,i){""===i?t.removeAttribute(n,"class"):t.setAttribute(n,"class",i)}function Cd(t,n,i){const{mergedAttrs:o,classes:s,styles:m}=i;null!==o&&dr(t,n,o),null!==s&&wd(t,n,s),null!==m&&function Ju(t,n,i){t.setAttribute(n,"style",i)}(t,n,m)}function bs(t){return function lc(){if(void 0===fl&&(fl=null,Rt.trustedTypes))try{fl=Rt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return fl}()?.createHTML(t)||t}function th(t){cc=t}function dc(){if(void 0===pl&&(pl=null,Rt.trustedTypes))try{pl=Rt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return pl}function Ed(t){return dc()?.createHTML(t)||t}function Ad(t){return dc()?.createScriptURL(t)||t}class vs{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${$e})`}}class nh extends vs{getTypeName(){return"HTML"}}class ih extends vs{getTypeName(){return"Style"}}
1class rh extends vs{getTypeName(){return"Script"}}class oh extends vs{getTypeName(){return"URL"}}class ah extends vs{getTypeName(){return"ResourceURL"}}function Ga(t){return t instanceof vs?t.changingThisBreaksApplicationSecurity:t}function ks(t,n){const i=function sh(t){return t instanceof vs&&t.getTypeName()||null}(t);if(null!=i&&i!==n){if("ResourceURL"===i&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${i} (see ${$e})`)}return i===n}function lh(t){return new nh(t)}function ch(t){return new ih(t)}function gl(t){return new rh(t)}function dh(t){return new oh(t)}function Za(t){return new ah(t)}class uh{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const i=(new window.DOMParser).parseFromString(bs(n),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(n):(i.removeChild(i.firstChild),i)}catch{return null}}}class hh{constructor(n){if(this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const i=this.inertDocument.createElement("html");this.inertDocument.appendChild(i);const o=this.inertDocument.createElement("body");i.appendChild(o)}}getInertBodyElement(n){const i=this.inertDocument.createElement("template");if("content"in i)return i.innerHTML=bs(n),i;const o=this.inertDocument.createElement("body");return o.innerHTML=bs(n),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(o),o}stripCustomNsAttrs(n){const i=n.attributes;for(let s=i.length-1;0<s;s--){const x=i.item(s).name;("xmlns:ns1"===x||0===x.indexOf("ns1:"))&&n.removeAttribute(x)}let o=n.firstChild;for(;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling}}const fh=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;
1function _l(t){return(t=String(t)).match(fh)?t:"unsafe:"+t}function Wa(t){const n={};for(const i of t.split(","))n[i]=!0;return n}function Vs(...t){const n={};for(const i of t)for(const o in i)i.hasOwnProperty(o)&&(n[o]=!0);return n}const kd=Wa("area,br,col,hr,img,wbr"),Td=Wa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Id=Wa("rp,rt"),uc=Vs(kd,Vs(Td,Wa("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Vs(Id,Wa("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Vs(Id,Td)),hc=Wa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Od=Vs(hc,Wa("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Wa("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ph=Wa("script,style,template");class gh{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let i=n.firstChild,o=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?o=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,o&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let s=this.checkClobberedElement(i,i.nextSibling);if(s){i=s;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(n){const i=n.nodeName.toLowerCase();if(!uc.hasOwnProperty(i))return this.sanitizedSomething=!0,!ph.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const o=n.attributes;for(let s=0;s<o.length;s++){const m=o.item(s),x=m.name,S=x.toLowerCase();if(!Od.hasOwnProperty(S)){this.sanitizedSomething=!0;continue}let F=m.value;hc[S]&&(F=_l(F)),this.buf.push(" ",x,'="',Rd(F),'"')}return this.buf.push(">"),!0}endElement(n){const i=n.nodeName.toLowerCase();uc.hasOwnProperty(i)&&!kd.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(n){this.buf.push(Rd(n))}checkClobberedElement(n,i){if(i&&(n.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return i}}const _h=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bh=/([^\#-~ |!])/g;function Rd(t){return t.replace(/&/g,"&").replace(_h,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(bh,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let bl;function Pd(t,n){let i=null;try{bl=bl||function Sd(t){const n=new hh(t);return function mh(){try{return!!(new window.DOMParser).parseFromString(bs(""),"text/html")}catch{return!1}}()?new uh(n):n}(t);let o=n?String(n):"";i=bl.getInertBodyElement(o);let s=5,m=o;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,o=m,m=i.innerHTML,i=bl.getInertBodyElement(o)}while(o!==m);return bs((new gh).sanitizeChildren(mc(i)||i))}finally{if(i){const o=mc(i)||i;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function mc(t){return"content"in t&&function vh(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Yr=(()=>((Yr=Yr||{})[Yr.NONE=0]="NONE",Yr[Yr.HTML=1]="HTML",Yr[Yr.STYLE=2]="STYLE",Yr[Yr.SCRIPT=3]="SCRIPT",Yr[Yr.URL=4]="URL",Yr[Yr.RESOURCE_URL=5]="RESOURCE_URL",Yr))();function Fd(t){const n=Us();return n?Ed(n.sanitize(Yr.HTML,t)||""):ks(t,"HTML")?Ed(Ga(t)):Pd(function Dd(){return void 0!==cc?cc:typeof document<"u"?document:void 0}(),be(t))}function fc(t){const n=Us();return n?n.sanitize(Yr.URL,t)||"":ks(t,"URL")?Ga(t):_l(be(t))}function Nd(t){const n=Us();if(n)return Ad(n.sanitize(Yr.RESOURCE_URL,t)||"");if(ks(t,"ResourceURL"))return Ad(Ga(t));throw new fe(904,!1)}function Ld(t,n,i){return function Dh(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?Nd:fc}(n,i)(t)}function Us(){const t=en();return t&&t[12]}const pc=new ii("ENVIRONMENT_INITIALIZER"),$d=new ii("INJECTOR",-1),Bd=new ii("INJECTOR_DEF_TYPES");class Vd{get(n,i=ut){if(i===ut){const o=new Error(`NullInjectorError: No provider for ${ae(n)}!`);throw o.name="NullInjectorError",o}return i}}function vl(t){return{\u0275providers:t}}function Ud(...t){return{\u0275providers:Hd(0,t),\u0275fromNgModule:!0}}function Hd(t,...n){const i=[],o=new Set;let s;return ao(n,m=>{const x=m;gc(x,i,[],o)&&(s||(s=[]),s.push(x))}),void 0!==s&&jd(s,i),i}
1function jd(t,n){for(let i=0;i<t.length;i++){const{providers:s}=t[i];_c(s,m=>{n.push(m)})}}function gc(t,n,i,o){if(!(t=ce(t)))return!1;let s=null,m=at(t);const x=!m&&qn(t);if(m||x){if(x&&!x.standalone)return!1;s=t}else{const F=t.ngModule;if(m=at(F),!m)return!1;s=F}const S=o.has(s);if(x){if(S)return!1;if(o.add(s),x.dependencies){const F="function"==typeof x.dependencies?x.dependencies():x.dependencies;for(const oe of F)gc(oe,n,i,o)}}else{if(!m)return!1;{if(null!=m.imports&&!S){let oe;o.add(s);try{ao(m.imports,Se=>{gc(Se,n,i,o)&&(oe||(oe=[]),oe.push(Se))})}finally{}void 0!==oe&&jd(oe,n)}if(!S){const oe=Nn(s)||(()=>new s);n.push({provide:s,useFactory:oe,deps:ln},{provide:Bd,useValue:s,multi:!0},{provide:pc,useValue:()=>Ze(s),multi:!0})}const F=m.providers;null==F||S||_c(F,Se=>{n.push(Se)})}}return s!==t&&void 0!==t.providers}function _c(t,n){for(let i of t)ge(i)&&(i=i.\u0275providers),Array.isArray(i)?_c(i,n):n(i)}const Eh=ee({provide:String,useValue:ee});function bc(t){return null!==t&&"object"==typeof t&&Eh in t}function ys(t){return"function"==typeof t}const vc=new ii("Set Injector scope."),xs={},Ah={};let ws;function yl(){return void 0===ws&&(ws=new Vd),ws}class Cs{}class Gd extends Cs{constructor(n,i,o,s){super(),this.parent=i,this.source=o,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,xc(n,x=>this.processProvider(x)),this.records.set($d,La(void 0,this)),s.has("environment")&&this.records.set(Cs,La(void 0,this));const m=this.records.get(vc);null!=m&&"string"==typeof m.value&&this.scopes.add(m.value),this.injectorDefTypes=new Set(this.get(Bd.multi,ln,xe.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const i=Vn(this),o=Oe(void 0);try{return n()}finally{Vn(i),Oe(o)}}get(n,i=ut,o=xe.Default){this.assertNotDestroyed(),o=q(o);const s=Vn(this),m=Oe(void 0);try{if(!(o&xe.SkipSelf)){let S=this.records.get(n);if(void 0===S){const F=function Oh(t){return"function"==typeof t||"object"==typeof t&&t instanceof ii}(n)&&pe(n);S=F&&this.injectableDefInScope(F)?La(yc(n),xs):null,this.records.set(n,S)}if(null!=S)return this.hydrate(n,S)}return(o&xe.Self?yl():this.parent).get(n,i=o&xe.Optional&&i===ut?null:i)}catch(x){if("NullInjectorError"===x.name){if((x[bt]=x[bt]||[]).unshift(ae(n)),s)throw x;return function we(t,n,i,o){const s=t[bt];throw n[_i]&&s.unshift(n[_i]),t.message=function Qe(t,n,i,o=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let s=ae(n);if(Array.isArray(n))s=n.map(ae).join(" -> ");else if("object"==typeof n){let m=[];for(let x in n)if(n.hasOwnProperty(x)){let S=n[x];m.push(x+":"+("string"==typeof S?JSON.stringify(S):ae(S)))}s=`{${m.join(", ")}}`}return`${i}${o?"("+o+")":""}[${s}]: ${t.replace(fn,"\n ")}`}("\n"+t.message,s,i,o),t.ngTokenPath=s,t[bt]=null,t}(x,n,"R3InjectorError",this.source)}throw x}finally{Oe(m),Vn(s)}}resolveInjectorInitializers(){const n=Vn(this),i=Oe(void 0);try{const o=this.get(pc.multi,ln,xe.Self);for(const s of o)s()}finally{Vn(n),Oe(i)}}toString(){const n=[],i=this.records;for(const o of i.keys())n.push(ae(o));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new fe(205,!1)}processProvider(n){let i=ys(n=ce(n))?n:ce(n&&n.provide);const o=function kh(t){return bc(t)?La(void 0,t.useValue):La(Hs(t),xs)}(n);if(ys(n)||!0!==n.multi)this.records.get(i);else{let s=this.records.get(i);s||(s=La(void 0,xs,!0),s.factory=()=>Z(s.multi),this.records.set(i,s)),i=n,s.multi.push(n)}this.records.set(i,o)}hydrate(n,i){return i.value===xs&&(i.value=Ah,i.value=i.factory()),"object"==typeof i.value&&i.value&&function Ih(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(n){if(!n.providedIn)return!1;const i=ce(n.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}}function yc(t){const n=pe(t),i=null!==n?n.factory:Nn(t);if(null!==i)return i;if(t instanceof ii)throw new fe(204,!1);if(t instanceof Function)return function Sh(t){const n=t.length;if(n>0)throw _r(n,"?"),new fe(204,!1);const i=function lt(t){const n=t&&(t[te]||t[z]);if(n){const i=function Bt(t){if(t.hasOwnProperty("name"))return t.name;const n=(""+t).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${i}" class.`),n}return null}(t);return null!==i?()=>i.factory(t):()=>new t}(t);throw new fe(204,!1)}function Hs(t,n,i){let o;if(ys(t)){const s=ce(t);return Nn(s)||yc(s)}if(bc(t))o=()=>ce(t.useValue);else if(function Yd(t){return!(!t||!t.useFactory)}(t))o=()=>t.useFactory(...Z(t.deps||[]));else if(function zd(t){return!(!t||!t.useExisting)}(t))o=()=>Ze(ce(t.useExisting));else{const s=ce(t&&(t.useClass||t.provide));if(!function Th(t){return!!t.deps}(t))return Nn(s)||yc(s);o=()=>new s(...Z(t.deps))}return o}function La(t,n,i=!1){return{factory:t,value:n,multi:i?[]:void 0}}function xc(t,n){for(const i of t)Array.isArray(i)?xc(i,n):i&&ge(i)?xc(i.\u0275providers,n):n(i)}class Rh{}class Zd{}
1class Fh{resolveComponentFactory(n){throw function Ph(t){const n=Error(`No component factory found for ${ae(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let zs=(()=>{class t{}return t.NULL=new Fh,t})();function Nh(){return Is(Ai(),en())}function Is(t,n){return new Ys(Ii(t,n))}let Ys=(()=>{class t{constructor(i){this.nativeElement=i}}return t.__NG_ELEMENT_ID__=Nh,t})();function Lh(t){return t instanceof Ys?t.nativeElement:t}class Wd{}let $h=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function Bh(){const t=en(),i=Ui(Ai().index,t);return(yi(i)?i:t)[11]}(),t})(),Vh=(()=>{class t{}return t.\u0275prov=B({token:t,providedIn:"root",factory:()=>null}),t})();class Kd{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const Qd=new Kd("15.0.2"),wc={};function Dc(t){return t.ngOriginalError}class Gs{constructor(){this._console=console}handleError(n){const i=this._findOriginalError(n);this._console.error("ERROR",n),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(n){let i=n&&Dc(n);for(;i&&Dc(i);)i=Dc(i);return i||null}}function Ka(t){return t instanceof Function?t():t}function Ws(t,n,i){let o=t.length;for(;;){const s=t.indexOf(n,i);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const m=n.length;if(s+m===o||t.charCodeAt(s+m)<=32)return s}i=s+1}}const Ec="ng-template";function Kh(t,n,i){let o=0;for(;o<t.length;){let s=t[o++];if(i&&"class"===s){if(s=t[o],-1!==Ws(s.toLowerCase(),n,0))return!0}else if(1===s){for(;o<t.length&&"string"==typeof(s=t[o++]);)if(s.toLowerCase()===n)return!0;return!1}}return!1}function Ks(t){return 4===t.type&&t.value!==Ec}function wl(t,n,i){return n===(4!==t.type||i?t.value:Ec)}function h(t,n,i){let o=4;const s=t.attrs||[],m=function U(t){for(let n=0;n<t.length;n++)if(Sr(t[n]))return n;return t.length}(s);let x=!1;for(let S=0;S<n.length;S++){const F=n[S];if("number"!=typeof F){if(!x)if(4&o){if(o=2|1&o,""!==F&&!wl(t,F,i)||""===F&&1===n.length){if(d(o))return!1;x=!0}}else{const oe=8&o?F:n[++S];if(8&o&&null!==t.attrs){if(!Kh(t.attrs,oe,i)){if(d(o))return!1;x=!0}continue}const et=r(8&o?"class":F,s,Ks(t),i);if(-1===et){if(d(o))return!1;x=!0;continue}if(""!==oe){let xt;xt=et>m?"":s[et+1].toLowerCase();const Nt=8&o?xt:null;if(Nt&&-1!==Ws(Nt,oe,0)||2&o&&oe!==xt){if(d(o))return!1;x=!0}}}}else{if(!x&&!d(o)&&!d(F))return!1;if(x&&d(F))continue;x=!1,o=F|1&o}}return d(o)||x}function d(t){return 0==(1&t)}function r(t,n,i,o){if(null===n)return-1;let s=0;if(o||!i){let m=!1;for(;s<n.length;){const x=n[s];if(x===t)return s;if(3===x||6===x)m=!0;else{if(1===x||2===x){let S=n[++s];for(;"string"==typeof S;)S=n[++s];continue}if(4===x)break;if(0===x){s+=4;continue}}s+=m?1:2}return-1}return function We(t,n){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){const o=t[i];if("number"==typeof o)return-1;if(o===n)return i;i++}return-1}(n,t)}function c(t,n,i=!1){for(let o=0;o<n.length;o++)if(h(t,n[o],i))return!0;return!1}function yt(t,n){e:for(let i=0;i<n.length;i++){const o=n[i];if(t.length===o.length){for(let s=0;s<t.length;s++)if(t[s]!==o[s])continue e;return!0}}return!1}function Jt(t,n){return t?":not("+n.trim()+")":n}function Cn(t){let n=t[0],i=1,o=2,s="",m=!1;for(;i<t.length;){let x=t[i];if("string"==typeof x)if(2&o){const S=t[++i];s+="["+x+(S.length>0?'="'+S+'"':"")+"]"}else 8&o?s+="."+x:4&o&&(s+=" "+x);else""!==s&&!d(x)&&(n+=Jt(m,s),s=""),o=x,m=m||!d(o);i++}return""!==s&&(n+=Jt(m,s)),n}const bn={};function lo(t){la(Gn(),en(),g()+t,!1)}function la(t,n,i,o){if(!o)if(3==(3&n[2])){const m=t.preOrderCheckHooks;null!==m&&rn(n,m,i)}else{const m=t.preOrderHooks;null!==m&&Qt(n,m,0,i)}u(i)}function Uf(t,n=null,i=null,o){const s=Hf(t,n,i,o);return s.resolveInjectorInitializers(),s}function Hf(t,n=null,i=null,o,s=new Set){const m=[i||ln,Ud(t)];return o=o||("object"==typeof t?void 0:ae(t)),new Gd(m,n||yl(),o||null,s)}let Qs=(()=>{class t{static create(i,o){if(Array.isArray(i))return Uf({name:""},o,i,"");{const s=i.name??"";return Uf({name:s},i.parent,i.providers,s)}}}return t.THROW_IF_NOT_FOUND=ut,t.NULL=new Vd,t.\u0275prov=B({token:t,providedIn:"any",factory:()=>Ze($d)}),t.__NG_ELEMENT_ID__=-1,t})();function El(t,n=xe.Default){const i=en();return null===i?Ze(t,n):oa(Ai(),i,ce(t),n)}function Kf(){throw new Error("invalid")}function Qf(t,n){const i=t.contentQueries;if(null!==i)for(let o=0;o<i.length;o+=2){const s=i[o],m=i[o+1];if(-1!==m){const x=t.data[m];ua(s),x.contentQueries(2,n[m],m)}}}function qd(t,n,i,o,s,m,x,S,F,oe,Se){const et=n.blueprint.slice();return et[0]=s,et[2]=76|o,(null!==Se||t&&1024&t[2])&&(et[2]|=1024),H(et),et[3]=et[15]=t,et[8]=i,et[10]=x||t&&t[10],et[11]=S||t&&t[11],et[12]=F||t&&t[12]||null,et[9]=oe||t&&t[9]||null,et[6]=m,et[20]=function Nu(){return Ns++}(),et[21]=Se,et[16]=2==n.type?t[16]:et,et}function Ml(t,n,i,o,s){let m=t.data[n];if(null===m)m=function em(t,n,i,o,s){const m=fo(),x=go(),F=t.data[n]=function W0(t,
1n,i,o,s,m){return{type:i,index:o,insertBeforeIndex:null,injectorIndex:n?n.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:m,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,x?m:m&&m.parent,i,n,o,s);return null===t.firstChild&&(t.firstChild=F),null!==m&&(x?null==m.child&&null!==F.parent&&(m.child=F):null===m.next&&(m.next=F)),F}(t,n,i,o,s),function Ea(){return ye.lFrame.inI18n}()&&(m.flags|=32);else if(64&m.type){m.type=i,m.value=o,m.attrs=s;const x=function po(){const t=ye.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}();m.injectorIndex=null===x?-1:x.injectorIndex}return wr(m,!0),m}function kc(t,n,i,o){if(0===i)return-1;const s=n.length;for(let m=0;m<i;m++)n.push(o),t.blueprint.push(o),t.data.push(null);return s}function tm(t,n,i){vo(n);try{const o=t.viewQuery;null!==o&&um(1,o,i);const s=t.template;null!==s&&Jf(t,n,s,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Qf(t,n),t.staticViewQueries&&um(2,t.viewQuery,i);const m=t.components;null!==m&&function Y0(t,n){for(let i=0;i<n.length;i++)mb(t,n[i])}(n,m)}catch(o){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),o}finally{n[2]&=-5,na()}}function Xd(t,n,i,o){const s=n[2];if(128!=(128&s)){vo(n);try{H(n),function va(t){return ye.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==i&&Jf(t,n,i,2,o);const x=3==(3&s);if(x){const oe=t.preOrderCheckHooks;null!==oe&&rn(n,oe,null)}else{const oe=t.preOrderHooks;null!==oe&&Qt(n,oe,0,null),Sn(n,0)}if(function ub(t){for(let n=Ql(t);null!==n;n=Jl(n)){if(!n[2])continue;const i=n[9];for(let o=0;o<i.length;o++){const s=i[o],m=s[3];0==(512&s[2])&&P(m,1),s[2]|=512}}}(n),function db(t){for(let n=Ql(t);null!==n;n=Jl(n))for(let i=10;i<n.length;i++){const o=n[i],s=o[1];zo(o)&&Xd(s,o,s.template,o[8])}}(n),null!==t.contentQueries&&Qf(t,n),x){const oe=t.contentCheckHooks;null!==oe&&rn(n,oe)}else{const oe=t.contentHooks;null!==oe&&Qt(n,oe,1),Sn(n,1)}!function j0(t,n){const i=t.hostBindingOpCodes;if(null!==i)try{for(let o=0;o<i.length;o++){const s=i[o];if(s<0)u(~s);else{const m=s,x=i[++o],S=i[++o];ea(x,m),S(2,n[m])}}}finally{u(-1)}}(t,n);const S=t.components;null!==S&&function z0(t,n){for(let i=0;i<n.length;i++)hb(t,n[i])}(n,S);const F=t.viewQuery;if(null!==F&&um(2,F,o),x){const oe=t.viewCheckHooks;null!==oe&&rn(n,oe)}else{const oe=t.viewHooks;null!==oe&&Qt(n,oe,2),Sn(n,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),n[2]&=-41,512&n[2]&&(n[2]&=-513,P(n[3],-1))}finally{na()}}}function Jf(t,n,i,o,s){const m=g(),x=2&o;try{u(-1),x&&n.length>22&&la(t,n,22,!1),i(o,s)}finally{u(m)}}function nm(t,n,i){if(To(n)){const s=n.directiveEnd;for(let m=n.directiveStart;m<s;m++){const x=t.data[m];x.contentQueries&&x.contentQueries(1,i[m],m)}}}function im(t,n,i){!Ro()||(function eb(t,n,i,o){const s=i.directiveStart,m=i.directiveEnd;t.firstCreatePass||ia(i,n),qr(o,n);const x=i.initialInputs;for(let S=s;S<m;S++){const F=t.data[S],oe=Ti(F);oe&&sb(n,i,F);const Se=Wo(n,t,S,i);qr(Se,n),null!==x&&lb(0,S-s,Se,F,0,x),oe&&(Ui(i.index,n)[8]=Se)}}(t,n,i,Ii(i,n)),64==(64&i.flags)&&rp(t,n,i))}function rm(t,n,i=Ii){const o=n.localNames;if(null!==o){let s=n.index+1;for(let m=0;m<o.length;m+=2){const x=o[m+1],S=-1===x?i(n,t):t[x];t[s++]=S}}}function qf(t){const n=t.tView;return null===n||n.incompleteFirstPass?t.tView=om(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):n}function om(t,n,i,o,s,m,x,S,F,oe){const Se=22+o,et=Se+s,xt=function G0(t,n){const i=[];for(let o=0;o<n;o++)i.push(o<t?null:bn);return i}(Se,et),Nt="function"==typeof oe?oe():oe;return xt[1]={type:t,blueprint:xt,template:i,queries:null,viewQuery:S,declTNode:n,data:xt.slice().fill(null,Se),bindingStartIndex:Se,expandoStartIndex:et,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof m?m():m,pipeRegistry:"function"==typeof x?x():x,firstChild:null,schemas:F,consts:Nt,incompleteFirstPass:!1}
1}function Xf(t,n,i,o){const s=ap(n);null===i?s.push(o):(s.push(i),t.firstCreatePass&&sp(t).push(o,s.length-1))}function ep(t,n,i,o){for(let s in t)if(t.hasOwnProperty(s)){i=null===i?{}:i;const m=t[s];null===o?tp(i,n,s,m):o.hasOwnProperty(s)&&tp(i,n,o[s],m)}return i}function tp(t,n,i,o){t.hasOwnProperty(i)?t[i].push(n,o):t[i]=[n,o]}function Ia(t,n,i,o,s,m,x,S){const F=Ii(n,i);let Se,oe=n.inputs;!S&&null!=oe&&(Se=oe[o])?(hm(t,i,Se,o,s),mr(n)&&np(i,n.index)):3&n.type&&(o=function Q0(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(o),s=null!=x?x(s,n.value||"",o):s,m.setProperty(F,o,s))}function np(t,n){const i=Ui(n,t);16&i[2]||(i[2]|=32)}function am(t,n,i,o){let s=!1;if(Ro()){const m=null===o?null:{"":-1},x=function nb(t,n){const i=t.directiveRegistry;let o=null,s=null;if(i)for(let m=0;m<i.length;m++){const x=i[m];if(c(n,x.selectors,!1))if(o||(o=[]),Ti(x))if(null!==x.findHostDirectiveDefs){const S=[];s=s||new Map,x.findHostDirectiveDefs(x,S,s),o.unshift(...S,x),sm(t,n,S.length)}else o.unshift(x),sm(t,n,0);else s=s||new Map,x.findHostDirectiveDefs?.(x,o,s),o.push(x)}return null===o?null:[o,s]}(t,i);let S,F;null===x?S=F=null:[S,F]=x,null!==S&&(s=!0,ip(t,n,i,S,m,F)),m&&function ib(t,n,i){if(n){const o=t.localNames=[];for(let s=0;s<n.length;s+=2){const m=i[n[s+1]];if(null==m)throw new fe(-301,!1);o.push(n[s],m)}}}(i,o,m)}return i.mergedAttrs=Qr(i.mergedAttrs,i.attrs),s}function ip(t,n,i,o,s,m){for(let oe=0;oe<o.length;oe++)ir(ia(i,n),t,o[oe].type);!function ob(t,n,i){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+i,t.providerIndexes=n}(i,t.data.length,o.length);for(let oe=0;oe<o.length;oe++){const Se=o[oe];Se.providersResolver&&Se.providersResolver(Se)}let x=!1,S=!1,F=kc(t,n,o.length,null);for(let oe=0;oe<o.length;oe++){const Se=o[oe];i.mergedAttrs=Qr(i.mergedAttrs,Se.hostAttrs),ab(t,i,n,F,Se),rb(F,Se,s),null!==Se.contentQueries&&(i.flags|=4),(null!==Se.hostBindings||null!==Se.hostAttrs||0!==Se.hostVars)&&(i.flags|=64);const et=Se.type.prototype;!x&&(et.ngOnChanges||et.ngOnInit||et.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(i.index),x=!0),!S&&(et.ngOnChanges||et.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(i.index),S=!0),F++}!function K0(t,n,i){const s=n.directiveEnd,m=t.data,x=n.attrs,S=[];let F=null,oe=null;for(let Se=n.directiveStart;Se<s;Se++){const et=m[Se],xt=i?i.get(et):null,Xt=xt?xt.outputs:null;F=ep(et.inputs,Se,F,xt?xt.inputs:null),oe=ep(et.outputs,Se,oe,Xt);const gn=null===F||null===x||Ks(n)?null:cb(F,Se,x);S.push(gn)}null!==F&&(F.hasOwnProperty("class")&&(n.flags|=8),F.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=S,n.inputs=F,n.outputs=oe}(t,i,m)}function rp(t,n,i){const o=i.directiveStart,s=i.directiveEnd,m=i.index,x=function ya(){return ye.lFrame.currentDirectiveIndex}();try{u(m);for(let S=o;S<s;S++){const F=t.data[S],oe=n[S];ro(S),(null!==F.hostBindings||0!==F.hostVars||null!==F.hostAttrs)&&tb(F,oe)}}finally{u(-1),ro(x)}}function tb(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function sm(t,n,i){n.componentOffset=i,(t.components||(t.components=[])).push(n.index)}function rb(t,n,i){if(i){if(n.exportAs)for(let o=0;o<n.exportAs.length;o++)i[n.exportAs[o]]=t;Ti(n)&&(i[""]=t)}}function ab(t,n,i,o,s){t.data[o]=s;const m=s.factory||(s.factory=Nn(s.type)),x=new Qn(m,Ti(s),El);t.blueprint[o]=x,i[o]=x,function q0(t,n,i,o,s){const m=s.hostBindings;if(m){let x=t.hostBindingOpCodes;null===x&&(x=t.hostBindingOpCodes=[]);const S=~n.index;(function X0(t){let n=t.length;for(;n>0;){const i=t[--n];if("number"==typeof i&&i<0)return i}return 0})(x)!=S&&x.push(S),x.push(i,o,m)}}(t,n,o,kc(t,i,s.hostVars,bn),s)}function sb(t,n,i){const o=Ii(n,t),s=qf(i),m=t[10],x=eu(t,qd(t,s,null,i.onPush?32:16,o,n,m,m.createRenderer(o,i),null,null,null));t[n.index]=x}function rs(t,n,i,o,s,m){const x=Ii(t,n);!function lm(t,n,i,o,s,m,x){if(null==m)t.removeAttribute(n,s,i);else{const S=null==x?be(m):x(m,o||"",s);t.setAttribute(n,s,S,i)}}(n[11],x,m,t.value,i,o,s)}function lb(t,n,i,o,s,m){const x=m[n];if(null!==x){const S=o.setInput;for(let F=0;F<x.length;){const oe=x[F++],Se=x[F++],et=x[F++];null!==S?o.setInput(i,et,oe,Se):i[Se]=et}}}function cb(t,n,i){let o=null,s=0;for(;s<i.length;){const m=i[s];if(0!==m)if(5!==m){if("number"==typeof m)break;
1if(t.hasOwnProperty(m)){null===o&&(o=[]);const x=t[m];for(let S=0;S<x.length;S+=2)if(x[S]===n){o.push(m,x[S+1],i[s+1]);break}}s+=2}else s+=2;else s+=4}return o}function op(t,n,i,o){return[t,!0,!1,n,null,0,o,i,null,null]}function hb(t,n){const i=Ui(n,t);if(zo(i)){const o=i[1];48&i[2]?Xd(o,i,o.template,i[8]):i[5]>0&&cm(i)}}function cm(t){for(let o=Ql(t);null!==o;o=Jl(o))for(let s=10;s<o.length;s++){const m=o[s];if(zo(m))if(512&m[2]){const x=m[1];Xd(x,m,x.template,m[8])}else m[5]>0&&cm(m)}const i=t[1].components;if(null!==i)for(let o=0;o<i.length;o++){const s=Ui(i[o],t);zo(s)&&s[5]>0&&cm(s)}}function mb(t,n){const i=Ui(n,t),o=i[1];(function fb(t,n){for(let i=n.length;i<t.blueprint.length;i++)n.push(t.blueprint[i])})(o,i),tm(o,i,i[8])}function eu(t,n){return t[13]?t[14][4]=n:t[13]=n,t[14]=n,n}function dm(t){for(;t;){t[2]|=32;const n=gs(t);if(Io(t)&&!n)return t;t=n}return null}function tu(t,n,i,o=!0){const s=n[10];s.begin&&s.begin();try{Xd(t,n,t.template,i)}catch(x){throw o&&cp(n,x),x}finally{s.end&&s.end()}}function um(t,n,i){ua(0),n(t,i)}function ap(t){return t[7]||(t[7]=[])}function sp(t){return t.cleanup||(t.cleanup=[])}function lp(t,n,i){return(null===t||Ti(t))&&(i=function Oo(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(i[n.index])),i[11]}function cp(t,n){const i=t[9],o=i?i.get(Gs,null):null;o&&o.handleError(n)}function hm(t,n,i,o,s){for(let m=0;m<i.length;){const x=i[m++],S=i[m++],F=n[x],oe=t.data[x];null!==oe.setInput?oe.setInput(F,s,o,S):F[S]=s}}function Ds(t,n,i){const o=hn(n,t);!function ec(t,n,i){t.setValue(n,i)}(t[11],o,i)}function nu(t,n,i){let o=i?t.styles:null,s=i?t.classes:null,m=0;
1if(null!==n)for(let x=0;x<n.length;x++){const S=n[x];"number"==typeof S?m=S:1==m?s=X(s,S):2==m&&(o=X(o,S+": "+n[++x]+";"))}i?t.styles=o:t.stylesWithoutHost=o,i?t.classes=s:t.classesWithoutHost=s}function iu(t,n,i,o,s=!1){for(;null!==i;){const m=n[i.index];if(null!==m&&o.push(Mi(m)),hr(m))for(let S=10;S<m.length;S++){const F=m[S],oe=F[1].firstChild;null!==oe&&iu(F[1],F,oe,o)}const x=i.type;if(8&x)iu(t,n,i.child,o);else if(32&x){const S=Kl(i,n);let F;for(;F=S();)o.push(F)}else if(16&x){const S=yd(n,i);if(Array.isArray(S))o.push(...S);else{const F=gs(n[16]);iu(F[1],F,S,o,!0)}}i=s?i.projectionNext:i.next}return o}class Tc{constructor(n,i){this._lView=n,this._cdRefInjectingView=i,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const n=this._lView,i=n[1];return iu(i,n,i.firstChild,[])}get context(){return this._lView[8]}set context(n){this._lView[8]=n}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[3];if(hr(n)){const i=n[8],o=i?i.indexOf(this):-1;o>-1&&(nc(n,o),Bo(i,o))}this._attachedToViewContainer=!1}dd(this._lView[1],this._lView)}onDestroy(n){Xf(this._lView[1],this._lView,null,n)}markForCheck(){dm(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){tu(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new fe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function zu(t,n){Bs(t,n,n[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new fe(902,!1);this._appRef=n}}class pb extends Tc{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;tu(n[1],n,n[8],!1)}checkNoChanges(){}get context(){return null}}class dp extends zs{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const i=qn(n);return new Ic(i,this.ngModule)}}function up(t){const n=[];for(let i in t)t.hasOwnProperty(i)&&n.push({propName:t[i],templateName:i});return n}class _b{constructor(n,i){this.injector=n,this.parentInjector=i}get(n,i,o){o=q(o);const s=this.injector.get(n,wc,o);return s!==wc||i===wc?s:this.parentInjector.get(n,i,o)}}class Ic extends Zd{constructor(n,i){super(),this.componentDef=n,this.ngModule=i,this.componentType=n.type,this.selector=function un(t){return t.map(Cn).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!i}get inputs(){return up(this.componentDef.inputs)}get outputs(){return up(this.componentDef.outputs)}create(n,i,o,s){let m=(s=s||this.ngModule)instanceof Cs?s:s?.injector;m&&null!==this.componentDef.getStandaloneInjector&&(m=this.componentDef.getStandaloneInjector(m)||m);const x=m?new _b(n,m):n,S=x.get(Wd,null);if(null===S)throw new fe(407,!1);const F=x.get(Vh,null),oe=S.createRenderer(null,this.componentDef),Se=this.componentDef.selectors[0][0]||"div",et=o?function Z0(t,n,i){return t.selectRootElement(n,i===In.ShadowDom)}(oe,o,this.componentDef.encapsulation):tc(oe,Se,function gb(t){const n=t.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(Se)),xt=this.componentDef.onPush?288:272,Nt=om(0,null,null,1,0,null,null,null,null,null),Xt=qd(null,Nt,null,xt,null,null,S,oe,F,x,null);let gn,Mn;vo(Xt);try{const Bn=this.componentDef;let ni,cn=null;Bn.findHostDirectiveDefs?(ni=[],cn=new Map,Bn.findHostDirectiveDefs(Bn,ni,cn),ni.push(Bn)):ni=[Bn];const hi=function vb(t,n){const i=t[1];return t[22]=n,Ml(i,22,2,"#host",null)}(Xt,et),Lr=function yb(t,n,i,o,s,m,x,S){const F=s[1];!function xb(t,n,i,o){for(const s of t)n.mergedAttrs=Qr(n.mergedAttrs,s.hostAttrs);null!==n.mergedAttrs&&(nu(n,n.mergedAttrs,!0),null!==i&&Cd(o,i,n))}(o,t,n,x);const oe=m.createRenderer(n,i),Se=qd(s,qf(i),null,i.onPush?32:16,s[t.index],t,m,oe,S||null,null,null);return F.firstCreatePass&&sm(F,t,o.length-1),eu(s,Se),s[t.index]=Se}(hi,et,Bn,ni,Xt,S,oe);Mn=jo(Nt,22),et&&function Cb(t,n,i,o){if(o)dr(t,i,["ng-version",Qd.full]);else{const{attrs:s,classes:m}=function ri(t){const n=[],i=[];let o=1,s=2;
1for(;o<t.length;){let m=t[o];if("string"==typeof m)2===s?""!==m&&n.push(m,t[++o]):8===s&&i.push(m);else{if(!d(s))break;s=m}o++}return{attrs:n,classes:i}}(n.selectors[0]);s&&dr(t,i,s),m&&m.length>0&&wd(t,i,m.join(" "))}}(oe,Bn,et,o),void 0!==i&&function Db(t,n,i){const o=t.projection=[];for(let s=0;s<n.length;s++){const m=i[s];o.push(null!=m?Array.from(m):null)}}(Mn,this.ngContentSelectors,i),gn=function wb(t,n,i,o,s,m){const x=Ai(),S=s[1],F=Ii(x,s);ip(S,s,x,i,null,o);for(let Se=0;Se<i.length;Se++)qr(Wo(s,S,x.directiveStart+Se,x),s);rp(S,s,x),F&&qr(F,s);const oe=Wo(s,S,x.directiveStart+x.componentOffset,x);if(t[8]=s[8]=oe,null!==m)for(const Se of m)Se(oe,n);return nm(S,x,t),oe}(Lr,Bn,ni,cn,Xt,[Eb]),tm(Nt,Xt,null)}finally{na()}return new bb(this.componentType,gn,Is(Mn,Xt),Xt,Mn)}}class bb extends Rh{constructor(n,i,o,s,m){super(),this.location=o,this._rootLView=s,this._tNode=m,this.instance=i,this.hostView=this.changeDetectorRef=new pb(s),this.componentType=n}setInput(n,i){const o=this._tNode.inputs;let s;if(null!==o&&(s=o[n])){const m=this._rootLView;hm(m[1],m,s,n,i),np(m,this._tNode.index)}}get injector(){return new Aa(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function Eb(){const t=Ai();$t(en()[1],t)}function mm(t){let n=function hp(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),i=!0;const o=[t];for(;n;){let s;if(Ti(t))s=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new fe(903,!1);s=n.\u0275dir}if(s){if(i){o.push(s);const x=t;x.inputs=fm(t.inputs),x.declaredInputs=fm(t.declaredInputs),x.outputs=fm(t.outputs);const S=s.hostBindings;S&&kb(t,S);const F=s.viewQuery,oe=s.contentQueries;if(F&&Ab(t,F),oe&&Sb(t,oe),R(t.inputs,s.inputs),R(t.declaredInputs,s.declaredInputs),R(t.outputs,s.outputs),Ti(s)&&s.data.animation){const Se=t.data;Se.animation=(Se.animation||[]).concat(s.data.animation)}}const m=s.features;if(m)for(let x=0;x<m.length;x++){const S=m[x];S&&S.ngInherit&&S(t),S===mm&&(i=!1)}}n=Object.getPrototypeOf(n)}!function Mb(t){let n=0,i=null;for(let o=t.length-1;o>=0;o--){const s=t[o];s.hostVars=n+=s.hostVars,s.hostAttrs=Qr(s.hostAttrs,i=Qr(i,s.hostAttrs))}}(o)}function fm(t){return t===Fn?{}:t===ln?[]:t}function Ab(t,n){const i=t.viewQuery;t.viewQuery=i?(o,s)=>{n(o,s),i(o,s)}:n}function Sb(t,n){const i=t.contentQueries;t.contentQueries=i?(o,s,m)=>{n(o,s,m),i(o,s,m)}:n}function kb(t,n){const i=t.hostBindings;t.hostBindings=i?(o,s)=>{n(o,s),i(o,s)}:n}let ru=null;function Js(){if(!ru){const t=Rt.Symbol;if(t&&t.iterator)ru=t.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let i=0;i<n.length;++i){const o=n[i];"entries"!==o&&"size"!==o&&Map.prototype[o]===Map.prototype.entries&&(ru=o)}}}return ru}function Oc(t){return!!pm(t)&&(Array.isArray(t)||!(t instanceof Map)&&Js()in t)}function pm(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function os(t,n,i){return t[n]=i}function ca(t,n,i){return!Object.is(t[n],i)&&(t[n]=i,!0)}function qs(t,n,i,o){const s=ca(t,n,i);return ca(t,n+1,o)||s}function gm(t,n,i,o){const s=en();return ca(s,bo(),n)&&(Gn(),rs(l(),s,t,n,i,o)),gm}function Sl(t,n,i,o){return ca(t,bo(),i)?n+be(i)+o:bn}function kl(t,n,i,o,s,m){const S=qs(t,function Pr(){return ye.lFrame.bindingIndex}(),i,s);return io(2),S?n+be(i)+o+be(s)+m:bn}function Ep(t,n,i,o,s,m,x,S){const F=en(),oe=Gn(),Se=t+22,et=oe.firstCreatePass?function Bb(t,n,i,o,s,m,x,S,F){const oe=n.consts,Se=Ml(n,t,4,x||null,G(oe,S));am(n,i,Se,G(oe,F)),$t(n,Se);const et=Se.tViews=om(2,Se,o,s,m,n.directiveRegistry,n.pipeRegistry,null,n.schemas,oe);return null!==n.queries&&(n.queries.template(n,Se),et.queries=n.queries.embeddedTView(Se)),Se}(Se,oe,F,n,i,o,s,m,x):oe.data[Se];wr(et,!1);const xt=F[11].createComment("");hl(oe,F,xt,et),qr(xt,F),eu(F,F[Se]=op(xt,F,xt,et)),xo(et)&&im(oe,F,et),null!=x&&rm(F,et,S)}function Mp(t){return Oi(function _o(){return ye.lFrame.contextLView}(),22+t)}function _m(t,n,i){const o=en();return ca(o,bo(),n)&&Ia(Gn(),l(),o,t,n,o[11],i,!1),_m}function bm(t,n,i,o,s){const x=s?"class":"style";hm(t,i,n.inputs[x],x,o)}function au(t,n,i,o){const s=en(),m=Gn(),x=22+t,S=s[11],F=s[x]=tc(S,n,function Je(){return ye.lFrame.currentNamespace}()),oe=m.firstCreatePass?function Ub(t,n,i,o,s,m,x){const S=n.consts,oe=Ml(n,t,2,s,G(S,m));return am(n,i,oe,G(S,x)),null!==oe.attrs&&nu(oe,oe.attrs,!1),null!==oe.mergedAttrs&&nu(oe,oe.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,oe),oe}(x,m,s,0,n,i,o):m.data[x];return wr(oe,!0),Cd(S,F,oe),32!=(32&oe.flags)&&hl(m,s,F,oe),0===function Hi(){return ye.lFrame.elementDepthCount}()&&qr(F,s),function Rr(){ye.lFrame.elementDepthCount++}(),xo(oe)&&(im(m,s,oe),nm(m,oe,s)),null!==o&&rm(s,oe),au}function su(){let t=Ai();go()?Jo():(t=t.parent,wr(t,!1));const n=t;!function mo(){ye.lFrame.elementDepthCount--}();const i=Gn();return i.firstCreatePass&&($t(i,t),To(t)&&i.queries.elementEnd(t)),null!=n.classesWithoutHost&&function Kr(t){return 0!=(8&t.flags)}(n)&&bm(i,n,en(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function yr(t){return 0!=(16&t.flags)}(n)&&bm(i,n,en(),n.stylesWithoutHost,!1),su}function vm(t,n,i,o){return au(t,n,i,o),su(),vm}function lu(t,n,i){const o=en(),s=Gn(),m=t+22,x=s.firstCreatePass?function Hb(t,n,i,o,s){const m=n.consts,x=G(m,o),S=Ml(n,t,8,"ng-container",x);return null!==x&&nu(S,x,!0),am(n,i,S,G(m,s)),null!==n.queries&&n.queries.elementStart(n,S),S}(m,s,o,n,i):s.data[m];wr(x,!0);const S=o[m]=o[11].createComment("");return hl(s,o,S,x),qr(S,o),xo(x)&&(im(s,o,x),nm(s,x,o)),null!=i&&rm(o,x),lu}function cu(){let t=Ai();const n=Gn();return go()?Jo():(t=t.parent,wr(t,!1)),n.firstCreatePass&&($t(n,t),To(t)&&n.queries.elementEnd(t)),cu}function ym(t,n,i){return lu(t,n,i),cu(),ym}function Ap(){return en()}function xm(t){return!!t&&"function"==typeof t.then}function Sp(t){return!!t&&"function"==typeof t.subscribe}const kp=Sp;function wm(t,n,i,o){const s=en(),m=Gn(),x=Ai();return Tp(m,s,s[11],x,t,n,o),wm}function Cm(t,n){const i=Ai(),o=en(),s=Gn();return Tp(s,o,lp(Po(s.data),i,o),i,t,n),Cm}function Tp(t,n,i,o,s,m,x){const S=xo(o),oe=t.firstCreatePass&&sp(t),Se=n[8],et=ap(n);let xt=!0;if(3&o.type||x){const gn=Ii(o,n),Mn=x?x(gn):gn,Bn=et.length,ni=x?hi=>x(Mi(hi[o.index])):o.index;let cn=null;if(!x&&S&&(cn=function jb(t,n,i,o){const s=t.cleanup;if(null!=s)for(let m=0;m<s.length-1;m+=2){const x=s[m];
1if(x===i&&s[m+1]===o){const S=n[7],F=s[m+2];return S.length>F?S[F]:null}"string"==typeof x&&(m+=2)}return null}(t,n,s,o.index)),null!==cn)(cn.__ngLastListenerFn__||cn).__ngNextListenerFn__=m,cn.__ngLastListenerFn__=m,xt=!1;else{m=Op(o,n,Se,m,!1);const hi=i.listen(Mn,s,m);et.push(m,hi),oe&&oe.push(s,ni,Bn,Bn+1)}}else m=Op(o,n,Se,m,!1);const Nt=o.outputs;let Xt;if(xt&&null!==Nt&&(Xt=Nt[s])){const gn=Xt.length;if(gn)for(let Mn=0;Mn<gn;Mn+=2){const Lr=n[Xt[Mn]][Xt[Mn+1]].subscribe(m),co=et.length;et.push(m,Lr),oe&&oe.push(s,o.index,co,-(co+1))}}}function Ip(t,n,i,o){try{return!1!==i(o)}catch(s){return cp(t,s),!1}}function Op(t,n,i,o,s){return function m(x){if(x===Function)return o;dm(t.componentOffset>-1?Ui(t.index,n):n);let F=Ip(n,0,o,x),oe=m.__ngNextListenerFn__;for(;oe;)F=Ip(n,0,oe,x)&&F,oe=oe.__ngNextListenerFn__;return s&&!1===F&&(x.preventDefault(),x.returnValue=!1),F}}function Rp(t=1){return function wa(t){return(ye.lFrame.contextLView=function zi(t,n){for(;t>0;)n=n[15],t--;return n}(t,ye.lFrame.contextLView))[8]}(t)}function zb(t,n){let i=null;const o=function D(t){const n=t.attrs;if(null!=n){const i=n.indexOf(5);if(0==(1&i))return n[i+1]}return null}(t);for(let s=0;s<n.length;s++){const m=n[s];if("*"!==m){if(null===o?c(t,m,!0):yt(o,m))return s}else i=s}return i}function Pp(t){const n=en()[16][6];if(!n.projection){const o=n.projection=_r(t?t.length:1,null),s=o.slice();let m=n.child;for(;null!==m;){const x=t?zb(m,t):0;null!==x&&(s[x]?s[x].projectionNext=m:o[x]=m,s[x]=m),m=m.next}}}function Fp(t,n=0,i){const o=en(),s=Gn(),m=Ml(s,22+t,16,null,i||null);null===m.projection&&(m.projection=n),Jo(),32!=(32&m.flags)&&function Wu(t,n,i){xd(n[11],0,n,i,ud(t,i,n),gd(i.parent||n[6],i,n))}(s,o,m)}function Dm(t,n,i){return Em(t,"",n,"",i),Dm}function Em(t,n,i,o,s){const m=en(),x=Sl(m,n,i,o);return x!==bn&&Ia(Gn(),l(),m,t,x,m[11],s,!1),Em}function du(t,n){return t<<17|n<<2}function Ps(t){return t>>17&32767}function Mm(t){return 2|t}function Xs(t){return(131068&t)>>2}function Am(t,n){return-131069&t|n<<2}function Sm(t){return 1|t}function zp(t,n,i,o,s){const m=t[i+1],x=null===n;let S=o?Ps(m):Xs(m),F=!1;for(;0!==S&&(!1===F||x);){const Se=t[S+1];Qb(t[S],n)&&(F=!0,t[S+1]=o?Sm(Se):Mm(Se)),S=o?Ps(Se):Xs(Se)}F&&(t[i+1]=o?Mm(m):Sm(m))}function Qb(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&Ha(t,n)>=0}const ko={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Yp(t){return t.substring(ko.key,ko.keyEnd)}function Gp(t,n){const i=ko.textEnd;return i===n?-1:(n=ko.keyEnd=function ev(t,n,i){for(;n<i&&t.charCodeAt(n)>32;)n++;return n}(t,ko.key=n,i),Nl(t,n,i))}function Nl(t,n,i){for(;n<i&&t.charCodeAt(n)<=32;)n++;return n}function km(t,n,i){return Qa(t,n,i,!1),km}function Tm(t,n){return Qa(t,n,null,!0),Tm}function Jp(t){Ja(Vo,ss,t,!0)}function ss(t,n){for(let i=function qb(t){return function Wp(t){ko.key=0,ko.keyEnd=0,ko.value=0,ko.valueEnd=0,ko.textEnd=t.length}(t),Gp(t,Nl(t,0,ko.textEnd))}(n);i>=0;i=Gp(n,i))Vo(t,Yp(n),!0)}function Qa(t,n,i,o){const s=en(),m=Gn(),x=io(2);m.firstUpdatePass&&Xp(m,t,x,o),n!==bn&&ca(s,x,n)&&tg(m,m.data[g()],s,s[11],t,s[x+1]=function dv(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=ae(Ga(t)))),t}(n,i),o,x)}function Ja(t,n,i,o){const s=Gn(),m=io(2);s.firstUpdatePass&&Xp(s,null,m,o);const x=en();if(i!==bn&&ca(x,m,i)){const S=s.data[g()];if(ig(S,o)&&!qp(s,m)){let F=o?S.classesWithoutHost:S.stylesWithoutHost;null!==F&&(i=X(F,i||"")),bm(s,S,x,i,o)}else!function cv(t,n,i,o,s,m,x,S){s===bn&&(s=ln);let F=0,oe=0,Se=0<s.length?s[0]:null,et=0<m.length?m[0]:null;for(;null!==Se||null!==et;){const xt=F<s.length?s[F+1]:void 0,Nt=oe<m.length?m[oe+1]:void 0;let gn,Xt=null;Se===et?(F+=2,oe+=2,xt!==Nt&&(Xt=et,gn=Nt)):null===et||null!==Se&&Se<et?(F+=2,Xt=Se):(oe+=2,Xt=et,gn=Nt),null!==Xt&&tg(t,n,i,o,Xt,gn,x,S),Se=F<s.length?s[F]:null,et=oe<m.length?m[oe]:null}}(s,S,x,x[11],x[m+1],x[m+1]=function lv(t,n,i){if(null==i||""===i)return ln;const o=[],s=Ga(i);if(Array.isArray(s))for(let m=0;m<s.length;m++)t(o,s[m],!0);else if("object"==typeof s)for(const m in s)s.hasOwnProperty(m)&&t(o,m,s[m]);else"string"==typeof s&&n(o,s);return o}(t,n,i),o,m)}}function qp(t,n){return n>=t.expandoStartIndex}function Xp(t,n,i,o){const s=t.data;if(null===s[i+1]){const m=s[g()],x=qp(t,i);ig(m,o)&&null===n&&!x&&(n=!1),n=function rv(t,n,i,o){const s=Po(t);let m=o?n.residualClasses:n.residualStyles;if(null===s)0===(o?n.classBindings:n.styleBindings)&&(i=Pc(i=Im(null,t,n,i,o),n.attrs,o),m=null);else{const x=n.directiveStylingLast;if(-1===x||t[x]!==s)if(i=Im(s,t,n,i,o),null===m){let F=function ov(t,n,i){const o=i?n.classBindings:n.styleBindings;if(0!==Xs(o))return t[Ps(o)]}(t,n,o);void 0!==F&&Array.isArray(F)&&(F=Im(null,t,n,F[1],o),F=Pc(F,n.attrs,o),function av(t,n,i,o){t[Ps(i?n.classBindings:n.styleBindings)]=o}(t,n,o,F))}else m=function sv(t,n,i){let o;const s=n.directiveEnd;for(let m=1+n.directiveStylingLast;m<s;m++)o=Pc(o,t[m].hostAttrs,i);return Pc(o,n.attrs,i)}(t,n,o)}
1return void 0!==m&&(o?n.residualClasses=m:n.residualStyles=m),i}(s,m,n,o),function Wb(t,n,i,o,s,m){let x=m?n.classBindings:n.styleBindings,S=Ps(x),F=Xs(x);t[o]=i;let Se,oe=!1;if(Array.isArray(i)){const et=i;Se=et[1],(null===Se||Ha(et,Se)>0)&&(oe=!0)}else Se=i;if(s)if(0!==F){const xt=Ps(t[S+1]);t[o+1]=du(xt,S),0!==xt&&(t[xt+1]=Am(t[xt+1],o)),t[S+1]=function Gb(t,n){return 131071&t|n<<17}(t[S+1],o)}else t[o+1]=du(S,0),0!==S&&(t[S+1]=Am(t[S+1],o)),S=o;else t[o+1]=du(F,0),0===S?S=o:t[F+1]=Am(t[F+1],o),F=o;oe&&(t[o+1]=Mm(t[o+1])),zp(t,Se,o,!0),zp(t,Se,o,!1),function Kb(t,n,i,o,s){const m=s?t.residualClasses:t.residualStyles;null!=m&&"string"==typeof n&&Ha(m,n)>=0&&(i[o+1]=Sm(i[o+1]))}(n,Se,t,o,m),x=du(S,F),m?n.classBindings=x:n.styleBindings=x}(s,m,n,i,x,o)}}function Im(t,n,i,o,s){let m=null;const x=i.directiveEnd;let S=i.directiveStylingLast;for(-1===S?S=i.directiveStart:S++;S<x&&(m=n[S],o=Pc(o,m.hostAttrs,s),m!==t);)S++;return null!==t&&(i.directiveStylingLast=S),o}function Pc(t,n,i){const o=i?1:2;let s=-1;if(null!==n)for(let m=0;m<n.length;m++){const x=n[m];"number"==typeof x?s=x:s===o&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Vo(t,x,!!i||n[++m]))}return void 0===t?null:t}function tg(t,n,i,o,s,m,x,S){if(!(3&n.type))return;const F=t.data,oe=F[S+1],Se=function Zb(t){return 1==(1&t)}(oe)?ng(F,n,i,s,Xs(oe),x):void 0;uu(Se)||(uu(m)||function Yb(t){return 2==(2&t)}(oe)&&(m=ng(F,null,i,s,S,x)),function Qu(t,n,i,o,s){if(n)s?t.addClass(i,o):t.removeClass(i,o);else{let m=-1===o.indexOf("-")?void 0:Na.DashCase;null==s?t.removeStyle(i,o,m):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),m|=Na.Important),t.setStyle(i,o,s,m))}}(o,x,hn(g(),i),s,m))}function ng(t,n,i,o,s,m){const x=null===n;let S;for(;s>0;){const F=t[s],oe=Array.isArray(F),Se=oe?F[1]:F,et=null===Se;let xt=i[s+1];xt===bn&&(xt=et?ln:void 0);let Nt=et?il(xt,o):Se===o?xt:void 0;if(oe&&!uu(Nt)&&(Nt=il(F,o)),uu(Nt)&&(S=Nt,x))return S;const Xt=t[s+1];s=x?Ps(Xt):Xs(Xt)}if(null!==n){let F=m?n.residualClasses:n.residualStyles;null!=F&&(S=il(F,o))}return S}function uu(t){return void 0!==t}function ig(t,n){return 0!=(t.flags&(n?8:16))}function rg(t,n=""){const i=en(),o=Gn(),s=t+22,m=o.firstCreatePass?Ml(o,s,1,n,null):o.data[s],x=i[s]=function Xl(t,n){return t.createText(n)}(i[11],n);hl(o,i,x,m),wr(m,!1)}function Om(t){return hu("",t,""),Om}function hu(t,n,i){const o=en(),s=Sl(o,t,n,i);return s!==bn&&Ds(o,g(),s),hu}function Rm(t,n,i,o,s){const m=en(),x=kl(m,t,n,i,o,s);return x!==bn&&Ds(m,g(),x),Rm}function hg(t,n,i){Ja(Vo,ss,Sl(en(),t,n,i),!0)}function Pm(t,n,i){const o=en();return ca(o,bo(),n)&&Ia(Gn(),l(),o,t,n,o[11],i,!0),Pm}function Fm(t,n,i){const o=en();if(ca(o,bo(),n)){const m=Gn(),x=l();Ia(m,x,o,t,n,lp(Po(m.data),x,o),i,!0)}return Fm}const el=void 0;var kv=["en",[["a","p"],["AM","PM"],el],[["AM","PM"],el,el],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],el,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],el,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",el,"{1} 'at' {0}",el],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Sv(t){const i=Math.floor(Math.abs(t)),o=t.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===o?1:5}];let Ll={};function Tv(t,n,i){"string"!=typeof n&&(i=n,n=t[ei.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),Ll[n]=t,i&&(Ll[n][ei.ExtraData]=i)}function Nm(t){const n=function Iv(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=Cg(n);if(i)return i;const o=n.split("-")[0];if(i=Cg(o),i)return i;if("en"===o)return kv;throw new fe(701,!1)}function wg(t){return Nm(t)[ei.PluralCase]}function Cg(t){return t in Ll||(Ll[t]=Rt.ng&&Rt.ng.common&&Rt.ng.common.locales&&Rt.ng.common.locales[t]),Ll[t]}var ei=(()=>
1((ei=ei||{})[ei.LocaleId=0]="LocaleId",ei[ei.DayPeriodsFormat=1]="DayPeriodsFormat",ei[ei.DayPeriodsStandalone=2]="DayPeriodsStandalone",ei[ei.DaysFormat=3]="DaysFormat",ei[ei.DaysStandalone=4]="DaysStandalone",ei[ei.MonthsFormat=5]="MonthsFormat",ei[ei.MonthsStandalone=6]="MonthsStandalone",ei[ei.Eras=7]="Eras",ei[ei.FirstDayOfWeek=8]="FirstDayOfWeek",ei[ei.WeekendRange=9]="WeekendRange",ei[ei.DateFormat=10]="DateFormat",ei[ei.TimeFormat=11]="TimeFormat",ei[ei.DateTimeFormat=12]="DateTimeFormat",ei[ei.NumberSymbols=13]="NumberSymbols",ei[ei.NumberFormats=14]="NumberFormats",ei[ei.CurrencyCode=15]="CurrencyCode",ei[ei.CurrencySymbol=16]="CurrencySymbol",ei[ei.CurrencyName=17]="CurrencyName",ei[ei.Currencies=18]="Currencies",ei[ei.Directionality=19]="Directionality",ei[ei.PluralCase=20]="PluralCase",ei[ei.ExtraData=21]="ExtraData",ei))();const $l="en-US";let Dg=$l;function Bm(t,n,i,o,s){if(t=ce(t),Array.isArray(t))for(let m=0;m<t.length;m++)Bm(t[m],n,i,o,s);else{const m=Gn(),x=en();let S=ys(t)?t:ce(t.provide),F=Hs(t);const oe=Ai(),Se=1048575&oe.providerIndexes,et=oe.directiveStart,xt=oe.providerIndexes>>20;if(ys(t)||!t.multi){const Nt=new Qn(F,s,El),Xt=Um(S,n,s?Se:Se+xt,et);-1===Xt?(ir(ia(oe,x),m,S),Vm(m,t,n.length),n.push(S),oe.directiveStart++,oe.directiveEnd++,s&&(oe.providerIndexes+=1048576),i.push(Nt),x.push(Nt)):(i[Xt]=Nt,x[Xt]=Nt)}else{const Nt=Um(S,n,Se+xt,et),Xt=Um(S,n,Se,Se+xt),gn=Nt>=0&&i[Nt],Mn=Xt>=0&&i[Xt];if(s&&!Mn||!s&&!gn){ir(ia(oe,x),m,S);const Bn=function Sy(t,n,i,o,s){const m=new Qn(t,i,El);return m.multi=[],m.index=n,m.componentProviders=0,Kg(m,s,o&&!i),m}(s?Ay:My,i.length,s,o,F);!s&&Mn&&(i[Xt].providerFactory=Bn),Vm(m,t,n.length,0),n.push(S),oe.directiveStart++,oe.directiveEnd++,s&&(oe.providerIndexes+=1048576),i.push(Bn),x.push(Bn)}else Vm(m,t,Nt>-1?Nt:Xt,Kg(i[s?Xt:Nt],F,!s&&o));!s&&o&&Mn&&i[Xt].componentProviders++}}}function Vm(t,n,i,o){const s=ys(n),m=function Mh(t){return!!t.useClass}(n);if(s||m){const F=(m?ce(n.useClass):n).prototype.ngOnDestroy;if(F){const oe=t.destroyHooks||(t.destroyHooks=[]);if(!s&&n.multi){const Se=oe.indexOf(i);-1===Se?oe.push(i,[o,F]):oe[Se+1].push(o,F)}else oe.push(i,F)}}}function Kg(t,n,i){return i&&t.componentProviders++,t.multi.push(n)-1}function Um(t,n,i,o){for(let s=i;s<o;s++)if(n[s]===t)return s;return-1}function My(t,n,i,o){return Hm(this.multi,[])}function Ay(t,n,i,o){const s=this.multi;let m;if(this.providerFactory){const x=this.providerFactory.componentProviders,S=Wo(i,i[1],this.providerFactory.index,o);m=S.slice(0,x),Hm(s,m);for(let F=x;F<S.length;F++)m.push(S[F])}else m=[],Hm(s,m);return m}function Hm(t,n){for(let i=0;i<t.length;i++)n.push((0,t[i])());return n}function Qg(t,n=[]){return i=>{i.providersResolver=(o,s)=>function Ey(t,n,i){const o=Gn();if(o.firstCreatePass){const s=Ti(t);Bm(i,o.data,o.blueprint,s,!0),Bm(n,o.data,o.blueprint,s,!1)}}(o,s?s(t):t,n)}}class Bl{}class Jg{}function ky(t,n){return new qg(t,n??null)}class qg extends Bl{constructor(n,i){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new dp(this);const o=St(n);this._bootstrapComponents=Ka(o.bootstrap),this._r3Injector=Hf(n,i,[{provide:Bl,useValue:this},{provide:zs,useValue:this.componentFactoryResolver}],ae(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class jm extends Jg{constructor(n){super(),this.moduleType=n}create(n){return new qg(this.moduleType,n)}}class Ty extends Bl{constructor(n,i,o){super(),this.componentFactoryResolver=new dp(this),this.instance=null;const s=new Gd([...n,{provide:Bl,useValue:this},{provide:zs,useValue:this.componentFactoryResolver}],i||yl(),o,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function zm(t,n,i=null){return new Ty(t,n,i).injector}let Iy=(()=>{class t{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i.id)){const o=Hd(0,i.type),s=o.length>0?zm([o],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i.id,s)}return this.cachedInjectors.get(i.id)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=B({token:t,providedIn:"environment",factory:()=>new t(Ze(Cs))}),t})();function Xg(t){t.getStandaloneInjector=n=>n.get(Iy).getOrCreateStandaloneInjector(t)}function a_(t,n,i){const o=ji()+t,s=en();return s[o]===bn?os(s,o,i?n.call(i):n()):function Rc(t,n){return t[n]}(s,o)}function s_(t,n,i,o){return c_(en(),ji(),t,n,i,o)}function l_(t,n,i,o,s){return d_(en(),ji(),t,n,i,o,s)}function Vc(t,n){const i=t[n];return i===bn?void 0:i}function c_(t,n,i,o,s,m){const x=n+i;return ca(t,x,s)?os(t,x+1,m?o.call(m,s):o(s)):Vc(t,x+1)}function d_(t,n,i,o,s,m,x){const S=n+i;return qs(t,S,s,m)?os(t,S+2,x?o.call(x,s,m):o(s,m)):Vc(t,S+2)}function f_(t,n){const i=Gn();let o;const s=t+22;i.firstCreatePass?(o=function Zy(t,n){if(n)for(let i=n.length-1;i>=0;i--){const o=n[i];if(t===o.name)return o}}(n,i.pipeRegistry),i.data[s]=o,o.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(s,o.onDestroy)):o=i.data[s];const m=o.factory||(o.factory=Nn(o.type)),x=Oe(El);try{const S=Un(!1),F=m();return Un(S),function Vb(t,n,i,o){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),n[i]=o}(i,en(),s,F),F}finally{Oe(x)}}function p_(t,n,i){const o=t+22,s=en(),m=Oi(s,o);return Uc(s,o)?c_(s,ji(),n,m.transform,i,m):m.transform(i)}function g_(t,n,i,o){const s=t+22,m=en(),x=Oi(m,s);return Uc(m,s)?d_(m,ji(),n,x.transform,i,o,x):x.transform(i,o)}function Uc(t,n){return t[1].data[n].pure}function Gm(t){return n=>{setTimeout(t,void 0,n)}}const ls=class Jy extends a.x{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,i,o){let s=n,m=i||(()=>null),x=o;if(n&&"object"==typeof n){const F=n;s=F.next?.bind(F),m=F.error?.bind(F),x=F.complete?.bind(F)}this.__isAsync&&(m=Gm(m),s&&(s=Gm(s)),x&&(x=Gm(x)));const S=super.subscribe({next:s,error:m,complete:x});return n instanceof p.w0&&n.add(S),S}};function qy(){return this._results[Js()]()}class _u{constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=Js(),o=_u.prototype;o[i]||(o[i]=qy)}get changes(){return this._changes||(this._changes=new ls)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,i){return this._results.reduce(n,i)}
1forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,i){const o=this;o.dirty=!1;const s=vi(n);(this._changesDetected=!function ui(t,n,i){if(t.length!==n.length)return!1;for(let o=0;o<t.length;o++){let s=t[o],m=n[o];if(i&&(s=i(s),m=i(m)),m!==s)return!1}return!0}(o._results,s,i))&&(o._results=s,o.length=s.length,o.last=s[this.length-1],o.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Hc=(()=>{class t{}return t.__NG_ELEMENT_ID__=t1,t})();const Xy=Hc,e1=class extends Xy{constructor(n,i,o){super(),this._declarationLView=n,this._declarationTContainer=i,this.elementRef=o}createEmbeddedView(n,i){const o=this._declarationTContainer.tViews,s=qd(this._declarationLView,o,n,16,null,o.declTNode,null,null,null,null,i||null);s[17]=this._declarationLView[this._declarationTContainer.index];const x=this._declarationLView[19];return null!==x&&(s[19]=x.createEmbeddedView(o)),tm(o,s,n),new Tc(s)}};function t1(){return bu(Ai(),en())}function bu(t,n){return 4&t.type?new e1(n,t,Is(t,n)):null}let vu=(()=>{class t{}return t.__NG_ELEMENT_ID__=n1,t})();function n1(){return v_(Ai(),en())}const r1=vu,__=class extends r1{constructor(n,i,o){super(),this._lContainer=n,this._hostTNode=i,this._hostLView=o}get element(){return Is(this._hostTNode,this._hostLView)}get injector(){return new Aa(this._hostTNode,this._hostLView)}get parentInjector(){const n=Si(this._hostTNode,this._hostLView);if(Zo(n)){const i=Pn(n,this._hostLView),o=Fo(n);return new Aa(i[1].data[o+8],i)}return new Aa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const i=b_(this._lContainer);return null!==i&&i[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,i,o){let s,m;"number"==typeof o?s=o:null!=o&&(s=o.index,m=o.injector);const x=n.createEmbeddedView(i||{},m);return this.insert(x,s),x}createComponent(n,i,o,s,m){const x=n&&!function wn(t){return"function"==typeof t}(n);let S;if(x)S=i;else{const et=i||{};S=et.index,o=et.injector,s=et.projectableNodes,m=et.environmentInjector||et.ngModuleRef}const F=x?n:new Ic(qn(n)),oe=o||this.parentInjector;if(!m&&null==F.ngModule){const xt=(x?oe:this.parentInjector).get(Cs,null);xt&&(m=xt)}const Se=F.create(oe,s,void 0,m);return this.insert(Se.hostView,S),Se}insert(n,i){const o=n._lView,s=o[1];if(function Qo(t){return hr(t[3])}(o)){const Se=this.indexOf(n);if(-1!==Se)this.detach(Se);else{const et=o[3],xt=new __(et,et[6],et[3]);xt.detach(xt.indexOf(n))}}const m=this._adjustIndex(i),x=this._lContainer;!function ld(t,n,i,o){const s=10+o,m=i.length;o>0&&(i[s-1][4]=n),o<m-10?(n[4]=i[s],$o(i,10+o,n)):(i.push(n),n[4]=null),n[3]=i;const x=n[17];null!==x&&i!==x&&function $s(t,n){const i=t[9];n[16]!==n[3][3][16]&&(t[2]=!0),null===i?t[9]=[n]:i.push(n)}(x,n);const S=n[19];null!==S&&S.insertView(t),n[2]|=64}(s,o,x,m);const S=oc(m,x),F=o[11],oe=ul(F,x[7]);return null!==oe&&function ju(t,n,i,o,s,m){o[0]=s,o[6]=n,Bs(t,o,i,1,s,m)}(s,x[6],F,o,oe,S),n.attachToViewContainerRef(),$o(Zm(x),m,n),n}move(n,i){return this.insert(n,i)}indexOf(n){const i=b_(this._lContainer);return null!==i?i.indexOf(n):-1}remove(n){const i=this._adjustIndex(n,-1),o=nc(this._lContainer,i);o&&(Bo(Zm(this._lContainer),i),dd(o[1],o))}detach(n){const i=this._adjustIndex(n,-1),o=nc(this._lContainer,i);return o&&null!=Bo(Zm(this._lContainer),i)?new Tc(o):null}_adjustIndex(n,i=0){return n??this.length+i}};function b_(t){return t[8]}function Zm(t){return t[8]||(t[8]=[])}function v_(t,n){let i;const o=n[t.index];if(hr(o))i=o;else{let s;if(8&t.type)s=Mi(o);else{const m=n[11];s=m.createComment("");const x=Ii(t,n);_s(m,ul(m,x),s,function Zu(t,n){return t.nextSibling(n)}(m,x),!1)}n[t.index]=i=op(o,n,s,t),eu(n,i)}return new __(i,t,n)}class Wm{constructor(n){this.queryList=n,this.matches=null}clone(){return new Wm(this.queryList)}setDirty(){this.queryList.setDirty()}}class Km{constructor(n=[]){this.queries=n}createEmbeddedView(n){const i=n.queries;if(null!==i){const o=null!==n.contentQueries?n.contentQueries[0]:i.length,s=[];for(let m=0;m<o;m++){const x=i.getByIndex(m);s.push(this.queries[x.indexInDeclarationView].clone())}return new Km(s)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let i=0;i<this.queries.length;i++)null!==S_(n,i).matches&&this.queries[i].setDirty()}}class y_{constructor(n,i,o=null){this.predicate=n,this.flags=i,this.read=o}}class Qm{constructor(n=[]){this.queries=n}elementStart(n,i){for(let o=0;o<this.queries.length;o++)this.queries[o].elementStart(n,i)}elementEnd(n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(n)}embeddedTView(n){let i=null;for(let o=0;o<this.length;o++){const s=null!==i?i.length:0,m=this.getByIndex(o).embeddedTView(n,s);m&&(m.indexInDeclarationView=o,null!==i?i.push(m):i=[m])}return null!==i?new Qm(i):null}template(n,i){for(let o=0;o<this.queries.length;o++)this.queries[o].template(n,i)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class Jm{constructor(n,i=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(n,i){this.isApplyingToNode(i)&&this.matchTNode(n,i)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,i){this.elementStart(n,i)}embeddedTView(n,i){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,i),new Jm(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const i=this._declarationNodeIndex;let o=n.parent;for(;null!==o&&8&o.type&&o.index!==i;)o=o.parent;return i===(null!==o?o.index:-1)}return this._appliesToNextNode}
1matchTNode(n,i){const o=this.metadata.predicate;if(Array.isArray(o))for(let s=0;s<o.length;s++){const m=o[s];this.matchTNodeWithReadOption(n,i,s1(i,m)),this.matchTNodeWithReadOption(n,i,cs(i,n,m,!1,!1))}else o===Hc?4&i.type&&this.matchTNodeWithReadOption(n,i,-1):this.matchTNodeWithReadOption(n,i,cs(i,n,o,!1,!1))}matchTNodeWithReadOption(n,i,o){if(null!==o){const s=this.metadata.read;if(null!==s)if(s===Ys||s===vu||s===Hc&&4&i.type)this.addMatch(i.index,-2);else{const m=cs(i,n,s,!1,!1);null!==m&&this.addMatch(i.index,m)}else this.addMatch(i.index,o)}}addMatch(n,i){null===this.matches?this.matches=[n,i]:this.matches.push(n,i)}}function s1(t,n){const i=t.localNames;if(null!==i)for(let o=0;o<i.length;o+=2)if(i[o]===n)return i[o+1];return null}function c1(t,n,i,o){return-1===i?function l1(t,n){return 11&t.type?Is(t,n):4&t.type?bu(t,n):null}(n,t):-2===i?function d1(t,n,i){return i===Ys?Is(n,t):i===Hc?bu(n,t):i===vu?v_(n,t):void 0}(t,n,o):Wo(t,t[1],i,n)}function x_(t,n,i,o){const s=n[19].queries[o];if(null===s.matches){const m=t.data,x=i.matches,S=[];for(let F=0;F<x.length;F+=2){const oe=x[F];S.push(oe<0?null:c1(n,m[oe],x[F+1],i.metadata.read))}s.matches=S}return s.matches}function qm(t,n,i,o){const s=t.queries.getByIndex(i),m=s.matches;if(null!==m){const x=x_(t,n,s,i);for(let S=0;S<m.length;S+=2){const F=m[S];if(F>0)o.push(x[S/2]);else{const oe=m[S+1],Se=n[-F];for(let et=10;et<Se.length;et++){const xt=Se[et];xt[17]===xt[3]&&qm(xt[1],xt,oe,o)}if(null!==Se[9]){const et=Se[9];for(let xt=0;xt<et.length;xt++){const Nt=et[xt];qm(Nt[1],Nt,oe,o)}}}}}return o}function w_(t){const n=en(),i=Gn(),o=ta();ua(o+1);const s=S_(i,o);if(t.dirty&&function Ko(t){return 4==(4&t[2])}(n)===(2==(2&s.metadata.flags))){if(null===s.matches)t.reset([]);else{const m=s.crossesNgTemplate?qm(i,n,o,[]):x_(i,n,s,o);t.reset(m,Lh),t.notifyOnChanges()}return!0}return!1}function C_(t,n,i){const o=Gn();o.firstCreatePass&&(A_(o,new y_(t,n,i),-1),2==(2&n)&&(o.staticViewQueries=!0)),M_(o,en(),n)}function D_(t,n,i,o){const s=Gn();if(s.firstCreatePass){const m=Ai();A_(s,new y_(n,i,o),m.index),function h1(t,n){const i=t.contentQueries||(t.contentQueries=[]);n!==(i.length?i[i.length-1]:-1)&&i.push(t.queries.length-1,n)}(s,t),2==(2&i)&&(s.staticContentQueries=!0)}M_(s,en(),i)}function E_(){return function u1(t,n){return t[19].queries[n].queryList}(en(),ta())}function M_(t,n,i){const o=new _u(4==(4&i));Xf(t,n,o,o.destroy),null===n[19]&&(n[19]=new Km),n[19].queries.push(new Wm(o))}function A_(t,n,i){null===t.queries&&(t.queries=new Qm),t.queries.track(new Jm(n,i))}function S_(t,n){return t.queries.getByIndex(n)}function k_(t,n){return bu(t,n)}const O1=ki("Input",t=>({bindingPropertyName:t})),R1=ki("Output",t=>({bindingPropertyName:t})),P1=ki("HostBinding",t=>({hostPropertyName:t}));function xu(...t){}const W_=new ii("Application Initializer");let wu=(()=>{class t{constructor(i){this.appInits=i,this.resolve=xu,this.reject=xu,this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,s)=>{this.resolve=o,this.reject=s})}runInitializers(){if(this.initialized)return;const i=[],o=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const m=this.appInits[s]();if(xm(m))i.push(m);else if(kp(m)){const x=new Promise((S,F)=>{m.subscribe({complete:S,error:F})});i.push(x)}}Promise.all(i).then(()=>{o()}).catch(s=>{this.reject(s)}),0===i.length&&o(),this.initialized=!0}}return t.\u0275fac=function(i){return new(i||t)(Ze(W_,8))},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const K_=new ii("AppId",{providedIn:"root",factory:function Q_(){return`${rf()}${rf()}${rf()}`}});function rf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const J_=new ii("Platform Initializer"),F1=new ii("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),q_=new ii("appBootstrapListener"),N1=new ii("AnimationModuleType");let L1=(()=>{class t{log(i){console.log(i)}warn(i){console.warn(i)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Cu=new ii("LocaleId",{providedIn:"root",factory:()=>le(Cu,xe.Optional|xe.SkipSelf)||function $1(){return typeof $localize<"u"&&$localize.locale||$l}()}),B1=new ii("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class V1{constructor(n,i){this.ngModuleFactory=n,this.componentFactories=i}}let U1=(()=>{class t{compileModuleSync(i){return new jm(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),m=Ka(St(i).declarations).reduce((x,S)=>{const F=qn(S);return F&&x.push(new Ic(F)),x},[]);return new V1(o,m)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const z1=(()=>Promise.resolve(0))();function af(t){typeof Zone>"u"?z1.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Ba{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ls(!1),this.onMicrotaskEmpty=new ls(!1),this.onStable=new ls(!1),this.onError=ne
1w ls(!1),typeof Zone>"u")throw new fe(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&i,s.shouldCoalesceRunChangeDetection=o,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function Y1(){let t=Rt.requestAnimationFrame,n=Rt.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function W1(t){const n=()=>{!function Z1(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Rt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,lf(t),t.isCheckStableRunning=!0,sf(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),lf(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,o,s,m,x,S)=>{try{return t0(t),i.invokeTask(s,m,x,S)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===m.type||t.shouldCoalesceRunChangeDetection)&&n(),n0(t)}},onInvoke:(i,o,s,m,x,S,F)=>{try{return t0(t),i.invoke(s,m,x,S,F)}finally{t.shouldCoalesceRunChangeDetection&&n(),n0(t)}},onHasTask:(i,o,s,m)=>{i.hasTask(s,m),o===s&&("microTask"==m.change?(t._hasPendingMicrotasks=m.microTask,lf(t),sf(t)):"macroTask"==m.change&&(t.hasPendingMacrotasks=m.macroTask))},onHandleError:(i,o,s,m)=>(i.handleError(s,m),t.runOutsideAngular(()=>t.onError.emit(m)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ba.isInAngularZone())throw new fe(909,!1)}static assertNotInAngularZone(){if(Ba.isInAngularZone())throw new fe(909,!1)}run(n,i,o){return this._inner.run(n,i,o)}runTask(n,i,o,s){const m=this._inner,x=m.scheduleEventTask("NgZoneEvent: "+s,n,G1,xu,xu);try{return m.runTask(x,i,o)}finally{m.cancelTask(x)}}runGuarded(n,i,o){return this._inner.runGuarded(n,i,o)}runOutsideAngular(n){return this._outer.run(n)}}const G1={};function sf(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function lf(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function t0(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function n0(t){t._nesting--,sf(t)}class K1{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ls,this.onMicrotaskEmpty=new ls,this.onStable=new ls,this.onError=new ls}run(n,i,o){return n.apply(i,o)}runGuarded(n,i,o){return n.apply(i,o)}runOutsideAngular(n){return n()}runTask(n,i,o,s){return n.apply(i,o)}}const r0=new ii(""),o0=new ii("");let cf,Q1=(()=>{class t{constructor(i,o,s){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,cf||(function J1(t){cf=t}(s),s.addToWindow(o)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ba.assertNotInAngularZone(),af(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}
1isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())af(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(i)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,o,s){let m=-1;o&&o>0&&(m=setTimeout(()=>{this._callbacks=this._callbacks.filter(x=>x.timeoutId!==m),i(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:i,timeoutId:m,updateCb:s})}whenStable(i,o,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,o,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,o,s){return[]}}return t.\u0275fac=function(i){return new(i||t)(Ze(Ba),Ze(a0),Ze(o0))},t.\u0275prov=B({token:t,factory:t.\u0275fac}),t})(),a0=(()=>{class t{constructor(){this._applications=new Map}registerApplication(i,o){this._applications.set(i,o)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,o=!0){return cf?.findTestabilityInTree(this,i,o)??null}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),Fs=null;const s0=new ii("AllowMultipleToken"),df=new ii("PlatformDestroyListeners");class ex{constructor(n,i){this.name=n,this.token=i}}function c0(t,n,i=[]){const o=`Platform: ${n}`,s=new ii(o);return(m=[])=>{let x=uf();if(!x||x.injector.get(s0,!1)){const S=[...i,...m,{provide:s,useValue:!0}];t?t(S):function tx(t){if(Fs&&!Fs.get(s0,!1))throw new fe(400,!1);Fs=t;const n=t.get(u0);(function l0(t){const n=t.get(J_,null);n&&n.forEach(i=>i())})(t)}(function d0(t=[],n){return Qs.create({name:n,providers:[{provide:vc,useValue:"platform"},{provide:df,useValue:new Set([()=>Fs=null])},...t]})}(S,o))}return function ix(t){const n=uf();if(!n)throw new fe(401,!1);return n}()}}function uf(){return Fs?.get(u0)??null}let u0=(()=>{class t{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,o){const s=function m0(t,n){let i;return i="noop"===t?new K1:("zone.js"===t?void 0:t)||new Ba(n),i}(o?.ngZone,function h0(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(o)),m=[{provide:Ba,useValue:s}];return s.run(()=>{const x=Qs.create({providers:m,parent:this.injector,name:i.moduleType.name}),S=i.create(x),F=S.injector.get(Gs,null);if(!F)throw new fe(402,!1);return s.runOutsideAngular(()=>{const oe=s.onError.subscribe({next:Se=>{F.handleError(Se)}});S.onDestroy(()=>{Eu(this._modules,S),oe.unsubscribe()})}),function f0(t,n,i){try{const o=i();return xm(o)?o.catch(s=>{throw n.runOutsideAngular(()=>t.handleError(s)),s}):o}catch(o){throw n.runOutsideAngular(()=>t.handleError(o)),o}}(F,s,()=>{const oe=S.injector.get(wu);return oe.runInitializers(),oe.donePromise.then(()=>(function Eg(t){ft(t,"Expected localeId to be defined"),"string"==typeof t&&(Dg=t.toLowerCase().replace(/_/g,"-"))}(S.injector.get(Cu,$l)||$l),this._moduleDoBootstrap(S),S))})})}bootstrapModule(i,o=[]){const s=p0({},o);return function q1(t,n,i){const o=new jm(i);return Promise.resolve(o)}(0,0,i).then(m=>this.bootstrapModuleFactory(m,s))}_moduleDoBootstrap(i){const o=i.injector.get(Du);if(i._bootstrapComponents.length>
10)i._bootstrapComponents.forEach(s=>o.bootstrap(s));else{if(!i.instance.ngDoBootstrap)throw new fe(403,!1);i.instance.ngDoBootstrap(o)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new fe(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const i=this._injector.get(df,null);i&&(i.forEach(o=>o()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(i){return new(i||t)(Ze(Qs))},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function p0(t,n){return Array.isArray(n)?n.reduce(p0,t):{...t,...n}}let Du=(()=>{class t{constructor(i,o,s){this._zone=i,this._injector=o,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const m=new C.y(S=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{S.next(this._stable),S.complete()})}),x=new C.y(S=>{let F;this._zone.runOutsideAngular(()=>{F=this._zone.onStable.subscribe(()=>{Ba.assertNotInAngularZone(),af(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,S.next(!0))})})});const oe=this._zone.onUnstable.subscribe(()=>{Ba.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{S.next(!1)}))});return()=>{F.unsubscribe(),oe.unsubscribe()}});this.isStable=(0,Y.T)(m,x.pipe((0,e.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,o){const s=i instanceof Zd;if(!this._injector.get(wu).done)throw!s&&it(i),new fe(405,false);let x;x=s?i:this._injector.get(zs).resolveComponentFactory(i),this.componentTypes.push(x.componentType);const S=function X1(t){return t.isBoundToModule}(x)?void 0:this._injector.get(Bl),oe=x.create(Qs.NULL,[],o||x.selector,S),Se=oe.location.nativeElement,et=oe.injector.get(r0,null);return et?.registerApplication(Se),oe.onDestroy(()=>{this.detachView(oe.hostView),Eu(this.components,oe),et?.unregisterApplication(Se)}),this._loadComponent(oe),oe}tick(){if(this._runningTick)throw new fe(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(i))}finally{this._runningTick=!1}}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;Eu(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(q_,[]).concat(this._bootstrapListeners).forEach(s=>s(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Eu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new fe(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(i){return new(i||t)(Ze(Ba),Ze(Cs),Ze(Gs))},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Eu(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}function ox(){return!1}let ax=(()=>{class t{}return t.__NG_ELEMENT_ID__=sx,t})();function sx(t){return function lx(t,n,i){if(mr(t)&&!i){const o=Ui(t.index,n);return new Tc(o,o)}return 47&t.type?new Tc(n[16],n):null}(Ai(),en(),16==(16&t))}class y0{constructor(){}supports(n){return Oc(n)}create(n){return new fx(n)}}const mx=(t,n)=>n;class fx{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||mx}
vendor: 7,370 bytes, line 1
1forEachItem(n){let i;for(i=this._itHead;null!==i;i=i._next)n(i)}forEachOperation(n){let i=this._itHead,o=this._removalsHead,s=0,m=null;for(;i||o;){const x=!o||i&&i.currentIndex<w0(o,s,m)?i:o,S=w0(x,s,m),F=x.currentIndex;if(x===o)s--,o=o._nextRemoved;else if(i=i._next,null==x.previousIndex)s++;else{m||(m=[]);const oe=S-s,Se=F-s;if(oe!=Se){for(let xt=0;xt<oe;xt++){const Nt=xt<m.length?m[xt]:m[xt]=0,Xt=Nt+xt;Se<=Xt&&Xt<oe&&(m[xt]=Nt+1)}m[x.previousIndex]=Se-oe}}S!==F&&n(x,S,F)}}forEachPreviousItem(n){let i;for(i=this._previousItHead;null!==i;i=i._nextPrevious)n(i)}forEachAddedItem(n){let i;for(i=this._additionsHead;null!==i;i=i._nextAdded)n(i)}forEachMovedItem(n){let i;for(i=this._movesHead;null!==i;i=i._nextMoved)n(i)}forEachRemovedItem(n){let i;for(i=this._removalsHead;null!==i;i=i._nextRemoved)n(i)}forEachIdentityChange(n){let i;for(i=this._identityChangesHead;null!==i;i=i._nextIdentityChange)n(i)}diff(n){if(null==n&&(n=[]),!Oc(n))throw new fe(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let s,m,x,i=this._itHead,o=!1;if(Array.isArray(n)){this.length=n.length;for(let S=0;S<this.length;S++)m=n[S],x=this._trackByFn(S,m),null!==i&&Object.is(i.trackById,x)?(o&&(i=this._verifyReinsertion(i,m,x,S)),Object.is(i.item,m)||this._addIdentityChange(i,m)):(i=this._mismatch(i,m,x,S),o=!0),i=i._next}else s=0,function Nb(t,n){if(Array.isArray(t))for(let i=0;i<t.length;i++)n(t[i]);else{const i=t[Js()]();let o;for(;!(o=i.next()).done;)n(o.value)}}(n,S=>{x=this._trackByFn(s,S),null!==i&&Object.is(i.trackById,x)?(o&&(i=this._verifyReinsertion(i,S,x,s)),Object.is(i.item,S)||this._addIdentityChange(i,S)):(i=this._mismatch(i,S,x,s),o=!0),i=i._next,s++}),this.length=s;return this._truncate(i),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,i,o,s){let m;return null===n?m=this._itTail:(m=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._reinsertAfter(n,m,s)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(o,s))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._moveAfter(n,m,s)):n=this._addAfter(new px(i,o),m,s),n}_verifyReinsertion(n,i,o,s){let m=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==m?n=this._reinsertAfter(m,n._prev,s):n.currentIndex!=s&&(n.currentIndex=s,this._addToMoves(n,s)),n}_truncate(n){for(;null!==n;){const i=n._next;this._addToRemovals(this._unlink(n)),n=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,i,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const s=n._prevRemoved,m=n._nextRemoved;return null===s?this._removalsHead=m:s._nextRemoved=m,null===m?this._removalsTail=s:m._prevRemoved=s,this._insertAfter(n,i,o),this._addToMoves(n,o),n}_moveAfter(n,i,o){return this._unlink(n),this._insertAfter(n,i,o),this._addToMoves(n,o),n}_addAfter(n,i,o){return this._insertAfter(n,i,o),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,i,o){const s=null===i?this._itHead:i._next;return n._next=s,n._prev=i,null===s?this._itTail=n:s._prev=n,null===i?this._itHead=n:i._next=n,null===this._linkedRecords&&(this._linkedRecords=new x0),this._linkedRecords.put(n),n.currentIndex=o,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const i=n._prev,o=n._next;return null===i?this._itHead=o:i._next=o,null===o?this._itTail=i:o._prev=i,n}_addToMoves(n,i){return n.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new x0),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,i){return n.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class px{constructor(n,i){this.item=n,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class gx{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,i){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===i||i<=o.currentIndex)&&Object.is(o.trackById,n))return o;return null}remove(n){const i=n._prevDup,o=n._nextDup;return null===i?this._head=o:i._nextDup=o,null===o?this._tail=i:o._prevDup=i,null===this._head}}class x0{constructor(){this.map=new Map}put(n){const i=n.trackById;let o=this.map.get(i);o||(o=new gx,this.map.set(i,o)),o.add(n)}get(n,i){const s=this.map.get(n);return s?s.get(n,i):null}remove(n){const i=n.trackById;return this.map.get(i).remove(n)&&this.map.delete(i),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function w0(t,n,i){const o=t.previousIndex;if(null===o)return o;let s=0;return i&&o<i.length&&(s=i[o]),o+n+s}class C0{constructor(){}supports(n){return n instanceof Map||pm(n)}create(){return new _x}}class _x{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(n){let i;for(i=this._mapHead;null!==i;i=i._next)n(i)}forEachPreviousItem(n){let i;for(i=this._previousMapHead;null!==i;i=i._nextPrevious)n(i)}forEachChangedItem(n){let i;for(i=this._changesHead;null!==i;i=i._nextChanged)n(i)}forEachAddedItem(n){let i;for(i=this._additionsHead;null!==i;i=i._nextAdded)n(i)}forEachRemovedItem(n){let i;for(i=this._removalsHead;null!==i;i=i._nextRemoved)n(i)}diff(n){if(n){if(!(n instanceof Map||pm(n)))throw new fe(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let i=this._mapHead;
1if(this._appendAfter=null,this._forEach(n,(o,s)=>{if(i&&i.key===s)this._maybeAddToChanges(i,o),this._appendAfter=i,i=i._next;else{const m=this._getOrCreateRecordForKey(s,o);i=this._insertBeforeOrAppend(i,m)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let o=i;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,i){if(n){const o=n._prev;return i._next=n,i._prev=o,n._prev=i,o&&(o._next=i),n===this._mapHead&&(this._mapHead=i),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(n,i){if(this._records.has(n)){const s=this._records.get(n);this._maybeAddToChanges(s,i);const m=s._prev,x=s._next;return m&&(m._next=x),x&&(x._prev=m),s._next=null,s._prev=null,s}const o=new bx(n);return this._records.set(n,o),o.currentValue=i,this._addToAdditions(o),o}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,i){Object.is(i,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=i,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,i){n instanceof Map?n.forEach(i):Object.keys(n).forEach(o=>i(n[o],o))}}class bx{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function D0(){return new gf([new y0])}let gf=(()=>{class t{constructor(i){this.factories=i}static create(i,o){if(null!=o){const s=o.factories.slice();i=i.concat(s)}return new t(i)}static extend(i){return{provide:t,useFactory:o=>t.create(i,o||D0()),deps:[[t,new ai,new zn]]}}find(i){const o=this.factories.find(s=>s.supports(i));if(null!=o)return o;throw new fe(901,!1)}}return t.\u0275prov=B({token:t,providedIn:"root",factory:D0}),t})();function E0(){return new _f([new C0])}let _f=(()=>{class t{constructor(i){this.factories=i}static create(i,o){if(o){const s=o.factories.slice();i=i.concat(s)}return new t(i)}static extend(i){return{provide:t,useFactory:o=>t.create(i,o||E0()),deps:[[t,new ai,new zn]]}}find(i){const o=this.factories.find(s=>s.supports(i));if(o)return o;throw new fe(901,!1)}}return t.\u0275prov=B({token:t,providedIn:"root",factory:E0}),t})();const xx=c0(null,"core",[]);let wx=(()=>{class t{constructor(i){}}return t.\u0275fac=function(i){return new(i||t)(Ze(Du))},t.\u0275mod=er({type:t}),t.\u0275inj=ve({}),t})();function Cx(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}},4006:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Cf:()=>ue,F:()=>si,Fj:()=>ge,JJ:()=>z,JL:()=>Te,JU:()=>ae,NI:()=>Fi,On:()=>Li,Q7:()=>xi,QS:()=>zo,UX:()=>hn,Zs:()=>gr,_Y:()=>pi,a5:()=>Bt,kI:()=>j,nD:()=>di,nJ:()=>sn,oH:()=>mr,p4:()=>Ni,qQ:()=>Kn,sg:()=>Ti,u5:()=>Wr,wV:()=>Ir});var a=f(4650),p=f(6895),C=f(8996),Y=f(4128),e=f(4004);let ee=(()=>{class G{constructor(P,ye){this._renderer=P,this._elementRef=ye,this.onChange=Ut=>{},this.onTouched=()=>{}}setProperty(P,ye){this._renderer.setProperty(this._elementRef.nativeElement,P,ye)}registerOnTouched(P){this.onTouched=P}registerOnChange(P){this.onChange=P}setDisabledState(P){this.setProperty("disabled",P)}}return G.\u0275fac=function(P){return new(P||G)(a.Y36(a.Qsj),a.Y36(a.SBq))},G.\u0275dir=a.lG2({type:G}),G})(),R=(()=>{class G extends ee{}return G.\u0275fac=function(){let H;return function(ye){return(H||(H=a.n5z(G)))(ye||G)}}(),G.\u0275dir=a.lG2({type:G,features:[a.qOj]}),G})();const ae=new a.OlP("NgValueAccessor"),de={provide:ae,useExisting:(0,a.Gpc)(()=>ge),multi:!0},_e=new a.OlP("CompositionEventMode");let ge=(()=>{class G extends ee{constructor(P,ye,Ut){super(P,ye),this._compositionMode=Ut,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ce(){const G=(0,p.q)()?(0,p.q)().getUserAgent():"";return/android (\d+)/.test(G.toLowerCase())}())}writeValue(P){this.setProperty("value",P??"")}_handleInput(P){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(P)}_compositionStart(){this._composing=!0}_compositionEnd(P){this._composing=!1,this._compositionMode&&this.onChange(P)}}return G.\u0275fac=function(P){return new(P||G)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(_e,8))},G.\u0275dir=a.lG2({type:G,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(P,ye){1&P&&a.NdJ("input",function(m
1n){return ye._handleInput(mn.target.value)})("blur",function(){return ye.onTouched()})("compositionstart",function(){return ye._compositionStart()})("compositionend",function(mn){return ye._compositionEnd(mn.target.value)})},features:[a._Bn([de]),a.qOj]}),G})();function $e(G){return null==G||("string"==typeof G||Array.isArray(G))&&0===G.length}function fe(G){return null!=G&&"number"==typeof G.length}const ue=new a.OlP("NgValidators"),be=new a.OlP("NgAsyncValidators"),se=/^(?=.{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])?)*$/;class j{static min(H){return ne(H)}static max(H){return function De(G){return H=>{if($e(H.value)||$e(G))return null;const P=parseFloat(H.value);return!isNaN(P)&&P>G?{max:{max:G,actual:H.value}}:null}}(H)}static required(H){return Ue(H)}static requiredTrue(H){return V(H)}static email(H){return function He(G){return $e(G.value)||se.test(G.value)?null:{email:!0}}(H)}static minLength(H){return function Be(G){return H=>$e(H.value)||!fe(H.value)?null:H.value.length<G?{minlength:{requiredLength:G,actualLength:H.value.length}}:null}(H)}static maxLength(H){return Ne(H)}static pattern(H){return function me(G){if(!G)return Le;let H,P;return"string"==typeof G?(P="","^"!==G.charAt(0)&&(P+="^"),P+=G,"$"!==G.charAt(G.length-1)&&(P+="$"),H=new RegExp(P)):(P=G.toString(),H=G),ye=>{if($e(ye.value))return null;const Ut=ye.value;return H.test(Ut)?null:{pattern:{requiredPattern:P,actualValue:Ut}}}}(H)}static nullValidator(H){return null}static compose(H){return Lt(H)}static composeAsync(H){return It(H)}}function ne(G){return H=>{if($e(H.value)||$e(G))return null;const P=parseFloat(H.value);return!isNaN(P)&&P<G?{min:{min:G,actual:H.value}}:null}}function Ue(G){return $e(G.value)?{required:!0}:null}function V(G){return!0===G.value?null:{required:!0}}function Ne(G){return H=>fe(H.value)&&H.value.length>G?{maxlength:{requiredLength:G,actualLength:H.value.length}}:null}function Le(G){return null}function ze(G){return null!=G}function dt(G){return(0,a.QGY)(G)?(0,C.D)(G):G}function qe(G){let H={};return G.forEach(P=>{H=null!=P?{...H,...P}:H}),0===Object.keys(H).length?null:H}function Mt(G,H){return H.map(P=>P(G))}function Yt(G){return G.map(H=>function wt(G){return!G.validate}(H)?H:P=>H.validate(P))}function Lt(G){if(!G)return null;const H=G.filter(ze);return 0==H.length?null:function(P){return qe(Mt(P,H))}}function ft(G){return null!=G?Lt(Yt(G)):null}function It(G){if(!G)return null;const H=G.filter(ze);return 0==H.length?null:function(P){const ye=Mt(P,H).map(dt);return(0,Y.D)(ye).pipe((0,e.U)(qe))}}function Ge(G){return null!=G?It(Yt(G)):null}function je(G,H){return null===G?[H]:Array.isArray(G)?[...G,H]:[G,H]}function Ft(G){return G._rawValidators}function B(G){return G._rawAsyncValidators}function $(G){return G?Array.isArray(G)?G:[G]:[]}function ve(G,H){return Array.isArray(G)?G.includes(H):G===H}function pe(G,H){const P=$(H);return $(G).forEach(Ut=>{ve(P,Ut)||P.push(Ut)}),P}function Xe(G,H){return $(H).filter(P=>!ve(G,P))}class st{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}
1_setValidators(H){this._rawValidators=H||[],this._composedValidatorFn=ft(this._rawValidators)}_setAsyncValidators(H){this._rawAsyncValidators=H||[],this._composedAsyncValidatorFn=Ge(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(H){this._onDestroyCallbacks.push(H)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(H=>H()),this._onDestroyCallbacks=[]}reset(H){this.control&&this.control.reset(H)}hasError(H,P){return!!this.control&&this.control.hasError(H,P)}getError(H,P){return this.control?this.control.getError(H,P):null}}class lt extends st{get formDirective(){return null}get path(){return null}}class Bt extends st{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class at{constructor(H){this._cd=H}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let z=(()=>{class G extends at{constructor(P){super(P)}}return G.\u0275fac=function(P){return new(P||G)(a.Y36(Bt,2))},G.\u0275dir=a.lG2({type:G,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(P,ye){2&P&&a.ekj("ng-untouched",ye.isUntouched)("ng-touched",ye.isTouched)("ng-pristine",ye.isPristine)("ng-dirty",ye.isDirty)("ng-valid",ye.isValid)("ng-invalid",ye.isInvalid)("ng-pending",ye.isPending)},features:[a.qOj]}),G})(),Te=(()=>{class G extends at{constructor(P){super(P)}}return G.\u0275fac=function(P){return new(P||G)(a.Y36(lt,10))},G.\u0275dir=a.lG2({type:G,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(P,ye){2&P&&a.ekj("ng-untouched",ye.isUntouched)("ng-touched",ye.isTouched)("ng-pristine",ye.isPristine)("ng-dirty",ye.isDirty)("ng-valid",ye.isValid)("ng-invalid",ye.isInvalid)("ng-pending",ye.isPending)("ng-submitted",ye.isSubmitted)},features:[a.qOj]}),G})();const Vn="VALID",kt="INVALID",Ze="PENDING",Me="DISABLED";function le(G){return(ie(G)?G.validators:G)||null}function Z(G,H){return(ie(H)?H.asyncValidators:G)||null}function ie(G){return null!=G&&!Array.isArray(G)&&"object"==typeof G}function we(G,H,P){const ye=G.controls;if(!(H?Object.keys(ye):ye).length)throw new a.vHH(1e3,"");if(!ye[P])throw new a.vHH(1001,"")}function Qe(G,H,P){G._forEachChild((ye,Ut)=>{if(void 0===P[Ut])throw new a.vHH(1002,"")})}class Ct{constructor(H,P){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(H),this._assignAsyncValidators(P)}get validator(){return this._composedValidatorFn}set validator(H){this._rawValidators=this._composedValidatorFn=H}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(H){this._rawAsyncValidators=this._composedAsyncValidatorFn=H}get parent(){return this._parent}get valid(){return this.status===Vn}get invalid(){return this.status===kt}get pending(){return this.status==Ze}get disabled(){return this.status===Me}get enabled(){return this.status!==Me}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(H){this._assignValidators(H)}setAsyncValidators(H){this._assignAsyncValidators(H)}addValidators(H){this.setValidators(pe(H,this._rawValidators))}addAsyncValidators(H){this.setAsyncValidators(pe(H,this._rawAsyncValidators))}removeValidators(H){this.setValidators(Xe(H,this._rawValidators))}removeAsyncValidators(H){this.setAsyncValidators(Xe(H,this._rawAsyncValidators))}hasValidator(H){return ve(this._rawValidators,H)}hasAsyncValidator(H){return ve(this._rawAsyncValidators,H)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(H={}){this.touched=!0,this._parent&&!H.onlySelf&&this._parent.markAsTouched(H)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}
vendor: 4,104 bytes, line 1
1),this._forEachChild(H=>H.markAllAsTouched())}markAsUntouched(H={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(P=>{P.markAsUntouched({onlySelf:!0})}),this._parent&&!H.onlySelf&&this._parent._updateTouched(H)}markAsDirty(H={}){this.pristine=!1,this._parent&&!H.onlySelf&&this._parent.markAsDirty(H)}markAsPristine(H={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(P=>{P.markAsPristine({onlySelf:!0})}),this._parent&&!H.onlySelf&&this._parent._updatePristine(H)}markAsPending(H={}){this.status=Ze,!1!==H.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!H.onlySelf&&this._parent.markAsPending(H)}disable(H={}){const P=this._parentMarkedDirty(H.onlySelf);this.status=Me,this.errors=null,this._forEachChild(ye=>{ye.disable({...H,onlySelf:!0})}),this._updateValue(),!1!==H.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...H,skipPristineCheck:P}),this._onDisabledChange.forEach(ye=>ye(!0))}enable(H={}){const P=this._parentMarkedDirty(H.onlySelf);this.status=Vn,this._forEachChild(ye=>{ye.enable({...H,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:H.emitEvent}),this._updateAncestors({...H,skipPristineCheck:P}),this._onDisabledChange.forEach(ye=>ye(!1))}_updateAncestors(H){this._parent&&!H.onlySelf&&(this._parent.updateValueAndValidity(H),H.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(H){this._parent=H}getRawValue(){return this.value}updateValueAndValidity(H={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Vn||this.status===Ze)&&this._runAsyncValidator(H.emitEvent)),!1!==H.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!H.onlySelf&&this._parent.updateValueAndValidity(H)}_updateTreeValidity(H={emitEvent:!0}){this._forEachChild(P=>P._updateTreeValidity(H)),this.updateValueAndValidity({onlySelf:!0,emitEvent:H.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Me:Vn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(H){if(this.asyncValidator){this.status=Ze,this._hasOwnPendingAsyncValidator=!0;const P=dt(this.asyncValidator(this));this._asyncValidationSubscription=P.subscribe(ye=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ye,{emitEvent:H})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(H,P={}){this.errors=H,this._updateControlsErrors(!1!==P.emitEvent)}get(H){let P=H;return null==P||(Array.isArray(P)||(P=P.split(".")),0===P.length)?null:P.reduce((ye,Ut)=>ye&&ye._find(Ut),this)}getError(H,P){const ye=P?this.get(P):this;return ye&&ye.errors?ye.errors[H]:null}hasError(H,P){return!!this.getError(H,P)}get root(){let H=this;for(;H._parent;)H=H._parent;return H}_updateControlsErrors(H){this.status=this._calculateStatus(),H&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(H)}_initObservables(){this.valueChanges=new a.vpe,this.statusChanges=new a.vpe}_calculateStatus(){return this._allControlsDisabled()?Me:this.errors?kt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ze)?Ze:this._anyControlsHaveStatus(kt)?kt:Vn}_anyControlsHaveStatus(H){return this._anyControls(P=>P.status===H)}_anyControlsDirty(){return this._anyControls(H=>H.dirty)}_anyControlsTouched(){return this._anyControls(H=>H.touched)}_updatePristine(H={}){this.pristine=!this._anyControlsDirty(),this._parent&&!H.onlySelf&&this._parent._updatePristine(H)}_updateTouched(H={}){this.touched=this._anyControlsTouched(),this._parent&&!H.onlySelf&&this._parent._updateTouched(H)}_registerOnCollectionChange(H){this._onCollectionChange=H}_setUpdateStrategy(H){ie(H)&&null!=H.updateOn&&(this._updateOn=H.updateOn)}_parentMarkedDirty(H){return!H&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(H){return null}
vendor: 6,434 bytes, line 1
1_assignValidators(H){this._rawValidators=Array.isArray(H)?H.slice():H,this._composedValidatorFn=function q(G){return Array.isArray(G)?ft(G):G||null}(this._rawValidators)}_assignAsyncValidators(H){this._rawAsyncValidators=Array.isArray(H)?H.slice():H,this._composedAsyncValidatorFn=function Ie(G){return Array.isArray(G)?Ge(G):G||null}(this._rawAsyncValidators)}}class mt extends Ct{constructor(H,P,ye){super(le(P),Z(ye,P)),this.controls=H,this._initObservables(),this._setUpdateStrategy(P),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(H,P){return this.controls[H]?this.controls[H]:(this.controls[H]=P,P.setParent(this),P._registerOnCollectionChange(this._onCollectionChange),P)}addControl(H,P,ye={}){this.registerControl(H,P),this.updateValueAndValidity({emitEvent:ye.emitEvent}),this._onCollectionChange()}removeControl(H,P={}){this.controls[H]&&this.controls[H]._registerOnCollectionChange(()=>{}),delete this.controls[H],this.updateValueAndValidity({emitEvent:P.emitEvent}),this._onCollectionChange()}setControl(H,P,ye={}){this.controls[H]&&this.controls[H]._registerOnCollectionChange(()=>{}),delete this.controls[H],P&&this.registerControl(H,P),this.updateValueAndValidity({emitEvent:ye.emitEvent}),this._onCollectionChange()}contains(H){return this.controls.hasOwnProperty(H)&&this.controls[H].enabled}setValue(H,P={}){Qe(this,0,H),Object.keys(H).forEach(ye=>{we(this,!0,ye),this.controls[ye].setValue(H[ye],{onlySelf:!0,emitEvent:P.emitEvent})}),this.updateValueAndValidity(P)}patchValue(H,P={}){null!=H&&(Object.keys(H).forEach(ye=>{const Ut=this.controls[ye];Ut&&Ut.patchValue(H[ye],{onlySelf:!0,emitEvent:P.emitEvent})}),this.updateValueAndValidity(P))}reset(H={},P={}){this._forEachChild((ye,Ut)=>{ye.reset(H[Ut],{onlySelf:!0,emitEvent:P.emitEvent})}),this._updatePristine(P),this._updateTouched(P),this.updateValueAndValidity(P)}getRawValue(){return this._reduceChildren({},(H,P,ye)=>(H[ye]=P.getRawValue(),H))}_syncPendingControls(){let H=this._reduceChildren(!1,(P,ye)=>!!ye._syncPendingControls()||P);return H&&this.updateValueAndValidity({onlySelf:!0}),H}_forEachChild(H){Object.keys(this.controls).forEach(P=>{const ye=this.controls[P];ye&&H(ye,P)})}_setUpControls(){this._forEachChild(H=>{H.setParent(this),H._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(H){for(const[P,ye]of Object.entries(this.controls))if(this.contains(P)&&H(ye))return!0;return!1}_reduceValue(){return this._reduceChildren({},(P,ye,Ut)=>((ye.enabled||this.disabled)&&(P[Ut]=ye.value),P))}_reduceChildren(H,P){let ye=H;return this._forEachChild((Ut,mn)=>{ye=P(ye,Ut,mn)}),ye}_allControlsDisabled(){for(const H of Object.keys(this.controls))if(this.controls[H].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(H){return this.controls.hasOwnProperty(H)?this.controls[H]:null}}const sn=mt;class In extends mt{}const ln=new a.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>ct}),ct="always";function Ke(G,H,P=ct){Hn(G,H),H.valueAccessor.writeValue(G.value),(G.disabled||"always"===P)&&H.valueAccessor.setDisabledState?.(G.disabled),function li(G,H){H.valueAccessor.registerOnChange(P=>{G._pendingValue=P,G._pendingChange=!0,G._pendingDirty=!0,"change"===G.updateOn&&rr(G,H)})}(G,H),function er(G,H){const P=(ye,Ut)=>{H.valueAccessor.writeValue(ye),Ut&&H.viewToModelUpdate(ye)};G.registerOnChange(P),H._registerOnDestroy(()=>{G._unregisterOnChange(P)})}(G,H),function Zi(G,H){H.valueAccessor.registerOnTouched(()=>{G._pendingTouched=!0,"blur"===G.updateOn&&G._pendingChange&&rr(G,H),"submit"!==G.updateOn&&G.markAsTouched()})}(G,H),function xn(G,H){if(H.valueAccessor.setDisabledState){const P=ye=>{H.valueAccessor.setDisabledState(ye)};G.registerOnDisabledChange(P),H._registerOnDestroy(()=>{G._unregisterOnDisabledChange(P)})}}(G,H)}function _t(G,H,P=!0){const ye=()=>{};H.valueAccessor&&(H.valueAccessor.registerOnChange(ye),H.valueAccessor.registerOnTouched(ye)),Zn(G,H),G&&(H._invokeOnDestroyCallbacks(),G._registerOnCollectionChange(()=>{}))}function Ht(G,H){G.forEach(P=>{P.registerOnValidatorChange&&P.registerOnValidatorChange(H)})}function Hn(G,H){const P=Ft(G);null!==H.validator?G.setValidators(je(P,H.validator)):"function"==typeof P&&G.setValidators([P]);const ye=B(G);null!==H.asyncValidator?G.setAsyncValidators(je(ye,H.asyncValidator)):"function"==typeof ye&&G.setAsyncValidators([ye]);const Ut=()=>G.updateValueAndValidity();Ht(H._rawValidators,Ut),Ht(H._rawAsyncValidators,Ut)}function Zn(G,H){let P=!1;if(null!==G){if(null!==H.validator){const Ut=Ft(G);if(Array.isArray(Ut)&&Ut.length>0){const mn=Ut.filter(Hi=>Hi!==H.validator);mn.length!==Ut.length&&(P=!0,G.setValidators(mn))}}if(null!==H.asyncValidator){const Ut=B(G);if(Array.isArray(Ut)&&Ut.length>0){const mn=Ut.filter(Hi=>Hi!==H.asyncValidator);mn.length!==Ut.length&&(P=!0,G.setAsyncValidators(mn))}}}const ye=()=>{};return Ht(H._rawValidators,ye),Ht(H._rawAsyncValidators,ye),P}function rr(G,H){G._pendingDirty&&G.markAsDirty(),G.setValue(G._pendingValue,{emitModelToViewChange:!1}),H.viewToModelUpdate(G._pendingValue),G._pendingChange=!1}function $r(G,H){Hn(G,H)}function it(G,H){if(!G.hasOwnProperty("model"))return!1;const P=G.model;return!!P.isFirstChange()||!Object.is(H,P.currentValue)}function A(G,H){G._syncPendingControls(),H.forEach(P=>{const ye=P.control;"submit"===ye.updateOn&&ye._pendingChange&&(P.viewToModelUpdate(ye._pendingValue),ye._pendingChange=!1)})}function K(G,H){if(!H)return null;let P,ye,Ut;return Array.isArray(H),H.forEach(mn=>{mn.constructor===ge?P=mn:function St(G){return Object.getPrototypeOf(G.constructor)===R}(mn)?ye=mn:Ut=mn}),Ut||ye||P||null}const on={provide:lt,useExisting:(0,a.Gpc)(()=>si)},Ln=(()=>Promise.resolve())();let si=(()=>{class G extends lt{constructor(P,ye,Ut){super(),this.callSetDisabledState=Ut,this.submitted=!1,this._directives=new Set,this.ngSubmit=new a.vpe,this.form=new mt({},ft(P),Ge(ye))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(P){Ln.then(()=>{const ye=this._findContainer(P.path);P.control=ye.registerControl(P.name,P.control),Ke(P.control,P,this.callSetDisabledState),P.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(P)})}getControl(P){return this.form.get(P.path)}
1removeControl(P){Ln.then(()=>{const ye=this._findContainer(P.path);ye&&ye.removeControl(P.name),this._directives.delete(P)})}addFormGroup(P){Ln.then(()=>{const ye=this._findContainer(P.path),Ut=new mt({});$r(Ut,P),ye.registerControl(P.name,Ut),Ut.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(P){Ln.then(()=>{const ye=this._findContainer(P.path);ye&&ye.removeControl(P.name)})}getFormGroup(P){return this.form.get(P.path)}updateModel(P,ye){Ln.then(()=>{this.form.get(P.path).setValue(ye)})}setValue(P){this.control.setValue(P)}onSubmit(P){return this.submitted=!0,A(this.form,this._directives),this.ngSubmit.emit(P),"dialog"===P?.target?.method}onReset(){this.resetForm()}resetForm(P){this.form.reset(P),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(P){return P.pop(),P.length?this.form.get(P):this.form}}return G.\u0275fac=function(P){return new(P||G)(a.Y36(ue,10),a.Y36(be,10),a.Y36(ln,8))},G.\u0275dir=a.lG2({type:G,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(P,ye){1&P&&a.NdJ("submit",function(mn){return ye.onSubmit(mn)})("reset",function(){return ye.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([on]),a.qOj]}),G})();function wi(G,H){const P=G.indexOf(H);P>-1&&G.splice(P,1)}function Xn(G){return"object"==typeof G&&null!==G&&2===Object.keys(G).length&&"value"in G&&"disabled"in G}const Fi=class extends Ct{constructor(H=null,P,ye){super(le(P),Z(ye,P)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(H),this._setUpdateStrategy(P),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ie(P)&&(P.nonNullable||P.initialValueIsDefault)&&(this.defaultValue=Xn(H)?H.value:H)}setValue(H,P={}){this.value=this._pendingValue=H,this._onChange.length&&!1!==P.emitModelToViewChange&&this._onChange.forEach(ye=>ye(this.value,!1!==P.emitViewToModelChange)),this.updateValueAndValidity(P)}patchValue(H,P={}){this.setValue(H,P)}reset(H=this.defaultValue,P={}){this._applyFormState(H),this.markAsPristine(P),this.markAsUntouched(P),this.setValue(this.value,P),this._pendingChange=!1}_updateValue(){}_anyControls(H){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(H){this._onChange.push(H)}_unregisterOnChange(H){wi(this._onChange,H)}registerOnDisabledChange(H){this._onDisabledChange.push(H)}_unregisterOnDisabledChange(H){wi(this._onDisabledChange,H)}_forEachChild(H){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(H){Xn(H)?(this.value=this._pendingValue=H.value,H.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=H}},Ni=Fi,xr={provide:Bt,useExisting:(0,a.Gpc)(()=>Li)},eo=(()=>Promise.resolve())();let Li=(()=>{class G extends Bt{constructor(P,ye,Ut,mn,Hi,Rr){super(),this._changeDetectorRef=Hi,this.callSetDisabledState=Rr,this.control=new Fi,this._registered=!1,this.update=new a.vpe,this._parent=P,this._setValidators(ye),this._setAsyncValidators(Ut),this.valueAccessor=K(0,mn)}ngOnChanges(P){if(this._checkForErrors(),!this._registered||"name"in P){if(this._registered&&(this._checkName(),this.formDirective)){const ye=P.name.previousValue;this.formDirective.removeControl({name:ye,path:this._getPath(ye)})}this._setUpControl()}"isDisabled"in P&&this._updateDisabled(P),it(P,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(P){this.viewModel=P,this.update.emit(P)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ke(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(P){eo.then(()=>{this.control.setValue(P,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(P){const ye=P.isDisabled.currentValue,Ut=0!==ye&&(0,a.D6c)(ye);eo.then(()=>{Ut&&!this.control.disabled?this.control.disable():!Ut&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(P){return this._parent?function rt(G,H){return[...H.path,G]}(P,this._parent):[P]}}return G.\u0275fac=function(P){return new(P||G)(a.Y36(lt,9),a.Y36(ue,10),a.Y36(be,10),a.Y36(ae,10),a.Y36(a.s
1BO,8),a.Y36(ln,8))},G.\u0275dir=a.lG2({type:G,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a._Bn([xr]),a.qOj,a.TTD]}),G})(),pi=(()=>{class G{}return G.\u0275fac=function(P){return new(P||G)},G.\u0275dir=a.lG2({type:G,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),G})();const yo={provide:ae,useExisting:(0,a.Gpc)(()=>Ir),multi:!0};let Ir=(()=>{class G extends R{writeValue(P){this.setProperty("value",P??"")}registerOnChange(P){this.onChange=ye=>{P(""==ye?null:parseFloat(ye))}}}return G.\u0275fac=function(){let H;return function(ye){return(H||(H=a.n5z(G)))(ye||G)}}(),G.\u0275dir=a.lG2({type:G,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(P,ye){1&P&&a.NdJ("input",function(mn){return ye.onChange(mn.target.value)})("blur",function(){return ye.onTouched()})},features:[a._Bn([yo]),a.qOj]}),G})(),lr=(()=>{class G{}return G.\u0275fac=function(P){return new(P||G)},G.\u0275mod=a.oAB({type:G}),G.\u0275inj=a.cJS({}),G})();
1const hr=new a.OlP("NgModelWithFormControlWarning"),To={provide:Bt,useExisting:(0,a.Gpc)(()=>mr)};let mr=(()=>{class G extends Bt{constructor(P,ye,Ut,mn,Hi){super(),this._ngModelWarningConfig=mn,this.callSetDisabledState=Hi,this.update=new a.vpe,this._ngModelWarningSent=!1,this._setValidators(P),this._setAsyncValidators(ye),this.valueAccessor=K(0,Ut)}set isDisabled(P){}ngOnChanges(P){if(this._isControlChanged(P)){const ye=P.form.previousValue;ye&&_t(ye,this,!1),Ke(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}it(P,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&_t(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(P){this.viewModel=P,this.update.emit(P)}_isControlChanged(P){return P.hasOwnProperty("form")}}return G._ngModelWarningSentOnce=!1,G.\u0275fac=function(P){return new(P||G)(a.Y36(ue,10),a.Y36(be,10),a.Y36(ae,10),a.Y36(hr,8),a.Y36(ln,8))},G.\u0275dir=a.lG2({type:G,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[a._Bn([To]),a.qOj,a.TTD]}),G})();const xo={provide:lt,useExisting:(0,a.Gpc)(()=>Ti)};let Ti=(()=>{class G extends lt{constructor(P,ye,Ut){super(),this.callSetDisabledState=Ut,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new a.vpe,this._setValidators(P),this._setAsyncValidators(ye)}ngOnChanges(P){this._checkFormPresent(),P.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Zn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(P){const ye=this.form.get(P.path);return Ke(ye,P,this.callSetDisabledState),ye.updateValueAndValidity({emitEvent:!1}),this.directives.push(P),ye}getControl(P){return this.form.get(P.path)}
1removeControl(P){_t(P.control||null,P,!1),function ke(G,H){const P=G.indexOf(H);P>-1&&G.splice(P,1)}(this.directives,P)}addFormGroup(P){this._setUpFormContainer(P)}removeFormGroup(P){this._cleanUpFormContainer(P)}getFormGroup(P){return this.form.get(P.path)}addFormArray(P){this._setUpFormContainer(P)}removeFormArray(P){this._cleanUpFormContainer(P)}getFormArray(P){return this.form.get(P.path)}updateModel(P,ye){this.form.get(P.path).setValue(ye)}onSubmit(P){return this.submitted=!0,A(this.form,this.directives),this.ngSubmit.emit(P),"dialog"===P?.target?.method}onReset(){this.resetForm()}resetForm(P){this.form.reset(P),this.submitted=!1}_updateDomValue(){this.directives.forEach(P=>{const ye=P.control,Ut=this.form.get(P.path);ye!==Ut&&(_t(ye||null,P),(G=>G instanceof Fi)(Ut)&&(Ke(Ut,P,this.callSetDisabledState),P.control=Ut))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(P){const ye=this.form.get(P.path);$r(ye,P),ye.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(P){if(this.form){const ye=this.form.get(P.path);ye&&function kr(G,H){return Zn(G,H)}(ye,P)&&ye.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Hn(this.form,this),this._oldForm&&Zn(this._oldForm,this)}_checkFormPresent(){}}return G.\u0275fac=function(P){return new(P||G)(a.Y36(ue,10),a.Y36(be,10),a.Y36(ln,8))},G.\u0275dir=a.lG2({type:G,selectors:[["","formGroup",""]],hostBindings:function(P,ye){1&P&&a.NdJ("submit",function(mn){return ye.onSubmit(mn)})("reset",function(){return ye.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([xo]),a.qOj,a.TTD]}),G})();let On=(()=>{class G{constructor(){this._validator=Le}ngOnChanges(P){if(this.inputName in P){const ye=this.normalizeInput(P[this.inputName].currentValue);this._enabled=this.enabled(ye),this._validator=this._enabled?this.createValidator(ye):Le,this._onChange&&this._onChange()}}validate(P){return this._validator(P)}registerOnValidatorChange(P){this._onChange=P}enabled(P){return null!=P}}return G.\u0275fac=function(P){return new(P||G)},G.\u0275dir=a.lG2({type:G,features:[a.TTD]}),G})();const Ki={provide:ue,useExisting:(0,a.Gpc)(()=>Kn),multi:!0};let Kn=(()=>{class G extends On{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=P=>function yn(G){return"number"==typeof G?G:parseFloat(G)}(P),this.createValidator=P=>ne(P)}}return G.\u0275fac=function(){let H;return function(ye){return(H||(H=a.n5z(G)))(ye||G)}}(),G.\u0275dir=a.lG2({type:G,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(P,ye){2&P&&a.uIk("min",ye._enabled?ye.min:null)},inputs:{min:"min"},features:[a._Bn([Ki]),a.qOj]}),G})();const tr={provide:ue,useExisting:(0,a.Gpc)(()=>xi),multi:!0},pr={provide:ue,useExisting:(0,a.Gpc)(()=>gr),multi:!0};let xi=(()=>{class G extends On{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=a.D6c,this.createValidator=P=>Ue}enabled(P){return P}}return G.\u0275fac=function(){let H;return function(ye){return(H||(H=a.n5z(G)))(ye||G)}}(),G.\u0275dir=a.lG2({type:G,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(P,ye){2&P&&a.uIk("required",ye._enabled?"":null)},inputs:{required:"required"},features:[a._Bn([tr]),a.qOj]}),G})(),gr=(()=>{class G extends xi{constructor(){super(...arguments),this.createValidator=P=>V}}return G.\u0275fac=function(){let H;return function(ye){return(H||(H=a.n5z(G)))(ye||G)}}(),G.\u0275dir=a.lG2({type:G,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(P,ye){2&P&&a.uIk("required",ye._enabled?"":null)},features:[a._Bn([pr]),a.qOj]}),G})();const Wn={provide:ue,useExisting:(0,a.Gpc)(()=>di),multi:!0};let di=(()=>{class G extends On{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=P=>function nn(G){return"number"==typeof G?G:parseInt(G,10)}(P),this.createValidator=P=>Ne(P)}}return G.\u0275fac=function(){let H;return function(ye){return(H||(H=a.n5z(G)))(ye||G)}}(),G.\u0275dir=a.lG2({type:G,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(P,ye){2&P&&a.uIk("maxlength",ye._enabled?ye.maxlength:null)},inputs:{maxlength:"maxlength"},features:[a._Bn([Wn]),a.qOj]}),G})(),Oo=(()=>{class G{}return G.\u0275fac=function(P){return new(P||G)},G.\u0275mod=a.oAB({type:G}),G.\u0275inj=a.cJS({imports:[lr]}),G})(),Wr=(()=>{class G{static withConfig(P){return{ngModule:G,providers:[{provide:ln,useValue:P.callSetDisabledState??ct}]}}}return G.\u0275fac=function(P){return new(P||G)},G.\u0275mod=a.oAB({type:G}),G.\u0275inj=a.cJS({imports:[Oo]}),G})(),hn=(()=>{class G{static withConfig(P){return{ngModule:G,providers:[{provide:hr,useValue:P.warnOnNgModelWithFormControl??"always"},{provide:ln,useValue:P.callSetDisabledState??ct}]}}}return G.\u0275fac=function(P){return new(P||G)},G.\u0275mod=a.oAB({type:G}),G.\u0275inj=a.cJS({imports:[Oo]}),G})();class Ii extends Ct{constructor(H,P,ye){super(le(P),Z(ye,P)),this.controls=H,this._initOb
1servables(),this._setUpdateStrategy(P),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(H){return this.controls[this._adjustIndex(H)]}push(H,P={}){this.controls.push(H),this._registerControl(H),this.updateValueAndValidity({emitEvent:P.emitEvent}),this._onCollectionChange()}insert(H,P,ye={}){this.controls.splice(H,0,P),this._registerControl(P),this.updateValueAndValidity({emitEvent:ye.emitEvent})}removeAt(H,P={}){let ye=this._adjustIndex(H);ye<0&&(ye=0),this.controls[ye]&&this.controls[ye]._registerOnCollectionChange(()=>{}),this.controls.splice(ye,1),this.updateValueAndValidity({emitEvent:P.emitEvent})}setControl(H,P,ye={}){let Ut=this._adjustIndex(H);Ut<0&&(Ut=0),this.controls[Ut]&&this.controls[Ut]._registerOnCollectionChange(()=>{}),this.controls.splice(Ut,1),P&&(this.controls.splice(Ut,0,P),this._registerControl(P)),this.updateValueAndValidity({emitEvent:ye.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(H,P={}){Qe(this,0,H),H.forEach((ye,Ut)=>{we(this,!1,Ut),this.at(Ut).setValue(ye,{onlySelf:!0,emitEvent:P.emitEvent})}),this.updateValueAndValidity(P)}patchValue(H,P={}){null!=H&&(H.forEach((ye,Ut)=>{this.at(Ut)&&this.at(Ut).patchValue(ye,{onlySelf:!0,emitEvent:P.emitEvent})}),this.updateValueAndValidity(P))}reset(H=[],P={}){this._forEachChild((ye,Ut)=>{ye.reset(H[Ut],{onlySelf:!0,emitEvent:P.emitEvent})}),this._updatePristine(P),this._updateTouched(P),this.updateValueAndValidity(P)}getRawValue(){return this.controls.map(H=>H.getRawValue())}clear(H={}){this.controls.length<1||(this._forEachChild(P=>P._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:H.emitEvent}))}_adjustIndex(H){return H<0?H+this.length:H}_syncPendingControls(){let H=this.controls.reduce((P,ye)=>!!ye._syncPendingControls()||P,!1);return H&&this.updateValueAndValidity({onlySelf:!0}),H}_forEachChild(H){this.controls.forEach((P,ye)=>{H(P,ye)})}_updateValue(){this.value=this.controls.filter(H=>H.enabled||this.disabled).map(H=>H.value)}_anyControls(H){return this.controls.some(P=>P.enabled&&H(P))}_setUpControls(){this._forEachChild(H=>this._registerControl(H))}_allControlsDisabled(){for(const H of this.controls)if(H.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(H){H.setParent(this),H._registerOnCollectionChange(this._onCollectionChange)}_find(H){return this.at(H)??null}}function Oi(G){return!!G&&(void 0!==G.asyncValidators||void 0!==G.validators||void 0!==G.updateOn)}let Ui=(()=>{class G{constructor(){this.useNonNullable=!1}get nonNullable(){const P=new G;return P.useNonNullable=!0,P}group(P,ye=null){const Ut=this._reduceControls(P);let mn={};return Oi(ye)?mn=ye:null!==ye&&(mn.validators=ye.validator,mn.asyncValidators=ye.asyncValidator),new mt(Ut,mn)}record(P,ye=null){const Ut=this._reduceControls(P);return new In(Ut,ye)}control(P,ye,Ut){let mn={};return this.useNonNullable?(Oi(ye)?mn=ye:(mn.validators=ye,mn.asyncValidators=Ut),new Fi(P,{...mn,nonNullable:!0})):new Fi(P,ye,Ut)}array(P,ye,Ut){const mn=P.map(Hi=>this._createControl(Hi));return new Ii(mn,ye,Ut)}_reduceControls(P){const ye={};return Object.keys(P).forEach(Ut=>{ye[Ut]=this._createControl(P[Ut])}),ye}_createControl(P){return P instanceof Fi||P instanceof Ct?P:Array.isArray(P)?this.control(P[0],P.length>1?P[1]:null,P.length>2?P[2]:null):this.control(P)}}return G.\u0275fac=function(P){return new(P||G)},G.\u0275prov=a.Yz7({token:G,factory:G.\u0275fac,providedIn:hn}),G})(),zo=(()=>{class G extends Ui{group(P,ye=null){return super.group(P,ye)}control(P,ye,Ut){return super.control(P,ye,Ut)}array(P,ye,Ut){return super.array(P,ye,Ut)}}return G.\u0275fac=function(){let H;return function(ye){return(H||(H=a.n5z(G)))(ye||G)}}(),G.\u0275prov=a.Yz7({token:G,factory:G.\u0275fac,providedIn:hn}),G})()},9101:(Pt,Ve,f)=>{"use strict";f.d(Ve,{EX:()=>qe,RK:()=>wt,lW:()=>V,ot:()=>Lt,zs:()=>He});var a=f(3353),p=f(4650),C=f(2687),Y=f(3238),e=f(1281);const ee=["mat-button",""],R=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ae=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],W=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",de=["mat-fab",""],ge=["mat-icon-button",""],Re=["*"],be=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],se=(0,Y.pj)((0,Y.Id)((0,Y.Kr)(class{constructor(ft){this._elementRef=ft}})));let j=(()=>{class ft extends se{constructor(Ge,je,Ft,B){super(Ge),this._platform=je,this._ngZone=Ft,this._animationMode=B,this._focusMonitor=(0,p.f3M)(C.tE),this._isFab=!1;const $=Ge.nativeElement.classList;for(const ve of be)this._hasHostAttributes(ve.selector)&&ve.mdcClasses.forEac
1h(pe=>{$.add(pe)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(Ge="program",je){Ge?this._focusMonitor.focusVia(this._elementRef.nativeElement,Ge,je):this._elementRef.nativeElement.focus(je)}_hasHostAttributes(...Ge){return Ge.some(je=>this._elementRef.nativeElement.hasAttribute(je))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return ft.\u0275fac=function(Ge){p.$Z()},ft.\u0275dir=p.lG2({type:ft,viewQuery:function(Ge,je){if(1&Ge&&p.Gf(Y.wG,5),2&Ge){let Ft;p.iGM(Ft=p.CRH())&&(je.ripple=Ft.first)}},features:[p.qOj]}),ft})(),Ue=(()=>{class ft extends j{constructor(Ge,je,Ft,B){super(Ge,je,Ft,B),this._haltDisabledEvents=$=>{this.disabled&&($.preventDefault(),$.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return ft.\u0275fac=function(Ge){p.$Z()},ft.\u0275dir=p.lG2({type:ft,features:[p.qOj]}),ft})(),V=(()=>{class ft extends j{constructor(Ge,je,Ft,B){super(Ge,je,Ft,B)}}return ft.\u0275fac=function(Ge){return new(Ge||ft)(p.Y36(p.SBq),p.Y36(a.t4),p.Y36(p.R0b),p.Y36(p.QbO,8))},ft.\u0275cmp=p.Xpm({type:ft,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(Ge,je){2&Ge&&(p.uIk("disabled",je.disabled||null),p.ekj("_mat-animation-noopable","NoopAnimations"===je._animationMode)("mat-unthemed",!je.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[p.qOj],attrs:ee,ngContentSelectors:ae,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(Ge,je){1&Ge&&(p.F$t(R),p._UZ(0,"span",0),p.Hsn(1),p.TgZ(2,"span",1),p.Hsn(3,1),p.qZA(),p.Hsn(4,2),p._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&Ge&&(p.ekj("mdc-button__ripple",!je._isFab)("mdc-fab__ripple",je._isFab),p.xp6(6),p.Q6J("matRippleDisabled",je._isRippleDisabled())("matRippleTrigger",je._elementRef.nativeElement))},dependencies:[Y.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);
1height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 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))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 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))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),ft})(),He=(()=>{class ft extends Ue{constructor(Ge,je,Ft,B){super(Ge,je,Ft,B)}}return ft.\u0275fac=function(Ge){return new(Ge||ft)(p.Y36(p.SBq),p.Y36(a.t4),p.Y36(p.R0b),p.Y36(p.QbO,8))},ft.\u0275cmp=p.Xpm({type:ft,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(Ge,je){2&Ge&&(p.uIk("disabled",je.disabled||null)("tabindex",je.disabled?-1:je.tabIndex)("aria-disabled",je.disabled.toString()),p.ekj("_mat-animation-noopable","NoopAnimations"===je._animationMode)("mat-unthemed",!je.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[p.qOj],attrs:ee,ngContentSelectors:ae,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(Ge,je){1&Ge&&(p.F$t(R),p._UZ(0,"span",0),p.Hsn(1),p.TgZ(2,"span",1),p.Hsn(3,1),p.qZA(),p.Hsn(4,2),p._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&Ge&&(p.ekj("mdc-button__ripple",!je._isFab)("mdc-fab__ripple",je._isFab),p.xp6(6),p.Q6J("matRippleDisabled",je._isRippleDisabled())("matRippleTrigger",je._elementRef.nativeElement))},dependencies:[Y.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);
1height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 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))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 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))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',W],encapsulation:2,changeDetection:0}),ft})();const Be=new p.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:Ne});function Ne(){return{color:"accent"}}const me=Ne();let qe=(()=>{class ft extends He{constructor(Ge,je,Ft,B,$){super(Ge,je,Ft,B),this._options=$,this._isFab=!0,this._options=this._options||me,this.color=this.defaultColor=this._options.color||me.color}get extended(){return this._extended}set extended(Ge){this._extended=(0,e.Ig)(Ge)}}return ft.\u0275fac=function(Ge){return new(Ge||ft)(p.Y36(p.SBq),p.Y36(a.t4),p.Y36(p.R0b),p.Y36(p.QbO,8),p.Y36(Be,8))},ft.\u0275cmp=p.Xpm({type:ft,selectors:[["a","mat-fab",""]],hostVars:13,hostBindings:function(Ge,je){2&Ge&&(p.uIk("disabled",je.disabled||null)("tabindex",je.disabled?-1:je.tabIndex)("aria-disabled",je.disabled.toString()),p.ekj("_mat-animation-noopable","NoopAnimations"===je._animationMode)("mat-unthemed",!je.color)("mat-mdc-button-base",!0)("mdc-fab--extended",je.extended)("mat-mdc-extended-fab",je.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton","matAnchor"],features:[p.qOj],attrs:de,ngContentSelectors:ae,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(Ge,je){1&Ge&&(p.F$t(R),p._UZ(0,"span",0),p.Hsn(1),p.TgZ(2,"span",1),p.Hsn(3,1),p.qZA(),p.Hsn(4,2),p._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&Ge&&(p.ekj("mdc-button__ripple",!je._isFab)("mdc-fab__ripple",je._isFab),p.xp6(6),p.Q6J("matRippleDisabled",je._isRippleDisabled())("matRippleTrigger",je._elementRef.nativeElement))},dependencies:[Y.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;
1transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);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);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-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)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),ft})(),wt=(()=>{class ft extends j{constructor(Ge,je,Ft,B){super(Ge,je,Ft,B)}}return ft.\u0275fac=function(Ge){return new(Ge||ft)(p.Y36(p.SBq),p.Y36(a.t4),p.Y36(p.R0b),p.Y36(p.QbO,8))},ft.\u0275cmp=p.Xpm({type:ft,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(Ge,je){2&Ge&&(p.uIk("disabled",je.disabled||null),p.ekj("_mat-animation-noopable","NoopAnimations"===je._animationMode)("mat-unthemed",!je.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[p.qOj],attrs:ge,ngContentSelectors:Re,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(Ge,je){1&Ge&&(p.F$t(),p._UZ(0,"span",0),p.Hsn(1),p._UZ(2,"span",1)(3,"span",2)(4,"span",3)),2&Ge&&(p.xp6(3),p.Q6J("matRippleDisabled",je._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",je._elementRef.nativeElement))},dependencies:[Y.wG],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);
1height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',W],encapsulation:2,changeDetection:0}),ft})(),Lt=(()=>{class ft{}return ft.\u0275fac=function(Ge){return new(Ge||ft)},ft.\u0275mod=p.oAB({type:ft}),ft.\u0275inj=p.cJS({imports:[Y.BQ,Y.si,Y.BQ]}),ft})()},3238:(Pt,Ve,f)=>{"use strict";f.d(Ve,{yN:()=>be,mZ:()=>se,_A:()=>wt,rD:()=>$,sG:()=>Yt,Ad:()=>qe,K7:()=>ut,HF:()=>Rt,Y2:()=>T,BQ:()=>De,XK:()=>Ft,ey:()=>dn,Ng:()=>Vn,us:()=>vt,wG:()=>re,si:()=>Oe,IR:()=>Te,CB:()=>_i,jH:()=>En,pj:()=>Ne,Kr:()=>me,Id:()=>Be,FD:()=>ze,dB:()=>dt,sb:()=>Le});var a=f(4650),p=f(2687),C=f(445),e=f(6895),ee=f(3353),R=f(1281),ae=f(9751),X=f(7579),W=f(9521);const _e=["text"];function ge(kt,Ze){if(1&kt&&a._UZ(0,"mat-pseudo-checkbox",5),2&kt){const Me=a.oxw();a.Q6J("state",Me.selected?"checked":"unchecked")("disabled",Me.disabled)}}function Re(kt,Ze){if(1&kt&&(a.TgZ(0,"span",6),a._uU(1),a.qZA()),2&kt){const Me=a.oxw();a.xp6(1),a.hij("(",Me.group.label,")")}}const $e=[[["mat-icon"]],"*"],fe=["mat-icon","*"];let be=(()=>{class kt{}return kt.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",kt.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",kt.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",kt.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",kt})(),se=(()=>{class kt{}return kt.COMPLEX="375ms",kt.ENTERING="225ms",kt.EXITING="195ms",kt})();const ne=new a.OlP("mat-sanity-checks",{providedIn:"root",factory:function j(){return!0}});let De=(()=>{class kt{constructor(Me,le,q){this._sanityChecks=le,this._document=q,this._hasDoneGlobalChecks=!1,Me._applyBodyHighContrastModeCssClasse
1s(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Me){return!(0,ee.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Me])}}return kt.\u0275fac=function(Me){return new(Me||kt)(a.LFG(p.qm),a.LFG(ne,8),a.LFG(e.K0))},kt.\u0275mod=a.oAB({type:kt}),kt.\u0275inj=a.cJS({imports:[C.vT,C.vT]}),kt})();function Be(kt){return class extends kt{constructor(...Ze){super(...Ze),this._disabled=!1}get disabled(){return this._disabled}set disabled(Ze){this._disabled=(0,R.Ig)(Ze)}}}function Ne(kt,Ze){return class extends kt{constructor(...Me){super(...Me),this.defaultColor=Ze,this.color=Ze}get color(){return this._color}set color(Me){const le=Me||this.defaultColor;le!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),le&&this._elementRef.nativeElement.classList.add(`mat-${le}`),this._color=le)}}}function me(kt){return class extends kt{constructor(...Ze){super(...Ze),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ze){this._disableRipple=(0,R.Ig)(Ze)}}}function Le(kt,Ze=0){return class extends kt{constructor(...Me){super(...Me),this._tabIndex=Ze,this.defaultTabIndex=Ze}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Me){this._tabIndex=null!=Me?(0,R.su)(Me):this.defaultTabIndex}}}function ze(kt){return class extends kt{constructor(...Ze){super(...Ze),this.errorState=!1}updateErrorState(){const Ze=this.errorState,Z=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Z!==Ze&&(this.errorState=Z,this.stateChanges.next())}}}function dt(kt){return class extends kt{constructor(...Ze){super(...Ze),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new ae.y(Me=>{this._isInitialized?this._notifySubscriber(Me):this._pendingSubscribers.push(Me)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Ze){Ze.next(),Ze.complete()}}}const qe=new a.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Mt(){return(0,a.f3M)(a.soG)}});class wt{constructor(){this._localeChanges=new X.x,this.localeChanges=this._localeChanges}getValidDateOrNull(Ze){return this.isDateInstance(Ze)&&this.isValid(Ze)?Ze:null}deserialize(Ze){return null==Ze||this.isDateInstance(Ze)&&this.isValid(Ze)?Ze:this.invalid()}setLocale(Ze){this.locale=Ze,this._localeChanges.next()}compareDate(Ze,Me){return this.getYear(Ze)-this.getYear(Me)||this.getMonth(Ze)-this.getMonth(Me)||this.getDate(Ze)-this.getDate(Me)}sameDate(Ze,Me){if(Ze&&Me){let le=this.isValid(Ze),q=this.isValid(Me);return le&&q?!this.compareDate(Ze,Me):le==q}return Ze==Me}clampDate(Ze,Me,le){return Me&&this.compareDate(Ze,Me)<0?Me:le&&this.compareDate(Ze,le)>0?le:Ze}}const Yt=new a.OlP("mat-date-formats"),Lt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ft(kt,Ze){const Me=Array(kt);for(let le=0;le<kt;le++)Me[le]=Ze(le);return Me}let It=(()=>{class kt extends wt{constructor(Me,le){super(),this.useUtcForDisplay=!1,super.setLocale(Me)}getYear(Me){return Me.getFullYear()}getMonth(Me){return Me.getMonth()}getDate(Me){return Me.getDate()}getDayOfWeek(Me){return Me.getDay()}getMonthNames(Me){const le=new Intl.DateTimeFormat(this.locale,{month:Me,timeZone:"utc"});return ft(12,q=>this._format(le,new Date(2017,q,1)))}getDateNames(){const Me=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ft(31,le=>this._format(Me,new Date(2017,0,le+1)))}getDayOfWeekNames(Me){const le=new Intl.DateTimeFormat(this.locale,{weekday:Me,timeZone:"utc"});return ft(7,q=>this._format(le,new Date(2017,0,q+1)))}getYearName(Me){const le=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(le,Me)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Me){return this.getDate(this._createDateWithOverflow(this.getYear(Me),this.getMonth(Me)+1,0))}clone(Me){return new Date(Me.getTime())}createDate(Me,le,q){let Z=this._createDateWithOverflow(Me,le,q);return Z.getMonth(),Z}today(){return new Date}parse(Me,le){return"number"==typeof Me?new Date(Me):Me?new Date(Date.parse(Me)):null}format(Me,le){if(!this.isValid(Me))throw Error("NativeDateAdapter: Cannot format invalid date.");const q=new Intl.DateTimeFormat(this.locale,{...le,timeZone:"utc"});return this._format(q,Me)}addCalendarYears(Me,le){return this.addCalendarMonths(Me,12*le)}addCalendarMonths(Me,le){let q=this._createDateWithOverflow(this.getYear(Me),this.getMonth(Me)+le,this.getDate(Me));return this.getMonth(q)!=((this.getMonth(Me)+le)%12+12)%12&&(q=this._createDateWithOverflow(this.getYear(q),this.getMonth(q),0)),q}addCalendarDays(Me,le){return this._createDateWithOverflow(this.getYear(Me),this.getMonth(Me),this.getDate(Me)+le)}toIso8601(Me){return[Me.getUTCFullYear(),this._2digit(Me.getUTCMonth()+1),this._2digit(Me.getUTCDate())].join("-")}deserialize(Me){if("string"==typeof Me){if(!Me)return null;if(Lt.test(Me)){let le=new Date(Me);if(this.isValid(le))return le}}return super.deserialize(Me)}isDateInstance(Me){return Me instanceof Date}isValid(Me){return!isNaN(Me.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Me,le,q){const Z=new Date;return Z.setFullYear(Me,le,q),Z.setHours(0,0,0,0),Z}_2digit(Me){return("00"+Me).slice(-2)}_format(Me,le){const q=new Date;return q.setUTCFullYear(le.getFullYear(),le.getMonth(),le.getDate()),q.setUTCHours(le.getHours(),le.getMinutes(),le.getSeconds(),le.getMilliseconds()),Me.format(q)}}return kt.\u0275fac=function(Me){return new(Me||kt)(a.LFG(qe,8),a.LFG(ee.t4))},kt.\u0275prov=a.Yz7({token:kt,factory:kt.\u0275fac}),kt})();const Ge={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let je=(()=>{class kt{}return kt.\u0275fac=function(Me){return new(Me||kt)},kt.\u0275mod=a.oAB({type:kt}),kt.\u0275inj=a.cJS({providers:[{provide:wt,useClass:It}]}),kt})(),Ft=(()=>{class kt{}return kt.\u0275fac=function(Me){return new(Me||kt)},kt.\u0275mod=a.oAB({type:kt}),kt.\u0275inj=a.cJS({providers:[{provide:Yt,useValue:Ge}],imports:[je]}),kt})(),$=(()=>{class kt{isErrorState(Me,le){return!!(Me&&Me.invalid&&(Me.touched||le&&le.submitted))}}return kt.\u0275fac=function(Me){return new(Me||kt)},kt.\u0275prov=a.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"}),kt})();class lt{constructor(Ze,Me,le,q=!1){this._renderer=Ze,this.element=Me,this.config=le,this._animationForciblyDisabledThroughCss=q,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Bt={enterDuration:225,exitDuration:150},te=(0,ee.i$)({passive:!0}),N=["mousedown","touchstart"],z=["mouseup","mouseleave","touchend","touchcancel"];class Te{constructor(Ze,Me,le,q){this._target=Ze,this._ngZone=Me,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,q.isBrowser&&(this._containerElement=(0,R.fI)(le))}fadeInRipple(Ze,Me,le={}){const q=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Z={...Bt,...le.animation};le.centered&&(Ze=q.left+q.width/2,Me=q.top+q.height/2);const Ie=le.radius||function xe(kt,Ze,Me){const le=Math.max(Math.abs(kt-Me.left),Math.abs(kt-Me.right)),q=Math.max(Math.abs(Ze-Me.top),Math.abs(Ze-Me.bottom));return Math.sqrt(le*le+q*q)}(Ze,Me,q),ie=Ze-q.left,we=Me-q.top,Qe=Z.enterDuration,Ct=document.createElement("div");Ct.classList.add("mat-ripple-element"),Ct.style.left=ie-Ie+"px",Ct.style.top=we-Ie+"px",Ct.style.height=2*Ie+"px",Ct.style.width=2*Ie+"px",null!=le.color&&(Ct.style.backgroundColor=le.color),Ct.style.transitionDuration=`${Qe}ms`,this._containerElement.appendChild(Ct);const mt=window.getComputedStyle(Ct),An=mt.transitionDuration,In="none"===mt.transitionProperty||"0s"===An||"0s, 0s"===An||0===q.width&&0===q.height,Fn=new lt(this,Ct,le,In);Ct.style.transform="scale3d(1, 1, 1)",Fn.state=0,le.persistent||(this._mostRecentTransientRipple=Fn);let ln=null;return!In&&(Qe||Z.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ct=()=>this._finishRippleTransition(Fn),rt=()=>this._destroyRipple(Fn);Ct.addEventListener("transitionend",ct),Ct.addEventListener("transitioncancel",rt),ln={onTransitionEnd:ct,onTransitionCancel:rt}}),this._activeRipples.set(Fn,ln),(In||!Qe)&&this._finishRippleTransition(Fn),Fn}fadeOutRipple(Ze){if(2===Ze.state||3===Ze.state)return;const Me=Ze.element,le={...Bt,...Ze.config.animation};Me.style.transitionDuration=`${le.exitDuration}ms`,Me.style.opacity="0",Ze.state=2,(Ze._animationForciblyDisabledThroughCss||!le.exitDuration)&&this._finishRippleTransition(Ze)}
1fadeOutAll(){this._getActiveRipples().forEach(Ze=>Ze.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ze=>{Ze.config.persistent||Ze.fadeOut()})}setupTriggerEvents(Ze){const Me=(0,R.fI)(Ze);!Me||Me===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Me,this._registerEvents(N))}handleEvent(Ze){"mousedown"===Ze.type?this._onMousedown(Ze):"touchstart"===Ze.type?this._onTouchStart(Ze):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(z),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ze){0===Ze.state?this._startFadeOutTransition(Ze):2===Ze.state&&this._destroyRipple(Ze)}_startFadeOutTransition(Ze){const Me=Ze===this._mostRecentTransientRipple,{persistent:le}=Ze.config;Ze.state=1,!le&&(!Me||!this._isPointerDown)&&Ze.fadeOut()}_destroyRipple(Ze){const Me=this._activeRipples.get(Ze)??null;this._activeRipples.delete(Ze),this._activeRipples.size||(this._containerRect=null),Ze===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ze.state=3,null!==Me&&(Ze.element.removeEventListener("transitionend",Me.onTransitionEnd),Ze.element.removeEventListener("transitioncancel",Me.onTransitionCancel)),Ze.element.remove()}_onMousedown(Ze){const Me=(0,p.X6)(Ze),le=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!Me&&!le&&(this._isPointerDown=!0,this.fadeInRipple(Ze.clientX,Ze.clientY,this._target.rippleConfig))}_onTouchStart(Ze){if(!this._target.rippleDisabled&&!(0,p.yG)(Ze)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const Me=Ze.changedTouches;for(let le=0;le<Me.length;le++)this.fadeInRipple(Me[le].clientX,Me[le].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(Ze=>{!Ze.config.persistent&&(1===Ze.state||Ze.config.terminateOnPointerUp&&0===Ze.state)&&Ze.fadeOut()}))}_registerEvents(Ze){this._ngZone.runOutsideAngular(()=>{Ze.forEach(Me=>{this._triggerElement.addEventListener(Me,this,te)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(N.forEach(Ze=>{this._triggerElement.removeEventListener(Ze,this,te)}),this._pointerUpEventsRegistered&&z.forEach(Ze=>{this._triggerElement.removeEventListener(Ze,this,te)}))}}const T=new a.OlP("mat-ripple-global-options");let re=(()=>{class kt{constructor(Me,le,q,Z,Ie){this._elementRef=Me,this._animationMode=Ie,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Z||{},this._rippleRenderer=new Te(this,le,Me,q)}get disabled(){return this._disabled}set disabled(Me){Me&&this.fadeOutAllNonPersistent(),this._disabled=Me,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Me){this._trigger=Me,this._setupTriggerEventsIfEnabled()}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:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{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(Me,le=0,q){return"number"==typeof Me?this._rippleRenderer.fadeInRipple(Me,le,{...this.rippleConfig,...q}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Me})}}return kt.\u0275fac=function(Me){return new(Me||kt)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(ee.t4),a.Y36(T,8),a.Y36(a.QbO,8))},kt.\u0275dir=a.lG2({type:kt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Me,le){2&Me&&a.ekj("mat-ripple-unbounded",le.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),kt})(),Oe=(()=>{class kt{}return kt.\u0275fac=function(Me){return new(Me||kt)},kt.\u0275mod=a.oAB({type:kt}),kt.\u0275inj=a.cJS({imports:[De,De]}),kt})(),nt=(()=>{class kt{constructor(Me){this._animationMode=Me,this.state="unchecked",this.disabled=!1}}return kt.\u0275fac=function(Me){return new(Me||kt)(a.Y36(a.QbO,8))},kt.\u0275cmp=a.Xpm({type:kt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(Me,le){2&Me&&a.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===le.state)("mat-pseudo-checkbox-checked","checked"===le.state)("mat-pseudo-checkbox-disabled",le.disabled)("_mat-animation-noopable","NoopAnimations"===le._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(Me,le){},styles:['.mat-pseudo-checkbox{border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),kt})(),vt=(()=>{class kt{}return kt.\u0275fac=function(Me){return new(Me||kt)},kt.\u0275mod=a.oAB({type:kt}),kt.\u0275inj=a.cJS({imports:[De]}),kt})();const Rt=new a.OlP("MAT_OPTION_PARENT_COMPONENT"),ut=new a.OlP("MatOptgroup");let bt=0;
1class Ot{constructor(Ze,Me=!1){this.source=Ze,this.isUserInput=Me}}let fn=(()=>{class kt{constructor(Me,le,q,Z){this._element=Me,this._changeDetectorRef=le,this._parent=q,this.group=Z,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+bt++,this.onSelectionChange=new a.vpe,this._stateChanges=new X.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(Me){this._disabled=(0,R.Ig)(Me)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(Me,le){const q=this._getHostElement();"function"==typeof q.focus&&q.focus(le)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Me){(Me.keyCode===W.K5||Me.keyCode===W.L_)&&!(0,W.Vb)(Me)&&(this._selectViaInteraction(),Me.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Me=this.viewValue;Me!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Me)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Me=!1){this.onSelectionChange.emit(new Ot(this,Me))}}return kt.\u0275fac=function(Me){a.$Z()},kt.\u0275dir=a.lG2({type:kt,viewQuery:function(Me,le){if(1&Me&&a.Gf(_e,7),2&Me){let q;a.iGM(q=a.CRH())&&(le._text=q.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),kt})(),dn=(()=>{class kt extends fn{constructor(Me,le,q,Z){super(Me,le,q,Z)}}return kt.\u0275fac=function(Me){return new(Me||kt)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(Rt,8),a.Y36(ut,8))},kt.\u0275cmp=a.Xpm({type:kt,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(Me,le){1&Me&&a.NdJ("click",function(){return le._selectViaInteraction()})("keydown",function(Z){return le._handleKeydown(Z)}),2&Me&&(a.Ikx("id",le.id),a.uIk("tabindex",le._getTabIndex())("aria-selected",le._getAriaSelected())("aria-disabled",le.disabled.toString()),a.ekj("mdc-list-item--selected",le.selected)("mat-mdc-option-multiple",le.multiple)("mat-mdc-option-active",le.active)("mdc-list-item--disabled",le.disabled))},exportAs:["matOption"],features:[a.qOj],ngContentSelectors:fe,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(Me,le){1&Me&&(a.F$t($e),a.YNc(0,ge,1,2,"mat-pseudo-checkbox",0),a.Hsn(1),a.TgZ(2,"span",1,2),a.Hsn(4,1),a.qZA(),a.YNc(5,Re,2,1,"span",3),a._UZ(6,"div",4)),2&Me&&(a.Q6J("ngIf",le.multiple),a.xp6(5),a.Q6J("ngIf",le.group&&le.group._inert),a.xp6(1),a.Q6J("matRippleTrigger",le._getHostElement())("matRippleDisabled",le.disabled||le.disableRipple))},dependencies:[re,e.O5,nt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),kt})();function _i(kt,Ze,Me){if(Me.length){let le=Ze.toArray(),q=Me.toArray(),Z=0;for(let Ie=0;Ie<kt+1;Ie++)le[Ie].group&&le[Ie].group===q[Z]&&Z++;return Z}return 0}function En(kt,Ze,Me,le){return kt<Me?kt:kt+Ze>Me+le?Math.max(0,kt-le+Ze):Me}let Vn=(()=>{class kt{}return kt.\u0275fac=function(Me){return new(Me||kt)},kt.\u0275mod=a.oAB({type:kt}),kt.\u0275inj=a.cJS({imports:[Oe,e.ez,De,vt]}),kt})()},9602:(Pt,Ve,f)=>{"use strict";f.d(Ve,{C0:()=>te,FA:()=>Pi,Lv:()=>Ie,Mq:()=>Ct,hl:()=>ln,nW:()=>rt});var a=f(2687),p=f(8184),C=f(4080),Y=f(6895),e=f(4650),ee=f(9101),R=f(4098),ae=f(3238),X=f(7579),W=f(727),de=f(6451),ce=f(9646),_e=f(9521),ge=f(445),Re=f(5698),$e=f(8675),fe=f(9300),ue=f(1281),be=f(3353),se=f(7340),j=f(4006),ne=f(9549),De=f(284);const Ue=["mat-calendar-body",""];function V(it,St){if(1&it&&(e.TgZ(0,"tr",3)(1,"td",4),e._uU(2),e.qZA()()),2&it){const A=e.oxw();e.xp6(1),e.Udp("padding-top",A._cellPadding)("padding-bottom",A._cellPadding),e.uIk("colspan",A.numCols),e.xp6(1),e.hij(" ",A.label," ")}}function He(it,St){if(1&it&&(e.TgZ(0,"td",4),e._uU(1),e.qZA()),2&it){const A=e.oxw(2);e.Udp("padding-top",A._cellPadding)("padding-bottom",A._cellPadding),e.uIk("colspan",A._firstRowOffset),e.xp6(1),e.hij(" ",A._firstRowOffset>=A.labelMinRequiredCells?A.label:""," ")}}function Be(it,St){if(1&it){const A=e.EpF();e.TgZ(0,"td",8)(1,"button",9),e.NdJ("click",function(ke){const on=e.CHM(A).$implicit,Ln=e.oxw(2);return e.KtG(Ln._cellClicked(on,ke))})("focus",function(ke){const on=e.CHM(A).$implicit,Ln=e.oxw(2);return e.KtG(Ln._emitActiveDateChange(on,ke))}),e.TgZ(2,"div",10),e._uU(3),e.qZA(),e._UZ(4,"div",11),e.qZA()()}if(2&it){const A=St.$implicit,K=St.index,ke=e.oxw().index,tt=e.oxw();e.Udp("width",tt._cellWidth)("padding-top",tt._cellPadding)("padding-bottom",tt._cellPadding),e.uIk("data-mat-row",ke)("data-mat-col",K),e.xp6(1),e.ekj("mat-calendar-body-disabled",!A.enabled)("mat-calendar-body-active",tt._isActiveCell(ke,K))("mat-calendar-body-range-start",tt._isRangeStart(A.compareValue))("mat-calendar-body-range-end",tt._isRangeEnd(A.compareValue))("mat-calendar-body-in-range",tt._isInRange(A.compareValue))("mat-calendar-body-comparison-bridge-start",tt._isComparisonBridgeStart(A.compareValue,ke,K))("mat-calendar-body-comparison-bridge-end",tt._isComparisonBridgeEnd(A.compareValue,ke,K))("mat-calendar-body-comparison-start",tt._isComparisonStart(A.compareValue))("mat-calendar-body-comparison-e
1nd",tt._isComparisonEnd(A.compareValue))("mat-calendar-body-in-comparison-range",tt._isInComparisonRange(A.compareValue))("mat-calendar-body-preview-start",tt._isPreviewStart(A.compareValue))("mat-calendar-body-preview-end",tt._isPreviewEnd(A.compareValue))("mat-calendar-body-in-preview",tt._isInPreview(A.compareValue)),e.Q6J("ngClass",A.cssClasses)("tabindex",tt._isActiveCell(ke,K)?0:-1),e.uIk("aria-label",A.ariaLabel)("aria-disabled",!A.enabled||null)("aria-pressed",tt._isSelected(A.compareValue))("aria-current",tt.todayValue===A.compareValue?"date":null)("aria-describedby",tt._getDescribedby(A.compareValue)),e.xp6(1),e.ekj("mat-calendar-body-selected",tt._isSelected(A.compareValue))("mat-calendar-body-comparison-identical",tt._isComparisonIdentical(A.compareValue))("mat-calendar-body-today",tt.todayValue===A.compareValue),e.xp6(1),e.hij(" ",A.displayValue," ")}}function Ne(it,St){if(1&it&&(e.TgZ(0,"tr",5),e.YNc(1,He,2,6,"td",6),e.YNc(2,Be,5,48,"td",7),e.qZA()),2&it){const A=St.$implicit,K=St.index,ke=e.oxw();e.xp6(1),e.Q6J("ngIf",0===K&&ke._firstRowOffset),e.xp6(1),e.Q6J("ngForOf",A)}}function me(it,St){if(1&it&&(e.TgZ(0,"th",5)(1,"span",6),e._uU(2),e.qZA(),e.TgZ(3,"span",7),e._uU(4),e.qZA()()),2&it){const A=St.$implicit;e.xp6(2),e.Oqu(A.long),e.xp6(2),e.Oqu(A.narrow)}}const Le=["*"];function ze(it,St){}function dt(it,St){if(1&it){const A=e.EpF();e.TgZ(0,"mat-month-view",5),e.NdJ("activeDateChange",function(ke){e.CHM(A);const tt=e.oxw();return e.KtG(tt.activeDate=ke)})("_userSelection",function(ke){e.CHM(A);const tt=e.oxw();return e.KtG(tt._dateSelected(ke))}),e.qZA()}if(2&it){const A=e.oxw();e.Q6J("activeDate",A.activeDate)("selected",A.selected)("dateFilter",A.dateFilter)("maxDate",A.maxDate)("minDate",A.minDate)("dateClass",A.dateClass)("comparisonStart",A.comparisonStart)("comparisonEnd",A.comparisonEnd)("startDateAccessibleName",A.startDateAccessibleName)("endDateAccessibleName",A.endD
1ateAccessibleName)}}function qe(it,St){if(1&it){const A=e.EpF();e.TgZ(0,"mat-year-view",6),e.NdJ("activeDateChange",function(ke){e.CHM(A);const tt=e.oxw();return e.KtG(tt.activeDate=ke)})("monthSelected",function(ke){e.CHM(A);const tt=e.oxw();return e.KtG(tt._monthSelectedInYearView(ke))})("selectedChange",function(ke){e.CHM(A);const tt=e.oxw();return e.KtG(tt._goToDateInView(ke,"month"))}),e.qZA()}if(2&it){const A=e.oxw();e.Q6J("activeDate",A.activeDate)("selected",A.selected)("dateFilter",A.dateFilter)("maxDate",A.maxDate)("minDate",A.minDate)("dateClass",A.dateClass)}}function Mt(it,St){if(1&it){const A=e.EpF();e.TgZ(0,"mat-multi-year-view",7),e.NdJ("activeDateChange",function(ke){e.CHM(A);const tt=e.oxw();return e.KtG(tt.activeDate=ke)})("yearSelected",function(ke){e.CHM(A);const tt=e.oxw();return e.KtG(tt._yearSelectedInMultiYearView(ke))})("selectedChange",function(ke){e.CHM(A);const tt=e.oxw();return e.KtG(tt._goToDateInView(ke,"year"))}),e.qZA()}if(2&it){const A=e.oxw();e.Q6J("activeDate",A.activeDate)("selected",A.selected)("dateFilter",A.dateFilter)("maxDate",A.maxDate)("minDate",A.minDate)("dateClass",A.dateClass)}}function wt(it,St){}const Yt=["button"];function Lt(it,St){1&it&&(e.O4$(),e.TgZ(0,"svg",3),e._UZ(1,"path",4),e.qZA())}const ft=[[["","matDatepickerToggleIcon",""]]],It=["[matDatepickerToggleIcon]"];let $=(()=>{class it{constructor(){this.changes=new X.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(A,K){return`${A} \u2013 ${K}`}formatYearRangeLabel(A,K){return`${A} to ${K}`}}return it.\u0275fac=function(A){return new(A||it)},it.\u0275prov=e.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"}),it})();class ve{constructor(St,A,K,ke,tt={},on=St,Ln){this.value=St,this.displayValue=A,this.ariaLabel=K,this.enabled=ke,this.cssClasses=tt,this.compareValue=on,this.rawValue=Ln}}let pe=1,Xe=(()=>{class it{constructor(A,K){this._elementRef=A,this._ngZone=K,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new e.vpe,this.previewChange=new e.vpe,this.activeDateChange=new e.vpe,this._enterHandler=ke=>{if(this._skipNextFocus&&"focus"===ke.type)this._skipNextFocus=!1;else if(ke.target&&this.isRange){const tt=this._getCellFromElement(ke.target);tt&&this._ngZone.run(()=>this.previewChange.emit({value:tt.enabled?tt:null,event:ke}))}},this._leaveHandler=ke=>{null!==this.previewEnd&&this.isRange&&ke.target&&this._getCellFromElement(ke.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:ke}))},this._id="mat-calendar-body-"+pe++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,K.runOutsideAngular(()=>{const ke=A.nativeElement;ke.addEventListener("mouseenter",this._enterHandler,!0),ke.addEventListener("focus",this._enterHandler,!0),ke.addEventListener("mouseleave",this._leaveHandler,!0),ke.addEventListener("blur",this._leaveHandler,!0)})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(A,K){A.enabled&&this.selectedValueChange.emit({value:A.value,event:K})}_emitActiveDateChange(A,K){A.enabled&&this.activeDateChange.emit({value:A.value,event:K})}_isSelected(A){return this.startValue===A||this.endValue===A}ngOnChanges(A){const K=A.numCols,{rows:ke,numCols:tt}=this;(A.rows||K)&&(this._firstRowOffset=ke&&ke.length&&ke[0].length?tt-ke[0].length:0),(A.cellAspectRatio||K||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/tt+"%"),(K||!this._cellWidth)&&(this._cellWidth=100/tt+"%")}ngOnDestroy(){const A=this._elementRef.nativeElement;A.removeEventListener("mouseenter",this._enterHandler,!0),A.removeEventListener("focus",this._enterHandler,!0),A.removeEventListener("mouseleave",this._leaveHandler,!0),A.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(A,K){let ke=A*this.numCols+K;return A&&(ke-=this._firstRowOffset),ke==this.activeCell}_focusActiveCell(A=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Re.q)(1)).subscribe(()=>{setTimeout(()=>{const K=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");K&&(A||(this._skipNextFocus=!0),K.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(A){return lt(A,this.startValue,this.endValue)}_isRangeEnd(A){return Bt(A,this.startValue,this.endValue)}_isInRange(A){return at(A,this.startValue,this.endValue,this.isRange)}_isComparisonStart(A){return lt(A,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(A,K,ke){if(!this._isComparisonStart(A)||this._isRangeStart(A)||!this._isInRange(A))return!1;let tt=this.rows[K][ke-1];if(!tt){const on=this.rows[K-1];tt=on&&on[on.length-1]}return tt&&!this._isRangeEnd(tt.compareValue)}_isComparisonBridgeEnd(A,K,ke){if(!this._isComparisonEnd(A)||this._isRangeEnd(A)||!this._isInRange(A))return!1;let tt=this.rows[K][ke+1];if(!tt){const on=this.rows[K+1];tt=on&&on[0]}return tt&&!this._isRangeStart(tt.compareValue)}_isComparisonEnd(A){return Bt(A,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(A){return at(A,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(A){return this.comparisonStart===this.comparisonEnd&&A===this.comparisonStart}_isPreviewStart(A){return lt(A,this.previewStart,this.previewEnd)}_isPreviewEnd(A){return Bt(A,this.previewStart,this.previewEnd)}_isInPreview(A){return at(A,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(A){return this.isRange?this.startValue===A&&this.endValue===A?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===A?this._startDateLabelId:this.endValue===A?this._endDateLabelId:null:null}_getCellFromElement(A){let K;if(st(A)?K=A:st(A.parentNode)&&(K=A.parentNode),K){const ke=K.getAttribute("data-mat-row"),tt=K.getAttribute("data-mat-col");if(ke&&tt)return this.rows[parseInt(ke)][parseInt(tt)]}return null}}return it.\u0275fac=function(A){return new(A||it)(e.Y36(e.SBq),e.Y36(e.R0b))},it.\u0275cmp=e.Xpm({type:it,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numC
1ols:"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"},exportAs:["matCalendarBody"],features:[e.TTD],attrs:Ue,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(A,K){1&A&&(e.YNc(0,V,3,6,"tr",0),e.YNc(1,Ne,3,2,"tr",1),e.TgZ(2,"label",2),e._uU(3),e.qZA(),e.TgZ(4,"label",2),e._uU(5),e.qZA()),2&A&&(e.Q6J("ngIf",K._firstRowOffset<K.labelMinRequiredCells),e.xp6(1),e.Q6J("ngForOf",K.rows),e.xp6(1),e.Q6J("id",K._startDateLabelId),e.xp6(1),e.hij(" ",K.startDateAccessibleName,"\n"),e.xp6(1),e.Q6J("id",K._endDateLabelId),e.xp6(1),e.hij(" ",K.endDateAccessibleName,"\n"))},dependencies:[Y.mk,Y.sg,Y.O5],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-e
1nd.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0}),it})();function st(it){return"TD"===it.nodeName}function lt(it,St,A){return null!==A&&St!==A&&it<A&&it===St}function Bt(it,St,A){return null!==St&&St!==A&&it>=St&&it===A}function at(it,St,A,K){return K&&null!==St&&null!==A&&St!==A&&it>=St&&it<=A}class te{constructor(St,A){this.start=St,this.end=A}}let N=(()=>{class it{constructor(A,K){this.selection=A,this._adapter=K,this._selectionChanged=new X.x,this.selectionChanged=this._selectionChanged,this.selection=A}updateSelection(A,K){const ke=this.selection;this.selection=A,this._selectionChanged.next({selection:A,source:K,oldValue:ke})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(A){return this._adapter.isDateInstance(A)&&this._adapter.isValid(A)}}return it.\u0275fac=function(A){e.$Z()},it.\u0275prov=e.Yz7({token:it,factory:it.\u0275fac}),it})(),z=(()=>{class it extends N{constructor(A){super(null,A)}add(A){super.updateSelection(A,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const A=new it(this._adapter);return A.updateSelection(this.selection,this),A}}return it.\u0275fac=function(A){return new(A||it)(e.LFG(ae._A))},it.\u0275prov=e.Yz7({token:it,factory:it.\u0275fac}),it})();const T={provide:N,deps:[[new e.FiY,new e.tp0,N],ae._A],useFactory:function xe(it,St){return it||new z(St)}},nt=new e.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let Zt=(()=>{class it{constructor(A,K,ke,tt,on){this._changeDetectorRef=A,this._dateFormats=K,this._dateAdapter=ke,this._dir=tt,this._rangeStrategy=on,this._rerenderSubscription=W.w0.EMPTY,this.selectedChange=new e.vpe,this._userSelection=new e.vpe,this.activeDateChange=new e.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(A){const K=this._activeDate,ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ke,this.minDate,this.maxDate),this._hasSameMonthAndYear(K,this._activeDate)||this._init()}get selected(){return this._selected}set selected(A){this._selected=A instanceof te?A:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A)),this._setRanges(this._selected)}
1get minDate(){return this._minDate}set minDate(A){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))}get maxDate(){return this._maxDate}set maxDate(A){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,$e.O)(null)).subscribe(()=>this._init())}ngOnChanges(A){const K=A.comparisonStart||A.comparisonEnd;K&&!K.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(A){const K=A.value,ke=this._getDateFromDayOfMonth(K);let tt,on;this._selected instanceof te?(tt=this._getDateInCurrentMonth(this._selected.start),on=this._getDateInCurrentMonth(this._selected.end)):tt=on=this._getDateInCurrentMonth(this._selected),(tt!==K||on!==K)&&this.selectedChange.emit(ke),this._userSelection.emit({value:ke,event:A.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(A){const ke=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(A.value),this._dateAdapter.compareDate(ke,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(A){const K=this._activeDate,ke=this._isRtl();switch(A.keyCode){case _e.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ke?1:-1);break;case _e.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ke?-1:1);break;case _e.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case _e.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case _e.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case _e.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case _e.Ku:this.activeDate=A.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case _e.VM:this.activeDate=A.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case _e.K5:case _e.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&A.preventDefault());case _e.hY:return void(null!=this._previewEnd&&!(0,_e.Vb)(A)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:A}),A.preventDefault(),A.stopPropagation()));default:return}this._dateAdapter.compareDate(K,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),A.preventDefault()}_handleCalendarBodyKeyup(A){(A.keyCode===_e.L_||A.keyCode===_e.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:A}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let A=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(A)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(A){this._matCalendarBody._focusActiveCell(A)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:A,value:K}){if(this._rangeStrategy){const tt=this._rangeStrategy.createPreview(K?K.rawValue:null,this.selected,A);this._previewStart=this._getCellCompareValue(tt.start),this._previewEnd=this._getCellCompareValue(tt.end),this._changeDetectorRef.detectChanges()}}_getDateFromDayOfMonth(A){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),A)}
1_initWeekdays(){const A=this._dateAdapter.getFirstDayOfWeek(),K=this._dateAdapter.getDayOfWeekNames("narrow");let tt=this._dateAdapter.getDayOfWeekNames("long").map((on,Ln)=>({long:on,narrow:K[Ln]}));this._weekdays=tt.slice(A).concat(tt.slice(0,A))}_createWeekCells(){const A=this._dateAdapter.getNumDaysInMonth(this.activeDate),K=this._dateAdapter.getDateNames();this._weeks=[[]];for(let ke=0,tt=this._firstWeekOffset;ke<A;ke++,tt++){7==tt&&(this._weeks.push([]),tt=0);const on=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),ke+1),Ln=this._shouldEnableDate(on),si=this._dateAdapter.format(on,this._dateFormats.display.dateA11yLabel),wi=this.dateClass?this.dateClass(on,"month"):void 0;this._weeks[this._weeks.length-1].push(new ve(ke+1,K[ke],si,Ln,wi,this._getCellCompareValue(on),on))}}_shouldEnableDate(A){return!!A&&(!this.minDate||this._dateAdapter.compareDate(A,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(A,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(A))}_getDateInCurrentMonth(A){return A&&this._hasSameMonthAndYear(A,this.activeDate)?this._dateAdapter.getDate(A):null}_hasSameMonthAndYear(A,K){return!(!A||!K||this._dateAdapter.getMonth(A)!=this._dateAdapter.getMonth(K)||this._dateAdapter.getYear(A)!=this._dateAdapter.getYear(K))}_getCellCompareValue(A){if(A){const K=this._dateAdapter.getYear(A),ke=this._dateAdapter.getMonth(A),tt=this._dateAdapter.getDate(A);return new Date(K,ke,tt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(A){A instanceof te?(this._rangeStart=this._getCellCompareValue(A.start),this._rangeEnd=this._getCellCompareValue(A.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(A),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(A){return!this.dateFilter||this.dateFilter(A)}}return it.\u0275fac=function(A){return new(A||it)(e.Y36(e.sBO),e.Y36(ae.sG,8),e.Y36(ae._A,8),e.Y36(ge.Is,8),e.Y36(nt,8))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-month-view"]],viewQuery:function(A,K){if(1&A&&e.Gf(Xe,5),2&A){let ke;e.iGM(ke=e.CRH())&&(K._matCalendarBody=ke.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[e.TTD],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(A,K){1&A&&(e.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),e.YNc(3,me,5,2,"th",2),e.qZA(),e.TgZ(4,"tr"),e._UZ(5,"th",3),e.qZA()(),e.TgZ(6,"tbody",4),e.NdJ("selectedValueChange",function(tt){return K._dateSelected(tt)})("activeDateChange",function(tt){return K._updateActiveDate(tt)})("previewChange",function(tt){return K._previewChanged(tt)})("keyup",function(tt){return K._handleCalendarBodyKeyup(tt)})("keydown",function(tt){return K._handleCalendarBodyKeydown(tt)}),e.qZA()()),2&A&&(e.xp6(3),e.Q6J("ngForOf",K._weekdays),e.xp6(3),e.Q6J("label",K._monthLabel)("rows",K._weeks)("todayValue",K._todayDate)("startValue",K._rangeStart)("endValue",K._rangeEnd)("comparisonStart",K._comparisonRangeStart)("comparisonEnd",K._comparisonRangeEnd)("previewStart",K._previewStart)("previewEnd",K._previewEnd)("isRange",K._isRange)("labelMinRequiredCells",3)("activeCell",K._dateAdapter.getDate(K.activeDate)-1)("startDateAccessibleName",K.startDateAccessibleName)("endDateAccessibleName",K.endDateAccessibleName))},dependencies:[Y.sg,Xe],encapsulation:2,changeDetection:0}),it}
1)(),bt=(()=>{class it{constructor(A,K,ke){this._changeDetectorRef=A,this._dateAdapter=K,this._dir=ke,this._rerenderSubscription=W.w0.EMPTY,this.selectedChange=new e.vpe,this.yearSelected=new e.vpe,this.activeDateChange=new e.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(A){let K=this._activeDate;const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ke,this.minDate,this.maxDate),Ot(this._dateAdapter,K,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(A){this._selected=A instanceof te?A:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A)),this._setSelectedYear(A)}get minDate(){return this._minDate}set minDate(A){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))}get maxDate(){return this._maxDate}set maxDate(A){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,$e.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const K=this._dateAdapter.getYear(this._activeDate)-fn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let ke=0,tt=[];ke<24;ke++)tt.push(K+ke),4==tt.length&&(this._years.push(tt.map(on=>this._createCellForYear(on))),tt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(A){const K=A.value,ke=this._dateAdapter.createDate(K,0,1),tt=this._getDateFromYear(K);this.yearSelected.emit(ke),this.selectedChange.emit(tt)}_updateActiveDate(A){const ke=this._activeDate;this.activeDate=this._getDateFromYear(A.value),this._dateAdapter.compareDate(ke,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(A){const K=this._activeDate,ke=this._isRtl();switch(A.keyCode){case _e.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ke?1:-1);break;case _e.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ke?-1:1);break;case _e.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case _e.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case _e.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-fn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case _e.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-fn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case _e.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,A.altKey?-240:-24);break;case _e.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,A.altKey?240:24);break;case _e.K5:case _e.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(K,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),A.preventDefault()}_handleCalendarBodyKeyup(A){(A.keyCode===_e.L_||A.keyCode===_e.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:A}),this._selectionKeyPressed=!1)}_getActiveCell(){return fn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(A){const K=this._dateAdapter.getMonth(this.activeDate),ke=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(A,K,1));return this._dateAdapter.createDate(A,K,Math.min(this._dateAdapter.getDate(this.activeDate),ke))}_createCellForYear(A){const K=this._dateAdapter.createDate(A,0,1),ke=this._dateAdapter.getYearName(K),tt=this.dateClass?this.dateClass(K,"multi-year"):void 0;return new ve(A,ke,ke,this._shouldEnableYear(A),tt)}_shouldEnableYear(A){if(null==A||this.maxDate&&A>this._dateAdapter.getYear(this.maxDate)||this.minDate&&A<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let ke=this._dateAdapter.createDate(A,0,1);this._dateAdapter.getYear(ke)==A;ke=this._dateAdapter.addCalendarDays(ke,1))if(this.dateFilter(ke))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(A){if(this._selectedYear=null,A instanceof te){const K=A.start||A.end;K&&(this._selectedYear=this._dateAdapter.getYear(K))}else A&&(this._selectedYear=this._dateAdapter.getYear(A))}}return it.\u0275fac=function(A){return new(A||it)(e.Y36(e.sBO),e.Y36(ae._A,8),e.Y36(ge.Is,8))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-multi-year-view"]],viewQuery:function(A,K){if(1&A&&e.Gf(Xe,5),2&A){let ke;
1e.iGM(ke=e.CRH())&&(K._matCalendarBody=ke.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,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(A,K){1&A&&(e.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),e._UZ(3,"th",2),e.qZA()(),e.TgZ(4,"tbody",3),e.NdJ("selectedValueChange",function(tt){return K._yearSelected(tt)})("activeDateChange",function(tt){return K._updateActiveDate(tt)})("keyup",function(tt){return K._handleCalendarBodyKeyup(tt)})("keydown",function(tt){return K._handleCalendarBodyKeydown(tt)}),e.qZA()()),2&A&&(e.xp6(4),e.Q6J("rows",K._years)("todayValue",K._todayYear)("startValue",K._selectedYear)("endValue",K._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",K._getActiveCell()))},dependencies:[Xe],encapsulation:2,changeDetection:0}),it})();function Ot(it,St,A,K,ke){const tt=it.getYear(St),on=it.getYear(A),Ln=dn(it,K,ke);return Math.floor((tt-Ln)/24)===Math.floor((on-Ln)/24)}function fn(it,St,A,K){return function _i(it,St){return(it%St+St)%St}(it.getYear(St)-dn(it,A,K),24)}function dn(it,St,A){let K=0;return A?K=it.getYear(A)-24+1:St&&(K=it.getYear(St)),K}let En=(()=>{class it{constructor(A,K,ke,tt){this._changeDetectorRef=A,this._dateFormats=K,this._dateAdapter=ke,this._dir=tt,this._rerenderSubscription=W.w0.EMPTY,this.selectedChange=new e.vpe,this.monthSelected=new e.vpe,this.activeDateChange=new e.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(A){let K=this._activeDate;const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ke,this.minDate,this.maxDate),this._dateAdapter.getYear(K)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(A){this._selected=A instanceof te?A:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A)),this._setSelectedMonth(A)}get minDate(){return this._minDate}set minDate(A){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))}get maxDate(){return this._maxDate}set maxDate(A){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,$e.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(A){const K=A.value,ke=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),K,1);this.monthSelected.emit(ke);const tt=this._getDateFromMonth(K);this.selectedChange.emit(tt)}_updateActiveDate(A){const ke=this._activeDate;this.activeDate=this._getDateFromMonth(A.value),this._dateAdapter.compareDate(ke,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(A){const K=this._activeDate,ke=this._isRtl();switch(A.keyCode){case _e.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ke?1:-1);break;case _e.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ke?-1:1);break;case _e.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case _e.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case _e.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case _e.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case _e.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,A.altKey?-10:-1);break;case _e.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,A.altKey?10:1);break;case _e.K5:case _e.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(K,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),A.preventDefault()}_handleCalendarBodyKeyup(A){(A.keyCode===_e.L_||A.keyCode===_e.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:A}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let A=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(K=>K.map(ke=>this._createCellForMonth(ke,A[ke]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(A){return A&&this._dateAdapter.getYear(A)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(A):null}_getDateFromMonth(A){const K=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),A,1),ke=this._dateAdapter.getNumDaysInMonth(K);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),A,Math.min(this._dateAdapter.getDate(this.activeDate),ke))}_createCellForMonth(A,K){const ke=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),A,1),tt=this._dateAdapter.format(ke,this._dateFormats.display.monthYearA11yLabel),on=this.dateClass?this.dateClass(ke,"year"):void 0;return new ve(A,K.toLocaleUpperCase(),tt,this._shouldEnableMonth(A),on)}_shouldEnableMonth(A){const K=this._dateAdapter.getYear(this.activeDate);if(null==A||this._isYearAndMonthAfterMaxDate(K,A)||this._isYearAndMonthBeforeMinDate(K,A))return!1;if(!this.dateFilter)return!0;for(let tt=this._dateAdapter.createDate(K,A,1);this._dateAdapter.getMonth(tt)==A;tt=this._dateAdapter.addCalendarDays(tt,1))if(this.dateFilter(tt))return!0;return!1}_isYearAndMonthAfterMaxDate(A,K){if(this.maxDate){const ke=this._dateAdapter.getYear(this.maxDate),tt=this._dateAdapter.getMonth(this.maxDate);return A>ke||A===ke&&K>tt}return!1}_isYearAndMonthBeforeMinDate(A,K){if(this.minDate){const ke=this._dateAdapter.getYear(this.minDate),tt=this._dateAdapter.getMonth(this.minDate);return A<ke||A===ke&&K<tt}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(A){this._selectedMonth=A instanceof te?this._getMonthInCurrentYear(A.start)||this._getMonthInCurrentYear(A.end):this._getMonthInCurrentYear(A)}}return it.\u0275fac=function(A){return new(A||it)(e.Y36(e.sBO),e.Y36(ae.sG,8),e.Y36(ae._A,8),e.Y36(ge.Is,8))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-year-view"]],viewQuery:function(A,K){if(1&A&&e.Gf(Xe,5),2&A){let ke;
1e.iGM(ke=e.CRH())&&(K._matCalendarBody=ke.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,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(A,K){1&A&&(e.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),e._UZ(3,"th",2),e.qZA()(),e.TgZ(4,"tbody",3),e.NdJ("selectedValueChange",function(tt){return K._monthSelected(tt)})("activeDateChange",function(tt){return K._updateActiveDate(tt)})("keyup",function(tt){return K._handleCalendarBodyKeyup(tt)})("keydown",function(tt){return K._handleCalendarBodyKeydown(tt)}),e.qZA()()),2&A&&(e.xp6(4),e.Q6J("label",K._yearLabel)("rows",K._months)("todayValue",K._todayMonth)("startValue",K._selectedMonth)("endValue",K._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",K._dateAdapter.getMonth(K.activeDate)))},dependencies:[Xe],encapsulation:2,changeDetection:0}),it})(),Vn=1,kt=(()=>{class it{constructor(A,K,ke,tt,on){this._intl=A,this.calendar=K,this._dateAdapter=ke,this._dateFormats=tt,this._id="mat-calendar-header-"+Vn++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>on.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(A,K){return"month"==this.calendar.currentView?this._dateAdapter.getYear(A)==this._dateAdapter.getYear(K)&&this._dateAdapter.getMonth(A)==this._dateAdapter.getMonth(K):"year"==this.calendar.currentView?this._dateAdapter.getYear(A)==this._dateAdapter.getYear(K):Ot(this._dateAdapter,A,K,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const K=this._dateAdapter.getYear(this.calendar.activeDate)-fn(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ke=K+24-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(K,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(ke,0,1))]}}return it.\u0275fac=function(A){return new(A||it)(e.Y36($),e.Y36((0,e.Gpc)(()=>Ze)),e.Y36(ae._A,8),e.Y36(ae.sG,8),e.Y36(e.sBO))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Le,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-control
1s"],["mat-button","","type","button","aria-live","polite",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"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(A,K){1&A&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1)(2,"button",2),e.NdJ("click",function(){return K.currentPeriodClicked()}),e.TgZ(3,"span",3),e._uU(4),e.qZA(),e.O4$(),e.TgZ(5,"svg",4),e._UZ(6,"polygon",5),e.qZA()(),e.kcU(),e._UZ(7,"div",6),e.Hsn(8),e.TgZ(9,"button",7),e.NdJ("click",function(){return K.previousClicked()}),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return K.nextClicked()}),e.qZA()()(),e.TgZ(11,"label",9),e._uU(12),e.qZA()),2&A&&(e.xp6(2),e.uIk("aria-label",K.periodButtonLabel)("aria-describedby",K._periodButtonLabelId),e.xp6(2),e.Oqu(K.periodButtonText),e.xp6(1),e.ekj("mat-calendar-invert","month"!==K.calendar.currentView),e.xp6(4),e.Q6J("disabled",!K.previousEnabled()),e.uIk("aria-label",K.prevButtonLabel),e.xp6(1),e.Q6J("disabled",!K.nextEnabled()),e.uIk("aria-label",K.nextButtonLabel),e.xp6(1),e.Q6J("id",K._periodButtonLabelId),e.xp6(1),e.Oqu(K.periodButtonDescription))},dependencies:[ee.lW,ee.RK],encapsulation:2,changeDetection:0}),it})(),Ze=(()=>{class it{constructor(A,K,ke,tt){this._dateAdapter=K,this._dateFormats=ke,this._changeDetectorRef=tt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new e.vpe,this.yearSelected=new e.vpe,this.monthSelected=new e.vpe,this.viewChanged=new e.vpe(!0),this._userSelection=new e.vpe,this.stateChanges=new X.x,this._intlChanges=A.changes.subscribe(()=>{tt.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(A){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))}get selected(){return this._selected}set selected(A){this._selected=A instanceof te?A:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))}get minDate(){return this._minDate}set minDate(A){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))}get maxDate(){return this._maxDate}set maxDate(A){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))}get activeDate(){return this._clampedActiveDate}set activeDate(A){this._clampedActiveDate=this._dateAdapter.clampDate(A,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(A){const K=this._currentView!==A?A:null;this._currentView=A,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),K&&this.viewChanged.emit(K)}ngAfterContentInit(){this._calendarHeaderPortal=new C.C5(this.headerComponent||kt),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(A){const K=A.minDate&&!this._dateAdapter.sameDate(A.minDate.previousValue,A.minDate.currentValue)?A.minDate:void 0,ke=A.maxDate&&!this._dateAdapter.sameDate(A.maxDate.previousValue,A.maxDate.currentValue)?A.maxDate:void 0,tt=K||ke||A.dateFilter;if(tt&&!tt.firstChange){const on=this._getCurrentViewComponent();on&&(this._changeDetectorRef.detectChanges(),on._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(A){const K=A.value;(this.selected instanceof te||K&&!this._dateAdapter.sameDate(K,this.selected))&&this.selectedChange.emit(K),this._userSelection.emit(A)}_yearSelectedInMultiYearView(A){this.yearSelected.emit(A)}_monthSelectedInYearView(A){this.monthSelected.emit(A)}_goToDateInView(A,K){this.activeDate=A,this.currentView=K}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return it.\u0275fac=function(A){return new(A||it)(e.Y36($),e.Y36(ae._A,8),e.Y36(ae.sG,8),e.Y36(e.sBO))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-calendar"]],viewQuery:function(A,K){if(1&A&&(e.Gf(Zt,5),e.Gf(En,5),e.Gf(bt,5)),2&A){let ke;e.iGM(ke=e.CRH())&&(K.monthView=ke.first),e.iGM(ke=e.CRH())&&(K.yearView=ke.first),e.iGM(ke=e.CRH())&&(K.multiYearView=ke.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"},exportAs:["matCalendar"],features:[e._Bn([T]),e.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(A,K){1&A&&(e.YNc(0,ze,0,0,"ng-template",0),e.TgZ(1,"div",1),e.YNc(2,dt,1,10,"mat-month-view",2),e.YNc(3,qe,1,6,"mat-year-view",3),e.YNc(4,Mt,1,6,"mat-multi-year-view",4),e.qZA()),2&A&&(e.Q6J("cdkPortalOutlet",K._calendarHeaderPortal),e.xp6(1),e.Q6J("ngSwitch",K.currentView),e.xp6(1),e.Q6J("ngSwitchCase","month"),e.xp6(1),e.Q6J("ngSwitchCase","year"),e.xp6(1),e.Q6J("ngSwitchCase","multi-year"))},dependencies:[Y.RF,Y.n9,a.kH,C.Pl,Zt,En,bt],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}
1.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),it})();const Me={transformPanel:(0,se.X$)("transformPanel",[(0,se.eR)("void => enter-dropdown",(0,se.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,se.F4)([(0,se.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,se.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,se.eR)("void => enter-dialog",(0,se.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,se.F4)([(0,se.oB)({opacity:0,transform:"scale(0.7)"}),(0,se.oB)({transform:"none",opacity:1})]))),(0,se.eR)("* => void",(0,se.jt)("100ms linear",(0,se.oB)({opacity:0})))]),fadeInCalendar:(0,se.X$)("fadeInCalendar",[(0,se.SB)("void",(0,se.oB)({opacity:0})),(0,se.SB)("enter",(0,se.oB)({opacity:1})),(0,se.eR)("void => *",(0,se.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let le=0;const q=new e.OlP("mat-datepicker-scroll-strategy"),Ie={provide:q,deps:[p.aV],useFactory:function Z(it){return()=>it.scrollStrategies.reposition()}},ie=(0,ae.pj)(class{constructor(it){this._elementRef=it}});let we=(()=>{class it extends ie{constructor(A,K,ke,tt,on,Ln){super(A),this._changeDetectorRef=K,this._globalModel=ke,this._dateAdapter=tt,this._rangeSelectionStrategy=on,this._subscriptions=new W.w0,this._animationDone=new X.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Ln.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(A){const K=this._model.selection,ke=A.value,tt=K instanceof te;if(tt&&this._rangeSelectionStrategy){const on=this._rangeSelectionStrategy.selectionFinished(ke,K,A.event);this._model.updateSelection(on,this)}else ke&&(tt||!this._dateAdapter.sameDate(ke,K))&&this._model.add(ke);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(A){this._isAnimating="start"===A.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(A,K){this._model=A?this._globalModel.clone():this._globalModel,this._actionsPortal=A,K&&this._changeDetectorRef.detectChanges()}}return it.\u0275fac=function(A){return new(A||it)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(N),e.Y36(ae._A),e.Y36(nt,8),e.Y36($))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-datepicker-content"]],viewQuery:function(A,K){if(1&A&&e.Gf(Ze,5),2&A){let ke;e.iGM(ke=e.CRH())&&(K._calendar=ke.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(A,K){1&A&&e.WFA("@transformPanel.start",function(tt){return K._handleAnimationEvent(tt)})("@transformPanel.done",function(tt){return K._handleAnimationEvent(tt)}),2&A&&(e.d8E("@transformPanel",K._animationState),e.ekj("mat-datepicker-content-touch",K.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[e.qOj],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(A,K){if(1&A&&(e.TgZ(0,"div",0)(1,"mat-calendar",1),e.NdJ("yearSelected",function(tt){return K.datepicker._selectYear(tt)})("monthSelected",function(tt){return K.datepicker._selectMonth(tt)})("viewChanged",function(tt){return K.datepicker._viewChanged(tt)})("_userSelection",function(tt){return K._handleUserSelection(tt)}),e.qZA(),e.YNc(2,wt,0,0,"ng-template",2),e.TgZ(3,"button",3),e.NdJ("focus",function(){return K._closeButtonF
1ocused=!0})("blur",function(){return K._closeButtonFocused=!1})("click",function(){return K.datepicker.close()}),e._uU(4),e.qZA()()),2&A){let ke;e.ekj("mat-datepicker-content-container-with-custom-header",K.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",K._actionsPortal),e.uIk("aria-modal",!0)("aria-labelledby",null!==(ke=K._dialogLabelId)&&void 0!==ke?ke:void 0),e.xp6(1),e.Q6J("id",K.datepicker.id)("ngClass",K.datepicker.panelClass)("startAt",K.datepicker.startAt)("startView",K.datepicker.startView)("minDate",K.datepicker._getMinDate())("maxDate",K.datepicker._getMaxDate())("dateFilter",K.datepicker._getDateFilter())("headerComponent",K.datepicker.calendarHeaderComponent)("selected",K._getSelected())("dateClass",K.datepicker.dateClass)("comparisonStart",K.comparisonStart)("comparisonEnd",K.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",K.startDateAccessibleName)("endDateAccessibleName",K.endDateAccessibleName),e.xp6(1),e.Q6J("cdkPortalOutlet",K._actionsPortal),e.xp6(1),e.ekj("cdk-visually-hidden",!K._closeButtonFocused),e.Q6J("color",K.color||"primary"),e.xp6(1),e.Oqu(K._closeButtonText)}},dependencies:[Y.mk,ee.lW,a.mK,C.Pl,Ze],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Me.transformPanel,Me.fadeInCalendar]},changeDetection:0}),it})(),Qe=(()=>{class it{constructor(A,K,ke,tt,on,Ln,si){this._overlay=A,this._ngZone=K,this._viewContainerRef=ke,this._dateAdapter=on,this._dir=Ln,this._model=si,this._inputStateChanges=W.w0.EMPTY,this._document=(0,e.f3M)(Y.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new e.vpe,this.monthSelected=new e.vpe,this.viewChanged=new e.vpe(!0),this.openedStream=new e.vpe,this.closedStream
1=new e.vpe,this._opened=!1,this.id="mat-datepicker-"+le++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new X.x,this._scrollStrategy=tt}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(A){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(A){this._color=A}get touchUi(){return this._touchUi}set touchUi(A){this._touchUi=(0,ue.Ig)(A)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(A){const K=(0,ue.Ig)(A);K!==this._disabled&&(this._disabled=K,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(A){this._restoreFocus=(0,ue.Ig)(A)}get panelClass(){return this._panelClass}set panelClass(A){this._panelClass=(0,ue.du)(A)}get opened(){return this._opened}set opened(A){(0,ue.Ig)(A)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(A){const K=A.xPosition||A.yPosition;if(K&&!K.firstChange&&this._overlayRef){const ke=this._overlayRef.getConfig().positionStrategy;ke instanceof p._G&&(this._setConnectedPositions(ke),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(A){this._model.add(A)}_selectYear(A){this.yearSelected.emit(A)}_selectMonth(A){this.monthSelected.emit(A)}_viewChanged(A){this.viewChanged.emit(A)}registerInput(A){return this._inputStateChanges.unsubscribe(),this.datepickerInput=A,this._inputStateChanges=A.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(A){this._actionsPortal=A,this._componentRef?.instance._assignActions(A,!0)}removeActions(A){A===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,be.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const A=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,K=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:ke,location:tt}=this._componentRef;ke._startExitAnimation(),ke._animationDone.pipe((0,Re.q)(1)).subscribe(()=>{const on=this._document.activeElement;A&&(!on||on===this._document.activeElement||tt.nativeElement.contains(on))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}A?setTimeout(K):K()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(A){A.datepicker=this,A.color=this.color,A._dialogLabelId=this.datepickerInput.getOverlayLabelId(),A._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const A=this.touchUi,K=new C.C5(we,this._viewContainerRef),ke=this._overlayRef=this._overlay.create(new p.X_({positionStrategy:A?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[A?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:A?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(A?"dialog":"popup")}));this._getCloseStream(ke).subscribe(tt=>{tt&&tt.preventDefault(),this.close()}),ke.keydownEvents().subscribe(tt=>{const on=tt.keyCode;(on===_e.LH||on===_e.JH||on===_e.oh||on===_e.SV||on===_e.Ku||on===_e.VM)&&tt.preventDefault()}),this._componentRef=ke.attach(K),this._forwardContentValues(this._componentRef.instance),A||this._ngZone.onStable.pipe((0,Re.q)(1)).subscribe(()=>ke.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const A=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(A)}_setConnectedPositions(A){const K="end"===this.xPosition?"end":"start",ke="start"===K?"end":"start",tt="above"===this.yPosition?"bottom":"top",on="top"===tt?"bottom":"top";return A.withPositions([{originX:K,originY:on,overlayX:K,overlayY:tt},{originX:K,originY:tt,overlayX:K,overlayY:on},{originX:ke,originY:on,overlayX:ke,overlayY:tt},{originX:ke,originY:tt,overlayX:ke,overlayY:on}])}_getCloseStream(A){return(0,de.T)(A.backdropClick(),A.detachments(),A.keydownEvents().pipe((0,fe.h)(K=>K.keyCode===_e.hY&&!(0,_e.Vb)(K)||this.datepickerInput&&(0,_e.Vb)(K,"altKey")&&K.keyCode===_e.LH)))}}return it.\u0275fac=function(A){return new(A||it)(e.Y36(p.aV),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(q),e.Y36(ae._A,8),e.Y36(ge.Is,8),e.Y36(N))}
1,it.\u0275dir=e.lG2({type:it,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[e.TTD]}),it})(),Ct=(()=>{class it extends Qe{}return it.\u0275fac=function(){let St;return function(K){return(St||(St=e.n5z(it)))(K||it)}}(),it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[e._Bn([T,{provide:Qe,useExisting:it}]),e.qOj],decls:0,vars:0,template:function(A,K){},encapsulation:2,changeDetection:0}),it})();class mt{constructor(St,A){this.target=St,this.targetElement=A,this.value=this.target.value}}let sn=(()=>{class it{constructor(A,K,ke){this._elementRef=A,this._dateAdapter=K,this._dateFormats=ke,this.dateChange=new e.vpe,this.dateInput=new e.vpe,this.stateChanges=new X.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=W.w0.EMPTY,this._localeSubscription=W.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=tt=>{const on=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(tt.value));return!on||this._matchesFilter(on)?null:{matDatepickerFilter:!0}},this._minValidator=tt=>{const on=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(tt.value)),Ln=this._getMinDate();return!Ln||!on||this._dateAdapter.compareDate(Ln,on)<=0?null:{matDatepickerMin:{min:Ln,actual:on}}},this._maxValidator=tt=>{const on=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(tt.value)),Ln=this._getMaxDate();return!Ln||!on||this._dateAdapter.compareDate(Ln,on)>=0?null:{matDatepickerMax:{max:Ln,actual:on}}},this._lastValueValid=!1,this._localeSubscription=K.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(A){this._assignValueProgrammatically(A)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(A){const K=(0,ue.Ig)(A),ke=this._elementRef.nativeElement;this._disabled!==K&&(this._disabled=K,this.stateChanges.next(void 0)),K&&this._isInitialized&&ke.blur&&ke.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(A){this._model=A,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(K=>{if(this._shouldHandleChangeEvent(K)){const ke=this._getValueFromModel(K.selection);this._lastValueValid=this._isValidValue(ke),this._cvaOnChange(ke),this._onTouched(),this._formatValue(ke),this.dateInput.emit(new mt(this,this._elementRef.nativeElement)),this.dateChange.emit(new mt(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(A){(function An(it,St){const A=Object.keys(it);for(let K of A){const{previousValue:ke,currentValue:tt}=it[K];if(!St.isDateInstance(ke)||!St.isDateInstance(tt))return!0;if(!St.sameDate(ke,tt))return!0}return!1})(A,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(A){this._validatorOnChange=A}
1validate(A){return this._validator?this._validator(A):null}writeValue(A){this._assignValueProgrammatically(A)}registerOnChange(A){this._cvaOnChange=A}registerOnTouched(A){this._onTouched=A}setDisabledState(A){this.disabled=A}_onKeydown(A){A.altKey&&A.keyCode===_e.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),A.preventDefault())}_onInput(A){const K=this._lastValueValid;let ke=this._dateAdapter.parse(A,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ke),ke=this._dateAdapter.getValidDateOrNull(ke);const tt=!this._dateAdapter.sameDate(ke,this.value);!ke||tt?this._cvaOnChange(ke):(A&&!this.value&&this._cvaOnChange(ke),K!==this._lastValueValid&&this._validatorOnChange()),tt&&(this._assignValue(ke),this.dateInput.emit(new mt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new mt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(A){this._elementRef.nativeElement.value=null!=A?this._dateAdapter.format(A,this._dateFormats.display.dateInput):""}_assignValue(A){this._model?(this._assignValueToModel(A),this._pendingValue=null):this._pendingValue=A}_isValidValue(A){return!A||this._dateAdapter.isValid(A)}_parentDisabled(){return!1}_assignValueProgrammatically(A){A=this._dateAdapter.deserialize(A),this._lastValueValid=this._isValidValue(A),A=this._dateAdapter.getValidDateOrNull(A),this._assignValue(A),this._formatValue(A)}_matchesFilter(A){const K=this._getDateFilter();return!K||K(A)}}return it.\u0275fac=function(A){return new(A||it)(e.Y36(e.SBq),e.Y36(ae._A,8),e.Y36(ae.sG,8))},it.\u0275dir=e.lG2({type:it,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[e.TTD]}),it})();const In={provide:j.JU,useExisting:(0,e.Gpc)(()=>
1ln),multi:!0},Fn={provide:j.Cf,useExisting:(0,e.Gpc)(()=>ln),multi:!0};let ln=(()=>{class it extends sn{constructor(A,K,ke,tt){super(A,K,ke),this._formField=tt,this._closedSubscription=W.w0.EMPTY,this._validator=j.kI.compose(super._getValidators())}set matDatepicker(A){A&&(this._datepicker=A,this._closedSubscription=A.closedStream.subscribe(()=>this._onTouched()),this._registerModel(A.registerInput(this)))}get min(){return this._min}set min(A){const K=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A));this._dateAdapter.sameDate(K,this._min)||(this._min=K,this._validatorOnChange())}get max(){return this._max}set max(A){const K=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(A));this._dateAdapter.sameDate(K,this._max)||(this._max=K,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(A){const K=this._matchesFilter(this.value);this._dateFilter=A,this._matchesFilter(this.value)!==K&&this._validatorOnChange()}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()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(A){return A}_assignValueToModel(A){this._model&&this._model.updateSelection(A,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(A){return A.source!==this}}return it.\u0275fac=function(A){return new(A||it)(e.Y36(e.SBq),e.Y36(ae._A,8),e.Y36(ae.sG,8),e.Y36(ne.G_,8))},it.\u0275dir=e.lG2({type:it,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(A,K){1&A&&e.NdJ("input",function(tt){return K._onInput(tt.target.value)})("change",function(){return K._onChange()})("blur",function(){return K._onBlur()})("keydown",function(tt){return K._onKeydown(tt)}),2&A&&(e.Ikx("disabled",K.disabled),e.uIk("aria-haspopup",K._datepicker?"dialog":null)("aria-owns",(null==K._datepicker?null:K._datepicker.opened)&&K._datepicker.id||null)("min",K.min?K._dateAdapter.toIso8601(K.min):null)("max",K.max?K._dateAdapter.toIso8601(K.max):null)("data-mat-calendar",K._datepicker?K._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[e._Bn([In,Fn,{provide:De.Jk,useExisting:it}]),e.qOj]}),it})(),ct=(()=>{class it{}return it.\u0275fac=function(A){return new(A||it)},it.\u0275dir=e.lG2({type:it,selectors:[["","matDatepickerToggleIcon",""]]}),it})(),rt=(()=>{class it{constructor(A,K,ke){this._intl=A,this._changeDetectorRef=K,this._stateChanges=W.w0.EMPTY;const tt=Number(ke);this.tabIndex=tt||0===tt?tt:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(A){this._disabled=(0,ue.Ig)(A)}ngOnChanges(A){A.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(A){this.datepicker&&!this.disabled&&(this.datepicker.open(),A.stopPropagation())}_watchStateChanges(){const A=this.datepicker?this.datepicker.stateChanges:(0,ce.of)(),K=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,ce.of)(),ke=this.datepicker?(0,de.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,ce.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,de.T)(this._intl.changes,A,K,ke).subscribe(()=>this._changeDetectorRef.markForCheck())}}return it.\u0275fac=function(A){return new(A||it)(e.Y36($),e.Y36(e.sBO),e.$8M("tabindex"))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-datepicker-toggle"]],contentQueries:function(A,K,ke){if(1&A&&e.Suo(ke,ct,5),2&A){let tt;e.iGM(tt=e.CRH())&&(K._customIcon=tt.first)}},viewQuery:function(A,K){if(1&A&&e.Gf(Yt,5),2&A){let ke;e.iGM(ke=e.CRH())&&(K._button=ke.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(A,K){1&A&&e.NdJ("click",function(tt){return K._open(tt)}),2&A&&(e.uIk("tabindex",null)("data-mat-calendar",K.datepicker?K.datepicker.id:null),e.ekj("mat-datepicker-toggle-active",K.datepicker&&K.datepicker.opened)("mat-accent",K.datepicker&&"accent"===K.datepicker.color)("mat-warn",K.datepicker&&"warn"===K.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[e.TTD],ngContentSelectors:It,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",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(A,K){1&A&&(e.F$t(ft),e.TgZ(0,"button",0,1),e.YNc(2,Lt,2,0,"svg",2),e.Hsn(3),e.qZA()),2&A&&(e.Q6J("disabled",K.disabled)("disableRipple",K.disableRipple),e.uIk("aria-haspopup",K.datepicker?"dialog":null)("aria-label",K.ariaLabel||K._intl.openCalendarLabel)("tabindex",K.disabled?-1:K.tabIndex),e.xp6(2),e.Q6J("ngIf",!K._customIcon))}
1,dependencies:[Y.O5,ee.RK],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),it})(),Pi=(()=>{class it{}return it.\u0275fac=function(A){return new(A||it)},it.\u0275mod=e.oAB({type:it}),it.\u0275inj=e.cJS({providers:[$,Ie],imports:[Y.ez,ee.ot,p.U8,a.rt,C.eL,ae.BQ,R.ZD]}),it})()},6325:(Pt,Ve,f)=>{"use strict";f.d(Ve,{WI:()=>Ne,uw:()=>Yt,H8:()=>je,ZT:()=>ft,vA:()=>j,xY:()=>Ge,Is:()=>B,so:()=>He,uh:()=>It,Se:()=>wt,X2:()=>ne,_H:()=>$,Nv:()=>ve});var a=f(8184),p=f(6895),C=f(4650),Y=f(2687),e_OPEN="mdc-dialog--open",R_DIALOG_ANIMATION_CLOSE_TIME_MS=(["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),75),ae=f(7855),X=f(1281),W=f(4080),de=f(7579),ce=f(6451),_e=f(9770),ge=f(9300),Re=f(5698),$e=f(8675),fe=f(9521),ue=f(3238),be=f(7340);function se(pe,Xe){}class j{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}let ne=(()=>{class pe extends ae.LL{constructor(st,lt,Bt,at,te,N,z,Te){super(st,lt,Bt,at,te,N,z,Te),this._animationStateChanged=new C.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(st){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:st})}}return pe.\u0275fac=function(st){return new(st||pe)(C.Y36(C.SBq),C.Y36(Y.qV),C.Y36(p.K0,8),C.Y36(j),C.Y36(Y.ic),C.Y36(C.R0b),C.Y36(a.Iu),C.Y36(Y.tE))},pe.\u0275cmp=C.Xpm({type:pe,selectors:[["ng-component"]],features:[C.qOj],decls:0,vars:0,template:function(st,lt){},encapsulation:2}),pe})();const De="--mat-dialog-transition-duration";function Ue(pe){return null==pe?null:"number"==typeof pe?pe:pe.endsWith("ms")?(0,X.su)(pe.substring(0,pe.length-2)):pe.endsWith("s")?1e3*(0,X.su)(pe.substring(0,pe.length-1)):"0"===pe?0:null}let V=(()=>{class pe extends ne{constructor(st,lt,Bt,at,te,N,z,Te,xe){super(st,lt,Bt,at,te,N,z,xe),this._animationMode=Te,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?Ue(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?Ue(this._config.exitAnimationDuration)??R_DIALOG_ANIMATION_CLOSE_TIME_MS:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(De,`${this._openAnimationDuration}ms`),this._hostElement.classList.add("mdc-dialog--opening"),this._hostElement.classList.add(e_OPEN),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(e_OPEN),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(e_OPEN),this._animationsEnabled?(this._hostElement.style.setProperty(De,`${this._openAnimationDuration}ms`),this._hostElement.classList.add("mdc-dialog--closing"),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove("mdc-dialog--opening"),this._hostElement.classList.remove("mdc-dialog--closing")}_waitForAnimationToComplete(st,lt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(lt,st)}}return pe.\u0275fac=function(st){return new(st||pe)(C.Y36(C.SBq),C.Y36(Y.qV),C.Y36(p.K0,8),C.Y36(j),C.Y36(Y.ic),C.Y36(C.R0b),C.Y36(a.Iu),C.Y36(C.QbO,8),C.Y36(Y.tE))},pe.\u0275cmp=C.Xpm({type:pe,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(st,lt){2&st&&(C.Ikx("id",lt._
1config.id),C.uIk("aria-modal",lt._config.ariaModal)("role",lt._config.role)("aria-labelledby",lt._config.ariaLabel?null:lt._ariaLabelledBy)("aria-label",lt._config.ariaLabel)("aria-describedby",lt._config.ariaDescribedBy||null),C.ekj("_mat-animation-noopable",!lt._animationsEnabled))},features:[C.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(st,lt){1&st&&(C.TgZ(0,"div",0)(1,"div",1),C.YNc(2,se,0,0,"ng-template",2),C.qZA()())},dependencies:[W.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}
1.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),pe})();class He{constructor(Xe,st,lt){this._ref=Xe,this._containerInstance=lt,this._afterOpened=new de.x,this._beforeClosed=new de.x,this._state=0,this.disableClose=st.disableClose,this.id=Xe.id,lt._animationStateChanged.pipe((0,ge.h)(Bt=>"opened"===Bt.state),(0,Re.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),lt._animationStateChanged.pipe((0,ge.h)(Bt=>"closed"===Bt.state),(0,Re.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Xe.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,ce.T)(this.backdropClick(),this.keydownEvents().pipe((0,ge.h)(Bt=>Bt.keyCode===fe.hY&&!this.disableClose&&!(0,fe.Vb)(Bt)))).subscribe(Bt=>{this.disableClose||(Bt.preventDefault(),Be(this,"keydown"===Bt.type?"keyboard":"mouse"))})}close(Xe){this._result=Xe,this._containerInstance._animationStateChanged.pipe((0,ge.h)(st=>"closing"===st.state),(0,Re.q)(1)).subscribe(st=>{this._beforeClosed.next(Xe),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),st.totalTime+100)}),this._state=1,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(Xe){let st=this._ref.config.positionStrategy;return Xe&&(Xe.left||Xe.right)?Xe.left?st.left(Xe.left):st.right(Xe.right):st.centerHorizontally(),Xe&&(Xe.top||Xe.bottom)?Xe.top?st.top(Xe.top):st.bottom(Xe.bottom):st.centerVertically(),this._ref.updatePosition(),this}updateSize(Xe="",st=""){return this._ref.updateSize(Xe,st),this}addPanelClass(Xe){return this._ref.addPanelClass(Xe),this}removePanelClass(Xe){return this._ref.removePanelClass(Xe),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Be(pe,Xe,st){return pe._closeInteractionType=Xe,pe.close(st)}const Ne=new C.OlP("MatMdcDialogData"),me=new C.OlP("mat-mdc-dialog-default-options"),Le=new C.OlP("mat-mdc-dialog-scroll-strategy"),dt={provide:Le,deps:[a.aV],useFactory:function ze(pe){return()=>pe.scrollStrategies.block()}};let Mt=0,wt=(()=>{class pe{constructor(st,lt,Bt,at,te,N,z,Te,xe,T){this._overlay=st,this._defaultOptions=Bt,this._parentDialog=at,this._dialogRefConstructor=z,this._dialogContainerType=Te,this._dialogDataToken=xe,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new de.x,this._afterOpenedAtThisLevel=new de.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=j,this.afterAllClosed=(0,_e.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,$e.O)(void 0))),this._scrollStrategy=N,this._dialog=lt.get(ae.Vq)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const st=this._parentDialog;return st?st._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(st,lt){let Bt;(lt={...this._defaultOptions||new j,...lt}).id=lt.id||`${this._idPrefix}${Mt++}`,lt.scrollStrategy=lt.scrollStrategy||this._scrollStrategy();const at=this._dialog.open(st,{...lt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:lt},{provide:ae.ib,useValue:lt}]},templateContext:()=>({dialogRef:Bt}),providers:(te,N,z)=>(Bt=new this._dialogRefConstructor(te,lt,z),Bt.updatePosition(lt?.position),[{provide:this._dialogContainerType,useValue:z},{provide:this._dialogDataToken,useValue:N.data},{provide:this._dialogRefConstructor,useValue:Bt}])});return Bt.componentInstance=at.componentInstance,this.openDialogs.push(Bt),this.afterOpened.next(Bt),Bt.afterClosed().subscribe(()=>{const te=this.openDialogs.indexOf(Bt);te>-1&&(this.openDialogs.splice(te,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Bt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(st){return this.openDialogs.find(lt=>lt.id===st)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(st){let lt=st.length;for(;lt--;)st[lt].close()}}return pe.\u0275fac=function(st){C.$Z()},pe.\u0275prov=C.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),Yt=(()=>{class pe extends wt{constructor(st,lt,Bt,at,te,N,z,Te){super(st,lt,at,N,z,te,He,V,Ne,Te),this._idPrefix="mat-mdc-dialog-"}}return pe.\u0275fac=function(st){return new(st||pe)(C.LFG(a.aV),C.LFG(C.zs3),C.LFG(p.Ye,8),C.LFG(me,8),C.LFG(Le),C.LFG(pe,12),C.LFG(a.Xj),C.LFG(C.QbO,8))},pe.\u0275prov=C.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),Lt=0,ft=(()=>{class pe{constructor(st,lt,Bt){this.dialogRef=st,this._elementRef=lt,this._dialog=Bt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Ft(this._elementRef,this._dialog.openDialogs))}ngOnChanges(st){const lt=st._matDialogClose||st._matDialogCloseResult;lt&&(this.dialogResult=lt.currentValue)}_onButtonClick(st){Be(this.dialogRef,0===st.screenX&&0===st.screenY?"keyboard":"mouse",this.dialogResult)}}return pe.\u0275fac=function(st){return new(st||pe)(C.Y36(He,8),C.Y36(C.SBq),C.Y36(Yt))},pe.\u0275dir=C.lG2({type:pe,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(st,lt){1&st&&C.NdJ("click",function(at){return lt._onButtonClick(at)}),2&st&&C.uIk("aria-label",lt.ariaLabel||null)("type",lt.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[C.TTD]}),pe})(),It=(()=>{class pe{constructor(st,lt,Bt){this._dialogRef=st,this._elementRef=lt,this._dialog=Bt,this.id="mat-mdc-dialog-title-"+Lt++}ngOnInit(){this._dialogRef||(this._dialogRef=Ft(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const st=this._dialogRef._containerInstance;st&&!st._ariaLabelledBy&&(st._ariaLabelledBy=this.id)})}}return pe.\u0275fac=function(st){return new(st||pe)(C.Y36(He,8),C.Y36(C.SBq),C.Y36(Yt))},pe.\u0275dir=C.lG2({type:pe,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(st,lt){2&st&&C.Ikx("id",lt.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),pe})(),Ge=(()=>{class pe{}return pe.\u0275fac=function(st){return new(st||pe)},pe.\u0275dir=C.lG2({type:pe,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),pe})(),je=(()=>{class pe{constructor(){this.align="start"}}return pe.\u0275fac=function(st){return new(st||pe)},pe.\u0275dir=C.lG2({type:pe,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(st,lt){2&st&&C.ekj("mat-mdc-dialog-actions-align-center","center"===lt.align)("mat-mdc-dialog-actions-align-en
1d","end"===lt.align)},inputs:{align:"align"}}),pe})();function Ft(pe,Xe){let st=pe.nativeElement.parentElement;for(;st&&!st.classList.contains("mat-mdc-dialog-container");)st=st.parentElement;return st?Xe.find(lt=>lt.id===st.id):null}let B=(()=>{class pe{}return pe.\u0275fac=function(st){return new(st||pe)},pe.\u0275mod=C.oAB({type:pe}),pe.\u0275inj=C.cJS({providers:[Yt,dt],imports:[ae.Su,a.U8,W.eL,ue.BQ,ue.BQ]}),pe})();const $={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},ve={dialogContainer:(0,be.X$)("dialogContainer",[(0,be.SB)("void, exit",(0,be.oB)({opacity:0,transform:"scale(0.7)"})),(0,be.SB)("enter",(0,be.oB)({transform:"none"})),(0,be.eR)("* => enter",(0,be.ru)([(0,be.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,be.oB)({transform:"none",opacity:1})),(0,be.IO)("@*",(0,be.pV)(),{optional:!0})]),$),(0,be.eR)("* => void, * => exit",(0,be.ru)([(0,be.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,be.oB)({opacity:0})),(0,be.IO)("@*",(0,be.pV)(),{optional:!0})]),$)])}},4850:(Pt,Ve,f)=>{"use strict";f.d(Ve,{d:()=>Y,t:()=>e});var a=f(4650),p=f(1281),C=f(3238);let Y=(()=>{class ee{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(ae){this._vertical=(0,p.Ig)(ae)}get inset(){return this._inset}set inset(ae){this._inset=(0,p.Ig)(ae)}}return ee.\u0275fac=function(ae){return new(ae||ee)},ee.\u0275cmp=a.Xpm({type:ee,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(ae,X){2&ae&&(a.uIk("aria-orientation",X.vertical?"vertical":"horizontal"),a.ekj("mat-divider-vertical",X.vertical)("mat-divider-horizontal",!X.vertical)("mat-divider-inset",X.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(ae,X){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),ee})(),e=(()=>{class ee{}return ee.\u0275fac=function(ae){return new(ae||ee)},ee.\u0275mod=a.oAB({type:ee}),ee.\u0275inj=a.cJS({imports:[C.BQ,C.BQ]}),ee})()},9549:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Bi:()=>Te,Eo:()=>N,G_:()=>T,KE:()=>Gt,Lv:()=>xe,Px:()=>Ft,R9:()=>ve,TN:()=>te,TO:()=>It,UO:()=>z,Ve:()=>$,ab:()=>ft,hX:()=>Yt,lN:()=>Zt,qo:()=>B});var a=f(4650),p=f(445),C=f(3353),Y=f(7579),e=f(6451),ee=f(2722),R=f(6895),ae=f(1281),X=f(7340),W=f(9643),de=f(3238);const ce=["matFormFieldNotchedOutline",""],_e=["*"],ge=["textField"],Re=["iconPrefixContainer"],$e=["textPrefixContainer"];function fe(ut,Wt){1&ut&&a._UZ(0,"span",19)}function ue(ut,Wt){if(1&ut){const bt=a.EpF();a.TgZ(0,"label",17),a.NdJ("cdkObserveContent",function(){a.CHM(bt);const fn=a.oxw(2);return a.KtG(fn._refreshOutlineNotchWidth())}),a.Hsn(1,1),a.YNc(2,fe,1,0,"span",18),a.qZA()}if(2&ut){const bt=a.oxw(2);a.Q6J("floating",bt._shouldLabelFloat())("cdkObserveContentDisabled",!bt._hasOutline())("id",bt._labelId),a.uIk("for",bt._control.id)("aria-owns",bt._control.id),a.xp6(2),a.Q6J("ngIf",!bt.hideRequiredMarker&&bt._control.required)}}function be(ut,Wt){if(1&ut&&a.YNc(0,ue,3,6,"label",16),2&ut){const bt=a.oxw();a.Q6J("ngIf",bt._hasFloatingLabel())}}function se(ut,Wt){1&ut&&a._UZ(0,"div",20)}function j(ut,Wt){}function ne(ut,Wt){if(1&ut&&a.YNc(0,j,0,0,"ng-template",22),2&ut){a.oxw(2);const bt=a.MAs(1);a.Q6J("ngTemplateOutlet",bt)}}function De(ut,Wt){if(1&ut&&(a.TgZ(0,"div",21),a.YNc(1,ne,1,1,"ng-template",9),a.qZA()),2&ut){const bt=a.oxw();a.Q6J("matFormFieldNotchedOutlineOpen",bt._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",bt._labelWidth),a.xp6(1),a.Q6J("ngIf",!bt._forceDisplayInfixLabel())}}function Ue(ut,Wt){1&ut&&(a.TgZ(0,"div",23,24),a.Hsn(2,2),a.qZA())}function V(ut,Wt){1&ut&&(a.TgZ(0,"div",25,26),a.Hsn(2,3),a.qZA())}function He(ut,Wt){}function Be(ut,Wt){if(1&ut&&a.YNc(0,He,0,0,"ng-template",22),2&ut){a.oxw();const bt=a.MAs(1);a.Q6J("ngTemplateOutlet",bt)}}function Ne(ut,Wt){1&ut&&(a.TgZ(0,"div",27),a.Hsn(1,4),a.qZA())}function me(ut,Wt){1&ut&&(a.TgZ(0,"div",28),a.Hsn(1,5),a.qZA())}function Le(ut,Wt){1&ut&&a._UZ(0,"div",29)}function ze(ut,Wt){if(1&ut&&(a.TgZ(0,"div",30),a.Hsn(1,6),a.qZA()),2&ut){const bt=a.oxw();a.Q6J("@transitionMessages",bt._subscriptAnimationState)}}function dt(ut,Wt){if(1&ut&&(a.TgZ(0,"mat-hint",34),a._uU(1),a.qZA()),2&ut){const bt=a.oxw(2);a.Q6J("id",bt._hintLabelId),a.xp6(1),a.Oqu(bt.hintLabel)}}function qe(ut,Wt){if(1&ut&&(a.TgZ(0,"div",31),a.YNc(1,dt,2,2,"mat-hint",32),a.Hsn(2,7),a._UZ(3,"div",33),a.Hsn(4,8),a.qZA()),2&ut){const bt=a.oxw();a.Q6J("@transitionMessages",bt._subscriptAnimationState),a.xp6(1),a.Q6J("ngIf",bt.hintLabel)}}const Mt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],wt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Yt=(()=>{class ut{}return ut.\u0275fac=function(bt){return new(bt||ut)},ut.\u0275dir=a.lG2({type:ut,selectors:[["mat-label"]]}),ut})(),Lt=0;
1const ft=new a.OlP("MatError");let It=(()=>{class ut{constructor(bt,Ot){this.id="mat-mdc-error-"+Lt++,bt||Ot.nativeElement.setAttribute("aria-live","polite")}}return ut.\u0275fac=function(bt){return new(bt||ut)(a.$8M("aria-live"),a.Y36(a.SBq))},ut.\u0275dir=a.lG2({type:ut,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(bt,Ot){2&bt&&a.Ikx("id",Ot.id)},inputs:{id:"id"},features:[a._Bn([{provide:ft,useExisting:ut}])]}),ut})(),Ge=0,je=(()=>{class ut{constructor(){this.align="start",this.id="mat-mdc-hint-"+Ge++}}return ut.\u0275fac=function(bt){return new(bt||ut)},ut.\u0275dir=a.lG2({type:ut,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(bt,Ot){2&bt&&(a.Ikx("id",Ot.id),a.uIk("align",null),a.ekj("mat-mdc-form-field-hint-end","end"===Ot.align))},inputs:{align:"align",id:"id"}}),ut})();const Ft=new a.OlP("MatPrefix");let B=(()=>{class ut{constructor(bt){this._isText=!1,this._isText=bt.nativeElement.hasAttribute("matTextPrefix")}}return ut.\u0275fac=function(bt){return new(bt||ut)(a.Y36(a.SBq))},ut.\u0275dir=a.lG2({type:ut,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],features:[a._Bn([{provide:Ft,useExisting:ut}])]}),ut})();const $=new a.OlP("MatSuffix");let ve=(()=>{class ut{constructor(bt){this._isText=!1,this._isText=bt.nativeElement.hasAttribute("matTextSuffix")}}return ut.\u0275fac=function(bt){return new(bt||ut)(a.Y36(a.SBq))},ut.\u0275dir=a.lG2({type:ut,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],features:[a._Bn([{provide:$,useExisting:ut}])]}),ut})(),pe=(()=>{class ut{constructor(bt){this._elementRef=bt,this.floating=!1}getWidth(){return function Xe(ut){if(null!==ut.offsetParent)return ut.scrollWidth;const bt=ut.cloneNode(!0);bt.style.setProperty("position","absolute"),bt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(bt);const Ot=bt.scrollWidth;return bt.remove(),Ot}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return ut.\u0275fac=function(bt){return new(bt||ut)(a.Y36(a.SBq))},ut.\u0275dir=a.lG2({type:ut,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(bt,Ot){2&bt&&a.ekj("mdc-floating-label--float-above",Ot.floating)},inputs:{floating:"floating"}}),ut})();const st="mdc-line-ripple--active",lt="mdc-line-ripple--deactivating";let Bt=(()=>{class ut{constructor(bt,Ot){this._elementRef=bt,this._handleTransitionEnd=fn=>{const dn=this._elementRef.nativeElement.classList,_i=dn.contains(lt);"opacity"===fn.propertyName&&_i&&dn.remove(st,lt)},Ot.runOutsideAngular(()=>{bt.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const bt=this._elementRef.nativeElement.classList;bt.remove(lt),bt.add(st)}deactivate(){this._elementRef.nativeElement.classList.add(lt)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return ut.\u0275fac=function(bt){return new(bt||ut)(a.Y36(a.SBq),a.Y36(a.R0b))},ut.\u0275dir=a.lG2({type:ut,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),ut})(),at=(()=>{class ut{constructor(bt,Ot){this._elementRef=bt,this._ngZone=Ot,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const bt=this._elementRef.nativeElement.querySelector(".mdc-floating-label");bt?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(bt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>bt.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return ut.\u0275fac=function(bt){return new(bt||ut)(a.Y36(a.SBq),a.Y36(a.R0b))},ut.\u0275cmp=a.Xpm({type:ut,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(bt,Ot){2&bt&&a.ekj("mdc-notched-outline--notched",Ot.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:ce,ngContentSelectors:_e,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(bt,Ot){1&bt&&(a.F$t(),a._UZ(0,"div",0),a.TgZ(1,"div",1),a.Hsn(2),a.qZA(),a._UZ(3,"div",2)),2&bt&&(a.xp6(1),a.Udp("width",Ot._getNotchWidth()))},encapsulation:2,changeDetection:0}),ut})();const te={transitionMessages:(0,X.X$)("transitionMessages",[(0,X.SB)("enter",(0,X.oB)({opacity:1,transform:"translateY(0%)"})),(0,X.eR)("void => enter",[(0,X.oB)({opacity:0,transform:"translateY(-5px)"}),(0,X.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let N=(()=>{class ut{}return ut.\u0275fac=function(bt){return new(bt||ut)},ut.\u0275dir=a.lG2({type:ut}),ut})();function z(){return Error("Placeholder attribute and child element were both specified.")}function Te(ut){return Error(`A hint was already declared for 'align="${ut}"'.`)}function xe(){return Error("mat-form-field must contain a MatFormFieldControl.")}const T=new a.OlP("MatFormField"),re=new a.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Oe=0,Gt=(()=>{class ut{constructor(bt,Ot,fn,dn,_i,En,Vn,kt){this._elementRef=bt,this._changeDetectorRef=Ot,this._ngZone=fn,this._dir=dn,this._platform=_i,this._defaults=En,this._animationMode=Vn,this._document=kt,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Oe++,this._hintLabelId="mat-mdc-hint-"+Oe++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new Y.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,En&&(En.appearance&&(this.appearance=En.appearance),this._hideRequiredMarker=Boolean(En?.hideRequiredMarker),En.color&&(this.color=En.color))}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(bt){this._hideRequiredMarker=(0,ae.Ig)(bt)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(bt){bt!==this._floatLabel&&(this._floatLabel=bt,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(bt){const Ot=this._appearance;this._appearance=bt||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Ot&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}
1get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(bt){this._subscriptSizing=bt||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(bt){this._hintLabel=bt,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(bt){this._explicitFormFieldControl=bt}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const bt=this._control;bt.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${bt.controlType}`),bt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),bt.ngControl&&bt.ngControl.valueChanges&&bt.ngControl.valueChanges.pipe((0,ee.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(bt=>!bt._isText),this._hasTextPrefix=!!this._prefixChildren.find(bt=>bt._isText),this._hasIconSuffix=!!this._suffixChildren.find(bt=>!bt._isText),this._hasTextSuffix=!!this._suffixChildren.find(bt=>bt._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,e.T)(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(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,ee.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,ee.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(bt){const Ot=this._control?this._control.ngControl:null;return Ot&&Ot[bt]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let bt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&bt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Ot=this._hintChildren?this._hintChildren.find(dn=>"start"===dn.align):null,fn=this._hintChildren?this._hintChildren.find(dn=>"end"===dn.align):null;Ot?bt.push(Ot.id):this._hintLabel&&bt.push(this._hintLabelId),fn&&bt.push(fn.id)}else this._errorChildren&&bt.push(...this._errorChildren.map(Ot=>Ot.id));this._control.setDescribedByIds(bt)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const bt=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(bt.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Ot=this._iconPrefixContainer?.nativeElement,fn=this._textPrefixContainer?.nativeElement,dn=Ot?.getBoundingClientRect().width??0,_i=fn?.getBoundingClientRect().width??0;bt.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${dn+_i}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const bt=this._elementRef.nativeElement;if(bt.getRootNode){const Ot=bt.getRootNode();return Ot&&Ot!==bt}return document.documentElement.contains(bt)}}return ut.\u0275fac=function(bt){return new(bt||ut)(a.Y36(a.SBq),a.Y36(a.s
1BO),a.Y36(a.R0b),a.Y36(p.Is),a.Y36(C.t4),a.Y36(re,8),a.Y36(a.QbO,8),a.Y36(R.K0))},ut.\u0275cmp=a.Xpm({type:ut,selectors:[["mat-form-field"]],contentQueries:function(bt,Ot,fn){if(1&bt&&(a.Suo(fn,Yt,5),a.Suo(fn,Yt,7),a.Suo(fn,N,5),a.Suo(fn,Ft,5),a.Suo(fn,$,5),a.Suo(fn,ft,5),a.Suo(fn,je,5)),2&bt){let dn;a.iGM(dn=a.CRH())&&(Ot._labelChildNonStatic=dn.first),a.iGM(dn=a.CRH())&&(Ot._labelChildStatic=dn.first),a.iGM(dn=a.CRH())&&(Ot._formFieldControl=dn.first),a.iGM(dn=a.CRH())&&(Ot._prefixChildren=dn),a.iGM(dn=a.CRH())&&(Ot._suffixChildren=dn),a.iGM(dn=a.CRH())&&(Ot._errorChildren=dn),a.iGM(dn=a.CRH())&&(Ot._hintChildren=dn)}},viewQuery:function(bt,Ot){if(1&bt&&(a.Gf(ge,5),a.Gf(Re,5),a.Gf($e,5),a.Gf(pe,5),a.Gf(at,5),a.Gf(Bt,5)),2&bt){let fn;a.iGM(fn=a.CRH())&&(Ot._textField=fn.first),a.iGM(fn=a.CRH())&&(Ot._iconPrefixContainer=fn.first),a.iGM(fn=a.CRH())&&(Ot._textPrefixContainer=fn.first),a.iGM(fn=a.CRH())&&(Ot._floatingLabel=fn.first),a.iGM(fn=a.CRH())&&(Ot._notchedOutline=fn.first),a.iGM(fn=a.CRH())&&(Ot._lineRipple=fn.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(bt,Ot){2&bt&&a.ekj("mat-mdc-form-field-label-always-float",Ot._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Ot._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Ot._hasIconSuffix)("mat-form-field-invalid",Ot._control.errorState)("mat-form-field-disabled",Ot._control.disabled)("mat-form-field-autofilled",Ot._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Ot._animationMode)("mat-form-field-appearance-fill","fill"==Ot.appearance)("mat-form-field-appearance-outline","outline"==Ot.appearance)("mat-form-field-hide-placeholder",Ot._hasFloatingLabel()&&!Ot._shouldLabelFloat())("mat-focused",Ot._control.focused)("mat-primary","accent"!==Ot.color&&"warn"!==Ot.color)("mat-accent","accent"===Ot.color)("mat-warn","warn"===Ot.color)("ng-untouched",Ot._shouldForward("untouched"))("ng-touched",Ot._shouldForward("touched"))("ng-pristine",Ot._shouldForward("pristine"))("ng-dirty",Ot._shouldForward("dirty"))("ng-valid",Ot._shouldForward("valid"))("ng-invalid",Ot._shouldForward("invalid"))("ng-pending",Ot._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[a._Bn([{provide:T,useExisting:ut}])],ngContentSelectors:wt,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(bt,Ot){1&bt&&(a.F$t(Mt),a.YNc(0,be,1,1,"ng-template",null,0,a.W1O),a.TgZ(2,"div",1,2),a.NdJ("click",function(dn){return Ot._control.onContainerClick&&Ot._control.onContainerClick(dn)}),a.YNc(4,se,1,0,"div",3),a.TgZ(5,"div",4),a.YNc(6,De,2,3,"div",5),a.YNc(7,Ue,3,0,"div",6),a.YNc(8,V,3,0,"div",7),a.TgZ(9,"div",8),a.YNc(10,Be,1,1,"ng-template",9),a.Hsn(11),a.qZA(),a.YNc(12,Ne,2,0,"div",10),a.YNc(13,me,2,0,"div",11),a.qZA(),a.YNc(14,Le,1,0,"div",12),a.qZA(),a.TgZ(15,"div",13),a.YNc(16,ze,2,1,"div",14),a.YNc(17,qe,5,2,"div",15),a.qZA()),2&bt&&(a.xp6(2),a.ekj("mdc-text-field--filled",!Ot._hasOutline())("mdc-text-field--outlined",Ot._hasOutline())("mdc-text-field--no-label",!Ot._hasFloatingLabel())("mdc-text-field--disabled",Ot._control.disabled)("mdc-text-field--invalid",Ot._control.errorState),a.xp6(2),a.Q6J("ngIf",!Ot._hasOutline()&&!Ot._control.disabled),a.xp6(2),a.Q6J("ngIf",Ot._hasOutline()),a.xp6(1),a.Q6J("ngIf",Ot._hasIconPrefix),a.xp6(1),a.Q6J("ngIf",Ot._hasTextPrefix),a.xp6(2),a.Q6J("ngIf",!Ot._hasOutline()||Ot._forceDisplayInfixLabel()),a.xp6(2),a.Q6J("ngIf",Ot._hasTextSuffix
1),a.xp6(1),a.Q6J("ngIf",Ot._hasIconSuffix),a.xp6(1),a.Q6J("ngIf",!Ot._hasOutline()),a.xp6(1),a.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Ot.subscriptSizing),a.Q6J("ngSwitch",Ot._getDisplayedMessages()),a.xp6(1),a.Q6J("ngSwitchCase","error"),a.xp6(1),a.Q6J("ngSwitchCase","hint"))},dependencies:[R.O5,R.tP,R.RF,R.n9,W.wD,je,pe,at,Bt],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper
1-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}
1.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}
1.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[te.transitionMessages]},changeDetection:0}),ut})(),Zt=(()=>{class ut{}return ut.\u0275fac=function(bt){return new(bt||ut)},ut.\u0275mod=a.oAB({type:ut}),ut.\u0275inj=a.cJS({imports:[de.BQ,R.ez,W.Q8,de.BQ]}),ut})()},7392:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Hw:()=>It,Ps:()=>Ge});var a=f(4650),p=f(3238),C=f(1281),Y=f(6895),e=f(9646),ee=f(2843),R=f(4128),ae=f(727),X=f(8505),W=f(4004),de=f(262),ce=f(8746),_e=f(3099),ge=f(5698),Re=f(529),$e=f(1481);const fe=["*"];let ue;function se(je){return function be(){if(void 0===ue&&(ue=null,typeof window<"u")){const je=window;void 0!==je.trustedTypes&&(ue=je.trustedTypes.createPolicy("angular#components",{createHTML:Ft=>Ft}))}return ue}()?.createHTML(je)||je}function j(je){return Error(`Unable to find icon with the name "${je}"`)}function De(je){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${je}".`)}function Ue(je){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${je}".`)}class V{constructor(Ft,B,$){this.url=Ft,this.svgText=B,this.options=$}}let He=(()=>{class je{constructor(B,$,ve,pe){this._httpClient=B,this._sanitizer=$,this._errorHandler=pe,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClasse
1sByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=ve}addSvgIcon(B,$,ve){return this.addSvgIconInNamespace("",B,$,ve)}addSvgIconLiteral(B,$,ve){return this.addSvgIconLiteralInNamespace("",B,$,ve)}addSvgIconInNamespace(B,$,ve,pe){return this._addSvgIconConfig(B,$,new V(ve,null,pe))}addSvgIconResolver(B){return this._resolvers.push(B),this}addSvgIconLiteralInNamespace(B,$,ve,pe){const Xe=this._sanitizer.sanitize(a.q3G.HTML,ve);if(!Xe)throw Ue(ve);const st=se(Xe);return this._addSvgIconConfig(B,$,new V("",st,pe))}addSvgIconSet(B,$){return this.addSvgIconSetInNamespace("",B,$)}addSvgIconSetLiteral(B,$){return this.addSvgIconSetLiteralInNamespace("",B,$)}addSvgIconSetInNamespace(B,$,ve){return this._addSvgIconSetConfig(B,new V($,null,ve))}addSvgIconSetLiteralInNamespace(B,$,ve){const pe=this._sanitizer.sanitize(a.q3G.HTML,$);if(!pe)throw Ue($);const Xe=se(pe);return this._addSvgIconSetConfig(B,new V("",Xe,ve))}registerFontClassAlias(B,$=B){return this._fontCssClassesByAlias.set(B,$),this}classNameForFontAlias(B){return this._fontCssClassesByAlias.get(B)||B}setDefaultFontSetClass(...B){return this._defaultFontSetClass=B,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(B){const $=this._sanitizer.sanitize(a.q3G.RESOURCE_URL,B);if(!$)throw De(B);const ve=this._cachedIconsByUrl.get($);return ve?(0,e.of)(me(ve)):this._loadSvgIconFromConfig(new V(B,null)).pipe((0,X.b)(pe=>this._cachedIconsByUrl.set($,pe)),(0,W.U)(pe=>me(pe)))}getNamedSvgIcon(B,$=""){const ve=Le($,B);let pe=this._svgIconConfigs.get(ve);if(pe)return this._getSvgFromConfig(pe);if(pe=this._getIconConfigFromResolvers($,B),pe)return this._svgIconConfigs.set(ve,pe),this._getSvgFromConfig(pe);const Xe=this._iconSetConfigs.get($);return Xe?this._getSvgFromIconSetConfigs(B,Xe):(0,ee._)(j(ve))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(B){return B.svgText?(0,e.of)(me(this._svgElementFromConfig(B))):this._loadSvgIconFromConfig(B).pipe((0,W.U)($=>me($)))}_getSvgFromIconSetConfigs(B,$){const ve=this._extractIconWithNameFromAnySet(B,$);if(ve)return(0,e.of)(ve);const pe=$.filter(Xe=>!Xe.svgText).map(Xe=>this._loadSvgIconSetFromConfig(Xe).pipe((0,de.K)(st=>{const Bt=`Loading icon set URL: ${this._sanitizer.sanitize(a.q3G.RESOURCE_URL,Xe.url)} failed: ${st.message}`;return this._errorHandler.handleError(new Error(Bt)),(0,e.of)(null)})));return(0,R.D)(pe).pipe((0,W.U)(()=>{const Xe=this._extractIconWithNameFromAnySet(B,$);if(!Xe)throw j(B);return Xe}))}_extractIconWithNameFromAnySet(B,$){for(let ve=$.length-1;ve>=0;ve--){const pe=$[ve];if(pe.svgText&&pe.svgText.toString().indexOf(B)>-1){const Xe=this._svgElementFromConfig(pe),st=this._extractSvgIconFromSet(Xe,B,pe.options);if(st)return st}}return null}_loadSvgIconFromConfig(B){return this._fetchIcon(B).pipe((0,X.b)($=>B.svgText=$),(0,W.U)(()=>this._svgElementFromConfig(B)))}_loadSvgIconSetFromConfig(B){return B.svgText?(0,e.of)(null):this._fetchIcon(B).pipe((0,X.b)($=>B.svgText=$))}_extractSvgIconFromSet(B,$,ve){const pe=B.querySelector(`[id="${$}"]`);if(!pe)return null;const Xe=pe.cloneNode(!0);if(Xe.removeAttribute("id"),"svg"===Xe.nodeName.toLowerCase())return this._setSvgAttributes(Xe,ve);if("symbol"===Xe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Xe),ve);const st=this._svgElementFromString(se("<svg></svg>"));return st.appendChild(Xe),this._setSvgAttributes(st,ve)}_svgElementFromString(B){const $=this._document.createElement("DIV");$.innerHTML=B;const ve=$.querySelector("svg");if(!ve)throw Error("<svg> tag not found");return ve}_toSvgElement(B){const $=this._svgElementFromString(se("<svg></svg>")),ve=B.attributes;for(let pe=0;pe<ve.length;pe++){const{name:Xe,value:st}=ve[pe];"id"!==Xe&&$.setAttribute(Xe,st)}for(let pe=0;pe<B.childNodes.length;pe++)B.childNodes[pe].nodeType===this._document.ELEMENT_NODE&&$.appendChild(B.childNodes[pe].cloneNode(!0));return $}_setSvgAttributes(B,$){return B.setAttribute("fit",""),B.setAttribute("height","100%"),B.setAttribute("width","100%"),B.setAttribute("preserveAspectRatio","xMidYMid meet"),B.setAttribute("focusable","false"),$&&$.viewBox&&B.setAttribute("viewBox",$.viewBox),B}
1_fetchIcon(B){const{url:$,options:ve}=B,pe=ve?.withCredentials??!1;if(!this._httpClient)throw function ne(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==$)throw Error(`Cannot fetch icon from URL "${$}".`);const Xe=this._sanitizer.sanitize(a.q3G.RESOURCE_URL,$);if(!Xe)throw De($);const st=this._inProgressUrlFetches.get(Xe);if(st)return st;const lt=this._httpClient.get(Xe,{responseType:"text",withCredentials:pe}).pipe((0,W.U)(Bt=>se(Bt)),(0,ce.x)(()=>this._inProgressUrlFetches.delete(Xe)),(0,_e.B)());return this._inProgressUrlFetches.set(Xe,lt),lt}_addSvgIconConfig(B,$,ve){return this._svgIconConfigs.set(Le(B,$),ve),this}_addSvgIconSetConfig(B,$){const ve=this._iconSetConfigs.get(B);return ve?ve.push($):this._iconSetConfigs.set(B,[$]),this}_svgElementFromConfig(B){if(!B.svgElement){const $=this._svgElementFromString(B.svgText);this._setSvgAttributes($,B.options),B.svgElement=$}return B.svgElement}_getIconConfigFromResolvers(B,$){for(let ve=0;ve<this._resolvers.length;ve++){const pe=this._resolvers[ve]($,B);if(pe)return ze(pe)?new V(pe.url,null,pe.options):new V(pe,null)}}}return je.\u0275fac=function(B){return new(B||je)(a.LFG(Re.eN,8),a.LFG($e.H7),a.LFG(Y.K0,8),a.LFG(a.qLn))},je.\u0275prov=a.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"}),je})();function me(je){return je.cloneNode(!0)}function Le(je,Ft){return je+":"+Ft}function ze(je){return!(!je.url||!je.options)}const dt=(0,p.pj)(class{constructor(je){this._elementRef=je}}),qe=new a.OlP("MAT_ICON_DEFAULT_OPTIONS"),Mt=new a.OlP("mat-icon-location",{providedIn:"root",factory:function wt(){const je=(0,a.f3M)(Y.K0),Ft=je?je.location:null;return{getPathname:()=>Ft?Ft.pathname+Ft.search:""}}}),Yt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Lt=Yt.map(je=>`[${je}]`).join(", "),ft=/^url\(['"]?#(.*?)['"]?\)$/;let It=(()=>{class je extends dt{constructor(B,$,ve,pe,Xe,st){super(B),this._iconRegistry=$,this._location=pe,this._errorHandler=Xe,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ae.w0.EMPTY,st&&(st.color&&(this.color=this.defaultColor=st.color),st.fontSet&&(this.fontSet=st.fontSet)),ve||B.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(B){this._inline=(0,C.Ig)(B)}get svgIcon(){return this._svgIcon}set svgIcon(B){B!==this._svgIcon&&(B?this._updateSvgIcon(B):this._svgIcon&&this._clearSvgElement(),this._svgIcon=B)}get fontSet(){return this._fontSet}set fontSet(B){const $=this._cleanupFontValue(B);$!==this._fontSet&&(this._fontSet=$,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(B){const $=this._cleanupFontValue(B);$!==this._fontIcon&&(this._fontIcon=$,this._updateFontIconClasses())}_splitIconName(B){if(!B)return["",""];const $=B.split(":");switch($.length){case 1:return["",$[0]];case 2:return $;default:throw Error(`Invalid icon name: "${B}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const B=this._elementsWithExternalReferences;if(B&&B.size){const $=this._location.getPathname();$!==this._previousPath&&(this._previousPath=$,this._prependPathToReferences($))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(B){this._clearSvgElement();const $=this._location.getPathname();this._previousPath=$,this._cacheChildrenWithExternalReferences(B),this._prependPathToReferences($),this._elementRef.nativeElement.appendChild(B)}_clearSvgElement(){const B=this._elementRef.nativeElement;let $=B.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();$--;){const ve=B.childNodes[$];(1!==ve.nodeType||"svg"===ve.nodeName.toLowerCase())&&ve.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const B=this._elementRef.nativeElement,$=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(ve=>ve.length>0);this._previousFontSetClass.forEach(ve=>B.classList.remove(ve)),$.forEach(ve=>B.classList.add(ve)),this._previousFontSetClass=$,this.fontIcon!==this._previousFontIconClass&&!$.includes("mat-ligature-font")&&(this._previousFontIconClass&&B.classList.remove(this._previousFontIconClass),this.fontIcon&&B.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(B){return"string"==typeof B?B.trim().split(" ")[0]:B}_prependPathToReferences(B){const $=this._elementsWithExternalReferences;$&&$.forEach((ve,pe)=>{ve.forEach(Xe=>{pe.setAttribute(Xe.name,`url('${B}#${Xe.value}')`)})})}_cacheChildrenWithExternalReferences(B){const $=B.querySelectorAll(Lt),ve=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let pe=0;pe<$.length;pe++)Yt.forEach(Xe=>{const st=$[pe],lt=st.getAttribute(Xe),Bt=lt?lt.match(ft):null;if(Bt){let at=ve.get(st);at||(at=[],ve.set(st,at)),at.push({name:Xe,value:Bt[1]})}})}_updateSvgIcon(B){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),B){const[$,ve]=this._splitIconName(B);$&&(this._svgNamespace=$),ve&&(this._svgName=ve),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(ve,$).pipe((0,ge.q)(1)).subscribe(pe=>this._setSvgElement(pe),pe=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${$}:${ve}! ${pe.message}`))})}}}return je.\u0275fac=function(B){return new(B||je)(a.Y36(a.SBq),a.Y36(He),a.$8M("aria-hidden"),a.Y36(Mt),a.Y36(a.qLn),a.Y36(qe,8))},je.\u0275cmp=a.Xpm({type:je,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(B,$){2&B&&(a.uIk("data-mat-icon-type",$._usingFontIcon()?"font":"svg")("data-mat-icon-name",$._svgName||$.fontIcon)("data-mat-icon-namespace",$._svgNamespace||$.fontSet)("fontIcon",$._usingFontIcon()?$.fontIcon:null),a.ekj("mat-icon-inline",$.inline)("mat-icon-no-color","primary"!==$.color&&"accent"!==$.color&&"warn"!==$.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[a.qOj],ngContentSelectors:fe,decls:1,vars:0,template:function(B,$){1&B&&(a.F$t(),a.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),je})(),Ge=(()=>{class je{}return je.\u0275fac=function(B){return new(B||je)},je.\u0275mod=a.oAB({type:je}),je.\u0275inj=a.cJS({imports:[p.BQ,p.BQ]}),je})()},284:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Jk:()=>W,Nt:()=>ge,c:()=>Re});var a=f(1281),p=f(3353),C=f(9349),Y=f(4650),e=f(4006),ee=f(3238),R=f(9549),ae=f(7579);const W=new Y.OlP("MAT_INPUT_VALUE_ACCESSOR"),de=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let ce=0;const _e=(0,ee.FD)(class{constructor($e,fe,ue,be){this._defaultErrorStateMatcher=$e,this._parentForm=fe,this._parentFormGroup=ue,this.ngControl=be,this.stateChanges=new ae.x}});let ge=(()=>
1{class $e extends _e{constructor(ue,be,se,j,ne,De,Ue,V,He,Be){super(De,j,ne,se),this._elementRef=ue,this._platform=be,this._autofillMonitor=V,this._formField=Be,this._uid="mat-input-"+ce++,this.focused=!1,this.stateChanges=new ae.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Le=>(0,p.qK)().has(Le)),this._iOSKeyupListener=Le=>{const ze=Le.target;!ze.value&&0===ze.selectionStart&&0===ze.selectionEnd&&(ze.setSelectionRange(1,1),ze.setSelectionRange(0,0))};const Ne=this._elementRef.nativeElement,me=Ne.nodeName.toLowerCase();this._inputValueAccessor=Ue||Ne,this._previousNativeValue=this.value,this.id=this.id,be.IOS&&He.runOutsideAngular(()=>{ue.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===me,this._isTextarea="textarea"===me,this._isInFormField=!!Be,this._isNativeSelect&&(this.controlType=Ne.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this._disabled}set disabled(ue){this._disabled=(0,a.Ig)(ue),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ue){this._id=ue||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(e.kI.required)??!1}set required(ue){this._required=(0,a.Ig)(ue)}get type(){return this._type}set type(ue){this._type=ue||"text",this._validateType(),!this._isTextarea&&(0,p.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(ue){ue!==this.value&&(this._inputValueAccessor.value=ue,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ue){this._readonly=(0,a.Ig)(ue)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ue=>{this.autofilled=ue.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(ue){this._elementRef.nativeElement.focus(ue)}_focusChanged(ue){ue!==this.focused&&(this.focused=ue,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ue=this._elementRef.nativeElement.value;this._previousNativeValue!==ue&&(this._previousNativeValue=ue,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ue=this._getPlaceholder();if(ue!==this._previousPlaceholder){const be=this._elementRef.nativeElement;this._previousPlaceholder=ue,ue?be.setAttribute("placeholder",ue):be.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){de.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ue=this._elementRef.nativeElement.validity;return ue&&ue.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ue=this._elementRef.nativeElement,be=ue.options[0];return this.focused||ue.multiple||!this.empty||!!(ue.selectedIndex>-1&&be&&be.label)}return this.focused||!this.empty}setDescribedByIds(ue){ue.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ue.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ue=this._elementRef.nativeElement;return this._isNativeSelect&&(ue.multiple||ue.size>1)}}return $e.\u0275fac=function(ue){return new(ue||$e)(Y.Y36(Y.SBq),Y.Y36(p.t4),Y.Y36(e.a5,10),Y.Y36(e.F,8),Y.Y36(e.sg,8),Y.Y36(ee.rD),Y.Y36(W,10),Y.Y36(C.Lq),Y.Y36(Y.R0b),Y.Y36(R.G_,8))},$e.\u0275dir=Y.lG2({type:$e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ue,be){1&ue&&Y.NdJ("focus",function(){return be._focusChanged(!0)})("blur",function(){return be._focusChanged(!1)})("input",function(){return be._onInput()}),2&ue&&(Y.Ikx("id",be.id)("disabled",be.disabled)("required",be.required),Y.uIk("name",be.name||null)("readonly",be.readonly&&!be._isNativeSelect||null)("aria-invalid",be.empty&&be.required?null:be.errorState)("aria-required",be.required)("id",be.id),Y.ekj("mat-input-server",be._isServer)("mat-mdc-form-field-textarea-control",be._isInFormField&&be._isTextarea)("mat-mdc-form-field-input-control",be._isInFormField)("mdc-text-field__input",be._isInFormField)("mat-mdc-native-select-inline",be._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Y._Bn([{provide:R.Eo,useExisting:$e}]),Y.qOj,Y.TTD]}),$e})(),Re=(()=>{class $e{}return $e.\u0275fac=function(ue){return new(ue||$e)},$e.\u0275mod=Y.oAB({type:$e}),$e.\u0275inj=Y.cJS({imports:[ee.BQ,R.lN,R.lN,C.Ky,ee.BQ]}),$e})()},8255:(Pt,Ve,f)=>{"use strict";f.d(Ve,{OP:()=>dt,Tx:()=>z,VK:()=>pe,p6:()=>N});var a=f(4650),p=f(2687),C=f(1281),Y=f(9521),e=f(7579),ee=f(6451),R=f(727),ae=f(9646),X=f(3101),W=f(8675),de=f
1(3900),ce=f(5698),_e=f(2722),ge=f(9300),Re=f(1005),$e=f(3238),fe=f(6895),ue=f(4080),be=f(7340),se=f(445),j=f(8184),ne=f(3353),De=f(4098);const Ue=["mat-menu-item",""];function V(Te,xe){1&Te&&(a.O4$(),a.TgZ(0,"svg",3),a._UZ(1,"polygon",4),a.qZA())}const He=[[["mat-icon"]],"*"],Be=["mat-icon","*"];function Ne(Te,xe){if(1&Te){const T=a.EpF();a.TgZ(0,"div",0),a.NdJ("keydown",function(Oe){a.CHM(T);const nt=a.oxw();return a.KtG(nt._handleKeydown(Oe))})("click",function(){a.CHM(T);const Oe=a.oxw();return a.KtG(Oe.closed.emit("click"))})("@transformMenu.start",function(Oe){a.CHM(T);const nt=a.oxw();return a.KtG(nt._onAnimationStart(Oe))})("@transformMenu.done",function(Oe){a.CHM(T);const nt=a.oxw();return a.KtG(nt._onAnimationDone(Oe))}),a.TgZ(1,"div",1),a.Hsn(2),a.qZA()()}if(2&Te){const T=a.oxw();a.Q6J("id",T.panelId)("ngClass",T._classList)("@transformMenu",T._panelAnimationState),a.uIk("aria-label",T.ariaLabel||null)("aria-labelledby",T.ariaLabelledby||null)("aria-describedby",T.ariaDescribedby||null)}}const me=["*"],Le=new a.OlP("MAT_MENU_PANEL"),ze=(0,$e.Kr)((0,$e.Id)(class{}));let dt=(()=>{class Te extends ze{constructor(T,re,Oe,nt,vt){super(),this._elementRef=T,this._document=re,this._focusMonitor=Oe,this._parentMenu=nt,this._changeDetectorRef=vt,this.role="menuitem",this._hovered=new e.x,this._focused=new e.x,this._highlighted=!1,this._triggersSubmenu=!1,nt?.addItem?.(this)}focus(T,re){this._focusMonitor&&T?this._focusMonitor.focusVia(this._getHostElement(),T,re):this._getHostElement().focus(re),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(T){this.disabled&&(T.preventDefault(),T.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const T=this._elementRef.nativeElement.cloneNode(!0),re=T.querySelectorAll("mat-icon, .material-icons");for(let Oe=0;Oe<re.length;Oe++)re[Oe].remove();return T.textContent?.trim()||""}_setHighlighted(T){this._highlighted=T,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(T){this._triggersSubmenu=T,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return Te.\u0275fac=function(T){return new(T||Te)(a.Y36(a.SBq),a.Y36(fe.K0),a.Y36(p.tE),a.Y36(Le,8),a.Y36(a.sBO))},Te.\u0275cmp=a.Xpm({type:Te,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(T,re){1&T&&a.NdJ("click",function(nt){return re._checkDisabled(nt)})("mouseenter",function(){return re._handleMouseEnter()}),2&T&&(a.uIk("role",re.role)("tabindex",re._getTabIndex())("aria-disabled",re.disabled)("disabled",re.disabled||null),a.ekj("mat-mdc-menu-item-highlighted",re._highlighted)("mat-mdc-menu-item-submenu-trigger",re._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[a.qOj],attrs:Ue,ngContentSelectors:Be,decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(T,re){1&T&&(a.F$t(He),a.Hsn(0),a.TgZ(1,"span",0),a.Hsn(2,1),a.qZA(),a._UZ(3,"div",1),a.YNc(4,V,2,0,"svg",2)),2&T&&(a.xp6(3),a.Q6J("matRippleDisabled",re.disableRipple||re.disabled)("matRippleTrigger",re._getHostElement()),a.xp6(1),a.Q6J("ngIf",re._triggersSubmenu))},dependencies:[fe.O5,$e.wG],encapsulation:2,changeDetection:0}),Te})();const Yt=new a.OlP("MatMenuContent"),It={transformMenu:(0,be.X$)("transformMenu",[(0,be.SB)("void",(0,be.oB)({opacity:0,transform:"scale(0.8)"})),(0,be.eR)("void => enter",(0,be.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,be.oB)({opacity:1,transform:"scale(1)"}))),(0,be.eR)("* => void",(0,be.jt)("100ms 25ms linear",(0,be.oB)({opacity:0}
1)))]),fadeInItems:(0,be.X$)("fadeInItems",[(0,be.SB)("showing",(0,be.oB)({opacity:1})),(0,be.eR)("void => *",[(0,be.oB)({opacity:0}),(0,be.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ft=0;const B=new a.OlP("mat-menu-default-options",{providedIn:"root",factory:function $(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ve=(()=>{class Te{constructor(T,re,Oe,nt){this._elementRef=T,this._ngZone=re,this._defaultOptions=Oe,this._changeDetectorRef=nt,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new a.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new e.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new a.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Ft++}get xPosition(){return this._xPosition}set xPosition(T){this._xPosition=T,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(T){this._yPosition=T,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(T){this._overlapTrigger=(0,C.Ig)(T)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(T){this._hasBackdrop=(0,C.Ig)(T)}set panelClass(T){const re=this._previousPanelClass;re&&re.length&&re.split(" ").forEach(Oe=>{this._classList[Oe]=!1}),this._previousPanelClass=T,T&&T.length&&(T.split(" ").forEach(Oe=>{this._classList[Oe]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(T){this.panelClass=T}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new p.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,W.O)(this._directDescendantItems),(0,de.w)(T=>(0,ee.T)(...T.map(re=>re._focused)))).subscribe(T=>this._keyManager.updateActiveItem(T)),this._directDescendantItems.changes.subscribe(T=>{const re=this._keyManager;if("enter"===this._panelAnimationState&&re.activeItem?._hasFocus()){const Oe=T.toArray(),nt=Math.max(0,Math.min(Oe.length-1,re.activeItemIndex||0));Oe[nt]&&!Oe[nt].disabled?re.setActiveItem(nt):re.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,W.O)(this._directDescendantItems),(0,de.w)(re=>(0,ee.T)(...re.map(Oe=>Oe._hovered))))}addItem(T){}removeItem(T){}_handleKeydown(T){const re=T.keyCode,Oe=this._keyManager;switch(re){case Y.hY:(0,Y.Vb)(T)||(T.preventDefault(),this.closed.emit("keydown"));break;case Y.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Y.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(re===Y.LH||re===Y.JH)&&Oe.setFocusOrigin("keyboard"),void Oe.onKeydown(T)}T.stopPropagation()}focusFirstItem(T="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,ce.q)(1)).subscribe(()=>{let re=null;if(this._directDescendantItems.length&&(re=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!re||!re.contains(document.activeElement)){const Oe=this._keyManager;Oe.setFocusOrigin(T).setFirstItemActive(),!Oe.activeItem&&re&&re.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(T){const re=Math.min(this._baseElevation+T,24),Oe=`${this._elevationPrefix}${re}`,nt=Object.keys(this._classList).find(vt=>vt.startsWith(this._elevationPrefix));(!nt||nt===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Oe]=!0,this._previousElevation=Oe)}setPositionClasses(T=this.xPosition,re=this.yPosition){const Oe=this._classList;Oe["mat-menu-before"]="before"===T,Oe["mat-menu-after"]="after"===T,Oe["mat-menu-above"]="above"===re,Oe["mat-menu-below"]="below"===re,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(T){this._animationDone.next(T),this._isAnimating=!1}
1_onAnimationStart(T){this._isAnimating=!0,"enter"===T.toState&&0===this._keyManager.activeItemIndex&&(T.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,W.O)(this._allItems)).subscribe(T=>{this._directDescendantItems.reset(T.filter(re=>re._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return Te.\u0275fac=function(T){return new(T||Te)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(B),a.Y36(a.sBO))},Te.\u0275dir=a.lG2({type:Te,contentQueries:function(T,re,Oe){if(1&T&&(a.Suo(Oe,Yt,5),a.Suo(Oe,dt,5),a.Suo(Oe,dt,4)),2&T){let nt;a.iGM(nt=a.CRH())&&(re.lazyContent=nt.first),a.iGM(nt=a.CRH())&&(re._allItems=nt),a.iGM(nt=a.CRH())&&(re.items=nt)}},viewQuery:function(T,re){if(1&T&&a.Gf(a.Rgc,5),2&T){let Oe;a.iGM(Oe=a.CRH())&&(re.templateRef=Oe.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),Te})(),pe=(()=>{class Te extends ve{constructor(T,re,Oe,nt){super(T,re,Oe,nt),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return Te.\u0275fac=function(T){return new(T||Te)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(B),a.Y36(a.sBO))},Te.\u0275cmp=a.Xpm({type:Te,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(T,re){2&T&&a.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[a._Bn([{provide:Le,useExisting:Te}]),a.qOj],ngContentSelectors:me,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(T,re){1&T&&(a.F$t(),a.YNc(0,Ne,3,6,"ng-template"))},dependencies:[fe.mk],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[It.transformMenu,It.fadeInItems]},changeDetection:0}),Te})();const Xe=new a.OlP("mat-menu-scroll-strategy"),lt={provide:Xe,deps:[j.aV],useFactory:function st(Te){return()=>Te.scrollStrategies.reposition()}},Bt=(0,ne.i$)({passive:!0});let te=(()=>{class Te{constructor(T,re,Oe,nt,vt,Rt,Vt,Gt,Zt){this._overlay=T,this._element=re,this._viewContainerRef
1=Oe,this._menuItemInstance=Rt,this._dir=Vt,this._focusMonitor=Gt,this._ngZone=Zt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=R.w0.EMPTY,this._hoverSubscription=R.w0.EMPTY,this._menuCloseSubscription=R.w0.EMPTY,this._handleTouchStart=ut=>{(0,p.yG)(ut)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new a.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new a.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=nt,this._parentMaterialMenu=vt instanceof ve?vt:void 0,re.nativeElement.addEventListener("touchstart",this._handleTouchStart,Bt)}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(T){this.menu=T}get menu(){return this._menu}set menu(T){T!==this._menu&&(this._menu=T,this._menuCloseSubscription.unsubscribe(),T&&(this._menuCloseSubscription=T.close.subscribe(re=>{this._destroyMenu(re),("click"===re||"tab"===re)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(re)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Bt),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const T=this.menu;if(this._menuOpen||!T)return;const re=this._createOverlay(T),Oe=re.getConfig(),nt=Oe.positionStrategy;this._setPosition(T,nt),Oe.hasBackdrop=T.hasBackdrop??!this.triggersSubmenu(),re.attach(this._getPortal(T)),T.lazyContent&&T.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(T),T instanceof ve&&(T._startAnimation(),T._directDescendantItems.changes.pipe((0,_e.R)(T.close)).subscribe(()=>{nt.withLockedPosition(!1).reapplyLastPosition(),nt.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(T,re){this._focusMonitor&&T?this._focusMonitor.focusVia(this._element,T,re):this._element.nativeElement.focus(re)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(T){if(!this._overlayRef||!this.menuOpen)return;const re=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===T||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,re instanceof ve?(re._resetAnimation(),re.lazyContent?re._animationDone.pipe((0,ge.h)(Oe=>"void"===Oe.toState),(0,ce.q)(1),(0,_e.R)(re.lazyContent._attached)).subscribe({next:()=>re.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),re?.lazyContent?.detach())}_initMenu(T){T.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,T.direction=this.dir,this._setMenuElevation(T),T.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(T){if(T.setElevation){let re=0,Oe=T.parentMenu;for(;Oe;)re++,Oe=Oe.parentMenu;T.setElevation(re)}}_setIsMenuOpen(T){this._menuOpen=T,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(T)}_createOverlay(T){if(!this._overlayRef){const re=this._getOverlayConfig(T);this._subscribeToPositions(T,re.positionStrategy),this._overlayRef=this._overlay.create(re),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(T){return new j.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:T.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:T.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(T,re){T.setPositionClasses&&re.positionChanges.subscribe(Oe=>{const nt="start"===Oe.connectionPair.overlayX?"after":"before",vt="top"===Oe.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>T.setPositionClasses(nt,vt)):T.setPositionClasses(nt,vt)})}_setPosition(T,re){let[Oe,nt]="before"===T.xPosition?["end","start"]:["start","end"],[vt,Rt]="above"===T.yPosition?["bottom","top"]:["top","bottom"],[Vt,Gt]=[vt,Rt],[Zt,ut]=[Oe,nt],Wt=0;if(this.triggersSubmenu()){if(ut=Oe="before"===T.xPosition?"start":"end",nt=Zt="end"===Oe?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const bt=this._parentMaterialMenu.items.first;this._parentInnerPadding=bt?bt._getHostElement().offsetTop:0}Wt="bottom"===vt?this._parentInnerPadding:-this._parentInnerPadding}}else T.overlapTrigger||(Vt="top"===vt?"bottom":"top",Gt="top"===Rt?"bottom":"top");re.withPositions([{originX:Oe,originY:Vt,overlayX:Zt,overlayY:vt,offsetY:Wt},{originX:nt,originY:Vt,overlayX:ut,overlayY:vt,offsetY:Wt},{originX:Oe,originY:Gt,overlayX:Zt,overlayY:Rt,offsetY:-Wt},{originX:nt,originY:Gt,overlayX:ut,overlayY:Rt,offsetY:-Wt}])}_menuClosingActions(){const T=this._overlayRef.backdropClick(),re=this._overlayRef.detachments(),Oe=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,ae.of)(),nt=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,ge.h)(vt=>vt!==this._menuItemInstance),(0,ge.h)(()=>this._menuOpen)):(0,ae.of)();return(0,ee.T)(T,Oe,nt,re)}_handleMousedown(T){(0,p.X6)(T)||(this._openedBy=0===T.button?"mouse":void 0,this.triggersSubmenu()&&T.preventDefault())}_handleKeydown(T){const re=T.keyCode;(re===Y.K5||re===Y.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(re===Y.SV&&"ltr"===this.dir||re===Y.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(T){this.triggersSubmenu()?(T.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,ge.h)(T=>T===this._menuItemInstance&&!T.disabled),(0,Re.g)(0,X.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ve&&this.menu._isAnimating?this.menu._animationDone.pipe((0,ce.q)(1),(0,Re.g)(0,X.E),(0,_e.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(T){return(!this._portal||this._portal.templateRef!==T.templateRef)&&(this._portal=new ue.UE(T.templateRef,this._viewContainerRef)),this._portal}}return Te.\u0275fac=function(T){return new(T||Te)(a.Y36(j.aV),a.Y36(a.SBq),a.Y36(a.s_b),a.Y36(Xe),a.Y36(Le,8),a.Y36(dt,10),a.Y36(se.Is,8),a.Y36(p.tE),a.Y36(a.R0b))},Te.\u0275dir=a.lG2({type:Te,hostVars:3,hostBindings:function(T,re){1&T&&a.NdJ("click",function(nt){return re._handleClick(nt)})("mousedown",function(nt){return re._handleMousedown(nt)})("keydown",function(nt){return re._handleKeydown(nt)}),2&T&&a.uIk("aria-haspopup",re.menu?"menu":null)("aria-expanded",re.menuOpen)("aria-controls",re.menuOpen?re.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),Te})(),N=(()=>{class Te extends te{}return Te.\u0275fac=function(){let xe;return function(re){return(xe||(xe=a.n5z(Te)))(re||Te)}}(),Te.\u0275dir=a.lG2({type:Te,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[a.qOj]}),Te})(),z=(()=>{class Te{}return Te.\u0275fac=function(T){return new(T||Te)},Te.\u0275mod=a.oAB({type:Te}),Te.\u0275inj=a.cJS({providers:[lt],imports:[fe.ez,$e.si,$e.BQ,j.U8,De.ZD,$e.BQ]}),Te})()},8739:(Pt,Ve,f)=>{"use strict";f.d(Ve,{NW:()=>V,TU:()=>He,ye:()=>$e});var a=f(6895),p=f(4650),C=f(7579),Y=f(9101),e=f(4385),ee=f(266),R=f(3238),ae=f(1281),X=f(9549);function W(Be,Ne){if(1&Be&&(p.TgZ(0,"mat-option",19),p._uU(1),p.qZA()),2&Be){const me=Ne.$implicit;p.Q6J("value",me),p.xp6(1),p.hij(" ",me," ")}}function de(Be,Ne){if(1&Be){const me=p.EpF();p.TgZ(0,"mat-form-field",16)(1,"mat-select",17),p.NdJ("selectionChange",function(ze){p.CHM(me);const dt=p.oxw(2);return p.KtG(dt._changePageSize(ze.value))}),p.YNc(2,W,2,2,"mat-option",18),p.qZA()()}if(2&Be){const me=p.oxw(2);p.Q6J("appearance",me._formFieldAppearance)("color",me.color),p.xp6(1),p.Q6J("value",me.pageSize)("disabled",me.disabled)("aria-labelledby",me._pageSizeLabelId)("panelClass",me.selectConfig.panelClass||"")("disableOptionCentering",me.selectConfig.disableOptionCentering),p.xp6(1),p.Q6J("ngForOf",me._displayedPageSizeOptions)}}function ce(Be,Ne){if(1&Be&&(p.TgZ(0,"div",20),p._uU(1),p.qZA()),2&Be){const me=p.oxw(2);p.xp6(1),p.Oqu(me.pageSize)}}function _e(Be,Ne){if(1&Be&&(p.TgZ(0,"div",12)(1,"div",13),p._uU(2),p.qZA(),p.YNc(3,de,3,8,"mat-form-field",14),p.YNc(4,ce,2,1,"div",15),p.qZA()),2&Be){const me=p.oxw();p.xp6(1),p.s9C("id",me._pageSizeLabelId),p.xp6(1),p.hij(" ",me._intl.itemsPerPageLabel," "),p.xp6(1),p.Q6J("ngIf",me._displayedPageSizeOptions.length>1),p.xp6(1),p.Q6J("ngIf",me._displayedPageSizeOptions.length<=1)}}function ge(Be,Ne){if(1&Be){const me=p.EpF();p.TgZ(0,"button",21),p.NdJ("click",function(){p.CHM(me);const ze=p.oxw();return p.KtG(ze.firstPage())}),p.O4$(),p.TgZ(1,"svg",7),p._UZ(2,"path",22),p.qZA()()}if(2&Be){const me=p.oxw();p.Q6J("matTooltip",me._intl.firstPageLabel)("matTooltipDisabled",me._previousButtonsDisabled())("matTooltipPosition","above")("disabled",me._previousButtonsDisabled()),p.uIk("aria-label",me._intl.firstPageLabel)}}function Re(Be,Ne){if(1&Be){const me=p.EpF();p.O4$(),p.kcU(),p.TgZ(0,"button",23),p.NdJ("click",function(){p.CHM(me);const ze=p.oxw();return p.KtG(ze.lastPage())}),p.O4$(),p.TgZ(1,"svg",7),p._UZ(2,"path",24),p.qZA()()}if(2&Be){const me=p.oxw();p.Q6J("matTooltip",me._intl.lastPageLabel)("matTooltipDisabled",me._nextButtonsDisabled())("matTooltipPosition","above")("disabled",me._nextButtonsDisabled()),p.uIk("aria-label",me._intl.lastPageLabel)}}let $e=(()=>{class Be{constructor(){this.changes=new C.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(me,Le,ze)=>{if(0==ze||0==Le)return`0 of ${ze}`;const dt=me*Le;return`${dt+1} \u2013 ${dt<(ze=Math.max(ze,0))?Math.min(dt+Le,ze):dt+Le} of ${ze}`}}}return Be.\u0275fac=function(me){return new(me||Be)},Be.\u0275prov=p.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const ue={provide:$e,deps:[[new p.FiY,new p.tp0,$e]],useFactory:function fe(Be){return Be||new $e}},j=new p.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),ne=(0,R.Id)((0,R.dB)(class{}));let De=(()=>{class Be extends ne{constructor(me,Le,ze){if(super(),this._intl=me,this._changeDetectorRef=Le,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new p.vpe,this._intlChanges=me.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),ze){const{pageSize:dt,pageSizeOptions:qe,hidePageSize:Mt,showFirstLastButtons:wt}=ze;null!=dt&&(this._pageSize=dt),null!=qe&&(this._pageSizeOptions=qe),null!=Mt&&(this._hidePageSize=Mt),null!=wt&&(this._showFirstLastButtons=wt)}}get pageIndex(){return this._pageIndex}set pageIndex(me){this._pageIndex=Math.max((0,ae.su)(me),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(me){this._length=(0,ae.su)(me),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(me){this._pageSize=Math.max((0,ae.su)(me),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(me){this._pageSizeOptions=(me||[]).map(Le=>(0,ae.su)(Le)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(me){this._hidePageSize=(0,ae.Ig)(me)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(me){this._showFirstLastButtons=(0,ae.Ig)(me)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const me=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(me)}previousPage(){if(!this.hasPreviousPage())return;const me=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(me)}firstPage(){if(!this.hasPreviousPage())return;const me=this.pageIndex;this.pageIndex=0,this._emitPageEvent(me)}lastPage(){if(!this.hasNextPage())return;const me=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(me)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const me=this.getNumberOfPages()-1;return this.pageIndex<me&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(me){const ze=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/me)||0,this.pageSize=me,this._emitPageEvent(ze)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){!this._initialized||(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((me,Le)=>me-Le),this._changeDetectorRef.markForCheck())}_emitPageEvent(me){this.page.emit({previousPageIndex:me,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return Be.\u0275fac=function(me){p.$Z()},Be.\u0275dir=p.lG2({type:Be,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[p.qOj]}),Be})(),Ue=0,V=(()=>{class Be extends De{constructor(me,Le,ze){super(me,Le,ze),this._pageSizeLabelId="mat-paginator-page-size-label-"+Ue++,this._formFieldAppearance=ze?.formFieldAppearance||"outline"}}return Be.\u0275fac=function(me){return new(me||Be)(p.Y36($e),p.Y36(p.sBO),p.Y36(j,8))},Be.\u0275cmp=p.Xpm({type:Be,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[p.qOj],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size",4,"ngIf"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label",3,"id"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-mdc-paginator-page-size-value",4,"ngIf"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value",4,"ngFor","ngFor
1Of"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(me,Le){1&me&&(p.TgZ(0,"div",0)(1,"div",1),p.YNc(2,_e,5,4,"div",2),p.TgZ(3,"div",3)(4,"div",4),p._uU(5),p.qZA(),p.YNc(6,ge,3,5,"button",5),p.TgZ(7,"button",6),p.NdJ("click",function(){return Le.previousPage()}),p.O4$(),p.TgZ(8,"svg",7),p._UZ(9,"path",8),p.qZA()(),p.kcU(),p.TgZ(10,"button",9),p.NdJ("click",function(){return Le.nextPage()}),p.O4$(),p.TgZ(11,"svg",7),p._UZ(12,"path",10),p.qZA()(),p.YNc(13,Re,3,5,"button",11),p.qZA()()()),2&me&&(p.xp6(2),p.Q6J("ngIf",!Le.hidePageSize),p.xp6(3),p.hij(" ",Le._intl.getRangeLabel(Le.pageIndex,Le.pageSize,Le.length)," "),p.xp6(1),p.Q6J("ngIf",Le.showFirstLastButtons),p.xp6(1),p.Q6J("matTooltip",Le._intl.previousPageLabel)("matTooltipDisabled",Le._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Le._previousButtonsDisabled()),p.uIk("aria-label",Le._intl.previousPageLabel),p.xp6(3),p.Q6J("matTooltip",Le._intl.nextPageLabel)("matTooltipDisabled",Le._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Le._nextButtonsDisabled()),p.uIk("aria-label",Le._intl.nextPageLabel),p.xp6(3),p.Q6J("ngIf",Le.showFirstLastButtons))},dependencies:[a.sg,a.O5,Y.RK,X.KE,e.gD,R.ey,ee.gM],styles:[".mat-mdc-paginator{display:block}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),Be})(),He=(()=>{class Be{}return Be.\u0275fac=function(me){return new(me||Be)},Be.\u0275mod=p.oAB({type:Be}),Be.\u0275inj=p.cJS({providers:[ue],imports:[a.ez,Y.ot,e.LD,ee.AV]}),Be})()},3162:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Cv:()=>W});var a=f(4650),C=(f(6895),f(3238));let W=(()=>{class de{}return de.\u0275fac=function(_e){return new(_e||de)},de.\u0275mod=a.oAB({type:de}),de.\u0275inj=a.cJS({imports:[C.BQ]}),de})()},1572:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Cq:()=>ge,Ou:()=>ce});var a=f(4650),p=f(3238),C=f(1281),Y=f(6895);const e=["determinateSpinner"];function ee(Re,$e){if(1&Re&&(a.O4$(),a.TgZ(0,"svg",11),a._UZ(1,"circle",12),a.qZA()),2&Re){const fe=a.oxw();a.uIk("viewBox",fe._viewBox()),a.xp6(1),a.Udp("stroke-dasharray",fe._strokeCircumference(),"px")("stroke-dashoffset",fe._strokeCircumference()/2,"px")("stroke-width",fe._circleStrokeWidth(),"%"),a.uIk("r",fe._circleRadius())}}const R=(0,p.pj)(class{constructor(Re){this._elementRef=Re}},"primary"),ae=new a.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function X(){return{diameter:W}}}),W=100;let ce=(()=>{class Re extends R{constructor(fe,ue,be){super(fe),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=W,this._noopAnimations="NoopAnimations"===ue&&!!be&&!be._forceAnimations,be&&(be.color&&(this.color=this.defaultColor=be.color),be.diameter&&(this.diameter=be.diameter),be.strokeWidth&&(this.strokeWidth=be.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(fe){this._value=Math.max(0,Math.min(100,(0,C.su)(fe)))}get diameter(){return this._diameter}set diameter(fe){this._diameter=(0,C.su)(fe)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(fe){this._strokeWidth=(0,C.su)(fe)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const fe=2*this._circleRadius()+this.strokeWidth;return`0 0 ${fe} ${fe}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return Re.\u0275fac=function(fe){return new(fe||Re)(a.Y36(a.SBq),a.Y36(a.QbO,8),a.Y36(ae))},Re.\u0275cmp=a.Xpm({type:Re,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(fe,ue){if(1&fe&&a.Gf(e,5),2&fe){let be;a.iGM(be=a.CRH())&&(ue._determinateCircle=be.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(fe,ue){2&fe&&(a.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===ue.mode?ue.value:null)("mode",ue.mode),a.Udp("width",ue.diameter,"px")("height",ue.diameter,"px"),a.ekj("_mat-animation-noopable",ue._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===ue.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[a.qOj],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["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(fe,ue){if(1&fe&&(a.YNc(0,ee,2,8,"ng-template",null,0,a.W1O),a.TgZ(2,"div",1,2),a.O4$(),a.TgZ(4,"svg",3),a._UZ(5,"circle",4),a.qZA()(),a.kcU(),a.TgZ(6,"div",5)(7,"div",6)(8,"div",7),a.GkF(9,8),a.qZA(),a.TgZ(10,"div",9),a.GkF(11,8),a.qZA(),a.TgZ(12,"div",10),a.GkF(13,8),a.qZA()()()),2&fe){const be=a.MAs(1);a.xp6(4),a.uIk("viewBox",ue._viewBox()),a.xp6(1),a.Udp("stroke-dasharray",ue._strokeCircumference(),"px")("stroke-dashoffset",ue._strokeDashOffset(),"px")("stroke-width",ue._circleStrokeWidth(),"%"),a.uIk("r",ue._circleRadius()),a.xp6(4),a.Q6J("ngTemplateOutlet",be),a.xp6(2),a.Q6J("ngTemplateOutlet",be),a.xp6(2),a.Q6J("ngTemplateOutlet",be)}},dependencies:[Y.tP],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}
189%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}
1.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, transparent)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),Re})(),ge=(()=>{class Re{}return Re.\u0275fac=function(fe){return new(fe||Re)},Re.\u0275mod=a.oAB({type:Re}),Re.\u0275inj=a.cJS({imports:[Y.ez,p.BQ]}),Re})()},4385:(Pt,Ve,f)=>{"use strict";f.d(Ve,{LD:()=>st,gD:()=>Xe});var a=f(8184),p=f(6895),C=f(4650),Y=f(3238),e=f(9549),ee=f(4098),R=f(2687),ae=f(445),X=f(1281),W=f(5017),de=f(9521),ce=f(4006),_e=f(7579),ge=f(9770),Re=f(6451),$e=f(8675),fe=f(3900),ue=f(5698),be=f(9300),se=f(4004),j=f(1884),ne=f(2722),De=f(7340);const Ue=["trigger"],V=["panel"];function He(lt,Bt){if(1<&&(C.TgZ(0,"span",10),C._uU(1),C.qZA()),2<){const at=C.oxw();C.xp6(1),C.Oqu(at.placeholder)}}function Be(lt,Bt){if(1<&&(C.TgZ(0,"span",14),C._uU(1),C.qZA()),2<){const at=C.oxw(2);C.xp6(1),C.Oqu(at.triggerValue)}}function Ne(lt,Bt){1<&&C.Hsn(0,0,["*ngSwitchCase","true"])}function me(lt,Bt){if(1<&&(C.TgZ(0,"span",11),C.YNc(1,Be,2,1,"span",12),C.YNc(2,Ne,1,0,"ng-content",13),C.qZA()),2<){const at=C.oxw();C.Q6J("ngSwitch",!!at.customTrigger),C.xp6(2),C.Q6J("ngSwitchCase",!0)}}function Le(lt,Bt){if(1<){const at=C.EpF();C.O4$(),C.kcU(),C.TgZ(0,"div",15,16),C.NdJ("@transformPanel.done",function(N){C.CHM(at);const z=C.oxw();return C.KtG(z._panelDoneAnimatingStream.next(N.toState))})("keydown",function(N){C.CHM(at);const z=C.oxw();return C.KtG(z._handleKeydown(N))}),C.Hsn(2,1),C.qZA()}if(2<){const at=C.oxw();C.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",at._getPanelTheme(),""),C.Q6J("ngClass",at.panelClass)("@transformPanel","showing"),C.uIk("id",at.id+"-panel")("aria-multiselectable",at.multiple)("aria-label",at.ariaLabel||null)("aria-labelledby",at._getPanelAriaLabelledby())}}const ze=[[["mat-select-trigger"]],"*"],dt=["mat-select-trigger","*"],qe={transformPanelWrap:(0,De.X$)("transformPanelWrap",[(0,De.eR)("* => void",(0,De.IO)("@transformPanel",[(0,De.pV)()],{optional:!0}
1))]),transformPanel:(0,De.X$)("transformPanel",[(0,De.SB)("void",(0,De.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,De.eR)("void => showing",(0,De.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,De.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,De.eR)("* => void",(0,De.jt)("100ms linear",(0,De.oB)({opacity:0})))])};let Lt=0;const ft=new C.OlP("mat-select-scroll-strategy"),Ge=new C.OlP("MAT_SELECT_CONFIG"),je={provide:ft,deps:[a.aV],useFactory:function It(lt){return()=>lt.scrollStrategies.reposition()}},Ft=new C.OlP("MatSelectTrigger");class B{constructor(Bt,at){this.source=Bt,this.value=at}}const $=(0,Y.Kr)((0,Y.sb)((0,Y.Id)((0,Y.FD)(class{constructor(lt,Bt,at,te,N){this._elementRef=lt,this._defaultErrorStateMatcher=Bt,this._parentForm=at,this._parentFormGroup=te,this.ngControl=N,this.stateChanges=new _e.x}}))));let ve=(()=>{class lt extends ${constructor(at,te,N,z,Te,xe,T,re,Oe,nt,vt,Rt,Vt,Gt){super(Te,z,T,re,nt),this._viewportRuler=at,this._changeDetectorRef=te,this._ngZone=N,this._dir=xe,this._parentFormField=Oe,this._liveAnnouncer=Vt,this._defaultOptions=Gt,this._panelOpen=!1,this._compareWith=(Zt,ut)=>Zt===ut,this._uid="mat-select-"+Lt++,this._triggerAriaLabelledBy=null,this._destroy=new _e.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Lt++,this._panelDoneAnimatingStream=new _e.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,ge.P)(()=>{const Zt=this.options;return Zt?Zt.changes.pipe((0,$e.O)(Zt),(0,fe.w)(()=>(0,Re.T)(...Zt.map(ut=>ut.onSelectionChange)))):this._ngZone.onStable.pipe((0,ue.q)(1),(0,fe.w)(()=>this.optionSelectionChanges))}),this.openedChange=new C.vpe,this._openedStream=this.openedChange.pipe((0,be.h)(Zt=>Zt),(0,se.U)(()=>{}
1)),this._closedStream=this.openedChange.pipe((0,be.h)(Zt=>!Zt),(0,se.U)(()=>{})),this.selectionChange=new C.vpe,this.valueChange=new C.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Gt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Gt.typeaheadDebounceInterval),this._scrollStrategyFactory=Rt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(vt)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(at){this._placeholder=at,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(ce.kI.required)??!1}set required(at){this._required=(0,X.Ig)(at),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(at){this._multiple=(0,X.Ig)(at)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(at){this._disableOptionCentering=(0,X.Ig)(at)}get compareWith(){return this._compareWith}set compareWith(at){this._compareWith=at,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(at){this._assignValue(at)&&this._onChange(at)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(at){this._typeaheadDebounceInterval=(0,X.su)(at)}get id(){return this._id}set id(at){this._id=at||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new W.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,j.x)(),(0,ne.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,ne.R)(this._destroy)).subscribe(at=>{at.added.forEach(te=>te.select()),at.removed.forEach(te=>te.deselect())}),this.options.changes.pipe((0,$e.O)(null),(0,ne.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const at=this._getTriggerAriaLabelledby(),te=this.ngControl;if(at!==this._triggerAriaLabelledBy){const N=this._elementRef.nativeElement;this._triggerAriaLabelledBy=at,at?N.setAttribute("aria-labelledby",at):N.removeAttribute("aria-labelledby")}te&&(this._previousControl!==te.control&&(void 0!==this._previousControl&&null!==te.disabled&&te.disabled!==this.disabled&&(this.disabled=te.disabled),this._previousControl=te.control),this.updateErrorState())}ngOnChanges(at){(at.disabled||at.userAriaDescribedBy)&&this.stateChanges.next(),at.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(at){this._assignValue(at)}registerOnChange(at){this._onChange=at}registerOnTouched(at){this._onTouched=at}setDisabledState(at){this.disabled=at,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){const at=this._selectionModel.selected.map(te=>te.viewValue);return this._isRtl()&&at.reverse(),at.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(at){this.disabled||(this.panelOpen?this._handleOpenKeydown(at):this._handleClosedKeydown(at))}_handleClosedKeydown(at){const te=at.keyCode,N=te===de.JH||te===de.LH||te===de.oh||te===de.SV,z=te===de.K5||te===de.L_,Te=this._keyManager;if(!Te.isTyping()&&z&&!(0,de.Vb)(at)||(this.multiple||at.altKey)&&N)at.preventDefault(),this.open();else if(!this.multiple){const xe=this.selected;Te.onKeydown(at);const T=this.selected;T&&xe!==T&&this._liveAnnouncer.announce(T.viewValue,1e4)}}_handleOpenKeydown(at){const te=this._keyManager,N=at.keyCode,z=N===de.JH||N===de.LH,Te=te.isTyping();if(z&&at.altKey)at.preventDefault(),this.close();else if(Te||N!==de.K5&&N!==de.L_||!te.activeItem||(0,de.Vb)(at))if(!Te&&this._multiple&&N===de.A&&at.ctrlKey){at.preventDefault();const xe=this.options.some(T=>!T.disabled&&!T.selected);this.options.forEach(T=>{T.disabled||(xe?T.select():T.deselect())})}else{const xe=te.activeItemIndex;te.onKeydown(at),this._multiple&&z&&at.shiftKey&&te.activeItem&&te.activeItemIndex!==xe&&te.activeItem._selectViaInteraction()}else at.preventDefault(),te.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,ue.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}
1_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(at){if(this._selectionModel.selected.forEach(te=>te.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&at)Array.isArray(at),at.forEach(te=>this._selectOptionByValue(te)),this._sortValues();else{const te=this._selectOptionByValue(at);te?this._keyManager.updateActiveItem(te):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(at){const te=this.options.find(N=>{if(this._selectionModel.isSelected(N))return!1;try{return null!=N.value&&this._compareWith(N.value,at)}catch{return!1}});return te&&this._selectionModel.select(te),te}_assignValue(at){return!!(at!==this._value||this._multiple&&Array.isArray(at))&&(this.options&&this._setSelectionByValue(at),this._value=at,!0)}_initKeyManager(){this._keyManager=new R.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),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(){const at=(0,Re.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ne.R)(at)).subscribe(te=>{this._onSelect(te.source,te.isUserInput),te.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Re.T)(...this.options.map(te=>te._stateChanges)).pipe((0,ne.R)(at)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(at,te){const N=this._selectionModel.isSelected(at);null!=at.value||this._multiple?(N!==at.selected&&(at.selected?this._selectionModel.select(at):this._selectionModel.deselect(at)),te&&this._keyManager.setActiveItem(at),this.multiple&&(this._sortValues(),te&&this.focus())):(at.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(at.value)),N!==this._selectionModel.isSelected(at)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const at=this.options.toArray();this._selectionModel.sort((te,N)=>this.sortComparator?this.sortComparator(te,N,at):at.indexOf(te)-at.indexOf(N)),this.stateChanges.next()}}_propagateChanges(at){let te=null;te=this.multiple?this.selected.map(N=>N.value):this.selected?this.selected.value:at,this._value=te,this.valueChange.emit(te),this._onChange(te),this.selectionChange.emit(this._getChangeEvent(te)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(at){this._elementRef.nativeElement.focus(at)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const at=this._parentFormField?.getLabelId();return this.ariaLabelledby?(at?at+" ":"")+this.ariaLabelledby:at}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const at=this._parentFormField?.getLabelId();let te=(at?at+" ":"")+this._valueId;return this.ariaLabelledby&&(te+=" "+this.ariaLabelledby),te}_panelDoneAnimating(at){this.openedChange.emit(at)}setDescribedByIds(at){at.length?this._elementRef.nativeElement.setAttribute("aria-describedby",at.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return lt.\u0275fac=function(at){return new(at||lt)(C.Y36(ee.rL),C.Y36(C.sBO),C.Y36(C.R0b),C.Y36(Y.rD),C.Y36(C.SBq),C.Y36(ae.Is,8),C.Y36(ce.F,8),C.Y36(ce.sg,8),C.Y36(e.G_,8),C.Y36(ce.a5,10),C.$8M("tabindex"),C.Y36(ft),C.Y36(R.Kd),C.Y36(Ge,8))},lt.\u0275dir=C.lG2({type:lt,viewQuery:function(at,te){if(1&at&&(C.Gf(Ue,5),C.Gf(V,5),C.Gf(a.pI,5)),2&at){let N;C.iGM(N=C.CRH())&&(te.trigger=N.first),C.iGM(N=C.CRH())&&(te.panel=N.first),C.iGM(N=C.CRH())&&(te._overlayDir=N.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[C.qOj,C.TTD]}),lt})(),Xe=(()=>{class lt extends ve{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}]}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,ne.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(at){const te=this.options.toArray()[at];if(te){const N=this.panel.nativeElement,z=(0,Y.CB)(at,this.options,this.optionGroups),Te=te._getHostElement();N.scrollTop=0===at&&1===z?0:(0,Y.jH)(Te.offsetTop,Te.offsetHeight,N.scrollTop,N.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(at){return new B(this,at)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof a.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}}return lt.\u0275fac=function(){let Bt;return function(te){return(Bt||(Bt=C.n5z(lt)))(te||lt)}}(),lt.\u0275cmp=C.Xpm({type:lt,selectors:[["mat-select"]],contentQueries:function(at,te,N){if(1&at&&(C.Suo(N,Ft,5),C.Suo(N,Y.ey,5),C.Suo(N,Y.K7,5)),2&at){let z;C.iGM(z=C.CRH())&&(te.customTrigger=z.first),C.iGM(z=C.CRH())&&(te.options=z),C.iGM(z=C.CRH())&&(te.optionGroups=z)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(at,te){1&at&&C.NdJ("keydown",function(z){return te._handleKeydown(z)})("focus",function(){return te._onFocus()})("blur",function(){return te._onBlur()}),2&at&&(C.uIk("id",te.id)("tabindex",te.tabIndex)("aria-controls",te.panelOpen?te.id+"-panel":null)("aria-expanded",te.panelOpen)("aria-label",te.ariaLabel||null)("aria-required",te.required.toString())("aria-disabled",te.disabled.toString())("aria-invalid",te.errorState)("aria-activedescendant",te._getAriaActiveDescendant()),C.ekj("mat-mdc-select-disabled",te.disabled)("mat-mdc-select-invalid",te.errorState)("mat-mdc-select-required",te.required)("mat-mdc-select-empty",te.empty)("mat-mdc-select-multiple",te.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[C._Bn([{provide:e.Eo,useExisting:lt},{provide:Y.HF,useExisting:lt}]),C.qOj],ngContentSelectors:dt,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(at,te){if(1&at&&(C.F$t(ze),C.TgZ(0,"div",0,1),C.NdJ("click",function(){return te.toggle(
1)}),C.TgZ(3,"div",2),C.YNc(4,He,2,1,"span",3),C.YNc(5,me,3,2,"span",4),C.qZA(),C.TgZ(6,"div",5)(7,"div",6),C.O4$(),C.TgZ(8,"svg",7),C._UZ(9,"path",8),C.qZA()()()(),C.YNc(10,Le,3,9,"ng-template",9),C.NdJ("backdropClick",function(){return te.close()})("attach",function(){return te._onAttached()})("detach",function(){return te.close()})),2&at){const N=C.MAs(1);C.uIk("aria-owns",te.panelOpen?te.id+"-panel":null),C.xp6(3),C.Q6J("ngSwitch",te.empty),C.uIk("id",te._valueId),C.xp6(1),C.Q6J("ngSwitchCase",!0),C.xp6(1),C.Q6J("ngSwitchCase",!1),C.xp6(5),C.Q6J("cdkConnectedOverlayPanelClass",te._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",te._scrollStrategy)("cdkConnectedOverlayOrigin",te._preferredOverlayOrigin||N)("cdkConnectedOverlayOpen",te.panelOpen)("cdkConnectedOverlayPositions",te._positions)("cdkConnectedOverlayWidth",te._overlayWidth)}},dependencies:[p.mk,p.RF,p.n9,p.ED,a.pI,a.xu],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[qe.transformPanel]},changeDetection:0}),lt})(),st=(()=>{class lt{}return lt.\u0275fac=function(at){return new(at||lt)},lt.\u0275mod=C.oAB({type:lt}),lt.\u0275inj=C.cJS({providers:[je],imports:[p.ez,a.U8,Y.Ng,Y.BQ,ee.ZD,e.lN,Y.Ng,Y.BQ]}),lt})()},7009:(Pt,Ve,f)=>{"use strict";f.d(Ve,{ZX:()=>Ne,qD:()=>be,ux:()=>dt});var a=f(4650),p=f(7579),C=f(6895),Y=f(9101),e=f(7340),ee=f(4080),R=f(3353),ae=f(5698),X=f(2722),W=f(2687),de=f(2289),ce=f(8184),_e=f(3238);function ge(qe,Mt){if(1&qe){const wt=a.EpF();a.TgZ(0,"div",2)(1,"button",3),a.NdJ("click",function(){a.CHM(wt);const Lt=a.oxw();return a.KtG(Lt.action())}),a._uU(2),a.qZA()()}if(2&qe){const wt=a.oxw();a.xp6(2),a.hij(" ",wt.data.action," ")}}const Re=["label"];function $e(qe,Mt){}const fe=Math.pow(2,31)-1;class ue{constructor(Mt,wt){this._overlayRef=wt,this._afterDismissed=new p.x,this._afterOpened=new p.x,this._onAction=new p.x,this._dismissedByAction=!1,this.containerInstance=Mt,Mt._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(Mt){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(Mt,fe))}_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}}const be=new a.OlP("MatSnackBarData");class se{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let j=(()=>{class qe{}return qe.\u0275fac=function(wt){return new(wt||qe)},qe.\u0275dir=a.lG2({type:qe,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),qe})(),ne=(()=>{class qe{}return qe.\u0275fac=function(wt){return new(wt||qe)},qe.\u0275dir=a.lG2({type:qe,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),qe})(),De=(()=>{class qe{}return qe.\u0275fac=function(wt){return new(wt||qe)},qe.\u0275dir=a.lG2({type:qe,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),qe})(),Ue=(()=>{class qe{constructor(wt,Yt){this.snackBarRef=wt,this.data=Yt}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return qe.\u0275fac=function(wt){return new(wt||qe)(a.Y36(ue),a.Y36(be))},qe.\u0275cmp=a.Xpm({type:qe,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(wt,Yt){1&wt&&(a.TgZ(0,"div",0),a._uU(1),a.qZA(),a.YNc(2,ge,3,1,"div",1)),2&wt&&(a.xp6(1),a.hij(" ",Yt.data.message,"\n"),a.xp6(1),a.Q6J("ngIf",Yt.hasAction))},dependencies:[C.O5,Y.lW,j,ne,De],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),qe})();const V={snackBarState:(0,e.X$)("state",[(0,e.SB)("void, hidden",(0,e.oB)({transform:"scale(0.8)",opacity:0}
1)),(0,e.SB)("visible",(0,e.oB)({transform:"scale(1)",opacity:1})),(0,e.eR)("* => visible",(0,e.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,e.eR)("* => void, * => hidden",(0,e.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,e.oB)({opacity:0})))])};let He=(()=>{class qe extends ee.en{constructor(wt,Yt,Lt,ft,It){super(),this._ngZone=wt,this._elementRef=Yt,this._changeDetectorRef=Lt,this._platform=ft,this.snackBarConfig=It,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new p.x,this._onExit=new p.x,this._onEnter=new p.x,this._animationState="void",this.attachDomPortal=Ge=>{this._assertNotAttached();const je=this._portalOutlet.attachDomPortal(Ge);return this._afterPortalAttached(),je},this._live="assertive"!==It.politeness||It.announcementMessage?"off"===It.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(wt){this._assertNotAttached();const Yt=this._portalOutlet.attachComponentPortal(wt);return this._afterPortalAttached(),Yt}attachTemplatePortal(wt){this._assertNotAttached();const Yt=this._portalOutlet.attachTemplatePortal(wt);return this._afterPortalAttached(),Yt}onAnimationEnd(wt){const{fromState:Yt,toState:Lt}=wt;if(("void"===Lt&&"void"!==Yt||"hidden"===Lt)&&this._completeExit(),"visible"===Lt){const ft=this._onEnter;this._ngZone.run(()=>{ft.next(),ft.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,ae.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const wt=this._elementRef.nativeElement,Yt=this.snackBarConfig.panelClass;Yt&&(Array.isArray(Yt)?Yt.forEach(Lt=>wt.classList.add(Lt)):wt.classList.add(Yt))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const wt=this._elementRef.nativeElement.querySelector("[aria-hidden]"),Yt=this._elementRef.nativeElement.querySelector("[aria-live]");if(wt&&Yt){let Lt=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&wt.contains(document.activeElement)&&(Lt=document.activeElement),wt.removeAttribute("aria-hidden"),Yt.appendChild(wt),Lt?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return qe.\u0275fac=function(wt){return new(wt||qe)(a.Y36(a.R0b),a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(R.t4),a.Y36(se))},qe.\u0275dir=a.lG2({type:qe,viewQuery:function(wt,Yt){if(1&wt&&a.Gf(ee.Pl,7),2&wt){let Lt;a.iGM(Lt=a.CRH())&&(Yt._portalOutlet=Lt.first)}},features:[a.qOj]}),qe})(),Be=(()=>{class qe extends He{_afterPortalAttached(){super._afterPortalAttached();const wt=this._label.nativeElement,Yt="mdc-snackbar__label";wt.classList.toggle(Yt,!wt.querySelector(`.${Yt}`))}}return qe.\u0275fac=function(){let Mt;return function(Yt){return(Mt||(Mt=a.n5z(qe)))(Yt||qe)}}(),qe.\u0275cmp=a.Xpm({type:qe,selectors:[["mat-snack-bar-container"]],viewQuery:function(wt,Yt){if(1&wt&&a.Gf(Re,7),2&wt){let Lt;a.iGM(Lt=a.CRH())&&(Yt._label=Lt.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(wt,Yt){1&wt&&a.WFA("@state.done",function(ft){return Yt.onAnimationEnd(ft)}),2&wt&&a.d8E("@state",Yt._animationState)},features:[a.qOj],decls:6,vars:2,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(wt,Yt){1&wt&&(a.TgZ(0,"div",0)(1,"div",1,2)(3,"div",3),a.YNc(4,$e,0,0,"ng-template",4),a.qZA(),a._UZ(5,"div"),a.qZA()()),2&wt&&(a.xp6(5),a.uIk("aria-live",Yt._live)("role",Yt._role))},dependencies:[ee.Pl],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}
1.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.cdk-high-contrast-active .mat-mdc-snack-bar-container{border:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[V.snackBarState]}}),qe})(),Ne=(()=>{class qe{}return qe.\u0275fac=function(wt){return new(wt||qe)},qe.\u0275mod=a.oAB({type:qe}),qe.\u0275inj=a.cJS({imports:[ce.U8,ee.eL,C.ez,Y.ot,_e.BQ,_e.BQ]}),qe})();const Le=new a.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function me(){return new se}});let ze=(()=>{class qe{constructor(wt,Yt,Lt,ft,It,Ge){this._overlay=wt,this._live=Yt,this._injector=Lt,this._breakpointObserver=ft,this._parentSnackBar=It,this._defaultConfig=Ge,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const wt=this._parentSnackBar;return wt?wt._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(wt){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=wt:this._snackBarRefAtThisLevel=wt}openFromComponent(wt,Yt){return this._attach(wt,Yt)}openFromTemplate(wt,Yt){return this._attach(wt,Yt)}
1open(wt,Yt="",Lt){const ft={...this._defaultConfig,...Lt};return ft.data={message:wt,action:Yt},ft.announcementMessage===wt&&(ft.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,ft)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(wt,Yt){const ft=a.zs3.create({parent:Yt&&Yt.viewContainerRef&&Yt.viewContainerRef.injector||this._injector,providers:[{provide:se,useValue:Yt}]}),It=new ee.C5(this.snackBarContainerComponent,Yt.viewContainerRef,ft),Ge=wt.attach(It);return Ge.instance.snackBarConfig=Yt,Ge.instance}_attach(wt,Yt){const Lt={...new se,...this._defaultConfig,...Yt},ft=this._createOverlay(Lt),It=this._attachSnackBarContainer(ft,Lt),Ge=new ue(It,ft);if(wt instanceof a.Rgc){const je=new ee.UE(wt,null,{$implicit:Lt.data,snackBarRef:Ge});Ge.instance=It.attachTemplatePortal(je)}else{const je=this._createInjector(Lt,Ge),Ft=new ee.C5(wt,void 0,je),B=It.attachComponentPortal(Ft);Ge.instance=B.instance}return this._breakpointObserver.observe(de.u3.HandsetPortrait).pipe((0,X.R)(ft.detachments())).subscribe(je=>{ft.overlayElement.classList.toggle(this.handsetCssClass,je.matches)}),Lt.announcementMessage&&It._onAnnounce.subscribe(()=>{this._live.announce(Lt.announcementMessage,Lt.politeness)}),this._animateSnackBar(Ge,Lt),this._openedSnackBarRef=Ge,this._openedSnackBarRef}_animateSnackBar(wt,Yt){wt.afterDismissed().subscribe(()=>{this._openedSnackBarRef==wt&&(this._openedSnackBarRef=null),Yt.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{wt.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):wt.containerInstance.enter(),Yt.duration&&Yt.duration>0&&wt.afterOpened().subscribe(()=>wt._dismissAfter(Yt.duration))}_createOverlay(wt){const Yt=new ce.X_;Yt.direction=wt.direction;let Lt=this._overlay.position().global();const ft="rtl"===wt.direction,It="left"===wt.horizontalPosition||"start"===wt.horizontalPosition&&!ft||"end"===wt.horizontalPosition&&ft,Ge=!It&&"center"!==wt.horizontalPosition;return It?Lt.left("0"):Ge?Lt.right("0"):Lt.centerHorizontally(),"top"===wt.verticalPosition?Lt.top("0"):Lt.bottom("0"),Yt.positionStrategy=Lt,this._overlay.create(Yt)}_createInjector(wt,Yt){return a.zs3.create({parent:wt&&wt.viewContainerRef&&wt.viewContainerRef.injector||this._injector,providers:[{provide:ue,useValue:Yt},{provide:be,useValue:wt.data}]})}}return qe.\u0275fac=function(wt){return new(wt||qe)(a.LFG(ce.aV),a.LFG(W.Kd),a.LFG(a.zs3),a.LFG(de.Yg),a.LFG(qe,12),a.LFG(Le))},qe.\u0275prov=a.Yz7({token:qe,factory:qe.\u0275fac}),qe})(),dt=(()=>{class qe extends ze{constructor(wt,Yt,Lt,ft,It,Ge){super(wt,Yt,Lt,ft,It,Ge),this.simpleSnackBarComponent=Ue,this.snackBarContainerComponent=Be,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return qe.\u0275fac=function(wt){return new(wt||qe)(a.LFG(ce.aV),a.LFG(W.Kd),a.LFG(a.zs3),a.LFG(de.Yg),a.LFG(qe,12),a.LFG(Le))},qe.\u0275prov=a.Yz7({token:qe,factory:qe.\u0275fac,providedIn:Ne}),qe})()},3683:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Ye:()=>X,g0:()=>de,rD:()=>ae});var a=f(4650),p=f(3238),C=f(3353),Y=f(6895);const e=["*",[["mat-toolbar-row"]]],ee=["*","mat-toolbar-row"],R=(0,p.pj)(class{constructor(ce){this._elementRef=ce}});let ae=(()=>{class ce{}return ce.\u0275fac=function(ge){return new(ge||ce)},ce.\u0275dir=a.lG2({type:ce,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),ce})(),X=(()=>{class ce extends R{constructor(ge,Re,$e){super(ge),this._platform=Re,this._document=$e}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return ce.\u0275fac=function(ge){return new(ge||ce)(a.Y36(a.SBq),a.Y36(C.t4),a.Y36(Y.K0))},ce.\u0275cmp=a.Xpm({type:ce,selectors:[["mat-toolbar"]],contentQueries:function(ge,Re,$e){if(1&ge&&a.Suo($e,ae,5),2&ge){let fe;a.iGM(fe=a.CRH())&&(Re._toolbarRows=fe)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(ge,Re){2&ge&&a.ekj("mat-toolbar-multiple-rows",Re._toolbarRows.length>0)("mat-toolbar-single-row",0===Re._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[a.qOj],ngContentSelectors:ee,decls:2,vars:0,template:function(ge,Re){1&ge&&(a.F$t(e),a.Hsn(0),a.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),ce})(),de=(()=>{class ce{}return ce.\u0275fac=function(ge){return new(ge||ce)},ce.\u0275mod=a.oAB({type:ce}),ce.\u0275inj=a.cJS({imports:[p.BQ,p.BQ]}),ce})()},266:(Pt,Ve,f)=>{"use strict";f.d(Ve,{AV:()=>Lt,gM:()=>qe});var a=f(2722),p=f(5698),C=f(1281),Y=f(9521),e=f(4650),ee=f(6895),R=f(3353),ae=f(2687),X=f(445),W=f(8184),de=f(4098),ce=f(4080),_e=f(7579),Re=(f(7340),f(3238));const $e=["tooltip"],be=new e.OlP("mat-tooltip-scroll-strategy"),j={provide:be,deps:[W.aV],useFactory:function se(ft){return()=>ft.scrollStrategies.reposition({scrollThrottle:20})}},De=new e.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function ne(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),V="tooltip-panel",He=(0,R.i$)({passive:!0});let dt=(()=>{class ft{constructor(Ge,je,Ft,B,$,ve,pe,Xe,st,lt,Bt,at){this._overlay=Ge,this._elementRef=je,this._scrollDispatcher=Ft,this._viewContainerRef
1=B,this._ngZone=$,this._platform=ve,this._ariaDescriber=pe,this._focusMonitor=Xe,this._dir=lt,this._defaultOptions=Bt,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new _e.x,this._scrollStrategy=st,this._document=at,Bt&&(Bt.position&&(this.position=Bt.position),Bt.positionAtOrigin&&(this.positionAtOrigin=Bt.positionAtOrigin),Bt.touchGestures&&(this.touchGestures=Bt.touchGestures)),lt.change.pipe((0,a.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(Ge){Ge!==this._position&&(this._position=Ge,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Ge){this._positionAtOrigin=(0,C.Ig)(Ge),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Ge){this._disabled=(0,C.Ig)(Ge),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Ge){this._showDelay=(0,C.su)(Ge)}get hideDelay(){return this._hideDelay}set hideDelay(Ge){this._hideDelay=(0,C.su)(Ge),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Ge){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Ge?String(Ge).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(Ge){this._tooltipClass=Ge,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,a.R)(this._destroyed)).subscribe(Ge=>{Ge?"keyboard"===Ge&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Ge=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([je,Ft])=>{Ge.removeEventListener(je,Ft,He)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Ge,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Ge)}show(Ge=this.showDelay,je){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Ft=this._createOverlay(je);this._detach(),this._portal=this._portal||new ce.C5(this._tooltipComponent,this._viewContainerRef);const B=this._tooltipInstance=Ft.attach(this._portal).instance;B._triggerElement=this._elementRef.nativeElement,B._mouseLeaveHideDelay=this._hideDelay,B.afterHidden().pipe((0,a.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),B.show(Ge)}hide(Ge=this.hideDelay){const je=this._tooltipInstance;je&&(je.isVisible()?je.hide(Ge):(je._cancelPendingAnimations(),this._detach()))}toggle(Ge){this._isTooltipVisible()?this.hide():this.show(void 0,Ge)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Ge){if(this._overlayRef){const B=this._overlayRef.getConfig().positionStrategy;
1if((!this.positionAtOrigin||!Ge)&&B._origin instanceof e.SBq)return this._overlayRef;this._detach()}const je=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Ft=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&Ge||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(je);return Ft.positionChanges.pipe((0,a.R)(this._destroyed)).subscribe(B=>{this._updateCurrentPositionClass(B.connectionPair),this._tooltipInstance&&B.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Ft,panelClass:`${this._cssClassPrefix}-${V}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,a.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,a.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,a.R)(this._destroyed)).subscribe(B=>{this._isTooltipVisible()&&B.keyCode===Y.hY&&!(0,Y.Vb)(B)&&(B.preventDefault(),B.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(Ge){const je=Ge.getConfig().positionStrategy,Ft=this._getOrigin(),B=this._getOverlayPosition();je.withPositions([this._addOffset({...Ft.main,...B.main}),this._addOffset({...Ft.fallback,...B.fallback})])}_addOffset(Ge){return Ge}_getOrigin(){const Ge=!this._dir||"ltr"==this._dir.value,je=this.position;let Ft;"above"==je||"below"==je?Ft={originX:"center",originY:"above"==je?"top":"bottom"}:"before"==je||"left"==je&&Ge||"right"==je&&!Ge?Ft={originX:"start",originY:"center"}:("after"==je||"right"==je&&Ge||"left"==je&&!Ge)&&(Ft={originX:"end",originY:"center"});const{x:B,y:$}=this._invertPosition(Ft.originX,Ft.originY);return{main:Ft,fallback:{originX:B,originY:$}}}_getOverlayPosition(){const Ge=!this._dir||"ltr"==this._dir.value,je=this.position;let Ft;"above"==je?Ft={overlayX:"center",overlayY:"bottom"}:"below"==je?Ft={overlayX:"center",overlayY:"top"}:"before"==je||"left"==je&&Ge||"right"==je&&!Ge?Ft={overlayX:"end",overlayY:"center"}:("after"==je||"right"==je&&Ge||"left"==je&&!Ge)&&(Ft={overlayX:"start",overlayY:"center"});const{x:B,y:$}=this._invertPosition(Ft.overlayX,Ft.overlayY);return{main:Ft,fallback:{overlayX:B,overlayY:$}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,p.q)(1),(0,a.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(Ge){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Ge,this._tooltipInstance._markForCheck())}_invertPosition(Ge,je){return"above"===this.position||"below"===this.position?"top"===je?je="bottom":"bottom"===je&&(je="top"):"end"===Ge?Ge="start":"start"===Ge&&(Ge="end"),{x:Ge,y:je}}_updateCurrentPositionClass(Ge){const{overlayY:je,originX:Ft,originY:B}=Ge;let $;if($="center"===je?this._dir&&"rtl"===this._dir.value?"end"===Ft?"left":"right":"start"===Ft?"left":"right":"bottom"===je&&"top"===B?"above":"below",$!==this._currentPosition){const ve=this._overlayRef;if(ve){const pe=`${this._cssClassPrefix}-${V}-`;ve.removePanelClass(pe+this._currentPosition),ve.addPanelClass(pe+$)}this._currentPosition=$}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Ge=>{let je;this._setupPointerExitEventsIfNeeded(),void 0!==Ge.x&&void 0!==Ge.y&&(je=Ge),this.show(void 0,je)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Ge=>{const je=Ge.targetTouches?.[0],Ft=je?{x:je.clientX,y:je.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,Ft),500)}
1])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const Ge=[];if(this._platformSupportsMouseEvents())Ge.push(["mouseleave",je=>{const Ft=je.relatedTarget;(!Ft||!this._overlayRef?.overlayElement.contains(Ft))&&this.hide()}],["wheel",je=>this._wheelListener(je)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const je=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};Ge.push(["touchend",je],["touchcancel",je])}this._addListeners(Ge),this._passiveListeners.push(...Ge)}_addListeners(Ge){Ge.forEach(([je,Ft])=>{this._elementRef.nativeElement.addEventListener(je,Ft,He)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Ge){if(this._isTooltipVisible()){const je=this._document.elementFromPoint(Ge.clientX,Ge.clientY),Ft=this._elementRef.nativeElement;je!==Ft&&!Ft.contains(je)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Ge=this.touchGestures;if("off"!==Ge){const je=this._elementRef.nativeElement,Ft=je.style;("on"===Ge||"INPUT"!==je.nodeName&&"TEXTAREA"!==je.nodeName)&&(Ft.userSelect=Ft.msUserSelect=Ft.webkitUserSelect=Ft.MozUserSelect="none"),("on"===Ge||!je.draggable)&&(Ft.webkitUserDrag="none"),Ft.touchAction="none",Ft.webkitTapHighlightColor="transparent"}}}return ft.\u0275fac=function(Ge){e.$Z()},ft.\u0275dir=e.lG2({type:ft,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),ft})(),qe=(()=>{class ft extends dt{constructor(Ge,je,Ft,B,$,ve,pe,Xe,st,lt,Bt,at){super(Ge,je,Ft,B,$,ve,pe,Xe,st,lt,Bt,at),this._tooltipComponent=wt,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(Ge){const Ft=!this._dir||"ltr"==this._dir.value;return"top"===Ge.originY?Ge.offsetY=-8:"bottom"===Ge.originY?Ge.offsetY=8:"start"===Ge.originX?Ge.offsetX=Ft?-8:8:"end"===Ge.originX&&(Ge.offsetX=Ft?8:-8),Ge}}return ft.\u0275fac=function(Ge){return new(Ge||ft)(e.Y36(W.aV),e.Y36(e.SBq),e.Y36(de.mF),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(R.t4),e.Y36(ae.$s),e.Y36(ae.tE),e.Y36(be),e.Y36(X.Is,8),e.Y36(De,8),e.Y36(ee.K0))},ft.\u0275dir=e.lG2({type:ft,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[e.qOj]}),ft})(),Mt=(()=>{class ft{constructor(Ge,je){this._changeDetectorRef=Ge,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new _e.x,this._animationsDisabled="NoopAnimations"===je}show(Ge){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Ge)}hide(Ge){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Ge)}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:Ge}){(!Ge||!this._triggerElement.contains(Ge))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:Ge}){(Ge===this._showAnimation||Ge===this._hideAnimation)&&this._finalizeAnimation(Ge===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Ge){Ge?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Ge){const je=this._tooltip.nativeElement,Ft=this._showAnimation,B=this._hideAnimation;if(je.classList.remove(Ge?B:Ft),je.classList.add(Ge?Ft:B),this._isVisible=Ge,Ge&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const $=getComputedStyle(je);("0s"===$.getPropertyValue("animation-duration")||"none"===$.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Ge&&this._onShow(),this._animationsDisabled&&(je.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Ge))}}return ft.\u0275fac=function(Ge){return new(Ge||ft)(e.Y36(e.sBO),e.Y36(e.QbO,8))},ft.\u0275dir=e.lG2({type:ft}),ft})(),wt=(()=>{class ft extends Mt{constructor(Ge,je,Ft){super(Ge,Ft),this._elementRef=je,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const Ge=this._elementRef.nativeElement.getBoundingClientRect();return Ge.height>24&&Ge.width>=200}}return ft.\u0275fac=function(Ge){return new(Ge||ft)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.QbO,8))},ft.\u0275cmp=e.Xpm({type:ft,selectors:[["mat-tooltip-component"]],viewQuery:function(Ge,je){if(1&Ge&&e.Gf($e,7),2&Ge){let Ft;e.iGM(Ft=e.CRH())&&(je._tooltip=Ft.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(Ge,je){1&Ge&&e.NdJ("mouseleave",function(B){return je._handleMouseLeave(B)}),2&Ge&&e.Udp("zoom",je.isVisible()?1:null)},features:[e.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(Ge,je){1&Ge&&(e.TgZ(0,"div",0,1),e.NdJ("animationend",function(B){return je._handleAnimationEnd(B)}),e.TgZ(2,"div",2),e._uU(3),e.qZA()()),2&Ge&&(e.ekj("mdc-tooltip--multiline",je._isMultiline),e.Q6J("ngClass",je.tooltipClass),e.xp6(3),e.Oqu(je.message))},dependencies:[ee.mk],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;
1max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),ft})(),Lt=(()=>{class ft{}return ft.\u0275fac=function(Ge){return new(Ge||ft)},ft.\u0275mod=e.oAB({type:ft}),ft.\u0275inj=e.cJS({providers:[j],imports:[ae.rt,ee.ez,W.U8,Re.BQ,Re.BQ,de.ZD]}),ft})()},1481:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Dx:()=>vt,H7:()=>An,b2:()=>xe,q6:()=>te,se:()=>ze});var a=f(6895),p=f(4650);class C extends a.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Y extends C{static makeCurrent(){(0,a.HT)(new Y)}onAndCancel(rt,Ke,_t){return rt.addEventListener(Ke,_t,!1),()=>{rt.removeEventListener(Ke,_t,!1)}}dispatchEvent(rt,Ke){rt.dispatchEvent(Ke)}remove(rt){rt.parentNode&&rt.parentNode.removeChild(rt)}createElement(rt,Ke){return(Ke=Ke||this.getDefaultDocument()).createElement(rt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(rt){return rt.nodeType===Node.ELEMENT_NODE}isShadowRoot(rt){return rt instanceof DocumentFragment}getGlobalEventTarget(rt,Ke){return"window"===Ke?window:"document"===Ke?rt:"body"===Ke?rt.body:null}getBaseHref(rt){const Ke=function ee(){return e=e||document.querySelector("base"),e?e.getAttribute("href"):null}();return null==Ke?null:function ae(ct){R=R||document.createElement("a"),R.setAttribute("href",ct);const rt=R.pathname;return"/"===rt.charAt(0)?rt:`/${rt}`}(Ke)}resetBaseElement(){e=null}getUserAgent(){return window.navigator.userAgent}getCookie(rt){return(0,a.Mx)(document.cookie,rt)}}let R,e=null;const X=new p.OlP("TRANSITION_ID"),de=[{provide:p.ip1,useFactory:function W(ct,rt,Ke){return()=>{Ke.get(p.CZH).donePromise.then(()=>{const _t=(0,a.q)(),Ht=rt.querySelectorAll(`style[ng-transition="${ct}"]`);for(let xn=0;xn<Ht.length;xn++)_t.remove(Ht[xn])})}},deps:[X,a.K0,p.zs3],multi:!0}];let _e=(()=>{class ct{build(){return new XMLHttpRequest}}return ct.\u0275fac=function(Ke){return new(Ke||ct)},ct.\u0275prov=p.Yz7({token:ct,factory:ct.\u0275fac}),ct})();const ge=new p.OlP("EventManagerPlugins");let Re=(()=>{class ct{constructor(Ke,_t){this._zone=_t,this._eventNameToPlugin=new Map,Ke.forEach(Ht=>Ht.manager=this),this._plugins=Ke.slice().reverse()}addEventListener(Ke,_t,Ht){return this._findPluginFor(_t).addEventListener(Ke,_t,Ht)}
1addGlobalEventListener(Ke,_t,Ht){return this._findPluginFor(_t).addGlobalEventListener(Ke,_t,Ht)}getZone(){return this._zone}_findPluginFor(Ke){const _t=this._eventNameToPlugin.get(Ke);if(_t)return _t;const Ht=this._plugins;for(let xn=0;xn<Ht.length;xn++){const Hn=Ht[xn];if(Hn.supports(Ke))return this._eventNameToPlugin.set(Ke,Hn),Hn}throw new Error(`No event manager plugin found for event ${Ke}`)}}return ct.\u0275fac=function(Ke){return new(Ke||ct)(p.LFG(ge),p.LFG(p.R0b))},ct.\u0275prov=p.Yz7({token:ct,factory:ct.\u0275fac}),ct})();class $e{constructor(rt){this._doc=rt}addGlobalEventListener(rt,Ke,_t){const Ht=(0,a.q)().getGlobalEventTarget(this._doc,rt);if(!Ht)throw new Error(`Unsupported event target ${Ht} for event ${Ke}`);return this.addEventListener(Ht,Ke,_t)}}let fe=(()=>{class ct{constructor(){this._stylesSet=new Set}addStyles(Ke){const _t=new Set;Ke.forEach(Ht=>{this._stylesSet.has(Ht)||(this._stylesSet.add(Ht),_t.add(Ht))}),this.onStylesAdded(_t)}onStylesAdded(Ke){}getAllStyles(){return Array.from(this._stylesSet)}}return ct.\u0275fac=function(Ke){return new(Ke||ct)},ct.\u0275prov=p.Yz7({token:ct,factory:ct.\u0275fac}),ct})(),ue=(()=>{class ct extends fe{constructor(Ke){super(),this._doc=Ke,this._hostNodes=new Map,this._hostNodes.set(Ke.head,[])}_addStylesToHost(Ke,_t,Ht){Ke.forEach(xn=>{const Hn=this._doc.createElement("style");Hn.textContent=xn,Ht.push(_t.appendChild(Hn))})}addHost(Ke){const _t=[];this._addStylesToHost(this._stylesSet,Ke,_t),this._hostNodes.set(Ke,_t)}removeHost(Ke){const _t=this._hostNodes.get(Ke);_t&&_t.forEach(be),this._hostNodes.delete(Ke)}onStylesAdded(Ke){this._hostNodes.forEach((_t,Ht)=>{this._addStylesToHost(Ke,Ht,_t)})}ngOnDestroy(){this._hostNodes.forEach(Ke=>Ke.forEach(be))}}return ct.\u0275fac=function(Ke){return new(Ke||ct)(p.LFG(a.K0))},ct.\u0275prov=p.Yz7({token:ct,factory:ct.\u0275fac}),ct})();function be(ct){(0,a.q)().remove(ct)}const se={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},j=/%COMP%/g;function Ne(ct,rt,Ke){for(let _t=0;_t<rt.length;_t++){let Ht=rt[_t];Array.isArray(Ht)?Ne(ct,Ht,Ke):(Ht=Ht.replace(j,ct),Ke.push(Ht))}return Ke}function me(ct){return rt=>{if("__ngUnwrap__"===rt)return ct;!1===ct(rt)&&(rt.preventDefault(),rt.returnValue=!1)}}let ze=(()=>{class ct{constructor(Ke,_t,Ht){this.eventManager=Ke,this.sharedStylesHost=_t,this.appId=Ht,this.rendererByCompId=new Map,this.defaultRenderer=new dt(Ke)}createRenderer(Ke,_t){if(!Ke||!_t)return this.defaultRenderer;switch(_t.encapsulation){case p.ifc.Emulated:{let Ht=this.rendererByCompId.get(_t.id);return Ht||(Ht=new Yt(this.eventManager,this.sharedStylesHost,_t,this.appId),this.rendererByCompId.set(_t.id,Ht)),Ht.applyToHost(Ke),Ht}case 1:case p.ifc.ShadowDom:return new Lt(this.eventManager,this.sharedStylesHost,Ke,_t);default:if(!this.rendererByCompId.has(_t.id)){const Ht=Ne(_t.id,_t.styles,[]);this.sharedStylesHost.addStyles(Ht),this.rendererByCompId.set(_t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ct.\u0275fac=function(Ke){return new(Ke||ct)(p.LFG(Re),p.LFG(ue),p.LFG(p.AFp))},ct.\u0275prov=p.Yz7({token:ct,factory:ct.\u0275fac}),ct})();class dt{constructor(rt){this.eventManager=rt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(rt,Ke){return Ke?document.createElementNS(se[Ke]||Ke,rt):document.createElement(rt)}createComment(rt){return document.createComment(rt)}createText(rt){return document.createTextNode(rt)}appendChild(rt,Ke){(wt(rt)?rt.content:rt).appendChild(Ke)}insertBefore(rt,Ke,_t){rt&&(wt(rt)?rt.content:rt).insertBefore(Ke,_t)}removeChild(rt,Ke){rt&&rt.removeChild(Ke)}selectRootElement(rt,Ke){let _t="string"==typeof rt?document.querySelector(rt):rt;if(!_t)throw new Error(`The selector "${rt}" did not match any elements`);return Ke||(_t.textContent=""),_t}parentNode(rt){return rt.parentNode}nextSibling(rt){return rt.nextSibling}setAttribute(rt,Ke,_t,Ht){if(Ht){Ke=Ht+":"+Ke;const xn=se[Ht];xn?rt.setAttributeNS(xn,Ke,_t):rt.setAttribute(Ke,_t)}else rt.setAttribute(Ke,_t)}removeAttribute(rt,Ke,_t){if(_t){const Ht=se[_t];Ht?rt.removeAttributeNS(Ht,Ke):rt.removeAttribute(`${_t}:${Ke}`)}else rt.removeAttribute(Ke)}addClass(rt,Ke){rt.classList.add(Ke)}removeClass(rt,Ke){rt.classList.remove(Ke)}setStyle(rt,Ke,_t,Ht){Ht&(p.JOm.DashCase|p.JOm.Important)?rt.style.setProperty(Ke,_t,Ht&p.JOm.Important?"important":""):rt.style[Ke]=_t}removeStyle(rt,Ke,_t){_t&p.JOm.DashCase?rt.style.removeProperty(Ke):rt.style[Ke]=""}setProperty(rt,Ke,_t){rt[Ke]=_t}setValue(rt,Ke){rt.nodeValue=Ke}listen(rt,Ke,_t){return"string"==typeof rt?this.eventManager.addGlobalEventListener(rt,Ke,me(_t)):this.eventManager.addEventListener(rt,Ke,me(_t))}}function wt(ct){return"TEMPLATE"===ct.tagName&&void 0!==ct.content}class Yt extends dt{constructor(rt,Ke,_t,Ht){super(rt),this.component=_t;const xn=Ne(Ht+"-"+_t.id,_t.styles,[]);Ke.addStyles(xn),this.contentAttr=function He(ct){return"_ngcontent-%COMP%".replace(j,
1ct)}(Ht+"-"+_t.id),this.hostAttr=function Be(ct){return"_nghost-%COMP%".replace(j,ct)}(Ht+"-"+_t.id)}applyToHost(rt){super.setAttribute(rt,this.hostAttr,"")}createElement(rt,Ke){const _t=super.createElement(rt,Ke);return super.setAttribute(_t,this.contentAttr,""),_t}}class Lt extends dt{constructor(rt,Ke,_t,Ht){super(rt),this.sharedStylesHost=Ke,this.hostEl=_t,this.shadowRoot=_t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const xn=Ne(Ht.id,Ht.styles,[]);for(let Hn=0;Hn<xn.length;Hn++){const Zn=document.createElement("style");Zn.textContent=xn[Hn],this.shadowRoot.appendChild(Zn)}}nodeOrShadowRoot(rt){return rt===this.hostEl?this.shadowRoot:rt}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(rt,Ke){return super.appendChild(this.nodeOrShadowRoot(rt),Ke)}insertBefore(rt,Ke,_t){return super.insertBefore(this.nodeOrShadowRoot(rt),Ke,_t)}removeChild(rt,Ke){return super.removeChild(this.nodeOrShadowRoot(rt),Ke)}parentNode(rt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(rt)))}}let ft=(()=>{class ct extends $e{constructor(Ke){super(Ke)}supports(Ke){return!0}addEventListener(Ke,_t,Ht){return Ke.addEventListener(_t,Ht,!1),()=>this.removeEventListener(Ke,_t,Ht)}removeEventListener(Ke,_t,Ht){return Ke.removeEventListener(_t,Ht)}}return ct.\u0275fac=function(Ke){return new(Ke||ct)(p.LFG(a.K0))},ct.\u0275prov=p.Yz7({token:ct,factory:ct.\u0275fac}),ct})();const It=["alt","control","meta","shift"],Ge={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},je={alt:ct=>ct.altKey,control:ct=>ct.ctrlKey,meta:ct=>ct.metaKey,shift:ct=>ct.shiftKey};let Ft=(()=>{class ct extends $e{constructor(Ke){super(Ke)}supports(Ke){return null!=ct.parseEventName(Ke)}addEventListener(Ke,_t,Ht){const xn=ct.parseEventName(_t),Hn=ct.eventCallback(xn.fullKey,Ht,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,a.q)().onAndCancel(Ke,xn.domEventName,Hn))}static parseEventName(Ke){const _t=Ke.toLowerCase().split("."),Ht=_t.shift();if(0===_t.length||"keydown"!==Ht&&"keyup"!==Ht)return null;const xn=ct._normalizeKey(_t.pop());let Hn="",Zn=_t.indexOf("code");if(Zn>-1&&(_t.splice(Zn,1),Hn="code."),It.forEach(Zi=>{const rr=_t.indexOf(Zi);rr>-1&&(_t.splice(rr,1),Hn+=Zi+".")}),Hn+=xn,0!=_t.length||0===xn.length)return null;const li={};return li.domEventName=Ht,li.fullKey=Hn,li}static matchEventFullKeyCode(Ke,_t){let Ht=Ge[Ke.key]||Ke.key,xn="";return _t.indexOf("code.")>-1&&(Ht=Ke.code,xn="code."),!(null==Ht||!Ht)&&(Ht=Ht.toLowerCase()," "===Ht?Ht="space":"."===Ht&&(Ht="dot"),It.forEach(Hn=>{Hn!==Ht&&(0,je[Hn])(Ke)&&(xn+=Hn+".")}),xn+=Ht,xn===_t)}static eventCallback(Ke,_t,Ht){return xn=>{ct.matchEventFullKeyCode(xn,Ke)&&Ht.runGuarded(()=>_t(xn))}}static _normalizeKey(Ke){return"esc"===Ke?"escape":Ke}}return ct.\u0275fac=function(Ke){return new(Ke||ct)(p.LFG(a.K0))},ct.\u0275prov=p.Yz7({token:ct,factory:ct.\u0275fac}),ct})();const te=(0,p.eFA)(p._c5,"browser",[{provide:p.Lbi,useValue:a.bD},{provide:p.g9A,useValue:function st(){Y.makeCurrent()},multi:!0},{provide:a.K0,useFactory:function Bt(){return(0,p.RDi)(document),document},deps:[]}]),N=new p.OlP(""),z=[{provide:p.rWj,useClass:class ce{addToWindow(rt){p.dqk.getAngularTestability=(_t,Ht=!0)=>{const xn=rt.findTestabilityInTree(_t,Ht);if(null==xn)throw new Error("Could not find testability for element.");return xn},p.dqk.getAllAngularTestabilities=()=>rt.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>rt.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push(_t=>{const Ht=p.dqk.getAllAngularTestabilities();let xn=Ht.length,Hn=!1;const Zn=function(li){Hn=Hn||li,xn--,0==xn&&_t(Hn)};Ht.forEach(function(li){li.whenStable(Zn)})})}findTestabilityInTree(rt,Ke,_t){return null==Ke?null:rt.getTestability(Ke)??(_t?(0,a.q)().isShadowRoot(Ke)?this.findTestabilityInTree(rt,Ke.host,!0):this.findTestabilityInTree(rt,Ke.parentElement,!0):null)}},deps:[]}
1,{provide:p.lri,useClass:p.dDg,deps:[p.R0b,p.eoX,p.rWj]},{provide:p.dDg,useClass:p.dDg,deps:[p.R0b,p.eoX,p.rWj]}],Te=[{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function lt(){return new p.qLn},deps:[]},{provide:ge,useClass:ft,multi:!0,deps:[a.K0,p.R0b,p.Lbi]},{provide:ge,useClass:Ft,multi:!0,deps:[a.K0]},{provide:ze,useClass:ze,deps:[Re,ue,p.AFp]},{provide:p.FYo,useExisting:ze},{provide:fe,useExisting:ue},{provide:ue,useClass:ue,deps:[a.K0]},{provide:Re,useClass:Re,deps:[ge,p.R0b]},{provide:a.JF,useClass:_e,deps:[]},[]];let xe=(()=>{class ct{constructor(Ke){}static withServerTransition(Ke){return{ngModule:ct,providers:[{provide:p.AFp,useValue:Ke.appId},{provide:X,useExisting:p.AFp},de]}}}return ct.\u0275fac=function(Ke){return new(Ke||ct)(p.LFG(N,12))},ct.\u0275mod=p.oAB({type:ct}),ct.\u0275inj=p.cJS({providers:[...Te,...z],imports:[a.ez,p.hGG]}),ct})(),vt=(()=>{class ct{constructor(Ke){this._doc=Ke}getTitle(){return this._doc.title}setTitle(Ke){this._doc.title=Ke||""}}return ct.\u0275fac=function(Ke){return new(Ke||ct)(p.LFG(a.K0))},ct.\u0275prov=p.Yz7({token:ct,factory:function(Ke){let _t=null;return _t=Ke?new Ke:function nt(){return new vt((0,p.LFG)(a.K0))}(),_t},providedIn:"root"}),ct})();typeof window<"u"&&window;let An=(()=>{class ct{}return ct.\u0275fac=function(Ke){return new(Ke||ct)},ct.\u0275prov=p.Yz7({token:ct,factory:function(Ke){let _t=null;return _t=Ke?new(Ke||ct):p.LFG(Fn),_t},providedIn:"root"}),ct})(),Fn=(()=>{class ct extends An{constructor(Ke){super(),this._doc=Ke}sanitize(Ke,_t){if(null==_t)return null;switch(Ke){case p.q3G.NONE:return _t;case p.q3G.HTML:return(0,p.qzn)(_t,"HTML")?(0,p.z3N)(_t):(0,p.EiD)(this._doc,String(_t)).toString();case p.q3G.STYLE:return(0,p.qzn)(_t,"Style")?(0,p.z3N)(_t):_t;case p.q3G.SCRIPT:if((0,p.qzn)(_t,"Script"))return(0,p.z3N)(_t);throw new Error("unsafe value used in a script context");case p.q3G.URL:return(0,p.qzn)(_t,"URL")?(0,p.z3N)(_t):(0,p.mCW)(String(_t));case p.q3G.RESOURCE_URL:if((0,p.qzn)(_t,"ResourceURL"))return(0,p.z3N)(_t);throw new Error(`unsafe value used in a resource URL context (see ${p.JZr})`);default:throw new Error(`Unexpected SecurityContext ${Ke} (see ${p.JZr})`)}}bypassSecurityTrustHtml(Ke){return(0,p.JVY)(Ke)}bypassSecurityTrustStyle(Ke){return(0,p.L6k)(Ke)}bypassSecurityTrustScript(Ke){return(0,p.eBb)(Ke)}bypassSecurityTrustUrl(Ke){return(0,p.LAX)(Ke)}bypassSecurityTrustResourceUrl(Ke){return(0,p.pB0)(Ke)}}return ct.\u0275fac=function(Ke){return new(Ke||ct)(p.LFG(a.K0))},ct.\u0275prov=p.Yz7({token:ct,factory:function(Ke){let _t=null;return _t=Ke?new Ke:function In(ct){return new Fn(ct.get(a.K0))}(p.LFG(p.zs3)),_t},providedIn:"root"}),ct})()},9132:(Pt,Ve,f)=>{"use strict";f.d(Ve,{gz:()=>yi,gk:()=>Xn,m2:()=>wi,Q3:()=>Fi,OD:()=>si,F0:()=>Un,rH:()=>Dr,Od:()=>ur,Bz:()=>pn,lC:()=>pt});var a=f(4650),p=f(8996),C=f(9646),Y=f(1135),e=f(6805),ee=f(9841),R=f(7272),ae=f(9770),X=f(9635),W=f(2843),de=f(9751),ce=f(515),_e=f(4033),ge=f(7579),Re=f(6895),$e=f(4004),fe=f(3900),ue=f(5698),be=f(8675),se=f(9300),j=f(5577),ne=f(590),De=f(4351),Ue=f(8505),V=f(262),He=f(4482),Be=f(5403);function Ne(E,M,w,I,J){return(Ee,Pe)=>{let gt=w,qt=M,wn=0;Ee.subscribe((0,Be.x)(Pe,Tn=>{const ui=wn++;qt=gt?E(qt,Tn,ui):(gt=!0,Tn),I&&Pe.next(qt)},J&&(()=>{gt&&Pe.next(qt),Pe.complete()})))}}function me(E,M){return(0,He.e)(Ne(E,M,arguments.length>=2,!0))}function Le(E){return E<=0?()=>ce.E:(0,He.e)((M,w)=>{let I=[];M.subscribe((0,Be.x)(w,J=>{I.push(J),E<I.length&&I.shift()},()=>{for(const J of I)w.next(J);w.complete()},void 0,()=>{I=null}))})}var ze=f(8068),dt=f(6590),qe=f(4671);function Mt(E,M){const w=arguments.length>=2;return I=>I.pipe(E?(0,se.h)((J,Ee)=>E(J,Ee,I)):qe.y,Le(1),w?(0,dt.d)(M):(0,ze.T)(()=>new e.K))}var wt=f(2529),Yt=f(9718),Lt=f(8746),ft=f(8343),It=f(8189),Ge=f(1481);const je="primary",Ft=Symbol("RouteTitle");class B{constructor(M){this.params=M||{}}has(M){return Object.prototype.hasOwnProperty.call(this.params,M)}get(M){if(this.has(M)){const w=this.params[M];return Array.isArray(w)?w[0]:w}return null}getAll(M){if(this.has(M)){const w=this.params[M];return Array.isArray(w)?w:[w]}return[]}get keys(){return Object.keys(this.params)}}function $(E){return new B(E)}function ve(E,M,w){const I=w.path.split("/");if(I.length>E.length||"full"===w.pathMatch&&(M.hasChildren()||I.length<E.length))return null;const J={};for(let Ee=0;Ee<I.length;Ee++){const Pe=I[Ee],gt=E[Ee];if(Pe.startsWith(":"))J[Pe.substring(1)]=gt;else if(Pe!==gt.path)return null}return{consumed:E.slice(0,I.length),posParams:J}}function Xe(E,M){const w=E?Object.keys(E):void 0,I=M?Object.keys(M):void 0;if(!w||!I||w.length!=I.length)return!1;let J;
1for(let Ee=0;Ee<w.length;Ee++)if(J=w[Ee],!st(E[J],M[J]))return!1;return!0}function st(E,M){if(Array.isArray(E)&&Array.isArray(M)){if(E.length!==M.length)return!1;const w=[...E].sort(),I=[...M].sort();return w.every((J,Ee)=>I[Ee]===J)}return E===M}function lt(E){return Array.prototype.concat.apply([],E)}function Bt(E){return E.length>0?E[E.length-1]:null}function te(E,M){for(const w in E)E.hasOwnProperty(w)&&M(E[w],w)}function N(E){return(0,a.CqO)(E)?E:(0,a.QGY)(E)?(0,p.D)(Promise.resolve(E)):(0,C.of)(E)}const z=!1,Te={exact:function Oe(E,M,w){if(!bt(E.segments,M.segments)||!Vt(E.segments,M.segments,w)||E.numberOfChildren!==M.numberOfChildren)return!1;for(const I in M.children)if(!E.children[I]||!Oe(E.children[I],M.children[I],w))return!1;return!0},subset:vt},xe={exact:function re(E,M){return Xe(E,M)},subset:function nt(E,M){return Object.keys(M).length<=Object.keys(E).length&&Object.keys(M).every(w=>st(E[w],M[w]))},ignored:()=>!0};function T(E,M,w){return Te[w.paths](E.root,M.root,w.matrixParams)&&xe[w.queryParams](E.queryParams,M.queryParams)&&!("exact"===w.fragment&&E.fragment!==M.fragment)}function vt(E,M,w){return Rt(E,M,M.segments,w)}function Rt(E,M,w,I){if(E.segments.length>w.length){const J=E.segments.slice(0,w.length);return!(!bt(J,w)||M.hasChildren()||!Vt(J,w,I))}if(E.segments.length===w.length){if(!bt(E.segments,w)||!Vt(E.segments,w,I))return!1;for(const J in M.children)if(!E.children[J]||!vt(E.children[J],M.children[J],I))return!1;return!0}{const J=w.slice(0,E.segments.length),Ee=w.slice(E.segments.length);return!!(bt(E.segments,J)&&Vt(E.segments,J,I)&&E.children[je])&&Rt(E.children[je],M,Ee,I)}}function Vt(E,M,w){return M.every((I,J)=>xe[w](E[J].parameters,I.parameters))}class Gt{constructor(M=new Zt([],{}),w={},I=null){this.root=M,this.queryParams=w,this.fragment=I}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$(this.queryParams)),this._queryParamMap}toString(){return _i.serialize(this)}}class Zt{constructor(M,w){this.segments=M,this.children=w,this.parent=null,te(w,(I,J)=>I.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return En(this)}}class ut{constructor(M,w){this.path=M,this.parameters=w}get parameterMap(){return this._parameterMap||(this._parameterMap=$(this.parameters)),this._parameterMap}toString(){return Ie(this)}}function bt(E,M){return E.length===M.length&&E.every((w,I)=>w.path===M[I].path)}let fn=(()=>{class E{}return E.\u0275fac=function(w){return new(w||E)},E.\u0275prov=a.Yz7({token:E,factory:function(){return new dn},providedIn:"root"}),E})();class dn{parse(M){const w=new Fn(M);return new Gt(w.parseRootSegment(),w.parseQueryParams(),w.parseFragment())}serialize(M){const w=`/${Vn(M.root,!0)}`,I=function we(E){const M=Object.keys(E).map(w=>{const I=E[w];return Array.isArray(I)?I.map(J=>`${Ze(w)}=${Ze(J)}`).join("&"):`${Ze(w)}=${Ze(I)}`}).filter(w=>!!w);return M.length?`?${M.join("&")}`:""}(M.queryParams);return`${w}${I}${"string"==typeof M.fragment?`#${function Me(E){return encodeURI(E)}(M.fragment)}`:""}`}}const _i=new dn;function En(E){return E.segments.map(M=>Ie(M)).join("/")}function Vn(E,M){if(!E.hasChildren())return En(E);if(M){const w=E.children[je]?Vn(E.children[je],!1):"",I=[];return te(E.children,(J,Ee)=>{Ee!==je&&I.push(`${Ee}:${Vn(J,!1)}`)}),I.length>0?`${w}(${I.join("//")})`:w}{const w=function Ot(E,M){let w=[];return te(E.children,(I,J)=>{J===je&&(w=w.concat(M(I,J)))}),te(E.children,(I,J)=>{J!==je&&(w=w.concat(M(I,J)))}),w}(E,(I,J)=>J===je?[Vn(E.children[je],!1)]:[`${J}:${Vn(I,!1)}`]);return 1===Object.keys(E.children).length&&null!=E.children[je]?`${En(E)}/${w[0]}`:`${En(E)}/(${w.join("//")})`}}function kt(E){return encodeURIComponent(E).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ze(E){return kt(E).replace(/%3B/gi,";")}function le(E){return kt(E).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function q(E){return decodeURIComponent(E)}function Z(E){return q(E.replace(/\+/g,"%20"))}function Ie(E){return`${le(E.path)}${function ie(E){return Object.keys(E).map(M=>`;${le(M)}=${le(E[M])}`).join("")}(E.parameters)}`}const Qe=/^[^\/()?;=#]+/;function Ct(E){const M=E.match(Qe);return M?M[0]:""}const mt=/^[^=?&#]+/,An=/^[^&#]+/;class Fn{constructor(M){this.url=M,this.remaining=M}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Zt([],{}):new Zt([],this.parseChildren())}parseQueryParams(){const M={};if(this.consumeOptional("?"))do{this.parseQueryParam(M)}while(this.consumeOptional("&"));return M}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const M=[];for(this.peekStartsWith("(")||M.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),M.push(this.parseSegment());let w={};this.peekStartsWith("/(")&&(this.capture("/"),w=this.parseParens(!0));let I={};return this.peekStartsWith("(")&&(I=this.parseParens(!1)),(M.length>0||Object.keys(w).length>0)&&(I[je]=new Zt(M,w)),I}parseSegment(){const M=Ct(this.remaining);if(""===M&&this.peekStartsWith(";"))throw new a.vHH(4009,z);return this.capture(M),new ut(q(M),this.parseMatrixParams())}parseMatrixParams(){const M={};for(;this.consumeOptional(";");)this.parseParam(M);return M}parseParam(M){const w=Ct(this.remaining);if(!w)return;this.capture(w);let I="";if(this.consumeOptional("=")){const J=Ct(this.remaining);J&&(I=J,this.capture(I))}M[q(w)]=q(I)}parseQueryParam(M){const w=function sn(E){const M=E.match(mt);return M?M[0]:""}(this.remaining);if(!w)return;this.capture(w);let I="";if(this.consumeOptional("=")){const Pe=function In(E){const M=E.match(An);return M?M[0]:""}(this.remaining);Pe&&(I=Pe,this.capture(I))}const J=Z(w),Ee=Z(I);if(M.hasOwnProperty(J)){let Pe=M[J];Array.isArray(Pe)||(Pe=[Pe],M[J]=Pe),Pe.push(Ee)}else M[J]=Ee}parseParens(M){const w={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const I=Ct(this.remaining),J=this.remaining[I.length];if("/"!==J&&")"!==J&&";"!==J)throw new a.vHH(4010,z);let Ee;I.indexOf(":")>-1?(Ee=I.slice(0,I.indexOf(":")),this.capture(Ee),this.capture(":")):M&&(Ee=je);const Pe=this.parseChildren();w[Ee]=1===Object.keys(Pe).length?Pe[je]:new Zt([],Pe),this.consumeOptional("//")}return w}peekStartsWith(M){return this.remaining.startsWith(M)}consumeOptional(M){return!!this.peekStartsWith(M)&&(this.remaining=this.remaining.substring(M.length),!0)}capture(M){if(!this.consumeOptional(M))throw new a.vHH(4011,z)}}function ln(E){return E.segments.length>0?new Zt([],{[je]:E}):E}function ct(E){const M={};for(const I of Object.keys(E.children)){const Ee=ct(E.children[I]);(Ee.segments.length>0||Ee.hasChildren())&&(M[I]=Ee)}return function rt(E){if(1===E.numberOfChildren&&E.children[je]){const M=E.children[je];return new Zt(E.segments.concat(M.segments),M.children)}return E}(new Zt(E.segments,M))}function Ke(E){return E instanceof Gt}function Zn(E,M,w,I,J){if(0===w.length)return rr(M.root,M.root,M.root,I,J);const Ee=function kr(E){if("string"==typeof E[0]&&1===E.length&&"/"===E[0])return new $r(!0,0,E);let M=0,w=!1;const I=E.reduce((J,Ee,Pe)=>{if("object"==typeof Ee&&null!=Ee){if(Ee.outlets){const gt={};return te(Ee.outlets,(qt,wn)=>{gt[wn]="string"==typeof qt?qt.split("/"):qt}),[...J,{outlets:gt}]}if(Ee.segmentPath)return[...J,Ee.segmentPath]}return"string"!=typeof Ee?[...J,Ee]:0===Pe?(Ee.split("/").forEach((gt,qt)=>{0==qt&&"."===gt||(0==qt&&""===gt?w=!0:".."===gt?M++:""!=gt&&J.push(gt))}),J):[...J,Ee]},[]);return new $r(w,M,I)}(w);return Ee.toRoot()?rr(M.root,M.root,new Zt([],{}),I,J):function Pe(qt){const wn=function qn(E,M,w,I){if(E.isAbsolute)return new or(M.root,!0,0);if(-1===I)return new or(w,w===M.root,0);return function Ci(E,M,w){let I=E,J=M,Ee=w;for(;Ee>J;){if(Ee-=J,I=I.parent,!I)throw new a.vHH(4005,!1);J=I.segments.length}return new or(I,!1,J-Ee)}(w,I+(li(E.commands[0])?0:1),E.numberOfDoubleDots)}(Ee,M,E.snapshot?._urlSegment,qt),Tn=wn.processChildren?St(wn.segmentGroup,wn.index,Ee.commands):it(wn.segmentGroup,wn.index,Ee.commands);return rr(M.root,wn.segmentGroup,Tn,I,J)}(E.snapshot?._lastPathIndex)}function li(E){return"object"==typeof E&&null!=E&&!E.outlets&&!E.segmentPath}function Zi(E){return"object"==typeof E&&null!=E&&E.outlets}function rr(E,M,w,I,J){let Pe,Ee={};I&&te(I,(qt,wn)=>{Ee[wn]=Array.isArray(qt)?qt.map(Tn=>`${Tn}`):`${qt}`}),Pe=E===M?w:er(E,M,w);const gt=ln(ct(Pe));return new Gt(gt,Ee,J)}function er(E,M,w){const I={};return te(E.children,(J,Ee)=>{I[Ee]=J===M?w:er(J,M,w)}),new Zt(E.segments,I)}class $r{constructor(M,w,I){if(this.isAbsolute=M,this.numberOfDoubleDots=w,this.commands=I,M&&I.length>0&&li(I[0]))throw new a.vHH(4003,!1);const J=I.find(Zi);if(J&&J!==Bt(I))throw new a.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class or{constructor(M,w,I){this.segmentGroup=M,this.processChildren=w,this.index=I}}function it(E,M,w){if(E||(E=new Zt([],{})),0===E.segments.length&&E.hasChildren())return St(E,M,w);const I=function A(E,M,w){let I=0,J=M;const Ee={match:!1,pathIndex:0,commandIndex:0};for(;J<E.segments.length;){if(I>=w.length)return Ee;const Pe=E.segments[J],gt=w[I];if(Zi(gt))break;const qt=`${gt}`,wn=I<w.length-1?w[I+1]:null;if(J>0&&void 0===qt)break;if(qt&&wn&&"object"==typeof wn&&void 0===wn.outlets){if(!on(qt,wn,Pe))return Ee;I+=2}else{if(!on(qt,{},Pe))return Ee;I++}J++}return{match:!0,pathIndex:J,commandIndex:I}}(E,M,w),J=w.slice(I.commandIndex);if(I.match&&I.pathIndex<E.segments.length){const Ee=new Zt(E.segments.slice(0,I.pathIndex),{});return Ee.children[je]=new Zt(E.segments.slice(I.pathIndex),E.children),St(Ee,0,J)}return I.match&&0===J.length?new Zt(E.segments,{}):I.match&&!E.hasChildren()?K(E,M,w):I.match?St(E,0,J):K(E,M,w)}function St(E,M,w){if(0===w.length)return new Zt(E.segments,{});{const I=function Pi(E){return Zi(E[0])?E[0].outlets:{[je]:E}}(w),J={};return te(I,(Ee,Pe)=>{"string"==typeof Ee&&(Ee=[Ee]),null!==Ee&&(J[Pe]=it(E.children[Pe],M,Ee))}),te(E.children,(Ee,Pe)=>{void 0===I[Pe]&&(J[Pe]=Ee)}),new Zt(E.segments,J)}}function K(E,M,w){const I=E.segments.slice(0,M);let J=0;for(;J<w.length;){const Ee=w[J];if(Zi(Ee)){const qt=ke(Ee.outlets);return new Zt(I,qt)}if(0===J&&li(w[0])){I.push(new ut(E.segments[M].path,tt(w[0]))),J++;continue}const Pe=Zi(Ee)?Ee.outlets[je]:`${Ee}`,gt=J<w.length-1?w[J+1]:null;Pe&>&&li(gt)?(I.push(new ut(Pe,tt(gt))),J+=2):(I.push(new ut(Pe,{})),J++)}return new Zt(I,{})}function ke(E){const M={};return te(E,(w,I)=>{"string"==typeof w&&(w=[w]),null!==w&&(M[I]=K(new Zt([],{}),0,w))}),M}function tt(E){const M={};return te(E,(w,I)=>M[I]=`${w}`),M}function on(E,M,w){return E==w.path&&Xe(M,w.parameters)}class Ln{constructor(M,w){this.id=M,this.url=w}}class si extends Ln{constructor(M,w,I="imperative",J=null){super(M,w),this.type=0,this.navigationTrigger=I,this.restoredState=J}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class wi extends Ln{constructor(M,w,I){super(M,w),this.urlAfterRedirects=I,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Xn extends Ln{constructor(M,w,I,J){super(M,w),this.reason=I,this.code=J,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Fi extends Ln{constructor(M,w,I,J){super(M,w),this.error=I,this.target=J,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ni extends Ln{constructor(M,w,I,J){super(M,w),this.urlAfterRedirects=I,this.state=J,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yn extends Ln{constructor(M,w,I,J){super(M,w),this.urlAfterRedirects=I,this.state=J,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ar extends Ln{constructor(M,w,I,J,Ee){super(M,w),this.urlAfterRedirects=I,this.state=J,this.shouldActivate=Ee,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Gr extends Ln{constructor(M,w,I,J){super(M,w),this.urlAfterRedirects=I,this.state=J,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Uo extends Ln{constructor(M,w,I,J){super(M,w),this.urlAfterRedirects=I,this.state=J,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vr{constructor(M){this.route=M,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class sr{constructor(M){this.route=M,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Tr{constructor(M){this.snapshot=M,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zr{constructor(M){this.snapshot=M,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xr{constructor(M){this.snapshot=M,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class eo{constructor(M){this.snapshot=M,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Li{constructor(M,w,I){this.routerEvent=M,this.position=w,this.anchor=I,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class yo{constructor(M){this._root=M}get root(){return this._root.value}
1parent(M){const w=this.pathFromRoot(M);return w.length>1?w[w.length-2]:null}children(M){const w=Ir(M,this._root);return w?w.children.map(I=>I.value):[]}firstChild(M){const w=Ir(M,this._root);return w&&w.children.length>0?w.children[0].value:null}siblings(M){const w=Di(M,this._root);return w.length<2?[]:w[w.length-2].children.map(J=>J.value).filter(J=>J!==M)}pathFromRoot(M){return Di(M,this._root).map(w=>w.value)}}function Ir(E,M){if(E===M.value)return M;for(const w of M.children){const I=Ir(E,w);if(I)return I}return null}function Di(E,M){if(E===M.value)return[M];for(const w of M.children){const I=Di(E,w);if(I.length)return I.unshift(M),I}return[]}class qi{constructor(M,w){this.value=M,this.children=w}toString(){return`TreeNode(${this.value})`}}function lr(E){const M={};return E&&E.children.forEach(w=>M[w.value.outlet]=w),M}class Wi extends yo{constructor(M,w){super(M),this.snapshot=w,Ti(this,M)}toString(){return this.snapshot.toString()}}function Xi(E,M){const w=function uo(E,M){const Pe=new mr([],{},{},"",{},je,M,null,E.root,-1,{});return new xo("",new qi(Pe,[]))}(E,M),I=new Y.X([new ut("",{})]),J=new Y.X({}),Ee=new Y.X({}),Pe=new Y.X({}),gt=new Y.X(""),qt=new yi(I,J,Pe,gt,Ee,je,M,w.root);return qt.snapshot=w.root,new Wi(new qi(qt,[]),w)}class yi{constructor(M,w,I,J,Ee,Pe,gt,qt){this.url=M,this.params=w,this.queryParams=I,this.fragment=J,this.data=Ee,this.outlet=Pe,this.component=gt,this.title=this.data?.pipe((0,$e.U)(wn=>wn[Ft]))??(0,C.of)(void 0),this._futureSnapshot=qt}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._paramMap=this.params.pipe((0,$e.U)(M=>$(M)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,$e.U)(M=>$(M)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function hr(E,M="emptyOnly"){const w=E.pathFromRoot;let I=0;if("always"!==M)for(I=w.length-1;I>=1;){const J=w[I],Ee=w[I-1];if(J.routeConfig&&""===J.routeConfig.path)I--;else{if(Ee.component)break;I--}}return function To(E){return E.reduce((M,w)=>({params:{...M.params,...w.params},data:{...M.data,...w.data},resolve:{...w.data,...M.resolve,...w.routeConfig?.data,...w._resolvedData}}),{params:{},data:{},resolve:{}})}(w.slice(I))}class mr{constructor(M,w,I,J,Ee,Pe,gt,qt,wn,Tn,ui){this.url=M,this.params=w,this.queryParams=I,this.fragment=J,this.data=Ee,this.outlet=Pe,this.component=gt,this.routeConfig=qt,this._urlSegment=wn,this._lastPathIndex=Tn,this._resolve=ui}get title(){return this.data?.[Ft]}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._paramMap=$(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(I=>I.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xo extends yo{constructor(M,w){super(w),this.url=M,Ti(this,w)}toString(){return Io(this._root)}}function Ti(E,M){M.value._routerState=E,M.children.forEach(w=>Ti(E,w))}function Io(E){const M=E.children.length>0?` { ${E.children.map(Io).join(", ")} } `:"";return`${E.value}${M}`}function Ur(E){if(E.snapshot){const M=E.snapshot,w=E._futureSnapshot;E.snapshot=w,Xe(M.queryParams,w.queryParams)||E.queryParams.next(w.queryParams),M.fragment!==w.fragment&&E.fragment.next(w.fragment),Xe(M.params,w.params)||E.params.next(w.params),function pe(E,M){if(E.length!==M.length)return!1;for(let w=0;w<E.length;++w)if(!Xe(E[w],M[w]))return!1;return!0}(M.url,w.url)||E.url.next(w.url),Xe(M.data,w.data)||E.data.next(w.data)}else E.snapshot=E._futureSnapshot,E.data.next(E._futureSnapshot.data)}function Ho(E,M){const w=Xe(E.params,M.params)&&function Wt(E,M){return bt(E,M)&&E.every((w,I)=>Xe(w.parameters,M[I].parameters))}(E.url,M.url);return w&&!(!E.parent!=!M.parent)&&(!E.parent||Ho(E.parent,M.parent))}function Or(E,M,w){if(w&&E.shouldReuseRoute(M.value,w.value.snapshot)){const I=w.value;I._futureSnapshot=M.value;const J=function wo(E,M,w){return M.children.map(I=>{for(const J of w.children)if(E.shouldReuseRoute(I.value,J.value.snapshot))return Or(E,I,J);return Or(E,I)})}(E,M,w);return new qi(I,J)}{if(E.shouldAttach(M.value)){const Ee=E.retrieve(M.value);if(null!==Ee){const Pe=Ee.route;return Pe.value._futureSnapshot=M.value,Pe.children=M.children.map(gt=>Or(E,gt)),Pe}}const I=function no(E){return new yi(new Y.X(E.url),new Y.X(E.params),new Y.X(E.queryParams),new Y.X(E.fragment),new Y.X(E.data),E.outlet,E.component,E)}(M.value),J=M.children.map(Ee=>Or(E,Ee));return new qi(I,J)}}const Co="ngNavigationCancelingError";function ho(E,M){const{redirectTo:w,navigationBehaviorOptions:I}=Ke(M)?{redirectTo:M,navigationBehaviorOptions:void 0}:M,J=fr(!1,0,M);return J.url=w,J.navigationBehaviorOptions=I,J}function fr(E,M,w){const I=new Error("NavigationCancelingError: "+(E||""));return I[Co]=!0,I.cancellationCode=M,w&&(I.url=w),I}
1function Do(E){return Mr(E)&&Ke(E.url)}function Mr(E){return E&&E[Co]}class vr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Hr,this.attachRef=null}}let Hr=(()=>{class E{constructor(){this.contexts=new Map}onChildOutletCreated(w,I){const J=this.getOrCreateContext(w);J.outlet=I,this.contexts.set(w,J)}onChildOutletDestroyed(w){const I=this.getContext(w);I&&(I.outlet=null,I.attachRef=null)}onOutletDeactivated(){const w=this.contexts;return this.contexts=new Map,w}onOutletReAttached(w){this.contexts=w}getOrCreateContext(w){let I=this.getContext(w);return I||(I=new vr,this.contexts.set(w,I)),I}getContext(w){return this.contexts.get(w)||null}}return E.\u0275fac=function(w){return new(w||E)},E.\u0275prov=a.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const ht=!1;let pt=(()=>{class E{constructor(){this.activated=null,this._activatedRoute=null,this.name=je,this.activateEvents=new a.vpe,this.deactivateEvents=new a.vpe,this.attachEvents=new a.vpe,this.detachEvents=new a.vpe,this.parentContexts=(0,a.f3M)(Hr),this.location=(0,a.f3M)(a.s_b),this.changeDetector=(0,a.f3M)(a.sBO),this.environmentInjector=(0,a.f3M)(a.lqb)}ngOnChanges(w){if(w.name){const{firstChange:I,previousValue:J}=w.name;if(I)return;this.isTrackedInParentContexts(J)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(J)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(w){return this.parentContexts.getContext(w)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const w=this.parentContexts.getContext(this.name);w?.route&&(w.attachRef?this.attach(w.attachRef,w.route):this.activateWith(w.route,w.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new a.vHH(4012,ht);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new a.vHH(4012,ht);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new a.vHH(4012,ht);this.location.detach();const w=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(w.instance),w}attach(w,I){this.activated=w,this._activatedRoute=I,this.location.insert(w.hostView),this.attachEvents.emit(w.instance)}deactivate(){if(this.activated){const w=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(w)}}activateWith(w,I){if(this.isActivated)throw new a.vHH(4013,ht);this._activatedRoute=w;const J=this.location,Pe=w.snapshot.component,gt=this.parentContexts.getOrCreateContext(this.name).children,qt=new Tt(w,gt,J.injector);if(I&&function Kt(E){return!!E.resolveComponentFactory}(I)){const wn=I.resolveComponentFactory(Pe);this.activated=J.createComponent(wn,J.length,qt)}else this.activated=J.createComponent(Pe,{index:J.length,injector:qt,environmentInjector:I??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return E.\u0275fac=function(w){return new(w||E)},E.\u0275dir=a.lG2({type:E,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[a.TTD]}),E})();class Tt{constructor(M,w,I){this.route=M,this.childContexts=w,this.parent=I}get(M,w){return M===yi?this.route:M===Hr?this.childContexts:this.parent.get(M,w)}}let nn=(()=>{class E{}return E.\u0275fac=function(w){return new(w||E)},E.\u0275cmp=a.Xpm({type:E,selectors:[["ng-component"]],standalone:!0,features:[a.jDz],decls:1,vars:0,template:function(w,I){1&w&&a._UZ(0,"router-outlet")},dependencies:[pt],encapsulation:2}),E})();function yn(E,M){return E.providers&&!E._injector&&(E._injector=(0,a.MMx)(E.providers,M,`Route: ${E.path}`)),E._injector??M}function gr(E){const M=E.children&&E.children.map(gr),w=M?{...E,children:M}:{...E};return!w.component&&!w.loadComponent&&(M||w.loadChildren)&&w.outlet&&w.outlet!==je&&(w.component=nn),w}function Ei(E){return E.outlet||je}function gi(E,M){const w=E.filter(I=>Ei(I)===M);return w.push(...E.filter(I=>Ei(I)!==M)),w}function $i(E){if(!E)return null;
1if(E.routeConfig?._injector)return E.routeConfig._injector;for(let M=E.parent;M;M=M.parent){const w=M.routeConfig;if(w?._loadedInjector)return w._loadedInjector;if(w?._injector)return w._injector}return null}class Wn{constructor(M,w,I,J){this.routeReuseStrategy=M,this.futureState=w,this.currState=I,this.forwardEvent=J}activate(M){const w=this.futureState._root,I=this.currState?this.currState._root:null;this.deactivateChildRoutes(w,I,M),Ur(this.futureState.root),this.activateChildRoutes(w,I,M)}deactivateChildRoutes(M,w,I){const J=lr(w);M.children.forEach(Ee=>{const Pe=Ee.value.outlet;this.deactivateRoutes(Ee,J[Pe],I),delete J[Pe]}),te(J,(Ee,Pe)=>{this.deactivateRouteAndItsChildren(Ee,I)})}deactivateRoutes(M,w,I){const J=M.value,Ee=w?w.value:null;if(J===Ee)if(J.component){const Pe=I.getContext(J.outlet);Pe&&this.deactivateChildRoutes(M,w,Pe.children)}else this.deactivateChildRoutes(M,w,I);else Ee&&this.deactivateRouteAndItsChildren(w,I)}deactivateRouteAndItsChildren(M,w){M.value.component&&this.routeReuseStrategy.shouldDetach(M.value.snapshot)?this.detachAndStoreRouteSubtree(M,w):this.deactivateRouteAndOutlet(M,w)}detachAndStoreRouteSubtree(M,w){const I=w.getContext(M.value.outlet),J=I&&M.value.component?I.children:w,Ee=lr(M);for(const Pe of Object.keys(Ee))this.deactivateRouteAndItsChildren(Ee[Pe],J);if(I&&I.outlet){const Pe=I.outlet.detach(),gt=I.children.onOutletDeactivated();this.routeReuseStrategy.store(M.value.snapshot,{componentRef:Pe,route:M,contexts:gt})}}deactivateRouteAndOutlet(M,w){const I=w.getContext(M.value.outlet),J=I&&M.value.component?I.children:w,Ee=lr(M);for(const Pe of Object.keys(Ee))this.deactivateRouteAndItsChildren(Ee[Pe],J);I&&I.outlet&&(I.outlet.deactivate(),I.children.onOutletDeactivated(),I.attachRef=null,I.resolver=null,I.route=null)}activateChildRoutes(M,w,I){const J=lr(w);M.children.forEach(Ee=>{this.activateRoutes(Ee,J[Ee.value.outlet],I),this.forwardEvent(new eo(Ee.value.snapshot))}),M.children.length&&this.forwardEvent(new Zr(M.value.snapshot))}activateRoutes(M,w,I){const J=M.value,Ee=w?w.value:null;if(Ur(J),J===Ee)if(J.component){const Pe=I.getOrCreateContext(J.outlet);this.activateChildRoutes(M,w,Pe.children)}else this.activateChildRoutes(M,w,I);else if(J.component){const Pe=I.getOrCreateContext(J.outlet);if(this.routeReuseStrategy.shouldAttach(J.snapshot)){const gt=this.routeReuseStrategy.retrieve(J.snapshot);this.routeReuseStrategy.store(J.snapshot,null),Pe.children.onOutletReAttached(gt.contexts),Pe.attachRef=gt.componentRef,Pe.route=gt.route.value,Pe.outlet&&Pe.outlet.attach(gt.componentRef,gt.route.value),Ur(gt.route.value),this.activateChildRoutes(M,null,Pe.children)}else{const gt=$i(J.snapshot),qt=gt?.get(a._Vd)??null;Pe.attachRef=null,Pe.route=J,Pe.resolver=qt,Pe.injector=gt,Pe.outlet&&Pe.outlet.activateWith(J,Pe.injector),this.activateChildRoutes(M,null,Pe.children)}}else this.activateChildRoutes(M,null,I)}}class di{constructor(M){this.path=M,this.route=this.path[this.path.length-1]}}class Qi{constructor(M,w){this.component=M,this.route=w}}function cr(E,M,w){const I=E._root;return Mi(I,M?M._root:null,w,[I.value])}function Vi(E,M){const w=Symbol(),I=M.get(E,w);return I===w?"function"!=typeof E||(0,a.Z0I)(E)?M.get(E):E:I}function Mi(E,M,w,I,J={canDeactivateChecks:[],canActivateChecks:[]}){const Ee=lr(M);return E.children.forEach(Pe=>{(function Oo(E,M,w,I,J={canDeactivateChecks:[],canActivateChecks:[]}){const Ee=E.value,Pe=M?M.value:null,gt=w?w.getContext(E.value.outlet):null;if(Pe&&Ee.routeConfig===Pe.routeConfig){const qt=function Wr(E,M,w){if("function"==typeof w)return w(E,M);switch(w){case"pathParamsChange":return!bt(E.url,M.url);case"pathParamsOrQueryParamsChange":return!bt(E.url,M.url)||!Xe(E.queryParams,M.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ho(E,M)||!Xe(E.queryParams,M.queryParams);default:return!Ho(E,M)}}(Pe,Ee,Ee.routeConfig.runGuardsAndResolvers);qt?J.canActivateChecks.push(new di(I)):(Ee.data=Pe.data,Ee._resolvedData=Pe._resolvedData),Mi(E,M,Ee.component?gt?gt.children:null:w,I,J),qt&>&>.outlet&>.outlet.isActivated&&J.canDeactivateChecks.push(new Qi(gt.outlet.component,Pe))}else Pe&&hn(M,gt,J),J.canActivateChecks.push(new di(I)),Mi(E,null,Ee.component?gt?gt.children:null:w,I,J)})(Pe,Ee[Pe.value.outlet],w,I.concat([Pe.value]),J),delete Ee[Pe.value.outlet]}),te(Ee,(Pe,gt)=>hn(Pe,w.getContext(gt),J)),J}function hn(E,M,w){const I=lr(E),J=E.value;te(I,(Ee,Pe)=>{hn(Ee,J.component?M?M.children.getContext(Pe):null:M,w)}),w.canDeactivateChecks.push(new Qi(J.component&&M&&M.outlet&&M.outlet.isActivated?M.outlet.component:null,J))}function Ii(E){return"function"==typeof E}function H(E){return E instanceof e.K||"EmptyError"===E?.name}const P=Symbol("INITIAL_VALUE");function ye(){return(0,fe.w)(E=>(0,ee.a)(E.map(M=>M.pipe((0,ue.q)(1),(0,be.O)(P)))).pipe((0,$e.U)(M=>{for(const w of M)if(!0!==w){if(w===P)return P;if(!1===w||w instanceof Gt)return w}return!0}),(0,se.h)(M=>M!==P),(0,ue.q)(1)))}function Gn(E){return(0,X.z)((0,Ue.b)(M=>{if(Ke(M))throw ho(0,M)}),(0,$e.U)(M=>!0===M))}const Ji={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ai(E,M,w,I,J){const Ee=fo(E,M,w);return Ee.matched?function Yo(E,M,w,I){const J=M.canMatch;if(!J||0===J.length)return(0,C.of)(!0);const Ee=J.map(Pe=>{const gt=Vi(Pe,E);return N(function zo(E){return E&&Ii(E.canMatch)}(gt)?gt.canMatch(M,w):E.runInContext(()=>gt(M,w)))});return(0,C.of)(Ee).pipe(ye(),Gn())}(I=yn(M,I),M,w).pipe((0,$e.U)(Pe=>!0===Pe?Ee:{...Ji})):(0,C.of)(Ee)}function fo(E,M,w){if(""===M.path)return"full"===M.pathMatch&&(E.hasChildren()||w.length>0)?{...Ji}:{matched:!0,consumedSegments:[],remainingSegments:w,parameters:{},positionalParamSegments:{}};const J=(M.matcher||ve)(w,E,M);if(!J)return{...Ji};const Ee={};te(J.posParams,(gt,qt)=>{Ee[qt]=gt.path});const Pe=J.consumed.length>0?{...Ee,...J.consumed[J.consumed.length-1].parameters}:Ee;return{matched:!0,consumedSegments:J.consumed,remainingSegments:w.slice(J.consumed.length),parameters:Pe,positionalParamSegments:J.posParams??{}}}function po(E,M,w,I){if(w.length>0&&function Jo(E,M,w){return w.some(I=>_o(E,M,I)&&Ei(I)!==je)}(E,w,I)){const Ee=new Zt(M,function go(E,M,w,I){const J={};J[je]=I,I._sourceSegment=E,I._segmentIndexShift=M.length;for(const Ee of w)if(""===Ee.path&&Ei(Ee)!==je){const Pe=new Zt([],{});Pe._sourceSegment=E,Pe._segmentIndexShift=M.length,J[Ei(Ee)]=Pe}return J}(E,M,I,new Zt(w,E.children)));return Ee._sourceSegment=E,Ee._segmentIndexShift=M.length,{segmentGroup:Ee,slicedSegments:[]}}if(0===w.length&&function Ua(E,M,w){return w.some(I=>_o(E,M,I))}(E,w,I)){const Ee=new Zt(E.segments,function wr(E,M,w,I,J){const Ee={};
1for(const Pe of I)if(_o(E,w,Pe)&&!J[Ei(Pe)]){const gt=new Zt([],{});gt._sourceSegment=E,gt._segmentIndexShift=M.length,Ee[Ei(Pe)]=gt}return{...J,...Ee}}(E,M,w,I,E.children));return Ee._sourceSegment=E,Ee._segmentIndexShift=M.length,{segmentGroup:Ee,slicedSegments:w}}const J=new Zt(E.segments,E.children);return J._sourceSegment=E,J._segmentIndexShift=M.length,{segmentGroup:J,slicedSegments:w}}function _o(E,M,w){return(!(E.hasChildren()||M.length>0)||"full"!==w.pathMatch)&&""===w.path}function Go(E,M,w,I){return!!(Ei(E)===I||I!==je&&_o(M,w,E))&&("**"===E.path||fo(M,E,w).matched)}function qo(E,M,w){return 0===M.length&&!E.children[w]}const ji=!1;class Pr{constructor(M){this.segmentGroup=M||null}}class va{constructor(M){this.urlTree=M}}function bo(E){return(0,W._)(new Pr(E))}function io(E){return(0,W._)(new va(E))}class ya{constructor(M,w,I,J,Ee){this.injector=M,this.configLoader=w,this.urlSerializer=I,this.urlTree=J,this.config=Ee,this.allowRedirects=!0}apply(){const M=po(this.urlTree.root,[],[],this.config).segmentGroup,w=new Zt(M.segments,M.children);return this.expandSegmentGroup(this.injector,this.config,w,je).pipe((0,$e.U)(Ee=>this.createUrlTree(ct(Ee),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,V.K)(Ee=>{if(Ee instanceof va)return this.allowRedirects=!1,this.match(Ee.urlTree);throw Ee instanceof Pr?this.noMatchError(Ee):Ee}))}match(M){return this.expandSegmentGroup(this.injector,this.config,M.root,je).pipe((0,$e.U)(J=>this.createUrlTree(ct(J),M.queryParams,M.fragment))).pipe((0,V.K)(J=>{throw J instanceof Pr?this.noMatchError(J):J}))}noMatchError(M){return new a.vHH(4002,ji)}createUrlTree(M,w,I){const J=ln(M);return new Gt(J,w,I)}expandSegmentGroup(M,w,I,J){return 0===I.segments.length&&I.hasChildren()?this.expandChildren(M,w,I).pipe((0,$e.U)(Ee=>new Zt([],Ee))):this.expandSegment(M,I,w,I.segments,J,!0)}expandChildren(M,w,I){const J=[];for(const Ee of Object.keys(I.children))"primary"===Ee?J.unshift(Ee):J.push(Ee);return(0,p.D)(J).pipe((0,De.b)(Ee=>{const Pe=I.children[Ee],gt=gi(w,Ee);return this.expandSegmentGroup(M,gt,Pe,Ee).pipe((0,$e.U)(qt=>({segment:qt,outlet:Ee})))}),me((Ee,Pe)=>(Ee[Pe.outlet]=Pe.segment,Ee),{}),Mt())}expandSegment(M,w,I,J,Ee,Pe){return(0,p.D)(I).pipe((0,De.b)(gt=>this.expandSegmentAgainstRoute(M,w,I,gt,J,Ee,Pe).pipe((0,V.K)(wn=>{if(wn instanceof Pr)return(0,C.of)(null);throw wn}))),(0,ne.P)(gt=>!!gt),(0,V.K)((gt,qt)=>{if(H(gt))return qo(w,J,Ee)?(0,C.of)(new Zt([],{})):bo(w);throw gt}))}expandSegmentAgainstRoute(M,w,I,J,Ee,Pe,gt){return Go(J,w,Ee,Pe)?void 0===J.redirectTo?this.matchSegmentAgainstRoute(M,w,J,Ee,Pe):gt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(M,w,I,J,Ee,Pe):bo(w):bo(w)}expandSegmentAgainstRouteUsingRedirect(M,w,I,J,Ee,Pe){return"**"===J.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(M,I,J,Pe):this.expandRegularSegmentAgainstRouteUsingRedirect(M,w,I,J,Ee,Pe)}expandWildCardWithParamsAgainstRouteUsingRedirect(M,w,I,J){const Ee=this.applyRedirectCommands([],I.redirectTo,{});return I.redirectTo.startsWith("/")?io(Ee):this.lineralizeSegments(I,Ee).pipe((0,j.z)(Pe=>{const gt=new Zt(Pe,{});return this.expandSegment(M,gt,w,Pe,J,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(M,w,I,J,Ee,Pe){const{matched:gt,consumedSegments:qt,remainingSegments:wn,positionalParamSegments:Tn}=fo(w,J,Ee);if(!gt)return bo(w);const ui=this.applyRedirectCommands(qt,J.redirectTo,Tn);return J.redirectTo.startsWith("/")?io(ui):this.lineralizeSegments(J,ui).pipe((0,j.z)(vi=>this.expandSegment(M,w,I,vi.concat(wn),Pe,!1)))}matchSegmentAgainstRoute(M,w,I,J,Ee){return"**"===I.path?(M=yn(I,M),I.loadChildren?(I._loadedRoutes?(0,C.of)({routes:I._loadedRoutes,injector:I._loadedInjector}):this.configLoader.loadChildren(M,I)).pipe((0,$e.U)(gt=>(I._loadedRoutes=gt.routes,I._loadedInjector=gt.injector,new Zt(J,{})))):(0,C.of)(new Zt(J,{}))):Ai(w,I,J,M).pipe((0,fe.w)(({matched:Pe,consumedSegments:gt,remainingSegments:qt})=>Pe?this.getChildConfig(M=I._injector??M,I,J).pipe((0,j.z)(Tn=>{const ui=Tn.injector??M,vi=Tn.routes,{segmentGroup:ao,slicedSegments:$o}=po(w,gt,qt,vi),Bo=new Zt(ao.segments,ao.children);if(0===$o.length&&Bo.hasChildren())return this.expandChildren(ui,vi,Bo).pipe((0,$e.U)(nl=>new Zt(gt,nl)));if(0===vi.length&&0===$o.length)return(0,C.of)(new Zt(gt,{}));const _r=Ei(I)===Ee;return this.expandSegment(ui,Bo,vi,$o,_r?je:Ee,!0).pipe((0,$e.U)(hs=>new Zt(gt.concat(hs.segments),hs.children)))})):bo(w)))}getChildConfig(M,w,I){return w.children?(0,C.of)({routes:w.children,injector:M}):w.loadChildren?void 0!==w._loadedRoutes?(0,C.of)({routes:w._loadedRoutes,injector:w._loadedInjector}):function en(E,M,w,I){const J=M.canLoad;if(void 0===J||0===J.length)return(0,C.of)(!0);const Ee=J.map(Pe=>{const gt=Vi(Pe,E);return N(function jo(E){return E&&Ii(E.canLoad)}(gt)?gt.canLoad(M,w):E.runInContext(()=>gt(M,w)))});return(0,C.of)(Ee).pipe(ye(),Gn())}(M,w,I).pipe((0,j.z)(J=>J?this.configLoader.loadChildren(M,w).pipe((0,Ue.b)(Ee=>{w._loadedRoutes=Ee.routes,w._loadedInjector=Ee.injector})):function Xo(E){return(0,W._)(fr(ji,3))}())):(0,C.of)({routes:[],injector:M})}lineralizeSegments(M,w){let I=[],J=w.root;for(;;){if(I=I.concat(J.segments),0===J.numberOfChildren)return(0,C.of)(I);if(J.numberOfChildren>1||!J.children[je])return(0,W._)(new a.vHH(4e3,ji));J=J.children[je]}}applyRedirectCommands(M,w,I){return this.applyRedirectCreateUrlTree(w,this.urlSerializer.parse(w),M,I)}applyRedirectCreateUrlTree(M,w,I,J){const Ee=this.createSegmentGroup(M,w.root,I,J);return new Gt(Ee,this.createQueryParams(w.queryParams,this.urlTree.queryParams),w.fragment)}createQueryParams(M,w){const I={};return te(M,(J,Ee)=>{if("string"==typeof J&&J.startsWith(":")){const gt=J.substring(1);I[Ee]=w[gt]}else I[Ee]=J}),I}createSegmentGroup(M,w,I,J){const Ee=this.createSegments(M,w.segments,I,J);let Pe={};return te(w.children,(gt,qt)=>{Pe[qt]=this.createSegmentGroup(M,gt,I,J)}),new Zt(Ee,Pe)}createSegments(M,w,I,J){return w.map(Ee=>Ee.path.startsWith(":")?this.findPosParam(M,Ee,J):this.findOrReturn(Ee,I))}findPosParam(M,w,I){const J=I[w.path.substring(1)];if(!J)throw new a.vHH(4001,ji);return J}findOrReturn(M,w){let I=0;for(const J of w){if(J.path===M.path)return w.splice(I),J;I++}return M}}class ta{}class Ma{constructor(M,w,I,J,Ee,Pe,gt){this.injector=M,this.rootComponentType=w,this.config=I,this.urlTree=J,this.url=Ee,this.paramsInheritanceStrategy=Pe,this.urlSerializer
1=gt}recognize(){const M=po(this.urlTree.root,[],[],this.config.filter(w=>void 0===w.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,M,je).pipe((0,$e.U)(w=>{if(null===w)return null;const I=new mr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},je,this.rootComponentType,null,this.urlTree.root,-1,{}),J=new qi(I,w),Ee=new xo(this.url,J);return this.inheritParamsAndData(Ee._root),Ee}))}inheritParamsAndData(M){const w=M.value,I=hr(w,this.paramsInheritanceStrategy);w.params=Object.freeze(I.params),w.data=Object.freeze(I.data),M.children.forEach(J=>this.inheritParamsAndData(J))}processSegmentGroup(M,w,I,J){return 0===I.segments.length&&I.hasChildren()?this.processChildren(M,w,I):this.processSegment(M,w,I,I.segments,J)}processChildren(M,w,I){return(0,p.D)(Object.keys(I.children)).pipe((0,De.b)(J=>{const Ee=I.children[J],Pe=gi(w,J);return this.processSegmentGroup(M,Pe,Ee,J)}),me((J,Ee)=>J&&Ee?(J.push(...Ee),J):null),(0,wt.o)(J=>null!==J),(0,dt.d)(null),Mt(),(0,$e.U)(J=>{if(null===J)return null;const Ee=xa(J);return function vo(E){E.sort((M,w)=>M.value.outlet===je?-1:w.value.outlet===je?1:M.value.outlet.localeCompare(w.value.outlet))}(Ee),Ee}))}processSegment(M,w,I,J,Ee){return(0,p.D)(w).pipe((0,De.b)(Pe=>this.processSegmentAgainstRoute(Pe._injector??M,Pe,I,J,Ee)),(0,ne.P)(Pe=>!!Pe),(0,V.K)(Pe=>{if(H(Pe))return qo(I,J,Ee)?(0,C.of)([]):(0,C.of)(null);throw Pe}))}processSegmentAgainstRoute(M,w,I,J,Ee){if(w.redirectTo||!Go(w,I,J,Ee))return(0,C.of)(null);let Pe;if("**"===w.path){const gt=J.length>0?Bt(J).parameters:{},qt=wa(I)+J.length,wn=new mr(J,gt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,g(w),Ei(w),w.component??w._loadedComponent??null,w,na(I),qt,u(w));Pe=(0,C.of)({snapshot:wn,consumedSegments:[],remainingSegments:[]})}else Pe=Ai(I,w,J,M).pipe((0,$e.U)(({matched:gt,consumedSegments:qt,remainingSegments:wn,parameters:Tn})=>{if(!gt)return null;const ui=wa(I)+qt.length;return{snapshot:new mr(qt,Tn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,g(w),Ei(w),w.component??w._loadedComponent??null,w,na(I),ui,u(w)),consumedSegments:qt,remainingSegments:wn}}));return Pe.pipe((0,fe.w)(gt=>{if(null===gt)return(0,C.of)(null);const{snapshot:qt,consumedSegments:wn,remainingSegments:Tn}=gt;M=w._injector??M;const ui=w._loadedInjector??M,vi=function Mo(E){return E.children?E.children:E.loadChildren?E._loadedRoutes:[]}(w),{segmentGroup:ao,slicedSegments:$o}=po(I,wn,Tn,vi.filter(_r=>void 0===_r.redirectTo));if(0===$o.length&&ao.hasChildren())return this.processChildren(ui,vi,ao).pipe((0,$e.U)(_r=>null===_r?null:[new qi(qt,_r)]));if(0===vi.length&&0===$o.length)return(0,C.of)([new qi(qt,[])]);const Bo=Ei(w)===Ee;return this.processSegment(ui,vi,ao,$o,Bo?je:Ee).pipe((0,$e.U)(_r=>null===_r?null:[new qi(qt,_r)]))}))}}function Ar(E){const M=E.value.routeConfig;return M&&""===M.path&&void 0===M.redirectTo}function xa(E){const M=[],w=new Set;for(const I of E){if(!Ar(I)){M.push(I);continue}const J=M.find(Ee=>I.value.routeConfig===Ee.value.routeConfig);void 0!==J?(J.children.push(...I.children),w.add(J)):M.push(I)}for(const I of w){const J=xa(I.children);M.push(new qi(I.value,J))}return M.filter(I=>!w.has(I))}function na(E){let M=E;for(;M._sourceSegment;)M=M._sourceSegment;return M}function wa(E){let M=E,w=M._segmentIndexShift??0;for(;M._sourceSegment;)M=M._sourceSegment,w+=M._segmentIndexShift??0;return w-1}function g(E){return E.data||{}}function u(E){return E.resolve||{}}function Dt(E){return"string"==typeof E.title||null===E.title}function $t(E){return(0,fe.w)(M=>{const w=E(M);return w?(0,p.D)(w).pipe((0,$e.U)(()=>M)):(0,C.of)(M)})}const Sn=new a.OlP("ROUTES");let vn=(()=>{class E{constructor(w,I){this.injector=w,this.compiler=I,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(w){if(this.componentLoaders.get(w))return this.componentLoaders.get(w);if(w._loadedComponent)return(0,C.of)(w._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(w);const I=N(w.loadComponent()).pipe((0,$e.U)(Rn),(0,Ue.b)(Ee=>{this.onLoadEndListener&&this.onLoadEndListener(w),w._loadedComponent=Ee}),(0,Lt.x)(()=>{this.componentLoaders.delete(w)})),J=new _e.c(I,()=>new ge.x).pipe((0,ft.x)());return this.componentLoaders.set(w,J),J}loadChildren(w,I){if(this.childrenLoaders.get(I))return this.childrenLoaders.get(I);if(I._loadedRoutes)return(0,C.of)({routes:I._loadedRoutes,injector:I._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(I);const Ee=this.loadModuleFactoryOrRoutes(I.loadChildren).pipe((0,$e.U)(gt=>{this.onLoadEndListener&&this.onLoadEndListener(I);let qt,wn,Tn=!1;Array.isArray(gt)?wn=gt:(qt=gt.create(w).injector,wn=lt(qt.get(Sn,[],a.XFs.Self|a.XFs.Optional)));return{routes:wn.map(gr),injector:qt}}),(0,Lt.x)(()=>{this.childrenLoaders.delete(I)})),Pe=new _e.c(Ee,()=>new ge.x).pipe((0,ft.x)());return this.childrenLoaders.set(I,Pe),Pe}loadModuleFactoryOrRoutes(w){return N(w()).pipe((0,$e.U)(Rn),(0,j.z)(J=>J instanceof a.YKP||Array.isArray(J)?(0,C.of)(J):(0,p.D)(this.compiler.compileModuleAsync(J))))}}return E.\u0275fac=function(w){return new(w||E)(a.LFG(a.zs3),a.LFG(a.Sil))},E.\u0275prov=a.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();function Rn(E){return function Dn(E){return E&&"object"==typeof E&&"default"in E}(E)?E.default:E}
1let ci=(()=>{class E{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new ge.x,this.configLoader=(0,a.f3M)(vn),this.environmentInjector=(0,a.f3M)(a.lqb),this.urlSerializer=(0,a.f3M)(fn),this.rootContexts=(0,a.f3M)(Hr),this.navigationId=0,this.configLoader.onLoadEndListener=J=>this.events.next(new sr(J)),this.configLoader.onLoadStartListener=J=>this.events.next(new Vr(J))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(w){const I=++this.navigationId;this.transitions?.next({...this.transitions.value,...w,id:I})}setupNavigations(w){return this.transitions=new Y.X({id:0,targetPageId:0,currentUrlTree:w.currentUrlTree,currentRawUrl:w.currentUrlTree,extractedUrl:w.urlHandlingStrategy.extract(w.currentUrlTree),urlAfterRedirects:w.urlHandlingStrategy.extract(w.currentUrlTree),rawUrl:w.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:w.routerState.snapshot,targetSnapshot:null,currentRouterState:w.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,se.h)(I=>0!==I.id),(0,$e.U)(I=>({...I,extractedUrl:w.urlHandlingStrategy.extract(I.rawUrl)})),(0,fe.w)(I=>{let J=!1,Ee=!1;return(0,C.of)(I).pipe((0,Ue.b)(Pe=>{this.currentNavigation={id:Pe.id,initialUrl:Pe.rawUrl,extractedUrl:Pe.extractedUrl,trigger:Pe.source,extras:Pe.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,fe.w)(Pe=>{const gt=w.browserUrlTree.toString(),qt=!w.navigated||Pe.extractedUrl.toString()!==gt||gt!==w.currentUrlTree.toString();if(("reload"===w.onSameUrlNavigation||qt)&&w.urlHandlingStrategy.shouldProcessUrl(Pe.rawUrl))return bi(Pe.source)&&(w.browserUrlTree=Pe.extractedUrl),(0,C.of)(Pe).pipe((0,fe.w)(Tn=>{const ui=this.transitions?.getValue();return this.events.next(new si(Tn.id,this.urlSerializer.serialize(Tn.extractedUrl),Tn.source,Tn.restoredState)),ui!==this.transitions?.getValue()?ce.E:Promise.resolve(Tn)}),function ro(E,M,w,I){return(0,fe.w)(J=>function ea(E,M,w,I,J){return new ya(E,M,w,I,J).apply()}(E,M,w,J.extractedUrl,I).pipe((0,$e.U)(Ee=>({...J,urlAfterRedirects:Ee}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,w.config),(0,Ue.b)(Tn=>{this.currentNavigation={...this.currentNavigation,finalUrl:Tn.urlAfterRedirects},I.urlAfterRedirects=Tn.urlAfterRedirects}),function l(E,M,w,I,J){return(0,j.z)(Ee=>function ha(E,M,w,I,J,Ee,Pe="emptyOnly"){return new Ma(E,M,w,I,J,Pe,Ee).recognize().pipe((0,fe.w)(gt=>null===gt?function ua(E){return new de.y(M=>M.error(E))}(new ta):(0,C.of)(gt)))}(E,M,w,Ee.urlAfterRedirects,I.serialize(Ee.urlAfterRedirects),I,J).pipe((0,$e.U)(Pe=>({...Ee,targetSnapshot:Pe}))))}(this.environmentInjector,w.rootComponentType,w.config,this.urlSerializer,w.paramsInheritanceStrategy),(0,Ue.b)(Tn=>{if(I.targetSnapshot=Tn.targetSnapshot,"eager"===w.urlUpdateStrategy){if(!Tn.extras.skipLocationChange){const vi=w.urlHandlingStrategy.merge(Tn.urlAfterRedirects,Tn.rawUrl);w.setBrowserUrl(vi,Tn)}w.browserUrlTree=Tn.urlAfterRedirects}const ui=new Ni(Tn.id,this.urlSerializer.serialize(Tn.extractedUrl),this.urlSerializer.serialize(Tn.urlAfterRedirects),Tn.targetSnapshot);this.events.next(ui)}));if(qt&&w.rawUrlTree&&w.urlHandlingStrategy.shouldProcessUrl(w.rawUrlTree)){const{id:ui,extractedUrl:vi,source:ao,restoredState:$o,extras:Bo}=Pe,_r=new si(ui,this.urlSerializer.serialize(vi),ao,$o);this.events.next(_r);const es=Xi(vi,w.rootComponentType).snapshot;return I={...Pe,targetSnapshot:es,urlAfterRedirects:vi,extras:{...Bo,skipLocationChange:!1,replaceUrl:!1}},(0,C.of)(I)}return w.rawUrlTree=Pe.rawUrl,Pe.resolve(null),ce.E}),(0,Ue.b)(Pe=>{const gt=new Yn(Pe.id,this.urlSerializer.serialize(Pe.extractedUrl),this.urlSerializer.serialize(Pe.urlAfterRedirects),Pe.targetSnapshot);this.events.next(gt)}),(0,$e.U)(Pe=>I={...Pe,guards:cr(Pe.targetSnapshot,Pe.currentSnapshot,this.rootContexts)}),function Ut(E,M){return(0,j.z)(w=>{const{targetSnapshot:I,currentSnapshot:J,guards:{canActivateChecks:Ee,canDeactivateChecks:Pe}}=w;return 0===Pe.length&&0===Ee.length?(0,C.of)({...w,guardsResult:!0}):function mn(E,M,w,I){return(0,p.D)(E).pipe((0,j.z)(J=>function Va(E,M,w,I,J){const Ee=M&&M.routeConfig?M.routeConfig.canDeactivate:null;if(!Ee||0===Ee.length)return(0,C.of)(!0);const Pe=Ee.map(gt=>{const qt=$i(M)??J,wn=Vi(gt,qt);return N(function Ko(E){return E&&Ii(E.canDeactivate)}(wn)?wn.canDeactivate(E,M,w,I):qt.runInContext(()=>wn(E,M,w,I))).pipe((0,ne.P)())});return(0,C.of)(Pe).pipe(ye())}(J.component,J.route,w,M,I)),(0,ne.P)(J=>!0!==J,!0))}(Pe,I,J,E).pipe((0,j.z)(gt=>gt&&function ba(E){return"boolean"==typeof E}(gt)?function Hi(E,M,w,I){return(0,p.D)(M).pipe((0,De.b)(J=>(0,R.z)(function mo(E,M){return null!==E&&M&&M(new Tr(E)),(0,C.of)(!0)}(J.route.parent,I),function Rr(E,M){return null!==E&&M&&M(new xr(E)),(0,C.of)(!0)}(J.route,I),function da(E,M,w){const I=M[M.length-1],Ee=M.slice(0,M.length-1).reverse().map(Pe=>
1function Eo(E){const M=E.routeConfig?E.routeConfig.canActivateChild:null;return M&&0!==M.length?{node:E,guards:M}:null}(Pe)).filter(Pe=>null!==Pe).map(Pe=>(0,ae.P)(()=>{const gt=Pe.guards.map(qt=>{const wn=$i(Pe.node)??w,Tn=Vi(qt,wn);return N(function Ui(E){return E&&Ii(E.canActivateChild)}(Tn)?Tn.canActivateChild(I,E):wn.runInContext(()=>Tn(I,E))).pipe((0,ne.P)())});return(0,C.of)(gt).pipe(ye())}));return(0,C.of)(Ee).pipe(ye())}(E,J.path,w),function Ro(E,M,w){const I=M.routeConfig?M.routeConfig.canActivate:null;if(!I||0===I.length)return(0,C.of)(!0);const J=I.map(Ee=>(0,ae.P)(()=>{const Pe=$i(M)??w,gt=Vi(Ee,Pe);return N(function Oi(E){return E&&Ii(E.canActivate)}(gt)?gt.canActivate(M,E):Pe.runInContext(()=>gt(M,E))).pipe((0,ne.P)())}));return(0,C.of)(J).pipe(ye())}(E,J.route,w))),(0,ne.P)(J=>!0!==J,!0))}(I,Ee,E,M):(0,C.of)(gt)),(0,$e.U)(gt=>({...w,guardsResult:gt})))})}(this.environmentInjector,Pe=>this.events.next(Pe)),(0,Ue.b)(Pe=>{if(I.guardsResult=Pe.guardsResult,Ke(Pe.guardsResult))throw ho(0,Pe.guardsResult);const gt=new ar(Pe.id,this.urlSerializer.serialize(Pe.extractedUrl),this.urlSerializer.serialize(Pe.urlAfterRedirects),Pe.targetSnapshot,!!Pe.guardsResult);this.events.next(gt)}),(0,se.h)(Pe=>!!Pe.guardsResult||(w.restoreHistory(Pe),this.cancelNavigationTransition(Pe,"",3,w),!1)),$t(Pe=>{if(Pe.guards.canActivateChecks.length)return(0,C.of)(Pe).pipe((0,Ue.b)(gt=>{const qt=new Gr(gt.id,this.urlSerializer.serialize(gt.extractedUrl),this.urlSerializer.serialize(gt.urlAfterRedirects),gt.targetSnapshot);this.events.next(qt)}),(0,fe.w)(gt=>{let qt=!1;return(0,C.of)(gt).pipe(function v(E,M){return(0,j.z)(w=>{const{targetSnapshot:I,guards:{canActivateChecks:J}}=w;if(!J.length)return(0,C.of)(w);let Ee=0;return(0,p.D)(J).pipe((0,De.b)(Pe=>function O(E,M,w,I){const J=E.routeConfig,Ee=E._resolve;return void 0!==J?.title&&!Dt(J)&&(Ee[Ft]=J.title),function he(E,M,w,I){const J=function Fe(E){return[...Object.keys(E),...Object.getOwnPropertySymbols(E)]}(E);if(0===J.length)return(0,C.of)({});const Ee={};return(0,p.D)(J).pipe((0,j.z)(Pe=>function Je(E,M,w,I){const J=$i(M)??I,Ee=Vi(E,J);return N(Ee.resolve?Ee.resolve(M,w):J.runInContext(()=>Ee(M,w)))}(E[Pe],M,w,I).pipe((0,ne.P)(),(0,Ue.b)(gt=>{Ee[Pe]=gt}))),Le(1),(0,Yt.h)(Ee),(0,V.K)(Pe=>H(Pe)?ce.E:(0,W._)(Pe)))}(Ee,E,M,I).pipe((0,$e.U)(Pe=>(E._resolvedData=Pe,E.data=hr(E,w).resolve,J&&Dt(J)&&(E.data[Ft]=J.title),null)))}(Pe.route,I,E,M)),(0,Ue.b)(()=>Ee++),Le(1),(0,j.z)(Pe=>Ee===J.length?(0,C.of)(w):ce.E))})}(w.paramsInheritanceStrategy,this.environmentInjector),(0,Ue.b)({next:()=>qt=!0,complete:()=>{qt||(w.restoreHistory(gt),this.cancelNavigationTransition(gt,"",2,w))}}))}),(0,Ue.b)(gt=>{const qt=new Uo(gt.id,this.urlSerializer.serialize(gt.extractedUrl),this.urlSerializer.serialize(gt.urlAfterRedirects),gt.targetSnapshot);this.events.next(qt)}))}),$t(Pe=>{const gt=qt=>{const wn=[];qt.routeConfig?.loadComponent&&!qt.routeConfig._loadedComponent&&wn.push(this.configLoader.loadComponent(qt.routeConfig).pipe((0,Ue.b)(Tn=>{qt.component=Tn}),(0,$e.U)(()=>{})));for(const Tn of qt.children)wn.push(...gt(Tn));return wn};return(0,ee.a)(gt(Pe.targetSnapshot.root)).pipe((0,dt.d)(),(0,ue.q)(1))}),$t(()=>w.afterPreactivation()),(0,$e.U)(Pe=>{const gt=function to(E,M,w){const I=Or(E,M._root,w?w._root:void 0);return new Wi(I,M)}(w.routeReuseStrategy,Pe.targetSnapshot,Pe.currentRouterState);return I={...Pe,targetRouterState:gt}}),(0,Ue.b)(Pe=>{w.currentUrlTree=Pe.urlAfterRedirects,w.rawUrlTree=w.urlHandlingStrategy.merge(Pe.urlAfterRedirects,Pe.rawUrl),w.routerState=Pe.targetRouterState,"deferred"===w.urlUpdateStrategy&&(Pe.extras.skipLocationChange||w.setBrowserUrl(w.rawUrlTree,Pe),w.browserUrlTree=Pe.urlAfterRedirects)}),((E,M,w)=>(0,$e.U)(I=>(new Wn(M,I.targetRouterState,I.currentRouterState,w).activate(E),I)))(this.rootContexts,w.routeReuseStrategy,Pe=>this.events.next(Pe)),(0,Ue.b)({next:Pe=>{J=!0,this.lastSuccessfulNavigation=this.currentNavigation,w.navigated=!0,this.events.next(new wi(Pe.id,this.urlSerializer.serialize(Pe.extractedUrl),this.urlSerializer.serialize(w.currentUrlTree))),w.titleStrategy?.updateTitle(Pe.targetRouterState.snapshot),Pe.resolve(!0)},complete:()=>{J=!0}}),(0,Lt.x)(()=>{J||Ee||this.cancelNavigationTransition(I,"",1,w),this.currentNavigation?.id===I.id&&(this.currentNavigation=null)}),(0,V.K)(Pe=>{if(Ee=!0,Mr(Pe)){Do(Pe)||(w.navigated=!0,w.restoreHistory(I,!0));const gt=new Xn(I.id,this.urlSerializer.serialize(I.extractedUrl),Pe.message,Pe.cancellationCode);if(this.events.next(gt),Do(Pe)){const qt=w.urlHandlingStrategy.merge(Pe.url,w.rawUrlTree),wn={skipLocationChange:I.extras.skipLocationChange,replaceUrl:"eager"===w.urlUpdateStrategy||bi(I.source)};w.scheduleNavigation(qt,"imperative",null,wn,{resolve:I.resolve,reject:I.reject,promise:I.promise})}else I.resolve(!1)}else{w.restoreHistory(I,!0);const gt=new Fi(I.id,this.urlSerializer.serialize(I.extractedUrl),Pe,I.targetSnapshot??void 0);this.events.next(gt);try{I.resolve(w.errorHandler(Pe))}catch(qt){I.reject(qt)}}return ce.E}))}))}cancelNavigationTransition(w,I,J,Ee){const Pe=new Xn(w.id,this.urlSerializer.serialize(w.extractedUrl),I,J);this.events.next(Pe),w.resolve(!1)}}return E.\u0275fac=function(w){return new(w||E)},E.\u0275prov=a.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();function bi(E){return"imperative"!==E}let Yi=(()=>{class E{buildTitle(w){let I,J=w.root;for(;void 0!==J;)I=this.getResolvedTitleForRoute(J)??I,J=J.children.find(Ee=>Ee.outlet===je);return I}getResolvedTitleForRoute(w){return w.data[Ft]}}return E.\u0275fac=function(w){return new(w||E)},E.\u0275prov=a.Yz7({token:E,factory:function(){return(0,a.f3M)(Ri)},providedIn:"root"}),E})(),Ri=(()=>{class E extends Yi{constructor(w){super(),this.title=w}updateTitle(w){const I=this.buildTitle(w);void 0!==I&&this.title.setTitle(I)}}return E.\u0275fac=function(w){return new(w||E)(a.LFG(Ge.Dx))},E.\u0275prov=a.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),Kr=(()=>{class E{}return E.\u0275fac=function(w){return new(w||E)},E.\u0275prov=a.Yz7({token:E,factory:function(){return(0,a.f3M)(Fr)},providedIn:"root"}),E})();class yr{shouldDetach(M){return!1}store(M,w){}shouldAttach(M){return!1}retrieve(M){return null}shouldReuseRoute(M,w){return M.routeConfig===w.routeConfig}}let Fr=(()=>{class E extends yr{}return E.\u0275fac=function(){let M;return function(I){return(M||(M=a.n5z(E)))(I||E)}}(),E.\u0275prov=a.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const dr=new a.OlP("",{providedIn:"root",factory:()=>({})});let Sr=(()=>{class E{}return E.\u0275fac=function(w){return new(w||E)},E.\u0275prov=a.Yz7({token:E,factory:function(){return(0,a.f3M)(ma)},providedIn:"root"}),E})(),ma=(()=>{class E{shouldProcessUrl(w){return!0}extract(w){return w}merge(w,I){return w}}return E.\u0275fac=function(w){return new(w||E)},E.\u0275prov=a.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();function Cr(E){throw E}function Zo(E,M,w){return M.parse("/")}const Fo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},kn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function $n(){const E=(0,a.f3M)(fn),M=(0,a.f3M)(Hr),w=(0,a.f3M)(Re.Ye),I=(0,a.f3M)(a.zs3),J=(0,a.f3M)(a.Sil),Ee=(0,a.f3M)(Sn,{optional:!0})??[],Pe=(0,a.f3M)(dr,{optional:!0})??{}
1,gt=new Un(null,E,M,w,I,J,lt(Ee));return function Pn(E,M){E.errorHandler&&(M.errorHandler=E.errorHandler),E.malformedUriErrorHandler&&(M.malformedUriErrorHandler=E.malformedUriErrorHandler),E.onSameUrlNavigation&&(M.onSameUrlNavigation=E.onSameUrlNavigation),E.paramsInheritanceStrategy&&(M.paramsInheritanceStrategy=E.paramsInheritanceStrategy),E.urlUpdateStrategy&&(M.urlUpdateStrategy=E.urlUpdateStrategy),E.canceledNavigationResolution&&(M.canceledNavigationResolution=E.canceledNavigationResolution)}(Pe,gt),gt}let Un=(()=>{class E{constructor(w,I,J,Ee,Pe,gt,qt){this.rootComponentType=w,this.urlSerializer=I,this.rootContexts=J,this.location=Ee,this.config=qt,this.disposed=!1,this.currentPageId=0,this.isNgZoneEnabled=!1,this.errorHandler=Cr,this.malformedUriErrorHandler=Zo,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,C.of)(void 0),this.urlHandlingStrategy=(0,a.f3M)(Sr),this.routeReuseStrategy=(0,a.f3M)(Kr),this.titleStrategy=(0,a.f3M)(Yi),this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.canceledNavigationResolution="replace",this.navigationTransitions=(0,a.f3M)(ci),this.console=Pe.get(a.c2e);const wn=Pe.get(a.R0b);this.isNgZoneEnabled=wn instanceof a.R0b&&a.R0b.isInAngularZone(),this.resetConfig(qt),this.currentUrlTree=new Gt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Xi(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(Tn=>{this.lastSuccessfulId=Tn.id,this.currentPageId=Tn.targetPageId},Tn=>{this.console.warn(`Unhandled Navigation Error: ${Tn}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(w){this.rootComponentType=w,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(w=>{const I="popstate"===w.type?"popstate":"hashchange";"popstate"===I&&setTimeout(()=>{const J={replaceUrl:!0},Ee=w.state?.navigationId?w.state:null;if(w.state){const gt={...w.state};delete gt.navigationId,delete gt.\u0275routerPageId,0!==Object.keys(gt).length&&(J.state=gt)}const Pe=this.parseUrl(w.url);this.scheduleNavigation(Pe,I,Ee,J)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(w){this.config=w.map(gr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(w,I={}){const{relativeTo:J,queryParams:Ee,fragment:Pe,queryParamsHandling:gt,preserveFragment:qt}=I,wn=J||this.routerState.root,Tn=qt?this.currentUrlTree.fragment:Pe;let ui=null;switch(gt){case"merge":ui={...this.currentUrlTree.queryParams,...Ee};break;case"preserve":ui=this.currentUrlTree.queryParams;break;default:ui=Ee||null}return null!==ui&&(ui=this.removeEmptyProps(ui)),Zn(wn,this.currentUrlTree,w,ui,Tn??null)}navigateByUrl(w,I={skipLocationChange:!1}){const J=Ke(w)?w:this.parseUrl(w),Ee=this.urlHandlingStrategy.merge(J,this.rawUrlTree);return this.scheduleNavigation(Ee,"imperative",null,I)}navigate(w,I={skipLocationChange:!1}){return function nr(E){for(let M=0;M<E.length;M++){if(null==E[M])throw new a.vHH(4008,!1)}}(w),this.navigateByUrl(this.createUrlTree(w,I),I)}serializeUrl(w){return this.urlSerializer.serialize(w)}parseUrl(w){let I;try{I=this.urlSerializer.parse(w)}catch(J){I=this.malformedUriErrorHandler(J,this.urlSerializer,w)}return I}isActive(w,I){let J;if(J=!0===I?{...Fo}:!1===I?{...kn}:I,Ke(w))return T(this.currentUrlTree,w,J);const Ee=this.parseUrl(w);return T(this.currentUrlTree,Ee,J)}removeEmptyProps(w){return Object.keys(w).reduce((I,J)=>{const Ee=w[J];return null!=Ee&&(I[J]=Ee),I},{})}scheduleNavigation(w,I,J,Ee,Pe){if(this.disposed)return Promise.resolve(!1);let gt,qt,wn,Tn;return Pe?(gt=Pe.resolve,qt=Pe.reject,wn=Pe.promise):wn=new Promise((ui,vi)=>{gt=ui,qt=vi}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(J=this.location.getState()),Tn=J&&J.\u0275routerPageId?J.\u0275routerPageId:Ee.replaceUrl||Ee.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Tn=0,this.navigationTransitions.handleNavigationRequest({targetPageId:Tn,source:I,restoredState:J,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:w,extras:Ee,resolve:gt,reject:qt,promise:wn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
1),wn.catch(ui=>Promise.reject(ui))}setBrowserUrl(w,I){const J=this.urlSerializer.serialize(w),Ee={...I.extras.state,...this.generateNgRouterState(I.id,I.targetPageId)};this.location.isCurrentPathEqualTo(J)||I.extras.replaceUrl?this.location.replaceState(J,"",Ee):this.location.go(J,"",Ee)}restoreHistory(w,I=!1){if("computed"===this.canceledNavigationResolution){const J=this.currentPageId-w.targetPageId;"popstate"!==w.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===J?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===J&&(this.resetState(w),this.browserUrlTree=w.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(J)}else"replace"===this.canceledNavigationResolution&&(I&&this.resetState(w),this.resetUrlToCurrentUrlTree())}resetState(w){this.routerState=w.currentRouterState,this.currentUrlTree=w.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,w.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(w,I){return"computed"===this.canceledNavigationResolution?{navigationId:w,\u0275routerPageId:I}:{navigationId:w}}}return E.\u0275fac=function(w){a.$Z()},E.\u0275prov=a.Yz7({token:E,factory:function(){return $n()},providedIn:"root"}),E})(),Dr=(()=>{class E{constructor(w,I,J,Ee,Pe,gt){this.router=w,this.route=I,this.tabIndexAttribute=J,this.renderer=Ee,this.el=Pe,this.locationStrategy=gt,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new ge.x;const qt=Pe.nativeElement.tagName;this.isAnchorElement="A"===qt||"AREA"===qt,this.isAnchorElement?this.subscription=w.events.subscribe(wn=>{wn instanceof wi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(w){this._preserveFragment=(0,a.D6c)(w)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(w){this._skipLocationChange=(0,a.D6c)(w)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(w){this._replaceUrl=(0,a.D6c)(w)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(w){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",w)}ngOnChanges(w){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(w){null!=w?(this.commands=Array.isArray(w)?w:[w],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(w,I,J,Ee,Pe){return!!(null===this.urlTree||this.isAnchorElement&&(0!==w||I||J||Ee||Pe||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const w=null===this.href?null:(0,a.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",w)}applyAttributeValue(w,I){const J=this.renderer,Ee=this.el.nativeElement;null!==I?J.setAttribute(Ee,w,I):J.removeAttribute(Ee,w)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return E.\u0275fac=function(w){return new(w||E)(a.Y36(Un),a.Y36(yi),a.$8M("tabindex"),a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(Re.S$))},E.\u0275dir=a.lG2({type:E,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(w,I){1&w&&a.NdJ("click",function(Ee){return I.onClick(Ee.button,Ee.ctrlKey,Ee.shiftKey,Ee.altKey,Ee.metaKey)}),2&w&&a.uIk("target",I.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[a.TTD]}),E})(),ur=(()=>{class E{constructor(w,I,J,Ee,Pe){this.router=w,this.element=I,this.renderer=J,this.cdr=Ee,this.link=Pe,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new a.vpe,this.routerEventsSubscription=w.events.subscribe(gt=>{gt instanceof wi&&this.update()})}ngAfterContentInit(){(0,C.of)(this.links.changes,(0,C.of)(null)).pipe((0,It.J)()).subscribe(w=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const w=[...this.links.toArray(),this.link].filter(I=>!!I).map(I=>I.onChanges);this.linkInputChangesSubscription=(0,p.D)(w).pipe((0,It.J)()).subscribe(I=>{this.isActive!==this.isLinkActive(this.router)(I)&&this.update()})}set routerLinkActive(w){const I=Array.isArray(w)?w:w.split(" ");this.classes=I.filter(J=>!!J)}ngOnChanges(w){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const w=this.hasActiveLinks();this.isActive!==w&&(this.isActive=w,this.cdr.markForCheck(),this.classes.forEac
1h(I=>{w?this.renderer.addClass(this.element.nativeElement,I):this.renderer.removeClass(this.element.nativeElement,I)}),w&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(w))})}isLinkActive(w){const I=function zr(E){return!!E.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return J=>!!J.urlTree&&w.isActive(J.urlTree,I)}hasActiveLinks(){const w=this.isLinkActive(this.router);return this.link&&w(this.link)||this.links.some(w)}}return E.\u0275fac=function(w){return new(w||E)(a.Y36(Un),a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(a.sBO),a.Y36(Dr,8))},E.\u0275dir=a.lG2({type:E,selectors:[["","routerLinkActive",""]],contentQueries:function(w,I,J){if(1&w&&a.Suo(J,Dr,5),2&w){let Ee;a.iGM(Ee=a.CRH())&&(I.links=Ee)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[a.TTD]}),E})();class mi{}let Gi=(()=>{class E{constructor(w,I,J,Ee,Pe){this.router=w,this.injector=J,this.preloadingStrategy=Ee,this.loader=Pe}setUpPreloading(){this.subscription=this.router.events.pipe((0,se.h)(w=>w instanceof wi),(0,De.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(w,I){const J=[];for(const Ee of I){Ee.providers&&!Ee._injector&&(Ee._injector=(0,a.MMx)(Ee.providers,w,`Route: ${Ee.path}`));const Pe=Ee._injector??w,gt=Ee._loadedInjector??Pe;Ee.loadChildren&&!Ee._loadedRoutes&&void 0===Ee.canLoad||Ee.loadComponent&&!Ee._loadedComponent?J.push(this.preloadConfig(Pe,Ee)):(Ee.children||Ee._loadedRoutes)&&J.push(this.processRoutes(gt,Ee.children??Ee._loadedRoutes))}return(0,p.D)(J).pipe((0,It.J)())}preloadConfig(w,I){return this.preloadingStrategy.preload(I,()=>{let J;J=I.loadChildren&&void 0===I.canLoad?this.loader.loadChildren(w,I):(0,C.of)(null);const Ee=J.pipe((0,j.z)(Pe=>null===Pe?(0,C.of)(void 0):(I._loadedRoutes=Pe.routes,I._loadedInjector=Pe.injector,this.processRoutes(Pe.injector??w,Pe.routes))));if(I.loadComponent&&!I._loadedComponent){const Pe=this.loader.loadComponent(I);return(0,p.D)([Ee,Pe]).pipe((0,It.J)())}return Ee})}}return E.\u0275fac=function(w){return new(w||E)(a.LFG(Un),a.LFG(a.Sil),a.LFG(a.lqb),a.LFG(mi),a.LFG(vn))},E.\u0275prov=a.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const Nr=new a.OlP("");let Si=(()=>{class E{constructor(w,I,J,Ee,Pe={}){this.urlSerializer=w,this.transitions=I,this.viewportScroller=J,this.zone=Ee,this.options=Pe,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Pe.scrollPositionRestoration=Pe.scrollPositionRestoration||"disabled",Pe.anchorScrolling=Pe.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(w=>{w instanceof si?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=w.navigationTrigger,this.restoredId=w.restoredState?w.restoredState.navigationId:0):w instanceof wi&&(this.lastId=w.id,this.scheduleScrollEvent(w,this.urlSerializer.parse(w.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(w=>{w instanceof Li&&(w.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(w.position):w.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(w.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(w,I){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Li(w,"popstate"===this.lastSource?this.store[this.restoredId]:null,I))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return E.\u0275fac=function(w){a.$Z()},E.\u0275prov=a.Yz7({token:E,factory:E.\u0275fac}),E})();function Lo(E,M){return{\u0275kind:E,\u0275providers:M}}function Wo(){const E=(0,a.f3M)(a.zs3);return M=>{const w=E.get(a.z2F);if(M!==w.components[0])return;const I=E.get(Un),J=E.get(Er);1===E.get(Xa)&&I.initialNavigation(),E.get(b,null,a.XFs.Optional)?.setUpPreloading(),E.get(Nr,null,a.XFs.Optional)?.init(),I.resetRootComponentType(w.componentTypes[0]),J.closed||(J.next(),J.unsubscribe())}}const Er=new a.OlP("",{factory:()=>new ge.x}),Xa=new a.OlP("",{providedIn:"root",factory:()=>1});const b=new a.OlP("");function y(E){return Lo(0,[{provide:b,useExisting:Gi},{provide:mi,useExisting:E}])}const Ye=new a.OlP("ROUTER_FORROOT_GUARD"),Et=[Re.Ye,{provide:fn,useClass:dn},{provide:Un,useFactory:$n},Hr,{provide:yi,useFactory:function ra(E){return E.routerState.root},deps:[Un]},vn,[]];function zt(){return new a.PXZ("Router",Un)}let pn=(()=>{class E{constructor(w){}static forRoot(w,I){return{ngModule:E,providers:[Et,[],{provide:Sn,multi:!0,useValue:w}
1,{provide:Ye,useFactory:fi,deps:[[Un,new a.FiY,new a.tp0]]},{provide:dr,useValue:I||{}},I?.useHash?{provide:Re.S$,useClass:Re.Do}:{provide:Re.S$,useClass:Re.b0},{provide:Nr,useFactory:()=>{const E=(0,a.f3M)(Re.EM),M=(0,a.f3M)(a.R0b),w=(0,a.f3M)(dr),I=(0,a.f3M)(ci),J=(0,a.f3M)(fn);return w.scrollOffset&&E.setOffset(w.scrollOffset),new Si(J,I,E,M,w)}},I?.preloadingStrategy?y(I.preloadingStrategy).\u0275providers:[],{provide:a.PXZ,multi:!0,useFactory:zt},I?.initialNavigation?ii(I):[],[{provide:oo,useFactory:Wo},{provide:a.tb,multi:!0,useExisting:oo}]]}}static forChild(w){return{ngModule:E,providers:[{provide:Sn,multi:!0,useValue:w}]}}}return E.\u0275fac=function(w){return new(w||E)(a.LFG(Ye,8))},E.\u0275mod=a.oAB({type:E}),E.\u0275inj=a.cJS({imports:[nn]}),E})();function fi(E){return"guarded"}function ii(E){return["disabled"===E.initialNavigation?Lo(3,[{provide:a.ip1,multi:!0,useFactory:()=>{const M=(0,a.f3M)(Un);return()=>{M.setUpLocationChangeListener()}}},{provide:Xa,useValue:2}]).\u0275providers:[],"enabledBlocking"===E.initialNavigation?Lo(2,[{provide:Xa,useValue:0},{provide:a.ip1,multi:!0,deps:[a.zs3],useFactory:M=>{const w=M.get(Re.V_,Promise.resolve());return()=>w.then(()=>new Promise(J=>{const Ee=M.get(Un),Pe=M.get(Er);(function I(J){M.get(Un).events.pipe((0,se.h)(Pe=>Pe instanceof wi||Pe instanceof Xn||Pe instanceof Fi),(0,$e.U)(Pe=>Pe instanceof wi||Pe instanceof Xn&&(0===Pe.code||1===Pe.code)&&null),(0,se.h)(Pe=>null!==Pe),(0,ue.q)(1)).subscribe(()=>{J()})})(()=>{J(!0)}),Ee.afterPreactivation=()=>(J(!0),Pe.closed?(0,C.of)(void 0):Pe),Ee.initialNavigation()}))}}]).\u0275providers:[]]}const oo=new a.OlP("")},3942:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Z:()=>Re});var a=f(2090),p=f(4859),C=f(9681),Y=f(1877);class e{constructor(fe,ue){this._delegate=fe,this.firebase=ue,(0,C._addComponent)(fe,new p.wA("app-compat",()=>this,"PUBLIC")),this.container=fe.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(fe){this._delegate.automaticDataCollectionEnabled=fe}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(fe=>{this._delegate.checkDestroyed(),fe()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),(0,C.deleteApp)(this._delegate)))}_getService(fe,ue=C._DEFAULT_ENTRY_NAME){var be;this._delegate.checkDestroyed();const se=this._delegate.container.getProvider(fe);return!se.isInitialized()&&"EXPLICIT"===(null===(be=se.getComponent())||void 0===be?void 0:be.instantiationMode)&&se.initialize(),se.getImmediate({identifier:ue})}_removeServiceInstance(fe,ue=C._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(fe).clearInstance(ue)}_addComponent(fe){(0,C._addComponent)(this._delegate,fe)}_addOrOverwriteComponent(fe){(0,C._addOrOverwriteComponent)(this._delegate,fe)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const R=new a.LL("app-compat","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance."}),W=function X(){const $e=function ae($e){const fe={},ue={__esModule:!0,initializeApp:function j(V,He={}){const Be=C.initializeApp(V,He);if((0,a.r3)(fe,Be.name))return fe[Be.name];const Ne=new $e(Be,ue);return fe[Be.name]=Ne,Ne},app:se,registerVersion:C.registerVersion,setLogLevel:C.setLogLevel,onLog:C.onLog,apps:null,SDK_VERSION:C.SDK_VERSION,INTERNAL:{registerComponent:function De(V){const He=V.name,Be=He.replace("-compat","");if(C._registerComponent(V)&&"PUBLIC"===V.type){const Ne=(me=se())=>{if("function"!=typeof me[Be])throw R.create("invalid-app-argument",{appName:He});return me[Be]()};void 0!==V.serviceProps&&(0,a.ZB)(Ne,V.serviceProps),ue[Be]=Ne,$e.prototype[Be]=function(...me){return this._getService.bind(this,He).apply(this,V.multipleInstances?me:[])}}return"PUBLIC"===V.type?ue[Be]:null},removeApp:function be(V){delete fe[V]},useAsService:function Ue(V,He){return"serverAuth"===He?null:He},modularAPIs:C}};function se(V){if(!(0,a.r3)(fe,V=V||C._DEFAULT_ENTRY_NAME))throw R.create("no-app",{appName:V});return fe[V]}return ue.default=ue,Object.defineProperty(ue,"apps",{get:function ne(){return Object.keys(fe).map(V=>fe[V])}}),se.App=$e,ue}(e);return $e.INTERNAL=Object.assign(Object.assign({},$e.INTERNAL),{createFirebaseNamespace:X,extendNamespace:function fe(ue){(0,a.ZB)($e,ue)},createSubscribe:a.ne,ErrorFactory:a.LL,deepExtend:a.ZB}),$e}(),de=new Y.Yd("@firebase/app-compat");
1if((0,a.jU)()&&void 0!==self.firebase){de.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n ");const $e=self.firebase.SDK_VERSION;$e&&$e.indexOf("LITE")>=0&&de.warn("\n Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n ")}const Re=W;!function ge($e){(0,C.registerVersion)("@firebase/app-compat","0.1.39",$e)}()},9681:(Pt,Ve,f)=>{"use strict";f.r(Ve),f.d(Ve,{FirebaseError:()=>Y.ZR,SDK_VERSION:()=>lt,_DEFAULT_ENTRY_NAME:()=>Yt,_addComponent:()=>Ge,_addOrOverwriteComponent:()=>je,_apps:()=>ft,_clearComponents:()=>ve,_components:()=>It,_getProvider:()=>B,_registerComponent:()=>Ft,_removeServiceInstance:()=>$,deleteApp:()=>N,getApp:()=>at,getApps:()=>te,initializeApp:()=>Bt,onLog:()=>xe,registerVersion:()=>Te,setLogLevel:()=>T});var a=f(5861),p=f(4859),C=f(1877),Y=f(2090),e=f(8766);class ee{constructor(Me){this.container=Me}getPlatformInfoString(){return this.container.getProviders().map(le=>{if(function R(Ze){return"VERSION"===Ze.getComponent()?.type}(le)){const q=le.getImmediate();return`${q.library}/${q.version}`}return null}).filter(le=>le).join(" ")}}const ae="@firebase/app",X="0.8.4",W=new C.Yd("@firebase/app"),Yt="[DEFAULT]",Lt={[ae]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/database-compat":"fire-rtdb-compat","@firebase/functions":"fire-fn","@firebase/functions-compat":"fire-fn-compat","@firebase/installations":"fire-iid","@firebase/installations-compat":"fire-iid-compat","@firebase/messaging":"fire-fcm","@firebase/messaging-compat":"fire-fcm-compat","@firebase/performance":"fire-perf","@firebase/performance-compat":"fire-perf-compat","@firebase/remote-config":"fire-rc","@firebase/remote-config-compat":"fire-rc-compat","@firebase/storage":"fire-gcs","@firebase/storage-compat":"fire-gcs-compat","@firebase/firestore":"fire-fst","@firebase/firestore-compat":"fire-fst-compat","fire-js":"fire-js",firebase:"fire-js-all"},ft=new Map,It=new Map;function Ge(Ze,Me){try{Ze.container.addComponent(Me)}catch(le){W.debug(`Component ${Me.name} failed to register with FirebaseApp ${Ze.name}`,le)}}function je(Ze,Me){Ze.container.addOrOverwriteComponent(Me)}function Ft(Ze){const Me=Ze.name;if(It.has(Me))return W.debug(`There were multiple attempts to register component ${Me}.`),!1;It.set(Me,Ze);for(const le of ft.values())Ge(le,Ze);return!0}function B(Ze,Me){const le=Ze.container.getProvider("heartbeat").getImmediate({optional:!0});return le&&le.triggerHeartbeat(),Ze.container.getProvider(Me)}function $(Ze,Me,le=Yt){B(Ze,Me).clearInstance(le)}function ve(){It.clear()}const Xe=new Y.LL("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
1d-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."});class st{constructor(Me,le,q){this._isDeleted=!1,this._options=Object.assign({},Me),this._config=Object.assign({},le),this._name=le.name,this._automaticDataCollectionEnabled=le.automaticDataCollectionEnabled,this._container=q,this.container.addComponent(new p.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(Me){this.checkDestroyed(),this._automaticDataCollectionEnabled=Me}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(Me){this._isDeleted=Me}checkDestroyed(){if(this.isDeleted)throw Xe.create("app-deleted",{appName:this._name})}}const lt="9.14.0";function Bt(Ze,Me={}){let le=Ze;"object"!=typeof Me&&(Me={name:Me});const q=Object.assign({name:Yt,automaticDataCollectionEnabled:!1},Me),Z=q.name;if("string"!=typeof Z||!Z)throw Xe.create("bad-app-name",{appName:String(Z)});if(le||(le=(0,Y.aH)()),!le)throw Xe.create("no-options");const Ie=ft.get(Z);if(Ie){if((0,Y.vZ)(le,Ie.options)&&(0,Y.vZ)(q,Ie.config))return Ie;throw Xe.create("duplicate-app",{appName:Z})}const ie=new p.H0(Z);for(const Qe of It.values())ie.addComponent(Qe);const we=new st(le,q,ie);return ft.set(Z,we),we}function at(Ze=Yt){const Me=ft.get(Ze);if(!Me&&Ze===Yt)return Bt();if(!Me)throw Xe.create("no-app",{appName:Ze});return Me}function te(){return Array.from(ft.values())}function N(Ze){return z.apply(this,arguments)}function z(){return(z=(0,a.Z)(function*(Ze){const Me=Ze.name;ft.has(Me)&&(ft.delete(Me),yield Promise.all(Ze.container.getProviders().map(le=>le.delete())),Ze.isDeleted=!0)})).apply(this,arguments)}function Te(Ze,Me,le){var q;let Z=null!==(q=Lt[Ze])&&void 0!==q?q:Ze;le&&(Z+=`-${le}`);const Ie=Z.match(/\s|\//),ie=Me.match(/\s|\//);if(Ie||ie){const we=[`Unable to register library "${Z}" with version "${Me}":`];return Ie&&we.push(`library name "${Z}" contains illegal characters (whitespace or "/")`),Ie&&ie&&we.push("and"),ie&&we.push(`version name "${Me}" contains illegal characters (whitespace or "/")`),void W.warn(we.join(" "))}Ft(new p.wA(`${Z}-version`,()=>({library:Z,version:Me}),"VERSION"))}function xe(Ze,Me){if(null!==Ze&&"function"!=typeof Ze)throw Xe.create("invalid-log-argument");(0,C.Am)(Ze,Me)}function T(Ze){(0,C.Ub)(Ze)}const nt="firebase-heartbeat-store";let vt=null;function Rt(){return vt||(vt=(0,e.X3)("firebase-heartbeat-database",1,{upgrade:(Ze,Me)=>{0===Me&&Ze.createObjectStore(nt)}}).catch(Ze=>{throw Xe.create("idb-open",{originalErrorMessage:Ze.message})})),vt}function Gt(){return(Gt=(0,a.Z)(function*(Ze){var Me;try{return(yield Rt()).transaction(nt).objectStore(nt).get(Wt(Ze))}catch(le){if(le instanceof Y.ZR)W.warn(le.message);else{const q=Xe.create("idb-get",{originalErrorMessage:null===(Me=le)||void 0===Me?void 0:Me.message});W.warn(q.message)}}})).apply(this,arguments)}function Zt(Ze,Me){return ut.apply(this,arguments)}function ut(){return(ut=(0,a.Z)(function*(Ze,Me){var le;try{const Z=(yield Rt()).transaction(nt,"readwrite");return yield Z.objectStore(nt).put(Me,Wt(Ze)),Z.done}catch(q){if(q instanceof Y.ZR)W.warn(q.message);else{const Z=Xe.create("idb-set",{originalErrorMessage:null===(le=q)||void 0===le?void 0:le.message});W.warn(Z.message)}}})).apply(this,arguments)}function Wt(Ze){return`${Ze.name}!${Ze.options.appId}`}class fn{constructor(Me){this.container=Me,this._heartbeatsCache=null;const le=this.container.getProvider("app").getImmediate();this._storage=new En(le),this._heartbeatsCachePromise=this._storage.read().then(q=>(this._heartbeatsCache=q,q))}triggerHeartbeat(){var Me=this;return(0,a.Z)(function*(){const q=Me.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),Z=dn();if(null===Me._heartbeatsCache&&(Me._heartbeatsCache=yield Me._heartbeatsCachePromise),Me._heartbeatsCache.lastSentHeartbeatDate!==Z&&!Me._heartbeatsCache.heartbeats.some(Ie=>Ie.date===Z))return Me._heartbeatsCache.heartbeats.push({date:Z,agent:q}),Me._heartbeatsCache.heartbeats=Me._heartbeatsCache.heartbeats.filter(Ie=>{const ie=new Date(Ie.date).valueOf();return Date.now()-ie<=2592e6}),Me._storage.overwrite(Me._heartbeatsCache)})()}getHeartbeatsHeader(){var Me=this;return(0,a.Z)(function*(){if(null===Me._heartbeatsCache&&(yield Me._heartbeatsCachePromise),null===Me._heartbeatsCache||0===Me._heartbeatsCache.heartbeats.length)return"";const le=dn(),{heartbeatsToSend:q,unsentEntries:Z}=function _i(Ze,Me=1024){const le=[];let q=Ze.slice();for(const Z of Ze){const Ie=le.find(ie=>ie.agent===Z.agent);if(Ie){if(Ie.dates.push(Z.date),Vn(le)>Me){Ie.dates.pop();break}}else if(le.push({agent:Z.agent,dates:[Z.date]}),Vn(le)>Me){le.pop();break}q=q.slice(1)}return{heartbeatsToSend:le,unsentEntries:q}}(Me._heartbeatsCache.heartbeats),Ie=(0,Y.L)(JSON.stringify({version:2,heartbeats:q}));return Me._heartbeatsCache.lastSentHeartbeatDate=le,Z.length>0?(Me._heartbeatsCache.heartbeats=Z,yield Me._storage.overwrite(Me._heartbeatsCache)):(Me._heartbeatsCache.heartbeats=[],Me._storage.overwrite(Me._heartbeatsCache)),Ie})()}}function dn(){return(new Date).toISOString().substring(0,10)}class En{constructor(Me){this.app=Me,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,a.Z)(function*(){return!!(0,Y.hl)()&&(0,Y.eu)().then(()=>!0).catch(()=>!1)})()}read(){var Me=this;return(0,a.Z)(function*(){return(yield Me._canUseIndexedDBPromise)&&(yield function Vt(Ze){return Gt.apply(this,arguments)}(Me.app))||{heartbeats:[]}})()}overwrite(Me){var le=this;return(0,a.Z)(function*(){var q;if(yield le._canUseIndexedDBPromise){const Ie=yield le.read();return Zt(le.app,{lastSentHeartbeatDate:null!==(q=Me.lastSentHeartbeatDate)&&void 0!==q?q:Ie.lastSentHeartbeatDate,heartbeats:Me.heartbeats})}})()}add(Me){var le=this;return(0,a.Z)(function*(){var q;if(yield le._canUseIndexedDBPromise){const Ie=yield le.read();return Zt(le.app,{lastSentHeartbeatDate:null!==(q=Me.lastSentHeartbeatDate)&&void 0!==q?q:Ie.lastSentHeartbeatDate,heartbeats:[...Ie.heartbeats,...Me.heartbeats]})}})()}}function Vn(Ze){return(0,Y.L)(JSON.stringify({version:2,heartbeats:Ze})).length}!function kt(Ze){Ft(new p.wA("platform-logger",Me=>new ee(Me),"PRIVATE")),Ft(new p.wA("heartbeat",Me=>new fn(Me),"PRIVATE")),Te(ae,X,Ze),Te(ae,X,"esm2017"),Te("fire-js","")}("")},4859:(Pt,Ve,f)=>{"use strict";f.d(Ve,{H0:()=>ae,wA:()=>C});var a=f(5861),p=f(2090);class C{constructor(W,de,ce){this.name=W,this.instanceFactory=de,this.type=ce,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(W){return this.instantiationMode=W,this}setMultipleInstances(W){return this.multipleInstances=W,this}setServiceProps(W){return this.serviceProps=W,this}setInstanceCreatedCallback(W){return this.onInstanceCreated=W,this}}const Y="[DEFAULT]";class e{constructor(W,de){this.name=W,this.container=de,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(W){const de=this.normalizeInstanceIdentifier(W);if(!this.instancesDeferred.has(de)){const ce=new p.BH;if(this.instancesDeferred.set(de,ce),this.isInitialized(de)||this.shouldAutoInitialize())try{const _e=this.getOrInitializeService({instanceIdentifier:de});_e&&ce.resolve(_e)}catch{}}return this.instancesDeferred.get(de).promise}getImmediate(W){var de;const ce=this.normalizeInstanceIdentifier(W?.identifier),_e=null!==(de=W?.optional)&&void 0!==de&&de;if(!this.isInitialized(ce)&&!this.shouldAutoInitialize()){if(_e)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:ce})}catch(ge){if(_e)return null;throw ge}}getComponent(){return this.component}setComponent(W){if(W.name!==this.name)throw Error(`Mismatching Component ${W.n
1ame} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=W,this.shouldAutoInitialize()){if(function R(X){return"EAGER"===X.instantiationMode}(W))try{this.getOrInitializeService({instanceIdentifier:Y})}catch{}for(const[de,ce]of this.instancesDeferred.entries()){const _e=this.normalizeInstanceIdentifier(de);try{const ge=this.getOrInitializeService({instanceIdentifier:_e});ce.resolve(ge)}catch{}}}}clearInstance(W=Y){this.instancesDeferred.delete(W),this.instancesOptions.delete(W),this.instances.delete(W)}delete(){var W=this;return(0,a.Z)(function*(){const de=Array.from(W.instances.values());yield Promise.all([...de.filter(ce=>"INTERNAL"in ce).map(ce=>ce.INTERNAL.delete()),...de.filter(ce=>"_delete"in ce).map(ce=>ce._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(W=Y){return this.instances.has(W)}getOptions(W=Y){return this.instancesOptions.get(W)||{}}initialize(W={}){const{options:de={}}=W,ce=this.normalizeInstanceIdentifier(W.instanceIdentifier);if(this.isInitialized(ce))throw Error(`${this.name}(${ce}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const _e=this.getOrInitializeService({instanceIdentifier:ce,options:de});for(const[ge,Re]of this.instancesDeferred.entries())ce===this.normalizeInstanceIdentifier(ge)&&Re.resolve(_e);return _e}onInit(W,de){var ce;const _e=this.normalizeInstanceIdentifier(de),ge=null!==(ce=this.onInitCallbacks.get(_e))&&void 0!==ce?ce:new Set;ge.add(W),this.onInitCallbacks.set(_e,ge);const Re=this.instances.get(_e);return Re&&W(Re,_e),()=>{ge.delete(W)}}invokeOnInitCallbacks(W,de){const ce=this.onInitCallbacks.get(de);if(ce)for(const _e of ce)try{_e(W,de)}catch{}}getOrInitializeService({instanceIdentifier:W,options:de={}}){let ce=this.instances.get(W);if(!ce&&this.component&&(ce=this.component.instanceFactory(this.container,{instanceIdentifier:(X=W,X===Y?void 0:X),options:de}),this.instances.set(W,ce),this.instancesOptions.set(W,de),this.invokeOnInitCallbacks(ce,W),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,W,ce)}catch{}var X;return ce||null}normalizeInstanceIdentifier(W=Y){return this.component?this.component.multipleInstances?W:Y:W}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class ae{constructor(W){this.name=W,this.providers=new Map}addComponent(W){const de=this.getProvider(W.name);if(de.isComponentSet())throw new Error(`Component ${W.name} has already been registered with ${this.name}`);de.setComponent(W)}addOrOverwriteComponent(W){this.getProvider(W.name).isComponentSet()&&this.providers.delete(W.name),this.addComponent(W)}getProvider(W){if(this.providers.has(W))return this.providers.get(W);const de=new e(W,this);return this.providers.set(W,de),de}getProviders(){return Array.from(this.providers.values())}}},1877:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Am:()=>X,Ub:()=>ae,Yd:()=>R,in:()=>p});const a=[];var p=(()=>{return(W=p||(p={}))[W.DEBUG=0]="DEBUG",W[W.VERBOSE=1]="VERBOSE",W[W.INFO=2]="INFO",W[W.WARN=3]="WARN",W[W.ERROR=4]="ERROR",W[W.SILENT=5]="SILENT",p;var W})();const C={debug:p.DEBUG,verbose:p.VERBOSE,info:p.INFO,warn:p.WARN,error:p.ERROR,silent:p.SILENT},Y=p.INFO,e={[p.DEBUG]:"log",[p.VERBOSE]:"log",[p.INFO]:"info",[p.WARN]:"warn",[p.ERROR]:"error"},ee=(W,de,...ce)=>{if(de<W.logLevel)return;const _e=(new Date).toISOString(),ge=e[de];if(!ge)throw new Error(`Attempted to log a message with an invalid logType (value: ${de})`);console[ge](`[${_e}] ${W.name}:`,...ce)};class R{constructor(de){this.name=de,this._logLevel=Y,this._logHandler=ee,this._userLogHandler=null,a.push(this)}get logLevel(){return this._logLevel}set logLevel(de){if(!(de in p))throw new TypeError(`Invalid value "${de}" assigned to \`logLevel\``);this._logLevel=de}setLogLevel(de){this._logLevel="string"==typeof de?C[de]:de}get logHandler(){return this._logHandler}set logHandler(de){if("function"!=typeof de)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=de}get userLogHandler(){return this._userLogHandler}set userLogHandler(de){this._userLogHandler=de}debug(...de){this._userLogHandler&&this._userLogHandler(this,p.DEBUG,...de),this._logHandler(this,p.DEBUG,...de)}log(...de){this._userLogHandler&&this._userLogHandler(this,p.VERBOSE,...de),this._logHandler(this,p.VERBOSE,...de)}info(...de){this._userLogHandler&&this._userLogHandler(this,p.INFO,...de),this._logHandler(this,p.INFO,...de)}warn(...de){this._userLogHandler&&this._userLogHandler(this,p.WARN,...de),this._logHandler(this,p.WARN,...de)}error(...de){this._userLogHandler&&this._userLogHandler(this,p.ERROR,...de),this._logHandler(this,p.ERROR,...de)}}function ae(W){a.forEach(de=>{de.setLogLevel(W)})}function X(W,de){for(const ce of a){let _e=null;de&&de.level&&(_e=C[de.level]),ce.userLogHandler=null===W?null:(ge,Re,...$e)=>{const fe=$e.map(ue=>{if(null==ue)return null;if("string"==typeof ue)return ue;if("number"==typeof ue||"boolean"==typeof ue)return ue.toString();if(ue instanceof Error)return ue.message;try{return JSON.stringify(ue)}catch{return null}}).filter(ue=>ue).join(" ");Re>=(_e??ge.logLevel)&&W({level:p[Re].toLowerCase(),message:fe,args:$e,type:ge.name})}}}},8766:(Pt,Ve,f)=>{"use strict";f.d(Ve,{Lj:()=>j,X3:()=>se});var a=f(5861);let C,Y;const R=new WeakMap,ae=new WeakMap,X=new WeakMap,W=new WeakMap,de=new WeakMap;let ge={get(He,Be,Ne){if(He instanceof IDBTransaction){if("done"===Be)return ae.get(He);if("objectStoreNames"===Be)return He.objectStoreNames||X.get(He);if("store"===Be)return Ne.objectStoreNames[1]?void 0:Ne.objectStore(Ne.objectStoreNames[0])}return ue(He[Be])},set:(He,Be,Ne)=>(He[Be]=Ne,!0),has:(He,Be)=>He instanceof IDBTransaction&&("done"===Be||"store"===Be)||Be in He};function fe(He){return"function"==typeof He?function $e(He){return He!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function ee(){return Y||(Y=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(He)?function(...Be){return He.apply(be(this),Be),ue(R.get(this))}:function(...Be){return ue(He.apply(be(this),Be))}:function(Be,...Ne){const me=He.call(be(this),Be,...Ne);return X.set(me,Be.sort?Be.sort():[Be]),ue(me)}}(He):(He instanceof IDBTransaction&&function _e(He){if(ae.has(He))return;const Be=new Promise((Ne,me)=>{const Le=()=>{He.removeEventListener("complete",ze),He.removeEventListener("error",dt),He.removeEventListener("abort",dt)},ze=()=>{Ne(),Le()},dt=()=>{me(He.error||new DOMException("AbortError","AbortError")),Le()};He.addEventListener("complete",ze),He.addEventListener("error",dt),He.addEventListener("abort",dt)});ae.set(He,Be)}(He),((He,Be)=>Be.some(Ne=>He instanceof Ne))(He,function e(){return C||(C=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(He,ge):He)}function ue(He){if(He instanceof IDBRequest)return function ce(He){const Be=new Promise((Ne,me)=>{const Le=()=>{He.removeEventListener("success",ze),He.removeEventListener("error",dt)},ze=()=>{Ne(ue(He.result)),Le()},dt=()=>{me(He.error),Le()};He.addEventListener("success",ze),He.addEventListener("error",dt)});return Be.then(Ne=>{Ne instanceof IDBCursor&&R.set(Ne,He)}).catch(()=>{}),de.set(Be,He),Be}(He);if(W.has(He))return W.get(He);const Be=fe(He);return Be!==He&&(W.set(He,Be),de.set(Be,He)),Be}const be=He=>de.get(He);function se(He,Be,{blocked:Ne,upgrade:me,blocking:Le,terminated:ze}={}){const dt=indexedDB.open(He,Be),qe=ue(dt);return me&&dt.addEventListener("upgradeneeded",Mt=>{me(ue(dt.result),Mt.oldVersion,Mt.newVersion,ue(dt.transaction))}),Ne&&dt.addEventListener("blocked",()=>Ne()),qe.then(Mt=>{ze&&Mt.addEventListener("close",()=>ze()),Le&&Mt.addEventListener("versionchange",()=>Le())}).catch(()=>{}),qe}function j(He,{blocked:Be}={}){const Ne=indexedDB.deleteDatabase(He);return Be&&Ne.addEventListener("blocked",()=>Be()),ue(Ne).then(()=>{})}const ne=["get","getKey","getAll","getAllKeys","count"],De=["put","add","delete","clear"],Ue=new Map;function V(He,Be){if(!(He instanceof IDBDatabase)||Be in He||"string"!=typeof Be)return;if(Ue.get(Be))return Ue.get(Be);const Ne=Be.replace(/FromIndex$/,""),me=Be!==Ne,Le=De.includes(Ne);if(!(Ne in(me?IDBIndex:IDBObjectStore).prototype)||!Le&&!ne.includes(Ne))return;const ze=function(){var dt=(0,a.Z)(function*(qe,...Mt){const wt=this.transaction(qe,Le?"readwrite":"readonly");let Yt=wt.store;return me&&(Yt=Yt.index(Mt.shift())),(yield Promise.all([Yt[Ne](...Mt),Le&&wt.done]))[0]});return function(Mt){return dt.apply(this,arguments)}}();return Ue.set(Be,ze),ze}!function Re(He){ge=He(ge)}(He=>({...He,get:(Be,Ne,me)=>V(Be,Ne)||He.get(Be,Ne,me),has:(Be,Ne)=>!!V(Be,Ne)||He.has(Be,Ne)}))},5861:(Pt,Ve,f)=>{"use strict";function a(C,Y,e,ee,R,ae,X){try{var W=C[ae](X),de=W.value}catch(ce){return void e(ce)}W.done?Y(de):Promise.resolve(de).then(ee,R)}function p(C){return function(){var Y=this,e=arguments;return new Promise(function(ee,R){var ae=C.apply(Y,e);function X(de){a(ae,ee,R,X,W,"next",de)}function W(de){a(ae,ee,R,X,W,"throw",de)}X(void 0)})}}f.d(Ve,{Z:()=>p})}},Pt=>{Pt(Pt.s=2328)}]);
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.