From 44e6b1a2d402f85c95efaa6360f03214b3dac642 Mon Sep 17 00:00:00 2001 From: jprivet-dev Date: Thu, 24 Aug 2023 16:31:41 +0200 Subject: [PATCH] Auto-generated commit [ci skip] --- 404.html | 2 +- index.html | 2 +- main.9749a859338f5990.js | 1 + main.ae0d1e8fb773af48.js | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 main.9749a859338f5990.js delete mode 100644 main.ae0d1e8fb773af48.js diff --git a/404.html b/404.html index 963e3f7..1c2d7d1 100644 --- a/404.html +++ b/404.html @@ -13,5 +13,5 @@ - + diff --git a/index.html b/index.html index 963e3f7..1c2d7d1 100644 --- a/index.html +++ b/index.html @@ -13,5 +13,5 @@ - + diff --git a/main.9749a859338f5990.js b/main.9749a859338f5990.js new file mode 100644 index 0000000..e3849d8 --- /dev/null +++ b/main.9749a859338f5990.js @@ -0,0 +1 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{4642:(q,H,E)=>{"use strict";E.d(H,{g:()=>s,w:()=>y});const s=["black","brown","red","orange","yellow","green","blue","violet","grey","white","gold","silver","none"],y={digit1:{black:null,brown:1,red:2,orange:3,yellow:4,green:5,blue:6,violet:7,grey:8,white:9,gold:null,silver:null,none:null},digit2:{black:0,brown:1,red:2,orange:3,yellow:4,green:5,blue:6,violet:7,grey:8,white:9,gold:null,silver:null,none:null},digit3:{black:0,brown:1,red:2,orange:3,yellow:4,green:5,blue:6,violet:7,grey:8,white:9,gold:null,silver:null,none:null},multiplier:{black:1,brown:10,red:100,orange:1e3,yellow:1e4,green:1e5,blue:1e6,violet:1e7,grey:null,white:null,gold:.1,silver:.01,none:null},tolerance:{black:null,brown:1,red:2,orange:null,yellow:null,green:.5,blue:.25,violet:.1,grey:.05,white:null,gold:5,silver:10,none:20},thermalCoefficient:{black:null,brown:100,red:50,orange:15,yellow:25,green:null,blue:10,violet:5,grey:null,white:null,gold:null,silver:null,none:null}}},5353:(q,H,E)=>{"use strict";E.d(H,{H:()=>L});var s=E(2096),y=E(4642),W=E(5879);let L=(()=>{class N{constructor(){this.bandsCounts=[3,4,5,6],this.bandsColors=y.g,this.resistorConfig=y.w}retrieveResistor(){return(0,s.of)({digit1:{color:"brown"},digit2:{color:"black"},digit3:{color:"red"},multiplier:{color:"orange"},tolerance:{color:"gold"},thermalCoefficient:{color:"red"},bandsCount:4})}}return N.\u0275fac=function(V){return new(V||N)},N.\u0275prov=W.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})()},3454:(q,H,E)=>{"use strict";E.d(H,{E:()=>y,q:()=>N});var s=E(4642);function y($,V){const ee=3===V.bandsCount;return{digit1:{color:W(V,"digit1"),value:L(V,"digit1")},digit2:{color:W(V,"digit2"),value:L(V,"digit2")},digit3:{color:W(V,"digit3"),value:L(V,"digit3"),active:V.bandsCount>=5},multiplier:{color:W(V,"multiplier"),value:L(V,"multiplier")},tolerance:{color:ee?"none":W(V,"tolerance"),value:ee?s.w.tolerance.none:L(V,"tolerance"),active:V.bandsCount>=4,forceToleranceToTwentyPercent:ee},thermalCoefficient:{color:W(V,"thermalCoefficient"),value:L(V,"thermalCoefficient"),active:6===V.bandsCount},bandsCount:V.bandsCount}}function W($,V){return $[V].color}function L($,V){return s.w[V][$[V].color]}function N(){const $=[{value:1,digit1Color:"brown",digit2Color:"black"},{value:1.2,digit1Color:"brown",digit2Color:"red"},{value:1.5,digit1Color:"brown",digit2Color:"green"},{value:1.8,digit1Color:"brown",digit2Color:"grey"},{value:2.2,digit1Color:"red",digit2Color:"red"},{value:2.7,digit1Color:"red",digit2Color:"violet"},{value:3.3,digit1Color:"orange",digit2Color:"orange"},{value:3.9,digit1Color:"orange",digit2Color:"white"},{value:4.7,digit1Color:"yellow",digit2Color:"violet"},{value:5.6,digit1Color:"green",digit2Color:"blue"},{value:6.8,digit1Color:"blue",digit2Color:"grey"},{value:8.2,digit1Color:"grey",digit2Color:"red"}],V=[];for(let K=0;K<=5;K++)$.forEach(Z=>{V.push({value:Z.value*Math.pow(10,K+1),digit1Color:Z.digit1Color,digit2Color:Z.digit2Color,multiplierColor:s.g[K],toleranceColor:"gold",bandsCount:4})});const Y=$[0];return V.push({value:Y.value*Math.pow(10,7),digit1Color:Y.digit1Color,digit2Color:Y.digit2Color,multiplierColor:s.g[6],toleranceColor:"gold",bandsCount:4}),V}},2387:(q,H,E)=>{"use strict";E.d(H,{R1:()=>L,ZG:()=>W,d9:()=>N,tf:()=>y});var s=E(4221);const y=(0,s.R7)({source:"Resistor",events:{"Update Resistor 4 Band":(0,s.Ky)(),"Update Digit 1":(0,s.Ky)(),"Update Digit 2":(0,s.Ky)(),"Update Digit 3":(0,s.Ky)(),"Update Multiplier":(0,s.Ky)(),"Update Tolerance":(0,s.Ky)(),"Update Thermal Coefficient":(0,s.Ky)(),"Update Bands Count":(0,s.Ky)()}}),W=(0,s.R7)({source:"Resistor API",events:{"Retrieve Resistor":(0,s.uZ)(),"Retrieve Resistor success":(0,s.Ky)()}}),L=(0,s.R7)({source:"Decode",events:{"Decode Resistor":(0,s.Ky)()}}),N=(0,s.R7)({source:"Characteristics",events:{"Calculate Characteristics":(0,s.Ky)()}})},7782:(q,H,E)=>{"use strict";E.d(H,{Nn:()=>y,RJ:()=>ee,cD:()=>K,gD:()=>V,oo:()=>L,sN:()=>Y,si:()=>$,uy:()=>W,y8:()=>Z});var s=E(4221),y=function(te){return te.Resistor="Resistor",te.Decode="Decode",te.Characteristics="Characteristics",te}(y||{});const W=(0,s.ZF)(y.Resistor),L=(0,s.ZF)(y.Decode),N=(0,s.ZF)(y.Characteristics),$=(0,s.P1)(N,te=>te.resistance),V=(0,s.P1)(N,te=>te.resistanceMin),ee=(0,s.P1)(N,te=>te.resistanceMax),Y=(0,s.P1)(N,te=>te.tolerance),K=(0,s.P1)(N,te=>te.toleranceOhm),Z=(0,s.P1)(N,te=>te.thermalCoefficient)},7690:(q,H,E)=>{"use strict";E.d(H,{m:()=>$});var s=E(6814),y=E(8287),W=E(132),L=E(5879);let N=(()=>{class V{}return V.\u0275fac=function(Y){return new(Y||V)},V.\u0275mod=L.oAB({type:V}),V.\u0275inj=L.cJS({imports:[W.lQ,W.XC,W.Oz,W.HK]}),V})(),$=(()=>{class V{}return V.\u0275fac=function(Y){return new(Y||V)},V.\u0275mod=L.oAB({type:V}),V.\u0275inj=L.cJS({imports:[s.ez,y.y4,N]}),V})()},4339:(q,H,E)=>{"use strict";var s=E(6593),y=E(5879),W=E(2096),L=E(9666),N=E(5592),$=E(6328),V=E(2181),ee=E(7398),Y=E(4716),K=E(4664),Z=E(6814);class te{}class he{}class re{constructor(I){this.normalizedNames=new Map,this.lazyUpdate=null,I?"string"==typeof I?this.lazyInit=()=>{this.headers=new Map,I.split("\n").forEach(O=>{const Q=O.indexOf(":");if(Q>0){const Te=O.slice(0,Q),Be=Te.toLowerCase(),Fe=O.slice(Q+1).trim();this.maybeSetNormalizedName(Te,Be),this.headers.has(Be)?this.headers.get(Be).push(Fe):this.headers.set(Be,[Fe])}})}:typeof Headers<"u"&&I instanceof Headers?(this.headers=new Map,I.forEach((O,Q)=>{this.setHeaderEntries(Q,O)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(I).forEach(([O,Q])=>{this.setHeaderEntries(O,Q)})}:this.headers=new Map}has(I){return this.init(),this.headers.has(I.toLowerCase())}get(I){this.init();const O=this.headers.get(I.toLowerCase());return O&&O.length>0?O[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(I){return this.init(),this.headers.get(I.toLowerCase())||null}append(I,O){return this.clone({name:I,value:O,op:"a"})}set(I,O){return this.clone({name:I,value:O,op:"s"})}delete(I,O){return this.clone({name:I,value:O,op:"d"})}maybeSetNormalizedName(I,O){this.normalizedNames.has(O)||this.normalizedNames.set(O,I)}init(){this.lazyInit&&(this.lazyInit instanceof re?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(I=>this.applyUpdate(I)),this.lazyUpdate=null))}copyFrom(I){I.init(),Array.from(I.headers.keys()).forEach(O=>{this.headers.set(O,I.headers.get(O)),this.normalizedNames.set(O,I.normalizedNames.get(O))})}clone(I){const O=new re;return O.lazyInit=this.lazyInit&&this.lazyInit instanceof re?this.lazyInit:this,O.lazyUpdate=(this.lazyUpdate||[]).concat([I]),O}applyUpdate(I){const O=I.name.toLowerCase();switch(I.op){case"a":case"s":let Q=I.value;if("string"==typeof Q&&(Q=[Q]),0===Q.length)return;this.maybeSetNormalizedName(I.name,O);const Te=("a"===I.op?this.headers.get(O):void 0)||[];Te.push(...Q),this.headers.set(O,Te);break;case"d":const Be=I.value;if(Be){let Fe=this.headers.get(O);if(!Fe)return;Fe=Fe.filter(Et=>-1===Be.indexOf(Et)),0===Fe.length?(this.headers.delete(O),this.normalizedNames.delete(O)):this.headers.set(O,Fe)}else this.headers.delete(O),this.normalizedNames.delete(O)}}setHeaderEntries(I,O){const Q=(Array.isArray(O)?O:[O]).map(Be=>Be.toString()),Te=I.toLowerCase();this.headers.set(Te,Q),this.maybeSetNormalizedName(I,Te)}forEach(I){this.init(),Array.from(this.normalizedNames.keys()).forEach(O=>I(this.normalizedNames.get(O),this.headers.get(O)))}}class De{encodeKey(I){return dt(I)}encodeValue(I){return dt(I)}decodeKey(I){return decodeURIComponent(I)}decodeValue(I){return decodeURIComponent(I)}}const et=/%(\d[a-f0-9])/gi,ot={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function dt(w){return encodeURIComponent(w).replace(et,(I,O)=>ot[O]??I)}function le(w){return`${w}`}class Me{constructor(I={}){if(this.updates=null,this.cloneFrom=null,this.encoder=I.encoder||new De,I.fromString){if(I.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ze(w,I){const O=new Map;return w.length>0&&w.replace(/^\?/,"").split("&").forEach(Te=>{const Be=Te.indexOf("="),[Fe,Et]=-1==Be?[I.decodeKey(Te),""]:[I.decodeKey(Te.slice(0,Be)),I.decodeValue(Te.slice(Be+1))],St=O.get(Fe)||[];St.push(Et),O.set(Fe,St)}),O}(I.fromString,this.encoder)}else I.fromObject?(this.map=new Map,Object.keys(I.fromObject).forEach(O=>{const Q=I.fromObject[O],Te=Array.isArray(Q)?Q.map(le):[le(Q)];this.map.set(O,Te)})):this.map=null}has(I){return this.init(),this.map.has(I)}get(I){this.init();const O=this.map.get(I);return O?O[0]:null}getAll(I){return this.init(),this.map.get(I)||null}keys(){return this.init(),Array.from(this.map.keys())}append(I,O){return this.clone({param:I,value:O,op:"a"})}appendAll(I){const O=[];return Object.keys(I).forEach(Q=>{const Te=I[Q];Array.isArray(Te)?Te.forEach(Be=>{O.push({param:Q,value:Be,op:"a"})}):O.push({param:Q,value:Te,op:"a"})}),this.clone(O)}set(I,O){return this.clone({param:I,value:O,op:"s"})}delete(I,O){return this.clone({param:I,value:O,op:"d"})}toString(){return this.init(),this.keys().map(I=>{const O=this.encoder.encodeKey(I);return this.map.get(I).map(Q=>O+"="+this.encoder.encodeValue(Q)).join("&")}).filter(I=>""!==I).join("&")}clone(I){const O=new Me({encoder:this.encoder});return O.cloneFrom=this.cloneFrom||this,O.updates=(this.updates||[]).concat(I),O}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(I=>this.map.set(I,this.cloneFrom.map.get(I))),this.updates.forEach(I=>{switch(I.op){case"a":case"s":const O=("a"===I.op?this.map.get(I.param):void 0)||[];O.push(le(I.value)),this.map.set(I.param,O);break;case"d":if(void 0===I.value){this.map.delete(I.param);break}{let Q=this.map.get(I.param)||[];const Te=Q.indexOf(le(I.value));-1!==Te&&Q.splice(Te,1),Q.length>0?this.map.set(I.param,Q):this.map.delete(I.param)}}}),this.cloneFrom=this.updates=null)}}class Oe{constructor(){this.map=new Map}set(I,O){return this.map.set(I,O),this}get(I){return this.map.has(I)||this.map.set(I,I.defaultValue()),this.map.get(I)}delete(I){return this.map.delete(I),this}has(I){return this.map.has(I)}keys(){return this.map.keys()}}function Ke(w){return typeof ArrayBuffer<"u"&&w instanceof ArrayBuffer}function Tt(w){return typeof Blob<"u"&&w instanceof Blob}function It(w){return typeof FormData<"u"&&w instanceof FormData}class Rt{constructor(I,O,Q,Te){let Be;if(this.url=O,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=I.toUpperCase(),function qe(w){switch(w){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Te?(this.body=void 0!==Q?Q:null,Be=Te):Be=Q,Be&&(this.reportProgress=!!Be.reportProgress,this.withCredentials=!!Be.withCredentials,Be.responseType&&(this.responseType=Be.responseType),Be.headers&&(this.headers=Be.headers),Be.context&&(this.context=Be.context),Be.params&&(this.params=Be.params)),this.headers||(this.headers=new re),this.context||(this.context=new Oe),this.params){const Fe=this.params.toString();if(0===Fe.length)this.urlWithParams=O;else{const Et=O.indexOf("?");this.urlWithParams=O+(-1===Et?"?":EtHn.set(Kn,I.setHeaders[Kn]),St)),I.setParams&&(Rn=Object.keys(I.setParams).reduce((Hn,Kn)=>Hn.set(Kn,I.setParams[Kn]),Rn)),new Rt(O,Q,Be,{params:Rn,headers:St,context:Xn,reportProgress:Et,responseType:Te,withCredentials:Fe})}}var rn=function(w){return w[w.Sent=0]="Sent",w[w.UploadProgress=1]="UploadProgress",w[w.ResponseHeader=2]="ResponseHeader",w[w.DownloadProgress=3]="DownloadProgress",w[w.Response=4]="Response",w[w.User=5]="User",w}(rn||{});class pn{constructor(I,O=200,Q="OK"){this.headers=I.headers||new re,this.status=void 0!==I.status?I.status:O,this.statusText=I.statusText||Q,this.url=I.url||null,this.ok=this.status>=200&&this.status<300}}class mn extends pn{constructor(I={}){super(I),this.type=rn.ResponseHeader}clone(I={}){return new mn({headers:I.headers||this.headers,status:void 0!==I.status?I.status:this.status,statusText:I.statusText||this.statusText,url:I.url||this.url||void 0})}}class un extends pn{constructor(I={}){super(I),this.type=rn.Response,this.body=void 0!==I.body?I.body:null}clone(I={}){return new un({body:void 0!==I.body?I.body:this.body,headers:I.headers||this.headers,status:void 0!==I.status?I.status:this.status,statusText:I.statusText||this.statusText,url:I.url||this.url||void 0})}}class Bn extends pn{constructor(I){super(I,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${I.url||"(unknown url)"}`:`Http failure response for ${I.url||"(unknown url)"}: ${I.status} ${I.statusText}`,this.error=I.error||null}}function pe(w,I){return{body:I,headers:w.headers,context:w.context,observe:w.observe,params:w.params,reportProgress:w.reportProgress,responseType:w.responseType,withCredentials:w.withCredentials}}let ve=(()=>{class w{constructor(O){this.handler=O}request(O,Q,Te={}){let Be;if(O instanceof Rt)Be=O;else{let St,Rn;St=Te.headers instanceof re?Te.headers:new re(Te.headers),Te.params&&(Rn=Te.params instanceof Me?Te.params:new Me({fromObject:Te.params})),Be=new Rt(O,Q,void 0!==Te.body?Te.body:null,{headers:St,context:Te.context,params:Rn,reportProgress:Te.reportProgress,responseType:Te.responseType||"json",withCredentials:Te.withCredentials})}const Fe=(0,W.of)(Be).pipe((0,$.b)(St=>this.handler.handle(St)));if(O instanceof Rt||"events"===Te.observe)return Fe;const Et=Fe.pipe((0,V.h)(St=>St instanceof un));switch(Te.observe||"body"){case"body":switch(Be.responseType){case"arraybuffer":return Et.pipe((0,ee.U)(St=>{if(null!==St.body&&!(St.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return St.body}));case"blob":return Et.pipe((0,ee.U)(St=>{if(null!==St.body&&!(St.body instanceof Blob))throw new Error("Response is not a Blob.");return St.body}));case"text":return Et.pipe((0,ee.U)(St=>{if(null!==St.body&&"string"!=typeof St.body)throw new Error("Response is not a string.");return St.body}));default:return Et.pipe((0,ee.U)(St=>St.body))}case"response":return Et;default:throw new Error(`Unreachable: unhandled observe type ${Te.observe}}`)}}delete(O,Q={}){return this.request("DELETE",O,Q)}get(O,Q={}){return this.request("GET",O,Q)}head(O,Q={}){return this.request("HEAD",O,Q)}jsonp(O,Q){return this.request("JSONP",O,{params:(new Me).append(Q,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(O,Q={}){return this.request("OPTIONS",O,Q)}patch(O,Q,Te={}){return this.request("PATCH",O,pe(Te,Q))}post(O,Q,Te={}){return this.request("POST",O,pe(Te,Q))}put(O,Q,Te={}){return this.request("PUT",O,pe(Te,Q))}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(te))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})();function Ue(w,I){return I(w)}function jt(w,I){return(O,Q)=>I.intercept(O,{handle:Te=>w(Te,Q)})}const zt=new y.OlP(""),qt=new y.OlP(""),Mn=new y.OlP("");function Ft(){let w=null;return(I,O)=>{null===w&&(w=((0,y.f3M)(zt,{optional:!0})??[]).reduceRight(jt,Ue));const Q=(0,y.f3M)(y.HDt),Te=Q.add();return w(I,O).pipe((0,Y.x)(()=>Q.remove(Te)))}}let ie=(()=>{class w extends te{constructor(O,Q){super(),this.backend=O,this.injector=Q,this.chain=null,this.pendingTasks=(0,y.f3M)(y.HDt)}handle(O){if(null===this.chain){const Te=Array.from(new Set([...this.injector.get(qt),...this.injector.get(Mn,[])]));this.chain=Te.reduceRight((Be,Fe)=>function Ye(w,I,O){return(Q,Te)=>O.runInContext(()=>I(Q,Be=>w(Be,Te)))}(Be,Fe,this.injector),Ue)}const Q=this.pendingTasks.add();return this.chain(O,Te=>this.backend.handle(Te)).pipe((0,Y.x)(()=>this.pendingTasks.remove(Q)))}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(he),y.LFG(y.lqb))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})();const _n=/^\)\]\}',?\n/;let on=(()=>{class w{constructor(O){this.xhrFactory=O}handle(O){if("JSONP"===O.method)throw new y.vHH(-2800,!1);const Q=this.xhrFactory;return(Q.\u0275loadImpl?(0,L.D)(Q.\u0275loadImpl()):(0,W.of)(null)).pipe((0,K.w)(()=>new N.y(Be=>{const Fe=Q.build();if(Fe.open(O.method,O.urlWithParams),O.withCredentials&&(Fe.withCredentials=!0),O.headers.forEach((Yt,dn)=>Fe.setRequestHeader(Yt,dn.join(","))),O.headers.has("Accept")||Fe.setRequestHeader("Accept","application/json, text/plain, */*"),!O.headers.has("Content-Type")){const Yt=O.detectContentTypeHeader();null!==Yt&&Fe.setRequestHeader("Content-Type",Yt)}if(O.responseType){const Yt=O.responseType.toLowerCase();Fe.responseType="json"!==Yt?Yt:"text"}const Et=O.serializeBody();let St=null;const Rn=()=>{if(null!==St)return St;const Yt=Fe.statusText||"OK",dn=new re(Fe.getAllResponseHeaders()),xr=function _t(w){return"responseURL"in w&&w.responseURL?w.responseURL:/^X-Request-URL:/m.test(w.getAllResponseHeaders())?w.getResponseHeader("X-Request-URL"):null}(Fe)||O.url;return St=new mn({headers:dn,status:Fe.status,statusText:Yt,url:xr}),St},Xn=()=>{let{headers:Yt,status:dn,statusText:xr,url:bi}=Rn(),Fr=null;204!==dn&&(Fr=typeof Fe.response>"u"?Fe.responseText:Fe.response),0===dn&&(dn=Fr?200:0);let ws=dn>=200&&dn<300;if("json"===O.responseType&&"string"==typeof Fr){const _o=Fr;Fr=Fr.replace(_n,"");try{Fr=""!==Fr?JSON.parse(Fr):null}catch(os){Fr=_o,ws&&(ws=!1,Fr={error:os,text:Fr})}}ws?(Be.next(new un({body:Fr,headers:Yt,status:dn,statusText:xr,url:bi||void 0})),Be.complete()):Be.error(new Bn({error:Fr,headers:Yt,status:dn,statusText:xr,url:bi||void 0}))},Hn=Yt=>{const{url:dn}=Rn(),xr=new Bn({error:Yt,status:Fe.status||0,statusText:Fe.statusText||"Unknown Error",url:dn||void 0});Be.error(xr)};let Kn=!1;const $r=Yt=>{Kn||(Be.next(Rn()),Kn=!0);let dn={type:rn.DownloadProgress,loaded:Yt.loaded};Yt.lengthComputable&&(dn.total=Yt.total),"text"===O.responseType&&Fe.responseText&&(dn.partialText=Fe.responseText),Be.next(dn)},Fn=Yt=>{let dn={type:rn.UploadProgress,loaded:Yt.loaded};Yt.lengthComputable&&(dn.total=Yt.total),Be.next(dn)};return Fe.addEventListener("load",Xn),Fe.addEventListener("error",Hn),Fe.addEventListener("timeout",Hn),Fe.addEventListener("abort",Hn),O.reportProgress&&(Fe.addEventListener("progress",$r),null!==Et&&Fe.upload&&Fe.upload.addEventListener("progress",Fn)),Fe.send(Et),Be.next({type:rn.Sent}),()=>{Fe.removeEventListener("error",Hn),Fe.removeEventListener("abort",Hn),Fe.removeEventListener("load",Xn),Fe.removeEventListener("timeout",Hn),O.reportProgress&&(Fe.removeEventListener("progress",$r),null!==Et&&Fe.upload&&Fe.upload.removeEventListener("progress",Fn)),Fe.readyState!==Fe.DONE&&Fe.abort()}})))}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(Z.JF))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})();const tr=new y.OlP("XSRF_ENABLED"),Jn=new y.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),sr=new y.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class br{}let gr=(()=>{class w{constructor(O,Q,Te){this.doc=O,this.platform=Q,this.cookieName=Te,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const O=this.doc.cookie||"";return O!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Z.Mx)(O,this.cookieName),this.lastCookieString=O),this.lastToken}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(Z.K0),y.LFG(y.Lbi),y.LFG(Jn))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})();function Ar(w,I){const O=w.url.toLowerCase();if(!(0,y.f3M)(tr)||"GET"===w.method||"HEAD"===w.method||O.startsWith("http://")||O.startsWith("https://"))return I(w);const Q=(0,y.f3M)(br).getToken(),Te=(0,y.f3M)(sr);return null!=Q&&!w.headers.has(Te)&&(w=w.clone({headers:w.headers.set(Te,Q)})),I(w)}var On=function(w){return w[w.Interceptors=0]="Interceptors",w[w.LegacyInterceptors=1]="LegacyInterceptors",w[w.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",w[w.NoXsrfProtection=3]="NoXsrfProtection",w[w.JsonpSupport=4]="JsonpSupport",w[w.RequestsMadeViaParent=5]="RequestsMadeViaParent",w[w.Fetch=6]="Fetch",w}(On||{});function dr(w,I){return{\u0275kind:w,\u0275providers:I}}function nr(...w){const I=[ve,on,ie,{provide:te,useExisting:ie},{provide:he,useExisting:on},{provide:qt,useValue:Ar,multi:!0},{provide:tr,useValue:!0},{provide:br,useClass:gr}];for(const O of w)I.push(...O.\u0275providers);return(0,y.MR2)(I)}const In=new y.OlP("LEGACY_INTERCEPTOR_FN");let je=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({providers:[nr(dr(On.LegacyInterceptors,[{provide:In,useFactory:Ft},{provide:qt,useExisting:In,multi:!0}]))]}),w})();var hi=E(7690);let Er=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({imports:[Z.ez,hi.m]}),w})();var fr=E(8287),wr=E(5619);const Xr=[{lang:"en",label:"English"},{lang:"fr",label:"Fran\xe7ais"}];let Tr=(()=>{class w{constructor(){this.transloco=(0,y.f3M)(fr.Vn),this.document=(0,y.f3M)(Z.K0),this.langLabelSubject=new wr.X(""),this.langLabel$=this.langLabelSubject.asObservable()}setLang(O){this.setLangInStorage(O),this.document.documentElement.lang=O,this.langLabelSubject.next(O),this.transloco.setActiveLang(O)}retrieveLang(){const O=this.getLangFromStorage();return null===O?this.transloco.getActiveLang():O}setLangInStorage(O){localStorage.setItem("lang",O)}findLangConfig(O){return Xr.find(Q=>Q.lang===O)}getLangFromStorage(){return localStorage.getItem("lang")}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})(),Li=(()=>{class w{constructor(){this.langService=(0,y.f3M)(Tr)}intercept(O,Q){return this.langService.setLang(this.langService.retrieveLang()),Q.handle(O)}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})();var mr=E(7133);let z=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({imports:[Z.ez,mr.Bz,hi.m]}),w})(),Ae=(()=>{class w{constructor(){this.document=(0,y.f3M)(Z.K0),this.themeNameSubject=new wr.X("light"),this.themeName$=this.themeNameSubject.asObservable(),this.themeConfig=[{name:"light",key:"light",icon:"bi-brightness-high-fill"},{name:"dark",key:"dark",icon:"bi-moon-stars-fill"}]}setTheme(O){this.setThemeInStorage(O),this.document.documentElement.setAttribute("data-bs-theme",O),this.themeNameSubject.next(O)}retrieveTheme(){const O=this.getThemeFromStorage();return null===O?"light":O}findTheme(O){return this.themeConfig.find(Q=>Q.name===O)}setThemeInStorage(O){localStorage.setItem("theme",O)}getThemeFromStorage(){return localStorage.getItem("theme")}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})(),U=(()=>{class w{constructor(){this.themeService=(0,y.f3M)(Ae)}intercept(O,Q){return this.themeService.setTheme(this.themeService.retrieveTheme()),Q.handle(O)}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})(),ye=(()=>{class w{constructor(O){if(O)throw new Error("Core is already loaded. Import it in the AppModule only.")}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(w,12))},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({providers:[{provide:zt,useClass:Li,multi:!0},{provide:zt,useClass:U,multi:!0}],imports:[Z.ez,z,Er,z,Er]}),w})();var Re=E(7632);function st(w,I){1&w&&(y.ynx(0),y.TgZ(1,"p"),y._uU(2," Salut ! Je suis Jean-Philippe, d\xe9veloppeur Symfony & Angular. "),y.qZA(),y.TgZ(3,"p")(4,"strong"),y._uU(5,"Resistor Color Code Calculator"),y.qZA(),y._uU(6," est une \xe9tude de cas personnelle, autour d'une application permettant de calculer les caract\xe9ristiques de diff\xe9rentes r\xe9sistances. "),y.qZA(),y.TgZ(7,"p"),y._uU(8," Cette application est d\xe9velopp\xe9e avec "),y.TgZ(9,"a",14),y._uU(10,"Angular"),y.qZA(),y._uU(11,", "),y.TgZ(12,"a",15),y._uU(13,"NgBootstrap"),y.qZA(),y._uU(14," et "),y.TgZ(15,"a",16),y._uU(16,"Bootstrap 5"),y.qZA(),y._uU(17,", et me permet d'\xe9tudier "),y.TgZ(18,"a",17),y._uU(19,"NgRx"),y.qZA(),y._uU(20," et "),y.TgZ(21,"a",18),y._uU(22,"Redux"),y.qZA(),y._uU(23,". Elle me permet aussi d'essayer "),y.TgZ(24,"a",19),y._uU(25,"Transloco"),y.qZA(),y._uU(26,", une librairie Angular d\xe9dier \xe0 la traduction de contenus. "),y.qZA(),y.TgZ(27,"p"),y._uU(28," L'application n'a aucune vocation commerciale et ne recueille aucune donn\xe9e sur son trafic. C'est un projet open source disponible sur "),y.TgZ(29,"a",20),y._uU(30,"GitHub"),y.qZA(),y._uU(31,". "),y.qZA(),y.TgZ(32,"p",21),y._uU(33," N'h\xe9sitez pas \xe0 me faire part de vos commentaires/suggestions dans la "),y._UZ(34,"br"),y.TgZ(35,"a",22),y._uU(36," section des questions Git "),y.qZA(),y._uU(37,". "),y.qZA(),y.BQk())}function at(w,I){1&w&&(y.TgZ(0,"p"),y._uU(1," Hi, I'm Jean-Philippe, Symfony & Angular developer. "),y.qZA(),y.TgZ(2,"p")(3,"strong"),y._uU(4,"Resistor Color Code Calculator"),y.qZA(),y._uU(5," is a personal case study based on an application that calculates the characteristics of different resistors. "),y.qZA(),y.TgZ(6,"p"),y._uU(7," This application is developed with "),y.TgZ(8,"a",14),y._uU(9,"Angular"),y.qZA(),y._uU(10,", "),y.TgZ(11,"a",15),y._uU(12,"NgBootstrap"),y.qZA(),y._uU(13," and "),y.TgZ(14,"a",16),y._uU(15,"Bootstrap 5"),y.qZA(),y._uU(16,", and allows me to study "),y.TgZ(17,"a",17),y._uU(18,"NgRx"),y.qZA(),y._uU(19," and "),y.TgZ(20,"a",18),y._uU(21,"Redux"),y.qZA(),y._uU(22,". It also lets me try out "),y.TgZ(23,"a",19),y._uU(24,"Transloco"),y.qZA(),y._uU(25,", an Angular library dedicated to content translation. "),y.qZA(),y.TgZ(26,"p"),y._uU(27," The application has no commercial purpose and collects no traffic data. It is an open source project available on "),y.TgZ(28,"a",20),y._uU(29,"GitHub"),y.qZA(),y._uU(30,". "),y.qZA(),y.TgZ(31,"p",21),y._uU(32," Feel free to make comments/suggestions to me in the "),y._UZ(33,"br"),y.TgZ(34,"a",22),y._uU(35," Git issues section "),y.qZA(),y._uU(36,". "),y.qZA())}function ht(w,I){if(1&w&&(y.TgZ(0,"div",11),y.YNc(1,st,38,0,"ng-container",12),y.YNc(2,at,37,0,"ng-template",null,13,y.W1O),y.qZA()),2&w){const O=I.ngIf,Q=y.MAs(3);y.xp6(1),y.Q6J("ngIf","fr"===O)("ngIfElse",Q)}}function Ht(w,I){if(1&w&&(y.TgZ(0,"div",1)(1,"h1",2),y._uU(2),y.ALo(3,"titlecase"),y.qZA(),y.YNc(4,ht,4,2,"div",3),y.ALo(5,"async"),y.TgZ(6,"div",4)(7,"a",5),y._UZ(8,"i",6),y.qZA(),y.TgZ(9,"a",7),y._UZ(10,"i",8),y.qZA(),y.TgZ(11,"a",9),y._UZ(12,"i",10),y.qZA()()()),2&w){const O=I.$implicit,Q=y.oxw();y.xp6(2),y.Oqu(y.lcZ(3,2,O("about"))),y.xp6(2),y.Q6J("ngIf",y.lcZ(5,4,Q.langLabel$))}}const An=[{path:"",redirectTo:"resistor",pathMatch:"full"},{path:"resistor",loadChildren:()=>E.e(287).then(E.bind(E,6287)).then(w=>w.ResistorModule)},{path:"about",component:(()=>{class w{constructor(){this.langService=(0,y.f3M)(Tr),this.langLabel$=this.langService.langLabel$}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275cmp=y.Xpm({type:w,selectors:[["app-about"]],standalone:!0,features:[y.jDz],decls:1,vars:0,consts:[["class","container-sm pt-5",4,"transloco"],[1,"container-sm","pt-5"],[1,"mb-4"],["class","fs-4",4,"ngIf"],[1,"text-center","pt-4"],["href","https://twitter.com/jprivet_dev","target","_blank",1,"btn","btn-primary","btn-lg","mx-2"],[1,"bi","bi-twitter"],["href","https://github.com/jprivet-dev","target","_blank",1,"btn","btn-primary","btn-lg","mx-2"],[1,"bi","bi-github"],["href","https://www.linkedin.com/in/jprivet","target","_blank",1,"btn","btn-primary","btn-lg","mx-2"],[1,"bi","bi-linkedin"],[1,"fs-4"],[4,"ngIf","ngIfElse"],["langEn",""],["href","https://angular.io/","target","_blank"],["href","https://ng-bootstrap.github.io/","target","_blank"],["href","https://getbootstrap.com/","target","_blank"],["href","https://ngrx.io/","target","_blank"],["href","https://redux.js.org/","target","_blank"],["href","","target","_blank"],["href","https://github.com/jprivet-dev/resistor-color-code-calculator","target","_blank"],[1,"text-center","mt-5"],["href","https://github.com/jprivet-dev/resistor-color-code-calculator/issues","target","_blank"]],template:function(O,Q){1&O&&y.YNc(0,Ht,13,6,"div",0)},dependencies:[Z.ez,Z.O5,Z.Ov,Z.rS,hi.m,fr.KI]}),w})()},{path:"**",component:(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275cmp=y.Xpm({type:w,selectors:[["app-not-found"]],standalone:!0,features:[y.jDz],decls:12,vars:0,consts:[[1,"container-xxl"],[1,"px-4","py-5","my-5","text-center"],[1,"display-5","fw-bold","text-body-emphasis"],[1,"lead","mb-4"],[1,"justify-content-sm-center"],["routerLink","/",1,"btn","btn-primary","btn-lg","px-4"]],template:function(O,Q){1&O&&(y.TgZ(0,"div",0)(1,"div",1)(2,"h1",2),y._uU(3,"404"),y.qZA(),y.TgZ(4,"p")(5,"strong"),y._uU(6,"Page not found :("),y.qZA()(),y.TgZ(7,"p",3),y._uU(8,"The requested page could not be found."),y.qZA(),y.TgZ(9,"div",4)(10,"a",5),y._uU(11,"Back to home page"),y.qZA()()()())},dependencies:[Z.ez,mr.Bz,mr.rH]}),w})()}];let ar=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({imports:[mr.Bz.forRoot(An),mr.Bz]}),w})();var zn=E(132);function Mr(w,I){if(1&w&&(y.TgZ(0,"button",23),y.ALo(1,"titlecase"),y._UZ(2,"i",24),y._uU(3),y.qZA()),2&w){const O=I.ngIf,Q=y.oxw().$implicit,Te=y.oxw();y.s9C("title",y.lcZ(1,2,Q("language"))),y.xp6(3),y.hij(" ",Te.findLangLabel(O)," ")}}function ei(w,I){if(1&w){const O=y.EpF();y.TgZ(0,"li")(1,"button",25),y.NdJ("click",function(){const Be=y.CHM(O).$implicit,Fe=y.oxw(2);return y.KtG(Fe.setLang(Be.lang))}),y._uU(2),y.qZA()()}if(2&w){const O=I.$implicit;y.xp6(2),y.hij(" ",O.label," ")}}function pi(w,I){if(1&w&&(y.TgZ(0,"button",23),y.ALo(1,"titlecase"),y._UZ(2,"i"),y.qZA()),2&w){const O=I.ngIf,Q=y.oxw().$implicit,Te=y.oxw();let Be;y.s9C("title",y.lcZ(1,4,Q("theme"))),y.xp6(2),y.Gre("bi ",null==(Be=Te.findTheme(O))?null:Be.icon," mx-1")}}function Gr(w,I){if(1&w){const O=y.EpF();y.TgZ(0,"li")(1,"button",25),y.NdJ("click",function(){const Be=y.CHM(O).$implicit,Fe=y.oxw(2);return y.KtG(Fe.setTheme(Be.name))}),y._UZ(2,"i"),y._uU(3),y.ALo(4,"titlecase"),y.qZA()()}if(2&w){const O=I.$implicit,Q=y.oxw().$implicit;y.xp6(2),y.Gre("bi ",O.icon," mx-1"),y.xp6(1),y.hij(" ",y.lcZ(4,4,Q(O.key))," ")}}const si=function(){return{exact:!0}};function Zi(w,I){if(1&w){const O=y.EpF();y.TgZ(0,"header",1)(1,"nav",2)(2,"a",3),y._UZ(3,"img",4),y.TgZ(4,"span")(5,"span",5),y._uU(6,"Resistor Color Code Calculator"),y.qZA(),y.TgZ(7,"span",6),y._uU(8,"RCCC"),y.qZA()()(),y.TgZ(9,"button",7),y.NdJ("click",function(){y.CHM(O);const Te=y.oxw();return y.KtG(Te.isMenuCollapsed=!Te.isMenuCollapsed)}),y._UZ(10,"span",8),y.qZA(),y.TgZ(11,"div",9)(12,"ul",10)(13,"li",11)(14,"a",12),y._UZ(15,"i",13),y._uU(16),y.ALo(17,"titlecase"),y.qZA()(),y.TgZ(18,"li",11)(19,"a",14),y._UZ(20,"i",15),y._uU(21),y.ALo(22,"titlecase"),y.qZA()(),y.TgZ(23,"li",11)(24,"a",16),y._UZ(25,"i",17),y._uU(26),y.ALo(27,"titlecase"),y.qZA()()(),y.TgZ(28,"ul",18)(29,"li",19),y.YNc(30,Mr,4,4,"button",20),y.ALo(31,"async"),y.TgZ(32,"ul",21),y.YNc(33,ei,3,1,"li",22),y.qZA()(),y.TgZ(34,"li",19),y.YNc(35,pi,3,6,"button",20),y.ALo(36,"async"),y.TgZ(37,"ul",21),y.YNc(38,Gr,5,6,"li",22),y.qZA()()()()()()}if(2&w){const O=I.$implicit,Q=y.oxw();y.xp6(11),y.Q6J("ngbCollapse",Q.isMenuCollapsed),y.xp6(3),y.Q6J("routerLinkActiveOptions",y.DdM(20,si)),y.xp6(2),y.hij(" ",y.lcZ(17,10,O("resistor"))," "),y.xp6(3),y.Q6J("routerLinkActiveOptions",y.DdM(21,si)),y.xp6(2),y.hij(" ",y.lcZ(22,12,O("about"))," "),y.xp6(5),y.hij(" ",y.lcZ(27,14,O("github"))," "),y.xp6(4),y.Q6J("ngIf",y.lcZ(31,16,Q.langLabel$)),y.xp6(3),y.Q6J("ngForOf",Q.langConfig),y.xp6(2),y.Q6J("ngIf",y.lcZ(36,18,Q.themeName$)),y.xp6(3),y.Q6J("ngForOf",Q.themeConfig)}}let ho=(()=>{class w{constructor(){this.langService=(0,y.f3M)(Tr),this.langConfig=Xr,this.langLabel$=this.langService.langLabel$,this.themeService=(0,y.f3M)(Ae),this.themeName$=this.themeService.themeName$,this.themeConfig=this.themeService.themeConfig,this.isMenuCollapsed=!0}setLang(O){this.langService.setLang(O)}findLangLabel(O){const Q=this.langService.findLangConfig(O);return Q?Q.label:""}setTheme(O){this.themeService.setTheme(O)}findTheme(O){return this.themeService.findTheme(O)}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275cmp=y.Xpm({type:w,selectors:[["app-nav"]],decls:1,vars:0,consts:[["class","navbar navbar-expand-lg navbar-dark bg-dark shadow",4,"transloco"],[1,"navbar","navbar-expand-lg","navbar-dark","bg-dark","shadow"],["aria-label","Main navigation",1,"container-fluid"],["routerLink","/",1,"navbar-brand"],["src","assets/img/rccc-logo-192x192.png","width","22","height","22",1,"me-2","mb-1"],[1,"long"],[1,"short"],["type","button","data-bs-toggle","collapse","data-bs-target","#main-navigation","aria-controls","main-navigation","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],["id","main-navigation",1,"collapse","navbar-collapse",3,"ngbCollapse"],[1,"navbar-nav","me-md-auto"],[1,"nav-item"],["routerLink","/resistor","routerLinkActive","active",1,"nav-link",3,"routerLinkActiveOptions"],[1,"bi","bi-r-square","mx-1"],["routerLink","/about","routerLinkActive","active",1,"nav-link",3,"routerLinkActiveOptions"],[1,"bi","bi-info-circle","mx-1"],["href","https://github.com/jprivet-dev/resistor-color-code-calculator","target","_blank",1,"nav-link"],[1,"bi","bi-github","mx-1"],[1,"navbar-nav"],["ngbDropdown","",1,"nav-item","dropdown"],["ngbDropdownToggle","","class","nav-link dropdown-toggle","data-bs-toggle","dropdown","aria-expanded","false",3,"title",4,"ngIf"],["ngbDropdownMenu","",1,"dropdown-menu","dropdown-menu-end"],[4,"ngFor","ngForOf"],["ngbDropdownToggle","","data-bs-toggle","dropdown","aria-expanded","false",1,"nav-link","dropdown-toggle",3,"title"],[1,"bi","bi-translate","mx-1"],["ngbDropdownItem","",1,"dropdown-item",3,"click"]],template:function(O,Q){1&O&&y.YNc(0,Zi,39,22,"header",0)},dependencies:[Z.sg,Z.O5,mr.rH,mr.Od,fr.KI,zn._D,zn.jt,zn.iD,zn.Vi,zn.TH,Z.Ov,Z.rS],styles:[".navbar-brand[_ngcontent-%COMP%]{background:linear-gradient(-45deg,#ff3bdd,#0ac6ff,#00ef00);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.navbar-brand[_ngcontent-%COMP%] .long[_ngcontent-%COMP%]{display:inherit}.navbar-brand[_ngcontent-%COMP%] .short[_ngcontent-%COMP%]{display:none}@media (max-width: 490px){.navbar-brand[_ngcontent-%COMP%]{font-size:1.1rem}}@media (max-width: 410px){.navbar-brand[_ngcontent-%COMP%]{font-size:var(--bs-navbar-brand-font-size)}.navbar-brand[_ngcontent-%COMP%] .long[_ngcontent-%COMP%]{display:none}.navbar-brand[_ngcontent-%COMP%] .short[_ngcontent-%COMP%]{display:inherit}}"]}),w})();function Ao(w,I){1&w&&(y.TgZ(0,"div",1)(1,"footer",2)(2,"p",3),y._uU(3,"\xa9 2023 jprivet-dev"),y.qZA(),y.TgZ(4,"ul",4)(5,"li",5)(6,"a",6),y._UZ(7,"i",7),y.qZA()(),y.TgZ(8,"li",5)(9,"a",8),y._UZ(10,"i",9),y.qZA()(),y.TgZ(11,"li",5)(12,"a",10),y._UZ(13,"i",11),y.qZA()(),y.TgZ(14,"li",12)(15,"span",13),y._uU(16,"v0.1.0"),y.qZA()()()()())}let gi=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275cmp=y.Xpm({type:w,selectors:[["app-footer"]],decls:1,vars:0,consts:[["class","container-xxl pt-5",4,"transloco"],[1,"container-xxl","pt-5"],[1,"d-flex","flex-wrap","justify-content-between","align-items-center","py-3","my-4","border-top"],[1,"col-md-4","mb-0","text-body-secondary"],[1,"nav","col-md-4","justify-content-end"],[1,"nav-item"],["href","https://twitter.com/jprivet_dev","target","_blank",1,"nav-link","px-2","text-body-secondary"],[1,"bi","bi-twitter"],["href","https://github.com/jprivet-dev","target","_blank",1,"nav-link","px-2","text-body-secondary"],[1,"bi","bi-github"],["href","https://www.linkedin.com/in/jprivet","target","_blank",1,"nav-link","px-2","text-body-secondary"],[1,"bi","bi-linkedin"],[1,"nav-item","border-start","ms-2","ps-1"],[1,"nav-link","px-2","text-body-secondary"]],template:function(O,Q){1&O&&y.YNc(0,Ao,17,0,"div",0)},dependencies:[fr.KI]}),w})(),Ti=(()=>{class w{constructor(){this.title="app"}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275cmp=y.Xpm({type:w,selectors:[["app-root"]],decls:4,vars:0,consts:[["id","content"]],template:function(O,Q){1&O&&(y._UZ(0,"app-nav"),y.TgZ(1,"main",0),y._UZ(2,"router-outlet"),y.qZA(),y._UZ(3,"app-footer"))},dependencies:[ho,gi,mr.lC]}),w})();var qi=E(3019),Qi=E(8645),Ro=E(7538),Ut=E(6232),k=E(8504),ge=E(4674);class me{constructor(I,O,Q){this.kind=I,this.value=O,this.error=Q,this.hasValue="N"===I}observe(I){return Qe(this,I)}do(I,O,Q){const{kind:Te,value:Be,error:Fe}=this;return"N"===Te?I?.(Be):"E"===Te?O?.(Fe):Q?.()}accept(I,O,Q){var Te;return(0,ge.m)(null===(Te=I)||void 0===Te?void 0:Te.next)?this.observe(I):this.do(I,O,Q)}toObservable(){const{kind:I,value:O,error:Q}=this,Te="N"===I?(0,W.of)(O):"E"===I?(0,k._)(()=>Q):"C"===I?Ut.E:0;if(!Te)throw new TypeError(`Unexpected notification kind ${I}`);return Te}static createNext(I){return new me("N",I)}static createError(I){return new me("E",void 0,I)}static createComplete(){return me.completeNotification}}function Qe(w,I){var O,Q,Te;const{kind:Be,value:Fe,error:Et}=w;if("string"!=typeof Be)throw new TypeError('Invalid notification, missing "kind"');"N"===Be?null===(O=I.next)||void 0===O||O.call(I,Fe):"E"===Be?null===(Q=I.error)||void 0===Q||Q.call(I,Et):null===(Te=I.complete)||void 0===Te||Te.call(I)}me.completeNotification=new me("C");var tt=E(9360),Lt=E(8251),En=E(6306),$t=E(4829);function ze(w,I,O,Q){return(0,tt.e)((Te,Be)=>{let Fe;I&&"function"!=typeof I?({duration:O,element:Fe,connector:Q}=I):Fe=I;const Et=new Map,St=Fn=>{Et.forEach(Fn),Fn(Be)},Rn=Fn=>St(Yt=>Yt.error(Fn));let Xn=0,Hn=!1;const Kn=new Lt.Q(Be,Fn=>{try{const Yt=w(Fn);let dn=Et.get(Yt);if(!dn){Et.set(Yt,dn=Q?Q():new Qi.x);const xr=function $r(Fn,Yt){const dn=new N.y(xr=>{Xn++;const bi=Yt.subscribe(xr);return()=>{bi.unsubscribe(),0==--Xn&&Hn&&Kn.unsubscribe()}});return dn.key=Fn,dn}(Yt,dn);if(Be.next(xr),O){const bi=(0,Lt.x)(dn,()=>{dn.complete(),bi?.unsubscribe()},void 0,void 0,()=>Et.delete(Yt));Kn.add((0,$t.Xf)(O(xr)).subscribe(bi))}}dn.next(Fe?Fe(Fn):Fn)}catch(Yt){Rn(Yt)}},()=>St(Fn=>Fn.complete()),Rn,()=>Et.clear(),()=>(Hn=!0,0===Xn));Te.subscribe(Kn)})}var Dt=E(1631);function Sn(w,I){return I?O=>O.pipe(Sn((Q,Te)=>(0,$t.Xf)(w(Q,Te)).pipe((0,ee.U)((Be,Fe)=>I(Q,Be,Te,Fe))))):(0,tt.e)((O,Q)=>{let Te=0,Be=null,Fe=!1;O.subscribe((0,Lt.x)(Q,Et=>{Be||(Be=(0,Lt.x)(Q,void 0,()=>{Be=null,Fe&&Q.complete()}),(0,$t.Xf)(w(Et,Te++)).subscribe(Be))},()=>{Fe=!0,!Be&&Q.complete()}))})}var Nr=E(8180),Kt=E(4221);const ki={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},wn="__@ngrx/effects_create__";function Vi(w){return Object.getPrototypeOf(w)}function Vn(w){return"function"==typeof w}function _i(w){return w.filter(Vn)}function Sr(w,I,O){const Q=Vi(w),Be=Q&&"Object"!==Q.constructor.name?Q.constructor.name:null,Fe=function mi(w){return function ai(w){return Object.getOwnPropertyNames(w).filter(Q=>!(!w[Q]||!w[Q].hasOwnProperty(wn))&&w[Q][wn].hasOwnProperty("dispatch")).map(Q=>({propertyName:Q,...w[Q][wn]}))}(w)}(w).map(({propertyName:Et,dispatch:St,useEffectsErrorHandler:Rn})=>{const Xn="function"==typeof w[Et]?w[Et]():w[Et],Hn=Rn?O(Xn,I):Xn;return!1===St?Hn.pipe((0,Ro.l)()):Hn.pipe(function vn(){return(0,tt.e)((w,I)=>{w.subscribe((0,Lt.x)(I,O=>{I.next(me.createNext(O))},()=>{I.next(me.createComplete()),I.complete()},O=>{I.next(me.createError(O)),I.complete()}))})}()).pipe((0,ee.U)($r=>({effect:w[Et],notification:$r,propertyName:Et,sourceName:Be,sourceInstance:w})))});return(0,qi.T)(...Fe)}function po(w,I,O=10){return w.pipe((0,En.K)(Q=>(I&&I.handleError(Q),O<=1?w:po(w,I,O-1))))}let li=(()=>{class w extends N.y{constructor(O){super(),O&&(this.source=O)}lift(O){const Q=new w;return Q.source=this,Q.operator=O,Q}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(Kt.Y$))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})();const go=new y.OlP("@ngrx/effects Internal Root Guard"),vi=new y.OlP("@ngrx/effects User Provided Effects"),Wt=new y.OlP("@ngrx/effects Internal Root Effects"),js=new y.OlP("@ngrx/effects Internal Root Effects Instances"),No=new y.OlP("@ngrx/effects Internal Feature Effects"),Jo=new y.OlP("@ngrx/effects Internal Feature Effects Instance Groups"),yi=new y.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>po}),Xi="@ngrx/effects/init";(0,Kt.PH)(Xi);function Ko(w){return Fo(w,"ngrxOnInitEffects")}function Fo(w,I){return w&&I in w&&"function"==typeof w[I]}let Lo=(()=>{class w extends Qi.x{constructor(O,Q){super(),this.errorHandler=O,this.effectsErrorHandler=Q}addEffects(O){this.next(O)}toActions(){return this.pipe(ze(O=>function Hr(w){return!!w.constructor&&"Object"!==w.constructor.name&&"Function"!==w.constructor.name}(O)?Vi(O):O),(0,Dt.z)(O=>O.pipe(ze(Zo))),(0,Dt.z)(O=>{const Q=O.pipe(Sn(Be=>function mo(w,I){return O=>{const Q=Sr(O,w,I);return function xo(w){return Fo(w,"ngrxOnRunEffects")}(O)?O.ngrxOnRunEffects(Q):Q}}(this.errorHandler,this.effectsErrorHandler)(Be)),(0,ee.U)(Be=>(function Po(w,I){if("N"===w.notification.kind){const O=w.notification.value;!function lr(w){return"function"!=typeof w&&w&&w.type&&"string"==typeof w.type}(O)&&I.handleError(new Error(`Effect ${function wa({propertyName:w,sourceInstance:I,sourceName:O}){const Q="function"==typeof I[w];return O?`"${O}.${String(w)}${Q?"()":""}"`:`"${String(w)}()"`}(w)} dispatched an invalid action: ${function vr(w){try{return JSON.stringify(w)}catch{return w}}(O)}`))}}(Be,this.errorHandler),Be.notification)),(0,V.h)(Be=>"N"===Be.kind&&null!=Be.value),function _r(){return(0,tt.e)((w,I)=>{w.subscribe((0,Lt.x)(I,O=>Qe(O,I)))})}()),Te=O.pipe((0,Nr.q)(1),(0,V.h)(Ko),(0,ee.U)(Be=>Be.ngrxOnInitEffects()));return(0,qi.T)(Q,Te)}))}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(y.qLn),y.LFG(yi))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})();function Zo(w){return function ji(w){return Fo(w,"ngrxOnIdentifyEffects")}(w)?w.ngrxOnIdentifyEffects():""}let qo=(()=>{class w{get isStarted(){return!!this.effectsSubscription}constructor(O,Q){this.effectSources=O,this.store=Q,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(Lo),y.LFG(Kt.yh))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})(),Qo=(()=>{class w{constructor(O,Q,Te,Be,Fe,Et,St){this.sources=O,Q.start();for(const Rn of Be)O.addEffects(Rn);Te.dispatch({type:Xi})}addEffects(O){this.sources.addEffects(O)}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(Lo),y.LFG(qo),y.LFG(Kt.yh),y.LFG(js),y.LFG(Kt.cr,8),y.LFG(Kt.CK,8),y.LFG(go,8))},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({}),w})(),eo=(()=>{class w{constructor(O,Q,Te,Be){const Fe=Q.flat();for(const Et of Fe)O.addEffects(Et)}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(Qo),y.LFG(Jo),y.LFG(Kt.cr,8),y.LFG(Kt.CK,8))},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({}),w})(),$i=(()=>{class w{static forFeature(...O){const Q=O.flat(),Te=_i(Q);return{ngModule:eo,providers:[Te,{provide:No,multi:!0,useValue:Q},{provide:vi,multi:!0,useValue:[]},{provide:Jo,multi:!0,useFactory:$s,deps:[No,vi]}]}}static forRoot(...O){const Q=O.flat(),Te=_i(Q);return{ngModule:Qo,providers:[Te,{provide:Wt,useValue:[Q]},{provide:go,useFactory:Ds},{provide:vi,multi:!0,useValue:[]},{provide:js,useFactory:$s,deps:[Wt,vi]}]}}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({}),w})();function $s(w,I){const O=[];for(const Q of w)O.push(...Q);for(const Q of I)O.push(...Q);return O.map(Q=>function Hi(w){return w instanceof y.OlP||Vn(w)}(Q)?(0,y.f3M)(Q):Q)}function Ds(){const w=(0,y.f3M)(qo,{optional:!0,skipSelf:!0}),I=(0,y.f3M)(Wt,{self:!0});if((1!==I.length||0!==I[0].length)&&w)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}var zr=E(2387),zs=E(5353);let Ws=(()=>{class w{constructor(){this.actions$=(0,y.f3M)(li),this.resistorService=(0,y.f3M)(zs.H),this.retrieveResistor$=function Bi(w,I={}){const O=I.functional?w:w(),Q={...ki,...I};return Object.defineProperty(O,wn,{value:Q}),O}(()=>this.actions$.pipe(function jr(...w){return(0,V.h)(I=>w.some(O=>"string"==typeof O?O===I.type:O.type===I.type))}(zr.ZG.retrieveResistor),Sn(()=>this.resistorService.retrieveResistor().pipe((0,ee.U)(O=>zr.ZG.retrieveResistorSuccess({resistor:O})),(0,En.K)(()=>Ut.E)))))}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})();var Cs=E(3454);const es=(0,Kt.Lq)({digit1:{color:"white"},digit2:{color:"white"},digit3:{color:"white"},multiplier:{color:"white"},tolerance:{color:"white"},thermalCoefficient:{color:"white"},bandsCount:0},(0,Kt.on)(zr.ZG.retrieveResistorSuccess,(w,{resistor:I})=>I),(0,Kt.on)(zr.tf.updateResistor4Band,(w,{resistor:I})=>({...w,digit1:{...w.digit1,...I.digit1},digit2:{...w.digit2,...I.digit2},multiplier:{...w.multiplier,...I.multiplier},tolerance:{...w.tolerance,...I.tolerance},bandsCount:I.bandsCount})),(0,Kt.on)(zr.tf.updateBandsCount,(w,{bandsCount:I})=>({...w,bandsCount:I})),(0,Kt.on)(zr.tf.updateDigit1,(w,{color:I})=>({...w,digit1:{...w.digit1,color:I}})),(0,Kt.on)(zr.tf.updateDigit2,(w,{color:I})=>({...w,digit2:{...w.digit2,color:I}})),(0,Kt.on)(zr.tf.updateDigit3,(w,{color:I})=>({...w,digit3:{...w.digit3,color:I}})),(0,Kt.on)(zr.tf.updateMultiplier,(w,{color:I})=>({...w,multiplier:{...w.multiplier,color:I}})),(0,Kt.on)(zr.tf.updateTolerance,(w,{color:I})=>({...w,tolerance:{...w.tolerance,color:I}})),(0,Kt.on)(zr.tf.updateThermalCoefficient,(w,{color:I})=>({...w,thermalCoefficient:{...w.thermalCoefficient,color:I}}))),Yn=(0,Kt.Lq)({digit1:{color:"white",value:0},digit2:{color:"white",value:0},digit3:{color:"white",value:0,active:!1},multiplier:{color:"white",value:0},tolerance:{color:"white",value:0,active:!1,forceToleranceToTwentyPercent:!1},thermalCoefficient:{color:"white",value:0,active:!1},bandsCount:0},(0,Kt.on)(zr.R1.decodeResistor,(w,{resistor:I})=>(0,Cs.E)(w,I))),Wr=(0,Kt.Lq)({resistance:0,resistanceMax:0,resistanceMin:0,tolerance:0,toleranceOhm:0,thermalCoefficient:0},(0,Kt.on)(zr.d9.calculateCharacteristics,(w,{characteristics:I})=>({...w,...I})));var ts=E(7782);let Es=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({imports:[Kt.Aw.forRoot({[ts.Nn.Resistor]:es,[ts.Nn.Decode]:Yn,[ts.Nn.Characteristics]:Wr}),$i.forRoot([Ws])]}),w})(),ns=(()=>{class w{constructor(){this.http=(0,y.f3M)(ve)}getTranslation(O){return this.http.get(`./assets/i18n/${O}.json`)}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})(),rs=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({providers:[(0,fr.h7)({config:{availableLangs:["en","fr"],defaultLang:"en",reRenderOnLangChange:!0,prodMode:!(0,y.X6Q)()},loader:ns})],imports:[fr.y4]}),w})(),is=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w,bootstrap:[Ti]}),w.\u0275inj=y.cJS({imports:[s.b2,ye,hi.m,ar,je,rs,Es,Re.FT.instrument({maxAge:25,logOnly:!(0,y.X6Q)()})]}),w})();s.q6().bootstrapModule(is).catch(w=>console.error(w))},4007:q=>{function H(W){return W&&W.constructor&&"function"==typeof W.constructor.isBuffer&&W.constructor.isBuffer(W)}function E(W){return W}function s(W,L){const N=(L=L||{}).delimiter||".",$=L.maxDepth,V=L.transformKey||E,ee={};return function Y(K,Z,te){te=te||1,Object.keys(K).forEach(function(he){const re=K[he],we=L.safe&&Array.isArray(re),De=Object.prototype.toString.call(re),Ze=H(re),et="[object Object]"===De||"[object Array]"===De,ot=Z?Z+N+V(he):V(he);if(!we&&!Ze&&et&&Object.keys(re).length&&(!L.maxDepth||te<$))return Y(re,ot,te+1);ee[ot]=re})}(W),ee}q.exports=s,s.flatten=s,s.unflatten=function y(W,L){const N=(L=L||{}).delimiter||".",$=L.overwrite||!1,V=L.transformKey||E,ee={};if(H(W)||"[object Object]"!==Object.prototype.toString.call(W))return W;function K(he){const re=Number(he);return isNaN(re)||-1!==he.indexOf(".")||L.object?he:re}return W=Object.keys(W).reduce(function(he,re){const we=Object.prototype.toString.call(W[re]);return"[object Object]"!==we&&"[object Array]"!==we||function te(he){const re=Object.prototype.toString.call(he);return!he||("[object Array]"===re?!he.length:"[object Object]"===re?!Object.keys(he).length:void 0)}(W[re])?(he[re]=W[re],he):function Z(he,re,we){return Object.keys(we).reduce(function(De,Ze){return De[he+N+Ze]=we[Ze],De},re)}(re,he,s(W[re],L))},{}),Object.keys(W).forEach(function(he){const re=he.split(N).map(V);let we=K(re.shift()),De=K(re[0]),Ze=ee;for(;void 0!==De;){if("__proto__"===we)return;const et=Object.prototype.toString.call(Ze[we]),ot="[object Object]"===et||"[object Array]"===et;if(!$&&!ot&&typeof Ze[we]<"u")return;($&&!ot||!$&&null==Ze[we])&&(Ze[we]="number"!=typeof De||L.object?{}:[]),Ze=Ze[we],re.length>0&&(we=K(re.shift()),De=K(re[0]))}Ze[we]=y(W[he],L)}),ee}},5619:(q,H,E)=>{"use strict";E.d(H,{X:()=>y});var s=E(8645);class y extends s.x{constructor(L){super(),this._value=L}get value(){return this.getValue()}_subscribe(L){const N=super._subscribe(L);return!N.closed&&L.next(this._value),N}getValue(){const{hasError:L,thrownError:N,_value:$}=this;if(L)throw N;return this._throwIfClosed(),$}next(L){super.next(this._value=L)}}},5592:(q,H,E)=>{"use strict";E.d(H,{y:()=>ee});var s=E(305),y=E(7394),W=E(4850),L=E(8407),N=E(2653),$=E(4674),V=E(1441);let ee=(()=>{class te{constructor(re){re&&(this._subscribe=re)}lift(re){const we=new te;return we.source=this,we.operator=re,we}subscribe(re,we,De){const Ze=function Z(te){return te&&te instanceof s.Lv||function K(te){return te&&(0,$.m)(te.next)&&(0,$.m)(te.error)&&(0,$.m)(te.complete)}(te)&&(0,y.Nn)(te)}(re)?re:new s.Hp(re,we,De);return(0,V.x)(()=>{const{operator:et,source:ot}=this;Ze.add(et?et.call(Ze,ot):ot?this._subscribe(Ze):this._trySubscribe(Ze))}),Ze}_trySubscribe(re){try{return this._subscribe(re)}catch(we){re.error(we)}}forEach(re,we){return new(we=Y(we))((De,Ze)=>{const et=new s.Hp({next:ot=>{try{re(ot)}catch(dt){Ze(dt),et.unsubscribe()}},error:Ze,complete:De});this.subscribe(et)})}_subscribe(re){var we;return null===(we=this.source)||void 0===we?void 0:we.subscribe(re)}[W.L](){return this}pipe(...re){return(0,L.U)(re)(this)}toPromise(re){return new(re=Y(re))((we,De)=>{let Ze;this.subscribe(et=>Ze=et,et=>De(et),()=>we(Ze))})}}return te.create=he=>new te(he),te})();function Y(te){var he;return null!==(he=te??N.config.Promise)&&void 0!==he?he:Promise}},7328:(q,H,E)=>{"use strict";E.d(H,{t:()=>W});var s=E(8645),y=E(4552);class W extends s.x{constructor(N=1/0,$=1/0,V=y.l){super(),this._bufferSize=N,this._windowTime=$,this._timestampProvider=V,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=$===1/0,this._bufferSize=Math.max(1,N),this._windowTime=Math.max(1,$)}next(N){const{isStopped:$,_buffer:V,_infiniteTimeWindow:ee,_timestampProvider:Y,_windowTime:K}=this;$||(V.push(N),!ee&&V.push(Y.now()+K)),this._trimBuffer(),super.next(N)}_subscribe(N){this._throwIfClosed(),this._trimBuffer();const $=this._innerSubscribe(N),{_infiniteTimeWindow:V,_buffer:ee}=this,Y=ee.slice();for(let K=0;K{"use strict";E.d(H,{x:()=>V});var s=E(5592),y=E(7394);const L=(0,E(2306).d)(Y=>function(){Y(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var N=E(9039),$=E(1441);let V=(()=>{class Y extends s.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Z){const te=new ee(this,this);return te.operator=Z,te}_throwIfClosed(){if(this.closed)throw new L}next(Z){(0,$.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const te of this.currentObservers)te.next(Z)}})}error(Z){(0,$.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Z;const{observers:te}=this;for(;te.length;)te.shift().error(Z)}})}complete(){(0,$.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Z}=this;for(;Z.length;)Z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Z;return(null===(Z=this.observers)||void 0===Z?void 0:Z.length)>0}_trySubscribe(Z){return this._throwIfClosed(),super._trySubscribe(Z)}_subscribe(Z){return this._throwIfClosed(),this._checkFinalizedStatuses(Z),this._innerSubscribe(Z)}_innerSubscribe(Z){const{hasError:te,isStopped:he,observers:re}=this;return te||he?y.Lc:(this.currentObservers=null,re.push(Z),new y.w0(()=>{this.currentObservers=null,(0,N.P)(re,Z)}))}_checkFinalizedStatuses(Z){const{hasError:te,thrownError:he,isStopped:re}=this;te?Z.error(he):re&&Z.complete()}asObservable(){const Z=new s.y;return Z.source=this,Z}}return Y.create=(K,Z)=>new ee(K,Z),Y})();class ee extends V{constructor(K,Z){super(),this.destination=K,this.source=Z}next(K){var Z,te;null===(te=null===(Z=this.destination)||void 0===Z?void 0:Z.next)||void 0===te||te.call(Z,K)}error(K){var Z,te;null===(te=null===(Z=this.destination)||void 0===Z?void 0:Z.error)||void 0===te||te.call(Z,K)}complete(){var K,Z;null===(Z=null===(K=this.destination)||void 0===K?void 0:K.complete)||void 0===Z||Z.call(K)}_subscribe(K){var Z,te;return null!==(te=null===(Z=this.source)||void 0===Z?void 0:Z.subscribe(K))&&void 0!==te?te:y.Lc}}},305:(q,H,E)=>{"use strict";E.d(H,{Hp:()=>De,Lv:()=>te});var s=E(4674),y=E(7394),W=E(2653),L=E(3894),N=E(2420);const $=Y("C",void 0,void 0);function Y(le,Me,xe){return{kind:le,value:Me,error:xe}}var K=E(7599),Z=E(1441);class te extends y.w0{constructor(Me){super(),this.isStopped=!1,Me?(this.destination=Me,(0,y.Nn)(Me)&&Me.add(this)):this.destination=dt}static create(Me,xe,Oe){return new De(Me,xe,Oe)}next(Me){this.isStopped?ot(function ee(le){return Y("N",le,void 0)}(Me),this):this._next(Me)}error(Me){this.isStopped?ot(function V(le){return Y("E",void 0,le)}(Me),this):(this.isStopped=!0,this._error(Me))}complete(){this.isStopped?ot($,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Me){this.destination.next(Me)}_error(Me){try{this.destination.error(Me)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const he=Function.prototype.bind;function re(le,Me){return he.call(le,Me)}class we{constructor(Me){this.partialObserver=Me}next(Me){const{partialObserver:xe}=this;if(xe.next)try{xe.next(Me)}catch(Oe){Ze(Oe)}}error(Me){const{partialObserver:xe}=this;if(xe.error)try{xe.error(Me)}catch(Oe){Ze(Oe)}else Ze(Me)}complete(){const{partialObserver:Me}=this;if(Me.complete)try{Me.complete()}catch(xe){Ze(xe)}}}class De extends te{constructor(Me,xe,Oe){let qe;if(super(),(0,s.m)(Me)||!Me)qe={next:Me??void 0,error:xe??void 0,complete:Oe??void 0};else{let Ke;this&&W.config.useDeprecatedNextContext?(Ke=Object.create(Me),Ke.unsubscribe=()=>this.unsubscribe(),qe={next:Me.next&&re(Me.next,Ke),error:Me.error&&re(Me.error,Ke),complete:Me.complete&&re(Me.complete,Ke)}):qe=Me}this.destination=new we(qe)}}function Ze(le){W.config.useDeprecatedSynchronousErrorHandling?(0,Z.O)(le):(0,L.h)(le)}function ot(le,Me){const{onStoppedNotification:xe}=W.config;xe&&K.z.setTimeout(()=>xe(le,Me))}const dt={closed:!0,next:N.Z,error:function et(le){throw le},complete:N.Z}},7394:(q,H,E)=>{"use strict";E.d(H,{Lc:()=>$,w0:()=>N,Nn:()=>V});var s=E(4674);const W=(0,E(2306).d)(Y=>function(Z){Y(this),this.message=Z?`${Z.length} errors occurred during unsubscription:\n${Z.map((te,he)=>`${he+1}) ${te.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Z});var L=E(9039);class N{constructor(K){this.initialTeardown=K,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let K;if(!this.closed){this.closed=!0;const{_parentage:Z}=this;if(Z)if(this._parentage=null,Array.isArray(Z))for(const re of Z)re.remove(this);else Z.remove(this);const{initialTeardown:te}=this;if((0,s.m)(te))try{te()}catch(re){K=re instanceof W?re.errors:[re]}const{_finalizers:he}=this;if(he){this._finalizers=null;for(const re of he)try{ee(re)}catch(we){K=K??[],we instanceof W?K=[...K,...we.errors]:K.push(we)}}if(K)throw new W(K)}}add(K){var Z;if(K&&K!==this)if(this.closed)ee(K);else{if(K instanceof N){if(K.closed||K._hasParent(this))return;K._addParent(this)}(this._finalizers=null!==(Z=this._finalizers)&&void 0!==Z?Z:[]).push(K)}}_hasParent(K){const{_parentage:Z}=this;return Z===K||Array.isArray(Z)&&Z.includes(K)}_addParent(K){const{_parentage:Z}=this;this._parentage=Array.isArray(Z)?(Z.push(K),Z):Z?[Z,K]:K}_removeParent(K){const{_parentage:Z}=this;Z===K?this._parentage=null:Array.isArray(Z)&&(0,L.P)(Z,K)}remove(K){const{_finalizers:Z}=this;Z&&(0,L.P)(Z,K),K instanceof N&&K._removeParent(this)}}N.EMPTY=(()=>{const Y=new N;return Y.closed=!0,Y})();const $=N.EMPTY;function V(Y){return Y instanceof N||Y&&"closed"in Y&&(0,s.m)(Y.remove)&&(0,s.m)(Y.add)&&(0,s.m)(Y.unsubscribe)}function ee(Y){(0,s.m)(Y)?Y():Y.unsubscribe()}},2653:(q,H,E)=>{"use strict";E.d(H,{config:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(q,H,E)=>{"use strict";E.d(H,{a:()=>K});var s=E(5592),y=E(7453),W=E(9666),L=E(2737),N=E(7400),$=E(9940),V=E(2714),ee=E(8251),Y=E(7103);function K(...he){const re=(0,$.yG)(he),we=(0,$.jO)(he),{args:De,keys:Ze}=(0,y.D)(he);if(0===De.length)return(0,W.D)([],re);const et=new s.y(function Z(he,re,we=L.y){return De=>{te(re,()=>{const{length:Ze}=he,et=new Array(Ze);let ot=Ze,dt=Ze;for(let le=0;le{const Me=(0,W.D)(he[le],re);let xe=!1;Me.subscribe((0,ee.x)(De,Oe=>{et[le]=Oe,xe||(xe=!0,dt--),dt||De.next(we(et.slice()))},()=>{--ot||De.complete()}))},De)},De)}}(De,re,Ze?ot=>(0,V.n)(Ze,ot):L.y));return we?et.pipe((0,N.Z)(we)):et}function te(he,re,we){he?(0,Y.f)(we,he,re):re()}},5211:(q,H,E)=>{"use strict";E.d(H,{z:()=>N});var s=E(7537),W=E(9940),L=E(9666);function N(...$){return function y(){return(0,s.J)(1)}()((0,L.D)($,(0,W.yG)($)))}},6232:(q,H,E)=>{"use strict";E.d(H,{E:()=>y});const y=new(E(5592).y)(N=>N.complete())},9315:(q,H,E)=>{"use strict";E.d(H,{D:()=>ee});var s=E(5592),y=E(7453),W=E(4829),L=E(9940),N=E(8251),$=E(7400),V=E(2714);function ee(...Y){const K=(0,L.jO)(Y),{args:Z,keys:te}=(0,y.D)(Y),he=new s.y(re=>{const{length:we}=Z;if(!we)return void re.complete();const De=new Array(we);let Ze=we,et=we;for(let ot=0;ot{dt||(dt=!0,et--),De[ot]=le},()=>Ze--,void 0,()=>{(!Ze||!dt)&&(et||re.next(te?(0,V.n)(te,De):De),re.complete())}))}});return K?he.pipe((0,$.Z)(K)):he}},9666:(q,H,E)=>{"use strict";E.d(H,{D:()=>xe});var s=E(4829),y=E(3093),W=E(9360);function L(Oe,qe=0){return(0,W.e)((Ke,Tt)=>{Tt.add(Oe.schedule(()=>Ke.subscribe(Tt),qe))})}var V=E(5592),Y=E(4971),K=E(4674),Z=E(7103);function he(Oe,qe){if(!Oe)throw new Error("Iterable cannot be null");return new V.y(Ke=>{(0,Z.f)(Ke,qe,()=>{const Tt=Oe[Symbol.asyncIterator]();(0,Z.f)(Ke,qe,()=>{Tt.next().then(It=>{It.done?Ke.complete():Ke.next(It.value)})},0,!0)})})}var re=E(8382),we=E(4026),De=E(4266),Ze=E(3664),et=E(5726),ot=E(9853),dt=E(541);function xe(Oe,qe){return qe?function Me(Oe,qe){if(null!=Oe){if((0,re.c)(Oe))return function N(Oe,qe){return(0,s.Xf)(Oe).pipe(L(qe),(0,y.Q)(qe))}(Oe,qe);if((0,De.z)(Oe))return function ee(Oe,qe){return new V.y(Ke=>{let Tt=0;return qe.schedule(function(){Tt===Oe.length?Ke.complete():(Ke.next(Oe[Tt++]),Ke.closed||this.schedule())})})}(Oe,qe);if((0,we.t)(Oe))return function $(Oe,qe){return(0,s.Xf)(Oe).pipe(L(qe),(0,y.Q)(qe))}(Oe,qe);if((0,et.D)(Oe))return he(Oe,qe);if((0,Ze.T)(Oe))return function te(Oe,qe){return new V.y(Ke=>{let Tt;return(0,Z.f)(Ke,qe,()=>{Tt=Oe[Y.h](),(0,Z.f)(Ke,qe,()=>{let It,Gt;try{({value:It,done:Gt}=Tt.next())}catch(Rt){return void Ke.error(Rt)}Gt?Ke.complete():Ke.next(It)},0,!0)}),()=>(0,K.m)(Tt?.return)&&Tt.return()})}(Oe,qe);if((0,dt.L)(Oe))return function le(Oe,qe){return he((0,dt.Q)(Oe),qe)}(Oe,qe)}throw(0,ot.z)(Oe)}(Oe,qe):(0,s.Xf)(Oe)}},4829:(q,H,E)=>{"use strict";E.d(H,{Xf:()=>he});var s=E(7582),y=E(4266),W=E(4026),L=E(5592),N=E(8382),$=E(5726),V=E(9853),ee=E(3664),Y=E(541),K=E(4674),Z=E(3894),te=E(4850);function he(le){if(le instanceof L.y)return le;if(null!=le){if((0,N.c)(le))return function re(le){return new L.y(Me=>{const xe=le[te.L]();if((0,K.m)(xe.subscribe))return xe.subscribe(Me);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(le);if((0,y.z)(le))return function we(le){return new L.y(Me=>{for(let xe=0;xe{le.then(xe=>{Me.closed||(Me.next(xe),Me.complete())},xe=>Me.error(xe)).then(null,Z.h)})}(le);if((0,$.D)(le))return et(le);if((0,ee.T)(le))return function Ze(le){return new L.y(Me=>{for(const xe of le)if(Me.next(xe),Me.closed)return;Me.complete()})}(le);if((0,Y.L)(le))return function ot(le){return et((0,Y.Q)(le))}(le)}throw(0,V.z)(le)}function et(le){return new L.y(Me=>{(function dt(le,Me){var xe,Oe,qe,Ke;return(0,s.mG)(this,void 0,void 0,function*(){try{for(xe=(0,s.KL)(le);!(Oe=yield xe.next()).done;)if(Me.next(Oe.value),Me.closed)return}catch(Tt){qe={error:Tt}}finally{try{Oe&&!Oe.done&&(Ke=xe.return)&&(yield Ke.call(xe))}finally{if(qe)throw qe.error}}Me.complete()})})(le,Me).catch(xe=>Me.error(xe))})}},3019:(q,H,E)=>{"use strict";E.d(H,{T:()=>$});var s=E(7537),y=E(4829),W=E(6232),L=E(9940),N=E(9666);function $(...V){const ee=(0,L.yG)(V),Y=(0,L._6)(V,1/0),K=V;return K.length?1===K.length?(0,y.Xf)(K[0]):(0,s.J)(Y)((0,N.D)(K,ee)):W.E}},2096:(q,H,E)=>{"use strict";E.d(H,{of:()=>W});var s=E(9940),y=E(9666);function W(...L){const N=(0,s.yG)(L);return(0,y.D)(L,N)}},8504:(q,H,E)=>{"use strict";E.d(H,{_:()=>W});var s=E(5592),y=E(4674);function W(L,N){const $=(0,y.m)(L)?L:()=>L,V=ee=>ee.error($());return new s.y(N?ee=>N.schedule(V,0,ee):V)}},9080:(q,H,E)=>{"use strict";E.d(H,{H:()=>N});var s=E(5592),y=E(6321),W=E(671),L=E(93);function N($=0,V,ee=y.P){let Y=-1;return null!=V&&((0,W.K)(V)?ee=V:Y=V),new s.y(K=>{let Z=(0,L.q)($)?+$-ee.now():$;Z<0&&(Z=0);let te=0;return ee.schedule(function(){K.closed||(K.next(te++),0<=Y?this.schedule(void 0,Y):K.complete())},Z)})}},8251:(q,H,E)=>{"use strict";E.d(H,{Q:()=>W,x:()=>y});var s=E(305);function y(L,N,$,V,ee){return new W(L,N,$,V,ee)}class W extends s.Lv{constructor(N,$,V,ee,Y,K){super(N),this.onFinalize=Y,this.shouldUnsubscribe=K,this._next=$?function(Z){try{$(Z)}catch(te){N.error(te)}}:super._next,this._error=ee?function(Z){try{ee(Z)}catch(te){N.error(te)}finally{this.unsubscribe()}}:super._error,this._complete=V?function(){try{V()}catch(Z){N.error(Z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var N;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:$}=this;super.unsubscribe(),!$&&(null===(N=this.onFinalize)||void 0===N||N.call(this))}}}},6306:(q,H,E)=>{"use strict";E.d(H,{K:()=>L});var s=E(4829),y=E(8251),W=E(9360);function L(N){return(0,W.e)(($,V)=>{let K,ee=null,Y=!1;ee=$.subscribe((0,y.x)(V,void 0,void 0,Z=>{K=(0,s.Xf)(N(Z,L(N)($))),ee?(ee.unsubscribe(),ee=null,K.subscribe(V)):Y=!0})),Y&&(ee.unsubscribe(),ee=null,K.subscribe(V))})}},6328:(q,H,E)=>{"use strict";E.d(H,{b:()=>W});var s=E(1631),y=E(4674);function W(L,N){return(0,y.m)(N)?(0,s.z)(L,N,1):(0,s.z)(L,1)}},3620:(q,H,E)=>{"use strict";E.d(H,{b:()=>L});var s=E(6321),y=E(9360),W=E(8251);function L(N,$=s.z){return(0,y.e)((V,ee)=>{let Y=null,K=null,Z=null;const te=()=>{if(Y){Y.unsubscribe(),Y=null;const re=K;K=null,ee.next(re)}};function he(){const re=Z+N,we=$.now();if(we{K=re,Z=$.now(),Y||(Y=$.schedule(he,N),ee.add(Y))},()=>{te(),ee.complete()},void 0,()=>{K=Y=null}))})}},3997:(q,H,E)=>{"use strict";E.d(H,{x:()=>L});var s=E(2737),y=E(9360),W=E(8251);function L($,V=s.y){return $=$??N,(0,y.e)((ee,Y)=>{let K,Z=!0;ee.subscribe((0,W.x)(Y,te=>{const he=V(te);(Z||!$(K,he))&&(Z=!1,K=he,Y.next(te))}))})}function N($,V){return $===V}},2181:(q,H,E)=>{"use strict";E.d(H,{h:()=>W});var s=E(9360),y=E(8251);function W(L,N){return(0,s.e)(($,V)=>{let ee=0;$.subscribe((0,y.x)(V,Y=>L.call(N,Y,ee++)&&V.next(Y)))})}},4716:(q,H,E)=>{"use strict";E.d(H,{x:()=>y});var s=E(9360);function y(W){return(0,s.e)((L,N)=>{try{L.subscribe(N)}finally{N.add(W)}})}},7538:(q,H,E)=>{"use strict";E.d(H,{l:()=>L});var s=E(9360),y=E(8251),W=E(2420);function L(){return(0,s.e)((N,$)=>{N.subscribe((0,y.x)($,W.Z))})}},7398:(q,H,E)=>{"use strict";E.d(H,{U:()=>W});var s=E(9360),y=E(8251);function W(L,N){return(0,s.e)(($,V)=>{let ee=0;$.subscribe((0,y.x)(V,Y=>{V.next(L.call(N,Y,ee++))}))})}},975:(q,H,E)=>{"use strict";E.d(H,{h:()=>y});var s=E(7398);function y(W){return(0,s.U)(()=>W)}},7537:(q,H,E)=>{"use strict";E.d(H,{J:()=>W});var s=E(1631),y=E(2737);function W(L=1/0){return(0,s.z)(y.y,L)}},1631:(q,H,E)=>{"use strict";E.d(H,{z:()=>ee});var s=E(7398),y=E(4829),W=E(9360),L=E(7103),N=E(8251),V=E(4674);function ee(Y,K,Z=1/0){return(0,V.m)(K)?ee((te,he)=>(0,s.U)((re,we)=>K(te,re,he,we))((0,y.Xf)(Y(te,he))),Z):("number"==typeof K&&(Z=K),(0,W.e)((te,he)=>function $(Y,K,Z,te,he,re,we,De){const Ze=[];let et=0,ot=0,dt=!1;const le=()=>{dt&&!Ze.length&&!et&&K.complete()},Me=Oe=>et{re&&K.next(Oe),et++;let qe=!1;(0,y.Xf)(Z(Oe,ot++)).subscribe((0,N.x)(K,Ke=>{he?.(Ke),re?Me(Ke):K.next(Ke)},()=>{qe=!0},void 0,()=>{if(qe)try{for(et--;Ze.length&&etxe(Ke)):xe(Ke)}le()}catch(Ke){K.error(Ke)}}))};return Y.subscribe((0,N.x)(K,Me,()=>{dt=!0,le()})),()=>{De?.()}}(te,he,Y,Z)))}},3093:(q,H,E)=>{"use strict";E.d(H,{Q:()=>L});var s=E(7103),y=E(9360),W=E(8251);function L(N,$=0){return(0,y.e)((V,ee)=>{V.subscribe((0,W.x)(ee,Y=>(0,s.f)(ee,N,()=>ee.next(Y),$),()=>(0,s.f)(ee,N,()=>ee.complete(),$),Y=>(0,s.f)(ee,N,()=>ee.error(Y),$)))})}},6699:(q,H,E)=>{"use strict";E.d(H,{R:()=>L});var s=E(9360),y=E(8251);function L(N,$){return(0,s.e)(function W(N,$,V,ee,Y){return(K,Z)=>{let te=V,he=$,re=0;K.subscribe((0,y.x)(Z,we=>{const De=re++;he=te?N(he,we,De):(te=!0,we),ee&&Z.next(he)},Y&&(()=>{te&&Z.next(he),Z.complete()})))}}(N,$,arguments.length>=2,!0))}},3020:(q,H,E)=>{"use strict";E.d(H,{B:()=>N});var s=E(4829),y=E(8645),W=E(305),L=E(9360);function N(V={}){const{connector:ee=(()=>new y.x),resetOnError:Y=!0,resetOnComplete:K=!0,resetOnRefCountZero:Z=!0}=V;return te=>{let he,re,we,De=0,Ze=!1,et=!1;const ot=()=>{re?.unsubscribe(),re=void 0},dt=()=>{ot(),he=we=void 0,Ze=et=!1},le=()=>{const Me=he;dt(),Me?.unsubscribe()};return(0,L.e)((Me,xe)=>{De++,!et&&!Ze&&ot();const Oe=we=we??ee();xe.add(()=>{De--,0===De&&!et&&!Ze&&(re=$(le,Z))}),Oe.subscribe(xe),!he&&De>0&&(he=new W.Hp({next:qe=>Oe.next(qe),error:qe=>{et=!0,ot(),re=$(dt,Y,qe),Oe.error(qe)},complete:()=>{Ze=!0,ot(),re=$(dt,K),Oe.complete()}}),(0,s.Xf)(Me).subscribe(he))})(te)}}function $(V,ee,...Y){if(!0===ee)return void V();if(!1===ee)return;const K=new W.Hp({next:()=>{K.unsubscribe(),V()}});return(0,s.Xf)(ee(...Y)).subscribe(K)}},836:(q,H,E)=>{"use strict";E.d(H,{T:()=>y});var s=E(2181);function y(W){return(0,s.h)((L,N)=>W<=N)}},7921:(q,H,E)=>{"use strict";E.d(H,{O:()=>L});var s=E(5211),y=E(9940),W=E(9360);function L(...N){const $=(0,y.yG)(N);return(0,W.e)((V,ee)=>{($?(0,s.z)(N,V,$):(0,s.z)(N,V)).subscribe(ee)})}},4664:(q,H,E)=>{"use strict";E.d(H,{w:()=>L});var s=E(4829),y=E(9360),W=E(8251);function L(N,$){return(0,y.e)((V,ee)=>{let Y=null,K=0,Z=!1;const te=()=>Z&&!Y&&ee.complete();V.subscribe((0,W.x)(ee,he=>{Y?.unsubscribe();let re=0;const we=K++;(0,s.Xf)(N(he,we)).subscribe(Y=(0,W.x)(ee,De=>ee.next($?$(he,De,we,re++):De),()=>{Y=null,te()}))},()=>{Z=!0,te()}))})}},8180:(q,H,E)=>{"use strict";E.d(H,{q:()=>L});var s=E(6232),y=E(9360),W=E(8251);function L(N){return N<=0?()=>s.E:(0,y.e)(($,V)=>{let ee=0;$.subscribe((0,W.x)(V,Y=>{++ee<=N&&(V.next(Y),N<=ee&&V.complete())}))})}},9773:(q,H,E)=>{"use strict";E.d(H,{R:()=>N});var s=E(9360),y=E(8251),W=E(4829),L=E(2420);function N($){return(0,s.e)((V,ee)=>{(0,W.Xf)($).subscribe((0,y.x)(ee,()=>ee.complete(),L.Z)),!ee.closed&&V.subscribe(ee)})}},9397:(q,H,E)=>{"use strict";E.d(H,{b:()=>N});var s=E(4674),y=E(9360),W=E(8251),L=E(2737);function N($,V,ee){const Y=(0,s.m)($)||V||ee?{next:$,error:V,complete:ee}:$;return Y?(0,y.e)((K,Z)=>{var te;null===(te=Y.subscribe)||void 0===te||te.call(Y);let he=!0;K.subscribe((0,W.x)(Z,re=>{var we;null===(we=Y.next)||void 0===we||we.call(Y,re),Z.next(re)},()=>{var re;he=!1,null===(re=Y.complete)||void 0===re||re.call(Y),Z.complete()},re=>{var we;he=!1,null===(we=Y.error)||void 0===we||we.call(Y,re),Z.error(re)},()=>{var re,we;he&&(null===(re=Y.unsubscribe)||void 0===re||re.call(Y)),null===(we=Y.finalize)||void 0===we||we.call(Y)}))}):L.y}},5178:(q,H,E)=>{"use strict";E.d(H,{V:()=>Y});var s=E(6321),y=E(93),W=E(9360),L=E(4829),N=E(2306),$=E(8251),V=E(7103);const ee=(0,N.d)(Z=>function(he=null){Z(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=he});function Y(Z,te){const{first:he,each:re,with:we=K,scheduler:De=te??s.z,meta:Ze=null}=(0,y.q)(Z)?{first:Z}:"number"==typeof Z?{each:Z}:Z;if(null==he&&null==re)throw new TypeError("No timeout provided.");return(0,W.e)((et,ot)=>{let dt,le,Me=null,xe=0;const Oe=qe=>{le=(0,V.f)(ot,De,()=>{try{dt.unsubscribe(),(0,L.Xf)(we({meta:Ze,lastValue:Me,seen:xe})).subscribe(ot)}catch(Ke){ot.error(Ke)}},qe)};dt=et.subscribe((0,$.x)(ot,qe=>{le?.unsubscribe(),xe++,ot.next(Me=qe),re>0&&Oe(re)},void 0,void 0,()=>{le?.closed||le?.unsubscribe(),Me=null})),!xe&&Oe(null!=he?"number"==typeof he?he:+he-De.now():re)})}function K(Z){throw new ee(Z)}},2460:(q,H,E)=>{"use strict";E.d(H,{M:()=>V});var s=E(9360),y=E(8251),W=E(4829),L=E(2737),N=E(2420),$=E(9940);function V(...ee){const Y=(0,$.jO)(ee);return(0,s.e)((K,Z)=>{const te=ee.length,he=new Array(te);let re=ee.map(()=>!1),we=!1;for(let De=0;De{he[De]=Ze,!we&&!re[De]&&(re[De]=!0,(we=re.every(L.y))&&(re=null))},N.Z));K.subscribe((0,y.x)(Z,De=>{if(we){const Ze=[De,...he];Z.next(Y?Y(...Ze):Ze)}}))})}},1954:(q,H,E)=>{"use strict";E.d(H,{o:()=>N});var s=E(7394);class y extends s.w0{constructor(V,ee){super()}schedule(V,ee=0){return this}}const W={setInterval($,V,...ee){const{delegate:Y}=W;return Y?.setInterval?Y.setInterval($,V,...ee):setInterval($,V,...ee)},clearInterval($){const{delegate:V}=W;return(V?.clearInterval||clearInterval)($)},delegate:void 0};var L=E(9039);class N extends y{constructor(V,ee){super(V,ee),this.scheduler=V,this.work=ee,this.pending=!1}schedule(V,ee=0){var Y;if(this.closed)return this;this.state=V;const K=this.id,Z=this.scheduler;return null!=K&&(this.id=this.recycleAsyncId(Z,K,ee)),this.pending=!0,this.delay=ee,this.id=null!==(Y=this.id)&&void 0!==Y?Y:this.requestAsyncId(Z,this.id,ee),this}requestAsyncId(V,ee,Y=0){return W.setInterval(V.flush.bind(V,this),Y)}recycleAsyncId(V,ee,Y=0){if(null!=Y&&this.delay===Y&&!1===this.pending)return ee;null!=ee&&W.clearInterval(ee)}execute(V,ee){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Y=this._execute(V,ee);if(Y)return Y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(V,ee){let K,Y=!1;try{this.work(V)}catch(Z){Y=!0,K=Z||new Error("Scheduled action threw falsy error")}if(Y)return this.unsubscribe(),K}unsubscribe(){if(!this.closed){const{id:V,scheduler:ee}=this,{actions:Y}=ee;this.work=this.state=this.scheduler=null,this.pending=!1,(0,L.P)(Y,this),null!=V&&(this.id=this.recycleAsyncId(ee,V,null)),this.delay=null,super.unsubscribe()}}}},2631:(q,H,E)=>{"use strict";E.d(H,{v:()=>W});var s=E(4552);class y{constructor(N,$=y.now){this.schedulerActionCtor=N,this.now=$}schedule(N,$=0,V){return new this.schedulerActionCtor(this,N).schedule(V,$)}}y.now=s.l.now;class W extends y{constructor(N,$=y.now){super(N,$),this.actions=[],this._active=!1}flush(N){const{actions:$}=this;if(this._active)return void $.push(N);let V;this._active=!0;do{if(V=N.execute(N.state,N.delay))break}while(N=$.shift());if(this._active=!1,V){for(;N=$.shift();)N.unsubscribe();throw V}}}},6321:(q,H,E)=>{"use strict";E.d(H,{P:()=>L,z:()=>W});var s=E(1954);const W=new(E(2631).v)(s.o),L=W},4552:(q,H,E)=>{"use strict";E.d(H,{l:()=>s});const s={now:()=>(s.delegate||Date).now(),delegate:void 0}},2381:(q,H,E)=>{"use strict";E.d(H,{N:()=>N});var s=E(1954),W=E(2631);const N=new class L extends W.v{}(class y extends s.o{constructor(ee,Y){super(ee,Y),this.scheduler=ee,this.work=Y}schedule(ee,Y=0){return Y>0?super.schedule(ee,Y):(this.delay=Y,this.state=ee,this.scheduler.flush(this),this)}execute(ee,Y){return Y>0||this.closed?super.execute(ee,Y):this._execute(ee,Y)}requestAsyncId(ee,Y,K=0){return null!=K&&K>0||null==K&&this.delay>0?super.requestAsyncId(ee,Y,K):(ee.flush(this),0)}})},7599:(q,H,E)=>{"use strict";E.d(H,{z:()=>s});const s={setTimeout(y,W,...L){const{delegate:N}=s;return N?.setTimeout?N.setTimeout(y,W,...L):setTimeout(y,W,...L)},clearTimeout(y){const{delegate:W}=s;return(W?.clearTimeout||clearTimeout)(y)},delegate:void 0}},4971:(q,H,E)=>{"use strict";E.d(H,{h:()=>y});const y=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(q,H,E)=>{"use strict";E.d(H,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(q,H,E)=>{"use strict";E.d(H,{_6:()=>$,jO:()=>L,yG:()=>N});var s=E(4674),y=E(671);function W(V){return V[V.length-1]}function L(V){return(0,s.m)(W(V))?V.pop():void 0}function N(V){return(0,y.K)(W(V))?V.pop():void 0}function $(V,ee){return"number"==typeof W(V)?V.pop():ee}},7453:(q,H,E)=>{"use strict";E.d(H,{D:()=>N});const{isArray:s}=Array,{getPrototypeOf:y,prototype:W,keys:L}=Object;function N(V){if(1===V.length){const ee=V[0];if(s(ee))return{args:ee,keys:null};if(function $(V){return V&&"object"==typeof V&&y(V)===W}(ee)){const Y=L(ee);return{args:Y.map(K=>ee[K]),keys:Y}}}return{args:V,keys:null}}},9039:(q,H,E)=>{"use strict";function s(y,W){if(y){const L=y.indexOf(W);0<=L&&y.splice(L,1)}}E.d(H,{P:()=>s})},2306:(q,H,E)=>{"use strict";function s(y){const L=y(N=>{Error.call(N),N.stack=(new Error).stack});return L.prototype=Object.create(Error.prototype),L.prototype.constructor=L,L}E.d(H,{d:()=>s})},2714:(q,H,E)=>{"use strict";function s(y,W){return y.reduce((L,N,$)=>(L[N]=W[$],L),{})}E.d(H,{n:()=>s})},1441:(q,H,E)=>{"use strict";E.d(H,{O:()=>L,x:()=>W});var s=E(2653);let y=null;function W(N){if(s.config.useDeprecatedSynchronousErrorHandling){const $=!y;if($&&(y={errorThrown:!1,error:null}),N(),$){const{errorThrown:V,error:ee}=y;if(y=null,V)throw ee}}else N()}function L(N){s.config.useDeprecatedSynchronousErrorHandling&&y&&(y.errorThrown=!0,y.error=N)}},7103:(q,H,E)=>{"use strict";function s(y,W,L,N=0,$=!1){const V=W.schedule(function(){L(),$?y.add(this.schedule(null,N)):this.unsubscribe()},N);if(y.add(V),!$)return V}E.d(H,{f:()=>s})},2737:(q,H,E)=>{"use strict";function s(y){return y}E.d(H,{y:()=>s})},4266:(q,H,E)=>{"use strict";E.d(H,{z:()=>s});const s=y=>y&&"number"==typeof y.length&&"function"!=typeof y},5726:(q,H,E)=>{"use strict";E.d(H,{D:()=>y});var s=E(4674);function y(W){return Symbol.asyncIterator&&(0,s.m)(W?.[Symbol.asyncIterator])}},93:(q,H,E)=>{"use strict";function s(y){return y instanceof Date&&!isNaN(y)}E.d(H,{q:()=>s})},4674:(q,H,E)=>{"use strict";function s(y){return"function"==typeof y}E.d(H,{m:()=>s})},8382:(q,H,E)=>{"use strict";E.d(H,{c:()=>W});var s=E(4850),y=E(4674);function W(L){return(0,y.m)(L[s.L])}},3664:(q,H,E)=>{"use strict";E.d(H,{T:()=>W});var s=E(4971),y=E(4674);function W(L){return(0,y.m)(L?.[s.h])}},4026:(q,H,E)=>{"use strict";E.d(H,{t:()=>y});var s=E(4674);function y(W){return(0,s.m)(W?.then)}},541:(q,H,E)=>{"use strict";E.d(H,{L:()=>L,Q:()=>W});var s=E(7582),y=E(4674);function W(N){return(0,s.FC)(this,arguments,function*(){const V=N.getReader();try{for(;;){const{value:ee,done:Y}=yield(0,s.qq)(V.read());if(Y)return yield(0,s.qq)(void 0);yield yield(0,s.qq)(ee)}}finally{V.releaseLock()}})}function L(N){return(0,y.m)(N?.getReader)}},671:(q,H,E)=>{"use strict";E.d(H,{K:()=>y});var s=E(4674);function y(W){return W&&(0,s.m)(W.schedule)}},9360:(q,H,E)=>{"use strict";E.d(H,{A:()=>y,e:()=>W});var s=E(4674);function y(L){return(0,s.m)(L?.lift)}function W(L){return N=>{if(y(N))return N.lift(function($){try{return L($,this)}catch(V){this.error(V)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(q,H,E)=>{"use strict";E.d(H,{Z:()=>L});var s=E(7398);const{isArray:y}=Array;function L(N){return(0,s.U)($=>function W(N,$){return y($)?N(...$):N($)}(N,$))}},2420:(q,H,E)=>{"use strict";function s(){}E.d(H,{Z:()=>s})},8407:(q,H,E)=>{"use strict";E.d(H,{U:()=>W,z:()=>y});var s=E(2737);function y(...L){return W(L)}function W(L){return 0===L.length?s.y:1===L.length?L[0]:function($){return L.reduce((V,ee)=>ee(V),$)}}},3894:(q,H,E)=>{"use strict";E.d(H,{h:()=>W});var s=E(2653),y=E(7599);function W(L){y.z.setTimeout(()=>{const{onUnhandledError:N}=s.config;if(!N)throw L;N(L)})}},9853:(q,H,E)=>{"use strict";function s(y){return new TypeError(`You provided ${null!==y&&"object"==typeof y?"an invalid object":`'${y}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}E.d(H,{z:()=>s})},6814:(q,H,E)=>{"use strict";E.d(H,{Do:()=>De,EM:()=>Jo,HT:()=>L,JF:()=>lr,K0:()=>$,Mn:()=>pn,Mx:()=>Re,O5:()=>Mr,Ov:()=>Qe,PM:()=>vi,S$:()=>he,Tn:()=>Ke,UT:()=>mn,V_:()=>ee,Ye:()=>Ze,ax:()=>An,b0:()=>we,bD:()=>Ur,ez:()=>Sr,p6:()=>Qt,q:()=>W,rS:()=>vn,sg:()=>An,tP:()=>Qi,w_:()=>N,x:()=>qe});var s=E(5879);let y=null;function W(){return y}function L(g){y||(y=g)}class N{}const $=new s.OlP("DocumentToken");let V=(()=>{class g{historyGo(C){throw new Error("Not implemented")}}return g.\u0275fac=function(C){return new(C||g)},g.\u0275prov=s.Yz7({token:g,factory:function(){return(0,s.f3M)(Y)},providedIn:"platform"}),g})();const ee=new s.OlP("Location Initialized");let Y=(()=>{class g extends V{constructor(){super(),this._doc=(0,s.f3M)($),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return W().getBaseHref(this._doc)}onPopState(C){const A=W().getGlobalEventTarget(this._doc,"window");return A.addEventListener("popstate",C,!1),()=>A.removeEventListener("popstate",C)}onHashChange(C){const A=W().getGlobalEventTarget(this._doc,"window");return A.addEventListener("hashchange",C,!1),()=>A.removeEventListener("hashchange",C)}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(C){this._location.pathname=C}pushState(C,A,j){this._history.pushState(C,A,j)}replaceState(C,A,j){this._history.replaceState(C,A,j)}forward(){this._history.forward()}back(){this._history.back()}historyGo(C=0){this._history.go(C)}getState(){return this._history.state}}return g.\u0275fac=function(C){return new(C||g)},g.\u0275prov=s.Yz7({token:g,factory:function(){return new g},providedIn:"platform"}),g})();function K(g,M){if(0==g.length)return M;if(0==M.length)return g;let C=0;return g.endsWith("/")&&C++,M.startsWith("/")&&C++,2==C?g+M.substring(1):1==C?g+M:g+"/"+M}function Z(g){const M=g.match(/#|\?|$/),C=M&&M.index||g.length;return g.slice(0,C-("/"===g[C-1]?1:0))+g.slice(C)}function te(g){return g&&"?"!==g[0]?"?"+g:g}let he=(()=>{class g{historyGo(C){throw new Error("Not implemented")}}return g.\u0275fac=function(C){return new(C||g)},g.\u0275prov=s.Yz7({token:g,factory:function(){return(0,s.f3M)(we)},providedIn:"root"}),g})();const re=new s.OlP("appBaseHref");let we=(()=>{class g extends he{constructor(C,A){super(),this._platformLocation=C,this._removeListenerFns=[],this._baseHref=A??this._platformLocation.getBaseHrefFromDOM()??(0,s.f3M)($).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}prepareExternalUrl(C){return K(this._baseHref,C)}path(C=!1){const A=this._platformLocation.pathname+te(this._platformLocation.search),j=this._platformLocation.hash;return j&&C?`${A}${j}`:A}pushState(C,A,j,_e){const ke=this.prepareExternalUrl(j+te(_e));this._platformLocation.pushState(C,A,ke)}replaceState(C,A,j,_e){const ke=this.prepareExternalUrl(j+te(_e));this._platformLocation.replaceState(C,A,ke)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}}return g.\u0275fac=function(C){return new(C||g)(s.LFG(V),s.LFG(re,8))},g.\u0275prov=s.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),De=(()=>{class g extends he{constructor(C,A){super(),this._platformLocation=C,this._baseHref="",this._removeListenerFns=[],null!=A&&(this._baseHref=A)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}path(C=!1){let A=this._platformLocation.hash;return null==A&&(A="#"),A.length>0?A.substring(1):A}prepareExternalUrl(C){const A=K(this._baseHref,C);return A.length>0?"#"+A:A}pushState(C,A,j,_e){let ke=this.prepareExternalUrl(j+te(_e));0==ke.length&&(ke=this._platformLocation.pathname),this._platformLocation.pushState(C,A,ke)}replaceState(C,A,j,_e){let ke=this.prepareExternalUrl(j+te(_e));0==ke.length&&(ke=this._platformLocation.pathname),this._platformLocation.replaceState(C,A,ke)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}}return g.\u0275fac=function(C){return new(C||g)(s.LFG(V),s.LFG(re,8))},g.\u0275prov=s.Yz7({token:g,factory:g.\u0275fac}),g})(),Ze=(()=>{class g{constructor(C){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=C;const A=this._locationStrategy.getBaseHref();this._basePath=function le(g){if(new RegExp("^(https?:)?//").test(g)){const[,C]=g.split(/\/\/[^\/]+/);return C}return g}(Z(dt(A))),this._locationStrategy.onPopState(j=>{this._subject.emit({url:this.path(!0),pop:!0,state:j.state,type:j.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(C=!1){return this.normalize(this._locationStrategy.path(C))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(C,A=""){return this.path()==this.normalize(C+te(A))}normalize(C){return g.stripTrailingSlash(function ot(g,M){if(!g||!M.startsWith(g))return M;const C=M.substring(g.length);return""===C||["/",";","?","#"].includes(C[0])?C:M}(this._basePath,dt(C)))}prepareExternalUrl(C){return C&&"/"!==C[0]&&(C="/"+C),this._locationStrategy.prepareExternalUrl(C)}go(C,A="",j=null){this._locationStrategy.pushState(j,"",C,A),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+te(A)),j)}replaceState(C,A="",j=null){this._locationStrategy.replaceState(j,"",C,A),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+te(A)),j)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(C=0){this._locationStrategy.historyGo?.(C)}onUrlChange(C){return this._urlChangeListeners.push(C),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(A=>{this._notifyUrlChangeListeners(A.url,A.state)})),()=>{const A=this._urlChangeListeners.indexOf(C);this._urlChangeListeners.splice(A,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(C="",A){this._urlChangeListeners.forEach(j=>j(C,A))}subscribe(C,A,j){return this._subject.subscribe({next:C,error:A,complete:j})}}return g.normalizeQueryParams=te,g.joinWithSlash=K,g.stripTrailingSlash=Z,g.\u0275fac=function(C){return new(C||g)(s.LFG(he))},g.\u0275prov=s.Yz7({token:g,factory:function(){return function et(){return new Ze((0,s.LFG)(he))}()},providedIn:"root"}),g})();function dt(g){return g.replace(/\/index.html$/,"")}var qe=function(g){return g[g.Format=0]="Format",g[g.Standalone=1]="Standalone",g}(qe||{}),Ke=function(g){return g[g.Narrow=0]="Narrow",g[g.Abbreviated=1]="Abbreviated",g[g.Wide=2]="Wide",g[g.Short=3]="Short",g}(Ke||{}),Tt=function(g){return g[g.Short=0]="Short",g[g.Medium=1]="Medium",g[g.Long=2]="Long",g[g.Full=3]="Full",g}(Tt||{}),It=function(g){return g[g.Decimal=0]="Decimal",g[g.Group=1]="Group",g[g.List=2]="List",g[g.PercentSign=3]="PercentSign",g[g.PlusSign=4]="PlusSign",g[g.MinusSign=5]="MinusSign",g[g.Exponential=6]="Exponential",g[g.SuperscriptingExponent=7]="SuperscriptingExponent",g[g.PerMille=8]="PerMille",g[g.Infinity=9]="Infinity",g[g.NaN=10]="NaN",g[g.TimeSeparator=11]="TimeSeparator",g[g.CurrencyDecimal=12]="CurrencyDecimal",g[g.CurrencyGroup=13]="CurrencyGroup",g}(It||{});function pn(g,M,C){const A=(0,s.cg1)(g),_e=Ft([A[s.wAp.DaysFormat],A[s.wAp.DaysStandalone]],M);return Ft(_e,C)}function mn(g,M,C){const A=(0,s.cg1)(g),_e=Ft([A[s.wAp.MonthsFormat],A[s.wAp.MonthsStandalone]],M);return Ft(_e,C)}function ve(g,M){return Ft((0,s.cg1)(g)[s.wAp.DateFormat],M)}function Pe(g,M){return Ft((0,s.cg1)(g)[s.wAp.TimeFormat],M)}function Ne(g,M){return Ft((0,s.cg1)(g)[s.wAp.DateTimeFormat],M)}function We(g,M){const C=(0,s.cg1)(g),A=C[s.wAp.NumberSymbols][M];if(typeof A>"u"){if(M===It.CurrencyDecimal)return C[s.wAp.NumberSymbols][It.Decimal];if(M===It.CurrencyGroup)return C[s.wAp.NumberSymbols][It.Group]}return A}function Ye(g){if(!g[s.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${g[s.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ft(g,M){for(let C=M;C>-1;C--)if(typeof g[C]<"u")return g[C];throw new Error("Locale data API: locale data undefined")}function ie(g){const[M,C]=g.split(":");return{hours:+M,minutes:+C}}const it=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,lt={},sn=/((?:[^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 nt=function(g){return g[g.Short=0]="Short",g[g.ShortGMT=1]="ShortGMT",g[g.Long=2]="Long",g[g.Extended=3]="Extended",g}(nt||{}),mt=function(g){return g[g.FullYear=0]="FullYear",g[g.Month=1]="Month",g[g.Date=2]="Date",g[g.Hours=3]="Hours",g[g.Minutes=4]="Minutes",g[g.Seconds=5]="Seconds",g[g.FractionalSeconds=6]="FractionalSeconds",g[g.Day=7]="Day",g}(mt||{}),ct=function(g){return g[g.DayPeriods=0]="DayPeriods",g[g.Days=1]="Days",g[g.Months=2]="Months",g[g.Eras=3]="Eras",g}(ct||{});function Qt(g,M,C,A){let j=function Ie(g){if(G(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[j,_e=1,ke=1]=g.split("-").map(vt=>+vt);return Gn(j,_e-1,ke)}const C=parseFloat(g);if(!isNaN(g-C))return new Date(C);let A;if(A=g.match(it))return function oe(g){const M=new Date(0);let C=0,A=0;const j=g[8]?M.setUTCFullYear:M.setFullYear,_e=g[8]?M.setUTCHours:M.setHours;g[9]&&(C=Number(g[9]+g[10]),A=Number(g[9]+g[11])),j.call(M,Number(g[1]),Number(g[2])-1,Number(g[3]));const ke=Number(g[4]||0)-C,vt=Number(g[5]||0)-A,Un=Number(g[6]||0),an=Math.floor(1e3*parseFloat("0."+(g[7]||0)));return _e.call(M,ke,vt,Un,an),M}(A)}const M=new Date(g);if(!G(M))throw new Error(`Unable to convert "${g}" into a date`);return M}(g);M=_n(C,M)||M;let vt,ke=[];for(;M;){if(vt=sn.exec(M),!vt){ke.push(M);break}{ke=ke.concat(vt.slice(1));const yn=ke.pop();if(!yn)break;M=yn}}let Un=j.getTimezoneOffset();A&&(Un=Rr(A,Un),j=function Br(g,M,C){const A=C?-1:1,j=g.getTimezoneOffset();return function gn(g,M){return(g=new Date(g.getTime())).setMinutes(g.getMinutes()+M),g}(g,A*(Rr(M,j)-j))}(j,A,!0));let an="";return ke.forEach(yn=>{const nn=function In(g){if(Dr[g])return Dr[g];let M;switch(g){case"G":case"GG":case"GGG":M=Vt(ct.Eras,Ke.Abbreviated);break;case"GGGG":M=Vt(ct.Eras,Ke.Wide);break;case"GGGGG":M=Vt(ct.Eras,Ke.Narrow);break;case"y":M=Nt(mt.FullYear,1,0,!1,!0);break;case"yy":M=Nt(mt.FullYear,2,0,!0,!0);break;case"yyy":M=Nt(mt.FullYear,3,0,!1,!0);break;case"yyyy":M=Nt(mt.FullYear,4,0,!1,!0);break;case"Y":M=nr(1);break;case"YY":M=nr(2,!0);break;case"YYY":M=nr(3);break;case"YYYY":M=nr(4);break;case"M":case"L":M=Nt(mt.Month,1,1);break;case"MM":case"LL":M=Nt(mt.Month,2,1);break;case"MMM":M=Vt(ct.Months,Ke.Abbreviated);break;case"MMMM":M=Vt(ct.Months,Ke.Wide);break;case"MMMMM":M=Vt(ct.Months,Ke.Narrow);break;case"LLL":M=Vt(ct.Months,Ke.Abbreviated,qe.Standalone);break;case"LLLL":M=Vt(ct.Months,Ke.Wide,qe.Standalone);break;case"LLLLL":M=Vt(ct.Months,Ke.Narrow,qe.Standalone);break;case"w":M=dr(1);break;case"ww":M=dr(2);break;case"W":M=dr(1,!0);break;case"d":M=Nt(mt.Date,1);break;case"dd":M=Nt(mt.Date,2);break;case"c":case"cc":M=Nt(mt.Day,1);break;case"ccc":M=Vt(ct.Days,Ke.Abbreviated,qe.Standalone);break;case"cccc":M=Vt(ct.Days,Ke.Wide,qe.Standalone);break;case"ccccc":M=Vt(ct.Days,Ke.Narrow,qe.Standalone);break;case"cccccc":M=Vt(ct.Days,Ke.Short,qe.Standalone);break;case"E":case"EE":case"EEE":M=Vt(ct.Days,Ke.Abbreviated);break;case"EEEE":M=Vt(ct.Days,Ke.Wide);break;case"EEEEE":M=Vt(ct.Days,Ke.Narrow);break;case"EEEEEE":M=Vt(ct.Days,Ke.Short);break;case"a":case"aa":case"aaa":M=Vt(ct.DayPeriods,Ke.Abbreviated);break;case"aaaa":M=Vt(ct.DayPeriods,Ke.Wide);break;case"aaaaa":M=Vt(ct.DayPeriods,Ke.Narrow);break;case"b":case"bb":case"bbb":M=Vt(ct.DayPeriods,Ke.Abbreviated,qe.Standalone,!0);break;case"bbbb":M=Vt(ct.DayPeriods,Ke.Wide,qe.Standalone,!0);break;case"bbbbb":M=Vt(ct.DayPeriods,Ke.Narrow,qe.Standalone,!0);break;case"B":case"BB":case"BBB":M=Vt(ct.DayPeriods,Ke.Abbreviated,qe.Format,!0);break;case"BBBB":M=Vt(ct.DayPeriods,Ke.Wide,qe.Format,!0);break;case"BBBBB":M=Vt(ct.DayPeriods,Ke.Narrow,qe.Format,!0);break;case"h":M=Nt(mt.Hours,1,-12);break;case"hh":M=Nt(mt.Hours,2,-12);break;case"H":M=Nt(mt.Hours,1);break;case"HH":M=Nt(mt.Hours,2);break;case"m":M=Nt(mt.Minutes,1);break;case"mm":M=Nt(mt.Minutes,2);break;case"s":M=Nt(mt.Seconds,1);break;case"ss":M=Nt(mt.Seconds,2);break;case"S":M=Nt(mt.FractionalSeconds,1);break;case"SS":M=Nt(mt.FractionalSeconds,2);break;case"SSS":M=Nt(mt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":M=br(nt.Short);break;case"ZZZZZ":M=br(nt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":M=br(nt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":M=br(nt.Long);break;default:return null}return Dr[g]=M,M}(yn);an+=nn?nn(j,C,Un):"''"===yn?"'":yn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),an}function Gn(g,M,C){const A=new Date(0);return A.setFullYear(g,M,C),A.setHours(0,0,0),A}function _n(g,M){const C=function Rt(g){return(0,s.cg1)(g)[s.wAp.LocaleId]}(g);if(lt[C]=lt[C]||{},lt[C][M])return lt[C][M];let A="";switch(M){case"shortDate":A=ve(g,Tt.Short);break;case"mediumDate":A=ve(g,Tt.Medium);break;case"longDate":A=ve(g,Tt.Long);break;case"fullDate":A=ve(g,Tt.Full);break;case"shortTime":A=Pe(g,Tt.Short);break;case"mediumTime":A=Pe(g,Tt.Medium);break;case"longTime":A=Pe(g,Tt.Long);break;case"fullTime":A=Pe(g,Tt.Full);break;case"short":const j=_n(g,"shortTime"),_e=_n(g,"shortDate");A=_t(Ne(g,Tt.Short),[j,_e]);break;case"medium":const ke=_n(g,"mediumTime"),vt=_n(g,"mediumDate");A=_t(Ne(g,Tt.Medium),[ke,vt]);break;case"long":const Un=_n(g,"longTime"),an=_n(g,"longDate");A=_t(Ne(g,Tt.Long),[Un,an]);break;case"full":const yn=_n(g,"fullTime"),nn=_n(g,"fullDate");A=_t(Ne(g,Tt.Full),[yn,nn])}return A&&(lt[C][M]=A),A}function _t(g,M){return M&&(g=g.replace(/\{([^}]+)}/g,function(C,A){return null!=M&&A in M?M[A]:C})),g}function on(g,M,C="-",A,j){let _e="";(g<0||j&&g<=0)&&(j?g=1-g:(g=-g,_e=C));let ke=String(g);for(;ke.length0||vt>-C)&&(vt+=C),g===mt.Hours)0===vt&&-12===C&&(vt=12);else if(g===mt.FractionalSeconds)return function tr(g,M){return on(g,3).substring(0,M)}(vt,M);const Un=We(ke,It.MinusSign);return on(vt,M,Un,A,j)}}function Vt(g,M,C=qe.Format,A=!1){return function(j,_e){return function sr(g,M,C,A,j,_e){switch(C){case ct.Months:return mn(M,j,A)[g.getMonth()];case ct.Days:return pn(M,j,A)[g.getDay()];case ct.DayPeriods:const ke=g.getHours(),vt=g.getMinutes();if(_e){const an=function zt(g){const M=(0,s.cg1)(g);return Ye(M),(M[s.wAp.ExtraData][2]||[]).map(A=>"string"==typeof A?ie(A):[ie(A[0]),ie(A[1])])}(M),yn=function qt(g,M,C){const A=(0,s.cg1)(g);Ye(A);const _e=Ft([A[s.wAp.ExtraData][0],A[s.wAp.ExtraData][1]],M)||[];return Ft(_e,C)||[]}(M,j,A),nn=an.findIndex(Wn=>{if(Array.isArray(Wn)){const[jn,ur]=Wn,ti=ke>=jn.hours&&vt>=jn.minutes,wt=ke0?Math.floor(j/60):Math.ceil(j/60);switch(g){case nt.Short:return(j>=0?"+":"")+on(ke,2,_e)+on(Math.abs(j%60),2,_e);case nt.ShortGMT:return"GMT"+(j>=0?"+":"")+on(ke,1,_e);case nt.Long:return"GMT"+(j>=0?"+":"")+on(ke,2,_e)+":"+on(Math.abs(j%60),2,_e);case nt.Extended:return 0===A?"Z":(j>=0?"+":"")+on(ke,2,_e)+":"+on(Math.abs(j%60),2,_e);default:throw new Error(`Unknown zone width "${g}"`)}}}const gr=0,Ar=4;function On(g){return Gn(g.getFullYear(),g.getMonth(),g.getDate()+(Ar-g.getDay()))}function dr(g,M=!1){return function(C,A){let j;if(M){const _e=new Date(C.getFullYear(),C.getMonth(),1).getDay()-1,ke=C.getDate();j=1+Math.floor((ke+_e)/7)}else{const _e=On(C),ke=function fi(g){const M=Gn(g,gr,1).getDay();return Gn(g,0,1+(M<=Ar?Ar:Ar+7)-M)}(_e.getFullYear()),vt=_e.getTime()-ke.getTime();j=1+Math.round(vt/6048e5)}return on(j,g,We(A,It.MinusSign))}}function nr(g,M=!1){return function(C,A){return on(On(C).getFullYear(),g,We(A,It.MinusSign),M)}}const Dr={};function Rr(g,M){g=g.replace(/:/g,"");const C=Date.parse("Jan 01, 1970 00:00:00 "+g)/6e4;return isNaN(C)?M:C}function G(g){return g instanceof Date&&!isNaN(g.valueOf())}function Re(g,M){M=encodeURIComponent(M);for(const C of g.split(";")){const A=C.indexOf("="),[j,_e]=-1==A?[C,""]:[C.slice(0,A),C.slice(A+1)];if(j.trim()===M)return decodeURIComponent(_e)}return null}class Cn{constructor(M,C,A,j){this.$implicit=M,this.ngForOf=C,this.index=A,this.count=j}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 An=(()=>{class g{set ngForOf(C){this._ngForOf=C,this._ngForOfDirty=!0}set ngForTrackBy(C){this._trackByFn=C}get ngForTrackBy(){return this._trackByFn}constructor(C,A,j){this._viewContainer=C,this._template=A,this._differs=j,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(C){C&&(this._template=C)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const C=this._ngForOf;!this._differ&&C&&(this._differ=this._differs.find(C).create(this.ngForTrackBy))}if(this._differ){const C=this._differ.diff(this._ngForOf);C&&this._applyChanges(C)}}_applyChanges(C){const A=this._viewContainer;C.forEachOperation((j,_e,ke)=>{if(null==j.previousIndex)A.createEmbeddedView(this._template,new Cn(j.item,this._ngForOf,-1,-1),null===ke?void 0:ke);else if(null==ke)A.remove(null===_e?void 0:_e);else if(null!==_e){const vt=A.get(_e);A.move(vt,ke),ar(vt,j)}});for(let j=0,_e=A.length;j<_e;j++){const vt=A.get(j).context;vt.index=j,vt.count=_e,vt.ngForOf=this._ngForOf}C.forEachIdentityChange(j=>{ar(A.get(j.currentIndex),j)})}static ngTemplateContextGuard(C,A){return!0}}return g.\u0275fac=function(C){return new(C||g)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),g})();function ar(g,M){g.context.$implicit=M.item}let Mr=(()=>{class g{constructor(C,A){this._viewContainer=C,this._context=new ei,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=A}set ngIf(C){this._context.$implicit=this._context.ngIf=C,this._updateView()}set ngIfThen(C){pi("ngIfThen",C),this._thenTemplateRef=C,this._thenViewRef=null,this._updateView()}set ngIfElse(C){pi("ngIfElse",C),this._elseTemplateRef=C,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(C,A){return!0}}return g.\u0275fac=function(C){return new(C||g)(s.Y36(s.s_b),s.Y36(s.Rgc))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),g})();class ei{constructor(){this.$implicit=null,this.ngIf=null}}function pi(g,M){if(M&&!M.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,s.AaK)(M)}'.`)}let Qi=(()=>{class g{constructor(C){this._viewContainerRef=C,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(C){if(C.ngTemplateOutlet||C.ngTemplateOutletInjector){const A=this._viewContainerRef;if(this._viewRef&&A.remove(A.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:j,ngTemplateOutletContext:_e,ngTemplateOutletInjector:ke}=this;this._viewRef=A.createEmbeddedView(j,_e,ke?{injector:ke}:void 0)}else this._viewRef=null}else this._viewRef&&C.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return g.\u0275fac=function(C){return new(C||g)(s.Y36(s.s_b))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.TTD]}),g})();function Ut(g,M){return new s.vHH(2100,!1)}class k{createSubscription(M,C){return(0,s.rg0)(()=>M.subscribe({next:C,error:A=>{throw A}}))}dispose(M){(0,s.rg0)(()=>M.unsubscribe())}}class ge{createSubscription(M,C){return M.then(C,A=>{throw A})}dispose(M){}}const ae=new ge,me=new k;let Qe=(()=>{class g{constructor(C){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=C}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(C){return this._obj?C!==this._obj?(this._dispose(),this.transform(C)):this._latestValue:(C&&this._subscribe(C),this._latestValue)}_subscribe(C){this._obj=C,this._strategy=this._selectStrategy(C),this._subscription=this._strategy.createSubscription(C,A=>this._updateLatestValue(C,A))}_selectStrategy(C){if((0,s.QGY)(C))return ae;if((0,s.F4k)(C))return me;throw Ut()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(C,A){C===this._obj&&(this._latestValue=A,this._ref.markForCheck())}}return g.\u0275fac=function(C){return new(C||g)(s.Y36(s.sBO,16))},g.\u0275pipe=s.Yjl({name:"async",type:g,pure:!1,standalone:!0}),g})();const Lt=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let vn=(()=>{class g{transform(C){if(null==C)return null;if("string"!=typeof C)throw Ut();return C.replace(Lt,A=>A[0].toUpperCase()+A.slice(1).toLowerCase())}}return g.\u0275fac=function(C){return new(C||g)},g.\u0275pipe=s.Yjl({name:"titlecase",type:g,pure:!0,standalone:!0}),g})(),Sr=(()=>{class g{}return g.\u0275fac=function(C){return new(C||g)},g.\u0275mod=s.oAB({type:g}),g.\u0275inj=s.cJS({}),g})();const Ur="browser",po="server";function vi(g){return g===po}let Jo=(()=>{class g{}return g.\u0275prov=(0,s.Yz7)({token:g,providedIn:"root",factory:()=>new yi((0,s.LFG)($),window)}),g})();class yi{constructor(M,C){this.document=M,this.window=C,this.offset=()=>[0,0]}setOffset(M){this.offset=Array.isArray(M)?()=>M:M}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(M){this.supportsScrolling()&&this.window.scrollTo(M[0],M[1])}scrollToAnchor(M){if(!this.supportsScrolling())return;const C=function Ui(g,M){const C=g.getElementById(M)||g.getElementsByName(M)[0];if(C)return C;if("function"==typeof g.createTreeWalker&&g.body&&"function"==typeof g.body.attachShadow){const A=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let j=A.currentNode;for(;j;){const _e=j.shadowRoot;if(_e){const ke=_e.getElementById(M)||_e.querySelector(`[name="${M}"]`);if(ke)return ke}j=A.nextNode()}}return null}(this.document,M);C&&(this.scrollToElement(C),C.focus())}setHistoryScrollRestoration(M){if(this.supportScrollRestoration()){const C=this.window.history;C&&C.scrollRestoration&&(C.scrollRestoration=M)}}scrollToElement(M){const C=M.getBoundingClientRect(),A=C.left+this.window.pageXOffset,j=C.top+this.window.pageYOffset,_e=this.offset();this.window.scrollTo(A-_e[0],j-_e[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const M=Xi(this.window.history)||Xi(Object.getPrototypeOf(this.window.history));return!(!M||!M.writable&&!M.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Xi(g){return Object.getOwnPropertyDescriptor(g,"scrollRestoration")}class lr{}},5879:(q,H,E)=>{"use strict";E.d(H,{$8M:()=>Fc,$WT:()=>ae,$Z:()=>eg,AFp:()=>Xd,ALo:()=>zy,AaK:()=>te,BQk:()=>Wf,CHM:()=>Do,CRH:()=>l0,DdM:()=>Ly,EJc:()=>CE,EpF:()=>q_,F$t:()=>iv,F4k:()=>Q_,FYo:()=>Up,FiY:()=>Nl,Flj:()=>St,Gf:()=>s0,GfV:()=>gf,Gpc:()=>we,Gre:()=>Vv,HDt:()=>R0,Hsn:()=>ov,Ikx:()=>Cg,JOm:()=>Ll,KtG:()=>Na,LFG:()=>In,LMc:()=>yw,Lbi:()=>tl,Lck:()=>fC,MAs:()=>Y_,MGl:()=>Yf,MMx:()=>Oy,MR2:()=>Yd,NdJ:()=>pg,Ojb:()=>Np,OlP:()=>kn,Oqu:()=>Dg,P3R:()=>Fs,PXZ:()=>kE,Q6J:()=>ug,QGY:()=>hg,Qsj:()=>s_,R0b:()=>Fi,RDi:()=>su,Rgc:()=>Yu,SBq:()=>Ql,SDv:()=>Cy,Sil:()=>TE,Suo:()=>a0,TTD:()=>Sa,TgZ:()=>$f,Tol:()=>Cv,VKq:()=>ky,VuI:()=>_w,W1O:()=>f0,WLB:()=>By,X6Q:()=>zE,XFs:()=>nt,Xpm:()=>si,Xq5:()=>R_,Xts:()=>ds,Y36:()=>ll,YKP:()=>My,YNc:()=>G_,Yjl:()=>Ro,Yz7:()=>Ye,Z0I:()=>Ft,ZZ4:()=>im,_Bn:()=>Ty,_UZ:()=>fg,_c5:()=>aw,_uU:()=>Iv,aQg:()=>om,c2e:()=>A0,cJS:()=>qt,cg1:()=>Eg,dDg:()=>PE,dqk:()=>_t,eFA:()=>z0,eJc:()=>jg,ekj:()=>yg,eoX:()=>U0,f3M:()=>gn,g9A:()=>ef,gHi:()=>qp,h0i:()=>yc,hGG:()=>lw,hij:()=>Zf,iGM:()=>o0,ifc:()=>Jt,ip1:()=>I0,jDz:()=>Iy,kEZ:()=>Vy,kL8:()=>Zv,ktI:()=>fl,lG2:()=>Qi,lcZ:()=>Wy,lqb:()=>Uo,lri:()=>V0,n5z:()=>od,oAB:()=>gi,oJD:()=>mp,oxw:()=>rv,qFp:()=>bw,qLn:()=>sl,qOj:()=>ng,qZA:()=>Gf,rWj:()=>H0,rg0:()=>_o,s9C:()=>gg,sBO:()=>WE,s_b:()=>nh,soG:()=>ih,tBr:()=>dd,tb:()=>Qg,tdS:()=>Fr,tp0:()=>Pl,uIk:()=>ig,vHH:()=>le,vpe:()=>bs,wAp:()=>_c,xi3:()=>Yy,xp6:()=>Kp,ynx:()=>zf,z2F:()=>Cc,zSh:()=>qd,zW0:()=>S_,zs3:()=>gs});var s=E(8645),y=E(7394),W=E(5619),L=E(5592),N=E(3019),$=E(2096),V=E(3020),ee=E(4664),Y=E(3997);function K(e){for(let t in e)if(e[t]===K)return t;throw Error("Could not find renamed property on target object.")}function Z(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(te).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function he(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const re=K({__forward_ref__:K});function we(e){return e.__forward_ref__=we,e.toString=function(){return te(this())},e}function De(e){return Ze(e)?e():e}function Ze(e){return"function"==typeof e&&e.hasOwnProperty(re)&&e.__forward_ref__===we}function et(e){return e&&!!e.\u0275providers}const dt="https://g.co/ng/security#xss";class le extends Error{constructor(t,n){super(function Me(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function xe(e){return"string"==typeof e?e:null==e?"":String(e)}function It(e,t){throw new le(-201,!1)}function Le(e,t,n,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${n} ${o} ${t} <=Actual]`))}function Ye(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function qt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Mn(e){return ie(e,He)||ie(e,lt)}function Ft(e){return null!==Mn(e)}function ie(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ce(e){return e&&(e.hasOwnProperty(it)||e.hasOwnProperty(sn))?e[it]:null}const He=K({\u0275prov:K}),it=K({\u0275inj:K}),lt=K({ngInjectableDef:K}),sn=K({ngInjectorDef:K});var nt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(nt||{});let mt;function ct(){return mt}function Qt(e){const t=mt;return mt=e,t}function Gn(e,t,n){const o=Mn(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:n&nt.Optional?null:void 0!==t?t:void It(te(e))}const _t=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Jn={},Vt="__NG_DI_FLAG__",sr="ngTempTokenPath",gr=/\n/gm,fi="__source";let On;function nr(e){const t=On;return On=e,t}function Dr(e,t=nt.Default){if(void 0===On)throw new le(-203,!1);return null===On?Gn(e,void 0,t):On.get(e,t&nt.Optional?null:void 0,t)}function In(e,t=nt.Default){return(ct()||Dr)(De(e),t)}function gn(e,t=nt.Default){return In(e,Br(t))}function Br(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ie(e){const t=[];for(let n=0;nt){d=u-1;break}}}for(;uu?"":l[B+1].toLowerCase();const ue=8&o?ne:null;if(ue&&-1!==Xr(ue,T,0)||2&o&&T!==ne){if(ht(o))return!1;d=!0}}}}else{if(!d&&!ht(o)&&!ht(v))return!1;if(d&&ht(v))continue;d=!1,o=v|1&o}}return ht(o)||d}function ht(e){return 0==(1&e)}function Ht(e,t,n,o){if(null===t)return-1;let l=0;if(o||!n){let u=!1;for(;l-1)for(n++;n0?'="'+m+'"':"")+"]"}else 8&o?l+="."+d:4&o&&(l+=" "+d);else""!==l&&!ht(d)&&(t+=Mr(u,l),l=""),o=d,u=u||!ht(o);n++}return""!==l&&(t+=Mr(u,l)),t}function si(e){return ut(()=>{const t=Qe(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===yt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Jt.Emulated,styles:e.styles||bt,_:null,schemas:e.schemas||null,tView:null,id:""};tt(n);const o=e.dependencies;return n.directiveDefs=Lt(o,!1),n.pipeDefs=Lt(o,!0),n.id=function En(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const l of n)t=Math.imul(31,t)+l.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function ho(e){return Ut(e)||k(e)}function Ao(e){return null!==e}function gi(e){return ut(()=>({type:e.type,bootstrap:e.bootstrap||bt,declarations:e.declarations||bt,imports:e.imports||bt,exports:e.exports||bt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qi(e,t){if(null==e)return Mt;const n={};for(const o in e)if(e.hasOwnProperty(o)){let l=e[o],u=l;Array.isArray(l)&&(u=l[1],l=l[0]),n[l]=o,t&&(t[l]=u)}return n}function Qi(e){return ut(()=>{const t=Qe(e);return tt(t),t})}function Ro(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ut(e){return e[Qn]||null}function k(e){return e[Cr]||null}function ge(e){return e[Vr]||null}function ae(e){const t=Ut(e)||k(e)||ge(e);return null!==t&&t.standalone}function me(e,t){const n=e[hi]||null;if(!n&&!0===t)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}function Qe(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Mt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||bt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qi(e.inputs,t),outputs:qi(e.outputs)}}function tt(e){e.features?.forEach(t=>t(e))}function Lt(e,t){if(!e)return null;const n=t?ge:ho;return()=>("function"==typeof e?e():e).map(o=>n(o)).filter(Ao)}const $t=0,ze=1,Dt=2,Sn=3,_r=4,Nr=5,Kt=6,ki=7,wn=8,Bi=9,ai=10,kt=11,mi=12,Vi=13,Hr=14,Vn=15,_i=16,Hi=17,Sr=18,Ur=19,po=20,li=21,jr=22,go=23,vi=24,Wt=25,No=1,Jo=2,yi=7,Ui=9,lr=11;function vr(e){return Array.isArray(e)&&"object"==typeof e[No]}function Pr(e){return Array.isArray(e)&&!0===e[No]}function ji(e){return 0!=(4&e.flags)}function cr(e){return e.componentOffset>-1}function xo(e){return 1==(1&e.flags)}function rr(e){return!!e.template}function Ko(e){return 0!=(512&e[Dt])}function Wr(e,t){return e.hasOwnProperty(Er)?e[Er]:null}const ts=Symbol("SIGNAL");function ns(e,t,n={}){return t[ts]=e,Object.assign(t,n)}function rs(e,t){return(null===e||"object"!=typeof e)&&Object.is(e,t)}let w=_t.WeakRef??class is{constructor(t){this.ref=t}deref(){return this.ref}},Q=0,Te=null,Be=!1;function Fe(e){const t=Te;return Te=e,t}class Et{constructor(){this.id=Q++,this.ref=function I(e){return new w(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const o=n.producerNode.deref();if(null!=o&&n.atTrackingVersion===this.trackingVersion){if(o.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),o?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=Be;Be=!0;try{for(const[n,o]of this.consumers){const l=o.consumerNode.deref();null!=l&&l.trackingVersion===o.atTrackingVersion?l.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),l?.producers.delete(this.id))}}finally{Be=t}}producerAccessed(){if(Be)throw new Error("");if(null===Te)return;let t=Te.producers.get(this.id);void 0===t?(t={consumerNode:Te.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Te.trackingVersion},Te.producers.set(this.id,t),this.consumers.set(Te.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=Te.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Te?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}function St(e,t){const n=new Kn(e,t?.equal??rs);return ns(n,n.signal.bind(n))}const Rn=Symbol("UNSET"),Xn=Symbol("COMPUTING"),Hn=Symbol("ERRORED");class Kn extends Et{constructor(t,n){super(),this.computation=t,this.equal=n,this.value=Rn,this.error=null,this.stale=!0,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){this.stale||(this.stale=!0,this.producerMayHaveChanged())}onProducerUpdateValueVersion(){if(this.stale){if(this.value!==Rn&&this.value!==Xn&&!this.consumerPollProducersForChange())return void(this.stale=!1);this.recomputeValue()}}recomputeValue(){if(this.value===Xn)throw new Error("Detected cycle in computations.");const t=this.value;this.value=Xn,this.trackingVersion++;const n=Fe(this);let o;try{o=this.computation()}catch(l){o=Hn,this.error=l}finally{Fe(n)}this.stale=!1,t!==Rn&&t!==Hn&&o!==Hn&&this.equal(t,o)?this.value=t:(this.value=o,this.valueVersion++)}signal(){if(this.onProducerUpdateValueVersion(),this.producerAccessed(),this.value===Hn)throw this.error;return this.value}}let Fn=function $r(){throw new Error};function Yt(){Fn()}class bi extends Et{constructor(t,n){super(),this.value=t,this.equal=n,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){}onProducerUpdateValueVersion(){}set(t){this.producerUpdatesAllowed||Yt(),this.equal(this.value,t)||(this.value=t,this.valueVersion++,this.producerMayHaveChanged())}update(t){this.producerUpdatesAllowed||Yt(),this.set(t(this.value))}mutate(t){this.producerUpdatesAllowed||Yt(),t(this.value),this.valueVersion++,this.producerMayHaveChanged()}asReadonly(){return void 0===this.readonlySignal&&(this.readonlySignal=ns(this,()=>this.signal())),this.readonlySignal}signal(){return this.producerAccessed(),this.value}}function Fr(e,t){const n=new bi(e,t?.equal??rs);return ns(n,n.signal.bind(n),{set:n.set.bind(n),update:n.update.bind(n),mutate:n.mutate.bind(n),asReadonly:n.asReadonly.bind(n)})}function _o(e){const t=Fe(null);try{return e()}finally{Fe(t)}}const os=()=>{};class _l extends Et{constructor(t,n,o){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=os,this.registerOnCleanup=l=>{this.cleanupFn=l},this.consumerAllowSignalWrites=o}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Fe(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=os,this.watch(this.registerOnCleanup)}finally{Fe(t)}}cleanup(){this.cleanupFn()}}class Ma{constructor(t,n,o){this.previousValue=t,this.currentValue=n,this.firstChange=o}isFirstChange(){return this.firstChange}}function Sa(){return Oa}function Oa(e){return e.type.prototype.ngOnChanges&&(e.setInput=yl),vl}function vl(){const e=Ia(this),t=e?.current;if(t){const n=e.previous;if(n===Mt)e.previous=t;else for(let o in t)n[o]=t[o];e.current=null,this.ngOnChanges(t)}}function yl(e,t,n,o){const l=this.declaredInputs[n],u=Ia(e)||function Aa(e,t){return e[Ec]=t}(e,{previous:Mt,current:null}),d=u.current||(u.current={}),m=u.previous,v=m[l];d[l]=new Ma(v&&v.currentValue,t,m===Mt),e[o]=t}Sa.ngInherit=!0;const Ec="__ngSimpleChanges__";function Ia(e){return e[Ec]||null}const Si=function(e,t,n){};function fn(e){for(;Array.isArray(e);)e=e[$t];return e}function g(e,t){return fn(t[e])}function M(e,t){return fn(t[e.index])}function A(e,t){return e.data[t]}function j(e,t){return e[t]}function _e(e,t){const n=t[e];return vr(n)?n:n[$t]}function an(e,t){return null==t?null:e[t]}function yn(e){e[Hi]=0}function nn(e){1024&e[Dt]||(e[Dt]|=1024,jn(e,1))}function Wn(e){1024&e[Dt]&&(e[Dt]&=-1025,jn(e,-1))}function jn(e,t){let n=e[Sn];if(null===n)return;n[Nr]+=t;let o=n;for(n=n[Sn];null!==n&&(1===t&&1===o[Nr]||-1===t&&0===o[Nr]);)n[Nr]+=t,o=n,n=n[Sn]}function ur(e,t){if(256==(256&e[Dt]))throw new le(911,!1);null===e[li]&&(e[li]=[]),e[li].push(t)}const wt={lFrame:wl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function vo(){return wt.bindingsEnabled}function hr(){return null!==wt.skipHydrationRootTNode}function Ge(){return wt.lFrame.lView}function ln(){return wt.lFrame.tView}function Do(e){return wt.lFrame.contextLView=e,e[wn]}function Na(e){return wt.lFrame.contextLView=null,e}function pr(){let e=Gi();for(;null!==e&&64===e.type;)e=e.parent;return e}function Gi(){return wt.lFrame.currentTNode}function ci(){const e=wt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function oo(e,t){const n=wt.lFrame;n.currentTNode=e,n.isParent=t}function Oi(){return wt.lFrame.isParent}function Ms(){wt.lFrame.isParent=!1}function Jr(){const e=wt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ii(){return wt.lFrame.bindingIndex++}function Wi(e){const t=wt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Tc(e){wt.lFrame.inI18n=e}function Mc(e,t){const n=wt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Cl(t)}function Cl(e){wt.lFrame.currentDirectiveIndex=e}function Zs(){return wt.lFrame.currentQueryIndex}function qs(e){wt.lFrame.currentQueryIndex=e}function El(e){const t=e[ze];return 2===t.type?t.declTNode:1===t.type?e[Kt]:null}function Pa(e,t,n){if(n&nt.SkipSelf){let l=t,u=e;for(;!(l=l.parent,null!==l||n&nt.Host||(l=El(u),null===l||(u=u[Hr],10&l.type))););if(null===l)return!1;t=l,e=u}const o=wt.lFrame=Xs();return o.currentTNode=t,o.lView=e,!0}function Qs(e){const t=Xs(),n=e[ze];wt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Xs(){const e=wt.lFrame,t=null===e?null:e.child;return null===t?wl(e):t}function wl(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Tl(){const e=wt.lFrame;return wt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const xa=Tl;function Fa(){const e=Tl();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ni(){return wt.lFrame.selectedIndex}function Eo(e){wt.lFrame.selectedIndex=e}function ir(){const e=wt.lFrame;return A(e.tView,e.selectedIndex)}let S=!0;function P(){return S}function F(e){S=e}function Je(e,t){for(let n=t.directiveStart,o=t.directiveEnd;n=o)break}else t[v]<0&&(e[Hi]+=65536),(m>13>16&&(3&e[Dt])===t&&(e[Dt]+=8192,Ss(m,u)):Ss(m,u)}const ao=-1;class Yi{constructor(t,n,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=o}}function qu(e){return e!==ao}function Ml(e){return 32767&e}function Ic(e,t){let n=function hh(e){return e>>16}(e),o=t;for(;n>0;)o=o[Hr],n--;return o}let Ac=!0;function Sl(e){const t=Ac;return Ac=e,t}const Qu=255,Xu=5;let ph=0;const wo={};function Ol(e,t){const n=ed(e,t);if(-1!==n)return n;const o=t[ze];o.firstCreatePass&&(e.injectorIndex=t.length,Rc(o.data,e),Rc(t,null),Rc(o.blueprint,null));const l=Nc(e,t),u=e.injectorIndex;if(qu(l)){const d=Ml(l),m=Ic(l,t),v=m[ze].data;for(let T=0;T<8;T++)t[u+T]=m[d+T]|v[d+T]}return t[u+8]=l,u}function Rc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ed(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Nc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,o=null,l=t;for(;null!==l;){if(o=sd(l),null===o)return ao;if(n++,l=l[Hr],-1!==o.injectorIndex)return o.injectorIndex|n<<16}return ao}function td(e,t,n){!function gh(e,t,n){let o;"string"==typeof n?o=n.charCodeAt(0)||0:n.hasOwnProperty(fr)&&(o=n[fr]),null==o&&(o=n[fr]=ph++);const l=o&Qu;t.data[e+(l>>Xu)]|=1<=0?t&Qu:bh:t}(n);if("function"==typeof u){if(!Pa(t,e,o))return o&nt.Host?mh(l,0,o):nd(t,n,o,l);try{const d=u(o);if(null!=d||o&nt.Optional)return d;It()}finally{xa()}}else if("number"==typeof u){let d=null,m=ed(e,t),v=ao,T=o&nt.Host?t[Vn][Kt]:null;for((-1===m||o&nt.SkipSelf)&&(v=-1===m?Nc(e,t):t[m+8],v!==ao&&id(o,!1)?(d=t[ze],m=Ml(v),t=Ic(v,t)):m=-1);-1!==m;){const R=t[ze];if(rd(u,m,R.data)){const B=fm(m,t,n,d,o,T);if(B!==wo)return B}v=t[m+8],v!==ao&&id(o,t[ze].data[m+8]===T)&&rd(u,m,t)?(d=R,m=Ml(v),t=Ic(v,t)):m=-1}}return l}function fm(e,t,n,o,l,u){const d=t[ze],m=d.data[e+8],R=Il(m,d,n,null==o?cr(m)&&Ac:o!=d&&0!=(3&m.type),l&nt.Host&&u===m);return null!==R?Is(t,d,R,m):wo}function Il(e,t,n,o,l){const u=e.providerIndexes,d=t.data,m=1048575&u,v=e.directiveStart,R=u>>20,ne=l?m+R:e.directiveEnd;for(let ue=o?m:m+R;ue=v&&Ve.type===n)return ue}if(l){const ue=d[v];if(ue&&rr(ue)&&ue.type===n)return v}return null}function Is(e,t,n,o){let l=e[n];const u=t.data;if(function ta(e){return e instanceof Yi}(l)){const d=l;d.resolving&&function qe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new le(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():xe(e)}(u[n]));const m=Sl(d.canSeeViewProviders);d.resolving=!0;const v=d.injectImpl?Qt(d.injectImpl):null;Pa(e,o,nt.Default);try{l=e[n]=d.factory(void 0,u,e,o),t.firstCreatePass&&n>=o.directiveStart&&function ce(e,t,n){const{ngOnChanges:o,ngOnInit:l,ngDoCheck:u}=t.type.prototype;if(o){const d=Oa(t);(n.preOrderHooks??=[]).push(e,d),(n.preOrderCheckHooks??=[]).push(e,d)}l&&(n.preOrderHooks??=[]).push(0-e,l),u&&((n.preOrderHooks??=[]).push(e,u),(n.preOrderCheckHooks??=[]).push(e,u))}(n,u[n],t)}finally{null!==v&&Qt(v),Sl(m),d.resolving=!1,xa()}}return l}function rd(e,t,n){return!!(n[t+(e>>Xu)]&1<{const t=e.prototype.constructor,n=t[Er]||xc(t),o=Object.prototype;let l=Object.getPrototypeOf(e.prototype).constructor;for(;l&&l!==o;){const u=l[Er]||xc(l);if(u&&u!==n)return u;l=Object.getPrototypeOf(l)}return u=>new u})}function xc(e){return Ze(e)?()=>{const t=xc(De(e));return t&&t()}:Wr(e)}function sd(e){const t=e[ze],n=t.type;return 2===n?t.declTNode:1===n?e[Kt]:null}function Fc(e){return function Pc(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const o=n.length;let l=0;for(;l{const o=function Lc(e){return function(...n){if(e){const o=e(...n);for(const l in o)this[l]=o[l]}}}(t);function l(...u){if(this instanceof l)return o.apply(this,u),this;const d=new l(...u);return m.annotation=d,m;function m(v,T,R){const B=v.hasOwnProperty(ia)?v[ia]:Object.defineProperty(v,ia,{value:[]})[ia];for(;B.length<=R;)B.push(null);return(B[R]=B[R]||[]).push(d),v}}return n&&(l.prototype=Object.create(n.prototype)),l.prototype.ngMetadataName=e,l.annotationCls=l,l})}function ka(e,t){e.forEach(n=>Array.isArray(n)?ka(n,t):t(n))}function cd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Al(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ba(e,t){const n=[];for(let o=0;o=0?e[1|o]=n:(o=~o,function Sh(e,t,n,o){let l=e.length;if(l==t)e.push(n,o);else if(1===l)e.push(o,e[0]),e[0]=n;else{for(l--,e.push(e[l-1],e[l]);l>t;)e[l]=e[l-2],l--;e[t]=n,e[t+1]=o}}(e,o,t,n)),o}function kc(e,t){const n=la(e,t);if(n>=0)return e[1|n]}function la(e,t){return function ud(e,t,n){let o=0,l=e.length>>n;for(;l!==o;){const u=o+(l-o>>1),d=e[u<t?l=u:o=u+1}return~(l<({token:e})),-1),Nl=oe(sa("Optional"),8),Pl=oe(sa("SkipSelf"),4);function Gc(e){return 128==(128&e.flags)}var Ll=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ll||{});const _d=/^>|^->||--!>|)/,Gh="\u200b$1\u200b";const Or=new Map;let Lm=0;const ja="__ngContext__";function oi(e,t){vr(t)?(e[ja]=t[Ur],function zc(e){Or.set(e[Ur],e)}(t)):e[ja]=t}let $a;function Ed(e,t){return $a(e,t)}function Bl(e){const t=e[Sn];return Pr(t)?t[Sn]:t}function wd(e){return qc(e[mi])}function Zc(e){return qc(e[_r])}function qc(e){for(;null!==e&&!Pr(e);)e=e[_r];return e}function To(e,t,n,o,l){if(null!=o){let u,d=!1;Pr(o)?u=o:vr(o)&&(d=!0,o=o[$t]);const m=fn(o);0===e&&null!==n?null==l?Od(t,n,m):Ps(t,n,m,l||null,!0):1===e&&null!==n?Ps(t,n,m,l||null,!0):2===e?function jl(e,t,n){const o=Hl(e,t);o&&function ep(e,t,n,o){e.removeChild(t,n,o)}(e,o,t,n)}(t,m,d):3===e&&t.destroyNode(m),null!=u&&function np(e,t,n,o,l){const u=n[yi];u!==fn(n)&&To(t,e,o,u,l);for(let m=lr;mt.replace($h,Gh))}(t))}function Qc(e,t,n){return e.createElement(t,n)}function Ir(e,t){const n=e[Ui],o=n.indexOf(t);Wn(t),n.splice(o,1)}function as(e,t){if(e.length<=lr)return;const n=lr+t,o=e[n];if(o){const l=o[_i];null!==l&&l!==e&&Ir(l,o),t>0&&(e[n-1][_r]=o[_r]);const u=Al(e,lr+t);!function Vm(e,t){Ln(e,t,t[kt],2,null,null),t[$t]=null,t[Kt]=null}(o[ze],o);const d=u[Sr];null!==d&&d.detachView(u[ze]),o[Sn]=null,o[_r]=null,o[Dt]&=-129}return o}function Xc(e,t){if(!(256&t[Dt])){const n=t[kt];t[go]?.destroy(),t[vi]?.destroy(),n.destroyNode&&Ln(e,t,n,3,null,null),function qh(e){let t=e[mi];if(!t)return eu(e[ze],e);for(;t;){let n=null;if(vr(t))n=t[mi];else{const o=t[lr];o&&(n=o)}if(!n){for(;t&&!t[_r]&&t!==e;)vr(t)&&eu(t[ze],t),t=t[Sn];null===t&&(t=e),vr(t)&&eu(t[ze],t),n=t&&t[_r]}t=n}}(t)}}function eu(e,t){if(!(256&t[Dt])){t[Dt]&=-129,t[Dt]|=256,function Vl(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let o=0;o=0?o[d]():o[-d].unsubscribe(),u+=2}else n[u].call(o[n[u+1]]);null!==o&&(t[ki]=null);const l=t[li];if(null!==l){t[li]=null;for(let u=0;u-1){const{encapsulation:u}=e.data[o.directiveStart+l];if(u===Jt.None||u===Jt.Emulated)return null}return M(o,n)}}function Ps(e,t,n,o,l){e.insertBefore(t,n,o,l)}function Od(e,t,n){e.appendChild(t,n)}function Id(e,t,n,o,l){null!==o?Ps(e,t,n,o,l):Od(e,t,n)}function Hl(e,t){return e.parentNode(t)}function za(e,t,n){return Wa(e,t,n)}function Rd(e,t,n){return 40&e.type?M(e,n):null}let tu,ha,Ja,Gl,Wa=Rd;function Nd(e,t){Wa=e,tu=t}function Mo(e,t,n,o){const l=Ga(e,o,t),u=t[kt],m=za(o.parent||t[Kt],o,t);if(null!=l)if(Array.isArray(n))for(let v=0;ve,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}function su(e){Ja=e}function Ka(){if(void 0!==Ja)return Ja;if(typeof document<"u")return document;throw new le(210,!1)}function au(){if(void 0===Gl&&(Gl=null,_t.trustedTypes))try{Gl=_t.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Gl}function Ld(e){return au()?.createHTML(e)||e}function Bd(e){return au()?.createScriptURL(e)||e}class Vd{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${dt})`}}function So(e){return e instanceof Vd?e.changingThisBreaksApplicationSecurity:e}function ga(e,t){const n=function jd(e){return e instanceof Vd&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${dt})`)}return n===t}function up(e){const t=new Ym(e);return function Jm(){try{return!!(new window.DOMParser).parseFromString(xs(""),"text/html")}catch{return!1}}()?new Wm(t):t}class Wm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(xs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Ym{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=xs(t),n}}const Km=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $d(e){return(e=String(e)).match(Km)?e:"unsafe:"+e}function ls(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function zl(...e){const t={};for(const n of e)for(const o in n)n.hasOwnProperty(o)&&(t[o]=!0);return t}const dp=ls("area,br,col,hr,img,wbr"),fp=ls("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hp=ls("rp,rt"),Gd=zl(dp,zl(fp,ls("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")),zl(hp,ls("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")),zl(hp,fp)),zd=ls("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),pp=zl(zd,ls("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"),ls("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")),Wd=ls("script,style,template");class qm{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,o=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?o=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,o&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let l=this.checkClobberedElement(n,n.nextSibling);if(l){n=l;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Gd.hasOwnProperty(n))return this.sanitizedSomething=!0,!Wd.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const o=t.attributes;for(let l=0;l"),!0}endElement(t){const n=t.nodeName.toLowerCase();Gd.hasOwnProperty(n)&&!dp.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Wl(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const lo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,or=/([^\#-~ |!])/g;function Wl(e){return e.replace(/&/g,"&").replace(lo,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(or,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Za;function cu(e){return"content"in e&&function gp(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var cs=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(cs||{});function mp(e){const t=us();return t?Ld(t.sanitize(cs.HTML,e)||""):ga(e,"HTML")?Ld(So(e)):function lu(e,t){let n=null;try{Za=Za||up(e);let o=t?String(t):"";n=Za.getInertBodyElement(o);let l=5,u=o;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,o=u,u=n.innerHTML,n=Za.getInertBodyElement(o)}while(o!==u);return xs((new qm).sanitizeChildren(cu(n)||n))}finally{if(n){const o=cu(n)||n;for(;o.firstChild;)o.removeChild(o.firstChild)}}}(Ka(),xe(e))}function Qa(e){const t=us();return t?t.sanitize(cs.URL,e)||"":ga(e,"URL")?So(e):$d(xe(e))}function uu(e){const t=us();if(t)return Bd(t.sanitize(cs.RESOURCE_URL,e)||"");if(ga(e,"ResourceURL"))return Bd(So(e));throw new le(904,!1)}function Fs(e,t,n){return function bp(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?uu:Qa}(t,n)(e)}function us(){const e=Ge();return e&&e[ai].sanitizer}class kn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Ye({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ds=new kn("ENVIRONMENT_INITIALIZER"),fs=new kn("INJECTOR",-1),du=new kn("INJECTOR_DEF_TYPES");class Dp{get(t,n=Jn){if(n===Jn){const o=new Error(`NullInjectorError: No provider for ${te(t)}!`);throw o.name="NullInjectorError",o}return n}}function Yd(e){return{\u0275providers:e}}function Qm(...e){return{\u0275providers:Cp(0,e),\u0275fromNgModule:!0}}function Cp(e,...t){const n=[],o=new Set;let l;return ka(t,u=>{const d=u;Jd(d,n,[],o)&&(l||=[],l.push(d))}),void 0!==l&&Ep(l,n),n}function Ep(e,t){for(let n=0;n{t.push(u)})}}function Jd(e,t,n,o){if(!(e=De(e)))return!1;let l=null,u=Ce(e);const d=!u&&Ut(e);if(u||d){if(d&&!d.standalone)return!1;l=e}else{const v=e.ngModule;if(u=Ce(v),!u)return!1;l=v}const m=o.has(l);if(d){if(m)return!1;if(o.add(l),d.dependencies){const v="function"==typeof d.dependencies?d.dependencies():d.dependencies;for(const T of v)Jd(T,t,n,o)}}else{if(!u)return!1;{if(null!=u.imports&&!m){let T;o.add(l);try{ka(u.imports,R=>{Jd(R,t,n,o)&&(T||=[],T.push(R))})}finally{}void 0!==T&&Ep(T,t)}if(!m){const T=Wr(l)||(()=>new l);t.push({provide:l,useFactory:T,deps:bt},{provide:du,useValue:l,multi:!0},{provide:ds,useValue:()=>In(l),multi:!0})}const v=u.providers;null==v||m||Kd(v,R=>{t.push(R)})}}return l!==e&&void 0!==e.providers}function Kd(e,t){for(let n of e)et(n)&&(n=n.\u0275providers),Array.isArray(n)?Kd(n,t):t(n)}const Xm=K({provide:String,useValue:K});function Zd(e){return null!==e&&"object"==typeof e&&Xm in e}function _a(e){return"function"==typeof e}const qd=new kn("Set Injector scope."),fu={},Mp={};let hu;function pu(){return void 0===hu&&(hu=new Dp),hu}class Uo{}class Xa extends Uo{get destroyed(){return this._destroyed}constructor(t,n,o,l){super(),this.parent=n,this.source=o,this.scopes=l,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Jl(t,d=>this.processProvider(d)),this.records.set(fs,Ls(void 0,this)),l.has("environment")&&this.records.set(Uo,Ls(void 0,this));const u=this.records.get(qd);null!=u&&"string"==typeof u.value&&this.scopes.add(u.value),this.injectorDefTypes=new Set(this.get(du.multi,bt,nt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=nr(this),o=Qt(void 0);try{return t()}finally{nr(n),Qt(o)}}get(t,n=Jn,o=nt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(wr))return t[wr](this);o=Br(o);const l=nr(this),u=Qt(void 0);try{if(!(o&nt.SkipSelf)){let m=this.records.get(t);if(void 0===m){const v=function Ip(e){return"function"==typeof e||"object"==typeof e&&e instanceof kn}(t)&&Mn(t);m=v&&this.injectableDefInScope(v)?Ls(va(t),fu):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}return(o&nt.Self?pu():this.parent).get(t,n=o&nt.Optional&&n===Jn?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[sr]=d[sr]||[]).unshift(te(t)),l)throw d;return function fe(e,t,n,o){const l=e[sr];throw t[fi]&&l.unshift(t[fi]),e.message=function je(e,t,n,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let l=te(t);if(Array.isArray(t))l=t.map(te).join(" -> ");else if("object"==typeof t){let u=[];for(let d in t)if(t.hasOwnProperty(d)){let m=t[d];u.push(d+":"+("string"==typeof m?JSON.stringify(m):te(m)))}l=`{${u.join(", ")}}`}return`${n}${o?"("+o+")":""}[${l}]: ${e.replace(gr,"\n ")}`}("\n"+e.message,l,n,o),e.ngTokenPath=l,e[sr]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{Qt(u),nr(l)}}resolveInjectorInitializers(){const t=nr(this),n=Qt(void 0);try{const o=this.get(ds.multi,bt,nt.Self);for(const l of o)l()}finally{nr(t),Qt(n)}}toString(){const t=[],n=this.records;for(const o of n.keys())t.push(te(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new le(205,!1)}processProvider(t){let n=_a(t=De(t))?t:De(t&&t.provide);const o=function el(e){return Zd(e)?Ls(void 0,e.useValue):Ls(Sp(e),fu)}(t);if(_a(t)||!0!==t.multi)this.records.get(n);else{let l=this.records.get(n);l||(l=Ls(void 0,fu,!0),l.factory=()=>Ie(l.multi),this.records.set(n,l)),n=t,l.multi.push(t)}this.records.set(n,o)}hydrate(t,n){return n.value===fu&&(n.value=Mp,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Op(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=De(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function va(e){const t=Mn(e),n=null!==t?t.factory:Wr(e);if(null!==n)return n;if(e instanceof kn)throw new le(204,!1);if(e instanceof Function)return function Qd(e){const t=e.length;if(t>0)throw Ba(t,"?"),new le(204,!1);const n=function se(e){return e&&(e[He]||e[lt])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new le(204,!1)}function Sp(e,t,n){let o;if(_a(e)){const l=De(e);return Wr(l)||va(l)}if(Zd(e))o=()=>De(e.useValue);else if(function Tp(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...Ie(e.deps||[]));else if(function wp(e){return!(!e||!e.useExisting)}(e))o=()=>In(De(e.useExisting));else{const l=De(e&&(e.useClass||e.provide));if(!function co(e){return!!e.deps}(e))return Wr(l)||va(l);o=()=>new l(...Ie(e.deps))}return o}function Ls(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Jl(e,t){for(const n of e)Array.isArray(n)?Jl(n,t):n&&et(n)?Jl(n.\u0275providers,t):t(n)}const Xd=new kn("AppId",{providedIn:"root",factory:()=>Ap}),Ap="ng",ef=new kn("Platform Initializer"),tl=new kn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Np=new kn("CSP nonce",{providedIn:"root",factory:()=>Ka().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let sf=(e,t)=>null;function _u(e,t){return sf(e,t)}class hf{}class pf{}class o_{resolveComponentFactory(t){throw function kp(e){const t=Error(`No component factory found for ${te(e)}.`);return t.ngComponent=e,t}(t)}}let Du=(()=>{class e{}return e.NULL=new o_,e})();function Vp(){return ol(pr(),Ge())}function ol(e,t){return new Ql(M(e,t))}let Ql=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Vp,e})();function Hp(e){return e instanceof Ql?e.nativeElement:e}class Up{}let s_=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function jp(){const e=Ge(),n=_e(pr().index,e);return(vr(n)?n:e)[kt]}(),e})(),$p=(()=>{class e{}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:()=>null}),e})();class gf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const a_=new gf("16.1.8"),mf={};function Xl(e){for(;e;){e[Dt]|=64;const t=Bl(e);if(Ko(e)&&!t)return e;e=t}return null}function _f(e){return e.ngOriginalError}class sl{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&_f(t);for(;n&&_f(n);)n=_f(n);return n||null}}const zp=new kn("",{providedIn:"root",factory:()=>!1});function ps(e){return e instanceof Function?e():e}class Cf extends Et{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){Xl(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,o){const l=Fe(this);this.trackingVersion++;try{t(n,o)}finally{Fe(l)}}destroy(){this.trackingVersion++}}let ec=null;function Ef(){return ec??=new Cf,ec}function Eu(e,t){return e[t]??Ef()}function Jp(e,t){const n=Ef();n.hasReadASignal&&(e[t]=ec,n.lView=e,ec=new Cf)}const Xt={};function Kp(e){Zp(ln(),Ge(),ni()+e,!1)}function Zp(e,t,n,o){if(!o)if(3==(3&t[Dt])){const u=e.preOrderCheckHooks;null!==u&&Ct(t,u,n)}else{const u=e.preOrderHooks;null!==u&&Ot(t,u,0,n)}Eo(n)}function qp(e){if(!ct()&&!function dr(){return On}())throw new le(-203,!1)}function Mf(e,t=null,n=null,o){const l=Sf(e,t,n,o);return l.resolveInjectorInitializers(),l}function Sf(e,t=null,n=null,o,l=new Set){const u=[n||bt,Qm(e)];return o=o||("object"==typeof e?void 0:te(e)),new Xa(u,t||pu(),o||null,l)}let gs=(()=>{class e{static create(n,o){if(Array.isArray(n))return Mf({name:""},o,n,"");{const l=n.name??"";return Mf({name:l},n.parent,n.providers,l)}}}return e.THROW_IF_NOT_FOUND=Jn,e.NULL=new Dp,e.\u0275prov=Ye({token:e,providedIn:"any",factory:()=>In(fs)}),e.__NG_ELEMENT_ID__=-1,e})();function ll(e,t=nt.Default){const n=Ge();return null===n?In(e,t):_h(pr(),n,De(e),t)}function eg(){throw new Error("invalid")}function i(e,t,n,o,l,u,d,m,v,T,R){const B=t.blueprint.slice();return B[$t]=l,B[Dt]=140|o,(null!==T||e&&2048&e[Dt])&&(B[Dt]|=2048),yn(B),B[Sn]=B[Hr]=e,B[wn]=n,B[ai]=d||e&&e[ai],B[kt]=m||e&&e[kt],B[Bi]=v||e&&e[Bi]||null,B[Kt]=u,B[Ur]=function zh(){return Lm++}(),B[jr]=R,B[po]=T,B[Vn]=2==t.type?e[Vn]:B,B}function a(e,t,n,o,l){let u=e.data[t];if(null===u)u=r(e,t,n,o,l),function Dl(){return wt.lFrame.inI18n}()&&(u.flags|=32);else if(64&u.type){u.type=n,u.value=o,u.attrs=l;const d=ci();u.injectorIndex=null===d?-1:d.injectorIndex}return oo(u,!0),u}function r(e,t,n,o,l){const u=Gi(),d=Oi(),v=e.data[t]=function Dn(e,t,n,o,l,u){let d=t?t.injectorIndex:-1,m=0;return hr()&&(m|=128),{type:n,index:o,insertBeforeIndex:null,injectorIndex:d,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:m,providerIndexes:0,value:l,attrs:u,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,d?u:u&&u.parent,n,t,o,l);return null===e.firstChild&&(e.firstChild=v),null!==u&&(d?null==u.child&&null!==v.parent&&(u.child=v):null===u.next&&(u.next=v,v.prev=u)),v}function c(e,t,n,o){if(0===n)return-1;const l=t.length;for(let u=0;uWt&&Zp(e,t,Wt,!1),Si(m?2:0,l),m)u.runInContext(n,o,l);else{const T=Fe(null);try{n(o,l)}finally{Fe(T)}}}finally{m&&null===t[go]&&Jp(t,go),Eo(d),Si(m?3:1,l)}}function D(e,t,n){if(ji(t)){const o=Fe(null);try{const u=t.directiveEnd;for(let d=t.directiveStart;dnull;function hn(e,t,n,o){for(let l in e)if(e.hasOwnProperty(l)){n=null===n?{}:n;const u=e[l];null===o?Zn(n,t,l,u):o.hasOwnProperty(l)&&Zn(n,t,o[l],u)}return n}function Zn(e,t,n,o){e.hasOwnProperty(n)?e[n].push(t,o):e[n]=[t,o]}function tn(e,t,n,o,l,u,d,m){const v=M(t,n);let R,T=t.inputs;!m&&null!=T&&(R=T[o])?(Au(e,n,R,o,l),cr(t)&&function er(e,t){const n=_e(t,e);16&n[Dt]||(n[Dt]|=64)}(n,t.index)):3&t.type&&(o=function Pn(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),l=null!=d?d(l,t.value||"",o):l,u.setProperty(v,o,l))}function yr(e,t,n,o){if(vo()){const l=null===o?null:{"":-1},u=function fo(e,t){const n=e.directiveRegistry;let o=null,l=null;if(n)for(let u=0;u0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(d)!=m&&d.push(m),d.push(n,o,u)}}(e,t,o,c(e,n,l.hostVars,Xt),l)}function di(e,t,n,o,l,u){const d=M(e,t);!function Oo(e,t,n,o,l,u,d){if(null==u)e.removeAttribute(t,l,n);else{const m=null==d?xe(u):d(u,o||"",l);e.setAttribute(t,l,m,n)}}(t[kt],d,u,e.value,n,o,l)}function ul(e,t,n,o,l,u){const d=u[t];if(null!==d)for(let m=0;m{class e{}return e.__NG_ELEMENT_ID__=Pf,e.__NG_ENV_ID__=t=>t,e})();class Nf extends fl{constructor(t){super(),this._lView=t}onDestroy(t){return ur(this._lView,t),()=>function ti(e,t){if(null===e[li])return;const n=e[li].indexOf(t);-1!==n&&e[li].splice(n,1)}(this._lView,t)}}function Pf(){return new Nf(Ge())}let Ru=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,o,l){const u=typeof Zone>"u"?null:Zone.current,d=new _l(n,T=>{this.all.has(T)&&this.queue.set(T,u)},l);let m;this.all.add(d),d.notify();const v=()=>{d.cleanup(),m?.(),this.all.delete(d),this.queue.delete(d)};return m=o?.onDestroy(v),{destroy:v}}flush(){if(0!==this.queue.size)for(const[n,o]of this.queue)this.queue.delete(n),o?o.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:()=>new e}),e})();function Ff(e,t,n){let o=n?e.styles:null,l=n?e.classes:null,u=0;if(null!==t)for(let d=0;d0){D_(e,1);const l=e[ze].components;null!==l&&E_(e,l,1)}}function E_(e,t,n){for(let o=0;o-1&&(as(t,o),Al(n,o))}this._attachedToViewContainer=!1}Xc(this._lView[ze],this._lView)}onDestroy(t){ur(this._lView,t)}markForCheck(){Xl(this._cdRefInjectingView||this._lView)}detach(){this._lView[Dt]&=-129}reattach(){this._lView[Dt]|=128}detectChanges(){Lf(this._lView[ze],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new le(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Um(e,t){Ln(e,t,t[kt],2,null,null)}(this._lView[ze],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new le(902,!1);this._appRef=t}}class Rb extends Pu{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Lf(t[ze],t,t[wn],!1)}checkNoChanges(){}get context(){return null}}class w_ extends Du{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ut(t);return new xu(n,this.ngModule)}}function T_(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Pb{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,o){o=Br(o);const l=this.injector.get(t,mf,o);return l!==mf||n===mf?l:this.parentInjector.get(t,n,o)}}class xu extends pf{get inputs(){const t=this.componentDef,n=t.inputTransforms,o=T_(t.inputs);if(null!==n)for(const l of o)n.hasOwnProperty(l.propName)&&(l.transform=n[l.propName]);return o}get outputs(){return T_(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function pi(e){return e.map(ei).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,o,l){let u=(l=l||this.ngModule)instanceof Uo?l:l?.injector;u&&null!==this.componentDef.getStandaloneInjector&&(u=this.componentDef.getStandaloneInjector(u)||u);const d=u?new Pb(t,u):t,m=d.get(Up,null);if(null===m)throw new le(407,!1);const R={rendererFactory:m,sanitizer:d.get($p,null),effectManager:d.get(Ru,null)},B=m.createRenderer(null,this.componentDef),ne=this.componentDef.selectors[0][0]||"div",ue=o?function ft(e,t,n,o){const u=o.get(zp,!1)||n===Jt.ShadowDom,d=e.selectRootElement(t,u);return function rt(e){pt(e)}(d),d}(B,o,this.componentDef.encapsulation,d):Qc(B,ne,function Nb(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(ne)),gt=this.componentDef.signals?4608:this.componentDef.onPush?576:528,At=de(0,null,null,1,0,null,null,null,null,null,null),$e=i(null,At,null,gt,null,null,R,B,d,null,null);let Zt,Tn;Qs($e);try{const xn=this.componentDef;let wi,ch=null;xn.findHostDirectiveDefs?(wi=[],ch=new Map,xn.findHostDirectiveDefs(xn,wi,ch),wi.push(xn)):wi=[xn];const Dw=function Fb(e,t){const n=e[ze],o=Wt;return e[o]=t,a(n,o,2,"#host",null)}($e,ue),Cw=function Lb(e,t,n,o,l,u,d){const m=l[ze];!function kb(e,t,n,o){for(const l of e)t.mergedAttrs=z(t.mergedAttrs,l.hostAttrs);null!==t.mergedAttrs&&(Ff(t,t.mergedAttrs,!0),null!==n&&ou(o,n,t))}(o,e,t,d);let v=null;null!==t&&(v=_u(t,l[Bi]));const T=u.rendererFactory.createRenderer(t,n);let R=16;n.signals?R=4096:n.onPush&&(R=64);const B=i(l,X(n),null,R,l[e.index],e,u,T,null,null,v);return m.firstCreatePass&&ba(m,e,o.length-1),Da(l,B),l[e.index]=B}(Dw,ue,xn,wi,$e,R,B);Tn=A(At,Wt),ue&&function Vb(e,t,n,o){if(o)Tr(e,n,["ng-version",a_.full]);else{const{attrs:l,classes:u}=function Gr(e){const t=[],n=[];let o=1,l=2;for(;o0&&iu(e,n,u.join(" "))}}(B,xn,ue,o),void 0!==n&&function Hb(e,t,n){const o=e.projection=[];for(let l=0;l=0;o--){const l=e[o];l.hostVars=t+=l.hostVars,l.hostAttrs=z(l.hostAttrs,n=z(n,l.hostAttrs))}}(o)}function kf(e){return e===Mt?{}:e===bt?[]:e}function $b(e,t){const n=e.viewQuery;e.viewQuery=n?(o,l)=>{t(o,l),n(o,l)}:t}function Gb(e,t){const n=e.contentQueries;e.contentQueries=n?(o,l,u)=>{t(o,l,u),n(o,l,u)}:t}function zb(e,t){const n=e.hostBindings;e.hostBindings=n?(o,l)=>{t(o,l),n(o,l)}:t}function S_(e){return t=>{t.findHostDirectiveDefs=O_,t.hostDirectives=(Array.isArray(e)?e:e()).map(n=>"function"==typeof n?{directive:De(n),inputs:Mt,outputs:Mt}:{directive:De(n.directive),inputs:I_(n.inputs),outputs:I_(n.outputs)})}}function O_(e,t,n){if(null!==e.hostDirectives)for(const o of e.hostDirectives){const l=k(o.directive);Kb(l.declaredInputs,o.inputs),O_(l,t,n),n.set(l,o),t.push(l)}}function I_(e){if(void 0===e||0===e.length)return Mt;const t={};for(let n=0;n(F(!0),Qc(o,l,function b(){return wt.lFrame.currentNamespace}()));function zf(e,t,n){const o=Ge(),l=ln(),u=e+Wt,d=l.firstCreatePass?function CD(e,t,n,o,l){const u=t.consts,d=an(u,o),m=a(t,e,8,"ng-container",d);return null!==d&&Ff(m,d,!0),yr(t,n,m,an(u,l)),null!==t.queries&&t.queries.elementStart(t,m),m}(u,l,o,t,n):l.data[u];oo(d,!0);const m=Z_(l,o,d,e);return o[u]=m,P()&&Mo(l,o,m,d),oi(m,o),xo(d)&&(x(l,o,d),D(l,d,o)),null!=n&&J(o,d),zf}function Wf(){let e=pr();const t=ln();return Oi()?Ms():(e=e.parent,oo(e,!1)),t.firstCreatePass&&(Je(t,e),ji(e)&&t.queries.elementEnd(e)),Wf}let Z_=(e,t,n,o)=>(F(!0),Td(t[kt],""));function q_(){return Ge()}function hg(e){return!!e&&"function"==typeof e.then}function Q_(e){return!!e&&"function"==typeof e.subscribe}function pg(e,t,n,o){const l=Ge(),u=ln(),d=pr();return function ev(e,t,n,o,l,u,d){const m=xo(o),T=e.firstCreatePass&&Af(e),R=t[wn],B=If(t);let ne=!0;if(3&o.type||d){const Xe=M(o,t),gt=d?d(Xe):Xe,At=B.length,$e=d?Tn=>d(fn(Tn[o.index])):o.index;let Zt=null;if(!d&&m&&(Zt=function TD(e,t,n,o){const l=e.cleanup;if(null!=l)for(let u=0;uv?m[v]:null}"string"==typeof d&&(u+=2)}return null}(e,t,l,o.index)),null!==Zt)(Zt.__ngLastListenerFn__||Zt).__ngNextListenerFn__=u,Zt.__ngLastListenerFn__=u,ne=!1;else{u=nv(o,t,R,u,!1);const Tn=n.listen(gt,l,u);B.push(u,Tn),T&&T.push(l,$e,At,At+1)}}else u=nv(o,t,R,u,!1);const ue=o.outputs;let Ve;if(ne&&null!==ue&&(Ve=ue[l])){const Xe=Ve.length;if(Xe)for(let gt=0;gt-1?_e(e.index,t):t);let v=tv(t,n,o,d),T=u.__ngNextListenerFn__;for(;T;)v=tv(t,n,T,d)&&v,T=T.__ngNextListenerFn__;return l&&!1===v&&d.preventDefault(),v}}function rv(e=1){return function Ku(e){return(wt.lFrame.contextLView=function ea(e,t){for(;e>0;)t=t[Hr],e--;return t}(e,wt.lFrame.contextLView))[wn]}(e)}function MD(e,t){let n=null;const o=function Cn(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let l=0;l>17&32767}function mg(e){return 2|e}function pl(e){return(131068&e)>>2}function _g(e,t){return-131069&e|t<<2}function vg(e){return 1|e}function pv(e,t,n,o,l){const u=e[n+1],d=null===t;let m=o?Ca(u):pl(u),v=!1;for(;0!==m&&(!1===v||d);){const R=e[m+1];ND(e[m],t)&&(v=!0,e[m+1]=o?vg(R):mg(R)),m=o?Ca(R):pl(R)}v&&(e[n+1]=o?mg(u):vg(u))}function ND(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&la(e,t)>=0}const Qr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gv(e){return e.substring(Qr.key,Qr.keyEnd)}function mv(e,t){const n=Qr.textEnd;return n===t?-1:(t=Qr.keyEnd=function LD(e,t,n){for(;t32;)t++;return t}(e,Qr.key=t,n),gc(e,t,n))}function gc(e,t,n){for(;t=0;n=mv(t,n))Ai(e,gv(t),!0)}function Wo(e,t,n,o){const l=ln(),u=Wi(2);l.firstUpdatePass&&wv(l,null,u,o);const d=Ge();if(n!==Xt&&Ei(d,u,n)){const m=l.data[ni()];if(Ov(m,o)&&!Ev(l,u)){let v=o?m.classesWithoutHost:m.stylesWithoutHost;null!==v&&(n=he(v,n||"")),dg(l,m,d,n,o)}else!function WD(e,t,n,o,l,u,d,m){l===Xt&&(l=bt);let v=0,T=0,R=0=e.expandoStartIndex}function wv(e,t,n,o){const l=e.data;if(null===l[n+1]){const u=l[ni()],d=Ev(e,n);Ov(u,o)&&null===t&&!d&&(t=!1),t=function HD(e,t,n,o){const l=function so(e){const t=wt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let u=o?t.residualClasses:t.residualStyles;if(null===l)0===(o?t.classBindings:t.styleBindings)&&(n=Vu(n=bg(null,e,t,n,o),t.attrs,o),u=null);else{const d=t.directiveStylingLast;if(-1===d||e[d]!==l)if(n=bg(l,e,t,n,o),null===u){let v=function UD(e,t,n){const o=n?t.classBindings:t.styleBindings;if(0!==pl(o))return e[Ca(o)]}(e,t,o);void 0!==v&&Array.isArray(v)&&(v=bg(null,e,t,v[1],o),v=Vu(v,t.attrs,o),function jD(e,t,n,o){e[Ca(n?t.classBindings:t.styleBindings)]=o}(e,t,o,v))}else u=function $D(e,t,n){let o;const l=t.directiveEnd;for(let u=1+t.directiveStylingLast;u0)&&(T=!0)):R=n,l)if(0!==v){const ne=Ca(e[m+1]);e[o+1]=Jf(ne,m),0!==ne&&(e[ne+1]=_g(e[ne+1],o)),e[m+1]=function OD(e,t){return 131071&e|t<<17}(e[m+1],o)}else e[o+1]=Jf(m,0),0!==m&&(e[m+1]=_g(e[m+1],o)),m=o;else e[o+1]=Jf(v,0),0===m?m=o:e[v+1]=_g(e[v+1],o),v=o;T&&(e[o+1]=mg(e[o+1])),pv(e,R,o,!0),pv(e,R,o,!1),function RD(e,t,n,o,l){const u=l?e.residualClasses:e.residualStyles;null!=u&&"string"==typeof t&&la(u,t)>=0&&(n[o+1]=vg(n[o+1]))}(t,R,e,o,u),d=Jf(m,v),u?t.classBindings=d:t.styleBindings=d}(l,u,t,n,d,o)}}function bg(e,t,n,o,l){let u=null;const d=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m0;){const v=e[l],T=Array.isArray(v),R=T?v[1]:v,B=null===R;let ne=n[l+1];ne===Xt&&(ne=B?bt:void 0);let ue=B?kc(ne,o):R===o?ne:void 0;if(T&&!Kf(ue)&&(ue=kc(v,o)),Kf(ue)&&(m=ue,d))return m;const Ve=e[l+1];l=d?Ca(Ve):pl(Ve)}if(null!==t){let v=u?t.residualClasses:t.residualStyles;null!=v&&(m=kc(v,o))}return m}function Kf(e){return void 0!==e}function Ov(e,t){return 0!=(e.flags&(t?8:16))}function Iv(e,t=""){const n=Ge(),o=ln(),l=e+Wt,u=o.firstCreatePass?a(o,l,1,t,null):o.data[l],d=Av(o,n,u,t,e);n[l]=d,P()&&Mo(o,n,d,u),oo(u,!1)}let Av=(e,t,n,o,l)=>(F(!0),Ns(t[kt],o));function Dg(e){return Zf("",e,""),Dg}function Zf(e,t,n){const o=Ge(),l=ac(o,e,t,n);return l!==Xt&&function Go(e,t,n){const o=g(t,e);!function Zh(e,t,n){e.setValue(t,n)}(e[kt],o,n)}(o,ni(),l),Zf}function Vv(e,t,n){Wo(Ai,ys,ac(Ge(),e,t,n),!0)}function Cg(e,t,n){const o=Ge();return Ei(o,Ii(),t)&&tn(ln(),ir(),o,e,t,o[kt],n,!0),Cg}const gl=void 0;var p1=["en",[["a","p"],["AM","PM"],gl],[["AM","PM"],gl,gl],[["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"]],gl,[["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"]],gl,[["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}",gl,"{1} 'at' {0}",gl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function h1(e){const n=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===o?1:5}];let mc={};function Eg(e){const t=function g1(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=qv(t);if(n)return n;const o=t.split("-")[0];if(n=qv(o),n)return n;if("en"===o)return p1;throw new le(701,!1)}function Zv(e){return Eg(e)[_c.PluralCase]}function qv(e){return e in mc||(mc[e]=_t.ng&&_t.ng.common&&_t.ng.common.locales&&_t.ng.common.locales[e]),mc[e]}var _c=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(_c||{});const vc="en-US",qf={marker:"element"},Qf={marker:"ICU"};var Ki=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Ki||{});let Qv=vc;function Xv(e){(function Se(e,t){null==e&&Le(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Qv=e.toLowerCase().replace(/_/g,"-"))}function ey(e,t,n){const o=t.insertBeforeIndex,l=Array.isArray(o)?o[0]:o;return null===l?Rd(e,0,n):fn(n[l])}function ty(e,t,n,o,l){const u=t.insertBeforeIndex;if(Array.isArray(u)){let d=o,m=null;if(3&t.type||(m=d,d=l),null!==d&&-1===t.componentOffset)for(let v=1;v1)for(let n=e.length-2;n>=0;n--){const o=e[n];ry(o)||b1(o,t)&&null===D1(o)&&C1(o,t.index)}}function ry(e){return!(64&e.type)}function b1(e,t){return ry(t)||e.index>t.index}function D1(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function C1(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Nd(ey,ty),e.insertBeforeIndex=t)}function T1(e,t,n){const o=r(e,n,64,null,null);return ny(t,o),o}function N1(){const e=[];let n,o,t=-1;function u(m,v){t=0;const T=function Xf(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}(m,v);o=null!==T?m.remove[T]:bt}function d(){if(t0?n[m]:(e.push(t,o),u(n[ze].data[~m],n),d())}return 0===e.length?null:(o=e.pop(),t=e.pop(),d())}return function l(m,v){for(n=v;e.length;)e.pop();return u(m.value,v),d}}const eh=/\ufffd(\d+):?\d*\ufffd/gi,x1=/\ufffd(\d+)\ufffd/,fy=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,$u="\ufffd",F1=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,L1=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,k1=/\uE500/g;function hy(e,t,n,o,l,u,d){const m=c(e,o,1,null);let v=m<n.length&&n.push(v)}return{type:o,mainBinding:l,cases:t,values:n}}function wg(e){if(!e)return[];let t=0;const n=[],o=[],l=/[{}]/g;let u;for(l.lastIndex=0;u=l.exec(e);){const m=u.index;if("}"==u[0]){if(n.pop(),0==n.length){const v=e.substring(t,m);fy.test(v)?o.push(z1(v)):o.push(v),t=m+1}}else{if(0==n.length){const v=e.substring(t,m);o.push(v),t=m+1}n.push("{")}}const d=e.substring(t);return o.push(d),o}function W1(e,t,n,o,l,u,d,m){const v=[],T=[],R=[];t.cases.push(u),t.create.push(v),t.remove.push(T),t.update.push(R);const ne=up(Ka()).getInertBodyElement(d),ue=cu(ne)||ne;return ue?_y(e,t,n,o,v,T,R,ue,l,m,0):0}function _y(e,t,n,o,l,u,d,m,v,T,R){let B=0,ne=m.firstChild;for(;ne;){const ue=c(e,n,1,null);switch(ne.nodeType){case Node.ELEMENT_NODE:const Ve=ne,Xe=Ve.tagName.toLowerCase();if(Gd.hasOwnProperty(Xe)){Tg(l,qf,Xe,v,ue),e.data[ue]=Xe;const Zt=Ve.attributes;for(let Tn=0;Tn>>Ki.SHIFT;let B=e[R];null===B&&(B=e[R]=(d&Ki.COMMENT)===Ki.COMMENT?l.createComment(m):Ns(l,m)),T&&null!==n&&Ps(l,n,B,o,!1)}})(l,v.create,R,m&&8&m.type?l[m.index]:null),Tc(!0)}function Cy(e,t,n){by(e,t,n),function Dy(){Tc(!1)}()}function Mg(e,t,n,o,l){if(e=De(e),Array.isArray(e))for(let u=0;u>20;if(_a(e)||!e.multi){const ue=new Yi(v,l,ll),Ve=Og(m,t,l?R:R+ne,B);-1===Ve?(td(Ol(T,d),u,m),Sg(u,e,t.length),t.push(m),T.directiveStart++,T.directiveEnd++,l&&(T.providerIndexes+=1048576),n.push(ue),d.push(ue)):(n[Ve]=ue,d[Ve]=ue)}else{const ue=Og(m,t,R+ne,B),Ve=Og(m,t,R,R+ne),gt=Ve>=0&&n[Ve];if(l&&!gt||!l&&!(ue>=0&&n[ue])){td(Ol(T,d),u,m);const At=function dC(e,t,n,o,l){const u=new Yi(e,n,ll);return u.multi=[],u.index=t,u.componentProviders=0,wy(u,l,o&&!n),u}(l?uC:cC,n.length,l,o,v);!l&>&&(n[Ve].providerFactory=At),Sg(u,e,t.length,0),t.push(m),T.directiveStart++,T.directiveEnd++,l&&(T.providerIndexes+=1048576),n.push(At),d.push(At)}else Sg(u,e,ue>-1?ue:Ve,wy(n[l?Ve:ue],v,!l&&o));!l&&o&>&&n[Ve].componentProviders++}}}function Sg(e,t,n,o){const l=_a(t),u=function e_(e){return!!e.useClass}(t);if(l||u){const v=(u?De(t.useClass):t).prototype.ngOnDestroy;if(v){const T=e.destroyHooks||(e.destroyHooks=[]);if(!l&&t.multi){const R=T.indexOf(n);-1===R?T.push(n,[o,v]):T[R+1].push(o,v)}else T.push(n,v)}}}function wy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Og(e,t,n,o){for(let l=n;l{n.providersResolver=(o,l)=>function lC(e,t,n){const o=ln();if(o.firstCreatePass){const l=rr(e);Mg(n,o.data,o.blueprint,l,!0),Mg(t,o.data,o.blueprint,l,!1)}}(o,l?l(e):e,t)}}class yc{}class My{}function fC(e,t){return new Ag(e,t??null,[])}class Ag extends yc{constructor(t,n,o){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new w_(this);const l=me(t);this._bootstrapComponents=ps(l.bootstrap),this._r3Injector=Sf(t,n,[{provide:yc,useValue:this},{provide:Du,useValue:this.componentFactoryResolver},...o],te(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Rg extends My{constructor(t){super(),this.moduleType=t}create(t){return new Ag(this.moduleType,t,[])}}class Sy extends yc{constructor(t){super(),this.componentFactoryResolver=new w_(this),this.instance=null;const n=new Xa([...t.providers,{provide:yc,useValue:this},{provide:Du,useValue:this.componentFactoryResolver}],t.parent||pu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Oy(e,t,n=null){return new Sy({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let pC=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const o=Cp(0,n.type),l=o.length>0?Oy([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,l)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Ye({token:e,providedIn:"environment",factory:()=>new e(In(Uo))}),e})();function Iy(e){e.getStandaloneInjector=t=>t.get(pC).getOrCreateStandaloneInjector(e)}function Ly(e,t,n){const o=Jr()+e,l=Ge();return l[o]===Xt?_s(l,o,n?t.call(n):t()):function Fu(e,t){return e[t]}(l,o)}function ky(e,t,n,o){return Hy(Ge(),Jr(),e,t,n,o)}function By(e,t,n,o,l){return Uy(Ge(),Jr(),e,t,n,o,l)}function Vy(e,t,n,o,l,u){return function jy(e,t,n,o,l,u,d,m){const v=t+n;return function Vf(e,t,n,o,l){const u=hl(e,t,n,o);return Ei(e,t+2,l)||u}(e,v,l,u,d)?_s(e,v+3,m?o.call(m,l,u,d):o(l,u,d)):zu(e,v+3)}(Ge(),Jr(),e,t,n,o,l,u)}function zu(e,t){const n=e[t];return n===Xt?void 0:n}function Hy(e,t,n,o,l,u){const d=t+n;return Ei(e,d,l)?_s(e,d+1,u?o.call(u,l):o(l)):zu(e,d+1)}function Uy(e,t,n,o,l,u,d){const m=t+n;return hl(e,m,l,u)?_s(e,m+2,d?o.call(d,l,u):o(l,u)):zu(e,m+2)}function zy(e,t){const n=ln();let o;const l=e+Wt;n.firstCreatePass?(o=function IC(e,t){if(t)for(let n=t.length-1;n>=0;n--){const o=t[n];if(e===o.name)return o}}(t,n.pipeRegistry),n.data[l]=o,o.onDestroy&&(n.destroyHooks??=[]).push(l,o.onDestroy)):o=n.data[l];const u=o.factory||(o.factory=Wr(o.type)),d=Qt(ll);try{const m=Sl(!1),v=u();return Sl(m),function vD(e,t,n,o){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=o}(n,Ge(),l,v),v}finally{Qt(d)}}function Wy(e,t,n){const o=e+Wt,l=Ge(),u=j(l,o);return Wu(l,o)?Hy(l,Jr(),t,u.transform,n,u):u.transform(n)}function Yy(e,t,n,o){const l=e+Wt,u=Ge(),d=j(u,l);return Wu(u,l)?Uy(u,Jr(),t,d.transform,n,o,d):d.transform(n,o)}function Wu(e,t){return e[ze].data[t].pure}function Pg(e){return t=>{setTimeout(e,void 0,t)}}const bs=class PC extends s.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,o){let l=t,u=n||(()=>null),d=o;if(t&&"object"==typeof t){const v=t;l=v.next?.bind(v),u=v.error?.bind(v),d=v.complete?.bind(v)}this.__isAsync&&(u=Pg(u),l&&(l=Pg(l)),d&&(d=Pg(d)));const m=super.subscribe({next:l,error:u,complete:d});return t instanceof y.w0&&t.add(m),m}};function xC(){return this._results[Symbol.iterator]()}class xg{get changes(){return this._changes||(this._changes=new bs)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=xg.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=xC)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const o=this;o.dirty=!1;const l=function Ji(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Th(e,t,n){if(e.length!==t.length)return!1;for(let o=0;o{class e{}return e.__NG_ELEMENT_ID__=kC,e})();const FC=Yu,LC=class extends FC{constructor(t,n,o){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,o){const d=this._declarationTContainer.tView,m=i(this._declarationLView,d,t,4096&this._declarationLView[Dt]?4096:16,null,d.declTNode,null,null,null,n||null,o||null);m[_i]=this._declarationLView[this._declarationTContainer.index];const T=this._declarationLView[Sr];return null!==T&&(m[Sr]=T.createEmbeddedView(d)),oc(d,m,t),new Pu(m)}};function kC(){return th(pr(),Ge())}function th(e,t){return 4&e.type?new LC(t,e,ol(e,t)):null}let nh=(()=>{class e{}return e.__NG_ELEMENT_ID__=GC,e})();function GC(){return Xy(pr(),Ge())}const zC=nh,qy=class extends zC{constructor(t,n,o){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=o}get element(){return ol(this._hostTNode,this._hostLView)}get injector(){return new na(this._hostTNode,this._hostLView)}get parentInjector(){const t=Nc(this._hostTNode,this._hostLView);if(qu(t)){const n=Ic(t,this._hostLView),o=Ml(t);return new na(n[ze].data[o+8],n)}return new na(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Qy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-lr}createEmbeddedView(t,n,o){let l,u;"number"==typeof o?l=o:null!=o&&(l=o.index,u=o.injector);const m=t.createEmbeddedViewImpl(n||{},u,null);return this.insertImpl(m,l,false),m}createComponent(t,n,o,l,u){const d=t&&!function La(e){return"function"==typeof e}(t);let m;if(d)m=n;else{const Xe=n||{};m=Xe.index,o=Xe.injector,l=Xe.projectableNodes,u=Xe.environmentInjector||Xe.ngModuleRef}const v=d?t:new xu(Ut(t)),T=o||this.parentInjector;if(!u&&null==v.ngModule){const gt=(d?T:this.parentInjector).get(Uo,null);gt&&(u=gt)}Ut(v.componentType??{});const ue=v.create(T,l,null,u);return this.insertImpl(ue.hostView,m,false),ue}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,o){const l=t._lView,u=l[ze];if(function Un(e){return Pr(e[Sn])}(l)){const v=this.indexOf(t);if(-1!==v)this.detach(v);else{const T=l[Sn],R=new qy(T,T[Kt],T[Sn]);R.detach(R.indexOf(t))}}const d=this._adjustIndex(n),m=this._lContainer;if(function Qh(e,t,n,o){const l=lr+o,u=n.length;o>0&&(n[l-1][_r]=t),o0)o.push(d[m/2]);else{const T=u[m+1],R=t[-v];for(let B=lr;B{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=gn(I0,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const l of this.appInits){const u=l();if(hg(u))n.push(u);else if(Q_(u)){const d=new Promise((m,v)=>{u.subscribe({complete:m,error:v})});n.push(d)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(l=>{this.reject(l)}),0===n.length&&o(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),A0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const ih=new kn("LocaleId",{providedIn:"root",factory:()=>gn(ih,nt.Optional|nt.SkipSelf)||function DE(){return typeof $localize<"u"&&$localize.locale||vc}()}),CE=new kn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let R0=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new W.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class wE{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let TE=(()=>{class e{compileModuleSync(n){return new Rg(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const o=this.compileModuleSync(n),u=ps(me(n).declarations).reduce((d,m)=>{const v=Ut(m);return v&&d.push(new xu(v)),d},[]);return new wE(o,u)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function x0(...e){}class Fi{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bs(!1),this.onMicrotaskEmpty=new bs(!1),this.onStable=new bs(!1),this.onError=new bs(!1),typeof Zone>"u")throw new le(908,!1);Zone.assertZonePatched();const l=this;l._nesting=0,l._outer=l._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(l._inner=l._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(l._inner=l._inner.fork(Zone.longStackTraceZoneSpec)),l.shouldCoalesceEventChangeDetection=!o&&n,l.shouldCoalesceRunChangeDetection=o,l.lastRequestAnimationFrameId=-1,l.nativeRequestAnimationFrame=function OE(){const e="function"==typeof _t.requestAnimationFrame;let t=_t[e?"requestAnimationFrame":"setTimeout"],n=_t[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o);const l=n[Zone.__symbol__("OriginalDelegate")];l&&(n=l)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function RE(e){const t=()=>{!function AE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(_t,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Kg(e),e.isCheckStableRunning=!0,Jg(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Kg(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,o,l,u,d,m)=>{try{return F0(e),n.invokeTask(l,u,d,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||e.shouldCoalesceRunChangeDetection)&&t(),L0(e)}},onInvoke:(n,o,l,u,d,m,v)=>{try{return F0(e),n.invoke(l,u,d,m,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),L0(e)}},onHasTask:(n,o,l,u)=>{n.hasTask(l,u),o===l&&("microTask"==u.change?(e._hasPendingMicrotasks=u.microTask,Kg(e),Jg(e)):"macroTask"==u.change&&(e.hasPendingMacrotasks=u.macroTask))},onHandleError:(n,o,l,u)=>(n.handleError(l,u),e.runOutsideAngular(()=>e.onError.emit(u)),!1)})}(l)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Fi.isInAngularZone())throw new le(909,!1)}static assertNotInAngularZone(){if(Fi.isInAngularZone())throw new le(909,!1)}run(t,n,o){return this._inner.run(t,n,o)}runTask(t,n,o,l){const u=this._inner,d=u.scheduleEventTask("NgZoneEvent: "+l,t,IE,x0,x0);try{return u.runTask(d,n,o)}finally{u.cancelTask(d)}}runGuarded(t,n,o){return this._inner.runGuarded(t,n,o)}runOutsideAngular(t){return this._outer.run(t)}}const IE={};function Jg(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Kg(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function F0(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function L0(e){e._nesting--,Jg(e)}class NE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bs,this.onMicrotaskEmpty=new bs,this.onStable=new bs,this.onError=new bs}run(t,n,o){return t.apply(n,o)}runGuarded(t,n,o){return t.apply(n,o)}runOutsideAngular(t){return t()}runTask(t,n,o,l){return t.apply(n,o)}}const k0=new kn("",{providedIn:"root",factory:B0});function B0(){const e=gn(Fi);let t=!0;const n=new L.y(l=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{l.next(t),l.complete()})}),o=new L.y(l=>{let u;e.runOutsideAngular(()=>{u=e.onStable.subscribe(()=>{Fi.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,l.next(!0))})})});const d=e.onUnstable.subscribe(()=>{Fi.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{l.next(!1)}))});return()=>{u.unsubscribe(),d.unsubscribe()}});return(0,N.T)(n,o.pipe((0,V.B)()))}const V0=new kn(""),H0=new kn("");let Zg,PE=(()=>{class e{constructor(n,o,l){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Zg||(function xE(e){Zg=e}(l),l.addToWindow(o)),this._watchAngularEvents(),n.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:()=>{Fi.assertNotInAngularZone(),queueMicrotask(()=>{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}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,l){let u=-1;o&&o>0&&(u=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==u),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:u,updateCb:l})}whenStable(n,o,l){if(l&&!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(n,o,l),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,l){return[]}}return e.\u0275fac=function(n){return new(n||e)(In(Fi),In(U0),In(H0))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})(),U0=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return Zg?.findTestabilityInTree(this,n,o)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Ea=null;const j0=new kn("AllowMultipleToken"),qg=new kn("PlatformDestroyListeners"),Qg=new kn("appBootstrapListener");class kE{constructor(t,n){this.name=t,this.token=n}}function z0(e,t,n=[]){const o=`Platform: ${t}`,l=new kn(o);return(u=[])=>{let d=Xg();if(!d||d.injector.get(j0,!1)){const m=[...n,...u,{provide:l,useValue:!0}];e?e(m):function BE(e){if(Ea&&!Ea.get(j0,!1))throw new le(400,!1);(function $0(){!function dn(e){Fn=e}(()=>{throw new le(600,!1)})})(),Ea=e;const t=e.get(Y0);(function G0(e){e.get(ef,null)?.forEach(n=>n())})(e)}(function W0(e=[],t){return gs.create({name:t,providers:[{provide:qd,useValue:"platform"},{provide:qg,useValue:new Set([()=>Ea=null])},...e]})}(m,o))}return function HE(e){const t=Xg();if(!t)throw new le(401,!1);return t}()}}function Xg(){return Ea?.get(Y0)??null}let Y0=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){const l=function UE(e="zone.js",t){return"noop"===e?new NE:"zone.js"===e?new Fi(t):e}(o?.ngZone,function J0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return l.run(()=>{const u=function hC(e,t,n){return new Ag(e,t,n)}(n.moduleType,this.injector,function X0(e){return[{provide:Fi,useFactory:e},{provide:ds,multi:!0,useFactory:()=>{const t=gn($E,{optional:!0});return()=>t.initialize()}},{provide:Q0,useFactory:jE},{provide:k0,useFactory:B0}]}(()=>l)),d=u.injector.get(sl,null);return l.runOutsideAngular(()=>{const m=l.onError.subscribe({next:v=>{d.handleError(v)}});u.onDestroy(()=>{oh(this._modules,u),m.unsubscribe()})}),function K0(e,t,n){try{const o=n();return hg(o)?o.catch(l=>{throw t.runOutsideAngular(()=>e.handleError(l)),l}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(d,l,()=>{const m=u.injector.get(Yg);return m.runInitializers(),m.donePromise.then(()=>(Xv(u.injector.get(ih,vc)||vc),this._moduleDoBootstrap(u),u))})})}bootstrapModule(n,o=[]){const l=Z0({},o);return function FE(e,t,n){const o=new Rg(n);return Promise.resolve(o)}(0,0,n).then(u=>this.bootstrapModuleFactory(u,l))}_moduleDoBootstrap(n){const o=n.injector.get(Cc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(l=>o.bootstrap(l));else{if(!n.instance.ngDoBootstrap)throw new le(-403,!1);n.instance.ngDoBootstrap(o)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new le(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const n=this._injector.get(qg,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(In(gs))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Z0(e,t){return Array.isArray(t)?t.reduce(Z0,e):{...e,...t}}let Cc=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=gn(Q0),this.zoneIsStable=gn(k0),this.componentTypes=[],this.components=[],this.isStable=gn(R0).hasPendingTasks.pipe((0,ee.w)(n=>n?(0,$.of)(!1):this.zoneIsStable),(0,Y.x)(),(0,V.B)()),this._injector=gn(Uo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){const l=n instanceof pf;if(!this._injector.get(Yg).done)throw!l&&ae(n),new le(405,!1);let d;d=l?n:this._injector.get(Du).resolveComponentFactory(n),this.componentTypes.push(d.componentType);const m=function LE(e){return e.isBoundToModule}(d)?void 0:this._injector.get(yc),T=d.create(gs.NULL,[],o||d.selector,m),R=T.location.nativeElement,B=T.injector.get(V0,null);return B?.registerApplication(R),T.onDestroy(()=>{this.detachView(T.hostView),oh(this.components,T),B?.unregisterApplication(R)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new le(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;oh(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const o=this._injector.get(Qg,[]);o.push(...this._bootstrapListeners),o.forEach(l=>l(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>oh(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new le(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function oh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Q0=new kn("",{providedIn:"root",factory:()=>gn(sl).handleError.bind(void 0)});function jE(){const e=gn(Fi),t=gn(sl);return n=>e.runOutsideAngular(()=>t.handleError(n))}let $E=(()=>{class e{constructor(){this.zone=gn(Fi),this.applicationRef=gn(Cc)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function zE(){return!1}let WE=(()=>{class e{}return e.__NG_ELEMENT_ID__=YE,e})();function YE(e){return function JE(e,t,n){if(cr(e)&&!n){const o=_e(e.index,t);return new Pu(o,o)}return 47&e.type?new Pu(t[Vn],t):null}(pr(),Ge(),16==(16&e))}class rb{constructor(){}supports(t){return Bf(t)}create(t){return new ew(t)}}const XE=(e,t)=>t;class ew{constructor(t){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=t||XE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,o=this._removalsHead,l=0,u=null;for(;n||o;){const d=!o||n&&n.currentIndex{d=this._trackByFn(l,m),null!==n&&Object.is(n.trackById,d)?(o&&(n=this._verifyReinsertion(n,m,d,l)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,d,l),o=!0),n=n._next,l++}),this.length=l;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,o,l){let u;return null===t?u=this._itTail:(u=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,u,l)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,l))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,u,l)):t=this._addAfter(new tw(n,o),u,l),t}_verifyReinsertion(t,n,o,l){let u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==u?t=this._reinsertAfter(u,t._prev,l):t.currentIndex!=l&&(t.currentIndex=l,this._addToMoves(t,l)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const l=t._prevRemoved,u=t._nextRemoved;return null===l?this._removalsHead=u:l._nextRemoved=u,null===u?this._removalsTail=l:u._prevRemoved=l,this._insertAfter(t,n,o),this._addToMoves(t,o),t}_moveAfter(t,n,o){return this._unlink(t),this._insertAfter(t,n,o),this._addToMoves(t,o),t}_addAfter(t,n,o){return this._insertAfter(t,n,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,o){const l=null===n?this._itHead:n._next;return t._next=l,t._prev=n,null===l?this._itTail=t:l._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ib),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,o=t._next;return null===n?this._itHead=o:n._next=o,null===o?this._itTail=n:o._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ib),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class tw{constructor(t,n){this.item=t,this.trackById=n,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 nw{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===n||n<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const n=t._prevDup,o=t._nextDup;return null===n?this._head=o:n._nextDup=o,null===o?this._tail=n:o._prevDup=n,null===this._head}}class ib{constructor(){this.map=new Map}put(t){const n=t.trackById;let o=this.map.get(n);o||(o=new nw,this.map.set(n,o)),o.add(t)}get(t,n){const l=this.map.get(t);return l?l.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ob(e,t,n){const o=e.previousIndex;if(null===o)return o;let l=0;return n&&o{if(n&&n.key===l)this._maybeAddToChanges(n,o),this._appendAfter=n,n=n._next;else{const u=this._getOrCreateRecordForKey(l,o);n=this._insertBeforeOrAppend(n,u)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let o=n;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(t,n){if(t){const o=t._prev;return n._next=t,n._prev=o,t._prev=n,o&&(o._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const l=this._records.get(t);this._maybeAddToChanges(l,n);const u=l._prev,d=l._next;return u&&(u._next=d),d&&(d._prev=u),l._next=null,l._prev=null,l}const o=new iw(t);return this._records.set(t,o),o.currentValue=n,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(o=>n(t[o],o))}}class iw{constructor(t){this.key=t,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 ab(){return new im([new rb])}let im=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(null!=o){const l=o.factories.slice();n=n.concat(l)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||ab()),deps:[[e,new Pl,new Nl]]}}find(n){const o=this.factories.find(l=>l.supports(n));if(null!=o)return o;throw new le(901,!1)}}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:ab}),e})();function lb(){return new om([new sb])}let om=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(o){const l=o.factories.slice();n=n.concat(l)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||lb()),deps:[[e,new Pl,new Nl]]}}find(n){const o=this.factories.find(l=>l.supports(n));if(o)return o;throw new le(901,!1)}}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:lb}),e})();const aw=z0(null,"core",[]);let lw=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(In(Cc))},e.\u0275mod=gi({type:e}),e.\u0275inj=qt({}),e})();function _w(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function yw(e,t){const n=Ut(e),o=t.elementInjector||pu();return new xu(n).create(o,t.projectableNodes,t.hostElement,t.environmentInjector)}function bw(e){const t=Ut(e);if(!t)return null;const n=new xu(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},1993:(q,H,E)=>{"use strict";E.d(H,{O4:()=>We});var s=E(5879);class $ extends Error{constructor(Se,Le){super(function V(Ee,Se){return`NG0${Math.abs(Ee)}${Se?": "+Se:""}`}(Se,Le)),this.code=Se}}function We(Ee,Se){const Le=!Se?.manualCleanup;Le&&!Se?.injector&&(0,s.gHi)(We);const Pt=Le?Se?.injector?.get(s.ktI)??(0,s.f3M)(s.ktI):null;let Ue;Ue=(0,s.tdS)(Se?.requireSync?{kind:0}:{kind:1,value:Se?.initialValue});const jt=Ee.subscribe({next:Ye=>Ue.set({kind:1,value:Ye}),error:Ye=>Ue.set({kind:2,error:Ye})});return Pt?.onDestroy(jt.unsubscribe.bind(jt)),(0,s.Flj)(()=>{const Ye=Ue();switch(Ye.kind){case 1:return Ye.value;case 2:throw Ye.error;case 0:throw new $(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},2614:()=>{"use strict";const q=":";const qt=function(ie,...se){if(qt.translate){const He=qt.translate(ie,se);ie=He[0],se=He[1]}let Ce=Ft(ie[0],ie.raw[0]);for(let He=1;Hetypeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)().$localize=qt},6593:(q,H,E)=>{"use strict";E.d(H,{Dx:()=>it,b2:()=>Ft,q6:()=>Ye});var s=E(5879),y=E(6814);class W extends y.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class L extends W{static makeCurrent(){(0,y.HT)(new L)}onAndCancel(oe,G,fe){return oe.addEventListener(G,fe),()=>{oe.removeEventListener(G,fe)}}dispatchEvent(oe,G){oe.dispatchEvent(G)}remove(oe){oe.parentNode&&oe.parentNode.removeChild(oe)}createElement(oe,G){return(G=G||this.getDefaultDocument()).createElement(oe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(oe){return oe.nodeType===Node.ELEMENT_NODE}isShadowRoot(oe){return oe instanceof DocumentFragment}getGlobalEventTarget(oe,G){return"window"===G?window:"document"===G?oe:"body"===G?oe.body:null}getBaseHref(oe){const G=function $(){return N=N||document.querySelector("base"),N?N.getAttribute("href"):null}();return null==G?null:function ee(Ie){V=V||document.createElement("a"),V.setAttribute("href",Ie);const oe=V.pathname;return"/"===oe.charAt(0)?oe:`/${oe}`}(G)}resetBaseElement(){N=null}getUserAgent(){return window.navigator.userAgent}getCookie(oe){return(0,y.Mx)(document.cookie,oe)}}let V,N=null,K=(()=>{class Ie{build(){return new XMLHttpRequest}}return Ie.\u0275fac=function(G){return new(G||Ie)},Ie.\u0275prov=s.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const Z=new s.OlP("EventManagerPlugins");let te=(()=>{class Ie{constructor(G,fe){this._zone=fe,this._eventNameToPlugin=new Map,G.forEach(je=>{je.manager=this}),this._plugins=G.slice().reverse()}addEventListener(G,fe,je){return this._findPluginFor(fe).addEventListener(G,fe,je)}getZone(){return this._zone}_findPluginFor(G){let fe=this._eventNameToPlugin.get(G);if(fe)return fe;if(fe=this._plugins.find(ut=>ut.supports(G)),!fe)throw new s.vHH(5101,!1);return this._eventNameToPlugin.set(G,fe),fe}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(Z),s.LFG(s.R0b))},Ie.\u0275prov=s.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();class he{constructor(oe){this._doc=oe}}const re="ng-app-id";let we=(()=>{class Ie{constructor(G,fe,je,ut={}){this.doc=G,this.appId=fe,this.nonce=je,this.platformId=ut,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,y.PM)(ut),this.resetHostNodes()}addStyles(G){for(const fe of G)1===this.changeUsageCount(fe,1)&&this.onStyleAdded(fe)}removeStyles(G){for(const fe of G)this.changeUsageCount(fe,-1)<=0&&this.onStyleRemoved(fe)}ngOnDestroy(){const G=this.styleNodesInDOM;G&&(G.forEach(fe=>fe.remove()),G.clear());for(const fe of this.getAllStyles())this.onStyleRemoved(fe);this.resetHostNodes()}addHost(G){this.hostNodes.add(G);for(const fe of this.getAllStyles())this.addStyleToHost(G,fe)}removeHost(G){this.hostNodes.delete(G)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(G){for(const fe of this.hostNodes)this.addStyleToHost(fe,G)}onStyleRemoved(G){const fe=this.styleRef;fe.get(G)?.elements?.forEach(je=>je.remove()),fe.delete(G)}collectServerRenderedStyles(){const G=this.doc.head?.querySelectorAll(`style[${re}="${this.appId}"]`);if(G?.length){const fe=new Map;return G.forEach(je=>{null!=je.textContent&&fe.set(je.textContent,je)}),fe}return null}changeUsageCount(G,fe){const je=this.styleRef;if(je.has(G)){const ut=je.get(G);return ut.usage+=fe,ut.usage}return je.set(G,{usage:fe,elements:[]}),fe}getStyleElement(G,fe){const je=this.styleNodesInDOM,ut=je?.get(fe);if(ut?.parentNode===G)return je.delete(fe),ut.removeAttribute(re),ut;{const yt=this.doc.createElement("style");return this.nonce&&yt.setAttribute("nonce",this.nonce),yt.textContent=fe,this.platformIsServer&&yt.setAttribute(re,this.appId),yt}}addStyleToHost(G,fe){const je=this.getStyleElement(G,fe);G.appendChild(je);const ut=this.styleRef,yt=ut.get(fe)?.elements;yt?yt.push(je):ut.set(fe,{elements:[je],usage:1})}resetHostNodes(){const G=this.hostNodes;G.clear(),G.add(this.doc.head)}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(y.K0),s.LFG(s.AFp),s.LFG(s.Ojb,8),s.LFG(s.Lbi))},Ie.\u0275prov=s.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const De={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/"},Ze=/%COMP%/g,Me=new s.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function qe(Ie,oe){return oe.map(G=>G.replace(Ze,Ie))}let Ke=(()=>{class Ie{constructor(G,fe,je,ut,yt,Jt,Mt,bt=null){this.eventManager=G,this.sharedStylesHost=fe,this.appId=je,this.removeStylesOnCompDestroy=ut,this.doc=yt,this.platformId=Jt,this.ngZone=Mt,this.nonce=bt,this.rendererByCompId=new Map,this.platformIsServer=(0,y.PM)(Jt),this.defaultRenderer=new Tt(G,yt,Mt,this.platformIsServer)}createRenderer(G,fe){if(!G||!fe)return this.defaultRenderer;this.platformIsServer&&fe.encapsulation===s.ifc.ShadowDom&&(fe={...fe,encapsulation:s.ifc.Emulated});const je=this.getOrCreateRenderer(G,fe);return je instanceof mn?je.applyToHost(G):je instanceof pn&&je.applyStyles(),je}getOrCreateRenderer(G,fe){const je=this.rendererByCompId;let ut=je.get(fe.id);if(!ut){const yt=this.doc,Jt=this.ngZone,Mt=this.eventManager,bt=this.sharedStylesHost,Qn=this.removeStylesOnCompDestroy,Cr=this.platformIsServer;switch(fe.encapsulation){case s.ifc.Emulated:ut=new mn(Mt,bt,fe,this.appId,Qn,yt,Jt,Cr);break;case s.ifc.ShadowDom:return new rn(Mt,bt,G,fe,yt,Jt,this.nonce,Cr);default:ut=new pn(Mt,bt,fe,Qn,yt,Jt,Cr)}je.set(fe.id,ut)}return ut}ngOnDestroy(){this.rendererByCompId.clear()}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(te),s.LFG(we),s.LFG(s.AFp),s.LFG(Me),s.LFG(y.K0),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(s.Ojb))},Ie.\u0275prov=s.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();class Tt{constructor(oe,G,fe,je){this.eventManager=oe,this.doc=G,this.ngZone=fe,this.platformIsServer=je,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(oe,G){return G?this.doc.createElementNS(De[G]||G,oe):this.doc.createElement(oe)}createComment(oe){return this.doc.createComment(oe)}createText(oe){return this.doc.createTextNode(oe)}appendChild(oe,G){(Rt(oe)?oe.content:oe).appendChild(G)}insertBefore(oe,G,fe){oe&&(Rt(oe)?oe.content:oe).insertBefore(G,fe)}removeChild(oe,G){oe&&oe.removeChild(G)}selectRootElement(oe,G){let fe="string"==typeof oe?this.doc.querySelector(oe):oe;if(!fe)throw new s.vHH(-5104,!1);return G||(fe.textContent=""),fe}parentNode(oe){return oe.parentNode}nextSibling(oe){return oe.nextSibling}setAttribute(oe,G,fe,je){if(je){G=je+":"+G;const ut=De[je];ut?oe.setAttributeNS(ut,G,fe):oe.setAttribute(G,fe)}else oe.setAttribute(G,fe)}removeAttribute(oe,G,fe){if(fe){const je=De[fe];je?oe.removeAttributeNS(je,G):oe.removeAttribute(`${fe}:${G}`)}else oe.removeAttribute(G)}addClass(oe,G){oe.classList.add(G)}removeClass(oe,G){oe.classList.remove(G)}setStyle(oe,G,fe,je){je&(s.JOm.DashCase|s.JOm.Important)?oe.style.setProperty(G,fe,je&s.JOm.Important?"important":""):oe.style[G]=fe}removeStyle(oe,G,fe){fe&s.JOm.DashCase?oe.style.removeProperty(G):oe.style[G]=""}setProperty(oe,G,fe){oe[G]=fe}setValue(oe,G){oe.nodeValue=G}listen(oe,G,fe){if("string"==typeof oe&&!(oe=(0,y.q)().getGlobalEventTarget(this.doc,oe)))throw new Error(`Unsupported event target ${oe} for event ${G}`);return this.eventManager.addEventListener(oe,G,this.decoratePreventDefault(fe))}decoratePreventDefault(oe){return G=>{if("__ngUnwrap__"===G)return oe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>oe(G)):oe(G))&&G.preventDefault()}}}function Rt(Ie){return"TEMPLATE"===Ie.tagName&&void 0!==Ie.content}class rn extends Tt{constructor(oe,G,fe,je,ut,yt,Jt,Mt){super(oe,ut,yt,Mt),this.sharedStylesHost=G,this.hostEl=fe,this.shadowRoot=fe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const bt=qe(je.id,je.styles);for(const Qn of bt){const Cr=document.createElement("style");Jt&&Cr.setAttribute("nonce",Jt),Cr.textContent=Qn,this.shadowRoot.appendChild(Cr)}}nodeOrShadowRoot(oe){return oe===this.hostEl?this.shadowRoot:oe}appendChild(oe,G){return super.appendChild(this.nodeOrShadowRoot(oe),G)}insertBefore(oe,G,fe){return super.insertBefore(this.nodeOrShadowRoot(oe),G,fe)}removeChild(oe,G){return super.removeChild(this.nodeOrShadowRoot(oe),G)}parentNode(oe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(oe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class pn extends Tt{constructor(oe,G,fe,je,ut,yt,Jt,Mt){super(oe,ut,yt,Jt),this.sharedStylesHost=G,this.removeStylesOnCompDestroy=je,this.styles=Mt?qe(Mt,fe.styles):fe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class mn extends pn{constructor(oe,G,fe,je,ut,yt,Jt,Mt){const bt=je+"-"+fe.id;super(oe,G,fe,ut,yt,Jt,Mt,bt),this.contentAttr=function xe(Ie){return"_ngcontent-%COMP%".replace(Ze,Ie)}(bt),this.hostAttr=function Oe(Ie){return"_nghost-%COMP%".replace(Ze,Ie)}(bt)}applyToHost(oe){this.applyStyles(),this.setAttribute(oe,this.hostAttr,"")}createElement(oe,G){const fe=super.createElement(oe,G);return super.setAttribute(fe,this.contentAttr,""),fe}}let un=(()=>{class Ie extends he{constructor(G){super(G)}supports(G){return!0}addEventListener(G,fe,je){return G.addEventListener(fe,je,!1),()=>this.removeEventListener(G,fe,je)}removeEventListener(G,fe,je){return G.removeEventListener(fe,je)}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(y.K0))},Ie.\u0275prov=s.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const Bn=["alt","control","meta","shift"],pe={"\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"},ve={alt:Ie=>Ie.altKey,control:Ie=>Ie.ctrlKey,meta:Ie=>Ie.metaKey,shift:Ie=>Ie.shiftKey};let Pe=(()=>{class Ie extends he{constructor(G){super(G)}supports(G){return null!=Ie.parseEventName(G)}addEventListener(G,fe,je){const ut=Ie.parseEventName(fe),yt=Ie.eventCallback(ut.fullKey,je,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,y.q)().onAndCancel(G,ut.domEventName,yt))}static parseEventName(G){const fe=G.toLowerCase().split("."),je=fe.shift();if(0===fe.length||"keydown"!==je&&"keyup"!==je)return null;const ut=Ie._normalizeKey(fe.pop());let yt="",Jt=fe.indexOf("code");if(Jt>-1&&(fe.splice(Jt,1),yt="code."),Bn.forEach(bt=>{const Qn=fe.indexOf(bt);Qn>-1&&(fe.splice(Qn,1),yt+=bt+".")}),yt+=ut,0!=fe.length||0===ut.length)return null;const Mt={};return Mt.domEventName=je,Mt.fullKey=yt,Mt}static matchEventFullKeyCode(G,fe){let je=pe[G.key]||G.key,ut="";return fe.indexOf("code.")>-1&&(je=G.code,ut="code."),!(null==je||!je)&&(je=je.toLowerCase()," "===je?je="space":"."===je&&(je="dot"),Bn.forEach(yt=>{yt!==je&&(0,ve[yt])(G)&&(ut+=yt+".")}),ut+=je,ut===fe)}static eventCallback(G,fe,je){return ut=>{Ie.matchEventFullKeyCode(ut,G)&&je.runGuarded(()=>fe(ut))}}static _normalizeKey(G){return"esc"===G?"escape":G}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(y.K0))},Ie.\u0275prov=s.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const Ye=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:y.bD},{provide:s.g9A,useValue:function Le(){L.makeCurrent()},multi:!0},{provide:y.K0,useFactory:function Ue(){return(0,s.RDi)(document),document},deps:[]}]),zt=new s.OlP(""),qt=[{provide:s.rWj,useClass:class Y{addToWindow(oe){s.dqk.getAngularTestability=(fe,je=!0)=>{const ut=oe.findTestabilityInTree(fe,je);if(null==ut)throw new s.vHH(5103,!1);return ut},s.dqk.getAllAngularTestabilities=()=>oe.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>oe.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(fe=>{const je=s.dqk.getAllAngularTestabilities();let ut=je.length,yt=!1;const Jt=function(Mt){yt=yt||Mt,ut--,0==ut&&fe(yt)};je.forEach(Mt=>{Mt.whenStable(Jt)})})}findTestabilityInTree(oe,G,fe){return null==G?null:oe.getTestability(G)??(fe?(0,y.q)().isShadowRoot(G)?this.findTestabilityInTree(oe,G.host,!0):this.findTestabilityInTree(oe,G.parentElement,!0):null)}},deps:[]},{provide:s.lri,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]}],Mn=[{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function Pt(){return new s.qLn},deps:[]},{provide:Z,useClass:un,multi:!0,deps:[y.K0,s.R0b,s.Lbi]},{provide:Z,useClass:Pe,multi:!0,deps:[y.K0]},Ke,we,te,{provide:s.FYo,useExisting:Ke},{provide:y.JF,useClass:K,deps:[]},[]];let Ft=(()=>{class Ie{constructor(G){}static withServerTransition(G){return{ngModule:Ie,providers:[{provide:s.AFp,useValue:G.appId}]}}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(zt,12))},Ie.\u0275mod=s.oAB({type:Ie}),Ie.\u0275inj=s.cJS({providers:[...Mn,...qt],imports:[y.ez,s.hGG]}),Ie})(),it=(()=>{class Ie{constructor(G){this._doc=G}getTitle(){return this._doc.title}setTitle(G){this._doc.title=G||""}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(y.K0))},Ie.\u0275prov=s.Yz7({token:Ie,factory:function(G){let fe=null;return fe=G?new G:function He(){return new it((0,s.LFG)(y.K0))}(),fe},providedIn:"root"}),Ie})();typeof window<"u"&&window},7133:(q,H,E)=>{"use strict";E.d(H,{rH:()=>hr,Od:()=>Js,Bz:()=>El,lC:()=>Hr});var s=E(5879),y=E(5592),W=E(4674),N=E(9666),$=E(2096),V=E(5619),ee=E(2572);const K=(0,E(2306).d)(p=>function(){p(this),this.name="EmptyError",this.message="no elements in sequence"});var Z=E(5211),te=E(4829);function he(p){return new y.y(_=>{(0,te.Xf)(p()).subscribe(_)})}var re=E(8407),we=E(8504),De=E(6232),Ze=E(7394),et=E(9360),ot=E(8251);function dt(){return(0,et.e)((p,_)=>{let h=null;p._refCount++;const b=(0,ot.x)(_,void 0,void 0,void 0,()=>{if(!p||p._refCount<=0||0<--p._refCount)return void(h=null);const S=p._connection,P=h;h=null,S&&(!P||S===P)&&S.unsubscribe(),_.unsubscribe()});p.subscribe(b),b.closed||(h=p.connect())})}class le extends y.y{constructor(_,h){super(),this.source=_,this.subjectFactory=h,this._subject=null,this._refCount=0,this._connection=null,(0,et.A)(_)&&(this.lift=_.lift)}_subscribe(_){return this.getSubject().subscribe(_)}getSubject(){const _=this._subject;return(!_||_.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:_}=this;this._subject=this._connection=null,_?.unsubscribe()}connect(){let _=this._connection;if(!_){_=this._connection=new Ze.w0;const h=this.getSubject();_.add(this.source.subscribe((0,ot.x)(h,void 0,()=>{this._teardown(),h.complete()},b=>{this._teardown(),h.error(b)},()=>this._teardown()))),_.closed&&(this._connection=null,_=Ze.w0.EMPTY)}return _}refCount(){return dt()(this)}}var Me=E(8645),xe=E(6814),Oe=E(7398),qe=E(4664),Ke=E(8180),Tt=E(7921),It=E(2181),Gt=E(1631);function Rt(p){return(0,et.e)((_,h)=>{let b=!1;_.subscribe((0,ot.x)(h,S=>{b=!0,h.next(S)},()=>{b||h.next(p),h.complete()}))})}function rn(p=pn){return(0,et.e)((_,h)=>{let b=!1;_.subscribe((0,ot.x)(h,S=>{b=!0,h.next(S)},()=>b?h.complete():h.error(p())))})}function pn(){return new K}var mn=E(2737);function un(p,_){const h=arguments.length>=2;return b=>b.pipe(p?(0,It.h)((S,P)=>p(S,P,b)):mn.y,(0,Ke.q)(1),h?Rt(_):rn(()=>new K))}var Bn=E(6328),pe=E(9397),ve=E(6306),Pe=E(6699);function Ne(p){return p<=0?()=>De.E:(0,et.e)((_,h)=>{let b=[];_.subscribe((0,ot.x)(h,S=>{b.push(S),p{for(const S of b)h.next(S);h.complete()},void 0,()=>{b=null}))})}var Ee=E(975),Se=E(4716),Le=E(7537),Pt=E(6593);const Ue="primary",jt=Symbol("RouteTitle");class Ye{constructor(_){this.params=_||{}}has(_){return Object.prototype.hasOwnProperty.call(this.params,_)}get(_){if(this.has(_)){const h=this.params[_];return Array.isArray(h)?h[0]:h}return null}getAll(_){if(this.has(_)){const h=this.params[_];return Array.isArray(h)?h:[h]}return[]}get keys(){return Object.keys(this.params)}}function zt(p){return new Ye(p)}function qt(p,_,h){const b=h.path.split("/");if(b.length>p.length||"full"===h.pathMatch&&(_.hasChildren()||b.lengthb[P]===S)}return p===_}function se(p){return p.length>0?p[p.length-1]:null}function Ce(p){return function L(p){return!!p&&(p instanceof y.y||(0,W.m)(p.lift)&&(0,W.m)(p.subscribe))}(p)?p:(0,s.QGY)(p)?(0,N.D)(Promise.resolve(p)):(0,$.of)(p)}const He={exact:function nt(p,_,h){if(!Nt(p.segments,_.segments)||!Gn(p.segments,_.segments,h)||p.numberOfChildren!==_.numberOfChildren)return!1;for(const b in _.children)if(!p.children[b]||!nt(p.children[b],_.children[b],h))return!1;return!0},subset:ct},it={exact:function sn(p,_){return Ft(p,_)},subset:function mt(p,_){return Object.keys(_).length<=Object.keys(p).length&&Object.keys(_).every(h=>ie(p[h],_[h]))},ignored:()=>!0};function lt(p,_,h){return He[h.paths](p.root,_.root,h.matrixParams)&&it[h.queryParams](p.queryParams,_.queryParams)&&!("exact"===h.fragment&&p.fragment!==_.fragment)}function ct(p,_,h){return Qt(p,_,_.segments,h)}function Qt(p,_,h,b){if(p.segments.length>h.length){const S=p.segments.slice(0,h.length);return!(!Nt(S,h)||_.hasChildren()||!Gn(S,h,b))}if(p.segments.length===h.length){if(!Nt(p.segments,h)||!Gn(p.segments,h,b))return!1;for(const S in _.children)if(!p.children[S]||!ct(p.children[S],_.children[S],b))return!1;return!0}{const S=h.slice(0,p.segments.length),P=h.slice(p.segments.length);return!!(Nt(p.segments,S)&&Gn(p.segments,S,b)&&p.children[Ue])&&Qt(p.children[Ue],_,P,b)}}function Gn(p,_,h){return _.every((b,S)=>it[h](p[S].parameters,b.parameters))}class _n{constructor(_=new _t([],{}),h={},b=null){this.root=_,this.queryParams=h,this.fragment=b}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=zt(this.queryParams)),this._queryParamMap}toString(){return br.serialize(this)}}class _t{constructor(_,h){this.segments=_,this.children=h,this.parent=null,Object.values(h).forEach(b=>b.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return gr(this)}}class on{constructor(_,h){this.path=_,this.parameters=h}get parameterMap(){return this._parameterMap||(this._parameterMap=zt(this.parameters)),this._parameterMap}toString(){return Rr(this)}}function Nt(p,_){return p.length===_.length&&p.every((h,b)=>h.path===_[b].path)}let Vt=(()=>{class p{}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:function(){return new sr},providedIn:"root"}),p})();class sr{parse(_){const h=new Mt(_);return new _n(h.parseRootSegment(),h.parseQueryParams(),h.parseFragment())}serialize(_){const h=`/${Ar(_.root,!0)}`,b=function Br(p){const _=Object.keys(p).map(h=>{const b=p[h];return Array.isArray(b)?b.map(S=>`${On(h)}=${On(S)}`).join("&"):`${On(h)}=${On(b)}`}).filter(h=>!!h);return _.length?`?${_.join("&")}`:""}(_.queryParams);return`${h}${b}${"string"==typeof _.fragment?`#${function dr(p){return encodeURI(p)}(_.fragment)}`:""}`}}const br=new sr;function gr(p){return p.segments.map(_=>Rr(_)).join("/")}function Ar(p,_){if(!p.hasChildren())return gr(p);if(_){const h=p.children[Ue]?Ar(p.children[Ue],!1):"",b=[];return Object.entries(p.children).forEach(([S,P])=>{S!==Ue&&b.push(`${S}:${Ar(P,!1)}`)}),b.length>0?`${h}(${b.join("//")})`:h}{const h=function Jn(p,_){let h=[];return Object.entries(p.children).forEach(([b,S])=>{b===Ue&&(h=h.concat(_(S,b)))}),Object.entries(p.children).forEach(([b,S])=>{b!==Ue&&(h=h.concat(_(S,b)))}),h}(p,(b,S)=>S===Ue?[Ar(p.children[Ue],!1)]:[`${S}:${Ar(b,!1)}`]);return 1===Object.keys(p.children).length&&null!=p.children[Ue]?`${gr(p)}/${h[0]}`:`${gr(p)}/(${h.join("//")})`}}function fi(p){return encodeURIComponent(p).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function On(p){return fi(p).replace(/%3B/gi,";")}function nr(p){return fi(p).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Dr(p){return decodeURIComponent(p)}function In(p){return Dr(p.replace(/\+/g,"%20"))}function Rr(p){return`${nr(p.path)}${function gn(p){return Object.keys(p).map(_=>`;${nr(_)}=${nr(p[_])}`).join("")}(p.parameters)}`}const Ie=/^[^\/()?;#]+/;function oe(p){const _=p.match(Ie);return _?_[0]:""}const G=/^[^\/()?;=#]+/,je=/^[^=?&#]+/,yt=/^[^&#]+/;class Mt{constructor(_){this.url=_,this.remaining=_}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new _t([],{}):new _t([],this.parseChildren())}parseQueryParams(){const _={};if(this.consumeOptional("?"))do{this.parseQueryParam(_)}while(this.consumeOptional("&"));return _}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const _=[];for(this.peekStartsWith("(")||_.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),_.push(this.parseSegment());let h={};this.peekStartsWith("/(")&&(this.capture("/"),h=this.parseParens(!0));let b={};return this.peekStartsWith("(")&&(b=this.parseParens(!1)),(_.length>0||Object.keys(h).length>0)&&(b[Ue]=new _t(_,h)),b}parseSegment(){const _=oe(this.remaining);if(""===_&&this.peekStartsWith(";"))throw new s.vHH(4009,!1);return this.capture(_),new on(Dr(_),this.parseMatrixParams())}parseMatrixParams(){const _={};for(;this.consumeOptional(";");)this.parseParam(_);return _}parseParam(_){const h=function fe(p){const _=p.match(G);return _?_[0]:""}(this.remaining);if(!h)return;this.capture(h);let b="";if(this.consumeOptional("=")){const S=oe(this.remaining);S&&(b=S,this.capture(b))}_[Dr(h)]=Dr(b)}parseQueryParam(_){const h=function ut(p){const _=p.match(je);return _?_[0]:""}(this.remaining);if(!h)return;this.capture(h);let b="";if(this.consumeOptional("=")){const F=function Jt(p){const _=p.match(yt);return _?_[0]:""}(this.remaining);F&&(b=F,this.capture(b))}const S=In(h),P=In(b);if(_.hasOwnProperty(S)){let F=_[S];Array.isArray(F)||(F=[F],_[S]=F),F.push(P)}else _[S]=P}parseParens(_){const h={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const b=oe(this.remaining),S=this.remaining[b.length];if("/"!==S&&")"!==S&&";"!==S)throw new s.vHH(4010,!1);let P;b.indexOf(":")>-1?(P=b.slice(0,b.indexOf(":")),this.capture(P),this.capture(":")):_&&(P=Ue);const F=this.parseChildren();h[P]=1===Object.keys(F).length?F[Ue]:new _t([],F),this.consumeOptional("//")}return h}peekStartsWith(_){return this.remaining.startsWith(_)}consumeOptional(_){return!!this.peekStartsWith(_)&&(this.remaining=this.remaining.substring(_.length),!0)}capture(_){if(!this.consumeOptional(_))throw new s.vHH(4011,!1)}}function bt(p){return p.segments.length>0?new _t([],{[Ue]:p}):p}function Qn(p){const _={};for(const b of Object.keys(p.children)){const P=Qn(p.children[b]);if(b===Ue&&0===P.segments.length&&P.hasChildren())for(const[F,ce]of Object.entries(P.children))_[F]=ce;else(P.segments.length>0||P.hasChildren())&&(_[b]=P)}return function Cr(p){if(1===p.numberOfChildren&&p.children[Ue]){const _=p.children[Ue];return new _t(p.segments.concat(_.segments),_.children)}return p}(new _t(p.segments,_))}function Vr(p){return p instanceof _n}function Er(p){let _;const S=bt(function h(P){const F={};for(const Je of P.children){const Ct=h(Je);F[Je.outlet]=Ct}const ce=new _t(P.url,F);return P===p&&(_=ce),ce}(p.root));return _??S}function fr(p,_,h,b){let S=p;for(;S.parent;)S=S.parent;if(0===_.length)return Tr(S,S,S,h,b);const P=function z(p){if("string"==typeof p[0]&&1===p.length&&"/"===p[0])return new mr(!0,0,p);let _=0,h=!1;const b=p.reduce((S,P,F)=>{if("object"==typeof P&&null!=P){if(P.outlets){const ce={};return Object.entries(P.outlets).forEach(([Je,Ct])=>{ce[Je]="string"==typeof Ct?Ct.split("/"):Ct}),[...S,{outlets:ce}]}if(P.segmentPath)return[...S,P.segmentPath]}return"string"!=typeof P?[...S,P]:0===F?(P.split("/").forEach((ce,Je)=>{0==Je&&"."===ce||(0==Je&&""===ce?h=!0:".."===ce?_++:""!=ce&&S.push(ce))}),S):[...S,P]},[]);return new mr(h,_,b)}(_);if(P.toRoot())return Tr(S,S,new _t([],{}),h,b);const F=function U(p,_,h){if(p.isAbsolute)return new Ae(_,!0,0);if(!h)return new Ae(_,!1,NaN);if(null===h.parent)return new Ae(h,!0,0);const b=wr(p.commands[0])?0:1;return function ye(p,_,h){let b=p,S=_,P=h;for(;P>S;){if(P-=S,b=b.parent,!b)throw new s.vHH(4005,!1);S=b.segments.length}return new Ae(b,!1,S-P)}(h,h.segments.length-1+b,p.numberOfDoubleDots)}(P,S,p),ce=F.processChildren?at(F.segmentGroup,F.index,P.commands):st(F.segmentGroup,F.index,P.commands);return Tr(S,F.segmentGroup,ce,h,b)}function wr(p){return"object"==typeof p&&null!=p&&!p.outlets&&!p.segmentPath}function Xr(p){return"object"==typeof p&&null!=p&&p.outlets}function Tr(p,_,h,b,S){let F,P={};b&&Object.entries(b).forEach(([Je,Ct])=>{P[Je]=Array.isArray(Ct)?Ct.map(Ot=>`${Ot}`):`${Ct}`}),F=p===_?h:Li(p,_,h);const ce=bt(Qn(F));return new _n(ce,P,S)}function Li(p,_,h){const b={};return Object.entries(p.children).forEach(([S,P])=>{b[S]=P===_?h:Li(P,_,h)}),new _t(p.segments,b)}class mr{constructor(_,h,b){if(this.isAbsolute=_,this.numberOfDoubleDots=h,this.commands=b,_&&b.length>0&&wr(b[0]))throw new s.vHH(4003,!1);const S=b.find(Xr);if(S&&S!==se(b))throw new s.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ae{constructor(_,h,b){this.segmentGroup=_,this.processChildren=h,this.index=b}}function st(p,_,h){if(p||(p=new _t([],{})),0===p.segments.length&&p.hasChildren())return at(p,_,h);const b=function ht(p,_,h){let b=0,S=_;const P={match:!1,pathIndex:0,commandIndex:0};for(;S=h.length)return P;const F=p.segments[S],ce=h[b];if(Xr(ce))break;const Je=`${ce}`,Ct=b0&&void 0===Je)break;if(Je&&Ct&&"object"==typeof Ct&&void 0===Ct.outlets){if(!An(Je,Ct,F))return P;b+=2}else{if(!An(Je,{},F))return P;b++}S++}return{match:!0,pathIndex:S,commandIndex:b}}(p,_,h),S=h.slice(b.commandIndex);if(b.match&&b.pathIndex{"string"==typeof F&&(F=[F]),null!==F&&(S[P]=st(p.children[P],_,F))}),Object.entries(p.children).forEach(([P,F])=>{void 0===b[P]&&(S[P]=F)}),new _t(p.segments,S)}}function Ht(p,_,h){const b=p.segments.slice(0,_);let S=0;for(;S{"string"==typeof b&&(b=[b]),null!==b&&(_[h]=Ht(new _t([],{}),0,b))}),_}function Cn(p){const _={};return Object.entries(p).forEach(([h,b])=>_[h]=`${b}`),_}function An(p,_,h){return p==h.path&&Ft(_,h.parameters)}const ar="imperative";class zn{constructor(_,h){this.id=_,this.url=h}}class Mr extends zn{constructor(_,h,b="imperative",S=null){super(_,h),this.type=0,this.navigationTrigger=b,this.restoredState=S}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ei extends zn{constructor(_,h,b){super(_,h),this.urlAfterRedirects=b,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class pi extends zn{constructor(_,h,b,S){super(_,h),this.reason=b,this.code=S,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Gr extends zn{constructor(_,h,b,S){super(_,h),this.reason=b,this.code=S,this.type=16}}class si extends zn{constructor(_,h,b,S){super(_,h),this.error=b,this.target=S,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Zi extends zn{constructor(_,h,b,S){super(_,h),this.urlAfterRedirects=b,this.state=S,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ho extends zn{constructor(_,h,b,S){super(_,h),this.urlAfterRedirects=b,this.state=S,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ao extends zn{constructor(_,h,b,S,P){super(_,h),this.urlAfterRedirects=b,this.state=S,this.shouldActivate=P,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class gi extends zn{constructor(_,h,b,S){super(_,h),this.urlAfterRedirects=b,this.state=S,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ti extends zn{constructor(_,h,b,S){super(_,h),this.urlAfterRedirects=b,this.state=S,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qi{constructor(_){this.route=_,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Qi{constructor(_){this.route=_,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ro{constructor(_){this.snapshot=_,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ut{constructor(_){this.snapshot=_,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class k{constructor(_){this.snapshot=_,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ge{constructor(_){this.snapshot=_,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ae{constructor(_,h,b){this.routerEvent=_,this.position=h,this.anchor=b,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Qe{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new tt,this.attachRef=null}}let tt=(()=>{class p{constructor(){this.contexts=new Map}onChildOutletCreated(h,b){const S=this.getOrCreateContext(h);S.outlet=b,this.contexts.set(h,S)}onChildOutletDestroyed(h){const b=this.getContext(h);b&&(b.outlet=null,b.attachRef=null)}onOutletDeactivated(){const h=this.contexts;return this.contexts=new Map,h}onOutletReAttached(h){this.contexts=h}getOrCreateContext(h){let b=this.getContext(h);return b||(b=new Qe,this.contexts.set(h,b)),b}getContext(h){return this.contexts.get(h)||null}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();class Lt{constructor(_){this._root=_}get root(){return this._root.value}parent(_){const h=this.pathFromRoot(_);return h.length>1?h[h.length-2]:null}children(_){const h=vn(_,this._root);return h?h.children.map(b=>b.value):[]}firstChild(_){const h=vn(_,this._root);return h&&h.children.length>0?h.children[0].value:null}siblings(_){const h=En(_,this._root);return h.length<2?[]:h[h.length-2].children.map(S=>S.value).filter(S=>S!==_)}pathFromRoot(_){return En(_,this._root).map(h=>h.value)}}function vn(p,_){if(p===_.value)return _;for(const h of _.children){const b=vn(p,h);if(b)return b}return null}function En(p,_){if(p===_.value)return[_];for(const h of _.children){const b=En(p,h);if(b.length)return b.unshift(_),b}return[]}class $t{constructor(_,h){this.value=_,this.children=h}toString(){return`TreeNode(${this.value})`}}function ze(p){const _={};return p&&p.children.forEach(h=>_[h.value.outlet]=h),_}class Dt extends Lt{constructor(_,h){super(_),this.snapshot=h,ai(this,_)}toString(){return this.snapshot.toString()}}function Sn(p,_){const h=function _r(p,_){const F=new wn([],{},{},"",{},Ue,_,null,{});return new Bi("",new $t(F,[]))}(0,_),b=new V.X([new on("",{})]),S=new V.X({}),P=new V.X({}),F=new V.X({}),ce=new V.X(""),Je=new Nr(b,S,F,ce,P,Ue,_,h.root);return Je.snapshot=h.root,new Dt(new $t(Je,[]),h)}class Nr{constructor(_,h,b,S,P,F,ce,Je){this.urlSubject=_,this.paramsSubject=h,this.queryParamsSubject=b,this.fragmentSubject=S,this.dataSubject=P,this.outlet=F,this.component=ce,this._futureSnapshot=Je,this.title=this.dataSubject?.pipe((0,Oe.U)(Ct=>Ct[jt]))??(0,$.of)(void 0),this.url=_,this.params=h,this.queryParams=b,this.fragment=S,this.data=P}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,Oe.U)(_=>zt(_)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Oe.U)(_=>zt(_)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Kt(p,_="emptyOnly"){const h=p.pathFromRoot;let b=0;if("always"!==_)for(b=h.length-1;b>=1;){const S=h[b],P=h[b-1];if(S.routeConfig&&""===S.routeConfig.path)b--;else{if(P.component)break;b--}}return function ki(p){return p.reduce((_,h)=>({params:{..._.params,...h.params},data:{..._.data,...h.data},resolve:{...h.data,..._.resolve,...h.routeConfig?.data,...h._resolvedData}}),{params:{},data:{},resolve:{}})}(h.slice(b))}class wn{get title(){return this.data?.[jt]}constructor(_,h,b,S,P,F,ce,Je,Ct){this.url=_,this.params=h,this.queryParams=b,this.fragment=S,this.data=P,this.outlet=F,this.component=ce,this.routeConfig=Je,this._resolve=Ct}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=zt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=zt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(b=>b.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Bi extends Lt{constructor(_,h){super(h),this.url=_,ai(this,h)}toString(){return kt(this._root)}}function ai(p,_){_.value._routerState=p,_.children.forEach(h=>ai(p,h))}function kt(p){const _=p.children.length>0?` { ${p.children.map(kt).join(", ")} } `:"";return`${p.value}${_}`}function mi(p){if(p.snapshot){const _=p.snapshot,h=p._futureSnapshot;p.snapshot=h,Ft(_.queryParams,h.queryParams)||p.queryParamsSubject.next(h.queryParams),_.fragment!==h.fragment&&p.fragmentSubject.next(h.fragment),Ft(_.params,h.params)||p.paramsSubject.next(h.params),function Mn(p,_){if(p.length!==_.length)return!1;for(let h=0;hFt(h.parameters,_[b].parameters))}(p.url,_.url);return h&&!(!p.parent!=!_.parent)&&(!p.parent||Vi(p.parent,_.parent))}let Hr=(()=>{class p{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ue,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.attachEvents=new s.vpe,this.detachEvents=new s.vpe,this.parentContexts=(0,s.f3M)(tt),this.location=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.environmentInjector=(0,s.f3M)(s.lqb),this.inputBinder=(0,s.f3M)(_i,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(h){if(h.name){const{firstChange:b,previousValue:S}=h.name;if(b)return;this.isTrackedInParentContexts(S)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(S)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(h){return this.parentContexts.getContext(h)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const h=this.parentContexts.getContext(this.name);h?.route&&(h.attachRef?this.attach(h.attachRef,h.route):this.activateWith(h.route,h.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.vHH(4012,!1);this.location.detach();const h=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(h.instance),h}attach(h,b){this.activated=h,this._activatedRoute=b,this.location.insert(h.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(h.instance)}deactivate(){if(this.activated){const h=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(h)}}activateWith(h,b){if(this.isActivated)throw new s.vHH(4013,!1);this._activatedRoute=h;const S=this.location,F=h.snapshot.component,ce=this.parentContexts.getOrCreateContext(this.name).children,Je=new Vn(h,ce,S.injector);this.activated=S.createComponent(F,{index:S.length,injector:Je,environmentInjector:b??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275dir=s.lG2({type:p,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[s.TTD]}),p})();class Vn{constructor(_,h,b){this.route=_,this.childContexts=h,this.parent=b}get(_,h){return _===Nr?this.route:_===tt?this.childContexts:this.parent.get(_,h)}}const _i=new s.OlP("");let Hi=(()=>{class p{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(h){this.unsubscribeFromRouteData(h),this.subscribeToRouteData(h)}unsubscribeFromRouteData(h){this.outletDataSubscriptions.get(h)?.unsubscribe(),this.outletDataSubscriptions.delete(h)}subscribeToRouteData(h){const{activatedRoute:b}=h,S=(0,ee.a)([b.queryParams,b.params,b.data]).pipe((0,qe.w)(([P,F,ce],Je)=>(ce={...P,...F,...ce},0===Je?(0,$.of)(ce):Promise.resolve(ce)))).subscribe(P=>{if(!h.isActivated||!h.activatedComponentRef||h.activatedRoute!==b||null===b.component)return void this.unsubscribeFromRouteData(h);const F=(0,s.qFp)(b.component);if(F)for(const{templateName:ce}of F.inputs)h.activatedComponentRef.setInput(ce,P[ce]);else this.unsubscribeFromRouteData(h)});this.outletDataSubscriptions.set(h,S)}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac}),p})();function Ur(p,_,h){if(h&&p.shouldReuseRoute(_.value,h.value.snapshot)){const b=h.value;b._futureSnapshot=_.value;const S=function po(p,_,h){return _.children.map(b=>{for(const S of h.children)if(p.shouldReuseRoute(b.value,S.value.snapshot))return Ur(p,b,S);return Ur(p,b)})}(p,_,h);return new $t(b,S)}{if(p.shouldAttach(_.value)){const P=p.retrieve(_.value);if(null!==P){const F=P.route;return F.value._futureSnapshot=_.value,F.children=_.children.map(ce=>Ur(p,ce)),F}}const b=function li(p){return new Nr(new V.X(p.url),new V.X(p.params),new V.X(p.queryParams),new V.X(p.fragment),new V.X(p.data),p.outlet,p.component,p)}(_.value),S=_.children.map(P=>Ur(p,P));return new $t(b,S)}}const jr="ngNavigationCancelingError";function go(p,_){const{redirectTo:h,navigationBehaviorOptions:b}=Vr(_)?{redirectTo:_,navigationBehaviorOptions:void 0}:_,S=vi(!1,0,_);return S.url=h,S.navigationBehaviorOptions=b,S}function vi(p,_,h){const b=new Error("NavigationCancelingError: "+(p||""));return b[jr]=!0,b.cancellationCode=_,h&&(b.url=h),b}function Wt(p){return js(p)&&Vr(p.url)}function js(p){return p&&p[jr]}let No=(()=>{class p{}return p.\u0275fac=function(h){return new(h||p)},p.\u0275cmp=s.Xpm({type:p,selectors:[["ng-component"]],standalone:!0,features:[s.jDz],decls:1,vars:0,template:function(h,b){1&h&&s._UZ(0,"router-outlet")},dependencies:[Hr],encapsulation:2}),p})();function ji(p){const _=p.children&&p.children.map(ji),h=_?{...p,children:_}:{...p};return!h.component&&!h.loadComponent&&(_||h.loadChildren)&&h.outlet&&h.outlet!==Ue&&(h.component=No),h}function cr(p){return p.outlet||Ue}function rr(p){if(!p)return null;if(p.routeConfig?._injector)return p.routeConfig._injector;for(let _=p.parent;_;_=_.parent){const h=_.routeConfig;if(h?._loadedInjector)return h._loadedInjector;if(h?._injector)return h._injector}return null}class Lo{constructor(_,h,b,S,P){this.routeReuseStrategy=_,this.futureState=h,this.currState=b,this.forwardEvent=S,this.inputBindingEnabled=P}activate(_){const h=this.futureState._root,b=this.currState?this.currState._root:null;this.deactivateChildRoutes(h,b,_),mi(this.futureState.root),this.activateChildRoutes(h,b,_)}deactivateChildRoutes(_,h,b){const S=ze(h);_.children.forEach(P=>{const F=P.value.outlet;this.deactivateRoutes(P,S[F],b),delete S[F]}),Object.values(S).forEach(P=>{this.deactivateRouteAndItsChildren(P,b)})}deactivateRoutes(_,h,b){const S=_.value,P=h?h.value:null;if(S===P)if(S.component){const F=b.getContext(S.outlet);F&&this.deactivateChildRoutes(_,h,F.children)}else this.deactivateChildRoutes(_,h,b);else P&&this.deactivateRouteAndItsChildren(h,b)}deactivateRouteAndItsChildren(_,h){_.value.component&&this.routeReuseStrategy.shouldDetach(_.value.snapshot)?this.detachAndStoreRouteSubtree(_,h):this.deactivateRouteAndOutlet(_,h)}detachAndStoreRouteSubtree(_,h){const b=h.getContext(_.value.outlet),S=b&&_.value.component?b.children:h,P=ze(_);for(const F of Object.keys(P))this.deactivateRouteAndItsChildren(P[F],S);if(b&&b.outlet){const F=b.outlet.detach(),ce=b.children.onOutletDeactivated();this.routeReuseStrategy.store(_.value.snapshot,{componentRef:F,route:_,contexts:ce})}}deactivateRouteAndOutlet(_,h){const b=h.getContext(_.value.outlet),S=b&&_.value.component?b.children:h,P=ze(_);for(const F of Object.keys(P))this.deactivateRouteAndItsChildren(P[F],S);b&&(b.outlet&&(b.outlet.deactivate(),b.children.onOutletDeactivated()),b.attachRef=null,b.route=null)}activateChildRoutes(_,h,b){const S=ze(h);_.children.forEach(P=>{this.activateRoutes(P,S[P.value.outlet],b),this.forwardEvent(new ge(P.value.snapshot))}),_.children.length&&this.forwardEvent(new Ut(_.value.snapshot))}activateRoutes(_,h,b){const S=_.value,P=h?h.value:null;if(mi(S),S===P)if(S.component){const F=b.getOrCreateContext(S.outlet);this.activateChildRoutes(_,h,F.children)}else this.activateChildRoutes(_,h,b);else if(S.component){const F=b.getOrCreateContext(S.outlet);if(this.routeReuseStrategy.shouldAttach(S.snapshot)){const ce=this.routeReuseStrategy.retrieve(S.snapshot);this.routeReuseStrategy.store(S.snapshot,null),F.children.onOutletReAttached(ce.contexts),F.attachRef=ce.componentRef,F.route=ce.route.value,F.outlet&&F.outlet.attach(ce.componentRef,ce.route.value),mi(ce.route.value),this.activateChildRoutes(_,null,F.children)}else{const ce=rr(S.snapshot);F.attachRef=null,F.route=S,F.injector=ce,F.outlet&&F.outlet.activateWith(S,F.injector),this.activateChildRoutes(_,null,F.children)}}else this.activateChildRoutes(_,null,b)}}class Zo{constructor(_){this.path=_,this.route=this.path[this.path.length-1]}}class mo{constructor(_,h){this.component=_,this.route=h}}function qo(p,_,h){const b=p._root;return $i(b,_?_._root:null,h,[b.value])}function eo(p,_){const h=Symbol(),b=_.get(p,h);return b===h?"function"!=typeof p||(0,s.Z0I)(p)?_.get(p):p:b}function $i(p,_,h,b,S={canDeactivateChecks:[],canActivateChecks:[]}){const P=ze(_);return p.children.forEach(F=>{(function $s(p,_,h,b,S={canDeactivateChecks:[],canActivateChecks:[]}){const P=p.value,F=_?_.value:null,ce=h?h.getContext(p.value.outlet):null;if(F&&P.routeConfig===F.routeConfig){const Je=function Ds(p,_,h){if("function"==typeof h)return h(p,_);switch(h){case"pathParamsChange":return!Nt(p.url,_.url);case"pathParamsOrQueryParamsChange":return!Nt(p.url,_.url)||!Ft(p.queryParams,_.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Vi(p,_)||!Ft(p.queryParams,_.queryParams);default:return!Vi(p,_)}}(F,P,P.routeConfig.runGuardsAndResolvers);Je?S.canActivateChecks.push(new Zo(b)):(P.data=F.data,P._resolvedData=F._resolvedData),$i(p,_,P.component?ce?ce.children:null:h,b,S),Je&&ce&&ce.outlet&&ce.outlet.isActivated&&S.canDeactivateChecks.push(new mo(ce.outlet.component,F))}else F&&ko(_,ce,S),S.canActivateChecks.push(new Zo(b)),$i(p,null,P.component?ce?ce.children:null:h,b,S)})(F,P[F.value.outlet],h,b.concat([F.value]),S),delete P[F.value.outlet]}),Object.entries(P).forEach(([F,ce])=>ko(ce,h.getContext(F),S)),S}function ko(p,_,h){const b=ze(p),S=p.value;Object.entries(b).forEach(([P,F])=>{ko(F,S.component?_?_.children.getContext(P):null:_,h)}),h.canDeactivateChecks.push(new mo(S.component&&_&&_.outlet&&_.outlet.isActivated?_.outlet.component:null,S))}function to(p){return"function"==typeof p}function Yn(p){return p instanceof K||"EmptyError"===p?.name}const Bo=Symbol("INITIAL_VALUE");function Wr(){return(0,qe.w)(p=>(0,ee.a)(p.map(_=>_.pipe((0,Ke.q)(1),(0,Tt.O)(Bo)))).pipe((0,Oe.U)(_=>{for(const h of _)if(!0!==h){if(h===Bo)return Bo;if(!1===h||h instanceof _n)return h}return!0}),(0,It.h)(_=>_!==Bo),(0,Ke.q)(1)))}function Te(p){return(0,re.z)((0,pe.b)(_=>{if(Vr(_))throw go(0,_)}),(0,Oe.U)(_=>!0===_))}class Fe{constructor(_){this.segmentGroup=_||null}}class Et{constructor(_){this.urlTree=_}}function St(p){return(0,we._)(new Fe(p))}function Rn(p){return(0,we._)(new Et(p))}class Kn{constructor(_,h){this.urlSerializer=_,this.urlTree=h}noMatchError(_){return new s.vHH(4002,!1)}lineralizeSegments(_,h){let b=[],S=h.root;for(;;){if(b=b.concat(S.segments),0===S.numberOfChildren)return(0,$.of)(b);if(S.numberOfChildren>1||!S.children[Ue])return(0,we._)(new s.vHH(4e3,!1));S=S.children[Ue]}}applyRedirectCommands(_,h,b){return this.applyRedirectCreateUrlTree(h,this.urlSerializer.parse(h),_,b)}applyRedirectCreateUrlTree(_,h,b,S){const P=this.createSegmentGroup(_,h.root,b,S);return new _n(P,this.createQueryParams(h.queryParams,this.urlTree.queryParams),h.fragment)}createQueryParams(_,h){const b={};return Object.entries(_).forEach(([S,P])=>{if("string"==typeof P&&P.startsWith(":")){const ce=P.substring(1);b[S]=h[ce]}else b[S]=P}),b}createSegmentGroup(_,h,b,S){const P=this.createSegments(_,h.segments,b,S);let F={};return Object.entries(h.children).forEach(([ce,Je])=>{F[ce]=this.createSegmentGroup(_,Je,b,S)}),new _t(P,F)}createSegments(_,h,b,S){return h.map(P=>P.path.startsWith(":")?this.findPosParam(_,P,S):this.findOrReturn(P,b))}findPosParam(_,h,b){const S=b[h.path.substring(1)];if(!S)throw new s.vHH(4001,!1);return S}findOrReturn(_,h){let b=0;for(const S of h){if(S.path===_.path)return h.splice(b),S;b++}return _}}const $r={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fn(p,_,h,b,S){const P=Yt(p,_,h);return P.matched?(b=function Jo(p,_){return p.providers&&!p._injector&&(p._injector=(0,s.MMx)(p.providers,_,`Route: ${p.path}`)),p._injector??_}(_,b),function Be(p,_,h,b){const S=_.canMatch;if(!S||0===S.length)return(0,$.of)(!0);const P=S.map(F=>{const ce=eo(F,p);return Ce(function Xo(p){return p&&to(p.canMatch)}(ce)?ce.canMatch(_,h):p.runInContext(()=>ce(_,h)))});return(0,$.of)(P).pipe(Wr(),Te())}(b,_,h).pipe((0,Oe.U)(F=>!0===F?P:{...$r}))):(0,$.of)(P)}function Yt(p,_,h){if(""===_.path)return"full"===_.pathMatch&&(p.hasChildren()||h.length>0)?{...$r}:{matched:!0,consumedSegments:[],remainingSegments:h,parameters:{},positionalParamSegments:{}};const S=(_.matcher||qt)(h,p,_);if(!S)return{...$r};const P={};Object.entries(S.posParams??{}).forEach(([ce,Je])=>{P[ce]=Je.path});const F=S.consumed.length>0?{...P,...S.consumed[S.consumed.length-1].parameters}:P;return{matched:!0,consumedSegments:S.consumed,remainingSegments:h.slice(S.consumed.length),parameters:F,positionalParamSegments:S.posParams??{}}}function dn(p,_,h,b){return h.length>0&&function Fr(p,_,h){return h.some(b=>_o(p,_,b)&&cr(b)!==Ue)}(p,h,b)?{segmentGroup:new _t(_,bi(b,new _t(h,p.children))),slicedSegments:[]}:0===h.length&&function ws(p,_,h){return h.some(b=>_o(p,_,b))}(p,h,b)?{segmentGroup:new _t(p.segments,xr(p,0,h,b,p.children)),slicedSegments:h}:{segmentGroup:new _t(p.segments,p.children),slicedSegments:h}}function xr(p,_,h,b,S){const P={};for(const F of b)if(_o(p,h,F)&&!S[cr(F)]){const ce=new _t([],{});P[cr(F)]=ce}return{...S,...P}}function bi(p,_){const h={};h[Ue]=_;for(const b of p)if(""===b.path&&cr(b)!==Ue){const S=new _t([],{});h[cr(b)]=S}return h}function _o(p,_,h){return(!(p.hasChildren()||_.length>0)||"full"!==h.pathMatch)&&""===h.path}class Sa{constructor(_,h,b,S,P,F,ce){this.injector=_,this.configLoader=h,this.rootComponentType=b,this.config=S,this.urlTree=P,this.paramsInheritanceStrategy=F,this.urlSerializer=ce,this.allowRedirects=!0,this.applyRedirects=new Kn(this.urlSerializer,this.urlTree)}noMatchError(_){return new s.vHH(4002,!1)}recognize(){const _=dn(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,_,Ue).pipe((0,ve.K)(h=>{if(h instanceof Et)return this.allowRedirects=!1,this.urlTree=h.urlTree,this.match(h.urlTree);throw h instanceof Fe?this.noMatchError(h):h}),(0,Oe.U)(h=>{const b=new wn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ue,this.rootComponentType,null,{}),S=new $t(b,h),P=new Bi("",S),F=function hi(p,_,h=null,b=null){return fr(Er(p),_,h,b)}(b,[],this.urlTree.queryParams,this.urlTree.fragment);return F.queryParams=this.urlTree.queryParams,P.url=this.urlSerializer.serialize(F),this.inheritParamsAndData(P._root),{state:P,tree:F}}))}match(_){return this.processSegmentGroup(this.injector,this.config,_.root,Ue).pipe((0,ve.K)(b=>{throw b instanceof Fe?this.noMatchError(b):b}))}inheritParamsAndData(_){const h=_.value,b=Kt(h,this.paramsInheritanceStrategy);h.params=Object.freeze(b.params),h.data=Object.freeze(b.data),_.children.forEach(S=>this.inheritParamsAndData(S))}processSegmentGroup(_,h,b,S){return 0===b.segments.length&&b.hasChildren()?this.processChildren(_,h,b):this.processSegment(_,h,b,b.segments,S,!0)}processChildren(_,h,b){const S=[];for(const P of Object.keys(b.children))"primary"===P?S.unshift(P):S.push(P);return(0,N.D)(S).pipe((0,Bn.b)(P=>{const F=b.children[P],ce=function xo(p,_){const h=p.filter(b=>cr(b)===_);return h.push(...p.filter(b=>cr(b)!==_)),h}(h,P);return this.processSegmentGroup(_,ce,F,P)}),(0,Pe.R)((P,F)=>(P.push(...F),P)),Rt(null),function We(p,_){const h=arguments.length>=2;return b=>b.pipe(p?(0,It.h)((S,P)=>p(S,P,b)):mn.y,Ne(1),h?Rt(_):rn(()=>new K))}(),(0,Gt.z)(P=>{if(null===P)return St(b);const F=yl(P);return function Oa(p){p.sort((_,h)=>_.value.outlet===Ue?-1:h.value.outlet===Ue?1:_.value.outlet.localeCompare(h.value.outlet))}(F),(0,$.of)(F)}))}processSegment(_,h,b,S,P,F){return(0,N.D)(h).pipe((0,Bn.b)(ce=>this.processSegmentAgainstRoute(ce._injector??_,h,ce,b,S,P,F).pipe((0,ve.K)(Je=>{if(Je instanceof Fe)return(0,$.of)(null);throw Je}))),un(ce=>!!ce),(0,ve.K)(ce=>{if(Yn(ce))return function _l(p,_,h){return 0===_.length&&!p.children[h]}(b,S,P)?(0,$.of)([]):St(b);throw ce}))}processSegmentAgainstRoute(_,h,b,S,P,F,ce){return function os(p,_,h,b){return!!(cr(p)===b||b!==Ue&&_o(_,h,p))&&("**"===p.path||Yt(_,p,h).matched)}(b,S,P,F)?void 0===b.redirectTo?this.matchSegmentAgainstRoute(_,S,b,P,F,ce):ce&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(_,S,h,b,P,F):St(S):St(S)}expandSegmentAgainstRouteUsingRedirect(_,h,b,S,P,F){return"**"===S.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(_,b,S,F):this.expandRegularSegmentAgainstRouteUsingRedirect(_,h,b,S,P,F)}expandWildCardWithParamsAgainstRouteUsingRedirect(_,h,b,S){const P=this.applyRedirects.applyRedirectCommands([],b.redirectTo,{});return b.redirectTo.startsWith("/")?Rn(P):this.applyRedirects.lineralizeSegments(b,P).pipe((0,Gt.z)(F=>{const ce=new _t(F,{});return this.processSegment(_,h,ce,F,S,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(_,h,b,S,P,F){const{matched:ce,consumedSegments:Je,remainingSegments:Ct,positionalParamSegments:Ot}=Yt(h,S,P);if(!ce)return St(h);const $n=this.applyRedirects.applyRedirectCommands(Je,S.redirectTo,Ot);return S.redirectTo.startsWith("/")?Rn($n):this.applyRedirects.lineralizeSegments(S,$n).pipe((0,Gt.z)(Kr=>this.processSegment(_,b,h,Kr.concat(Ct),F,!1)))}matchSegmentAgainstRoute(_,h,b,S,P,F){let ce;if("**"===b.path){const Je=S.length>0?se(S).parameters:{},Ct=new wn(S,Je,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ia(b),cr(b),b.component??b._loadedComponent??null,b,Aa(b));ce=(0,$.of)({snapshot:Ct,consumedSegments:[],remainingSegments:[]}),h.children={}}else ce=Fn(h,b,S,_).pipe((0,Oe.U)(({matched:Je,consumedSegments:Ct,remainingSegments:Ot,parameters:$n})=>Je?{snapshot:new wn(Ct,$n,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ia(b),cr(b),b.component??b._loadedComponent??null,b,Aa(b)),consumedSegments:Ct,remainingSegments:Ot}:null));return ce.pipe((0,qe.w)(Je=>null===Je?St(h):this.getChildConfig(_=b._injector??_,b,S).pipe((0,qe.w)(({routes:Ct})=>{const Ot=b._loadedInjector??_,{snapshot:$n,consumedSegments:Kr,remainingSegments:Ss}=Je,{segmentGroup:Os,slicedSegments:ao}=dn(h,Kr,Ss,Ct);if(0===ao.length&&Os.hasChildren())return this.processChildren(Ot,Ct,Os).pipe((0,Oe.U)(ta=>null===ta?null:[new $t($n,ta)]));if(0===Ct.length&&0===ao.length)return(0,$.of)([new $t($n,[])]);const Yi=cr(b)===P;return this.processSegment(Ot,Ct,Os,ao,Yi?Ue:P,!0).pipe((0,Oe.U)(ta=>[new $t($n,ta)]))}))))}getChildConfig(_,h,b){return h.children?(0,$.of)({routes:h.children,injector:_}):h.loadChildren?void 0!==h._loadedRoutes?(0,$.of)({routes:h._loadedRoutes,injector:h._loadedInjector}):function Q(p,_,h,b){const S=_.canLoad;if(void 0===S||0===S.length)return(0,$.of)(!0);const P=S.map(F=>{const ce=eo(F,p);return Ce(function zr(p){return p&&to(p.canLoad)}(ce)?ce.canLoad(_,h):p.runInContext(()=>ce(_,h)))});return(0,$.of)(P).pipe(Wr(),Te())}(_,h,b).pipe((0,Gt.z)(S=>S?this.configLoader.loadChildren(_,h).pipe((0,pe.b)(P=>{h._loadedRoutes=P.routes,h._loadedInjector=P.injector})):function Hn(p){return(0,we._)(vi(!1,3))}())):(0,$.of)({routes:[],injector:_})}}function vl(p){const _=p.value.routeConfig;return _&&""===_.path}function yl(p){const _=[],h=new Set;for(const b of p){if(!vl(b)){_.push(b);continue}const S=_.find(P=>b.value.routeConfig===P.value.routeConfig);void 0!==S?(S.children.push(...b.children),h.add(S)):_.push(b)}for(const b of h){const S=yl(b.children);_.push(new $t(b.value,S))}return _.filter(b=>!h.has(b))}function Ia(p){return p.data||{}}function Aa(p){return p.resolve||{}}function Lr(p){return"string"==typeof p.title||null===p.title}function g(p){return(0,qe.w)(_=>{const h=p(_);return h?(0,N.D)(h).pipe((0,Oe.U)(()=>_)):(0,$.of)(_)})}const M=new s.OlP("ROUTES");let C=(()=>{class p{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,s.f3M)(s.Sil)}loadComponent(h){if(this.componentLoaders.get(h))return this.componentLoaders.get(h);if(h._loadedComponent)return(0,$.of)(h._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(h);const b=Ce(h.loadComponent()).pipe((0,Oe.U)(j),(0,pe.b)(P=>{this.onLoadEndListener&&this.onLoadEndListener(h),h._loadedComponent=P}),(0,Se.x)(()=>{this.componentLoaders.delete(h)})),S=new le(b,()=>new Me.x).pipe(dt());return this.componentLoaders.set(h,S),S}loadChildren(h,b){if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,$.of)({routes:b._loadedRoutes,injector:b._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(b);const P=this.loadModuleFactoryOrRoutes(b.loadChildren).pipe((0,Oe.U)(ce=>{this.onLoadEndListener&&this.onLoadEndListener(b);let Je,Ct;return Array.isArray(ce)?Ct=ce:(Je=ce.create(h).injector,Ct=Je.get(M,[],s.XFs.Self|s.XFs.Optional).flat()),{routes:Ct.map(ji),injector:Je}}),(0,Se.x)(()=>{this.childrenLoaders.delete(b)})),F=new le(P,()=>new Me.x).pipe(dt());return this.childrenLoaders.set(b,F),F}loadModuleFactoryOrRoutes(h){return Ce(h()).pipe((0,Oe.U)(j),(0,Gt.z)(b=>b instanceof s.YKP||Array.isArray(b)?(0,$.of)(b):(0,N.D)(this.compiler.compileModuleAsync(b))))}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();function j(p){return function A(p){return p&&"object"==typeof p&&"default"in p}(p)?p.default:p}let _e=(()=>{class p{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Me.x,this.configLoader=(0,s.f3M)(C),this.environmentInjector=(0,s.f3M)(s.lqb),this.urlSerializer=(0,s.f3M)(Vt),this.rootContexts=(0,s.f3M)(tt),this.inputBindingEnabled=null!==(0,s.f3M)(_i,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,$.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=S=>this.events.next(new Qi(S)),this.configLoader.onLoadStartListener=S=>this.events.next(new qi(S))}complete(){this.transitions?.complete()}handleNavigationRequest(h){const b=++this.navigationId;this.transitions?.next({...this.transitions.value,...h,id:b})}setupNavigations(h){return this.transitions=new V.X({id:0,currentUrlTree:h.currentUrlTree,currentRawUrl:h.currentUrlTree,extractedUrl:h.urlHandlingStrategy.extract(h.currentUrlTree),urlAfterRedirects:h.urlHandlingStrategy.extract(h.currentUrlTree),rawUrl:h.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ar,restoredState:null,currentSnapshot:h.routerState.snapshot,targetSnapshot:null,currentRouterState:h.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,It.h)(b=>0!==b.id),(0,Oe.U)(b=>({...b,extractedUrl:h.urlHandlingStrategy.extract(b.rawUrl)})),(0,qe.w)(b=>{let S=!1,P=!1;return(0,$.of)(b).pipe((0,pe.b)(F=>{this.currentNavigation={id:F.id,initialUrl:F.rawUrl,extractedUrl:F.extractedUrl,trigger:F.source,extras:F.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,qe.w)(F=>{const ce=h.browserUrlTree.toString(),Je=!h.navigated||F.extractedUrl.toString()!==ce||ce!==h.currentUrlTree.toString();if(!Je&&"reload"!==(F.extras.onSameUrlNavigation??h.onSameUrlNavigation)){const Ot="";return this.events.next(new Gr(F.id,h.serializeUrl(b.rawUrl),Ot,0)),h.rawUrlTree=F.rawUrl,F.resolve(null),De.E}if(h.urlHandlingStrategy.shouldProcessUrl(F.rawUrl))return ke(F.source)&&(h.browserUrlTree=F.extractedUrl),(0,$.of)(F).pipe((0,qe.w)(Ot=>{const $n=this.transitions?.getValue();return this.events.next(new Mr(Ot.id,this.urlSerializer.serialize(Ot.extractedUrl),Ot.source,Ot.restoredState)),$n!==this.transitions?.getValue()?De.E:Promise.resolve(Ot)}),function Vo(p,_,h,b,S,P){return(0,Gt.z)(F=>function Ma(p,_,h,b,S,P,F="emptyOnly"){return new Sa(p,_,h,b,S,F,P).recognize()}(p,_,h,b,F.extractedUrl,S,P).pipe((0,Oe.U)(({state:ce,tree:Je})=>({...F,targetSnapshot:ce,urlAfterRedirects:Je}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,h.config,this.urlSerializer,h.paramsInheritanceStrategy),(0,pe.b)(Ot=>{if(b.targetSnapshot=Ot.targetSnapshot,b.urlAfterRedirects=Ot.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Ot.urlAfterRedirects},"eager"===h.urlUpdateStrategy){if(!Ot.extras.skipLocationChange){const Kr=h.urlHandlingStrategy.merge(Ot.urlAfterRedirects,Ot.rawUrl);h.setBrowserUrl(Kr,Ot)}h.browserUrlTree=Ot.urlAfterRedirects}const $n=new Zi(Ot.id,this.urlSerializer.serialize(Ot.extractedUrl),this.urlSerializer.serialize(Ot.urlAfterRedirects),Ot.targetSnapshot);this.events.next($n)}));if(Je&&h.urlHandlingStrategy.shouldProcessUrl(h.rawUrlTree)){const{id:Ot,extractedUrl:$n,source:Kr,restoredState:Ss,extras:Os}=F,ao=new Mr(Ot,this.urlSerializer.serialize($n),Kr,Ss);this.events.next(ao);const Yi=Sn(0,this.rootComponentType).snapshot;return b={...F,targetSnapshot:Yi,urlAfterRedirects:$n,extras:{...Os,skipLocationChange:!1,replaceUrl:!1}},(0,$.of)(b)}{const Ot="";return this.events.next(new Gr(F.id,h.serializeUrl(b.extractedUrl),Ot,1)),h.rawUrlTree=F.rawUrl,F.resolve(null),De.E}}),(0,pe.b)(F=>{const ce=new ho(F.id,this.urlSerializer.serialize(F.extractedUrl),this.urlSerializer.serialize(F.urlAfterRedirects),F.targetSnapshot);this.events.next(ce)}),(0,Oe.U)(F=>b={...F,guards:qo(F.targetSnapshot,F.currentSnapshot,this.rootContexts)}),function ts(p,_){return(0,Gt.z)(h=>{const{targetSnapshot:b,currentSnapshot:S,guards:{canActivateChecks:P,canDeactivateChecks:F}}=h;return 0===F.length&&0===P.length?(0,$.of)({...h,guardsResult:!0}):function Es(p,_,h,b){return(0,N.D)(p).pipe((0,Gt.z)(S=>function O(p,_,h,b,S){const P=_&&_.routeConfig?_.routeConfig.canDeactivate:null;if(!P||0===P.length)return(0,$.of)(!0);const F=P.map(ce=>{const Je=rr(_)??S,Ct=eo(ce,Je);return Ce(function Cs(p){return p&&to(p.canDeactivate)}(Ct)?Ct.canDeactivate(p,_,h,b):Je.runInContext(()=>Ct(p,_,h,b))).pipe(un())});return(0,$.of)(F).pipe(Wr())}(S.component,S.route,h,_,b)),un(S=>!0!==S,!0))}(F,b,S,p).pipe((0,Gt.z)(ce=>ce&&function Gs(p){return"boolean"==typeof p}(ce)?function ns(p,_,h,b){return(0,N.D)(_).pipe((0,Bn.b)(S=>(0,Z.z)(function is(p,_){return null!==p&&_&&_(new Ro(p)),(0,$.of)(!0)}(S.route.parent,b),function rs(p,_){return null!==p&&_&&_(new k(p)),(0,$.of)(!0)}(S.route,b),function I(p,_,h){const b=_[_.length-1],P=_.slice(0,_.length-1).reverse().map(F=>function Qo(p){const _=p.routeConfig?p.routeConfig.canActivateChild:null;return _&&0!==_.length?{node:p,guards:_}:null}(F)).filter(F=>null!==F).map(F=>he(()=>{const ce=F.guards.map(Je=>{const Ct=rr(F.node)??h,Ot=eo(Je,Ct);return Ce(function Ws(p){return p&&to(p.canActivateChild)}(Ot)?Ot.canActivateChild(b,p):Ct.runInContext(()=>Ot(b,p))).pipe(un())});return(0,$.of)(ce).pipe(Wr())}));return(0,$.of)(P).pipe(Wr())}(p,S.path,h),function w(p,_,h){const b=_.routeConfig?_.routeConfig.canActivate:null;if(!b||0===b.length)return(0,$.of)(!0);const S=b.map(P=>he(()=>{const F=rr(_)??h,ce=eo(P,F);return Ce(function zs(p){return p&&to(p.canActivate)}(ce)?ce.canActivate(_,p):F.runInContext(()=>ce(_,p))).pipe(un())}));return(0,$.of)(S).pipe(Wr())}(p,S.route,h))),un(S=>!0!==S,!0))}(b,P,p,_):(0,$.of)(ce)),(0,Oe.U)(ce=>({...h,guardsResult:ce})))})}(this.environmentInjector,F=>this.events.next(F)),(0,pe.b)(F=>{if(b.guardsResult=F.guardsResult,Vr(F.guardsResult))throw go(0,F.guardsResult);const ce=new Ao(F.id,this.urlSerializer.serialize(F.extractedUrl),this.urlSerializer.serialize(F.urlAfterRedirects),F.targetSnapshot,!!F.guardsResult);this.events.next(ce)}),(0,It.h)(F=>!!F.guardsResult||(h.restoreHistory(F),this.cancelNavigationTransition(F,"",3),!1)),g(F=>{if(F.guards.canActivateChecks.length)return(0,$.of)(F).pipe((0,pe.b)(ce=>{const Je=new gi(ce.id,this.urlSerializer.serialize(ce.extractedUrl),this.urlSerializer.serialize(ce.urlAfterRedirects),ce.targetSnapshot);this.events.next(Je)}),(0,qe.w)(ce=>{let Je=!1;return(0,$.of)(ce).pipe(function Mi(p,_){return(0,Gt.z)(h=>{const{targetSnapshot:b,guards:{canActivateChecks:S}}=h;if(!S.length)return(0,$.of)(h);let P=0;return(0,N.D)(S).pipe((0,Bn.b)(F=>function Si(p,_,h,b){const S=p.routeConfig,P=p._resolve;return void 0!==S?.title&&!Lr(S)&&(P[jt]=S.title),function Ys(p,_,h,b){const S=function Yr(p){return[...Object.keys(p),...Object.getOwnPropertySymbols(p)]}(p);if(0===S.length)return(0,$.of)({});const P={};return(0,N.D)(S).pipe((0,Gt.z)(F=>function fn(p,_,h,b){const S=rr(_)??b,P=eo(p,S);return Ce(P.resolve?P.resolve(_,h):S.runInContext(()=>P(_,h)))}(p[F],_,h,b).pipe(un(),(0,pe.b)(ce=>{P[F]=ce}))),Ne(1),(0,Ee.h)(P),(0,ve.K)(F=>Yn(F)?De.E:(0,we._)(F)))}(P,p,_,b).pipe((0,Oe.U)(F=>(p._resolvedData=F,p.data=Kt(p,h).resolve,S&&Lr(S)&&(p.data[jt]=S.title),null)))}(F.route,b,p,_)),(0,pe.b)(()=>P++),Ne(1),(0,Gt.z)(F=>P===S.length?(0,$.of)(h):De.E))})}(h.paramsInheritanceStrategy,this.environmentInjector),(0,pe.b)({next:()=>Je=!0,complete:()=>{Je||(h.restoreHistory(ce),this.cancelNavigationTransition(ce,"",2))}}))}),(0,pe.b)(ce=>{const Je=new Ti(ce.id,this.urlSerializer.serialize(ce.extractedUrl),this.urlSerializer.serialize(ce.urlAfterRedirects),ce.targetSnapshot);this.events.next(Je)}))}),g(F=>{const ce=Je=>{const Ct=[];Je.routeConfig?.loadComponent&&!Je.routeConfig._loadedComponent&&Ct.push(this.configLoader.loadComponent(Je.routeConfig).pipe((0,pe.b)(Ot=>{Je.component=Ot}),(0,Oe.U)(()=>{})));for(const Ot of Je.children)Ct.push(...ce(Ot));return Ct};return(0,ee.a)(ce(F.targetSnapshot.root)).pipe(Rt(),(0,Ke.q)(1))}),g(()=>this.afterPreactivation()),(0,Oe.U)(F=>{const ce=function Sr(p,_,h){const b=Ur(p,_._root,h?h._root:void 0);return new Dt(b,_)}(h.routeReuseStrategy,F.targetSnapshot,F.currentRouterState);return b={...F,targetRouterState:ce}}),(0,pe.b)(F=>{h.currentUrlTree=F.urlAfterRedirects,h.rawUrlTree=h.urlHandlingStrategy.merge(F.urlAfterRedirects,F.rawUrl),h.routerState=F.targetRouterState,"deferred"===h.urlUpdateStrategy&&(F.extras.skipLocationChange||h.setBrowserUrl(h.rawUrlTree,F),h.browserUrlTree=F.urlAfterRedirects)}),((p,_,h,b)=>(0,Oe.U)(S=>(new Lo(_,S.targetRouterState,S.currentRouterState,h,b).activate(p),S)))(this.rootContexts,h.routeReuseStrategy,F=>this.events.next(F),this.inputBindingEnabled),(0,Ke.q)(1),(0,pe.b)({next:F=>{S=!0,this.lastSuccessfulNavigation=this.currentNavigation,h.navigated=!0,this.events.next(new ei(F.id,this.urlSerializer.serialize(F.extractedUrl),this.urlSerializer.serialize(h.currentUrlTree))),h.titleStrategy?.updateTitle(F.targetRouterState.snapshot),F.resolve(!0)},complete:()=>{S=!0}}),(0,Se.x)(()=>{S||P||this.cancelNavigationTransition(b,"",1),this.currentNavigation?.id===b.id&&(this.currentNavigation=null)}),(0,ve.K)(F=>{if(P=!0,js(F)){Wt(F)||(h.navigated=!0,h.restoreHistory(b,!0));const ce=new pi(b.id,this.urlSerializer.serialize(b.extractedUrl),F.message,F.cancellationCode);if(this.events.next(ce),Wt(F)){const Je=h.urlHandlingStrategy.merge(F.url,h.rawUrlTree),Ct={skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===h.urlUpdateStrategy||ke(b.source)};h.scheduleNavigation(Je,ar,null,Ct,{resolve:b.resolve,reject:b.reject,promise:b.promise})}else b.resolve(!1)}else{h.restoreHistory(b,!0);const ce=new si(b.id,this.urlSerializer.serialize(b.extractedUrl),F,b.targetSnapshot??void 0);this.events.next(ce);try{b.resolve(h.errorHandler(F))}catch(Je){b.reject(Je)}}return De.E}))}))}cancelNavigationTransition(h,b,S){const P=new pi(h.id,this.urlSerializer.serialize(h.extractedUrl),b,S);this.events.next(P),h.resolve(!1)}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();function ke(p){return p!==ar}let vt=(()=>{class p{buildTitle(h){let b,S=h.root;for(;void 0!==S;)b=this.getResolvedTitleForRoute(S)??b,S=S.children.find(P=>P.outlet===Ue);return b}getResolvedTitleForRoute(h){return h.data[jt]}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:function(){return(0,s.f3M)(Un)},providedIn:"root"}),p})(),Un=(()=>{class p extends vt{constructor(h){super(),this.title=h}updateTitle(h){const b=this.buildTitle(h);void 0!==b&&this.title.setTitle(b)}}return p.\u0275fac=function(h){return new(h||p)(s.LFG(Pt.Dx))},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),an=(()=>{class p{}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:function(){return(0,s.f3M)(nn)},providedIn:"root"}),p})();class yn{shouldDetach(_){return!1}store(_,h){}shouldAttach(_){return!1}retrieve(_){return null}shouldReuseRoute(_,h){return _.routeConfig===h.routeConfig}}let nn=(()=>{class p extends yn{}return p.\u0275fac=function(){let _;return function(b){return(_||(_=s.n5z(p)))(b||p)}}(),p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();const Wn=new s.OlP("",{providedIn:"root",factory:()=>({})});let jn=(()=>{class p{}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:function(){return(0,s.f3M)(ur)},providedIn:"root"}),p})(),ur=(()=>{class p{shouldProcessUrl(h){return!0}extract(h){return h}merge(h,b){return h}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();var ti=function(p){return p[p.COMPLETE=0]="COMPLETE",p[p.FAILED=1]="FAILED",p[p.REDIRECTING=2]="REDIRECTING",p}(ti||{});function wt(p,_){p.events.pipe((0,It.h)(h=>h instanceof ei||h instanceof pi||h instanceof si||h instanceof Gr),(0,Oe.U)(h=>h instanceof ei||h instanceof Gr?ti.COMPLETE:h instanceof pi&&(0===h.code||1===h.code)?ti.REDIRECTING:ti.FAILED),(0,It.h)(h=>h!==ti.REDIRECTING),(0,Ke.q)(1)).subscribe(()=>{_()})}function no(p){throw p}function Di(p,_,h){return _.parse("/")}const ro={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},io={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Nn=(()=>{class p{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,s.f3M)(s.c2e),this.isNgZoneEnabled=!1,this.options=(0,s.f3M)(Wn,{optional:!0})||{},this.pendingTasks=(0,s.f3M)(s.HDt),this.errorHandler=this.options.errorHandler||no,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Di,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,s.f3M)(jn),this.routeReuseStrategy=(0,s.f3M)(an),this.titleStrategy=(0,s.f3M)(vt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,s.f3M)(M,{optional:!0})?.flat()??[],this.navigationTransitions=(0,s.f3M)(_e),this.urlSerializer=(0,s.f3M)(Vt),this.location=(0,s.f3M)(xe.Ye),this.componentInputBindingEnabled=!!(0,s.f3M)(_i,{optional:!0}),this.isNgZoneEnabled=(0,s.f3M)(s.R0b)instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new _n,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Sn(0,null),this.navigationTransitions.setupNavigations(this).subscribe(h=>{this.lastSuccessfulId=h.id,this.currentPageId=this.browserPageId??0},h=>{this.console.warn(`Unhandled Navigation Error: ${h}`)})}resetRootComponentType(h){this.routerState.root.component=h,this.navigationTransitions.rootComponentType=h}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const h=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ar,h)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(h=>{const b="popstate"===h.type?"popstate":"hashchange";"popstate"===b&&setTimeout(()=>{this.navigateToSyncWithBrowser(h.url,b,h.state)},0)}))}navigateToSyncWithBrowser(h,b,S){const P={replaceUrl:!0},F=S?.navigationId?S:null;if(S){const Je={...S};delete Je.navigationId,delete Je.\u0275routerPageId,0!==Object.keys(Je).length&&(P.state=Je)}const ce=this.parseUrl(h);this.scheduleNavigation(ce,b,F,P)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(h){this.config=h.map(ji),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(h,b={}){const{relativeTo:S,queryParams:P,fragment:F,queryParamsHandling:ce,preserveFragment:Je}=b,Ct=Je?this.currentUrlTree.fragment:F;let $n,Ot=null;switch(ce){case"merge":Ot={...this.currentUrlTree.queryParams,...P};break;case"preserve":Ot=this.currentUrlTree.queryParams;break;default:Ot=P||null}null!==Ot&&(Ot=this.removeEmptyProps(Ot));try{$n=Er(S?S.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof h[0]||!h[0].startsWith("/"))&&(h=[]),$n=this.currentUrlTree.root}return fr($n,h,Ot,Ct??null)}navigateByUrl(h,b={skipLocationChange:!1}){const S=Vr(h)?h:this.parseUrl(h),P=this.urlHandlingStrategy.merge(S,this.rawUrlTree);return this.scheduleNavigation(P,ar,null,b)}navigate(h,b={skipLocationChange:!1}){return function vo(p){for(let _=0;_{const P=h[S];return null!=P&&(b[S]=P),b},{})}scheduleNavigation(h,b,S,P,F){if(this.disposed)return Promise.resolve(!1);let ce,Je,Ct;F?(ce=F.resolve,Je=F.reject,Ct=F.promise):Ct=new Promise(($n,Kr)=>{ce=$n,Je=Kr});const Ot=this.pendingTasks.add();return wt(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Ot))}),this.navigationTransitions.handleNavigationRequest({source:b,restoredState:S,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:h,extras:P,resolve:ce,reject:Je,promise:Ct,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ct.catch($n=>Promise.reject($n))}setBrowserUrl(h,b){const S=this.urlSerializer.serialize(h);if(this.location.isCurrentPathEqualTo(S)||b.extras.replaceUrl){const F={...b.extras.state,...this.generateNgRouterState(b.id,this.browserPageId)};this.location.replaceState(S,"",F)}else{const P={...b.extras.state,...this.generateNgRouterState(b.id,(this.browserPageId??0)+1)};this.location.go(S,"",P)}}restoreHistory(h,b=!1){if("computed"===this.canceledNavigationResolution){const P=this.currentPageId-(this.browserPageId??this.currentPageId);0!==P?this.location.historyGo(P):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===P&&(this.resetState(h),this.browserUrlTree=h.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(b&&this.resetState(h),this.resetUrlToCurrentUrlTree())}resetState(h){this.routerState=h.currentRouterState,this.currentUrlTree=h.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,h.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(h,b){return"computed"===this.canceledNavigationResolution?{navigationId:h,\u0275routerPageId:b}:{navigationId:h}}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),hr=(()=>{class p{constructor(h,b,S,P,F,ce){this.router=h,this.route=b,this.tabIndexAttribute=S,this.renderer=P,this.el=F,this.locationStrategy=ce,this.href=null,this.commands=null,this.onChanges=new Me.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Je=F.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Je||"area"===Je,this.isAnchorElement?this.subscription=h.events.subscribe(Ct=>{Ct instanceof ei&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(h){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",h)}ngOnChanges(h){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(h){null!=h?(this.commands=Array.isArray(h)?h:[h],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(h,b,S,P,F){return!!(null===this.urlTree||this.isAnchorElement&&(0!==h||b||S||P||F||"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 h=null===this.href?null:(0,s.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",h)}applyAttributeValue(h,b){const S=this.renderer,P=this.el.nativeElement;null!==b?S.setAttribute(P,h,b):S.removeAttribute(P,h)}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 p.\u0275fac=function(h){return new(h||p)(s.Y36(Nn),s.Y36(Nr),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(xe.S$))},p.\u0275dir=s.lG2({type:p,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(h,b){1&h&&s.NdJ("click",function(P){return b.onClick(P.button,P.ctrlKey,P.shiftKey,P.altKey,P.metaKey)}),2&h&&s.uIk("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",s.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",s.VuI],replaceUrl:["replaceUrl","replaceUrl",s.VuI],routerLink:"routerLink"},standalone:!0,features:[s.Xq5,s.TTD]}),p})(),Js=(()=>{class p{get isActive(){return this._isActive}constructor(h,b,S,P,F){this.router=h,this.element=b,this.renderer=S,this.cdr=P,this.link=F,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new s.vpe,this.routerEventsSubscription=h.events.subscribe(ce=>{ce instanceof ei&&this.update()})}ngAfterContentInit(){(0,$.of)(this.links.changes,(0,$.of)(null)).pipe((0,Le.J)()).subscribe(h=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const h=[...this.links.toArray(),this.link].filter(b=>!!b).map(b=>b.onChanges);this.linkInputChangesSubscription=(0,N.D)(h).pipe((0,Le.J)()).subscribe(b=>{this._isActive!==this.isLinkActive(this.router)(b)&&this.update()})}set routerLinkActive(h){const b=Array.isArray(h)?h:h.split(" ");this.classes=b.filter(S=>!!S)}ngOnChanges(h){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const h=this.hasActiveLinks();this._isActive!==h&&(this._isActive=h,this.cdr.markForCheck(),this.classes.forEach(b=>{h?this.renderer.addClass(this.element.nativeElement,b):this.renderer.removeClass(this.element.nativeElement,b)}),h&&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(h))})}isLinkActive(h){const b=function yo(p){return!!p.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return S=>!!S.urlTree&&h.isActive(S.urlTree,b)}hasActiveLinks(){const h=this.isLinkActive(this.router);return this.link&&h(this.link)||this.links.some(h)}}return p.\u0275fac=function(h){return new(h||p)(s.Y36(Nn),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(hr,8))},p.\u0275dir=s.lG2({type:p,selectors:[["","routerLinkActive",""]],contentQueries:function(h,b,S){if(1&h&&s.Suo(S,hr,5),2&h){let P;s.iGM(P=s.CRH())&&(b.links=P)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[s.TTD]}),p})();class bo{}let Ge=(()=>{class p{constructor(h,b,S,P,F){this.router=h,this.injector=S,this.preloadingStrategy=P,this.loader=F}setUpPreloading(){this.subscription=this.router.events.pipe((0,It.h)(h=>h instanceof ei),(0,Bn.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(h,b){const S=[];for(const P of b){P.providers&&!P._injector&&(P._injector=(0,s.MMx)(P.providers,h,`Route: ${P.path}`));const F=P._injector??h,ce=P._loadedInjector??F;(P.loadChildren&&!P._loadedRoutes&&void 0===P.canLoad||P.loadComponent&&!P._loadedComponent)&&S.push(this.preloadConfig(F,P)),(P.children||P._loadedRoutes)&&S.push(this.processRoutes(ce,P.children??P._loadedRoutes))}return(0,N.D)(S).pipe((0,Le.J)())}preloadConfig(h,b){return this.preloadingStrategy.preload(b,()=>{let S;S=b.loadChildren&&void 0===b.canLoad?this.loader.loadChildren(h,b):(0,$.of)(null);const P=S.pipe((0,Gt.z)(F=>null===F?(0,$.of)(void 0):(b._loadedRoutes=F.routes,b._loadedInjector=F.injector,this.processRoutes(F.injector??h,F.routes))));if(b.loadComponent&&!b._loadedComponent){const F=this.loader.loadComponent(b);return(0,N.D)([P,F]).pipe((0,Le.J)())}return P})}}return p.\u0275fac=function(h){return new(h||p)(s.LFG(Nn),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(bo),s.LFG(C))},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();const ln=new s.OlP("");let Do=(()=>{class p{constructor(h,b,S,P,F={}){this.urlSerializer=h,this.transitions=b,this.viewportScroller=S,this.zone=P,this.options=F,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},F.scrollPositionRestoration=F.scrollPositionRestoration||"disabled",F.anchorScrolling=F.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(h=>{h instanceof Mr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=h.navigationTrigger,this.restoredId=h.restoredState?h.restoredState.navigationId:0):h instanceof ei?(this.lastId=h.id,this.scheduleScrollEvent(h,this.urlSerializer.parse(h.urlAfterRedirects).fragment)):h instanceof Gr&&0===h.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(h,this.urlSerializer.parse(h.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(h=>{h instanceof ae&&(h.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(h.position):h.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(h.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(h,b){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ae(h,"popstate"===this.lastSource?this.store[this.restoredId]:null,b))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return p.\u0275fac=function(h){s.$Z()},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac}),p})();function Gi(p,_){return{\u0275kind:p,\u0275providers:_}}function Ks(){const p=(0,s.f3M)(s.zs3);return _=>{const h=p.get(s.z2F);if(_!==h.components[0])return;const b=p.get(Nn),S=p.get(bl);1===p.get(Co)&&b.initialNavigation(),p.get(Ii,null,s.XFs.Optional)?.setUpPreloading(),p.get(ln,null,s.XFs.Optional)?.init(),b.resetRootComponentType(h.componentTypes[0]),S.closed||(S.next(),S.complete(),S.unsubscribe())}}const bl=new s.OlP("",{factory:()=>new Me.x}),Co=new s.OlP("",{providedIn:"root",factory:()=>1}),Ii=new s.OlP("");function Wi(p){return Gi(0,[{provide:Ii,useExisting:Ge},{provide:bo,useExisting:p}])}const so=new s.OlP("ROUTER_FORROOT_GUARD"),Zs=[xe.Ye,{provide:Vt,useClass:sr},Nn,tt,{provide:Nr,useFactory:function pr(p){return p.routerState.root},deps:[Nn]},C,[]];function qs(){return new s.PXZ("Router",Nn)}let El=(()=>{class p{constructor(h){}static forRoot(h,b){return{ngModule:p,providers:[Zs,[],{provide:M,multi:!0,useValue:h},{provide:so,useFactory:wl,deps:[[Nn,new s.FiY,new s.tp0]]},{provide:Wn,useValue:b||{}},b?.useHash?{provide:xe.S$,useClass:xe.Do}:{provide:xe.S$,useClass:xe.b0},{provide:ln,useFactory:()=>{const p=(0,s.f3M)(xe.EM),_=(0,s.f3M)(s.R0b),h=(0,s.f3M)(Wn),b=(0,s.f3M)(_e),S=(0,s.f3M)(Vt);return h.scrollOffset&&p.setOffset(h.scrollOffset),new Do(S,b,p,_,h)}},b?.preloadingStrategy?Wi(b.preloadingStrategy).\u0275providers:[],{provide:s.PXZ,multi:!0,useFactory:qs},b?.initialNavigation?Tl(b):[],b?.bindToComponentInputs?Gi(8,[Hi,{provide:_i,useExisting:Hi}]).\u0275providers:[],[{provide:xa,useFactory:Ks},{provide:s.tb,multi:!0,useExisting:xa}]]}}static forChild(h){return{ngModule:p,providers:[{provide:M,multi:!0,useValue:h}]}}}return p.\u0275fac=function(h){return new(h||p)(s.LFG(so,8))},p.\u0275mod=s.oAB({type:p}),p.\u0275inj=s.cJS({}),p})();function wl(p){return"guarded"}function Tl(p){return["disabled"===p.initialNavigation?Gi(3,[{provide:s.ip1,multi:!0,useFactory:()=>{const _=(0,s.f3M)(Nn);return()=>{_.setUpLocationChangeListener()}}},{provide:Co,useValue:2}]).\u0275providers:[],"enabledBlocking"===p.initialNavigation?Gi(2,[{provide:Co,useValue:0},{provide:s.ip1,multi:!0,deps:[s.zs3],useFactory:_=>{const h=_.get(xe.V_,Promise.resolve());return()=>h.then(()=>new Promise(b=>{const S=_.get(Nn),P=_.get(bl);wt(S,()=>{b(!0)}),_.get(_e).afterPreactivation=()=>(b(!0),P.closed?(0,$.of)(void 0):P),S.initialNavigation()}))}}]).\u0275providers:[]]}const xa=new s.OlP("")},132:(q,H,E)=>{"use strict";E.d(H,{PA:()=>wu,_D:()=>Jc,lQ:()=>Md,jt:()=>el,TH:()=>Uo,Vi:()=>Xa,XC:()=>Ls,iD:()=>Qd,Pz:()=>jo,uN:()=>nl,nv:()=>hs,Is:()=>ks,tO:()=>$o,Fh:()=>rl,Oz:()=>Zl,Dy:()=>xp,_B:()=>gs,_L:()=>Ef,HK:()=>Eu});var s=E(5879),y=E(5592),W=E(6232),L=E(2096),N=E(8645),$=E(4829),V=E(1631),ee=E(4266),Y=E(4674),K=E(7400);const Z=["addListener","removeListener"],te=["addEventListener","removeEventListener"],he=["on","off"];function re(i,a,r,c){if((0,Y.m)(r)&&(c=r,r=void 0),c)return re(i,a,r).pipe((0,K.Z)(c));const[f,D]=function et(i){return(0,Y.m)(i.addEventListener)&&(0,Y.m)(i.removeEventListener)}(i)?te.map(x=>J=>i[x](a,J,r)):function De(i){return(0,Y.m)(i.addListener)&&(0,Y.m)(i.removeListener)}(i)?Z.map(we(i,a)):function Ze(i){return(0,Y.m)(i.on)&&(0,Y.m)(i.off)}(i)?he.map(we(i,a)):[];if(!f&&(0,ee.z)(i))return(0,V.z)(x=>re(x,a,r))((0,$.Xf)(i));if(!f)throw new TypeError("Invalid event target");return new y.y(x=>{const J=(...X)=>x.next(1D(J)})}function we(i,a){return r=>c=>i[r](a,c)}var ot=E(9080);const{isArray:dt}=Array;function le(i){return 1===i.length&&dt(i[0])?i[0]:i}var Me=E(8251);function xe(...i){return 1===(i=le(i)).length?(0,$.Xf)(i[0]):new y.y(function Oe(i){return a=>{let r=[];for(let c=0;r&&!a.closed&&c{if(r){for(let D=0;D(0,It.z)(a.pipe((0,pn.q)(1),(0,ve.l)()),r.pipe(Ne(i))):(0,V.z)((r,c)=>(0,$.Xf)(i(r,c)).pipe((0,pn.q)(1),(0,Pe.h)(r)))}function We(i,a=pe.z){const r=(0,ot.H)(i,a);return Ne(()=>r)}E(4664);var Se=E(7921),Le=E(3997),Pt=E(836),Ue=E(3020),jt=E(4716),Ye=E(6814);E(9666),E(9315);var Aa={left:"right",right:"left",bottom:"top",top:"bottom"};function Vo(i){return i.replace(/left|right|bottom|top/g,function(a){return Aa[a]})}function Mi(i){return i.split("-")[0]}var Si={start:"end",end:"start"};function Ys(i){return i.replace(/start|end/g,function(a){return Si[a]})}var Yr="top",fn="bottom",Lr="right",g="left",M="auto",C=[Yr,fn,Lr,g],A="start",j="end",ke="viewport",vt="popper",an=C.reduce(function(i,a){return i.concat([a+"-"+A,a+"-"+j])},[]),yn=[].concat(C,[M]).reduce(function(i,a){return i.concat([a,a+"-"+A,a+"-"+j])},[]),io=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Nn(i){if(null==i)return window;if("[object Window]"!==i.toString()){var a=i.ownerDocument;return a&&a.defaultView||window}return i}function vo(i){return i instanceof Nn(i).Element||i instanceof Element}function hr(i){return i instanceof Nn(i).HTMLElement||i instanceof HTMLElement}function Js(i){return!(typeof ShadowRoot>"u")&&(i instanceof Nn(i).ShadowRoot||i instanceof ShadowRoot)}function yo(i){return((vo(i)?i.ownerDocument:i.document)||window.document).documentElement}var bo=Math.max,Ra=Math.min,Ts=Math.round;function Ge(){var i=navigator.userAgentData;return null!=i&&i.brands&&Array.isArray(i.brands)?i.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}function ln(){return!/^((?!chrome|android).)*safari/i.test(Ge())}function Do(i,a,r){void 0===a&&(a=!1),void 0===r&&(r=!1);var c=i.getBoundingClientRect(),f=1,D=1;a&&hr(i)&&(f=i.offsetWidth>0&&Ts(c.width)/i.offsetWidth||1,D=i.offsetHeight>0&&Ts(c.height)/i.offsetHeight||1);var J=(vo(i)?Nn(i):window).visualViewport,X=!ln()&&r,de=(c.left+(X&&J?J.offsetLeft:0))/f,be=(c.top+(X&&J?J.offsetTop:0))/D,ft=c.width/f,rt=c.height/D;return{width:ft,height:rt,top:be,right:de+ft,bottom:be+rt,left:de,x:de,y:be}}function Na(i){var a=Nn(i);return{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function pr(i){return Do(yo(i)).left+Na(i).scrollLeft}function ci(i){return Nn(i).getComputedStyle(i)}function Oi(i){return i?(i.nodeName||"").toLowerCase():null}function Ms(i){return"html"===Oi(i)?i:i.assignedSlot||i.parentNode||(Js(i)?i.host:null)||yo(i)}function Ks(i){var a=ci(i);return/auto|scroll|overlay|hidden/.test(a.overflow+a.overflowY+a.overflowX)}function bl(i){return["html","body","#document"].indexOf(Oi(i))>=0?i.ownerDocument.body:hr(i)&&Ks(i)?i:bl(Ms(i))}function Co(i,a){var r;void 0===a&&(a=[]);var c=bl(i),f=c===(null==(r=i.ownerDocument)?void 0:r.body),D=Nn(c),x=f?[D].concat(D.visualViewport||[],Ks(c)?c:[]):c,J=a.concat(x);return f?J:J.concat(Co(Ms(x)))}function Jr(i){return["table","td","th"].indexOf(Oi(i))>=0}function zi(i){return hr(i)&&"fixed"!==ci(i).position?i.offsetParent:null}function Ii(i){for(var a=Nn(i),r=zi(i);r&&Jr(r)&&"static"===ci(r).position;)r=zi(r);return r&&("html"===Oi(r)||"body"===Oi(r)&&"static"===ci(r).position)?a:r||function wc(i){var a=/firefox/i.test(Ge());if(/Trident/i.test(Ge())&&hr(i)&&"fixed"===ci(i).position)return null;var f=Ms(i);for(Js(f)&&(f=f.host);hr(f)&&["html","body"].indexOf(Oi(f))<0;){var D=ci(f);if("none"!==D.transform||"none"!==D.perspective||"paint"===D.contain||-1!==["transform","perspective"].indexOf(D.willChange)||a&&"filter"===D.willChange||a&&D.filter&&"none"!==D.filter)return f;f=f.parentNode}return null}(i)||a}function Wi(i,a){var r=a.getRootNode&&a.getRootNode();if(i.contains(a))return!0;if(r&&Js(r)){var c=a;do{if(c&&i.isSameNode(c))return!0;c=c.parentNode||c.host}while(c)}return!1}function Dl(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function Mc(i,a,r){return a===ke?Dl(function Gi(i,a){var r=Nn(i),c=yo(i),f=r.visualViewport,D=c.clientWidth,x=c.clientHeight,J=0,X=0;if(f){D=f.width,x=f.height;var de=ln();(de||!de&&"fixed"===a)&&(J=f.offsetLeft,X=f.offsetTop)}return{width:D,height:x,x:J+pr(i),y:X}}(i,r)):vo(a)?function Tc(i,a){var r=Do(i,!1,"fixed"===a);return r.top=r.top+i.clientTop,r.left=r.left+i.clientLeft,r.bottom=r.top+i.clientHeight,r.right=r.left+i.clientWidth,r.width=i.clientWidth,r.height=i.clientHeight,r.x=r.left,r.y=r.top,r}(a,r):Dl(function oo(i){var a,r=yo(i),c=Na(i),f=null==(a=i.ownerDocument)?void 0:a.body,D=bo(r.scrollWidth,r.clientWidth,f?f.scrollWidth:0,f?f.clientWidth:0),x=bo(r.scrollHeight,r.clientHeight,f?f.scrollHeight:0,f?f.clientHeight:0),J=-c.scrollLeft+pr(i),X=-c.scrollTop;return"rtl"===ci(f||r).direction&&(J+=bo(r.clientWidth,f?f.clientWidth:0)-D),{width:D,height:x,x:J,y:X}}(yo(i)))}function so(i){return i.split("-")[1]}function Zs(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function qs(i){var X,a=i.reference,r=i.element,c=i.placement,f=c?Mi(c):null,D=c?so(c):null,x=a.x+a.width/2-r.width/2,J=a.y+a.height/2-r.height/2;switch(f){case Yr:X={x,y:a.y-r.height};break;case fn:X={x,y:a.y+a.height};break;case Lr:X={x:a.x+a.width,y:J};break;case g:X={x:a.x-r.width,y:J};break;default:X={x:a.x,y:a.y}}var de=f?Zs(f):null;if(null!=de){var be="y"===de?"height":"width";switch(D){case A:X[de]=X[de]-(a[be]/2-r[be]/2);break;case j:X[de]=X[de]+(a[be]/2-r[be]/2)}}return X}function Pa(i){return Object.assign({},{top:0,right:0,bottom:0,left:0},i)}function Qs(i,a){return a.reduce(function(r,c){return r[c]=i,r},{})}function Xs(i,a){void 0===a&&(a={});var c=a.placement,f=void 0===c?i.placement:c,D=a.strategy,x=void 0===D?i.strategy:D,J=a.boundary,X=void 0===J?"clippingParents":J,de=a.rootBoundary,be=void 0===de?ke:de,ft=a.elementContext,rt=void 0===ft?vt:ft,pt=a.altBoundary,bn=void 0!==pt&&pt,xt=a.padding,en=void 0===xt?0:xt,Dn=Pa("number"!=typeof en?en:Qs(en,C)),Zn=i.rects.popper,cn=i.elements[bn?rt===vt?"reference":vt:rt],Pn=function Cl(i,a,r,c){var f="clippingParents"===a?function Sc(i){var a=Co(Ms(i)),c=["absolute","fixed"].indexOf(ci(i).position)>=0&&hr(i)?Ii(i):i;return vo(c)?a.filter(function(f){return vo(f)&&Wi(f,c)&&"body"!==Oi(f)}):[]}(i):[].concat(a),D=[].concat(f,[r]),J=D.reduce(function(X,de){var be=Mc(i,de,c);return X.top=bo(be.top,X.top),X.right=Ra(be.right,X.right),X.bottom=Ra(be.bottom,X.bottom),X.left=bo(be.left,X.left),X},Mc(i,D[0],c));return J.width=J.right-J.left,J.height=J.bottom-J.top,J.x=J.left,J.y=J.top,J}(vo(cn)?cn:cn.contextElement||yo(i.elements.popper),X,be,x),tn=Do(i.elements.reference),er=qs({reference:tn,element:Zn,strategy:"absolute",placement:f}),qn=Dl(Object.assign({},Zn,er)),Zr=rt===vt?qn:tn,yr={top:Pn.top-Zr.top+Dn.top,bottom:Zr.bottom-Pn.bottom+Dn.bottom,left:Pn.left-Zr.left+Dn.left,right:Zr.right-Pn.right+Dn.right},qr=i.modifiersData.offset;if(rt===vt&&qr){var uo=qr[f];Object.keys(yr).forEach(function(ui){var Bs=[Lr,fn].indexOf(ui)>=0?1:-1,ms=[Yr,fn].indexOf(ui)>=0?"y":"x";yr[ui]+=uo[ms]*Bs})}return yr}const Fa={name:"flip",enabled:!0,phase:"main",fn:function xa(i){var a=i.state,r=i.options,c=i.name;if(!a.modifiersData[c]._skip){for(var f=r.mainAxis,D=void 0===f||f,x=r.altAxis,J=void 0===x||x,X=r.fallbackPlacements,de=r.padding,be=r.boundary,ft=r.rootBoundary,rt=r.altBoundary,pt=r.flipVariations,bn=void 0===pt||pt,xt=r.allowedAutoPlacements,en=a.options.placement,Dn=Mi(en),Zn=X||(Dn!==en&&bn?function Tl(i){if(Mi(i)===M)return[];var a=Vo(i);return[Ys(i),a,Ys(a)]}(en):[Vo(en)]),cn=[en].concat(Zn).reduce(function(di,Oo){return di.concat(Mi(Oo)===M?function wl(i,a){void 0===a&&(a={});var f=a.boundary,D=a.rootBoundary,x=a.padding,J=a.flipVariations,X=a.allowedAutoPlacements,de=void 0===X?yn:X,be=so(a.placement),ft=be?J?an:an.filter(function(bn){return so(bn)===be}):C,rt=ft.filter(function(bn){return de.indexOf(bn)>=0});0===rt.length&&(rt=ft);var pt=rt.reduce(function(bn,xt){return bn[xt]=Xs(i,{placement:xt,boundary:f,rootBoundary:D,padding:x})[Mi(xt)],bn},{});return Object.keys(pt).sort(function(bn,xt){return pt[bn]-pt[xt]})}(a,{placement:Oo,boundary:be,rootBoundary:ft,padding:de,flipVariations:bn,allowedAutoPlacements:xt}):Oo)},[]),Pn=a.rects.reference,tn=a.rects.popper,er=new Map,qn=!0,Zr=cn[0],yr=0;yr=0,ms=Bs?"width":"height",Pi=Xs(a,{placement:qr,boundary:be,rootBoundary:ft,altBoundary:rt,padding:de}),fo=Bs?ui?Lr:g:ui?fn:Yr;Pn[ms]>tn[ms]&&(fo=Vo(fo));var ba=Vo(fo),Vs=[];if(D&&Vs.push(Pi[uo]<=0),J&&Vs.push(Pi[fo]<=0,Pi[ba]<=0),Vs.every(function(di){return di})){Zr=qr,qn=!1;break}er.set(qr,Vs)}if(qn)for(var Mu=function(Oo){var ul=cn.find(function(dl){var Hs=er.get(dl);if(Hs)return Hs.slice(0,Oo).every(function(rc){return rc})});if(ul)return Zr=ul,"break"},cl=bn?3:1;cl>0&&"break"!==Mu(cl);cl--);a.placement!==Zr&&(a.modifiersData[c]._skip=!0,a.placement=Zr,a.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ea(i,a,r){return bo(i,Ra(a,r))}function Eo(i){var a=Do(i),r=i.offsetWidth,c=i.offsetHeight;return Math.abs(a.width-r)<=1&&(r=a.width),Math.abs(a.height-c)<=1&&(c=a.height),{x:i.offsetLeft,y:i.offsetTop,width:r,height:c}}const Zu={name:"preventOverflow",enabled:!0,phase:"main",fn:function ir(i){var a=i.state,r=i.options,c=i.name,f=r.mainAxis,D=void 0===f||f,x=r.altAxis,J=void 0!==x&&x,rt=r.tether,pt=void 0===rt||rt,bn=r.tetherOffset,xt=void 0===bn?0:bn,en=Xs(a,{boundary:r.boundary,rootBoundary:r.rootBoundary,padding:r.padding,altBoundary:r.altBoundary}),Dn=Mi(a.placement),hn=so(a.placement),Zn=!hn,cn=Zs(Dn),Pn=function Ku(i){return"x"===i?"y":"x"}(cn),tn=a.modifiersData.popperOffsets,er=a.rects.reference,qn=a.rects.popper,Zr="function"==typeof xt?xt(Object.assign({},a.rects,{placement:a.placement})):xt,yr="number"==typeof Zr?{mainAxis:Zr,altAxis:Zr}:Object.assign({mainAxis:0,altAxis:0},Zr),qr=a.modifiersData.offset?a.modifiersData.offset[a.placement]:null,uo={x:0,y:0};if(tn){if(D){var ui,Bs="y"===cn?Yr:g,ms="y"===cn?fn:Lr,Pi="y"===cn?"height":"width",fo=tn[cn],ba=fo+en[Bs],Vs=fo-en[ms],tc=pt?-qn[Pi]/2:0,Mu=hn===A?er[Pi]:qn[Pi],cl=hn===A?-qn[Pi]:-er[Pi],nc=a.elements.arrow,di=pt&&nc?Eo(nc):{width:0,height:0},Oo=a.modifiersData["arrow#persistent"]?a.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ul=Oo[Bs],dl=Oo[ms],Hs=ea(0,er[Pi],di[Pi]),rc=Zn?er[Pi]/2-tc-Hs-ul-yr.mainAxis:Mu-Hs-ul-yr.mainAxis,Of=Zn?-er[Pi]/2+tc+Hs+dl+yr.mainAxis:cl+Hs+dl+yr.mainAxis,Da=a.elements.arrow&&Ii(a.elements.arrow),Su=Da?"y"===cn?Da.clientTop||0:Da.clientLeft||0:0,tg=null!=(ui=qr?.[cn])?ui:0,Af=fo+Of-tg,Ou=ea(pt?Ra(ba,fo+rc-tg-Su):ba,fo,pt?bo(Vs,Af):Vs);tn[cn]=Ou,uo[cn]=Ou-fo}if(J){var Iu,Us=tn[Pn],ic="y"===Pn?"height":"width",oc=Us+en["x"===cn?Yr:g],Rf=Us-en["x"===cn?fn:Lr],fl=-1!==[Yr,g].indexOf(Dn),Nf=null!=(Iu=qr?.[Pn])?Iu:0,Pf=fl?oc:Us-er[ic]-qn[ic]-Nf+yr.altAxis,Ru=fl?Us+er[ic]+qn[ic]-Nf-yr.altAxis:Rf,xf=pt&&fl?function ni(i,a,r){var c=ea(i,a,r);return c>r?r:c}(Pf,Us,Ru):ea(pt?Pf:oc,Us,pt?Ru:Rf);tn[Pn]=xf,uo[Pn]=xf-Us}a.modifiersData[c]=uo}},requiresIfExists:["offset"]},b={name:"arrow",enabled:!0,phase:"main",fn:function _(i){var a,r=i.state,c=i.name,f=i.options,D=r.elements.arrow,x=r.modifiersData.popperOffsets,J=Mi(r.placement),X=Zs(J),be=[g,Lr].indexOf(J)>=0?"height":"width";if(D&&x){var ft=function(a,r){return Pa("number"!=typeof(a="function"==typeof a?a(Object.assign({},r.rects,{placement:r.placement})):a)?a:Qs(a,C))}(f.padding,r),rt=Eo(D),pt="y"===X?Yr:g,bn="y"===X?fn:Lr,xt=r.rects.reference[be]+r.rects.reference[X]-x[X]-r.rects.popper[be],en=x[X]-r.rects.reference[X],Dn=Ii(D),hn=Dn?"y"===X?Dn.clientHeight||0:Dn.clientWidth||0:0,tn=hn/2-rt[be]/2+(xt/2-en/2),er=ea(ft[pt],tn,hn-rt[be]-ft[bn]);r.modifiersData[c]=((a={})[X]=er,a.centerOffset=er-tn,a)}},effect:function h(i){var a=i.state,c=i.options.element,f=void 0===c?"[data-popper-arrow]":c;null!=f&&("string"==typeof f&&!(f=a.elements.popper.querySelector(f))||Wi(a.elements.popper,f)&&(a.elements.arrow=f))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ce(i,a,r){void 0===r&&(r=!1);var c=hr(a),f=hr(a)&&function F(i){var a=i.getBoundingClientRect(),r=Ts(a.width)/i.offsetWidth||1,c=Ts(a.height)/i.offsetHeight||1;return 1!==r||1!==c}(a),D=yo(a),x=Do(i,f,r),J={scrollLeft:0,scrollTop:0},X={x:0,y:0};return(c||!c&&!r)&&(("body"!==Oi(a)||Ks(D))&&(J=function P(i){return i!==Nn(i)&&hr(i)?function S(i){return{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}}(i):Na(i)}(a)),hr(a)?((X=Do(a,!0)).x+=a.clientLeft,X.y+=a.clientTop):D&&(X.x=pr(D))),{x:x.left+J.scrollLeft-X.x,y:x.top+J.scrollTop-X.y,width:x.width,height:x.height}}function Je(i){var a=new Map,r=new Set,c=[];function f(D){r.add(D.name),[].concat(D.requires||[],D.requiresIfExists||[]).forEach(function(J){if(!r.has(J)){var X=a.get(J);X&&f(X)}}),c.push(D)}return i.forEach(function(D){a.set(D.name,D)}),i.forEach(function(D){r.has(D.name)||f(D)}),c}function Ot(i){var a;return function(){return a||(a=new Promise(function(r){Promise.resolve().then(function(){a=void 0,r(i())})})),a}}var Kr={placement:"bottom",modifiers:[],strategy:"absolute"};function Ss(){for(var i=arguments.length,a=new Array(i),r=0;r=0?-1:1,D="function"==typeof r?r(Object.assign({},a,{placement:i})):r,x=D[0],J=D[1];return x=x||0,J=(J||0)*f,[g,Lr].indexOf(c)>=0?{x:J,y:x}:{x,y:J}}(ft,a.rects,D),be},{}),J=x[a.placement],de=J.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=J.x,a.modifiersData.popperOffsets.y+=de),a.modifiersData[c]=x}},Pc=["*"],ld=function(i){return{$implicit:i}},wh=["ngbNavOutlet",""];function La(i,a){}function Th(i,a){if(1&i&&(s.TgZ(0,"div",2),s.YNc(1,La,0,0,"ng-template",3),s.qZA()),2&i){const r=s.oxw().$implicit,c=s.oxw();s.Q6J("item",r)("nav",c.nav)("role",c.paneRole),s.xp6(1),s.Q6J("ngTemplateOutlet",(null==r.contentTpl?null:r.contentTpl.templateRef)||null)("ngTemplateOutletContext",s.VKq(5,ld,r.active||c.isPanelTransitioning(r)))}}function Ji(i,a){if(1&i&&s.YNc(0,Th,2,7,"div",1),2&i){const r=a.$implicit,c=s.oxw();s.Q6J("ngIf",r.isPanelInDom()||c.isPanelTransitioning(r))}}function ss(i){return"string"==typeof i}function Ni(i){return null!=i}function Ho(i){return(i||document.body).getBoundingClientRect()}function Ua(i=document){const a=i?.activeElement;return a?a.shadowRoot?Ua(a.shadowRoot):a:null}const _d={animation:!0,transitionTimerDelayMs:5},$h=()=>{},{transitionTimerDelayMs:Gh}=_d,ua=new Map,Or=(i,a,r,c)=>{let f=c.context||{};const D=ua.get(a);if(D)switch(c.runningTransition){case"continue":return W.E;case"stop":i.run(()=>D.transition$.complete()),f=Object.assign(D.context,f),ua.delete(a)}const x=r(a,c.animation,f)||$h;if(!c.animation||"none"===window.getComputedStyle(a).transitionProperty)return i.run(()=>x()),(0,L.of)(void 0).pipe(function md(i){return a=>new y.y(r=>a.subscribe({next:x=>i.run(()=>r.next(x)),error:x=>i.run(()=>r.error(x)),complete:()=>i.run(()=>r.complete())}))}(i));const J=new N.x,X=new N.x,de=J.pipe(function Gt(...i){return a=>(0,It.z)(a,(0,L.of)(...i))}(!0));ua.set(a,{transition$:J,complete:()=>{X.next(),X.complete()},context:f});const be=function Ll(i){const{transitionDelay:a,transitionDuration:r}=window.getComputedStyle(i);return 1e3*(parseFloat(a)+parseFloat(r))}(a);return i.runOutsideAngular(()=>{const ft=re(a,"transitionend").pipe((0,Rt.R)(de),(0,rn.h)(({target:pt})=>pt===a));xe((0,ot.H)(be+Gh).pipe((0,Rt.R)(de)),ft,X).pipe((0,Rt.R)(de)).subscribe(()=>{ua.delete(a),i.run(()=>{x(),J.next(),J.complete()})})}),J.asObservable()},zc=(i,a,r)=>{let{direction:c,maxSize:f,dimension:D}=r;const{classList:x}=i;function J(){x.add("collapse"),"show"===c?x.add("show"):x.remove("show")}if(a)return f||(f=function zh(i,a){if(typeof navigator>"u")return"0px";const{classList:r}=i,c=r.contains("show");c||r.add("show"),i.style[a]="";const f=i.getBoundingClientRect()[a]+"px";return c||r.remove("show"),f}(i,D),r.maxSize=f,i.style[D]="show"!==c?f:"0px",x.remove("collapse"),x.remove("collapsing"),x.remove("show"),Ho(i),x.add("collapsing")),i.style[D]="show"===c?f:"0px",()=>{J(),x.remove("collapsing"),i.style[D]=""};J()};let As=(()=>{class i{constructor(){this.animation=_d.animation}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),yd=(()=>{class i{constructor(r){this._ngbConfig=r,this.horizontal=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(r){this._animation=r}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(As))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Jc=(()=>{class i{set collapsed(r){this._isCollapsed!==r&&(this._isCollapsed=r,this._afterInit&&this._runTransitionWithEvents(r,this.animation))}constructor(r,c,f){this._element=r,this._zone=f,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new s.vpe,this.shown=new s.vpe,this.hidden=new s.vpe,this.animation=c.animation,this.horizontal=c.horizontal}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(r=this._isCollapsed){this.collapsed=!r,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(r,c){return Or(this._zone,this._element.nativeElement,zc,{animation:c,runningTransition:"stop",context:{direction:r?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(r,c){this._runTransition(r,c).subscribe(()=>{r?this.hidden.emit():this.shown.emit()})}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.SBq),s.Y36(yd),s.Y36(s.R0b))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(r,c){2&r&&s.ekj("collapse-horizontal",c.horizontal)},inputs:{animation:"animation",collapsed:["ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],standalone:!0}),i})(),Md=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=s.oAB({type:i}),i.\u0275inj=s.cJS({}),i})();var Ln=function(i){return i[i.Tab=9]="Tab",i[i.Enter=13]="Enter",i[i.Escape=27]="Escape",i[i.Space=32]="Space",i[i.PageUp=33]="PageUp",i[i.PageDown=34]="PageDown",i[i.End=35]="End",i[i.Home=36]="Home",i[i.ArrowLeft=37]="ArrowLeft",i[i.ArrowUp=38]="ArrowUp",i[i.ArrowRight=39]="ArrowRight",i[i.ArrowDown=40]="ArrowDown",i}(Ln||{});const pa=(i,a)=>!!a&&a.some(r=>r.contains(i)),xs=(i,a)=>!a||null!=function ca(i,a){return!a||typeof i.closest>"u"?null:i.closest(a)}(i,a),ip=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function xd(i,a,r,c,f,D,x,J){r&&i.runOutsideAngular((i=>ip?()=>setTimeout(()=>i(),100):i)(()=>{const de=re(a,"keydown").pipe((0,Rt.R)(f),(0,rn.h)(rt=>rt.which===Ln.Escape),(0,mn.b)(rt=>rt.preventDefault())),be=re(a,"mousedown").pipe((0,un.U)(rt=>{const pt=rt.target;return 2!==rt.button&&!pa(pt,x)&&("inside"===r?pa(pt,D)&&xs(pt,J):"outside"===r?!pa(pt,D):xs(pt,J)||!pa(pt,D))}),(0,Rt.R)(f)),ft=re(a,"mouseup").pipe((0,Bn.M)(be),(0,rn.h)(([rt,pt])=>pt),We(0),(0,Rt.R)(f));xe([de.pipe((0,un.U)(rt=>0)),ft.pipe((0,un.U)(rt=>1))]).subscribe(rt=>i.run(()=>c(rt)))}))}const Fd=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Ja(i){const a=Array.from(i.querySelectorAll(Fd)).filter(r=>-1!==r.tabIndex);return[a[0],a[a.length-1]]}let Ka=(()=>{class i{constructor(r){this._element=r.documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(Ye.K0))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Gl=/\s+/,au=/ +/gi,Ld={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},Bd=/^left/,Vd=/^right/,sp=/^start/,ap=/^end/;function Hd({placement:i,baseClass:a},r){let c=Array.isArray(i)?i:i.split(Gl),D=c.findIndex(de=>"auto"===de);D>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(de){null==c.find(be=>-1!==be.search("^"+de))&&c.splice(D++,1,de)});const x=c.map(de=>function kd(i,a){const[r,c]=Ld[i];return a&&c||r}(de,r.isRTL()));return{placement:x.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!a,phase:"write",fn({state:de}){const be=new RegExp(a+"(-[a-z]+)*","gi"),ft=de.elements.popper,rt=de.placement;let pt=ft.className;pt=pt.replace(be,""),pt+=` ${function lp(i,a){let[r,c]=a.split("-");const f=r.replace(Bd,"start").replace(Vd,"end");let D=[f];if(c){let x=c;("left"===r||"right"===r)&&(x=x.replace(sp,"top").replace(ap,"bottom")),D.push(`${f}-${x}`)}return i&&(D=D.map(x=>`${i}-${x}`)),D.join(" ")}(a,rt)}`,pt=pt.trim().replace(au," "),ft.className=pt}},Fa,Zu,b,{enabled:!0,name:"flip",options:{fallbackPlacements:x}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function Ud(i){return i}function So(){const i=(0,s.f3M)(Ka);let a=null;return{createPopper(r){if(!a){let f=(r.updatePopperOptions||Ud)(Hd(r,i));a=Sl(r.hostElement,r.targetElement,f)}},update(){a&&a.update()},setOptions(r){if(a){let f=(r.updatePopperOptions||Ud)(Hd(r,i));a.setOptions(f)}},destroy(){a&&(a.destroy(),a=null)}}}new Date(1882,10,12),new Date(2174,10,25);let hu=(()=>{class i{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=r=>r}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Uo=(()=>{class i{set disabled(r){this._disabled=""===r||!0===r,this._renderer.setProperty(this.elementRef.nativeElement,"disabled",this._disabled)}get disabled(){return this._disabled}constructor(r,c){this.elementRef=r,this._renderer=c,this._disabled=!1}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.SBq),s.Y36(s.Qsj))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(r,c){2&r&&(s.Ikx("tabIndex",c.disabled?-1:0),s.ekj("disabled",c.disabled))},inputs:{disabled:"disabled"},standalone:!0}),i})(),Xa=(()=>{class i{constructor(r,c){this.dropdown=r,this.placement="bottom",this.isOpen=!1,this.nativeElement=c.nativeElement}}return i.\u0275fac=function(r){return new(r||i)(s.Y36((0,s.Gpc)(()=>el)),s.Y36(s.SBq))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(r,c,f){if(1&r&&s.Suo(f,Uo,4),2&r){let D;s.iGM(D=s.CRH())&&(c.menuItems=D)}},hostVars:4,hostBindings:function(r,c){1&r&&s.NdJ("keydown.ArrowUp",function(D){return c.dropdown.onKeyDown(D)})("keydown.ArrowDown",function(D){return c.dropdown.onKeyDown(D)})("keydown.Home",function(D){return c.dropdown.onKeyDown(D)})("keydown.End",function(D){return c.dropdown.onKeyDown(D)})("keydown.Enter",function(D){return c.dropdown.onKeyDown(D)})("keydown.Space",function(D){return c.dropdown.onKeyDown(D)})("keydown.Tab",function(D){return c.dropdown.onKeyDown(D)})("keydown.Shift.Tab",function(D){return c.dropdown.onKeyDown(D)}),2&r&&s.ekj("dropdown-menu",!0)("show",c.dropdown.isOpen())},standalone:!0}),i})(),va=(()=>{class i{constructor(r,c){this.dropdown=r,this.nativeElement=c.nativeElement}}return i.\u0275fac=function(r){return new(r||i)(s.Y36((0,s.Gpc)(()=>el)),s.Y36(s.SBq))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(r,c){2&r&&s.uIk("aria-expanded",c.dropdown.isOpen())},standalone:!0}),i})(),Qd=(()=>{class i extends va{constructor(r,c){super(r,c)}}return i.\u0275fac=function(r){return new(r||i)(s.Y36((0,s.Gpc)(()=>el)),s.Y36(s.SBq))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(r,c){1&r&&s.NdJ("click",function(){return c.dropdown.toggle()})("keydown.ArrowUp",function(D){return c.dropdown.onKeyDown(D)})("keydown.ArrowDown",function(D){return c.dropdown.onKeyDown(D)})("keydown.Home",function(D){return c.dropdown.onKeyDown(D)})("keydown.End",function(D){return c.dropdown.onKeyDown(D)})("keydown.Tab",function(D){return c.dropdown.onKeyDown(D)})("keydown.Shift.Tab",function(D){return c.dropdown.onKeyDown(D)}),2&r&&s.uIk("aria-expanded",c.dropdown.isOpen())},standalone:!0,features:[s._Bn([{provide:va,useExisting:(0,s.Gpc)(()=>i)}]),s.qOj]}),i})(),el=(()=>{class i{constructor(r,c,f,D,x,J){this._changeDetector=r,this._document=f,this._ngZone=D,this._elementRef=x,this._renderer=J,this._destroyCloseHandlers$=new N.x,this._bodyContainer=null,this._open=!1,this.openChange=new s.vpe,this.placement=c.placement,this.popperOptions=c.popperOptions,this.container=c.container,this.autoClose=c.autoClose,this._positioning=So()}ngOnInit(){this.display||(this.display=this._elementRef.nativeElement.closest(".navbar")?"static":"dynamic")}ngAfterContentInit(){this._ngZone.onStable.pipe((0,pn.q)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(r){if(r.container&&this._open&&this._applyContainer(this.container),r.placement&&!r.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container}),this._applyPlacementClasses()),r.dropdownClass){const{currentValue:c,previousValue:f}=r.dropdownClass;this._applyCustomDropdownClass(c,f)}r.autoClose&&this._open&&(this.autoClose=r.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),"dynamic"===this.display&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:r=>this.popperOptions(function jd(i){return a=>(a.modifiers.push(Xu,{name:"offset",options:{offset:()=>i}}),a)}([0,2])(r))}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),xd(this._ngZone,this._document,this.autoClose,r=>{this.close(),0===r&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(r){const c=r.which,f=this._getMenuElements();let D=-1,x=null;const J=this._isEventFromToggle(r);if(!J&&f.length&&f.forEach((X,de)=>{X.contains(r.target)&&(x=X),X===Ua(this._document)&&(D=de)}),c!==Ln.Space&&c!==Ln.Enter){if(c!==Ln.Tab){if(J||x){if(this.open(),f.length){switch(c){case Ln.ArrowDown:D=Math.min(D+1,f.length-1);break;case Ln.ArrowUp:if(this._isDropup()&&-1===D){D=f.length-1;break}D=Math.max(D-1,0);break;case Ln.Home:D=0;break;case Ln.End:D=f.length-1}f[D].focus()}r.preventDefault()}}else if(r.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===r.target)return void("body"!==this.container||r.shiftKey?r.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){const X=this._menu.nativeElement.querySelectorAll(Fd);r.shiftKey&&r.target===X[0]?(this._anchor.nativeElement.focus(),r.preventDefault()):!r.shiftKey&&r.target===X[X.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else re(r.target,"focusout").pipe((0,pn.q)(1)).subscribe(({relatedTarget:X})=>{this._elementRef.nativeElement.contains(X)||this.close()})}}else x&&(!0===this.autoClose||"inside"===this.autoClose)&&re(x,"click").pipe((0,pn.q)(1)).subscribe(()=>this.close())}_isDropup(){return this._elementRef.nativeElement.classList.contains("dropup")}_isEventFromToggle(r){return this._anchor.nativeElement.contains(r.target)}_getMenuElements(){const r=this._menu;return null==r?[]:r.menuItems.filter(c=>!c.disabled).map(c=>c.elementRef.nativeElement)}_positionMenu(){const r=this._menu;this.isOpen()&&r&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(r){return Array.isArray(r)?r[0]:r.split(" ")[0]}_resetContainer(){const r=this._renderer;this._menu&&r.appendChild(this._elementRef.nativeElement,this._menu.nativeElement),this._bodyContainer&&(r.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}_applyContainer(r=null){if(this._resetContainer(),"body"===r){const c=this._renderer,f=this._menu.nativeElement,D=this._bodyContainer=this._bodyContainer||c.createElement("div");c.setStyle(D,"position","absolute"),c.setStyle(f,"position","static"),c.setStyle(D,"z-index","1055"),c.appendChild(D,f),c.appendChild(this._document.body,D)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(r,c){const f="body"===this.container?this._bodyContainer:this._elementRef.nativeElement;f&&(c&&this._renderer.removeClass(f,c),r&&this._renderer.addClass(f,r))}_applyPlacementClasses(r){const c=this._menu;if(c){r||(r=this._getFirstPlacement(this.placement));const f=this._renderer,D=this._elementRef.nativeElement;f.removeClass(D,"dropup"),f.removeClass(D,"dropdown");const{nativeElement:x}=c;"static"===this.display?(c.placement=null,f.setAttribute(x,"data-bs-popper","static")):(c.placement=r,f.removeAttribute(x,"data-bs-popper"));const J=-1!==r.search("^top")?"dropup":"dropdown";f.addClass(D,J);const X=this._bodyContainer;X&&(f.removeClass(X,"dropup"),f.removeClass(X,"dropdown"),f.addClass(X,J))}}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.sBO),s.Y36(hu),s.Y36(Ye.K0),s.Y36(s.R0b),s.Y36(s.SBq),s.Y36(s.Qsj))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbDropdown",""]],contentQueries:function(r,c,f){if(1&r&&(s.Suo(f,Xa,5),s.Suo(f,va,5)),2&r){let D;s.iGM(D=s.CRH())&&(c._menu=D.first),s.iGM(D=s.CRH())&&(c._anchor=D.first)}},hostVars:2,hostBindings:function(r,c){2&r&&s.ekj("show",c.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:["open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],standalone:!0,features:[s.TTD]}),i})(),Ls=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=s.oAB({type:i}),i.\u0275inj=s.cJS({}),i})();class co{constructor(a,r,c){this.nodes=a,this.viewRef=r,this.componentRef=c}}class Op{constructor(a,r,c,f,D,x){this._componentType=a,this._injector=r,this._viewContainerRef=c,this._renderer=f,this._ngZone=D,this._applicationRef=x,this._windowRef=null,this._contentRef=null}open(a,r,c=!1){this._windowRef||(this._contentRef=this._getContentRef(a,r),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:f}=this._windowRef.location,D=this._ngZone.onStable.pipe((0,pn.q)(1),(0,V.z)(()=>Or(this._ngZone,f,({classList:x})=>x.add("show"),{animation:c,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:D}}close(a=!1){return this._windowRef?Or(this._ngZone,this._windowRef.location.nativeElement,({classList:r})=>r.remove("show"),{animation:a,runningTransition:"stop"}).pipe((0,mn.b)(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,L.of)(void 0)}_getContentRef(a,r){if(a){if(a instanceof s.Rgc){const c=a.createEmbeddedView(r);return this._applicationRef.attachView(c),new co([c.rootNodes],c)}return new co([[this._renderer.createText(`${a}`)]])}return new co([])}}let Rp=(()=>{class i{constructor(r){this._document=r}hide(){const r=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),c=this._document.body,f=c.style,{overflow:D,paddingRight:x}=f;if(r>0){const J=parseFloat(window.getComputedStyle(c).paddingRight);f.paddingRight=`${J+r}px`}return f.overflow="hidden",()=>{r>0&&(f.paddingRight=x),f.overflow=D}}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(Ye.K0))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Kl=(()=>{class i{constructor(r){this._ngbConfig=r,this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(r){this._animation=r}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(As))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const tf=i=>Ni(i)&&""!==i;let gu=0,nl=(()=>{class i{constructor(r){this.templateRef=r}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.Rgc))},i.\u0275dir=s.lG2({type:i,selectors:[["ng-template","ngbNavContent",""]],standalone:!0}),i})(),ks=(()=>{class i{constructor(r,c){this.role=r,this.nav=c}}return i.\u0275fac=function(r){return new(r||i)(s.$8M("role"),s.Y36((0,s.Gpc)(()=>jo)))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbNavItem","",5,"ng-container"]],hostVars:1,hostBindings:function(r,c){2&r&&s.uIk("role",c.role?c.role:c.nav.roles?"presentation":void 0)},standalone:!0}),i})(),hs=(()=>{class i{constructor(r,c){this._nav=r,this.elementRef=c,this.disabled=!1,this.shown=new s.vpe,this.hidden=new s.vpe}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){Ni(this.domId)||(this.domId="ngb-nav-"+gu++)}get active(){return this._nav.activeId===this.id}get id(){return tf(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(Ni(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}}return i.\u0275fac=function(r){return new(r||i)(s.Y36((0,s.Gpc)(()=>jo)),s.Y36(s.SBq))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbNavItem",""]],contentQueries:function(r,c,f){if(1&r&&s.Suo(f,nl,4),2&r){let D;s.iGM(D=s.CRH())&&(c.contentTpls=D)}},hostVars:2,hostBindings:function(r,c){2&r&&s.ekj("nav-item",!0)},inputs:{destroyOnHide:"destroyOnHide",disabled:"disabled",domId:"domId",_id:["ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"],standalone:!0}),i})(),jo=(()=>{class i{constructor(r,c,f,D){this.role=r,this._cd=f,this._document=D,this.activeIdChange=new s.vpe,this.shown=new s.vpe,this.hidden=new s.vpe,this.destroy$=new N.x,this.navItemChange$=new N.x,this.navChange=new s.vpe,this.animation=c.animation,this.destroyOnHide=c.destroyOnHide,this.orientation=c.orientation,this.roles=c.roles,this.keyboard=c.keyboard}click(r){r.disabled||this._updateActiveId(r.id)}onKeyDown(r){if("tablist"!==this.roles||!this.keyboard)return;const c=r.which,f=this.links.filter(J=>!J.navItem.disabled),{length:D}=f;let x=-1;if(f.forEach((J,X)=>{J.elRef.nativeElement===this._document.activeElement&&(x=X)}),D){switch(c){case Ln.ArrowLeft:if("vertical"===this.orientation)return;x=(x-1+D)%D;break;case Ln.ArrowRight:if("vertical"===this.orientation)return;x=(x+1)%D;break;case Ln.ArrowDown:if("horizontal"===this.orientation)return;x=(x+1)%D;break;case Ln.ArrowUp:if("horizontal"===this.orientation)return;x=(x-1+D)%D;break;case Ln.Home:x=0;break;case Ln.End:x=D-1}"changeWithArrows"===this.keyboard&&this.select(f[x].navItem.id),f[x].elRef.nativeElement.focus(),r.preventDefault()}}select(r){this._updateActiveId(r,!1)}ngAfterContentInit(){if(!Ni(this.activeId)){const r=this.items.first?this.items.first.id:null;tf(r)&&(this._updateActiveId(r,!1),this._cd.detectChanges())}this.items.changes.pipe((0,Rt.R)(this.destroy$)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:r}){r&&!r.firstChange&&this._notifyItemChanged(r.currentValue)}ngOnDestroy(){this.destroy$.next()}_updateActiveId(r,c=!0){if(this.activeId!==r){let f=!1;c&&this.navChange.emit({activeId:this.activeId,nextId:r,preventDefault:()=>{f=!0}}),f||(this.activeId=r,this.activeIdChange.emit(r),this._notifyItemChanged(r))}}_notifyItemChanged(r){this.navItemChange$.next(this._getItemById(r))}_getItemById(r){return this.items&&this.items.find(c=>c.id===r)||null}}return i.\u0275fac=function(r){return new(r||i)(s.$8M("role"),s.Y36(Kl),s.Y36(s.sBO),s.Y36(Ye.K0))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbNav",""]],contentQueries:function(r,c,f){if(1&r&&(s.Suo(f,hs,4),s.Suo(f,$o,5)),2&r){let D;s.iGM(D=s.CRH())&&(c.items=D),s.iGM(D=s.CRH())&&(c.links=D)}},hostVars:6,hostBindings:function(r,c){1&r&&s.NdJ("keydown.arrowLeft",function(D){return c.onKeyDown(D)})("keydown.arrowRight",function(D){return c.onKeyDown(D)})("keydown.arrowDown",function(D){return c.onKeyDown(D)})("keydown.arrowUp",function(D){return c.onKeyDown(D)})("keydown.Home",function(D){return c.onKeyDown(D)})("keydown.End",function(D){return c.onKeyDown(D)}),2&r&&(s.uIk("aria-orientation","vertical"===c.orientation&&"tablist"===c.roles?"vertical":void 0)("role",c.role?c.role:c.roles?"tablist":void 0),s.ekj("nav",!0)("flex-column","vertical"===c.orientation))},inputs:{activeId:"activeId",animation:"animation",destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard"},outputs:{activeIdChange:"activeIdChange",shown:"shown",hidden:"hidden",navChange:"navChange"},exportAs:["ngbNav"],standalone:!0,features:[s.TTD]}),i})(),$o=(()=>{class i{constructor(r,c,f,D){this.role=r,this.navItem=c,this.nav=f,this.elRef=D}hasNavItemClass(){return this.navItem.elementRef.nativeElement.nodeType===Node.COMMENT_NODE}}return i.\u0275fac=function(r){return new(r||i)(s.$8M("role"),s.Y36(hs),s.Y36(jo),s.Y36(s.SBq))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbNavLink",""]],hostVars:14,hostBindings:function(r,c){2&r&&(s.Ikx("id",c.navItem.domId),s.uIk("role",c.role?c.role:c.nav.roles?"tab":void 0)("tabindex",c.navItem.disabled?-1:void 0)("aria-controls",c.navItem.isPanelInDom()?c.navItem.panelDomId:null)("aria-selected",c.navItem.active)("aria-disabled",c.navItem.disabled),s.ekj("nav-link",!0)("nav-item",c.hasNavItemClass())("active",c.navItem.active)("disabled",c.navItem.disabled))},standalone:!0}),i})(),rl=(()=>{class i{constructor(r,c){this.navItem=r,this.nav=c}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(hs),s.Y36(jo))},i.\u0275dir=s.lG2({type:i,selectors:[["button","ngbNavLink",""]],hostAttrs:["type","button"],hostVars:1,hostBindings:function(r,c){1&r&&s.NdJ("click",function(){return c.nav.click(c.navItem)}),2&r&&s.Ikx("disabled",c.navItem.disabled)},standalone:!0,features:[s.zW0([$o])]}),i})();const nf=({classList:i})=>(i.remove("show"),()=>i.remove("active")),mu=(i,a)=>{a&&Ho(i),i.classList.add("show")};let ya=(()=>{class i{constructor(r){this.elRef=r}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.SBq))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(r,c){2&r&&(s.Ikx("id",c.item.panelDomId),s.uIk("role",c.role?c.role:c.nav.roles?"tabpanel":void 0)("aria-labelledby",c.item.domId),s.ekj("fade",c.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"},standalone:!0}),i})(),xp=(()=>{class i{constructor(r,c){this._cd=r,this._ngZone=c,this._activePane=null}isPanelTransitioning(r){return this._activePane?.item===r}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe((0,Rt.R)(this.nav.destroy$),(0,Se.O)(this._activePane?.item||null),(0,Le.x)(),(0,Pt.T)(1)).subscribe(r=>{const c={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?Or(this._ngZone,this._activePane.elRef.nativeElement,nf,c).subscribe(()=>{const f=this._activePane?.item;this._activePane=this._getPaneForItem(r),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),Or(this._ngZone,this._activePane.elRef.nativeElement,mu,c).subscribe(()=>{r&&(r.shown.emit(),this.nav.shown.emit(r.id))})),f&&(f.hidden.emit(),this.nav.hidden.emit(f.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.elRef.nativeElement.classList.add("show"),this._activePane?.elRef.nativeElement.classList.add("active")}_getPaneForItem(r){return this._panes&&this._panes.find(c=>c.item===r)||null}_getActivePane(){return this._panes&&this._panes.find(r=>r.item.active)||null}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.sBO),s.Y36(s.R0b))},i.\u0275cmp=s.Xpm({type:i,selectors:[["","ngbNavOutlet",""]],viewQuery:function(r,c){if(1&r&&s.Gf(ya,5),2&r){let f;s.iGM(f=s.CRH())&&(c._panes=f)}},hostVars:2,hostBindings:function(r,c){2&r&&s.ekj("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},standalone:!0,features:[s.jDz],attrs:wh,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(r,c){1&r&&s.YNc(0,Ji,1,1,"ng-template",0),2&r&&s.Q6J("ngForOf",c.nav.items)},dependencies:[ya,Ye.ax,Ye.O5,Ye.tP],encapsulation:2,changeDetection:0}),i})(),Zl=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=s.oAB({type:i}),i.\u0275inj=s.cJS({}),i})();class Lp{constructor(a,r){this.open=a,this.close=r,r||(this.close=a)}isManual(){return"manual"===this.open||"manual"===this.close}}const ff={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]},hf=i=>i>0?We(i):a=>a;let p_=(()=>{class i{constructor(r){this._ngbConfig=r,this.autoClose=!0,this.placement="auto",this.popperOptions=c=>c,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(r){this._animation=r}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(As))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Cf=0,ec=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=s.Xpm({type:i,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip",2,"position","absolute"],hostVars:5,hostBindings:function(r,c){2&r&&(s.Ikx("id",c.id),s.Tol("tooltip"+(c.tooltipClass?" "+c.tooltipClass:"")),s.ekj("fade",c.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},standalone:!0,features:[s.jDz],ngContentSelectors:Pc,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(r,c){1&r&&(s.F$t(),s._UZ(0,"div",0),s.TgZ(1,"div",1),s.Hsn(2),s.qZA())},encapsulation:2,changeDetection:0}),i})(),Ef=(()=>{class i{constructor(r,c,f,D,x,J,X,de,be){this._elementRef=r,this._renderer=c,this._ngZone=J,this._document=X,this._changeDetector=de,this.shown=new s.vpe,this.hidden=new s.vpe,this._ngbTooltipWindowId="ngb-tooltip-"+Cf++,this._windowRef=null,this.animation=x.animation,this.autoClose=x.autoClose,this.placement=x.placement,this.popperOptions=x.popperOptions,this.triggers=x.triggers,this.container=x.container,this.disableTooltip=x.disableTooltip,this.tooltipClass=x.tooltipClass,this.openDelay=x.openDelay,this.closeDelay=x.closeDelay,this._popupService=new Op(ec,f,D,c,this._ngZone,be),this._positioning=So()}set ngbTooltip(r){this._ngbTooltip=r,!r&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(r){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:c,transition$:f}=this._popupService.open(this._ngbTooltip,r??this.tooltipContext,this.animation);this._windowRef=c,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._renderer.setAttribute(this._getPositionTargetElement(),"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-tooltip",updatePopperOptions:D=>this.popperOptions(D)}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),xd(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),f.subscribe(()=>this.shown.emit())}}close(r=this.animation){null!=this._windowRef&&(this._renderer.removeAttribute(this._getPositionTargetElement(),"aria-describedby"),this._popupService.close(r).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=function kp(i,a,r,c,f,D,x=0,J=0){const X=function bu(i,a=ff){const r=(i||"").trim();if(0===r.length)return[];const c=r.split(/\s+/).map(D=>D.split(":")).map(D=>{let x=a[D[0]]||D;return new Lp(x[0],x[1])}),f=c.filter(D=>D.isManual());if(f.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===f.length&&c.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return c}(r);if(1===X.length&&X[0].isManual())return()=>{};const de=function ql(i,a,r,c){return new y.y(f=>{const D=[],x=()=>f.next(!0),J=()=>f.next(!1),X=()=>f.next(!c());return r.forEach(de=>{de.open===de.close?D.push(i.listen(a,de.open,X)):D.push(i.listen(a,de.open,x),i.listen(a,de.close,J))}),()=>{D.forEach(de=>de())}})}(i,a,X,c).pipe(function pf(i,a,r){return c=>{let f=null;const D=c.pipe((0,un.U)(X=>({open:X})),(0,rn.h)(X=>{const de=r();return de===X.open||f&&f.open!==de?(f&&f.open!==X.open&&(f=null),!1):(f=X,!0)}),(0,Ue.B)()),x=D.pipe((0,rn.h)(X=>X.open),hf(i)),J=D.pipe((0,rn.h)(X=>!X.open),hf(a));return(0,qe.T)(x,J).pipe((0,rn.h)(X=>X===f&&(f=null,X.open!==r())),(0,un.U)(X=>X.open))}}(x,J,c)).subscribe(be=>be?f():D());return()=>de.unsubscribe()}(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:r}){r&&this.isOpen()&&(this._windowRef.instance.tooltipClass=r.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(ss(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._elementRef.nativeElement}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.zs3),s.Y36(s.s_b),s.Y36(p_),s.Y36(s.R0b),s.Y36(Ye.K0),s.Y36(s.sBO),s.Y36(s.z2F))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",tooltipContext:"tooltipContext",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],standalone:!0,features:[s.TTD]}),i})(),Eu=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=s.oAB({type:i}),i.\u0275inj=s.cJS({}),i})();new s.OlP("live announcer delay",{providedIn:"root",factory:function g_(){return 100}});class wu{close(a){}dismiss(a){}}class Tf{get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,Rt.R)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,Rt.R)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._panelCmptRef.instance.shown.asObservable()}constructor(a,r,c,f){this._panelCmptRef=a,this._contentRef=r,this._backdropCmptRef=c,this._beforeDismiss=f,this._closed=new N.x,this._dismissed=new N.x,this._hidden=new N.x,a.instance.dismissEvent.subscribe(D=>{this.dismiss(D)}),c&&c.instance.dismissEvent.subscribe(D=>{this.dismiss(D)}),this.result=new Promise((D,x)=>{this._resolve=D,this._reject=x}),this.result.then(null,()=>{})}close(a){this._panelCmptRef&&(this._closed.next(a),this._resolve(a),this._removeOffcanvasElements())}_dismiss(a){this._dismissed.next(a),this._reject(a),this._removeOffcanvasElements()}dismiss(a){if(this._panelCmptRef)if(this._beforeDismiss){const r=this._beforeDismiss();!function Ha(i){return i&&i.then}(r)?!1!==r&&this._dismiss(a):r.then(c=>{!1!==c&&this._dismiss(a)},()=>{})}else this._dismiss(a)}_removeOffcanvasElements(){const a=this._panelCmptRef.instance.hide(),r=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,L.of)(void 0);a.subscribe(()=>{const{nativeElement:c}=this._panelCmptRef.location;c.parentNode.removeChild(c),this._panelCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._panelCmptRef=null,this._contentRef=null}),r.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:c}=this._backdropCmptRef.location;c.parentNode.removeChild(c),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),function Tt(...i){const a=(0,Ke.jO)(i),r=le(i);return r.length?new y.y(c=>{let f=r.map(()=>[]),D=r.map(()=>!1);c.add(()=>{f=D=null});for(let x=0;!c.closed&&x{if(f[x].push(J),f.every(X=>X.length)){const X=f.map(de=>de.shift());c.next(a?a(...X):X),f.some((de,be)=>!de.length&&D[be])&&c.complete()}},()=>{D[x]=!0,!f[x].length&&c.complete()}));return()=>{f=D=null}}):W.E}(a,r).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Tu=function(i){return i[i.BACKDROP_CLICK=0]="BACKDROP_CLICK",i[i.ESC=1]="ESC",i}(Tu||{});let Xp=(()=>{class i{constructor(r,c){this._el=r,this._zone=c,this.dismissEvent=new s.vpe}ngOnInit(){this._zone.onStable.asObservable().pipe((0,pn.q)(1)).subscribe(()=>{Or(this._zone,this._el.nativeElement,(r,c)=>{c&&Ho(r),r.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return Or(this._zone,this._el.nativeElement,({classList:r})=>r.remove("show"),{animation:this.animation,runningTransition:"stop"})}dismiss(){this.static||this.dismissEvent.emit(Tu.BACKDROP_CLICK)}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.SBq),s.Y36(s.R0b))},i.\u0275cmp=s.Xpm({type:i,selectors:[["ngb-offcanvas-backdrop"]],hostVars:6,hostBindings:function(r,c){1&r&&s.NdJ("mousedown",function(){return c.dismiss()}),2&r&&(s.Tol("offcanvas-backdrop"+(c.backdropClass?" "+c.backdropClass:"")),s.ekj("show",!c.animation)("fade",c.animation))},inputs:{animation:"animation",backdropClass:"backdropClass",static:"static"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[s.jDz],decls:0,vars:0,template:function(r,c){},encapsulation:2}),i})(),v_=(()=>{class i{constructor(r,c,f){this._document=r,this._elRef=c,this._zone=f,this._closed$=new N.x,this._elWithFocus=null,this.keyboard=!0,this.position="start",this.dismissEvent=new s.vpe,this.shown=new N.x,this.hidden=new N.x}dismiss(r){this.dismissEvent.emit(r)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,pn.q)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:r}=this._elRef,f=Or(this._zone,this._elRef.nativeElement,D=>(r.classList.remove("showing"),r.classList.add("hiding"),()=>r.classList.remove("show","hiding")),{animation:this.animation,runningTransition:"stop"});return f.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),f}_show(){Or(this._zone,this._elRef.nativeElement,(f,D)=>(D&&Ho(f),f.classList.add("show","showing"),()=>f.classList.remove("showing")),{animation:this.animation,runningTransition:"continue"}).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:r}=this._elRef;this._zone.runOutsideAngular(()=>{re(r,"keydown").pipe((0,Rt.R)(this._closed$),(0,rn.h)(c=>c.which===Ln.Escape)).subscribe(c=>{this.keyboard&&requestAnimationFrame(()=>{c.defaultPrevented||this._zone.run(()=>this.dismiss(Tu.ESC))})})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:r}=this._elRef;if(!r.contains(document.activeElement)){const c=r.querySelector("[ngbAutofocus]"),f=Ja(r)[0];(c||f||r).focus()}}_restoreFocus(){const r=this._document.body,c=this._elWithFocus;let f;f=c&&c.focus&&r.contains(c)?c:r,this._zone.runOutsideAngular(()=>{setTimeout(()=>f.focus()),this._elWithFocus=null})}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(Ye.K0),s.Y36(s.SBq),s.Y36(s.R0b))},i.\u0275cmp=s.Xpm({type:i,selectors:[["ngb-offcanvas-panel"]],hostAttrs:["role","dialog","tabindex","-1"],hostVars:5,hostBindings:function(r,c){2&r&&(s.uIk("aria-modal",!0)("aria-labelledby",c.ariaLabelledBy)("aria-describedby",c.ariaDescribedBy),s.Tol("offcanvas offcanvas-"+c.position+(c.panelClass?" "+c.panelClass:"")))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",keyboard:"keyboard",panelClass:"panelClass",position:"position"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[s.jDz],ngContentSelectors:Pc,decls:1,vars:0,template:function(r,c){1&r&&(s.F$t(),s.Hsn(0))},encapsulation:2}),i})(),Mf=(()=>{class i{constructor(r,c,f,D,x){this._applicationRef=r,this._injector=c,this._document=f,this._scrollBar=D,this._ngZone=x,this._activePanelCmptHasChanged=new N.x,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._panelAttributes=["animation","ariaDescribedBy","ariaLabelledBy","keyboard","panelClass","position"],this._activeInstance=new s.vpe,this._activePanelCmptHasChanged.subscribe(()=>{this._panelCmpt&&((i,a,r,c=!1)=>{i.runOutsideAngular(()=>{const f=re(a,"focusin").pipe((0,Rt.R)(r),(0,un.U)(D=>D.target));re(a,"keydown").pipe((0,Rt.R)(r),(0,rn.h)(D=>D.which===Ln.Tab),(0,Bn.M)(f)).subscribe(([D,x])=>{const[J,X]=Ja(a);(x===J||x===a)&&D.shiftKey&&(X.focus(),D.preventDefault()),x===X&&!D.shiftKey&&(J.focus(),D.preventDefault())}),c&&re(a,"click").pipe((0,Rt.R)(r),(0,Bn.M)(f),(0,un.U)(D=>D[1])).subscribe(D=>D.focus())})})(this._ngZone,this._panelCmpt.location.nativeElement,this._activePanelCmptHasChanged)})}_restoreScrollBar(){const r=this._scrollBarRestoreFn;r&&(this._scrollBarRestoreFn=null,r())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(r,c,f){const D=f.container instanceof HTMLElement?f.container:Ni(f.container)?this._document.querySelector(f.container):this._document.body;if(!D)throw new Error(`The specified offcanvas container "${f.container||"body"}" was not found in the DOM.`);f.scroll||this._hideScrollBar();const x=new wu,J=this._getContentRef(f.injector||r,c,x);let X=!1!==f.backdrop?this._attachBackdrop(D):void 0,de=this._attachWindowComponent(D,J.nodes),be=new Tf(de,J,X,f.beforeDismiss);return this._registerOffcanvasRef(be),this._registerPanelCmpt(de),be.hidden.pipe((0,jt.x)(()=>this._restoreScrollBar())).subscribe(),x.close=ft=>{be.close(ft)},x.dismiss=ft=>{be.dismiss(ft)},this._applyPanelOptions(de.instance,f),X&&X.instance&&(this._applyBackdropOptions(X.instance,f),X.changeDetectorRef.detectChanges()),de.changeDetectorRef.detectChanges(),be}get activeInstance(){return this._activeInstance}dismiss(r){this._offcanvasRef?.dismiss(r)}hasOpenOffcanvas(){return!!this._offcanvasRef}_attachBackdrop(r){let c=(0,s.LMc)(Xp,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(c.hostView),r.appendChild(c.location.nativeElement),c}_attachWindowComponent(r,c){let f=(0,s.LMc)(v_,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:c});return this._applicationRef.attachView(f.hostView),r.appendChild(f.location.nativeElement),f}_applyPanelOptions(r,c){this._panelAttributes.forEach(f=>{Ni(c[f])&&(r[f]=c[f])})}_applyBackdropOptions(r,c){this._backdropAttributes.forEach(f=>{Ni(c[f])&&(r[f]=c[f])}),r.static="static"===c.backdrop}_getContentRef(r,c,f){return c?c instanceof s.Rgc?this._createFromTemplateRef(c,f):ss(c)?this._createFromString(c):this._createFromComponent(r,c,f):new co([])}_createFromTemplateRef(r,c){const D=r.createEmbeddedView({$implicit:c,close(x){c.close(x)},dismiss(x){c.dismiss(x)}});return this._applicationRef.attachView(D),new co([D.rootNodes],D)}_createFromString(r){const c=this._document.createTextNode(`${r}`);return new co([[c]])}_createFromComponent(r,c,f){const D=s.zs3.create({providers:[{provide:wu,useValue:f}],parent:r}),x=(0,s.LMc)(c,{environmentInjector:this._applicationRef.injector,elementInjector:D}),J=x.location.nativeElement;return this._applicationRef.attachView(x.hostView),new co([[J]],x.hostView,x)}_registerOffcanvasRef(r){const c=()=>{this._offcanvasRef=void 0,this._activeInstance.emit(this._offcanvasRef)};this._offcanvasRef=r,this._activeInstance.emit(this._offcanvasRef),r.result.then(c,c)}_registerPanelCmpt(r){this._panelCmpt=r,this._activePanelCmptHasChanged.next(),r.onDestroy(()=>{this._panelCmpt=void 0,this._activePanelCmptHasChanged.next()})}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(s.z2F),s.LFG(s.zs3),s.LFG(Ye.K0),s.LFG(Rp),s.LFG(s.R0b))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Sf=(()=>{class i{constructor(r){this._ngbConfig=r,this.backdrop=!0,this.keyboard=!0,this.position="start",this.scroll=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(r){this._animation=r}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(As))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),gs=(()=>{class i{constructor(r,c,f){this._injector=r,this._offcanvasStack=c,this._config=f}open(r,c={}){const f={...this._config,animation:this._config.animation,...c};return this._offcanvasStack.open(this._injector,r,f)}get activeInstance(){return this._offcanvasStack.activeInstance}dismiss(r){this._offcanvasStack.dismiss(r)}hasOpenOffcanvas(){return this._offcanvasStack.hasOpenOffcanvas()}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(s.zs3),s.LFG(Mf),s.LFG(Sf))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})()},8287:(q,H,E)=>{"use strict";function s(z){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ae){return typeof Ae}:function(Ae){return Ae&&"function"==typeof Symbol&&Ae.constructor===Symbol&&Ae!==Symbol.prototype?"symbol":typeof Ae})(z)}function L(z,Ae,U){return(Ae=function W(z){var Ae=function y(z,Ae){if("object"!==s(z)||null===z)return z;var U=z[Symbol.toPrimitive];if(void 0!==U){var ye=U.call(z,Ae||"default");if("object"!==s(ye))return ye;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===Ae?String:Number)(z)}(z,"string");return"symbol"===s(Ae)?Ae:String(Ae)}(Ae))in z?Object.defineProperty(z,Ae,{value:U,enumerable:!0,configurable:!0,writable:!0}):z[Ae]=U,z}E.d(H,{KI:()=>Ie,y4:()=>fe,Vn:()=>On,h7:()=>je});var N=E(5879),$=E(2096),V=E(9666),ee=E(8645),Y=E(5619),K=E(9315),Z=E(2572),te=E(6232),he=E(8180),re=E(7398),we=E(9360),De=E(8251),Ze=E(2737),et=E(9080),ot=E(4829),le=E(9397),Me=E(6306),xe=E(7328),Oe=E(3020),Ke=E(4664),Tt=E(4007);class It{constructor(Ae){L(this,"translations",void 0),this.translations=Ae}getTranslation(Ae){return(0,$.of)(this.translations.get(Ae)||{})}}const Gt=new N.OlP("TRANSLOCO_LOADER");function Rt(z,Ae){return z&&(Object.prototype.hasOwnProperty.call(z,Ae)?z[Ae]:Ae.split(".").reduce((U,ye)=>U?.[ye],z))}function pn(z){return z?Array.isArray(z)?z.length:ve(z)?Object.keys(z).length:z?z.length:0:0}function Bn(z){return"string"==typeof z}function ve(z){return!!z&&"object"==typeof z&&!Array.isArray(z)}function Ne(z){return z.replace(/(?:^\w|[A-Z]|\b\w)/g,(Ae,U)=>0==U?Ae.toLowerCase():Ae.toUpperCase()).replace(/\s+|_|-|\//g,"")}function Ee(z){return null==z}function Se(z){return!1===Ee(z)}function Pt(z){return z&&"string"==typeof z.scope}function zt(z){return(0,Tt.flatten)(z,{safe:!0})}const qt=new N.OlP("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>Mn}),Mn={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function Ft(z={}){return{...Mn,...z,missingHandler:{...Mn.missingHandler,...z.missingHandler},flatten:{...Mn.flatten,...z.flatten}}}const ie=new N.OlP("TRANSLOCO_TRANSPILER");let se=(()=>{class z{constructor(U){L(this,"interpolationMatcher",void 0),this.interpolationMatcher=function Ce(z){const[Ae,U]=z.interpolation;return new RegExp(`${Ae}(.*?)${U}`,"g")}(U??Mn)}transpile(U,ye={},Re,st){return Bn(U)?U.replace(this.interpolationMatcher,(at,ht)=>(ht=ht.trim(),Se(ye[ht])?ye[ht]:Se(Re[ht])?this.transpile(Re[ht],ye,Re,st):"")):(ye&&(ve(U)?U=this.handleObject(U,ye,Re,st):Array.isArray(U)&&(U=this.handleArray(U,ye,Re,st))),U)}handleObject(U,ye={},Re,st){let at=U;return Object.keys(ye).forEach(ht=>{const Ht=Rt(at,ht),Bt=Rt(ye,ht),Cn=this.transpile(Ht,Bt,Re,st);at=function rn(z,Ae,U){z={...z};const ye=Ae.split("."),Re=ye.length-1;return ye.reduce((st,at,ht)=>(st[at]=ht===Re?U:Array.isArray(st[at])?st[at].slice():{...st[at]},st&&st[at]),z),z}(at,ht,Cn)}),at}handleArray(U,ye={},Re,st){return U.map(at=>this.transpile(at,ye,Re,st))}}return L(z,"\u0275fac",function(U){return new(U||z)(N.LFG(qt,8))}),L(z,"\u0275prov",N.Yz7({token:z,factory:z.\u0275fac})),z})();const lt=new N.OlP("TRANSLOCO_MISSING_HANDLER");let sn=(()=>{class z{handle(U,ye){return ye.missingHandler.logMissingKey&&!ye.prodMode&&console.warn(`%c Missing translation for '${U}'`,"font-size: 12px; color: red"),U}}return L(z,"\u0275fac",function(U){return new(U||z)}),L(z,"\u0275prov",N.Yz7({token:z,factory:z.\u0275fac})),z})();const nt=new N.OlP("TRANSLOCO_INTERCEPTOR");let mt=(()=>{class z{preSaveTranslation(U){return U}preSaveTranslationKey(U,ye){return ye}}return L(z,"\u0275fac",function(U){return new(U||z)}),L(z,"\u0275prov",N.Yz7({token:z,factory:z.\u0275fac})),z})();const ct=new N.OlP("TRANSLOCO_FALLBACK_STRATEGY");let gr,Qt=(()=>{class z{constructor(U){L(this,"userConfig",void 0),this.userConfig=U}getNextLangs(){const U=this.userConfig.fallbackLang;if(!U)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(U)?U:[U]}}return L(z,"\u0275fac",function(U){return new(U||z)(N.LFG(qt))}),L(z,"\u0275prov",N.Yz7({token:z,factory:z.\u0275fac})),z})();function Gn(z){if(!z)return"";const Ae=z.split("/");return Ae.pop(),Ae.join("/")}function _n(z){return z?z.split("/").pop():""}function _t(z,Ae,U="|"){if(Bn(z)){const ye=z.split(U),Re=ye.pop();return Re===Ae?[!0,ye.toString()]:[!1,Re]}return[!1,""]}function Jn(z,Ae){return function jt(z){return z&&ve(z.loader)}(z)?function Nt(z,Ae){return Object.keys(z).reduce((U,ye)=>(U[`${Ae}/${ye}`]=z[ye],U),{})}(z.loader,Ae):void 0}function Vt(z){return{scope:Gn(z)||null,langName:_n(z)}}function sr(z){const{path:Ae,inlineLoader:U,mainLoader:ye,data:Re}=z;if(U){if(!1===function un(z){return"function"==typeof z}(U[Ae]))throw`You're using an inline loader but didn't provide a loader for ${Ae}`;return U[Ae]().then(at=>at.default?at.default:at)}return ye.getTranslation(Ae,Re)}let On=(()=>{class z{constructor(U,ye,Re,st,at,ht){L(this,"loader",void 0),L(this,"parser",void 0),L(this,"missingHandler",void 0),L(this,"interceptor",void 0),L(this,"fallbackStrategy",void 0),L(this,"langChanges$",void 0),L(this,"subscription",null),L(this,"translations",new Map),L(this,"cache",new Map),L(this,"firstFallbackLang",void 0),L(this,"defaultLang",""),L(this,"availableLangs",[]),L(this,"isResolvedMissingOnce",!1),L(this,"lang",void 0),L(this,"failedLangs",new Set),L(this,"events",new ee.x),L(this,"events$",this.events.asObservable()),L(this,"config",void 0),this.loader=U,this.parser=ye,this.missingHandler=Re,this.interceptor=st,this.fallbackStrategy=ht,this.loader||(this.loader=new It(this.translations)),gr=this,this.config=structuredClone(at),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new Y.X(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.subscription=this.events$.subscribe(Ht=>{"translationLoadSuccess"===Ht.type&&Ht.wasFailure&&this.setActiveLang(Ht.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(U){this.defaultLang=U}getActiveLang(){return this.lang.getValue()}setActiveLang(U){return this.parser.onLangChanged?.(U),this.lang.next(U),this.events.next({type:"langChanged",payload:Vt(U)}),this}setAvailableLangs(U){this.availableLangs=U}getAvailableLangs(){return this.availableLangs}load(U,ye={}){const Re=this.cache.get(U);if(Re)return Re;let st;const at=this._isLangScoped(U);let ht;at&&(ht=Gn(U));const Ht={path:U,mainLoader:this.loader,inlineLoader:ye.inlineLoader,data:at?{scope:ht}:void 0};if(this.useFallbackTranslation(U)){const Cn=at?`${ht}/${this.firstFallbackLang}`:this.firstFallbackLang,An=function br({mainLoader:z,path:Ae,data:U,fallbackPath:ye,inlineLoader:Re}){return(ye?[Ae,ye]:[Ae]).map(at=>{const ht=sr({path:at,mainLoader:z,inlineLoader:Re,data:U});return(0,V.D)(ht).pipe((0,re.U)(Ht=>({translation:Ht,lang:at})))})}({...Ht,fallbackPath:Cn});st=(0,K.D)(An)}else{const Cn=sr(Ht);st=(0,V.D)(Cn)}const Bt=st.pipe(function dt(z=1/0){let Ae;Ae=z&&"object"==typeof z?z:{count:z};const{count:U=1/0,delay:ye,resetOnSuccess:Re=!1}=Ae;return U<=0?Ze.y:(0,we.e)((st,at)=>{let Ht,ht=0;const Bt=()=>{let Cn=!1;Ht=st.subscribe((0,De.x)(at,An=>{Re&&(ht=0),at.next(An)},void 0,An=>{if(ht++{Ht?(Ht.unsubscribe(),Ht=null,Bt()):Cn=!0};if(null!=ye){const zn="number"==typeof ye?(0,et.H)(ye):(0,ot.Xf)(ye(An,ht)),Mr=(0,De.x)(at,()=>{Mr.unsubscribe(),ar()},()=>{at.complete()});zn.subscribe(Mr)}else ar()}else at.error(An)})),Cn&&(Ht.unsubscribe(),Ht=null,Bt())};Bt()})}(this.config.failedRetries),(0,le.b)(Cn=>{Array.isArray(Cn)?Cn.forEach(An=>{this.handleSuccess(An.lang,An.translation),An.lang!==U&&this.cache.set(An.lang,(0,$.of)({}))}):this.handleSuccess(U,Cn)}),(0,Me.K)(Cn=>(this.config.prodMode||console.error(`Error while trying to load "${U}"`,Cn),this.handleFailure(U,ye))),function qe(z,Ae,U){let ye,Re=!1;return z&&"object"==typeof z?({bufferSize:ye=1/0,windowTime:Ae=1/0,refCount:Re=!1,scheduler:U}=z):ye=z??1/0,(0,Oe.B)({connector:()=>new xe.t(ye,Ae,U),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Re})}(1));return this.cache.set(U,Bt),Bt}translate(U,ye={},Re=this.getActiveLang()){if(!U)return U;const{scope:st,resolveLang:at}=this.resolveLangAndScope(Re);if(Array.isArray(U))return U.map(Bt=>this.translate(st?`${st}.${Bt}`:Bt,ye,at));U=st?`${st}.${U}`:U;const ht=this.getTranslation(at),Ht=ht[U];return Ht?this.parser.transpile(Ht,ye,ht,U):this._handleMissingKey(U,Ht,ye)}selectTranslate(U,ye,Re,st=!1){let at;const ht=(Bt,Cn)=>this.load(Bt,Cn).pipe((0,re.U)(()=>st?this.translateObject(U,ye,Bt):this.translate(U,ye,Bt)));if(Ee(Re))return this.langChanges$.pipe((0,Ke.w)(Bt=>ht(Bt)));if(function Ue(z){return Array.isArray(z)&&z.every(Pt)}(Re)||Pt(Re)){const Bt=Array.isArray(Re)?Re[0]:Re;Re=Bt.scope,at=Jn(Bt,Bt.scope)}if(this.isLang(Re)||this.isScopeWithLang(Re))return ht(Re);const Ht=Re;return this.langChanges$.pipe((0,Ke.w)(Bt=>ht(`${Ht}/${Bt}`,{inlineLoader:at})))}isScopeWithLang(U){return this.isLang(_n(U))}translateObject(U,ye={},Re=this.getActiveLang()){if(Bn(U)||Array.isArray(U)){const{resolveLang:at,scope:ht}=this.resolveLangAndScope(Re);if(Array.isArray(U))return U.map(Cn=>this.translateObject(ht?`${ht}.${Cn}`:Cn,ye,at));const Ht=this.getTranslation(at),Bt=function Ye(z){return(0,Tt.unflatten)(z)}(this.getObjectByKey(Ht,U=ht?`${ht}.${U}`:U));return function mn(z){return 0===pn(z)}(Bt)?this.translate(U,ye,Re):this.parser.transpile(Bt,ye,Ht,U)}const st=[];for(const[at,ht]of this.getEntries(U))st.push(this.translateObject(at,ht,Re));return st}selectTranslateObject(U,ye,Re){if(Bn(U)||Array.isArray(U))return this.selectTranslate(U,ye,Re,!0);const[[st,at],...ht]=this.getEntries(U);return this.selectTranslateObject(st,at,Re).pipe((0,re.U)(Ht=>{const Bt=[Ht];for(const[Cn,An]of ht)Bt.push(this.translateObject(Cn,An,Re));return Bt}))}getTranslation(U){if(U){if(this.isLang(U))return this.translations.get(U)||{};{const{scope:ye,resolveLang:Re}=this.resolveLangAndScope(U),st=this.translations.get(Re)||{};return this.getObjectByKey(st,ye)}}return this.translations}selectTranslation(U){let ye=this.langChanges$;if(U){const Re=_n(U)!==U;ye=this.isLang(U)||Re?(0,$.of)(U):this.langChanges$.pipe((0,re.U)(st=>`${U}/${st}`))}return ye.pipe((0,Ke.w)(Re=>this.load(Re).pipe((0,re.U)(()=>this.getTranslation(Re)))))}setTranslation(U,ye=this.getActiveLang(),Re={}){const at={merge:!0,emitChange:!0,...Re},ht=Gn(ye);let Ht=U;ht&&(Ht=zt({[this.getMappedScope(ht)]:U}));const Bt=ht?_n(ye):ye,Cn={...at.merge&&this.getTranslation(Bt),...Ht},An=this.config.flatten.aot?Cn:zt(Cn),ar=this.interceptor.preSaveTranslation(An,Bt);this.translations.set(Bt,ar),at.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(U,ye,Re=this.getActiveLang(),st={}){const at=this.interceptor.preSaveTranslationKey(U,ye,Re);this.setTranslation({[U]:at},Re,{...st,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:U}){const ye=Array.isArray(U)?U[0]:U;U&&this.useFallbackTranslation(ye)&&(this.firstFallbackLang=ye)}_handleMissingKey(U,ye,Re){if(this.config.missingHandler.allowEmpty&&""===ye)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const st=this.translate(U,Re,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,st}return this.missingHandler.handle(U,this.getMissingHandlerData(),Re)}_isLangScoped(U){return-1===this.getAvailableLangsIds().indexOf(U)}isLang(U){return-1!==this.getAvailableLangsIds().indexOf(U)}_loadDependencies(U,ye){const Re=_n(U);return this._isLangScoped(U)&&!this.isLoadedTranslation(Re)?(0,Z.a)(this.load(Re),this.load(U,{inlineLoader:ye})):this.load(U,{inlineLoader:ye})}_completeScopeWithLang(U){return this._isLangScoped(U)&&!this.isLang(_n(U))?`${U}/${this.getActiveLang()}`:U}_setScopeAlias(U,ye){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[U]=ye}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.cache.clear()}isLoadedTranslation(U){return pn(this.getTranslation(U))}getAvailableLangsIds(){return Bn(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(ye=>ye.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(U){return this.config.missingHandler.useFallbackTranslation&&U!==this.firstFallbackLang}handleSuccess(U,ye){this.setTranslation(ye,U,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:Vt(U)}),this.failedLangs.forEach(Re=>this.cache.delete(Re)),this.failedLangs.clear()}handleFailure(U,ye){Ee(ye.failedCounter)&&(ye.failedCounter=0,ye.fallbackLangs||(ye.fallbackLangs=this.fallbackStrategy.getNextLangs(U)));const Re=U.split("/"),at=ye.fallbackLangs[ye.failedCounter];if(this.failedLangs.add(U),this.cache.has(at))return this.handleSuccess(at,this.getTranslation(at)),te.E;if(!at||at===Re[Re.length-1]){let Bt="Unable to load translation and all the fallback languages";throw Re.length>1&&(Bt+=", did you misspelled the scope name?"),new Error(Bt)}let Ht=at;return Re.length>1&&(Re[Re.length-1]=at,Ht=Re.join("/")),ye.failedCounter++,this.events.next({type:"translationLoadFailure",payload:Vt(U)}),this.load(Ht,ye)}getMappedScope(U){const{scopeMapping:ye={}}=this.config;return ye[U]||Ne(U)}resolveLangAndScope(U){let Re,ye=U;if(this._isLangScoped(U)){const st=_n(U),at=this.isLang(st);ye=at?st:this.getActiveLang(),Re=this.getMappedScope(at?Gn(U):U)}return{scope:Re,resolveLang:ye}}getObjectByKey(U,ye){const Re={},st=`${ye}.`;for(const at in U)at.startsWith(st)&&(Re[at.replace(st,"")]=U[at]);return Re}getEntries(U){return U instanceof Map?U.entries():Object.entries(U)}}return L(z,"\u0275fac",function(U){return new(U||z)(N.LFG(Gt,8),N.LFG(ie),N.LFG(lt),N.LFG(nt),N.LFG(qt),N.LFG(ct))}),L(z,"\u0275prov",N.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})),z})(),dr=(()=>{class z{constructor(){L(this,"html",void 0)}}return L(z,"\u0275fac",function(U){return new(U||z)}),L(z,"\u0275cmp",N.Xpm({type:z,selectors:[["ng-component"]],inputs:{html:"html"},standalone:!0,features:[N.jDz],decls:1,vars:1,consts:[[1,"transloco-loader-template",3,"innerHTML"]],template:function(U,ye){1&U&&N._UZ(0,"div",0),2&U&&N.Q6J("innerHTML",ye.html,N.oJD)},encapsulation:2})),z})();class nr{constructor(Ae,U){L(this,"view",void 0),L(this,"vcr",void 0),this.view=Ae,this.vcr=U}attachView(){if(this.view instanceof N.Rgc)this.vcr.createEmbeddedView(this.view);else if(Bn(this.view)){const Ae=this.vcr.createComponent(dr);Ae.instance.html=this.view,Ae.hostView.detectChanges()}else this.vcr.createComponent(this.view)}detachView(){this.vcr.clear()}}const Dr=new N.OlP("TRANSLOCO_LANG"),In=new N.OlP("TRANSLOCO_LOADING_TEMPLATE"),Rr=new N.OlP("TRANSLOCO_SCOPE");class gn{constructor(){L(this,"initialized",!1)}resolve({inline:Ae,provider:U,active:ye}){let Re=ye;if(this.initialized)return Re=ye,Re;if(U){const[,st]=_t(U,"static");Re=st}if(Ae){const[,st]=_t(Ae,"static");Re=st}return this.initialized=!0,Re}resolveLangBasedOnScope(Ae){return Gn(Ae)?_n(Ae):Ae}resolveLangPath(Ae,U){return U?`${U}/${Ae}`:Ae}}class Br{constructor(Ae){L(this,"service",void 0),this.service=Ae}resolve(Ae){const{inline:U,provider:ye}=Ae;if(U)return U;if(ye){if(Pt(ye)){const{scope:Re,alias:st=Ne(Re)}=ye;return this.service._setScopeAlias(Re,st),Re}return ye}}}let Ie=(()=>{class z{constructor(){L(this,"service",(0,N.f3M)(On)),L(this,"tpl",(0,N.f3M)(N.Rgc,{optional:!0})),L(this,"providerLang",(0,N.f3M)(Dr,{optional:!0})),L(this,"providerScope",(0,N.f3M)(Rr,{optional:!0})),L(this,"providedLoadingTpl",(0,N.f3M)(In,{optional:!0})),L(this,"cdr",(0,N.f3M)(N.sBO)),L(this,"host",(0,N.f3M)(N.SBq)),L(this,"vcr",(0,N.f3M)(N.s_b)),L(this,"renderer",(0,N.f3M)(N.Qsj)),L(this,"subscription",null),L(this,"view",void 0),L(this,"translationMemo",{}),L(this,"key",void 0),L(this,"params",{}),L(this,"inlineScope",void 0),L(this,"inlineRead",void 0),L(this,"inlineLang",void 0),L(this,"inlineTpl",void 0),L(this,"currentLang",void 0),L(this,"loaderTplHandler",void 0),L(this,"initialized",!1),L(this,"path",void 0),L(this,"langResolver",new gn),L(this,"scopeResolver",new Br(this.service)),L(this,"strategy",null===this.tpl?"attribute":"structural")}static ngTemplateContextGuard(U,ye){return!0}ngOnInit(){const U=function on(z,Ae){const[U]=_t(Ae,"static");return!U&&!!z.config.reRenderOnLangChange}(this.service,this.providerLang||this.inlineLang);if(this.subscription=this.service.langChanges$.pipe((0,Ke.w)(ye=>{const Re=this.langResolver.resolve({inline:this.inlineLang,provider:this.providerLang,active:ye});return Array.isArray(this.providerScope)?(0,K.D)(this.providerScope.map(st=>this.resolveScope(Re,st))):this.resolveScope(Re,this.providerScope)}),function tr(z){return z?Ae=>Ae:(0,he.q)(1)}(U)).subscribe(()=>{this.currentLang=this.langResolver.resolveLangBasedOnScope(this.path),"attribute"===this.strategy?this.attributeStrategy():this.structuralStrategy(this.currentLang,this.inlineRead),this.cdr.markForCheck(),this.initialized=!0}),!this.initialized){const ye=this.resolveLoadingContent();ye&&(this.loaderTplHandler=new nr(ye,this.vcr),this.loaderTplHandler.attachView())}}ngOnChanges(U){"attribute"===this.strategy&&Object.keys(U).some(Re=>!U[Re].firstChange)&&this.attributeStrategy()}attributeStrategy(){this.detachLoader(),this.renderer.setProperty(this.host.nativeElement,"innerText",this.service.translate(this.key,this.params,this.currentLang))}structuralStrategy(U,ye){this.translationMemo={},this.view?(this.view.context.$implicit=this.getTranslateFn(U,ye),this.view.context.currentLang=this.currentLang):(this.detachLoader(),this.view=this.vcr.createEmbeddedView(this.tpl,{$implicit:this.getTranslateFn(U,ye),currentLang:this.currentLang}))}getTranslateFn(U,ye){return(Re,st)=>{const at=ye?`${ye}.${Re}`:Re,ht=st?`${at}${JSON.stringify(st)}`:at;return Object.prototype.hasOwnProperty.call(this.translationMemo,ht)||(this.translationMemo[ht]={params:st,value:this.service.translate(at,st,U)}),this.translationMemo[ht].value}}resolveLoadingContent(){return this.inlineTpl||this.providedLoadingTpl}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}detachLoader(){this.loaderTplHandler?.detachView()}resolveScope(U,ye){const Re=this.scopeResolver.resolve({inline:this.inlineScope,provider:ye});this.path=this.langResolver.resolveLangPath(U,Re);const st=Jn(ye,Re);return this.service._loadDependencies(this.path,st)}}return L(z,"\u0275fac",function(U){return new(U||z)}),L(z,"\u0275dir",N.lG2({type:z,selectors:[["","transloco",""]],inputs:{key:["transloco","key"],params:["translocoParams","params"],inlineScope:["translocoScope","inlineScope"],inlineRead:["translocoRead","inlineRead"],inlineLang:["translocoLang","inlineLang"],inlineTpl:["translocoLoadingTpl","inlineTpl"]},standalone:!0,features:[N.TTD]})),z})(),fe=(()=>{class z{}return L(z,"\u0275fac",function(U){return new(U||z)}),L(z,"\u0275mod",N.oAB({type:z})),L(z,"\u0275inj",N.cJS({})),z})();function je(z){const Ae=[bt(se),Cr(sn),Vr(mt),Qn(Qt)];return z.config&&Ae.push(function ut(z){return(0,N.MR2)([{provide:qt,useValue:Ft(z)}])}(z.config)),z.loader&&Ae.push(function yt(z){return(0,N.MR2)([{provide:Gt,useClass:z}])}(z.loader)),Ae}function bt(z){return(0,N.MR2)([{provide:ie,useClass:z,deps:[qt]}])}function Qn(z){return(0,N.MR2)([{provide:ct,useClass:z,deps:[qt]}])}function Cr(z){return(0,N.MR2)([{provide:lt,useClass:z}])}function Vr(z){return(0,N.MR2)([{provide:nt,useClass:z}])}new N.OlP("TRANSLOCO_TEST_LANGS - Available testing languages"),new N.OlP("TRANSLOCO_TEST_OPTIONS - Testing options")},7632:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{FT:()=>StoreDevtoolsModule});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5879),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4221),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6232),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5592),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2096),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(3019),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(2381),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(7328),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3020),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2181),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7398),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(6328),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(5178),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(3620),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6306),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(8180),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(9773),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(4664),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(836),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(3093),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(2460),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(6699),_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1993);const PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING";class PerformAction{constructor(H,E){if(this.action=H,this.timestamp=E,this.type=PERFORM_ACTION,typeof H.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Refresh{constructor(){this.type=REFRESH}}class Reset{constructor(H){this.timestamp=H,this.type=RESET}}class Rollback{constructor(H){this.timestamp=H,this.type=ROLLBACK}}class Commit{constructor(H){this.timestamp=H,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(H){this.id=H,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(H,E,s=!0){this.start=H,this.end=E,this.active=s,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(H){this.index=H,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(H){this.actionId=H,this.type=JUMP_TO_ACTION}}class ImportState{constructor(H){this.nextLiftedState=H,this.type=IMPORT_STATE}}class LockChanges{constructor(H){this.status=H,this.type=LOCK_CHANGES}}class PauseRecording{constructor(H){this.status=H,this.type=PAUSE_RECORDING}}class StoreDevtoolsConfig{constructor(){this.maxAge=!1}}const STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Initial Config");function noMonitor(){return null}const DEFAULT_NAME="NgRx Store DevTools";function createConfig(q){const H={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectOutsideZone:!1},E="function"==typeof q?q():q,y=E.features||!!E.logOnly&&{pause:!0,export:!0,test:!0}||H.features;!0===y.import&&(y.import="custom");const W=Object.assign({},H,{features:y},E);if(W.maxAge&&W.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${W.maxAge}`);return W}function difference(q,H){return q.filter(E=>H.indexOf(E)<0)}function unliftState(q){const{computedStates:H,currentStateIndex:E}=q;if(E>=H.length){const{state:y}=H[H.length-1];return y}const{state:s}=H[E];return s}function unliftAction(q){return q.actionsById[q.nextActionId-1]}function liftAction(q){return new PerformAction(q,+Date.now())}function sanitizeActions(q,H){return Object.keys(H).reduce((E,s)=>{const y=Number(s);return E[y]=sanitizeAction(q,H[y],y),E},{})}function sanitizeAction(q,H,E){return{...H,action:q(H.action,E)}}function sanitizeStates(q,H){return H.map((E,s)=>({state:sanitizeState(q,E.state,s),error:E.error}))}function sanitizeState(q,H,E){return q(H,E)}function shouldFilterActions(q){return q.predicate||q.actionsSafelist||q.actionsBlocklist}function filterLiftedState(q,H,E,s){const y=[],W={},L=[];return q.stagedActionIds.forEach((N,$)=>{const V=q.actionsById[N];V&&($&&isActionFiltered(q.computedStates[$],V,H,E,s)||(W[N]=V,y.push(N),L.push(q.computedStates[$])))}),{...q,stagedActionIds:y,actionsById:W,computedStates:L}}function isActionFiltered(q,H,E,s,y){const W=E&&!E(q,H.action),L=s&&!H.action.type.match(s.map($=>escapeRegExp($)).join("|")),N=y&&H.action.type.match(y.map($=>escapeRegExp($)).join("|"));return W||L||N}function escapeRegExp(q){return q.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function injectZoneConfig(q){return{ngZone:q?(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.f3M)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.R0b):null,connectOutsideZone:q}}let DevtoolsDispatcher=(()=>{class q extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{}return q.\u0275fac=function(){let H;return function(s){return(H||(H=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(q)))(s||q)}}(),q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:q,factory:q.\u0275fac}),q})();const ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Redux Devtools Extension");let DevtoolsExtension=(()=>{class DevtoolsExtension{constructor(q,H,E){this.config=H,this.dispatcher=E,this.zoneConfig=injectZoneConfig(this.config.connectOutsideZone),this.devtoolsExtension=q,this.createActionStreams()}notify(q,H){if(this.devtoolsExtension)if(q.type===PERFORM_ACTION){if(H.isLocked||H.isPaused)return;const E=unliftState(H);if(shouldFilterActions(this.config)&&isActionFiltered(E,q,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const s=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,E,H.currentStateIndex):E,y=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,q,H.nextActionId):q;this.sendToReduxDevtools(()=>this.extensionConnection.send(y,s))}else{const E={...H,stagedActionIds:H.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,H.actionsById):H.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,H.computedStates):H.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,E,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(q=>{const H=this.zoneConfig.connectOutsideZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=H,H.init(),H.subscribe(E=>q.next(E)),H.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const q=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),H=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(N=>N.type===ExtensionActionTypes.START)),E=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(N=>N.type===ExtensionActionTypes.STOP)),s=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(N=>N.type===ExtensionActionTypes.DISPATCH),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(N=>this.unwrapAction(N.payload)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(N=>N.type===IMPORT_STATE?this.dispatcher.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)($=>$.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.V)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.b)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(()=>N),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(N)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(N))),W=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(N=>N.type===ExtensionActionTypes.ACTION),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(N=>this.unwrapAction(N.payload))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(E)),L=s.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(E));this.start$=H.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(E)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>W)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>L))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(q){const H={name:q.name,features:q.features,serialize:q.serialize,autoPause:q.autoPause??!1,trace:q.trace??!1,traceLimit:q.traceLimit??75};return!1!==q.maxAge&&(H.maxAge=q.maxAge),H}sendToReduxDevtools(q){try{q()}catch(H){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",H)}}}return DevtoolsExtension.\u0275fac=function q(H){return new(H||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher))},DevtoolsExtension.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac}),DevtoolsExtension})();const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(q,H,E,s,y){if(s)return{state:E,error:"Interrupted by an error up the chain"};let L,W=E;try{W=q(E,H)}catch(N){L=N.toString(),y.handleError(N)}return{state:W,error:L}}function recomputeStates(q,H,E,s,y,W,L,N,$){if(H>=q.length&&q.length===W.length)return q;const V=q.slice(0,H),ee=W.length-($?1:0);for(let Y=H;Y-1?te:computeNextEntry(E,Z,he,re,N);V.push(De)}return $&&V.push(q[q.length-1]),V}function liftInitialState(q,H){return{monitorState:H(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:q,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(q,H,E,s,y={}){return W=>(L,N)=>{let{monitorState:$,actionsById:V,nextActionId:ee,stagedActionIds:Y,skippedActionIds:K,committedState:Z,currentStateIndex:te,computedStates:he,isLocked:re,isPaused:we}=L||H;function De(ot){let dt=ot,le=Y.slice(1,dt+1);for(let Me=0;Me-1===le.indexOf(Me)),Y=[0,...Y.slice(dt+1)],Z=he[dt].state,he=he.slice(dt),te=te>dt?te-dt:0}function Ze(){V={0:liftAction(INIT_ACTION)},ee=1,Y=[0],K=[],Z=he[te].state,te=0,he=[]}L||(V=Object.create(V));let et=0;switch(N.type){case LOCK_CHANGES:re=N.status,et=1/0;break;case PAUSE_RECORDING:we=N.status,we?(Y=[...Y,ee],V[ee]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),ee++,et=Y.length-1,he=he.concat(he[he.length-1]),te===Y.length-2&&te++,et=1/0):Ze();break;case RESET:V={0:liftAction(INIT_ACTION)},ee=1,Y=[0],K=[],Z=q,te=0,he=[];break;case COMMIT:Ze();break;case ROLLBACK:V={0:liftAction(INIT_ACTION)},ee=1,Y=[0],K=[],te=0,he=[];break;case TOGGLE_ACTION:{const{id:ot}=N;K=-1===K.indexOf(ot)?[ot,...K]:K.filter(le=>le!==ot),et=Y.indexOf(ot);break}case SET_ACTIONS_ACTIVE:{const{start:ot,end:dt,active:le}=N,Me=[];for(let xe=ot;xey.maxAge&&(he=recomputeStates(he,et,W,Z,V,Y,K,E,we),De(Y.length-y.maxAge),et=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(he.filter(dt=>dt.error).length>0)et=0,y.maxAge&&Y.length>y.maxAge&&(he=recomputeStates(he,et,W,Z,V,Y,K,E,we),De(Y.length-y.maxAge),et=1/0);else{if(!we&&!re){te===Y.length-1&&te++;const dt=ee++;V[dt]=new PerformAction(N,+Date.now()),Y=[...Y,dt],et=Y.length-1,he=recomputeStates(he,et,W,Z,V,Y,K,E,we)}he=he.map(dt=>({...dt,state:W(dt.state,RECOMPUTE_ACTION)})),te=Y.length-1,y.maxAge&&Y.length>y.maxAge&&De(Y.length-y.maxAge),et=1/0}break;default:et=1/0}return he=recomputeStates(he,et,W,Z,V,Y,K,E,we),$=s($,N),{monitorState:$,actionsById:V,nextActionId:ee,stagedActionIds:Y,skippedActionIds:K,committedState:Z,currentStateIndex:te,computedStates:he,isLocked:re,isPaused:we}}}let StoreDevtools=(()=>{class q{constructor(E,s,y,W,L,N,$,V){const ee=liftInitialState($,V.monitor),Y=liftReducerWith($,ee,N,V.monitor,V),K=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(s.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),W.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),E,W.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.Q)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),Z=y.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(Y)),te=injectZoneConfig(V.connectOutsideZone),he=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1);this.liftedStateSubscription=K.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(Z),emitInZone(te),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:De},[Ze,et])=>{let ot=et(De,Ze);return Ze.type!==PERFORM_ACTION&&shouldFilterActions(V)&&(ot=filterLiftedState(ot,V.predicate,V.actionsSafelist,V.actionsBlocklist)),W.notify(Ze,ot),{state:ot,action:Ze}},{state:ee,action:null})).subscribe(({state:De,action:Ze})=>{he.next(De),Ze.type===PERFORM_ACTION&&L.next(Ze.action)}),this.extensionStartSubscription=W.start$.pipe(emitInZone(te)).subscribe(()=>{this.refresh()});const re=he.asObservable(),we=re.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));Object.defineProperty(we,"state",{value:(0,_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_22__.O4)(we,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=E,this.liftedState=re,this.state=we}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(E){this.dispatcher.next(E)}next(E){this.dispatcher.next(E)}error(E){}complete(){}performAction(E){this.dispatch(new PerformAction(E,+Date.now()))}refresh(){this.dispatch(new Refresh)}reset(){this.dispatch(new Reset(+Date.now()))}rollback(){this.dispatch(new Rollback(+Date.now()))}commit(){this.dispatch(new Commit(+Date.now()))}sweep(){this.dispatch(new Sweep)}toggleAction(E){this.dispatch(new ToggleAction(E))}jumpToAction(E){this.dispatch(new JumpToAction(E))}jumpToState(E){this.dispatch(new JumpToState(E))}importState(E){this.dispatch(new ImportState(E))}lockChanges(E){this.dispatch(new LockChanges(E))}pauseRecording(E){this.dispatch(new PauseRecording(E))}}return q.\u0275fac=function(E){return new(E||q)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.n$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.qLn),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y6),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG))},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:q,factory:q.\u0275fac}),q})();function emitInZone({ngZone:q,connectOutsideZone:H}){return E=>H?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(s=>E.subscribe({next:y=>q.run(()=>s.next(y)),error:y=>q.run(()=>s.error(y)),complete:()=>q.run(()=>s.complete())})):E}const IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(q,H){return!!q||H.monitor!==noMonitor}function createReduxDevtoolsExtension(){const q="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[q]<"u"?window[q]:null}function provideStoreDevtools(q={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:q},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.FR,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.mK,useExisting:DevtoolsDispatcher}])}function createStateObservable(q){return q.state}let StoreDevtoolsModule=(()=>{class q{static instrument(E={}){return{ngModule:q,providers:[provideStoreDevtools(E)]}}}return q.\u0275fac=function(E){return new(E||q)},q.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:q}),q.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({}),q})()},4221:(q,H,E)=>{"use strict";E.d(H,{UO:()=>Ke,qg:()=>qe,Y6:()=>Rt,mK:()=>lt,n$:()=>it,Y$:()=>ct,FR:()=>Gn,yh:()=>tr,CK:()=>qi,Aw:()=>Qi,cr:()=>Ti,wb:()=>sn,PH:()=>we,R7:()=>le,ZF:()=>bt,Lq:()=>Ut,P1:()=>yt,uZ:()=>Me,on:()=>Ro,Ky:()=>De});var s=E(5879),y=E(5619),W=E(5592),L=E(8645),N=E(2381),$=E(3093),V=E(2460),ee=E(6699),Y=E(7398),Z=E(3997),te=E(1993);const he={};function we(k,ge){if(he[k]=(he[k]||0)+1,"function"==typeof ge)return et(k,(...me)=>({...ge(...me),type:k}));switch(ge?ge._as:"empty"){case"empty":return et(k,()=>({type:k}));case"props":return et(k,me=>({...me,type:k}));default:throw new Error("Unexpected config.")}}function De(){return{_as:"props",_p:void 0}}function et(k,ge){return Object.defineProperty(ge,"type",{value:k,writable:!1})}function le(k){const{source:ge,events:ae}=k;return Object.keys(ae).reduce((me,Qe)=>({...me,[xe(Qe)]:we(Oe(ge,Qe),ae[Qe])}),{})}function Me(){return{_as:"props",_p:void 0}}function xe(k){return k.trim().split(" ").map((ge,ae)=>0===ae?function dt(k){return k.charAt(0).toLowerCase()+k.substring(1)}(ge):function ot(k){return k.charAt(0).toUpperCase()+k.substring(1)}(ge)).join("")}function Oe(k,ge){return`[${k}] ${ge}`}const qe="@ngrx/store/init";let Ke=(()=>{class k extends y.X{constructor(){super({type:qe})}next(ae){if("function"==typeof ae)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof ae>"u")throw new TypeError("Actions must be objects");if(typeof ae.type>"u")throw new TypeError("Actions must have a type property");super.next(ae)}complete(){}ngOnDestroy(){super.complete()}}return k.\u0275fac=function(ae){return new(ae||k)},k.\u0275prov=s.Yz7({token:k,factory:k.\u0275fac}),k})();const Tt=[Ke],It=new s.OlP("@ngrx/store Internal Root Guard"),Gt=new s.OlP("@ngrx/store Internal Initial State"),Rt=new s.OlP("@ngrx/store Initial State"),rn=new s.OlP("@ngrx/store Reducer Factory"),pn=new s.OlP("@ngrx/store Internal Reducer Factory Provider"),mn=new s.OlP("@ngrx/store Initial Reducers"),un=new s.OlP("@ngrx/store Internal Initial Reducers"),Bn=new s.OlP("@ngrx/store Store Features"),pe=new s.OlP("@ngrx/store Internal Store Reducers"),ve=new s.OlP("@ngrx/store Internal Feature Reducers"),Pe=new s.OlP("@ngrx/store Internal Feature Configs"),Ne=new s.OlP("@ngrx/store Internal Store Features"),We=new s.OlP("@ngrx/store Internal Feature Reducers Token"),Ee=new s.OlP("@ngrx/store Feature Reducers"),Se=new s.OlP("@ngrx/store User Provided Meta Reducers"),Le=new s.OlP("@ngrx/store Meta Reducers"),Pt=new s.OlP("@ngrx/store Internal Resolved Meta Reducers"),Ue=new s.OlP("@ngrx/store User Runtime Checks Config"),jt=new s.OlP("@ngrx/store Internal User Runtime Checks Config"),Ye=new s.OlP("@ngrx/store Internal Runtime Checks"),zt=new s.OlP("@ngrx/store Check if Action types are unique");function Ft(k,ge={}){const ae=Object.keys(k),me={};for(let tt=0;tttt(Qe),ae(ge))}}function Ce(k,ge){return Array.isArray(ge)&&ge.length>0&&(k=se.apply(null,[...ge,k])),(ae,me)=>{const Qe=k(ae);return(tt,Lt)=>Qe(tt=void 0===tt?me:tt,Lt)}}new s.OlP("@ngrx/store Root Store Provider"),new s.OlP("@ngrx/store Feature State Provider");class it extends W.y{}class lt extends Ke{}const sn="@ngrx/store/update-reducers";let nt=(()=>{class k extends y.X{get currentReducers(){return this.reducers}constructor(ae,me,Qe,tt){super(tt(Qe,me)),this.dispatcher=ae,this.initialState=me,this.reducers=Qe,this.reducerFactory=tt}addFeature(ae){this.addFeatures([ae])}addFeatures(ae){const me=ae.reduce((Qe,{reducers:tt,reducerFactory:Lt,metaReducers:vn,initialState:En,key:$t})=>{const ze="function"==typeof tt?function He(k){const ge=Array.isArray(k)&&k.length>0?se(...k):ae=>ae;return(ae,me)=>(ae=ge(ae),(Qe,tt)=>ae(Qe=void 0===Qe?me:Qe,tt))}(vn)(tt,En):Ce(Lt,vn)(tt,En);return Qe[$t]=ze,Qe},{});this.addReducers(me)}removeFeature(ae){this.removeFeatures([ae])}removeFeatures(ae){this.removeReducers(ae.map(me=>me.key))}addReducer(ae,me){this.addReducers({[ae]:me})}addReducers(ae){this.reducers={...this.reducers,...ae},this.updateReducers(Object.keys(ae))}removeReducer(ae){this.removeReducers([ae])}removeReducers(ae){ae.forEach(me=>{this.reducers=function ie(k,ge){return Object.keys(k).filter(ae=>ae!==ge).reduce((ae,me)=>Object.assign(ae,{[me]:k[me]}),{})}(this.reducers,me)}),this.updateReducers(ae)}updateReducers(ae){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:sn,features:ae})}ngOnDestroy(){this.complete()}}return k.\u0275fac=function(ae){return new(ae||k)(s.LFG(lt),s.LFG(Rt),s.LFG(mn),s.LFG(rn))},k.\u0275prov=s.Yz7({token:k,factory:k.\u0275fac}),k})();const mt=[nt,{provide:it,useExisting:nt},{provide:lt,useExisting:Ke}];let ct=(()=>{class k extends L.x{ngOnDestroy(){this.complete()}}return k.\u0275fac=function(){let ge;return function(me){return(ge||(ge=s.n5z(k)))(me||k)}}(),k.\u0275prov=s.Yz7({token:k,factory:k.\u0275fac}),k})();const Qt=[ct];class Gn extends W.y{}let _n=(()=>{class k extends y.X{constructor(ae,me,Qe,tt){super(tt);const $t=ae.pipe((0,$.Q)(N.N)).pipe((0,V.M)(me)).pipe((0,ee.R)(_t,{state:tt}));this.stateSubscription=$t.subscribe(({state:ze,action:Dt})=>{this.next(ze),Qe.next(Dt)}),this.state=(0,te.O4)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return k.INIT=qe,k.\u0275fac=function(ae){return new(ae||k)(s.LFG(Ke),s.LFG(it),s.LFG(ct),s.LFG(Rt))},k.\u0275prov=s.Yz7({token:k,factory:k.\u0275fac}),k})();function _t(k={state:void 0},[ge,ae]){const{state:me}=k;return{state:ae(me,ge),action:ge}}const on=[_n,{provide:Gn,useExisting:_n}];let tr=(()=>{class k extends W.y{constructor(ae,me,Qe){super(),this.actionsObserver=me,this.reducerManager=Qe,this.source=ae,this.state=ae.state}select(ae,...me){return Jn.call(null,ae,...me)(this)}selectSignal(ae,me){return(0,s.Flj)(()=>ae(this.state()),{equal:me?.equal||((Qe,tt)=>Qe===tt)})}lift(ae){const me=new k(this,this.actionsObserver,this.reducerManager);return me.operator=ae,me}dispatch(ae){this.actionsObserver.next(ae)}next(ae){this.actionsObserver.next(ae)}error(ae){this.actionsObserver.error(ae)}complete(){this.actionsObserver.complete()}addReducer(ae,me){this.reducerManager.addReducer(ae,me)}removeReducer(ae){this.reducerManager.removeReducer(ae)}}return k.\u0275fac=function(ae){return new(ae||k)(s.LFG(Gn),s.LFG(Ke),s.LFG(nt))},k.\u0275prov=s.Yz7({token:k,factory:k.\u0275fac}),k})();const Nt=[tr];function Jn(k,ge,...ae){return function(Qe){let tt;if("string"==typeof k){const Lt=[ge,...ae].filter(Boolean);tt=Qe.pipe(function K(...k){const ge=k.length;if(0===ge)throw new Error("list of properties cannot be empty.");return(0,Y.U)(ae=>{let me=ae;for(let Qe=0;Qek(Lt,ge)))}return tt.pipe((0,Z.x)())}}const Vt="https://ngrx.io/guide/store/configuration/runtime-checks";function sr(k){return void 0===k}function br(k){return null===k}function gr(k){return Array.isArray(k)}function dr(k){return"object"==typeof k&&null!==k}function In(k){return"function"==typeof k}let Br=!1;function G(k,ge){return k===ge}function ut(k,ge=G,ae=G){let tt,me=null,Qe=null;return{memoized:function $t(){if(void 0!==tt)return tt.result;if(!me)return Qe=k.apply(null,arguments),me=arguments,Qe;if(!function fe(k,ge,ae){for(let me=0;me"function"==typeof ge)}(me[0])&&(me=function Cr(k){const ge=Object.values(k),ae=Object.keys(k);return[...ge,(...Qe)=>ae.reduce((tt,Lt,vn)=>({...tt,[Lt]:Qe[vn]}),{})]}(me[0]));const Qe=me.slice(0,me.length-1),tt=me[me.length-1],Lt=Qe.filter(ze=>ze.release&&"function"==typeof ze.release),vn=k(function(...ze){return tt.apply(null,ze)}),En=ut(function(ze,Dt){return ge.stateFn.apply(null,[ze,Qe,Dt,vn])});return Object.assign(En.memoized,{release:function $t(){En.reset(),vn.reset(),Lt.forEach(ze=>ze.release())},projector:vn.memoized,setResult:En.setResult,clearResult:En.clearResult})}}(ut)(...k)}function Jt(k,ge,ae,me){if(void 0===ae){const tt=ge.map(Lt=>Lt(k));return me.memoized.apply(null,tt)}const Qe=ge.map(tt=>tt(k,ae));return me.memoized.apply(null,[...Qe,ae])}function bt(k){return yt(ge=>{const ae=ge[k];return!function oe(){return Br}()&&(0,s.X6Q)()&&!(k in ge)&&console.warn(`@ngrx/store: The feature name "${k}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${k}', ...) or StoreModule.forFeature('${k}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),ae},ge=>ge)}function fr(k){return k instanceof s.OlP?(0,s.f3M)(k):k}function wr(k,ge){return ge.map((ae,me)=>{if(k[me]instanceof s.OlP){const Qe=(0,s.f3M)(k[me]);return{key:ae.key,reducerFactory:Qe.reducerFactory?Qe.reducerFactory:Ft,metaReducers:Qe.metaReducers?Qe.metaReducers:[],initialState:Qe.initialState}}return ae})}function Xr(k){return k.map(ge=>ge instanceof s.OlP?(0,s.f3M)(ge):ge)}function Tr(k){return"function"==typeof k?k():k}function Li(k,ge){return k.concat(ge)}function mr(){if((0,s.f3M)(tr,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Ae(k){Object.freeze(k);const ge=In(k);return Object.getOwnPropertyNames(k).forEach(ae=>{if(!ae.startsWith("\u0275")&&function gn(k,ge){return Object.prototype.hasOwnProperty.call(k,ge)}(k,ae)&&(!ge||"caller"!==ae&&"callee"!==ae&&"arguments"!==ae)){const me=k[ae];(dr(me)||In(me))&&!Object.isFrozen(me)&&Ae(me)}}),k}function ye(k,ge=[]){return(sr(k)||br(k))&&0===ge.length?{path:["root"],value:k}:Object.keys(k).reduce((me,Qe)=>{if(me)return me;const tt=k[Qe];return function Rr(k){return In(k)&&k.hasOwnProperty("\u0275cmp")}(tt)?me:!(sr(tt)||br(tt)||function On(k){return"number"==typeof k}(tt)||function fi(k){return"boolean"==typeof k}(tt)||function Ar(k){return"string"==typeof k}(tt)||gr(tt))&&(function Dr(k){if(!function nr(k){return dr(k)&&!gr(k)}(k))return!1;const ge=Object.getPrototypeOf(k);return ge===Object.prototype||null===ge}(tt)?ye(tt,[...ge,Qe]):{path:[...ge,Qe],value:tt})},!1)}function Re(k,ge){if(!1===k)return;const ae=k.path.join("."),me=new Error(`Detected unserializable ${ge} at "${ae}". ${Vt}#strict${ge}serializability`);throw me.value=k.value,me.unserializablePath=ae,me}function at(k){return(0,s.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...k}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function ht({strictActionSerializability:k,strictStateSerializability:ge}){return ae=>k||ge?function U(k,ge){return function(ae,me){ge.action(me)&&Re(ye(me),"action");const Qe=k(ae,me);return ge.state()&&Re(ye(Qe),"state"),Qe}}(ae,{action:me=>k&&!Bt(me),state:()=>ge}):ae}function Ht({strictActionImmutability:k,strictStateImmutability:ge}){return ae=>k||ge?function z(k,ge){return function(ae,me){const Qe=ge.action(me)?Ae(me):me,tt=k(ae,Qe);return ge.state()?Ae(tt):tt}}(ae,{action:me=>k&&!Bt(me),state:()=>ge}):ae}function Bt(k){return k.type.startsWith("@ngrx")}function Cn({strictActionWithinNgZone:k}){return ge=>k?function st(k,ge){return function(ae,me){if(ge.action(me)&&!s.R0b.isInAngularZone())throw new Error(`Action '${me.type}' running outside NgZone. ${Vt}#strictactionwithinngzone`);return k(ae,me)}}(ge,{action:ae=>k&&!Bt(ae)}):ge}function An(k){return[{provide:jt,useValue:k},{provide:Ue,useFactory:zn,deps:[jt]},{provide:Ye,deps:[Ue],useFactory:at},{provide:Le,multi:!0,deps:[Ye],useFactory:Ht},{provide:Le,multi:!0,deps:[Ye],useFactory:ht},{provide:Le,multi:!0,deps:[Ye],useFactory:Cn}]}function ar(){return[{provide:zt,multi:!0,deps:[Ye],useFactory:Mr}]}function zn(k){return k}function Mr(k){if(!k.strictActionTypeUniqueness)return;const ge=Object.entries(he).filter(([,ae])=>ae>1).map(([ae])=>ae);if(ge.length)throw new Error(`Action types are registered more than once, ${ge.map(ae=>`"${ae}"`).join(", ")}. ${Vt}#strictactiontypeuniqueness`)}function pi(k={},ge={}){return[{provide:It,useFactory:mr},{provide:Gt,useValue:ge.initialState},{provide:Rt,useFactory:Tr,deps:[Gt]},{provide:un,useValue:k},{provide:pe,useExisting:k instanceof s.OlP?k:un},{provide:mn,deps:[un,[new s.tBr(pe)]],useFactory:fr},{provide:Se,useValue:ge.metaReducers?ge.metaReducers:[]},{provide:Pt,deps:[Le,Se],useFactory:Li},{provide:pn,useValue:ge.reducerFactory?ge.reducerFactory:Ft},{provide:rn,deps:[pn,Pt],useFactory:Ce},Tt,mt,Qt,on,Nt,An(ge.runtimeChecks),ar()]}function gi(k,ge,ae={}){return[{provide:Pe,multi:!0,useValue:k instanceof Object?{}:ae},{provide:Bn,multi:!0,useValue:{key:k instanceof Object?k.name:k,reducerFactory:ae instanceof s.OlP||!ae.reducerFactory?Ft:ae.reducerFactory,metaReducers:ae instanceof s.OlP||!ae.metaReducers?[]:ae.metaReducers,initialState:ae instanceof s.OlP||!ae.initialState?void 0:ae.initialState}},{provide:Ne,deps:[Pe,Bn],useFactory:wr},{provide:ve,multi:!0,useValue:k instanceof Object?k.reducer:ge},{provide:We,multi:!0,useExisting:ge instanceof s.OlP?ge:ve},{provide:Ee,multi:!0,deps:[ve,[new s.tBr(We)]],useFactory:Xr},ar()]}let Ti=(()=>{class k{constructor(ae,me,Qe,tt,Lt,vn){}}return k.\u0275fac=function(ae){return new(ae||k)(s.LFG(Ke),s.LFG(it),s.LFG(ct),s.LFG(tr),s.LFG(It,8),s.LFG(zt,8))},k.\u0275mod=s.oAB({type:k}),k.\u0275inj=s.cJS({}),k})(),qi=(()=>{class k{constructor(ae,me,Qe,tt,Lt){this.features=ae,this.featureReducers=me,this.reducerManager=Qe;const vn=ae.map((En,$t)=>{const Dt=me.shift()[$t];return{...En,reducers:Dt,initialState:Tr(En.initialState)}});Qe.addFeatures(vn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return k.\u0275fac=function(ae){return new(ae||k)(s.LFG(Ne),s.LFG(Ee),s.LFG(nt),s.LFG(Ti),s.LFG(zt,8))},k.\u0275mod=s.oAB({type:k}),k.\u0275inj=s.cJS({}),k})(),Qi=(()=>{class k{static forRoot(ae,me){return{ngModule:Ti,providers:[...pi(ae,me)]}}static forFeature(ae,me,Qe={}){return{ngModule:qi,providers:[...gi(ae,me,Qe)]}}}return k.\u0275fac=function(ae){return new(ae||k)},k.\u0275mod=s.oAB({type:k}),k.\u0275inj=s.cJS({}),k})();function Ro(...k){return{reducer:k.pop(),types:k.map(me=>me.type)}}function Ut(k,...ge){const ae=new Map;for(const me of ge)for(const Qe of me.types){const tt=ae.get(Qe);ae.set(Qe,tt?(vn,En)=>me.reducer(tt(vn,En),En):me.reducer)}return function(me=k,Qe){const tt=ae.get(Qe.type);return tt?tt(me,Qe):me}}},7582:(q,H,E)=>{"use strict";function te(pe,ve,Pe,Ne){return new(Pe||(Pe=Promise))(function(Ee,Se){function Le(jt){try{Ue(Ne.next(jt))}catch(Ye){Se(Ye)}}function Pt(jt){try{Ue(Ne.throw(jt))}catch(Ye){Se(Ye)}}function Ue(jt){jt.done?Ee(jt.value):function We(Ee){return Ee instanceof Pe?Ee:new Pe(function(Se){Se(Ee)})}(jt.value).then(Le,Pt)}Ue((Ne=Ne.apply(pe,ve||[])).next())})}function le(pe){return this instanceof le?(this.v=pe,this):new le(pe)}function Me(pe,ve,Pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var We,Ne=Pe.apply(pe,ve||[]),Ee=[];return We={},Se("next"),Se("throw"),Se("return"),We[Symbol.asyncIterator]=function(){return this},We;function Se(zt){Ne[zt]&&(We[zt]=function(qt){return new Promise(function(Mn,Ft){Ee.push([zt,qt,Mn,Ft])>1||Le(zt,qt)})})}function Le(zt,qt){try{!function Pt(zt){zt.value instanceof le?Promise.resolve(zt.value.v).then(Ue,jt):Ye(Ee[0][2],zt)}(Ne[zt](qt))}catch(Mn){Ye(Ee[0][3],Mn)}}function Ue(zt){Le("next",zt)}function jt(zt){Le("throw",zt)}function Ye(zt,qt){zt(qt),Ee.shift(),Ee.length&&Le(Ee[0][0],Ee[0][1])}}function Oe(pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Pe,ve=pe[Symbol.asyncIterator];return ve?ve.call(pe):(pe=function De(pe){var ve="function"==typeof Symbol&&Symbol.iterator,Pe=ve&&pe[ve],Ne=0;if(Pe)return Pe.call(pe);if(pe&&"number"==typeof pe.length)return{next:function(){return pe&&Ne>=pe.length&&(pe=void 0),{value:pe&&pe[Ne++],done:!pe}}};throw new TypeError(ve?"Object is not iterable.":"Symbol.iterator is not defined.")}(pe),Pe={},Ne("next"),Ne("throw"),Ne("return"),Pe[Symbol.asyncIterator]=function(){return this},Pe);function Ne(Ee){Pe[Ee]=pe[Ee]&&function(Se){return new Promise(function(Le,Pt){!function We(Ee,Se,Le,Pt){Promise.resolve(Pt).then(function(Ue){Ee({value:Ue,done:Le})},Se)}(Le,Pt,(Se=pe[Ee](Se)).done,Se.value)})}}}E.d(H,{FC:()=>Me,KL:()=>Oe,mG:()=>te,qq:()=>le}),"function"==typeof SuppressedError&&SuppressedError}},q=>{var H=s=>q(q.s=s);H(2614),H(4339)}]); \ No newline at end of file diff --git a/main.ae0d1e8fb773af48.js b/main.ae0d1e8fb773af48.js deleted file mode 100644 index f7d0664..0000000 --- a/main.ae0d1e8fb773af48.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{4642:(q,H,E)=>{"use strict";E.d(H,{g:()=>s,w:()=>y});const s=["black","brown","red","orange","yellow","green","blue","violet","grey","white","gold","silver","none"],y={digit1:{black:null,brown:1,red:2,orange:3,yellow:4,green:5,blue:6,violet:7,grey:8,white:9,gold:null,silver:null,none:null},digit2:{black:0,brown:1,red:2,orange:3,yellow:4,green:5,blue:6,violet:7,grey:8,white:9,gold:null,silver:null,none:null},digit3:{black:0,brown:1,red:2,orange:3,yellow:4,green:5,blue:6,violet:7,grey:8,white:9,gold:null,silver:null,none:null},multiplier:{black:1,brown:10,red:100,orange:1e3,yellow:1e4,green:1e5,blue:1e6,violet:1e7,grey:null,white:null,gold:.1,silver:.01,none:null},tolerance:{black:null,brown:1,red:2,orange:null,yellow:null,green:.5,blue:.25,violet:.1,grey:.05,white:null,gold:5,silver:10,none:20},thermalCoefficient:{black:null,brown:100,red:50,orange:15,yellow:25,green:null,blue:10,violet:5,grey:null,white:null,gold:null,silver:null,none:null}}},5353:(q,H,E)=>{"use strict";E.d(H,{H:()=>L});var s=E(2096),y=E(4642),W=E(5879);let L=(()=>{class N{constructor(){this.bandsCounts=[3,4,5,6],this.bandsColors=y.g,this.resistorConfig=y.w}retrieveResistor(){return(0,s.of)({digit1:{color:"brown"},digit2:{color:"black"},digit3:{color:"red"},multiplier:{color:"orange"},tolerance:{color:"gold"},thermalCoefficient:{color:"red"},bandsCount:4})}}return N.\u0275fac=function(V){return new(V||N)},N.\u0275prov=W.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})()},3454:(q,H,E)=>{"use strict";E.d(H,{E:()=>y,q:()=>N});var s=E(4642);function y($,V){const ee=3===V.bandsCount;return{digit1:{color:W(V,"digit1"),value:L(V,"digit1")},digit2:{color:W(V,"digit2"),value:L(V,"digit2")},digit3:{color:W(V,"digit3"),value:L(V,"digit3"),active:V.bandsCount>=5},multiplier:{color:W(V,"multiplier"),value:L(V,"multiplier")},tolerance:{color:ee?"none":W(V,"tolerance"),value:ee?s.w.tolerance.none:L(V,"tolerance"),active:V.bandsCount>=4,forceToleranceToTwentyPercent:ee},thermalCoefficient:{color:W(V,"thermalCoefficient"),value:L(V,"thermalCoefficient"),active:6===V.bandsCount},bandsCount:V.bandsCount}}function W($,V){return $[V].color}function L($,V){return s.w[V][$[V].color]}function N(){const $=[{value:1,digit1Color:"brown",digit2Color:"black"},{value:1.2,digit1Color:"brown",digit2Color:"red"},{value:1.5,digit1Color:"brown",digit2Color:"green"},{value:1.8,digit1Color:"brown",digit2Color:"grey"},{value:2.2,digit1Color:"red",digit2Color:"red"},{value:2.7,digit1Color:"red",digit2Color:"violet"},{value:3.3,digit1Color:"orange",digit2Color:"orange"},{value:3.9,digit1Color:"orange",digit2Color:"white"},{value:4.7,digit1Color:"yellow",digit2Color:"violet"},{value:5.6,digit1Color:"green",digit2Color:"blue"},{value:6.8,digit1Color:"blue",digit2Color:"grey"},{value:8.2,digit1Color:"grey",digit2Color:"red"}],V=[];for(let K=0;K<=5;K++)$.forEach(Z=>{V.push({value:Z.value*Math.pow(10,K+1),digit1Color:Z.digit1Color,digit2Color:Z.digit2Color,multiplierColor:s.g[K],toleranceColor:"gold",bandsCount:4})});const Y=$[0];return V.push({value:Y.value*Math.pow(10,7),digit1Color:Y.digit1Color,digit2Color:Y.digit2Color,multiplierColor:s.g[6],toleranceColor:"gold",bandsCount:4}),V}},2387:(q,H,E)=>{"use strict";E.d(H,{R1:()=>L,ZG:()=>W,d9:()=>N,tf:()=>y});var s=E(4221);const y=(0,s.R7)({source:"Resistor",events:{"Update Resistor 4 Band":(0,s.Ky)(),"Update Digit 1":(0,s.Ky)(),"Update Digit 2":(0,s.Ky)(),"Update Digit 3":(0,s.Ky)(),"Update Multiplier":(0,s.Ky)(),"Update Tolerance":(0,s.Ky)(),"Update Thermal Coefficient":(0,s.Ky)(),"Update Bands Count":(0,s.Ky)()}}),W=(0,s.R7)({source:"Resistor API",events:{"Retrieve Resistor":(0,s.uZ)(),"Retrieve Resistor success":(0,s.Ky)()}}),L=(0,s.R7)({source:"Decode",events:{"Decode Resistor":(0,s.Ky)()}}),N=(0,s.R7)({source:"Characteristics",events:{"Calculate Characteristics":(0,s.Ky)()}})},7782:(q,H,E)=>{"use strict";E.d(H,{Nn:()=>y,RJ:()=>ee,cD:()=>K,gD:()=>V,oo:()=>L,sN:()=>Y,si:()=>$,uy:()=>W,y8:()=>Z});var s=E(4221),y=function(te){return te.Resistor="Resistor",te.Decode="Decode",te.Characteristics="Characteristics",te}(y||{});const W=(0,s.ZF)(y.Resistor),L=(0,s.ZF)(y.Decode),N=(0,s.ZF)(y.Characteristics),$=(0,s.P1)(N,te=>te.resistance),V=(0,s.P1)(N,te=>te.resistanceMin),ee=(0,s.P1)(N,te=>te.resistanceMax),Y=(0,s.P1)(N,te=>te.tolerance),K=(0,s.P1)(N,te=>te.toleranceOhm),Z=(0,s.P1)(N,te=>te.thermalCoefficient)},7690:(q,H,E)=>{"use strict";E.d(H,{m:()=>$});var s=E(6814),y=E(8287),W=E(132),L=E(5879);let N=(()=>{class V{}return V.\u0275fac=function(Y){return new(Y||V)},V.\u0275mod=L.oAB({type:V}),V.\u0275inj=L.cJS({imports:[W.lQ,W.XC,W.Oz,W.HK]}),V})(),$=(()=>{class V{}return V.\u0275fac=function(Y){return new(Y||V)},V.\u0275mod=L.oAB({type:V}),V.\u0275inj=L.cJS({imports:[s.ez,y.y4,N]}),V})()},4339:(q,H,E)=>{"use strict";var s=E(6593),y=E(5879),W=E(2096),L=E(9666),N=E(5592),$=E(6328),V=E(2181),ee=E(7398),Y=E(4716),K=E(4664),Z=E(6814);class te{}class he{}class re{constructor(I){this.normalizedNames=new Map,this.lazyUpdate=null,I?"string"==typeof I?this.lazyInit=()=>{this.headers=new Map,I.split("\n").forEach(O=>{const Q=O.indexOf(":");if(Q>0){const Te=O.slice(0,Q),Be=Te.toLowerCase(),Fe=O.slice(Q+1).trim();this.maybeSetNormalizedName(Te,Be),this.headers.has(Be)?this.headers.get(Be).push(Fe):this.headers.set(Be,[Fe])}})}:typeof Headers<"u"&&I instanceof Headers?(this.headers=new Map,I.forEach((O,Q)=>{this.setHeaderEntries(Q,O)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(I).forEach(([O,Q])=>{this.setHeaderEntries(O,Q)})}:this.headers=new Map}has(I){return this.init(),this.headers.has(I.toLowerCase())}get(I){this.init();const O=this.headers.get(I.toLowerCase());return O&&O.length>0?O[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(I){return this.init(),this.headers.get(I.toLowerCase())||null}append(I,O){return this.clone({name:I,value:O,op:"a"})}set(I,O){return this.clone({name:I,value:O,op:"s"})}delete(I,O){return this.clone({name:I,value:O,op:"d"})}maybeSetNormalizedName(I,O){this.normalizedNames.has(O)||this.normalizedNames.set(O,I)}init(){this.lazyInit&&(this.lazyInit instanceof re?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(I=>this.applyUpdate(I)),this.lazyUpdate=null))}copyFrom(I){I.init(),Array.from(I.headers.keys()).forEach(O=>{this.headers.set(O,I.headers.get(O)),this.normalizedNames.set(O,I.normalizedNames.get(O))})}clone(I){const O=new re;return O.lazyInit=this.lazyInit&&this.lazyInit instanceof re?this.lazyInit:this,O.lazyUpdate=(this.lazyUpdate||[]).concat([I]),O}applyUpdate(I){const O=I.name.toLowerCase();switch(I.op){case"a":case"s":let Q=I.value;if("string"==typeof Q&&(Q=[Q]),0===Q.length)return;this.maybeSetNormalizedName(I.name,O);const Te=("a"===I.op?this.headers.get(O):void 0)||[];Te.push(...Q),this.headers.set(O,Te);break;case"d":const Be=I.value;if(Be){let Fe=this.headers.get(O);if(!Fe)return;Fe=Fe.filter(Et=>-1===Be.indexOf(Et)),0===Fe.length?(this.headers.delete(O),this.normalizedNames.delete(O)):this.headers.set(O,Fe)}else this.headers.delete(O),this.normalizedNames.delete(O)}}setHeaderEntries(I,O){const Q=(Array.isArray(O)?O:[O]).map(Be=>Be.toString()),Te=I.toLowerCase();this.headers.set(Te,Q),this.maybeSetNormalizedName(I,Te)}forEach(I){this.init(),Array.from(this.normalizedNames.keys()).forEach(O=>I(this.normalizedNames.get(O),this.headers.get(O)))}}class De{encodeKey(I){return dt(I)}encodeValue(I){return dt(I)}decodeKey(I){return decodeURIComponent(I)}decodeValue(I){return decodeURIComponent(I)}}const et=/%(\d[a-f0-9])/gi,ot={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function dt(w){return encodeURIComponent(w).replace(et,(I,O)=>ot[O]??I)}function le(w){return`${w}`}class Me{constructor(I={}){if(this.updates=null,this.cloneFrom=null,this.encoder=I.encoder||new De,I.fromString){if(I.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ze(w,I){const O=new Map;return w.length>0&&w.replace(/^\?/,"").split("&").forEach(Te=>{const Be=Te.indexOf("="),[Fe,Et]=-1==Be?[I.decodeKey(Te),""]:[I.decodeKey(Te.slice(0,Be)),I.decodeValue(Te.slice(Be+1))],St=O.get(Fe)||[];St.push(Et),O.set(Fe,St)}),O}(I.fromString,this.encoder)}else I.fromObject?(this.map=new Map,Object.keys(I.fromObject).forEach(O=>{const Q=I.fromObject[O],Te=Array.isArray(Q)?Q.map(le):[le(Q)];this.map.set(O,Te)})):this.map=null}has(I){return this.init(),this.map.has(I)}get(I){this.init();const O=this.map.get(I);return O?O[0]:null}getAll(I){return this.init(),this.map.get(I)||null}keys(){return this.init(),Array.from(this.map.keys())}append(I,O){return this.clone({param:I,value:O,op:"a"})}appendAll(I){const O=[];return Object.keys(I).forEach(Q=>{const Te=I[Q];Array.isArray(Te)?Te.forEach(Be=>{O.push({param:Q,value:Be,op:"a"})}):O.push({param:Q,value:Te,op:"a"})}),this.clone(O)}set(I,O){return this.clone({param:I,value:O,op:"s"})}delete(I,O){return this.clone({param:I,value:O,op:"d"})}toString(){return this.init(),this.keys().map(I=>{const O=this.encoder.encodeKey(I);return this.map.get(I).map(Q=>O+"="+this.encoder.encodeValue(Q)).join("&")}).filter(I=>""!==I).join("&")}clone(I){const O=new Me({encoder:this.encoder});return O.cloneFrom=this.cloneFrom||this,O.updates=(this.updates||[]).concat(I),O}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(I=>this.map.set(I,this.cloneFrom.map.get(I))),this.updates.forEach(I=>{switch(I.op){case"a":case"s":const O=("a"===I.op?this.map.get(I.param):void 0)||[];O.push(le(I.value)),this.map.set(I.param,O);break;case"d":if(void 0===I.value){this.map.delete(I.param);break}{let Q=this.map.get(I.param)||[];const Te=Q.indexOf(le(I.value));-1!==Te&&Q.splice(Te,1),Q.length>0?this.map.set(I.param,Q):this.map.delete(I.param)}}}),this.cloneFrom=this.updates=null)}}class Oe{constructor(){this.map=new Map}set(I,O){return this.map.set(I,O),this}get(I){return this.map.has(I)||this.map.set(I,I.defaultValue()),this.map.get(I)}delete(I){return this.map.delete(I),this}has(I){return this.map.has(I)}keys(){return this.map.keys()}}function Ke(w){return typeof ArrayBuffer<"u"&&w instanceof ArrayBuffer}function Tt(w){return typeof Blob<"u"&&w instanceof Blob}function It(w){return typeof FormData<"u"&&w instanceof FormData}class Rt{constructor(I,O,Q,Te){let Be;if(this.url=O,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=I.toUpperCase(),function qe(w){switch(w){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Te?(this.body=void 0!==Q?Q:null,Be=Te):Be=Q,Be&&(this.reportProgress=!!Be.reportProgress,this.withCredentials=!!Be.withCredentials,Be.responseType&&(this.responseType=Be.responseType),Be.headers&&(this.headers=Be.headers),Be.context&&(this.context=Be.context),Be.params&&(this.params=Be.params)),this.headers||(this.headers=new re),this.context||(this.context=new Oe),this.params){const Fe=this.params.toString();if(0===Fe.length)this.urlWithParams=O;else{const Et=O.indexOf("?");this.urlWithParams=O+(-1===Et?"?":EtHn.set(Kn,I.setHeaders[Kn]),St)),I.setParams&&(Rn=Object.keys(I.setParams).reduce((Hn,Kn)=>Hn.set(Kn,I.setParams[Kn]),Rn)),new Rt(O,Q,Be,{params:Rn,headers:St,context:Xn,reportProgress:Et,responseType:Te,withCredentials:Fe})}}var rn=function(w){return w[w.Sent=0]="Sent",w[w.UploadProgress=1]="UploadProgress",w[w.ResponseHeader=2]="ResponseHeader",w[w.DownloadProgress=3]="DownloadProgress",w[w.Response=4]="Response",w[w.User=5]="User",w}(rn||{});class pn{constructor(I,O=200,Q="OK"){this.headers=I.headers||new re,this.status=void 0!==I.status?I.status:O,this.statusText=I.statusText||Q,this.url=I.url||null,this.ok=this.status>=200&&this.status<300}}class mn extends pn{constructor(I={}){super(I),this.type=rn.ResponseHeader}clone(I={}){return new mn({headers:I.headers||this.headers,status:void 0!==I.status?I.status:this.status,statusText:I.statusText||this.statusText,url:I.url||this.url||void 0})}}class un extends pn{constructor(I={}){super(I),this.type=rn.Response,this.body=void 0!==I.body?I.body:null}clone(I={}){return new un({body:void 0!==I.body?I.body:this.body,headers:I.headers||this.headers,status:void 0!==I.status?I.status:this.status,statusText:I.statusText||this.statusText,url:I.url||this.url||void 0})}}class Bn extends pn{constructor(I){super(I,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${I.url||"(unknown url)"}`:`Http failure response for ${I.url||"(unknown url)"}: ${I.status} ${I.statusText}`,this.error=I.error||null}}function pe(w,I){return{body:I,headers:w.headers,context:w.context,observe:w.observe,params:w.params,reportProgress:w.reportProgress,responseType:w.responseType,withCredentials:w.withCredentials}}let ve=(()=>{class w{constructor(O){this.handler=O}request(O,Q,Te={}){let Be;if(O instanceof Rt)Be=O;else{let St,Rn;St=Te.headers instanceof re?Te.headers:new re(Te.headers),Te.params&&(Rn=Te.params instanceof Me?Te.params:new Me({fromObject:Te.params})),Be=new Rt(O,Q,void 0!==Te.body?Te.body:null,{headers:St,context:Te.context,params:Rn,reportProgress:Te.reportProgress,responseType:Te.responseType||"json",withCredentials:Te.withCredentials})}const Fe=(0,W.of)(Be).pipe((0,$.b)(St=>this.handler.handle(St)));if(O instanceof Rt||"events"===Te.observe)return Fe;const Et=Fe.pipe((0,V.h)(St=>St instanceof un));switch(Te.observe||"body"){case"body":switch(Be.responseType){case"arraybuffer":return Et.pipe((0,ee.U)(St=>{if(null!==St.body&&!(St.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return St.body}));case"blob":return Et.pipe((0,ee.U)(St=>{if(null!==St.body&&!(St.body instanceof Blob))throw new Error("Response is not a Blob.");return St.body}));case"text":return Et.pipe((0,ee.U)(St=>{if(null!==St.body&&"string"!=typeof St.body)throw new Error("Response is not a string.");return St.body}));default:return Et.pipe((0,ee.U)(St=>St.body))}case"response":return Et;default:throw new Error(`Unreachable: unhandled observe type ${Te.observe}}`)}}delete(O,Q={}){return this.request("DELETE",O,Q)}get(O,Q={}){return this.request("GET",O,Q)}head(O,Q={}){return this.request("HEAD",O,Q)}jsonp(O,Q){return this.request("JSONP",O,{params:(new Me).append(Q,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(O,Q={}){return this.request("OPTIONS",O,Q)}patch(O,Q,Te={}){return this.request("PATCH",O,pe(Te,Q))}post(O,Q,Te={}){return this.request("POST",O,pe(Te,Q))}put(O,Q,Te={}){return this.request("PUT",O,pe(Te,Q))}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(te))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})();function Ue(w,I){return I(w)}function jt(w,I){return(O,Q)=>I.intercept(O,{handle:Te=>w(Te,Q)})}const zt=new y.OlP(""),qt=new y.OlP(""),Mn=new y.OlP("");function Ft(){let w=null;return(I,O)=>{null===w&&(w=((0,y.f3M)(zt,{optional:!0})??[]).reduceRight(jt,Ue));const Q=(0,y.f3M)(y.HDt),Te=Q.add();return w(I,O).pipe((0,Y.x)(()=>Q.remove(Te)))}}let ie=(()=>{class w extends te{constructor(O,Q){super(),this.backend=O,this.injector=Q,this.chain=null,this.pendingTasks=(0,y.f3M)(y.HDt)}handle(O){if(null===this.chain){const Te=Array.from(new Set([...this.injector.get(qt),...this.injector.get(Mn,[])]));this.chain=Te.reduceRight((Be,Fe)=>function Ye(w,I,O){return(Q,Te)=>O.runInContext(()=>I(Q,Be=>w(Be,Te)))}(Be,Fe,this.injector),Ue)}const Q=this.pendingTasks.add();return this.chain(O,Te=>this.backend.handle(Te)).pipe((0,Y.x)(()=>this.pendingTasks.remove(Q)))}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(he),y.LFG(y.lqb))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})();const _n=/^\)\]\}',?\n/;let on=(()=>{class w{constructor(O){this.xhrFactory=O}handle(O){if("JSONP"===O.method)throw new y.vHH(-2800,!1);const Q=this.xhrFactory;return(Q.\u0275loadImpl?(0,L.D)(Q.\u0275loadImpl()):(0,W.of)(null)).pipe((0,K.w)(()=>new N.y(Be=>{const Fe=Q.build();if(Fe.open(O.method,O.urlWithParams),O.withCredentials&&(Fe.withCredentials=!0),O.headers.forEach((Yt,dn)=>Fe.setRequestHeader(Yt,dn.join(","))),O.headers.has("Accept")||Fe.setRequestHeader("Accept","application/json, text/plain, */*"),!O.headers.has("Content-Type")){const Yt=O.detectContentTypeHeader();null!==Yt&&Fe.setRequestHeader("Content-Type",Yt)}if(O.responseType){const Yt=O.responseType.toLowerCase();Fe.responseType="json"!==Yt?Yt:"text"}const Et=O.serializeBody();let St=null;const Rn=()=>{if(null!==St)return St;const Yt=Fe.statusText||"OK",dn=new re(Fe.getAllResponseHeaders()),xr=function _t(w){return"responseURL"in w&&w.responseURL?w.responseURL:/^X-Request-URL:/m.test(w.getAllResponseHeaders())?w.getResponseHeader("X-Request-URL"):null}(Fe)||O.url;return St=new mn({headers:dn,status:Fe.status,statusText:Yt,url:xr}),St},Xn=()=>{let{headers:Yt,status:dn,statusText:xr,url:bi}=Rn(),Fr=null;204!==dn&&(Fr=typeof Fe.response>"u"?Fe.responseText:Fe.response),0===dn&&(dn=Fr?200:0);let ws=dn>=200&&dn<300;if("json"===O.responseType&&"string"==typeof Fr){const _o=Fr;Fr=Fr.replace(_n,"");try{Fr=""!==Fr?JSON.parse(Fr):null}catch(os){Fr=_o,ws&&(ws=!1,Fr={error:os,text:Fr})}}ws?(Be.next(new un({body:Fr,headers:Yt,status:dn,statusText:xr,url:bi||void 0})),Be.complete()):Be.error(new Bn({error:Fr,headers:Yt,status:dn,statusText:xr,url:bi||void 0}))},Hn=Yt=>{const{url:dn}=Rn(),xr=new Bn({error:Yt,status:Fe.status||0,statusText:Fe.statusText||"Unknown Error",url:dn||void 0});Be.error(xr)};let Kn=!1;const $r=Yt=>{Kn||(Be.next(Rn()),Kn=!0);let dn={type:rn.DownloadProgress,loaded:Yt.loaded};Yt.lengthComputable&&(dn.total=Yt.total),"text"===O.responseType&&Fe.responseText&&(dn.partialText=Fe.responseText),Be.next(dn)},Fn=Yt=>{let dn={type:rn.UploadProgress,loaded:Yt.loaded};Yt.lengthComputable&&(dn.total=Yt.total),Be.next(dn)};return Fe.addEventListener("load",Xn),Fe.addEventListener("error",Hn),Fe.addEventListener("timeout",Hn),Fe.addEventListener("abort",Hn),O.reportProgress&&(Fe.addEventListener("progress",$r),null!==Et&&Fe.upload&&Fe.upload.addEventListener("progress",Fn)),Fe.send(Et),Be.next({type:rn.Sent}),()=>{Fe.removeEventListener("error",Hn),Fe.removeEventListener("abort",Hn),Fe.removeEventListener("load",Xn),Fe.removeEventListener("timeout",Hn),O.reportProgress&&(Fe.removeEventListener("progress",$r),null!==Et&&Fe.upload&&Fe.upload.removeEventListener("progress",Fn)),Fe.readyState!==Fe.DONE&&Fe.abort()}})))}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(Z.JF))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})();const tr=new y.OlP("XSRF_ENABLED"),Jn=new y.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),sr=new y.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class br{}let gr=(()=>{class w{constructor(O,Q,Te){this.doc=O,this.platform=Q,this.cookieName=Te,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const O=this.doc.cookie||"";return O!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Z.Mx)(O,this.cookieName),this.lastCookieString=O),this.lastToken}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(Z.K0),y.LFG(y.Lbi),y.LFG(Jn))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})();function Ar(w,I){const O=w.url.toLowerCase();if(!(0,y.f3M)(tr)||"GET"===w.method||"HEAD"===w.method||O.startsWith("http://")||O.startsWith("https://"))return I(w);const Q=(0,y.f3M)(br).getToken(),Te=(0,y.f3M)(sr);return null!=Q&&!w.headers.has(Te)&&(w=w.clone({headers:w.headers.set(Te,Q)})),I(w)}var On=function(w){return w[w.Interceptors=0]="Interceptors",w[w.LegacyInterceptors=1]="LegacyInterceptors",w[w.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",w[w.NoXsrfProtection=3]="NoXsrfProtection",w[w.JsonpSupport=4]="JsonpSupport",w[w.RequestsMadeViaParent=5]="RequestsMadeViaParent",w[w.Fetch=6]="Fetch",w}(On||{});function dr(w,I){return{\u0275kind:w,\u0275providers:I}}function nr(...w){const I=[ve,on,ie,{provide:te,useExisting:ie},{provide:he,useExisting:on},{provide:qt,useValue:Ar,multi:!0},{provide:tr,useValue:!0},{provide:br,useClass:gr}];for(const O of w)I.push(...O.\u0275providers);return(0,y.MR2)(I)}const In=new y.OlP("LEGACY_INTERCEPTOR_FN");let je=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({providers:[nr(dr(On.LegacyInterceptors,[{provide:In,useFactory:Ft},{provide:qt,useExisting:In,multi:!0}]))]}),w})();var hi=E(7690);let Er=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({imports:[Z.ez,hi.m]}),w})();var fr=E(8287),wr=E(5619);const Xr=[{lang:"en",label:"English"},{lang:"fr",label:"Fran\xe7ais"}];let Tr=(()=>{class w{constructor(){this.transloco=(0,y.f3M)(fr.Vn),this.document=(0,y.f3M)(Z.K0),this.langLabelSubject=new wr.X(""),this.langLabel$=this.langLabelSubject.asObservable()}setLang(O){this.setLangInStorage(O),this.document.documentElement.lang=O,this.langLabelSubject.next(O),this.transloco.setActiveLang(O)}retrieveLang(){const O=this.getLangFromStorage();return null===O?this.transloco.getActiveLang():O}setLangInStorage(O){localStorage.setItem("lang",O)}findLangConfig(O){return Xr.find(Q=>Q.lang===O)}getLangFromStorage(){return localStorage.getItem("lang")}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})(),Li=(()=>{class w{constructor(){this.langService=(0,y.f3M)(Tr)}intercept(O,Q){return this.langService.setLang(this.langService.retrieveLang()),Q.handle(O)}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})();var mr=E(7133);let z=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({imports:[Z.ez,mr.Bz,hi.m]}),w})(),Ae=(()=>{class w{constructor(){this.document=(0,y.f3M)(Z.K0),this.themeNameSubject=new wr.X("light"),this.themeName$=this.themeNameSubject.asObservable(),this.themeConfig=[{name:"light",key:"light",icon:"bi-brightness-high-fill"},{name:"dark",key:"dark",icon:"bi-moon-stars-fill"}]}setTheme(O){this.setThemeInStorage(O),this.document.documentElement.setAttribute("data-bs-theme",O),this.themeNameSubject.next(O)}retrieveTheme(){const O=this.getThemeFromStorage();return null===O?"light":O}findTheme(O){return this.themeConfig.find(Q=>Q.name===O)}setThemeInStorage(O){localStorage.setItem("theme",O)}getThemeFromStorage(){return localStorage.getItem("theme")}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})(),U=(()=>{class w{constructor(){this.themeService=(0,y.f3M)(Ae)}intercept(O,Q){return this.themeService.setTheme(this.themeService.retrieveTheme()),Q.handle(O)}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})(),ye=(()=>{class w{constructor(O){if(O)throw new Error("Core is already loaded. Import it in the AppModule only.")}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(w,12))},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({providers:[{provide:zt,useClass:Li,multi:!0},{provide:zt,useClass:U,multi:!0}],imports:[Z.ez,z,Er,z,Er]}),w})();var Re=E(7632);function st(w,I){1&w&&(y.ynx(0),y.TgZ(1,"p"),y._uU(2," Salut ! Je suis Jean-Philippe, d\xe9veloppeur Symfony & Angular. "),y.qZA(),y.TgZ(3,"p")(4,"strong"),y._uU(5,"Resistor Color Code Calculator"),y.qZA(),y._uU(6," est une \xe9tude de cas personnelle, autour d'une application permettant de calculer les caract\xe9ristiques de diff\xe9rentes r\xe9sistances. "),y.qZA(),y.TgZ(7,"p"),y._uU(8," Cette application est d\xe9velopp\xe9e avec "),y.TgZ(9,"a",14),y._uU(10,"Angular"),y.qZA(),y._uU(11,", "),y.TgZ(12,"a",15),y._uU(13,"NgBootstrap"),y.qZA(),y._uU(14," et "),y.TgZ(15,"a",16),y._uU(16,"Bootstrap 5"),y.qZA(),y._uU(17,", et me permet d'\xe9tudier "),y.TgZ(18,"a",17),y._uU(19,"NgRx"),y.qZA(),y._uU(20," et "),y.TgZ(21,"a",18),y._uU(22,"Redux"),y.qZA(),y._uU(23,". Elle me permet aussi d'essayer "),y.TgZ(24,"a",19),y._uU(25,"Transloco"),y.qZA(),y._uU(26,", une librairie Angular d\xe9dier \xe0 la traduction de contenus. "),y.qZA(),y.TgZ(27,"p"),y._uU(28," L'application n'a aucune vocation commerciale et ne recueille aucune donn\xe9e sur son trafic. C'est un projet open source disponible sur "),y.TgZ(29,"a",20),y._uU(30,"GitHub"),y.qZA(),y._uU(31,". "),y.qZA(),y.TgZ(32,"p",21),y._uU(33," N'h\xe9sitez pas \xe0 me faire part de vos commentaires/suggestions dans la "),y._UZ(34,"br"),y.TgZ(35,"a",22),y._uU(36," section des questions Git "),y.qZA(),y._uU(37,". "),y.qZA(),y.BQk())}function at(w,I){1&w&&(y.TgZ(0,"p"),y._uU(1," Hi, I'm Jean-Philippe, Symfony & Angular developer. "),y.qZA(),y.TgZ(2,"p")(3,"strong"),y._uU(4,"Resistor Color Code Calculator"),y.qZA(),y._uU(5," is a personal case study based on an application that calculates the characteristics of different resistors. "),y.qZA(),y.TgZ(6,"p"),y._uU(7," This application is developed with "),y.TgZ(8,"a",14),y._uU(9,"Angular"),y.qZA(),y._uU(10,", "),y.TgZ(11,"a",15),y._uU(12,"NgBootstrap"),y.qZA(),y._uU(13," and "),y.TgZ(14,"a",16),y._uU(15,"Bootstrap 5"),y.qZA(),y._uU(16,", and allows me to study "),y.TgZ(17,"a",17),y._uU(18,"NgRx"),y.qZA(),y._uU(19," and "),y.TgZ(20,"a",18),y._uU(21,"Redux"),y.qZA(),y._uU(22,". It also lets me try out "),y.TgZ(23,"a",19),y._uU(24,"Transloco"),y.qZA(),y._uU(25,", an Angular library dedicated to content translation. "),y.qZA(),y.TgZ(26,"p"),y._uU(27," The application has no commercial purpose and collects no traffic data. It is an open source project available on "),y.TgZ(28,"a",20),y._uU(29,"GitHub"),y.qZA(),y._uU(30,". "),y.qZA(),y.TgZ(31,"p",21),y._uU(32," Feel free to make comments/suggestions to me in the "),y._UZ(33,"br"),y.TgZ(34,"a",22),y._uU(35," Git issues section "),y.qZA(),y._uU(36,". "),y.qZA())}function ht(w,I){if(1&w&&(y.TgZ(0,"div",11),y.YNc(1,st,38,0,"ng-container",12),y.YNc(2,at,37,0,"ng-template",null,13,y.W1O),y.qZA()),2&w){const O=I.ngIf,Q=y.MAs(3);y.xp6(1),y.Q6J("ngIf","fr"===O)("ngIfElse",Q)}}function Ht(w,I){if(1&w&&(y.TgZ(0,"div",1)(1,"h1",2),y._uU(2),y.ALo(3,"titlecase"),y.qZA(),y.YNc(4,ht,4,2,"div",3),y.ALo(5,"async"),y.TgZ(6,"div",4)(7,"a",5),y._UZ(8,"i",6),y.qZA(),y.TgZ(9,"a",7),y._UZ(10,"i",8),y.qZA(),y.TgZ(11,"a",9),y._UZ(12,"i",10),y.qZA()()()),2&w){const O=I.$implicit,Q=y.oxw();y.xp6(2),y.Oqu(y.lcZ(3,2,O("about"))),y.xp6(2),y.Q6J("ngIf",y.lcZ(5,4,Q.langLabel$))}}const An=[{path:"",redirectTo:"resistor",pathMatch:"full"},{path:"resistor",loadChildren:()=>E.e(287).then(E.bind(E,6287)).then(w=>w.ResistorModule)},{path:"about",component:(()=>{class w{constructor(){this.langService=(0,y.f3M)(Tr),this.langLabel$=this.langService.langLabel$}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275cmp=y.Xpm({type:w,selectors:[["app-about"]],standalone:!0,features:[y.jDz],decls:1,vars:0,consts:[["class","container-sm pt-5",4,"transloco"],[1,"container-sm","pt-5"],[1,"mb-4"],["class","fs-4",4,"ngIf"],[1,"text-center","pt-4"],["href","https://twitter.com/jprivet_dev","target","_blank",1,"btn","btn-primary","btn-lg","mx-2"],[1,"bi","bi-twitter"],["href","https://github.com/jprivet-dev","target","_blank",1,"btn","btn-primary","btn-lg","mx-2"],[1,"bi","bi-github"],["href","https://www.linkedin.com/in/jprivet","target","_blank",1,"btn","btn-primary","btn-lg","mx-2"],[1,"bi","bi-linkedin"],[1,"fs-4"],[4,"ngIf","ngIfElse"],["langEn",""],["href","https://angular.io/","target","_blank"],["href","https://ng-bootstrap.github.io/","target","_blank"],["href","https://getbootstrap.com/","target","_blank"],["href","https://ngrx.io/","target","_blank"],["href","https://redux.js.org/","target","_blank"],["href","","target","_blank"],["href","https://github.com/jprivet-dev/resistor-color-code-calculator","target","_blank"],[1,"text-center","mt-5"],["href","https://github.com/jprivet-dev/resistor-color-code-calculator/issues","target","_blank"]],template:function(O,Q){1&O&&y.YNc(0,Ht,13,6,"div",0)},dependencies:[Z.ez,Z.O5,Z.Ov,Z.rS,hi.m,fr.KI]}),w})()},{path:"**",component:(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275cmp=y.Xpm({type:w,selectors:[["app-not-found"]],standalone:!0,features:[y.jDz],decls:12,vars:0,consts:[[1,"container-xxl"],[1,"px-4","py-5","my-5","text-center"],[1,"display-5","fw-bold","text-body-emphasis"],[1,"lead","mb-4"],[1,"justify-content-sm-center"],["routerLink","/",1,"btn","btn-primary","btn-lg","px-4"]],template:function(O,Q){1&O&&(y.TgZ(0,"div",0)(1,"div",1)(2,"h1",2),y._uU(3,"404"),y.qZA(),y.TgZ(4,"p")(5,"strong"),y._uU(6,"Page not found :("),y.qZA()(),y.TgZ(7,"p",3),y._uU(8,"The requested page could not be found."),y.qZA(),y.TgZ(9,"div",4)(10,"a",5),y._uU(11,"Back to home page"),y.qZA()()()())},dependencies:[Z.ez,mr.Bz,mr.rH]}),w})()}];let ar=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({imports:[mr.Bz.forRoot(An),mr.Bz]}),w})();var zn=E(132);function Mr(w,I){if(1&w&&(y.TgZ(0,"button",21),y.ALo(1,"titlecase"),y._UZ(2,"i",22),y._uU(3),y.qZA()),2&w){const O=I.ngIf,Q=y.oxw().$implicit,Te=y.oxw();y.s9C("title",y.lcZ(1,2,Q("language"))),y.xp6(3),y.hij(" ",Te.findLangLabel(O)," ")}}function ei(w,I){if(1&w){const O=y.EpF();y.TgZ(0,"li")(1,"button",23),y.NdJ("click",function(){const Be=y.CHM(O).$implicit,Fe=y.oxw(2);return y.KtG(Fe.setLang(Be.lang))}),y._uU(2),y.qZA()()}if(2&w){const O=I.$implicit;y.xp6(2),y.hij(" ",O.label," ")}}function pi(w,I){if(1&w&&(y.TgZ(0,"button",21),y.ALo(1,"titlecase"),y._UZ(2,"i"),y.qZA()),2&w){const O=I.ngIf,Q=y.oxw().$implicit,Te=y.oxw();let Be;y.s9C("title",y.lcZ(1,4,Q("theme"))),y.xp6(2),y.Gre("bi ",null==(Be=Te.findTheme(O))?null:Be.icon," mx-1")}}function Gr(w,I){if(1&w){const O=y.EpF();y.TgZ(0,"li")(1,"button",23),y.NdJ("click",function(){const Be=y.CHM(O).$implicit,Fe=y.oxw(2);return y.KtG(Fe.setTheme(Be.name))}),y._UZ(2,"i"),y._uU(3),y.ALo(4,"titlecase"),y.qZA()()}if(2&w){const O=I.$implicit,Q=y.oxw().$implicit;y.xp6(2),y.Gre("bi ",O.icon," mx-1"),y.xp6(1),y.hij(" ",y.lcZ(4,4,Q(O.key))," ")}}const si=function(){return{exact:!0}};function Zi(w,I){if(1&w){const O=y.EpF();y.TgZ(0,"header",1)(1,"nav",2)(2,"a",3),y._UZ(3,"img",4),y._uU(4," Resistor Color Code Calculator "),y.qZA(),y.TgZ(5,"button",5),y.NdJ("click",function(){y.CHM(O);const Te=y.oxw();return y.KtG(Te.isMenuCollapsed=!Te.isMenuCollapsed)}),y._UZ(6,"span",6),y.qZA(),y.TgZ(7,"div",7)(8,"ul",8)(9,"li",9)(10,"a",10),y._UZ(11,"i",11),y._uU(12),y.ALo(13,"titlecase"),y.qZA()(),y.TgZ(14,"li",9)(15,"a",12),y._UZ(16,"i",13),y._uU(17),y.ALo(18,"titlecase"),y.qZA()(),y.TgZ(19,"li",9)(20,"a",14),y._UZ(21,"i",15),y._uU(22),y.ALo(23,"titlecase"),y.qZA()()(),y.TgZ(24,"ul",16)(25,"li",17),y.YNc(26,Mr,4,4,"button",18),y.ALo(27,"async"),y.TgZ(28,"ul",19),y.YNc(29,ei,3,1,"li",20),y.qZA()(),y.TgZ(30,"li",17),y.YNc(31,pi,3,6,"button",18),y.ALo(32,"async"),y.TgZ(33,"ul",19),y.YNc(34,Gr,5,6,"li",20),y.qZA()()()()()()}if(2&w){const O=I.$implicit,Q=y.oxw();y.xp6(7),y.Q6J("ngbCollapse",Q.isMenuCollapsed),y.xp6(3),y.Q6J("routerLinkActiveOptions",y.DdM(20,si)),y.xp6(2),y.hij(" ",y.lcZ(13,10,O("resistor"))," "),y.xp6(3),y.Q6J("routerLinkActiveOptions",y.DdM(21,si)),y.xp6(2),y.hij(" ",y.lcZ(18,12,O("about"))," "),y.xp6(5),y.hij(" ",y.lcZ(23,14,O("github"))," "),y.xp6(4),y.Q6J("ngIf",y.lcZ(27,16,Q.langLabel$)),y.xp6(3),y.Q6J("ngForOf",Q.langConfig),y.xp6(2),y.Q6J("ngIf",y.lcZ(32,18,Q.themeName$)),y.xp6(3),y.Q6J("ngForOf",Q.themeConfig)}}let ho=(()=>{class w{constructor(){this.langService=(0,y.f3M)(Tr),this.langConfig=Xr,this.langLabel$=this.langService.langLabel$,this.themeService=(0,y.f3M)(Ae),this.themeName$=this.themeService.themeName$,this.themeConfig=this.themeService.themeConfig,this.isMenuCollapsed=!0}setLang(O){this.langService.setLang(O)}findLangLabel(O){const Q=this.langService.findLangConfig(O);return Q?Q.label:""}setTheme(O){this.themeService.setTheme(O)}findTheme(O){return this.themeService.findTheme(O)}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275cmp=y.Xpm({type:w,selectors:[["app-nav"]],decls:1,vars:0,consts:[["class","navbar navbar-expand-lg navbar-dark bg-dark shadow",4,"transloco"],[1,"navbar","navbar-expand-lg","navbar-dark","bg-dark","shadow"],["aria-label","Main navigation",1,"container-fluid"],["routerLink","/",1,"navbar-brand"],["src","assets/img/rccc-logo-192x192.png","width","22","height","22",1,"me-1","mb-1"],["type","button","data-bs-toggle","collapse","data-bs-target","#main-navigation","aria-controls","main-navigation","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],["id","main-navigation",1,"collapse","navbar-collapse",3,"ngbCollapse"],[1,"navbar-nav","me-md-auto"],[1,"nav-item"],["routerLink","/resistor","routerLinkActive","active",1,"nav-link",3,"routerLinkActiveOptions"],[1,"bi","bi-r-square","mx-1"],["routerLink","/about","routerLinkActive","active",1,"nav-link",3,"routerLinkActiveOptions"],[1,"bi","bi-info-circle","mx-1"],["href","https://github.com/jprivet-dev/resistor-color-code-calculator","target","_blank",1,"nav-link"],[1,"bi","bi-github","mx-1"],[1,"navbar-nav"],["ngbDropdown","",1,"nav-item","dropdown"],["ngbDropdownToggle","","class","nav-link dropdown-toggle","data-bs-toggle","dropdown","aria-expanded","false",3,"title",4,"ngIf"],["ngbDropdownMenu","",1,"dropdown-menu","dropdown-menu-end"],[4,"ngFor","ngForOf"],["ngbDropdownToggle","","data-bs-toggle","dropdown","aria-expanded","false",1,"nav-link","dropdown-toggle",3,"title"],[1,"bi","bi-translate","mx-1"],["ngbDropdownItem","",1,"dropdown-item",3,"click"]],template:function(O,Q){1&O&&y.YNc(0,Zi,35,22,"header",0)},dependencies:[Z.sg,Z.O5,mr.rH,mr.Od,fr.KI,zn._D,zn.jt,zn.iD,zn.Vi,zn.TH,Z.Ov,Z.rS],styles:[".navbar-brand[_ngcontent-%COMP%]{background:linear-gradient(-30deg,#ff3bdd,#0ac6ff,#00ef00);-webkit-background-clip:text;-webkit-text-fill-color:transparent}@media (max-width: 576px){.navbar-brand[_ngcontent-%COMP%]{font-size:1.1rem}}"]}),w})();function Ao(w,I){1&w&&(y.TgZ(0,"div",1)(1,"footer",2)(2,"p",3),y._uU(3,"\xa9 2023 jprivet-dev"),y.qZA(),y.TgZ(4,"ul",4)(5,"li",5)(6,"a",6),y._UZ(7,"i",7),y.qZA()(),y.TgZ(8,"li",5)(9,"a",8),y._UZ(10,"i",9),y.qZA()(),y.TgZ(11,"li",5)(12,"a",10),y._UZ(13,"i",11),y.qZA()(),y.TgZ(14,"li",12)(15,"span",13),y._uU(16,"v0.1.0"),y.qZA()()()()())}let gi=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275cmp=y.Xpm({type:w,selectors:[["app-footer"]],decls:1,vars:0,consts:[["class","container-xxl pt-5",4,"transloco"],[1,"container-xxl","pt-5"],[1,"d-flex","flex-wrap","justify-content-between","align-items-center","py-3","my-4","border-top"],[1,"col-md-4","mb-0","text-body-secondary"],[1,"nav","col-md-4","justify-content-end"],[1,"nav-item"],["href","https://twitter.com/jprivet_dev","target","_blank",1,"nav-link","px-2","text-body-secondary"],[1,"bi","bi-twitter"],["href","https://github.com/jprivet-dev","target","_blank",1,"nav-link","px-2","text-body-secondary"],[1,"bi","bi-github"],["href","https://www.linkedin.com/in/jprivet","target","_blank",1,"nav-link","px-2","text-body-secondary"],[1,"bi","bi-linkedin"],[1,"nav-item","border-start","ms-2","ps-1"],[1,"nav-link","px-2","text-body-secondary"]],template:function(O,Q){1&O&&y.YNc(0,Ao,17,0,"div",0)},dependencies:[fr.KI]}),w})(),Ti=(()=>{class w{constructor(){this.title="app"}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275cmp=y.Xpm({type:w,selectors:[["app-root"]],decls:4,vars:0,consts:[["id","content"]],template:function(O,Q){1&O&&(y._UZ(0,"app-nav"),y.TgZ(1,"main",0),y._UZ(2,"router-outlet"),y.qZA(),y._UZ(3,"app-footer"))},dependencies:[ho,gi,mr.lC]}),w})();var qi=E(3019),Qi=E(8645),Ro=E(7538),Ut=E(6232),k=E(8504),ge=E(4674);class me{constructor(I,O,Q){this.kind=I,this.value=O,this.error=Q,this.hasValue="N"===I}observe(I){return Qe(this,I)}do(I,O,Q){const{kind:Te,value:Be,error:Fe}=this;return"N"===Te?I?.(Be):"E"===Te?O?.(Fe):Q?.()}accept(I,O,Q){var Te;return(0,ge.m)(null===(Te=I)||void 0===Te?void 0:Te.next)?this.observe(I):this.do(I,O,Q)}toObservable(){const{kind:I,value:O,error:Q}=this,Te="N"===I?(0,W.of)(O):"E"===I?(0,k._)(()=>Q):"C"===I?Ut.E:0;if(!Te)throw new TypeError(`Unexpected notification kind ${I}`);return Te}static createNext(I){return new me("N",I)}static createError(I){return new me("E",void 0,I)}static createComplete(){return me.completeNotification}}function Qe(w,I){var O,Q,Te;const{kind:Be,value:Fe,error:Et}=w;if("string"!=typeof Be)throw new TypeError('Invalid notification, missing "kind"');"N"===Be?null===(O=I.next)||void 0===O||O.call(I,Fe):"E"===Be?null===(Q=I.error)||void 0===Q||Q.call(I,Et):null===(Te=I.complete)||void 0===Te||Te.call(I)}me.completeNotification=new me("C");var tt=E(9360),Lt=E(8251),En=E(6306),$t=E(4829);function ze(w,I,O,Q){return(0,tt.e)((Te,Be)=>{let Fe;I&&"function"!=typeof I?({duration:O,element:Fe,connector:Q}=I):Fe=I;const Et=new Map,St=Fn=>{Et.forEach(Fn),Fn(Be)},Rn=Fn=>St(Yt=>Yt.error(Fn));let Xn=0,Hn=!1;const Kn=new Lt.Q(Be,Fn=>{try{const Yt=w(Fn);let dn=Et.get(Yt);if(!dn){Et.set(Yt,dn=Q?Q():new Qi.x);const xr=function $r(Fn,Yt){const dn=new N.y(xr=>{Xn++;const bi=Yt.subscribe(xr);return()=>{bi.unsubscribe(),0==--Xn&&Hn&&Kn.unsubscribe()}});return dn.key=Fn,dn}(Yt,dn);if(Be.next(xr),O){const bi=(0,Lt.x)(dn,()=>{dn.complete(),bi?.unsubscribe()},void 0,void 0,()=>Et.delete(Yt));Kn.add((0,$t.Xf)(O(xr)).subscribe(bi))}}dn.next(Fe?Fe(Fn):Fn)}catch(Yt){Rn(Yt)}},()=>St(Fn=>Fn.complete()),Rn,()=>Et.clear(),()=>(Hn=!0,0===Xn));Te.subscribe(Kn)})}var Dt=E(1631);function Sn(w,I){return I?O=>O.pipe(Sn((Q,Te)=>(0,$t.Xf)(w(Q,Te)).pipe((0,ee.U)((Be,Fe)=>I(Q,Be,Te,Fe))))):(0,tt.e)((O,Q)=>{let Te=0,Be=null,Fe=!1;O.subscribe((0,Lt.x)(Q,Et=>{Be||(Be=(0,Lt.x)(Q,void 0,()=>{Be=null,Fe&&Q.complete()}),(0,$t.Xf)(w(Et,Te++)).subscribe(Be))},()=>{Fe=!0,!Be&&Q.complete()}))})}var Nr=E(8180),Kt=E(4221);const ki={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},wn="__@ngrx/effects_create__";function Vi(w){return Object.getPrototypeOf(w)}function Vn(w){return"function"==typeof w}function _i(w){return w.filter(Vn)}function Sr(w,I,O){const Q=Vi(w),Be=Q&&"Object"!==Q.constructor.name?Q.constructor.name:null,Fe=function mi(w){return function ai(w){return Object.getOwnPropertyNames(w).filter(Q=>!(!w[Q]||!w[Q].hasOwnProperty(wn))&&w[Q][wn].hasOwnProperty("dispatch")).map(Q=>({propertyName:Q,...w[Q][wn]}))}(w)}(w).map(({propertyName:Et,dispatch:St,useEffectsErrorHandler:Rn})=>{const Xn="function"==typeof w[Et]?w[Et]():w[Et],Hn=Rn?O(Xn,I):Xn;return!1===St?Hn.pipe((0,Ro.l)()):Hn.pipe(function vn(){return(0,tt.e)((w,I)=>{w.subscribe((0,Lt.x)(I,O=>{I.next(me.createNext(O))},()=>{I.next(me.createComplete()),I.complete()},O=>{I.next(me.createError(O)),I.complete()}))})}()).pipe((0,ee.U)($r=>({effect:w[Et],notification:$r,propertyName:Et,sourceName:Be,sourceInstance:w})))});return(0,qi.T)(...Fe)}function po(w,I,O=10){return w.pipe((0,En.K)(Q=>(I&&I.handleError(Q),O<=1?w:po(w,I,O-1))))}let li=(()=>{class w extends N.y{constructor(O){super(),O&&(this.source=O)}lift(O){const Q=new w;return Q.source=this,Q.operator=O,Q}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(Kt.Y$))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})();const go=new y.OlP("@ngrx/effects Internal Root Guard"),vi=new y.OlP("@ngrx/effects User Provided Effects"),Wt=new y.OlP("@ngrx/effects Internal Root Effects"),js=new y.OlP("@ngrx/effects Internal Root Effects Instances"),No=new y.OlP("@ngrx/effects Internal Feature Effects"),Jo=new y.OlP("@ngrx/effects Internal Feature Effects Instance Groups"),yi=new y.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>po}),Xi="@ngrx/effects/init";(0,Kt.PH)(Xi);function Ko(w){return Fo(w,"ngrxOnInitEffects")}function Fo(w,I){return w&&I in w&&"function"==typeof w[I]}let Lo=(()=>{class w extends Qi.x{constructor(O,Q){super(),this.errorHandler=O,this.effectsErrorHandler=Q}addEffects(O){this.next(O)}toActions(){return this.pipe(ze(O=>function Hr(w){return!!w.constructor&&"Object"!==w.constructor.name&&"Function"!==w.constructor.name}(O)?Vi(O):O),(0,Dt.z)(O=>O.pipe(ze(Zo))),(0,Dt.z)(O=>{const Q=O.pipe(Sn(Be=>function mo(w,I){return O=>{const Q=Sr(O,w,I);return function xo(w){return Fo(w,"ngrxOnRunEffects")}(O)?O.ngrxOnRunEffects(Q):Q}}(this.errorHandler,this.effectsErrorHandler)(Be)),(0,ee.U)(Be=>(function Po(w,I){if("N"===w.notification.kind){const O=w.notification.value;!function lr(w){return"function"!=typeof w&&w&&w.type&&"string"==typeof w.type}(O)&&I.handleError(new Error(`Effect ${function wa({propertyName:w,sourceInstance:I,sourceName:O}){const Q="function"==typeof I[w];return O?`"${O}.${String(w)}${Q?"()":""}"`:`"${String(w)}()"`}(w)} dispatched an invalid action: ${function vr(w){try{return JSON.stringify(w)}catch{return w}}(O)}`))}}(Be,this.errorHandler),Be.notification)),(0,V.h)(Be=>"N"===Be.kind&&null!=Be.value),function _r(){return(0,tt.e)((w,I)=>{w.subscribe((0,Lt.x)(I,O=>Qe(O,I)))})}()),Te=O.pipe((0,Nr.q)(1),(0,V.h)(Ko),(0,ee.U)(Be=>Be.ngrxOnInitEffects()));return(0,qi.T)(Q,Te)}))}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(y.qLn),y.LFG(yi))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})();function Zo(w){return function ji(w){return Fo(w,"ngrxOnIdentifyEffects")}(w)?w.ngrxOnIdentifyEffects():""}let qo=(()=>{class w{get isStarted(){return!!this.effectsSubscription}constructor(O,Q){this.effectSources=O,this.store=Q,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(Lo),y.LFG(Kt.yh))},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})(),Qo=(()=>{class w{constructor(O,Q,Te,Be,Fe,Et,St){this.sources=O,Q.start();for(const Rn of Be)O.addEffects(Rn);Te.dispatch({type:Xi})}addEffects(O){this.sources.addEffects(O)}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(Lo),y.LFG(qo),y.LFG(Kt.yh),y.LFG(js),y.LFG(Kt.cr,8),y.LFG(Kt.CK,8),y.LFG(go,8))},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({}),w})(),eo=(()=>{class w{constructor(O,Q,Te,Be){const Fe=Q.flat();for(const Et of Fe)O.addEffects(Et)}}return w.\u0275fac=function(O){return new(O||w)(y.LFG(Qo),y.LFG(Jo),y.LFG(Kt.cr,8),y.LFG(Kt.CK,8))},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({}),w})(),$i=(()=>{class w{static forFeature(...O){const Q=O.flat(),Te=_i(Q);return{ngModule:eo,providers:[Te,{provide:No,multi:!0,useValue:Q},{provide:vi,multi:!0,useValue:[]},{provide:Jo,multi:!0,useFactory:$s,deps:[No,vi]}]}}static forRoot(...O){const Q=O.flat(),Te=_i(Q);return{ngModule:Qo,providers:[Te,{provide:Wt,useValue:[Q]},{provide:go,useFactory:Ds},{provide:vi,multi:!0,useValue:[]},{provide:js,useFactory:$s,deps:[Wt,vi]}]}}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({}),w})();function $s(w,I){const O=[];for(const Q of w)O.push(...Q);for(const Q of I)O.push(...Q);return O.map(Q=>function Hi(w){return w instanceof y.OlP||Vn(w)}(Q)?(0,y.f3M)(Q):Q)}function Ds(){const w=(0,y.f3M)(qo,{optional:!0,skipSelf:!0}),I=(0,y.f3M)(Wt,{self:!0});if((1!==I.length||0!==I[0].length)&&w)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}var zr=E(2387),zs=E(5353);let Ws=(()=>{class w{constructor(){this.actions$=(0,y.f3M)(li),this.resistorService=(0,y.f3M)(zs.H),this.retrieveResistor$=function Bi(w,I={}){const O=I.functional?w:w(),Q={...ki,...I};return Object.defineProperty(O,wn,{value:Q}),O}(()=>this.actions$.pipe(function jr(...w){return(0,V.h)(I=>w.some(O=>"string"==typeof O?O===I.type:O.type===I.type))}(zr.ZG.retrieveResistor),Sn(()=>this.resistorService.retrieveResistor().pipe((0,ee.U)(O=>zr.ZG.retrieveResistorSuccess({resistor:O})),(0,En.K)(()=>Ut.E)))))}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac}),w})();var Cs=E(3454);const es=(0,Kt.Lq)({digit1:{color:"white"},digit2:{color:"white"},digit3:{color:"white"},multiplier:{color:"white"},tolerance:{color:"white"},thermalCoefficient:{color:"white"},bandsCount:0},(0,Kt.on)(zr.ZG.retrieveResistorSuccess,(w,{resistor:I})=>I),(0,Kt.on)(zr.tf.updateResistor4Band,(w,{resistor:I})=>({...w,digit1:{...w.digit1,...I.digit1},digit2:{...w.digit2,...I.digit2},multiplier:{...w.multiplier,...I.multiplier},tolerance:{...w.tolerance,...I.tolerance},bandsCount:I.bandsCount})),(0,Kt.on)(zr.tf.updateBandsCount,(w,{bandsCount:I})=>({...w,bandsCount:I})),(0,Kt.on)(zr.tf.updateDigit1,(w,{color:I})=>({...w,digit1:{...w.digit1,color:I}})),(0,Kt.on)(zr.tf.updateDigit2,(w,{color:I})=>({...w,digit2:{...w.digit2,color:I}})),(0,Kt.on)(zr.tf.updateDigit3,(w,{color:I})=>({...w,digit3:{...w.digit3,color:I}})),(0,Kt.on)(zr.tf.updateMultiplier,(w,{color:I})=>({...w,multiplier:{...w.multiplier,color:I}})),(0,Kt.on)(zr.tf.updateTolerance,(w,{color:I})=>({...w,tolerance:{...w.tolerance,color:I}})),(0,Kt.on)(zr.tf.updateThermalCoefficient,(w,{color:I})=>({...w,thermalCoefficient:{...w.thermalCoefficient,color:I}}))),Yn=(0,Kt.Lq)({digit1:{color:"white",value:0},digit2:{color:"white",value:0},digit3:{color:"white",value:0,active:!1},multiplier:{color:"white",value:0},tolerance:{color:"white",value:0,active:!1,forceToleranceToTwentyPercent:!1},thermalCoefficient:{color:"white",value:0,active:!1},bandsCount:0},(0,Kt.on)(zr.R1.decodeResistor,(w,{resistor:I})=>(0,Cs.E)(w,I))),Wr=(0,Kt.Lq)({resistance:0,resistanceMax:0,resistanceMin:0,tolerance:0,toleranceOhm:0,thermalCoefficient:0},(0,Kt.on)(zr.d9.calculateCharacteristics,(w,{characteristics:I})=>({...w,...I})));var ts=E(7782);let Es=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({imports:[Kt.Aw.forRoot({[ts.Nn.Resistor]:es,[ts.Nn.Decode]:Yn,[ts.Nn.Characteristics]:Wr}),$i.forRoot([Ws])]}),w})(),ns=(()=>{class w{constructor(){this.http=(0,y.f3M)(ve)}getTranslation(O){return this.http.get(`./assets/i18n/${O}.json`)}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275prov=y.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})(),rs=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w}),w.\u0275inj=y.cJS({providers:[(0,fr.h7)({config:{availableLangs:["en","fr"],defaultLang:"en",reRenderOnLangChange:!0,prodMode:!(0,y.X6Q)()},loader:ns})],imports:[fr.y4]}),w})(),is=(()=>{class w{}return w.\u0275fac=function(O){return new(O||w)},w.\u0275mod=y.oAB({type:w,bootstrap:[Ti]}),w.\u0275inj=y.cJS({imports:[s.b2,ye,hi.m,ar,je,rs,Es,Re.FT.instrument({maxAge:25,logOnly:!(0,y.X6Q)()})]}),w})();s.q6().bootstrapModule(is).catch(w=>console.error(w))},4007:q=>{function H(W){return W&&W.constructor&&"function"==typeof W.constructor.isBuffer&&W.constructor.isBuffer(W)}function E(W){return W}function s(W,L){const N=(L=L||{}).delimiter||".",$=L.maxDepth,V=L.transformKey||E,ee={};return function Y(K,Z,te){te=te||1,Object.keys(K).forEach(function(he){const re=K[he],we=L.safe&&Array.isArray(re),De=Object.prototype.toString.call(re),Ze=H(re),et="[object Object]"===De||"[object Array]"===De,ot=Z?Z+N+V(he):V(he);if(!we&&!Ze&&et&&Object.keys(re).length&&(!L.maxDepth||te<$))return Y(re,ot,te+1);ee[ot]=re})}(W),ee}q.exports=s,s.flatten=s,s.unflatten=function y(W,L){const N=(L=L||{}).delimiter||".",$=L.overwrite||!1,V=L.transformKey||E,ee={};if(H(W)||"[object Object]"!==Object.prototype.toString.call(W))return W;function K(he){const re=Number(he);return isNaN(re)||-1!==he.indexOf(".")||L.object?he:re}return W=Object.keys(W).reduce(function(he,re){const we=Object.prototype.toString.call(W[re]);return"[object Object]"!==we&&"[object Array]"!==we||function te(he){const re=Object.prototype.toString.call(he);return!he||("[object Array]"===re?!he.length:"[object Object]"===re?!Object.keys(he).length:void 0)}(W[re])?(he[re]=W[re],he):function Z(he,re,we){return Object.keys(we).reduce(function(De,Ze){return De[he+N+Ze]=we[Ze],De},re)}(re,he,s(W[re],L))},{}),Object.keys(W).forEach(function(he){const re=he.split(N).map(V);let we=K(re.shift()),De=K(re[0]),Ze=ee;for(;void 0!==De;){if("__proto__"===we)return;const et=Object.prototype.toString.call(Ze[we]),ot="[object Object]"===et||"[object Array]"===et;if(!$&&!ot&&typeof Ze[we]<"u")return;($&&!ot||!$&&null==Ze[we])&&(Ze[we]="number"!=typeof De||L.object?{}:[]),Ze=Ze[we],re.length>0&&(we=K(re.shift()),De=K(re[0]))}Ze[we]=y(W[he],L)}),ee}},5619:(q,H,E)=>{"use strict";E.d(H,{X:()=>y});var s=E(8645);class y extends s.x{constructor(L){super(),this._value=L}get value(){return this.getValue()}_subscribe(L){const N=super._subscribe(L);return!N.closed&&L.next(this._value),N}getValue(){const{hasError:L,thrownError:N,_value:$}=this;if(L)throw N;return this._throwIfClosed(),$}next(L){super.next(this._value=L)}}},5592:(q,H,E)=>{"use strict";E.d(H,{y:()=>ee});var s=E(305),y=E(7394),W=E(4850),L=E(8407),N=E(2653),$=E(4674),V=E(1441);let ee=(()=>{class te{constructor(re){re&&(this._subscribe=re)}lift(re){const we=new te;return we.source=this,we.operator=re,we}subscribe(re,we,De){const Ze=function Z(te){return te&&te instanceof s.Lv||function K(te){return te&&(0,$.m)(te.next)&&(0,$.m)(te.error)&&(0,$.m)(te.complete)}(te)&&(0,y.Nn)(te)}(re)?re:new s.Hp(re,we,De);return(0,V.x)(()=>{const{operator:et,source:ot}=this;Ze.add(et?et.call(Ze,ot):ot?this._subscribe(Ze):this._trySubscribe(Ze))}),Ze}_trySubscribe(re){try{return this._subscribe(re)}catch(we){re.error(we)}}forEach(re,we){return new(we=Y(we))((De,Ze)=>{const et=new s.Hp({next:ot=>{try{re(ot)}catch(dt){Ze(dt),et.unsubscribe()}},error:Ze,complete:De});this.subscribe(et)})}_subscribe(re){var we;return null===(we=this.source)||void 0===we?void 0:we.subscribe(re)}[W.L](){return this}pipe(...re){return(0,L.U)(re)(this)}toPromise(re){return new(re=Y(re))((we,De)=>{let Ze;this.subscribe(et=>Ze=et,et=>De(et),()=>we(Ze))})}}return te.create=he=>new te(he),te})();function Y(te){var he;return null!==(he=te??N.config.Promise)&&void 0!==he?he:Promise}},7328:(q,H,E)=>{"use strict";E.d(H,{t:()=>W});var s=E(8645),y=E(4552);class W extends s.x{constructor(N=1/0,$=1/0,V=y.l){super(),this._bufferSize=N,this._windowTime=$,this._timestampProvider=V,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=$===1/0,this._bufferSize=Math.max(1,N),this._windowTime=Math.max(1,$)}next(N){const{isStopped:$,_buffer:V,_infiniteTimeWindow:ee,_timestampProvider:Y,_windowTime:K}=this;$||(V.push(N),!ee&&V.push(Y.now()+K)),this._trimBuffer(),super.next(N)}_subscribe(N){this._throwIfClosed(),this._trimBuffer();const $=this._innerSubscribe(N),{_infiniteTimeWindow:V,_buffer:ee}=this,Y=ee.slice();for(let K=0;K{"use strict";E.d(H,{x:()=>V});var s=E(5592),y=E(7394);const L=(0,E(2306).d)(Y=>function(){Y(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var N=E(9039),$=E(1441);let V=(()=>{class Y extends s.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Z){const te=new ee(this,this);return te.operator=Z,te}_throwIfClosed(){if(this.closed)throw new L}next(Z){(0,$.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const te of this.currentObservers)te.next(Z)}})}error(Z){(0,$.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Z;const{observers:te}=this;for(;te.length;)te.shift().error(Z)}})}complete(){(0,$.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Z}=this;for(;Z.length;)Z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Z;return(null===(Z=this.observers)||void 0===Z?void 0:Z.length)>0}_trySubscribe(Z){return this._throwIfClosed(),super._trySubscribe(Z)}_subscribe(Z){return this._throwIfClosed(),this._checkFinalizedStatuses(Z),this._innerSubscribe(Z)}_innerSubscribe(Z){const{hasError:te,isStopped:he,observers:re}=this;return te||he?y.Lc:(this.currentObservers=null,re.push(Z),new y.w0(()=>{this.currentObservers=null,(0,N.P)(re,Z)}))}_checkFinalizedStatuses(Z){const{hasError:te,thrownError:he,isStopped:re}=this;te?Z.error(he):re&&Z.complete()}asObservable(){const Z=new s.y;return Z.source=this,Z}}return Y.create=(K,Z)=>new ee(K,Z),Y})();class ee extends V{constructor(K,Z){super(),this.destination=K,this.source=Z}next(K){var Z,te;null===(te=null===(Z=this.destination)||void 0===Z?void 0:Z.next)||void 0===te||te.call(Z,K)}error(K){var Z,te;null===(te=null===(Z=this.destination)||void 0===Z?void 0:Z.error)||void 0===te||te.call(Z,K)}complete(){var K,Z;null===(Z=null===(K=this.destination)||void 0===K?void 0:K.complete)||void 0===Z||Z.call(K)}_subscribe(K){var Z,te;return null!==(te=null===(Z=this.source)||void 0===Z?void 0:Z.subscribe(K))&&void 0!==te?te:y.Lc}}},305:(q,H,E)=>{"use strict";E.d(H,{Hp:()=>De,Lv:()=>te});var s=E(4674),y=E(7394),W=E(2653),L=E(3894),N=E(2420);const $=Y("C",void 0,void 0);function Y(le,Me,xe){return{kind:le,value:Me,error:xe}}var K=E(7599),Z=E(1441);class te extends y.w0{constructor(Me){super(),this.isStopped=!1,Me?(this.destination=Me,(0,y.Nn)(Me)&&Me.add(this)):this.destination=dt}static create(Me,xe,Oe){return new De(Me,xe,Oe)}next(Me){this.isStopped?ot(function ee(le){return Y("N",le,void 0)}(Me),this):this._next(Me)}error(Me){this.isStopped?ot(function V(le){return Y("E",void 0,le)}(Me),this):(this.isStopped=!0,this._error(Me))}complete(){this.isStopped?ot($,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Me){this.destination.next(Me)}_error(Me){try{this.destination.error(Me)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const he=Function.prototype.bind;function re(le,Me){return he.call(le,Me)}class we{constructor(Me){this.partialObserver=Me}next(Me){const{partialObserver:xe}=this;if(xe.next)try{xe.next(Me)}catch(Oe){Ze(Oe)}}error(Me){const{partialObserver:xe}=this;if(xe.error)try{xe.error(Me)}catch(Oe){Ze(Oe)}else Ze(Me)}complete(){const{partialObserver:Me}=this;if(Me.complete)try{Me.complete()}catch(xe){Ze(xe)}}}class De extends te{constructor(Me,xe,Oe){let qe;if(super(),(0,s.m)(Me)||!Me)qe={next:Me??void 0,error:xe??void 0,complete:Oe??void 0};else{let Ke;this&&W.config.useDeprecatedNextContext?(Ke=Object.create(Me),Ke.unsubscribe=()=>this.unsubscribe(),qe={next:Me.next&&re(Me.next,Ke),error:Me.error&&re(Me.error,Ke),complete:Me.complete&&re(Me.complete,Ke)}):qe=Me}this.destination=new we(qe)}}function Ze(le){W.config.useDeprecatedSynchronousErrorHandling?(0,Z.O)(le):(0,L.h)(le)}function ot(le,Me){const{onStoppedNotification:xe}=W.config;xe&&K.z.setTimeout(()=>xe(le,Me))}const dt={closed:!0,next:N.Z,error:function et(le){throw le},complete:N.Z}},7394:(q,H,E)=>{"use strict";E.d(H,{Lc:()=>$,w0:()=>N,Nn:()=>V});var s=E(4674);const W=(0,E(2306).d)(Y=>function(Z){Y(this),this.message=Z?`${Z.length} errors occurred during unsubscription:\n${Z.map((te,he)=>`${he+1}) ${te.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Z});var L=E(9039);class N{constructor(K){this.initialTeardown=K,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let K;if(!this.closed){this.closed=!0;const{_parentage:Z}=this;if(Z)if(this._parentage=null,Array.isArray(Z))for(const re of Z)re.remove(this);else Z.remove(this);const{initialTeardown:te}=this;if((0,s.m)(te))try{te()}catch(re){K=re instanceof W?re.errors:[re]}const{_finalizers:he}=this;if(he){this._finalizers=null;for(const re of he)try{ee(re)}catch(we){K=K??[],we instanceof W?K=[...K,...we.errors]:K.push(we)}}if(K)throw new W(K)}}add(K){var Z;if(K&&K!==this)if(this.closed)ee(K);else{if(K instanceof N){if(K.closed||K._hasParent(this))return;K._addParent(this)}(this._finalizers=null!==(Z=this._finalizers)&&void 0!==Z?Z:[]).push(K)}}_hasParent(K){const{_parentage:Z}=this;return Z===K||Array.isArray(Z)&&Z.includes(K)}_addParent(K){const{_parentage:Z}=this;this._parentage=Array.isArray(Z)?(Z.push(K),Z):Z?[Z,K]:K}_removeParent(K){const{_parentage:Z}=this;Z===K?this._parentage=null:Array.isArray(Z)&&(0,L.P)(Z,K)}remove(K){const{_finalizers:Z}=this;Z&&(0,L.P)(Z,K),K instanceof N&&K._removeParent(this)}}N.EMPTY=(()=>{const Y=new N;return Y.closed=!0,Y})();const $=N.EMPTY;function V(Y){return Y instanceof N||Y&&"closed"in Y&&(0,s.m)(Y.remove)&&(0,s.m)(Y.add)&&(0,s.m)(Y.unsubscribe)}function ee(Y){(0,s.m)(Y)?Y():Y.unsubscribe()}},2653:(q,H,E)=>{"use strict";E.d(H,{config:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(q,H,E)=>{"use strict";E.d(H,{a:()=>K});var s=E(5592),y=E(7453),W=E(9666),L=E(2737),N=E(7400),$=E(9940),V=E(2714),ee=E(8251),Y=E(7103);function K(...he){const re=(0,$.yG)(he),we=(0,$.jO)(he),{args:De,keys:Ze}=(0,y.D)(he);if(0===De.length)return(0,W.D)([],re);const et=new s.y(function Z(he,re,we=L.y){return De=>{te(re,()=>{const{length:Ze}=he,et=new Array(Ze);let ot=Ze,dt=Ze;for(let le=0;le{const Me=(0,W.D)(he[le],re);let xe=!1;Me.subscribe((0,ee.x)(De,Oe=>{et[le]=Oe,xe||(xe=!0,dt--),dt||De.next(we(et.slice()))},()=>{--ot||De.complete()}))},De)},De)}}(De,re,Ze?ot=>(0,V.n)(Ze,ot):L.y));return we?et.pipe((0,N.Z)(we)):et}function te(he,re,we){he?(0,Y.f)(we,he,re):re()}},5211:(q,H,E)=>{"use strict";E.d(H,{z:()=>N});var s=E(7537),W=E(9940),L=E(9666);function N(...$){return function y(){return(0,s.J)(1)}()((0,L.D)($,(0,W.yG)($)))}},6232:(q,H,E)=>{"use strict";E.d(H,{E:()=>y});const y=new(E(5592).y)(N=>N.complete())},9315:(q,H,E)=>{"use strict";E.d(H,{D:()=>ee});var s=E(5592),y=E(7453),W=E(4829),L=E(9940),N=E(8251),$=E(7400),V=E(2714);function ee(...Y){const K=(0,L.jO)(Y),{args:Z,keys:te}=(0,y.D)(Y),he=new s.y(re=>{const{length:we}=Z;if(!we)return void re.complete();const De=new Array(we);let Ze=we,et=we;for(let ot=0;ot{dt||(dt=!0,et--),De[ot]=le},()=>Ze--,void 0,()=>{(!Ze||!dt)&&(et||re.next(te?(0,V.n)(te,De):De),re.complete())}))}});return K?he.pipe((0,$.Z)(K)):he}},9666:(q,H,E)=>{"use strict";E.d(H,{D:()=>xe});var s=E(4829),y=E(3093),W=E(9360);function L(Oe,qe=0){return(0,W.e)((Ke,Tt)=>{Tt.add(Oe.schedule(()=>Ke.subscribe(Tt),qe))})}var V=E(5592),Y=E(4971),K=E(4674),Z=E(7103);function he(Oe,qe){if(!Oe)throw new Error("Iterable cannot be null");return new V.y(Ke=>{(0,Z.f)(Ke,qe,()=>{const Tt=Oe[Symbol.asyncIterator]();(0,Z.f)(Ke,qe,()=>{Tt.next().then(It=>{It.done?Ke.complete():Ke.next(It.value)})},0,!0)})})}var re=E(8382),we=E(4026),De=E(4266),Ze=E(3664),et=E(5726),ot=E(9853),dt=E(541);function xe(Oe,qe){return qe?function Me(Oe,qe){if(null!=Oe){if((0,re.c)(Oe))return function N(Oe,qe){return(0,s.Xf)(Oe).pipe(L(qe),(0,y.Q)(qe))}(Oe,qe);if((0,De.z)(Oe))return function ee(Oe,qe){return new V.y(Ke=>{let Tt=0;return qe.schedule(function(){Tt===Oe.length?Ke.complete():(Ke.next(Oe[Tt++]),Ke.closed||this.schedule())})})}(Oe,qe);if((0,we.t)(Oe))return function $(Oe,qe){return(0,s.Xf)(Oe).pipe(L(qe),(0,y.Q)(qe))}(Oe,qe);if((0,et.D)(Oe))return he(Oe,qe);if((0,Ze.T)(Oe))return function te(Oe,qe){return new V.y(Ke=>{let Tt;return(0,Z.f)(Ke,qe,()=>{Tt=Oe[Y.h](),(0,Z.f)(Ke,qe,()=>{let It,Gt;try{({value:It,done:Gt}=Tt.next())}catch(Rt){return void Ke.error(Rt)}Gt?Ke.complete():Ke.next(It)},0,!0)}),()=>(0,K.m)(Tt?.return)&&Tt.return()})}(Oe,qe);if((0,dt.L)(Oe))return function le(Oe,qe){return he((0,dt.Q)(Oe),qe)}(Oe,qe)}throw(0,ot.z)(Oe)}(Oe,qe):(0,s.Xf)(Oe)}},4829:(q,H,E)=>{"use strict";E.d(H,{Xf:()=>he});var s=E(7582),y=E(4266),W=E(4026),L=E(5592),N=E(8382),$=E(5726),V=E(9853),ee=E(3664),Y=E(541),K=E(4674),Z=E(3894),te=E(4850);function he(le){if(le instanceof L.y)return le;if(null!=le){if((0,N.c)(le))return function re(le){return new L.y(Me=>{const xe=le[te.L]();if((0,K.m)(xe.subscribe))return xe.subscribe(Me);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(le);if((0,y.z)(le))return function we(le){return new L.y(Me=>{for(let xe=0;xe{le.then(xe=>{Me.closed||(Me.next(xe),Me.complete())},xe=>Me.error(xe)).then(null,Z.h)})}(le);if((0,$.D)(le))return et(le);if((0,ee.T)(le))return function Ze(le){return new L.y(Me=>{for(const xe of le)if(Me.next(xe),Me.closed)return;Me.complete()})}(le);if((0,Y.L)(le))return function ot(le){return et((0,Y.Q)(le))}(le)}throw(0,V.z)(le)}function et(le){return new L.y(Me=>{(function dt(le,Me){var xe,Oe,qe,Ke;return(0,s.mG)(this,void 0,void 0,function*(){try{for(xe=(0,s.KL)(le);!(Oe=yield xe.next()).done;)if(Me.next(Oe.value),Me.closed)return}catch(Tt){qe={error:Tt}}finally{try{Oe&&!Oe.done&&(Ke=xe.return)&&(yield Ke.call(xe))}finally{if(qe)throw qe.error}}Me.complete()})})(le,Me).catch(xe=>Me.error(xe))})}},3019:(q,H,E)=>{"use strict";E.d(H,{T:()=>$});var s=E(7537),y=E(4829),W=E(6232),L=E(9940),N=E(9666);function $(...V){const ee=(0,L.yG)(V),Y=(0,L._6)(V,1/0),K=V;return K.length?1===K.length?(0,y.Xf)(K[0]):(0,s.J)(Y)((0,N.D)(K,ee)):W.E}},2096:(q,H,E)=>{"use strict";E.d(H,{of:()=>W});var s=E(9940),y=E(9666);function W(...L){const N=(0,s.yG)(L);return(0,y.D)(L,N)}},8504:(q,H,E)=>{"use strict";E.d(H,{_:()=>W});var s=E(5592),y=E(4674);function W(L,N){const $=(0,y.m)(L)?L:()=>L,V=ee=>ee.error($());return new s.y(N?ee=>N.schedule(V,0,ee):V)}},9080:(q,H,E)=>{"use strict";E.d(H,{H:()=>N});var s=E(5592),y=E(6321),W=E(671),L=E(93);function N($=0,V,ee=y.P){let Y=-1;return null!=V&&((0,W.K)(V)?ee=V:Y=V),new s.y(K=>{let Z=(0,L.q)($)?+$-ee.now():$;Z<0&&(Z=0);let te=0;return ee.schedule(function(){K.closed||(K.next(te++),0<=Y?this.schedule(void 0,Y):K.complete())},Z)})}},8251:(q,H,E)=>{"use strict";E.d(H,{Q:()=>W,x:()=>y});var s=E(305);function y(L,N,$,V,ee){return new W(L,N,$,V,ee)}class W extends s.Lv{constructor(N,$,V,ee,Y,K){super(N),this.onFinalize=Y,this.shouldUnsubscribe=K,this._next=$?function(Z){try{$(Z)}catch(te){N.error(te)}}:super._next,this._error=ee?function(Z){try{ee(Z)}catch(te){N.error(te)}finally{this.unsubscribe()}}:super._error,this._complete=V?function(){try{V()}catch(Z){N.error(Z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var N;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:$}=this;super.unsubscribe(),!$&&(null===(N=this.onFinalize)||void 0===N||N.call(this))}}}},6306:(q,H,E)=>{"use strict";E.d(H,{K:()=>L});var s=E(4829),y=E(8251),W=E(9360);function L(N){return(0,W.e)(($,V)=>{let K,ee=null,Y=!1;ee=$.subscribe((0,y.x)(V,void 0,void 0,Z=>{K=(0,s.Xf)(N(Z,L(N)($))),ee?(ee.unsubscribe(),ee=null,K.subscribe(V)):Y=!0})),Y&&(ee.unsubscribe(),ee=null,K.subscribe(V))})}},6328:(q,H,E)=>{"use strict";E.d(H,{b:()=>W});var s=E(1631),y=E(4674);function W(L,N){return(0,y.m)(N)?(0,s.z)(L,N,1):(0,s.z)(L,1)}},3620:(q,H,E)=>{"use strict";E.d(H,{b:()=>L});var s=E(6321),y=E(9360),W=E(8251);function L(N,$=s.z){return(0,y.e)((V,ee)=>{let Y=null,K=null,Z=null;const te=()=>{if(Y){Y.unsubscribe(),Y=null;const re=K;K=null,ee.next(re)}};function he(){const re=Z+N,we=$.now();if(we{K=re,Z=$.now(),Y||(Y=$.schedule(he,N),ee.add(Y))},()=>{te(),ee.complete()},void 0,()=>{K=Y=null}))})}},3997:(q,H,E)=>{"use strict";E.d(H,{x:()=>L});var s=E(2737),y=E(9360),W=E(8251);function L($,V=s.y){return $=$??N,(0,y.e)((ee,Y)=>{let K,Z=!0;ee.subscribe((0,W.x)(Y,te=>{const he=V(te);(Z||!$(K,he))&&(Z=!1,K=he,Y.next(te))}))})}function N($,V){return $===V}},2181:(q,H,E)=>{"use strict";E.d(H,{h:()=>W});var s=E(9360),y=E(8251);function W(L,N){return(0,s.e)(($,V)=>{let ee=0;$.subscribe((0,y.x)(V,Y=>L.call(N,Y,ee++)&&V.next(Y)))})}},4716:(q,H,E)=>{"use strict";E.d(H,{x:()=>y});var s=E(9360);function y(W){return(0,s.e)((L,N)=>{try{L.subscribe(N)}finally{N.add(W)}})}},7538:(q,H,E)=>{"use strict";E.d(H,{l:()=>L});var s=E(9360),y=E(8251),W=E(2420);function L(){return(0,s.e)((N,$)=>{N.subscribe((0,y.x)($,W.Z))})}},7398:(q,H,E)=>{"use strict";E.d(H,{U:()=>W});var s=E(9360),y=E(8251);function W(L,N){return(0,s.e)(($,V)=>{let ee=0;$.subscribe((0,y.x)(V,Y=>{V.next(L.call(N,Y,ee++))}))})}},975:(q,H,E)=>{"use strict";E.d(H,{h:()=>y});var s=E(7398);function y(W){return(0,s.U)(()=>W)}},7537:(q,H,E)=>{"use strict";E.d(H,{J:()=>W});var s=E(1631),y=E(2737);function W(L=1/0){return(0,s.z)(y.y,L)}},1631:(q,H,E)=>{"use strict";E.d(H,{z:()=>ee});var s=E(7398),y=E(4829),W=E(9360),L=E(7103),N=E(8251),V=E(4674);function ee(Y,K,Z=1/0){return(0,V.m)(K)?ee((te,he)=>(0,s.U)((re,we)=>K(te,re,he,we))((0,y.Xf)(Y(te,he))),Z):("number"==typeof K&&(Z=K),(0,W.e)((te,he)=>function $(Y,K,Z,te,he,re,we,De){const Ze=[];let et=0,ot=0,dt=!1;const le=()=>{dt&&!Ze.length&&!et&&K.complete()},Me=Oe=>et{re&&K.next(Oe),et++;let qe=!1;(0,y.Xf)(Z(Oe,ot++)).subscribe((0,N.x)(K,Ke=>{he?.(Ke),re?Me(Ke):K.next(Ke)},()=>{qe=!0},void 0,()=>{if(qe)try{for(et--;Ze.length&&etxe(Ke)):xe(Ke)}le()}catch(Ke){K.error(Ke)}}))};return Y.subscribe((0,N.x)(K,Me,()=>{dt=!0,le()})),()=>{De?.()}}(te,he,Y,Z)))}},3093:(q,H,E)=>{"use strict";E.d(H,{Q:()=>L});var s=E(7103),y=E(9360),W=E(8251);function L(N,$=0){return(0,y.e)((V,ee)=>{V.subscribe((0,W.x)(ee,Y=>(0,s.f)(ee,N,()=>ee.next(Y),$),()=>(0,s.f)(ee,N,()=>ee.complete(),$),Y=>(0,s.f)(ee,N,()=>ee.error(Y),$)))})}},6699:(q,H,E)=>{"use strict";E.d(H,{R:()=>L});var s=E(9360),y=E(8251);function L(N,$){return(0,s.e)(function W(N,$,V,ee,Y){return(K,Z)=>{let te=V,he=$,re=0;K.subscribe((0,y.x)(Z,we=>{const De=re++;he=te?N(he,we,De):(te=!0,we),ee&&Z.next(he)},Y&&(()=>{te&&Z.next(he),Z.complete()})))}}(N,$,arguments.length>=2,!0))}},3020:(q,H,E)=>{"use strict";E.d(H,{B:()=>N});var s=E(4829),y=E(8645),W=E(305),L=E(9360);function N(V={}){const{connector:ee=(()=>new y.x),resetOnError:Y=!0,resetOnComplete:K=!0,resetOnRefCountZero:Z=!0}=V;return te=>{let he,re,we,De=0,Ze=!1,et=!1;const ot=()=>{re?.unsubscribe(),re=void 0},dt=()=>{ot(),he=we=void 0,Ze=et=!1},le=()=>{const Me=he;dt(),Me?.unsubscribe()};return(0,L.e)((Me,xe)=>{De++,!et&&!Ze&&ot();const Oe=we=we??ee();xe.add(()=>{De--,0===De&&!et&&!Ze&&(re=$(le,Z))}),Oe.subscribe(xe),!he&&De>0&&(he=new W.Hp({next:qe=>Oe.next(qe),error:qe=>{et=!0,ot(),re=$(dt,Y,qe),Oe.error(qe)},complete:()=>{Ze=!0,ot(),re=$(dt,K),Oe.complete()}}),(0,s.Xf)(Me).subscribe(he))})(te)}}function $(V,ee,...Y){if(!0===ee)return void V();if(!1===ee)return;const K=new W.Hp({next:()=>{K.unsubscribe(),V()}});return(0,s.Xf)(ee(...Y)).subscribe(K)}},836:(q,H,E)=>{"use strict";E.d(H,{T:()=>y});var s=E(2181);function y(W){return(0,s.h)((L,N)=>W<=N)}},7921:(q,H,E)=>{"use strict";E.d(H,{O:()=>L});var s=E(5211),y=E(9940),W=E(9360);function L(...N){const $=(0,y.yG)(N);return(0,W.e)((V,ee)=>{($?(0,s.z)(N,V,$):(0,s.z)(N,V)).subscribe(ee)})}},4664:(q,H,E)=>{"use strict";E.d(H,{w:()=>L});var s=E(4829),y=E(9360),W=E(8251);function L(N,$){return(0,y.e)((V,ee)=>{let Y=null,K=0,Z=!1;const te=()=>Z&&!Y&&ee.complete();V.subscribe((0,W.x)(ee,he=>{Y?.unsubscribe();let re=0;const we=K++;(0,s.Xf)(N(he,we)).subscribe(Y=(0,W.x)(ee,De=>ee.next($?$(he,De,we,re++):De),()=>{Y=null,te()}))},()=>{Z=!0,te()}))})}},8180:(q,H,E)=>{"use strict";E.d(H,{q:()=>L});var s=E(6232),y=E(9360),W=E(8251);function L(N){return N<=0?()=>s.E:(0,y.e)(($,V)=>{let ee=0;$.subscribe((0,W.x)(V,Y=>{++ee<=N&&(V.next(Y),N<=ee&&V.complete())}))})}},9773:(q,H,E)=>{"use strict";E.d(H,{R:()=>N});var s=E(9360),y=E(8251),W=E(4829),L=E(2420);function N($){return(0,s.e)((V,ee)=>{(0,W.Xf)($).subscribe((0,y.x)(ee,()=>ee.complete(),L.Z)),!ee.closed&&V.subscribe(ee)})}},9397:(q,H,E)=>{"use strict";E.d(H,{b:()=>N});var s=E(4674),y=E(9360),W=E(8251),L=E(2737);function N($,V,ee){const Y=(0,s.m)($)||V||ee?{next:$,error:V,complete:ee}:$;return Y?(0,y.e)((K,Z)=>{var te;null===(te=Y.subscribe)||void 0===te||te.call(Y);let he=!0;K.subscribe((0,W.x)(Z,re=>{var we;null===(we=Y.next)||void 0===we||we.call(Y,re),Z.next(re)},()=>{var re;he=!1,null===(re=Y.complete)||void 0===re||re.call(Y),Z.complete()},re=>{var we;he=!1,null===(we=Y.error)||void 0===we||we.call(Y,re),Z.error(re)},()=>{var re,we;he&&(null===(re=Y.unsubscribe)||void 0===re||re.call(Y)),null===(we=Y.finalize)||void 0===we||we.call(Y)}))}):L.y}},5178:(q,H,E)=>{"use strict";E.d(H,{V:()=>Y});var s=E(6321),y=E(93),W=E(9360),L=E(4829),N=E(2306),$=E(8251),V=E(7103);const ee=(0,N.d)(Z=>function(he=null){Z(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=he});function Y(Z,te){const{first:he,each:re,with:we=K,scheduler:De=te??s.z,meta:Ze=null}=(0,y.q)(Z)?{first:Z}:"number"==typeof Z?{each:Z}:Z;if(null==he&&null==re)throw new TypeError("No timeout provided.");return(0,W.e)((et,ot)=>{let dt,le,Me=null,xe=0;const Oe=qe=>{le=(0,V.f)(ot,De,()=>{try{dt.unsubscribe(),(0,L.Xf)(we({meta:Ze,lastValue:Me,seen:xe})).subscribe(ot)}catch(Ke){ot.error(Ke)}},qe)};dt=et.subscribe((0,$.x)(ot,qe=>{le?.unsubscribe(),xe++,ot.next(Me=qe),re>0&&Oe(re)},void 0,void 0,()=>{le?.closed||le?.unsubscribe(),Me=null})),!xe&&Oe(null!=he?"number"==typeof he?he:+he-De.now():re)})}function K(Z){throw new ee(Z)}},2460:(q,H,E)=>{"use strict";E.d(H,{M:()=>V});var s=E(9360),y=E(8251),W=E(4829),L=E(2737),N=E(2420),$=E(9940);function V(...ee){const Y=(0,$.jO)(ee);return(0,s.e)((K,Z)=>{const te=ee.length,he=new Array(te);let re=ee.map(()=>!1),we=!1;for(let De=0;De{he[De]=Ze,!we&&!re[De]&&(re[De]=!0,(we=re.every(L.y))&&(re=null))},N.Z));K.subscribe((0,y.x)(Z,De=>{if(we){const Ze=[De,...he];Z.next(Y?Y(...Ze):Ze)}}))})}},1954:(q,H,E)=>{"use strict";E.d(H,{o:()=>N});var s=E(7394);class y extends s.w0{constructor(V,ee){super()}schedule(V,ee=0){return this}}const W={setInterval($,V,...ee){const{delegate:Y}=W;return Y?.setInterval?Y.setInterval($,V,...ee):setInterval($,V,...ee)},clearInterval($){const{delegate:V}=W;return(V?.clearInterval||clearInterval)($)},delegate:void 0};var L=E(9039);class N extends y{constructor(V,ee){super(V,ee),this.scheduler=V,this.work=ee,this.pending=!1}schedule(V,ee=0){var Y;if(this.closed)return this;this.state=V;const K=this.id,Z=this.scheduler;return null!=K&&(this.id=this.recycleAsyncId(Z,K,ee)),this.pending=!0,this.delay=ee,this.id=null!==(Y=this.id)&&void 0!==Y?Y:this.requestAsyncId(Z,this.id,ee),this}requestAsyncId(V,ee,Y=0){return W.setInterval(V.flush.bind(V,this),Y)}recycleAsyncId(V,ee,Y=0){if(null!=Y&&this.delay===Y&&!1===this.pending)return ee;null!=ee&&W.clearInterval(ee)}execute(V,ee){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Y=this._execute(V,ee);if(Y)return Y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(V,ee){let K,Y=!1;try{this.work(V)}catch(Z){Y=!0,K=Z||new Error("Scheduled action threw falsy error")}if(Y)return this.unsubscribe(),K}unsubscribe(){if(!this.closed){const{id:V,scheduler:ee}=this,{actions:Y}=ee;this.work=this.state=this.scheduler=null,this.pending=!1,(0,L.P)(Y,this),null!=V&&(this.id=this.recycleAsyncId(ee,V,null)),this.delay=null,super.unsubscribe()}}}},2631:(q,H,E)=>{"use strict";E.d(H,{v:()=>W});var s=E(4552);class y{constructor(N,$=y.now){this.schedulerActionCtor=N,this.now=$}schedule(N,$=0,V){return new this.schedulerActionCtor(this,N).schedule(V,$)}}y.now=s.l.now;class W extends y{constructor(N,$=y.now){super(N,$),this.actions=[],this._active=!1}flush(N){const{actions:$}=this;if(this._active)return void $.push(N);let V;this._active=!0;do{if(V=N.execute(N.state,N.delay))break}while(N=$.shift());if(this._active=!1,V){for(;N=$.shift();)N.unsubscribe();throw V}}}},6321:(q,H,E)=>{"use strict";E.d(H,{P:()=>L,z:()=>W});var s=E(1954);const W=new(E(2631).v)(s.o),L=W},4552:(q,H,E)=>{"use strict";E.d(H,{l:()=>s});const s={now:()=>(s.delegate||Date).now(),delegate:void 0}},2381:(q,H,E)=>{"use strict";E.d(H,{N:()=>N});var s=E(1954),W=E(2631);const N=new class L extends W.v{}(class y extends s.o{constructor(ee,Y){super(ee,Y),this.scheduler=ee,this.work=Y}schedule(ee,Y=0){return Y>0?super.schedule(ee,Y):(this.delay=Y,this.state=ee,this.scheduler.flush(this),this)}execute(ee,Y){return Y>0||this.closed?super.execute(ee,Y):this._execute(ee,Y)}requestAsyncId(ee,Y,K=0){return null!=K&&K>0||null==K&&this.delay>0?super.requestAsyncId(ee,Y,K):(ee.flush(this),0)}})},7599:(q,H,E)=>{"use strict";E.d(H,{z:()=>s});const s={setTimeout(y,W,...L){const{delegate:N}=s;return N?.setTimeout?N.setTimeout(y,W,...L):setTimeout(y,W,...L)},clearTimeout(y){const{delegate:W}=s;return(W?.clearTimeout||clearTimeout)(y)},delegate:void 0}},4971:(q,H,E)=>{"use strict";E.d(H,{h:()=>y});const y=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(q,H,E)=>{"use strict";E.d(H,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(q,H,E)=>{"use strict";E.d(H,{_6:()=>$,jO:()=>L,yG:()=>N});var s=E(4674),y=E(671);function W(V){return V[V.length-1]}function L(V){return(0,s.m)(W(V))?V.pop():void 0}function N(V){return(0,y.K)(W(V))?V.pop():void 0}function $(V,ee){return"number"==typeof W(V)?V.pop():ee}},7453:(q,H,E)=>{"use strict";E.d(H,{D:()=>N});const{isArray:s}=Array,{getPrototypeOf:y,prototype:W,keys:L}=Object;function N(V){if(1===V.length){const ee=V[0];if(s(ee))return{args:ee,keys:null};if(function $(V){return V&&"object"==typeof V&&y(V)===W}(ee)){const Y=L(ee);return{args:Y.map(K=>ee[K]),keys:Y}}}return{args:V,keys:null}}},9039:(q,H,E)=>{"use strict";function s(y,W){if(y){const L=y.indexOf(W);0<=L&&y.splice(L,1)}}E.d(H,{P:()=>s})},2306:(q,H,E)=>{"use strict";function s(y){const L=y(N=>{Error.call(N),N.stack=(new Error).stack});return L.prototype=Object.create(Error.prototype),L.prototype.constructor=L,L}E.d(H,{d:()=>s})},2714:(q,H,E)=>{"use strict";function s(y,W){return y.reduce((L,N,$)=>(L[N]=W[$],L),{})}E.d(H,{n:()=>s})},1441:(q,H,E)=>{"use strict";E.d(H,{O:()=>L,x:()=>W});var s=E(2653);let y=null;function W(N){if(s.config.useDeprecatedSynchronousErrorHandling){const $=!y;if($&&(y={errorThrown:!1,error:null}),N(),$){const{errorThrown:V,error:ee}=y;if(y=null,V)throw ee}}else N()}function L(N){s.config.useDeprecatedSynchronousErrorHandling&&y&&(y.errorThrown=!0,y.error=N)}},7103:(q,H,E)=>{"use strict";function s(y,W,L,N=0,$=!1){const V=W.schedule(function(){L(),$?y.add(this.schedule(null,N)):this.unsubscribe()},N);if(y.add(V),!$)return V}E.d(H,{f:()=>s})},2737:(q,H,E)=>{"use strict";function s(y){return y}E.d(H,{y:()=>s})},4266:(q,H,E)=>{"use strict";E.d(H,{z:()=>s});const s=y=>y&&"number"==typeof y.length&&"function"!=typeof y},5726:(q,H,E)=>{"use strict";E.d(H,{D:()=>y});var s=E(4674);function y(W){return Symbol.asyncIterator&&(0,s.m)(W?.[Symbol.asyncIterator])}},93:(q,H,E)=>{"use strict";function s(y){return y instanceof Date&&!isNaN(y)}E.d(H,{q:()=>s})},4674:(q,H,E)=>{"use strict";function s(y){return"function"==typeof y}E.d(H,{m:()=>s})},8382:(q,H,E)=>{"use strict";E.d(H,{c:()=>W});var s=E(4850),y=E(4674);function W(L){return(0,y.m)(L[s.L])}},3664:(q,H,E)=>{"use strict";E.d(H,{T:()=>W});var s=E(4971),y=E(4674);function W(L){return(0,y.m)(L?.[s.h])}},4026:(q,H,E)=>{"use strict";E.d(H,{t:()=>y});var s=E(4674);function y(W){return(0,s.m)(W?.then)}},541:(q,H,E)=>{"use strict";E.d(H,{L:()=>L,Q:()=>W});var s=E(7582),y=E(4674);function W(N){return(0,s.FC)(this,arguments,function*(){const V=N.getReader();try{for(;;){const{value:ee,done:Y}=yield(0,s.qq)(V.read());if(Y)return yield(0,s.qq)(void 0);yield yield(0,s.qq)(ee)}}finally{V.releaseLock()}})}function L(N){return(0,y.m)(N?.getReader)}},671:(q,H,E)=>{"use strict";E.d(H,{K:()=>y});var s=E(4674);function y(W){return W&&(0,s.m)(W.schedule)}},9360:(q,H,E)=>{"use strict";E.d(H,{A:()=>y,e:()=>W});var s=E(4674);function y(L){return(0,s.m)(L?.lift)}function W(L){return N=>{if(y(N))return N.lift(function($){try{return L($,this)}catch(V){this.error(V)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(q,H,E)=>{"use strict";E.d(H,{Z:()=>L});var s=E(7398);const{isArray:y}=Array;function L(N){return(0,s.U)($=>function W(N,$){return y($)?N(...$):N($)}(N,$))}},2420:(q,H,E)=>{"use strict";function s(){}E.d(H,{Z:()=>s})},8407:(q,H,E)=>{"use strict";E.d(H,{U:()=>W,z:()=>y});var s=E(2737);function y(...L){return W(L)}function W(L){return 0===L.length?s.y:1===L.length?L[0]:function($){return L.reduce((V,ee)=>ee(V),$)}}},3894:(q,H,E)=>{"use strict";E.d(H,{h:()=>W});var s=E(2653),y=E(7599);function W(L){y.z.setTimeout(()=>{const{onUnhandledError:N}=s.config;if(!N)throw L;N(L)})}},9853:(q,H,E)=>{"use strict";function s(y){return new TypeError(`You provided ${null!==y&&"object"==typeof y?"an invalid object":`'${y}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}E.d(H,{z:()=>s})},6814:(q,H,E)=>{"use strict";E.d(H,{Do:()=>De,EM:()=>Jo,HT:()=>L,JF:()=>lr,K0:()=>$,Mn:()=>pn,Mx:()=>Re,O5:()=>Mr,Ov:()=>Qe,PM:()=>vi,S$:()=>he,Tn:()=>Ke,UT:()=>mn,V_:()=>ee,Ye:()=>Ze,ax:()=>An,b0:()=>we,bD:()=>Ur,ez:()=>Sr,p6:()=>Qt,q:()=>W,rS:()=>vn,sg:()=>An,tP:()=>Qi,w_:()=>N,x:()=>qe});var s=E(5879);let y=null;function W(){return y}function L(g){y||(y=g)}class N{}const $=new s.OlP("DocumentToken");let V=(()=>{class g{historyGo(C){throw new Error("Not implemented")}}return g.\u0275fac=function(C){return new(C||g)},g.\u0275prov=s.Yz7({token:g,factory:function(){return(0,s.f3M)(Y)},providedIn:"platform"}),g})();const ee=new s.OlP("Location Initialized");let Y=(()=>{class g extends V{constructor(){super(),this._doc=(0,s.f3M)($),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return W().getBaseHref(this._doc)}onPopState(C){const A=W().getGlobalEventTarget(this._doc,"window");return A.addEventListener("popstate",C,!1),()=>A.removeEventListener("popstate",C)}onHashChange(C){const A=W().getGlobalEventTarget(this._doc,"window");return A.addEventListener("hashchange",C,!1),()=>A.removeEventListener("hashchange",C)}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(C){this._location.pathname=C}pushState(C,A,j){this._history.pushState(C,A,j)}replaceState(C,A,j){this._history.replaceState(C,A,j)}forward(){this._history.forward()}back(){this._history.back()}historyGo(C=0){this._history.go(C)}getState(){return this._history.state}}return g.\u0275fac=function(C){return new(C||g)},g.\u0275prov=s.Yz7({token:g,factory:function(){return new g},providedIn:"platform"}),g})();function K(g,M){if(0==g.length)return M;if(0==M.length)return g;let C=0;return g.endsWith("/")&&C++,M.startsWith("/")&&C++,2==C?g+M.substring(1):1==C?g+M:g+"/"+M}function Z(g){const M=g.match(/#|\?|$/),C=M&&M.index||g.length;return g.slice(0,C-("/"===g[C-1]?1:0))+g.slice(C)}function te(g){return g&&"?"!==g[0]?"?"+g:g}let he=(()=>{class g{historyGo(C){throw new Error("Not implemented")}}return g.\u0275fac=function(C){return new(C||g)},g.\u0275prov=s.Yz7({token:g,factory:function(){return(0,s.f3M)(we)},providedIn:"root"}),g})();const re=new s.OlP("appBaseHref");let we=(()=>{class g extends he{constructor(C,A){super(),this._platformLocation=C,this._removeListenerFns=[],this._baseHref=A??this._platformLocation.getBaseHrefFromDOM()??(0,s.f3M)($).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}prepareExternalUrl(C){return K(this._baseHref,C)}path(C=!1){const A=this._platformLocation.pathname+te(this._platformLocation.search),j=this._platformLocation.hash;return j&&C?`${A}${j}`:A}pushState(C,A,j,_e){const ke=this.prepareExternalUrl(j+te(_e));this._platformLocation.pushState(C,A,ke)}replaceState(C,A,j,_e){const ke=this.prepareExternalUrl(j+te(_e));this._platformLocation.replaceState(C,A,ke)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}}return g.\u0275fac=function(C){return new(C||g)(s.LFG(V),s.LFG(re,8))},g.\u0275prov=s.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),De=(()=>{class g extends he{constructor(C,A){super(),this._platformLocation=C,this._baseHref="",this._removeListenerFns=[],null!=A&&(this._baseHref=A)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}path(C=!1){let A=this._platformLocation.hash;return null==A&&(A="#"),A.length>0?A.substring(1):A}prepareExternalUrl(C){const A=K(this._baseHref,C);return A.length>0?"#"+A:A}pushState(C,A,j,_e){let ke=this.prepareExternalUrl(j+te(_e));0==ke.length&&(ke=this._platformLocation.pathname),this._platformLocation.pushState(C,A,ke)}replaceState(C,A,j,_e){let ke=this.prepareExternalUrl(j+te(_e));0==ke.length&&(ke=this._platformLocation.pathname),this._platformLocation.replaceState(C,A,ke)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}}return g.\u0275fac=function(C){return new(C||g)(s.LFG(V),s.LFG(re,8))},g.\u0275prov=s.Yz7({token:g,factory:g.\u0275fac}),g})(),Ze=(()=>{class g{constructor(C){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=C;const A=this._locationStrategy.getBaseHref();this._basePath=function le(g){if(new RegExp("^(https?:)?//").test(g)){const[,C]=g.split(/\/\/[^\/]+/);return C}return g}(Z(dt(A))),this._locationStrategy.onPopState(j=>{this._subject.emit({url:this.path(!0),pop:!0,state:j.state,type:j.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(C=!1){return this.normalize(this._locationStrategy.path(C))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(C,A=""){return this.path()==this.normalize(C+te(A))}normalize(C){return g.stripTrailingSlash(function ot(g,M){if(!g||!M.startsWith(g))return M;const C=M.substring(g.length);return""===C||["/",";","?","#"].includes(C[0])?C:M}(this._basePath,dt(C)))}prepareExternalUrl(C){return C&&"/"!==C[0]&&(C="/"+C),this._locationStrategy.prepareExternalUrl(C)}go(C,A="",j=null){this._locationStrategy.pushState(j,"",C,A),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+te(A)),j)}replaceState(C,A="",j=null){this._locationStrategy.replaceState(j,"",C,A),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+te(A)),j)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(C=0){this._locationStrategy.historyGo?.(C)}onUrlChange(C){return this._urlChangeListeners.push(C),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(A=>{this._notifyUrlChangeListeners(A.url,A.state)})),()=>{const A=this._urlChangeListeners.indexOf(C);this._urlChangeListeners.splice(A,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(C="",A){this._urlChangeListeners.forEach(j=>j(C,A))}subscribe(C,A,j){return this._subject.subscribe({next:C,error:A,complete:j})}}return g.normalizeQueryParams=te,g.joinWithSlash=K,g.stripTrailingSlash=Z,g.\u0275fac=function(C){return new(C||g)(s.LFG(he))},g.\u0275prov=s.Yz7({token:g,factory:function(){return function et(){return new Ze((0,s.LFG)(he))}()},providedIn:"root"}),g})();function dt(g){return g.replace(/\/index.html$/,"")}var qe=function(g){return g[g.Format=0]="Format",g[g.Standalone=1]="Standalone",g}(qe||{}),Ke=function(g){return g[g.Narrow=0]="Narrow",g[g.Abbreviated=1]="Abbreviated",g[g.Wide=2]="Wide",g[g.Short=3]="Short",g}(Ke||{}),Tt=function(g){return g[g.Short=0]="Short",g[g.Medium=1]="Medium",g[g.Long=2]="Long",g[g.Full=3]="Full",g}(Tt||{}),It=function(g){return g[g.Decimal=0]="Decimal",g[g.Group=1]="Group",g[g.List=2]="List",g[g.PercentSign=3]="PercentSign",g[g.PlusSign=4]="PlusSign",g[g.MinusSign=5]="MinusSign",g[g.Exponential=6]="Exponential",g[g.SuperscriptingExponent=7]="SuperscriptingExponent",g[g.PerMille=8]="PerMille",g[g.Infinity=9]="Infinity",g[g.NaN=10]="NaN",g[g.TimeSeparator=11]="TimeSeparator",g[g.CurrencyDecimal=12]="CurrencyDecimal",g[g.CurrencyGroup=13]="CurrencyGroup",g}(It||{});function pn(g,M,C){const A=(0,s.cg1)(g),_e=Ft([A[s.wAp.DaysFormat],A[s.wAp.DaysStandalone]],M);return Ft(_e,C)}function mn(g,M,C){const A=(0,s.cg1)(g),_e=Ft([A[s.wAp.MonthsFormat],A[s.wAp.MonthsStandalone]],M);return Ft(_e,C)}function ve(g,M){return Ft((0,s.cg1)(g)[s.wAp.DateFormat],M)}function Pe(g,M){return Ft((0,s.cg1)(g)[s.wAp.TimeFormat],M)}function Ne(g,M){return Ft((0,s.cg1)(g)[s.wAp.DateTimeFormat],M)}function We(g,M){const C=(0,s.cg1)(g),A=C[s.wAp.NumberSymbols][M];if(typeof A>"u"){if(M===It.CurrencyDecimal)return C[s.wAp.NumberSymbols][It.Decimal];if(M===It.CurrencyGroup)return C[s.wAp.NumberSymbols][It.Group]}return A}function Ye(g){if(!g[s.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${g[s.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ft(g,M){for(let C=M;C>-1;C--)if(typeof g[C]<"u")return g[C];throw new Error("Locale data API: locale data undefined")}function ie(g){const[M,C]=g.split(":");return{hours:+M,minutes:+C}}const it=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,lt={},sn=/((?:[^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 nt=function(g){return g[g.Short=0]="Short",g[g.ShortGMT=1]="ShortGMT",g[g.Long=2]="Long",g[g.Extended=3]="Extended",g}(nt||{}),mt=function(g){return g[g.FullYear=0]="FullYear",g[g.Month=1]="Month",g[g.Date=2]="Date",g[g.Hours=3]="Hours",g[g.Minutes=4]="Minutes",g[g.Seconds=5]="Seconds",g[g.FractionalSeconds=6]="FractionalSeconds",g[g.Day=7]="Day",g}(mt||{}),ct=function(g){return g[g.DayPeriods=0]="DayPeriods",g[g.Days=1]="Days",g[g.Months=2]="Months",g[g.Eras=3]="Eras",g}(ct||{});function Qt(g,M,C,A){let j=function Ie(g){if(G(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[j,_e=1,ke=1]=g.split("-").map(vt=>+vt);return Gn(j,_e-1,ke)}const C=parseFloat(g);if(!isNaN(g-C))return new Date(C);let A;if(A=g.match(it))return function oe(g){const M=new Date(0);let C=0,A=0;const j=g[8]?M.setUTCFullYear:M.setFullYear,_e=g[8]?M.setUTCHours:M.setHours;g[9]&&(C=Number(g[9]+g[10]),A=Number(g[9]+g[11])),j.call(M,Number(g[1]),Number(g[2])-1,Number(g[3]));const ke=Number(g[4]||0)-C,vt=Number(g[5]||0)-A,Un=Number(g[6]||0),an=Math.floor(1e3*parseFloat("0."+(g[7]||0)));return _e.call(M,ke,vt,Un,an),M}(A)}const M=new Date(g);if(!G(M))throw new Error(`Unable to convert "${g}" into a date`);return M}(g);M=_n(C,M)||M;let vt,ke=[];for(;M;){if(vt=sn.exec(M),!vt){ke.push(M);break}{ke=ke.concat(vt.slice(1));const yn=ke.pop();if(!yn)break;M=yn}}let Un=j.getTimezoneOffset();A&&(Un=Rr(A,Un),j=function Br(g,M,C){const A=C?-1:1,j=g.getTimezoneOffset();return function gn(g,M){return(g=new Date(g.getTime())).setMinutes(g.getMinutes()+M),g}(g,A*(Rr(M,j)-j))}(j,A,!0));let an="";return ke.forEach(yn=>{const nn=function In(g){if(Dr[g])return Dr[g];let M;switch(g){case"G":case"GG":case"GGG":M=Vt(ct.Eras,Ke.Abbreviated);break;case"GGGG":M=Vt(ct.Eras,Ke.Wide);break;case"GGGGG":M=Vt(ct.Eras,Ke.Narrow);break;case"y":M=Nt(mt.FullYear,1,0,!1,!0);break;case"yy":M=Nt(mt.FullYear,2,0,!0,!0);break;case"yyy":M=Nt(mt.FullYear,3,0,!1,!0);break;case"yyyy":M=Nt(mt.FullYear,4,0,!1,!0);break;case"Y":M=nr(1);break;case"YY":M=nr(2,!0);break;case"YYY":M=nr(3);break;case"YYYY":M=nr(4);break;case"M":case"L":M=Nt(mt.Month,1,1);break;case"MM":case"LL":M=Nt(mt.Month,2,1);break;case"MMM":M=Vt(ct.Months,Ke.Abbreviated);break;case"MMMM":M=Vt(ct.Months,Ke.Wide);break;case"MMMMM":M=Vt(ct.Months,Ke.Narrow);break;case"LLL":M=Vt(ct.Months,Ke.Abbreviated,qe.Standalone);break;case"LLLL":M=Vt(ct.Months,Ke.Wide,qe.Standalone);break;case"LLLLL":M=Vt(ct.Months,Ke.Narrow,qe.Standalone);break;case"w":M=dr(1);break;case"ww":M=dr(2);break;case"W":M=dr(1,!0);break;case"d":M=Nt(mt.Date,1);break;case"dd":M=Nt(mt.Date,2);break;case"c":case"cc":M=Nt(mt.Day,1);break;case"ccc":M=Vt(ct.Days,Ke.Abbreviated,qe.Standalone);break;case"cccc":M=Vt(ct.Days,Ke.Wide,qe.Standalone);break;case"ccccc":M=Vt(ct.Days,Ke.Narrow,qe.Standalone);break;case"cccccc":M=Vt(ct.Days,Ke.Short,qe.Standalone);break;case"E":case"EE":case"EEE":M=Vt(ct.Days,Ke.Abbreviated);break;case"EEEE":M=Vt(ct.Days,Ke.Wide);break;case"EEEEE":M=Vt(ct.Days,Ke.Narrow);break;case"EEEEEE":M=Vt(ct.Days,Ke.Short);break;case"a":case"aa":case"aaa":M=Vt(ct.DayPeriods,Ke.Abbreviated);break;case"aaaa":M=Vt(ct.DayPeriods,Ke.Wide);break;case"aaaaa":M=Vt(ct.DayPeriods,Ke.Narrow);break;case"b":case"bb":case"bbb":M=Vt(ct.DayPeriods,Ke.Abbreviated,qe.Standalone,!0);break;case"bbbb":M=Vt(ct.DayPeriods,Ke.Wide,qe.Standalone,!0);break;case"bbbbb":M=Vt(ct.DayPeriods,Ke.Narrow,qe.Standalone,!0);break;case"B":case"BB":case"BBB":M=Vt(ct.DayPeriods,Ke.Abbreviated,qe.Format,!0);break;case"BBBB":M=Vt(ct.DayPeriods,Ke.Wide,qe.Format,!0);break;case"BBBBB":M=Vt(ct.DayPeriods,Ke.Narrow,qe.Format,!0);break;case"h":M=Nt(mt.Hours,1,-12);break;case"hh":M=Nt(mt.Hours,2,-12);break;case"H":M=Nt(mt.Hours,1);break;case"HH":M=Nt(mt.Hours,2);break;case"m":M=Nt(mt.Minutes,1);break;case"mm":M=Nt(mt.Minutes,2);break;case"s":M=Nt(mt.Seconds,1);break;case"ss":M=Nt(mt.Seconds,2);break;case"S":M=Nt(mt.FractionalSeconds,1);break;case"SS":M=Nt(mt.FractionalSeconds,2);break;case"SSS":M=Nt(mt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":M=br(nt.Short);break;case"ZZZZZ":M=br(nt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":M=br(nt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":M=br(nt.Long);break;default:return null}return Dr[g]=M,M}(yn);an+=nn?nn(j,C,Un):"''"===yn?"'":yn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),an}function Gn(g,M,C){const A=new Date(0);return A.setFullYear(g,M,C),A.setHours(0,0,0),A}function _n(g,M){const C=function Rt(g){return(0,s.cg1)(g)[s.wAp.LocaleId]}(g);if(lt[C]=lt[C]||{},lt[C][M])return lt[C][M];let A="";switch(M){case"shortDate":A=ve(g,Tt.Short);break;case"mediumDate":A=ve(g,Tt.Medium);break;case"longDate":A=ve(g,Tt.Long);break;case"fullDate":A=ve(g,Tt.Full);break;case"shortTime":A=Pe(g,Tt.Short);break;case"mediumTime":A=Pe(g,Tt.Medium);break;case"longTime":A=Pe(g,Tt.Long);break;case"fullTime":A=Pe(g,Tt.Full);break;case"short":const j=_n(g,"shortTime"),_e=_n(g,"shortDate");A=_t(Ne(g,Tt.Short),[j,_e]);break;case"medium":const ke=_n(g,"mediumTime"),vt=_n(g,"mediumDate");A=_t(Ne(g,Tt.Medium),[ke,vt]);break;case"long":const Un=_n(g,"longTime"),an=_n(g,"longDate");A=_t(Ne(g,Tt.Long),[Un,an]);break;case"full":const yn=_n(g,"fullTime"),nn=_n(g,"fullDate");A=_t(Ne(g,Tt.Full),[yn,nn])}return A&&(lt[C][M]=A),A}function _t(g,M){return M&&(g=g.replace(/\{([^}]+)}/g,function(C,A){return null!=M&&A in M?M[A]:C})),g}function on(g,M,C="-",A,j){let _e="";(g<0||j&&g<=0)&&(j?g=1-g:(g=-g,_e=C));let ke=String(g);for(;ke.length0||vt>-C)&&(vt+=C),g===mt.Hours)0===vt&&-12===C&&(vt=12);else if(g===mt.FractionalSeconds)return function tr(g,M){return on(g,3).substring(0,M)}(vt,M);const Un=We(ke,It.MinusSign);return on(vt,M,Un,A,j)}}function Vt(g,M,C=qe.Format,A=!1){return function(j,_e){return function sr(g,M,C,A,j,_e){switch(C){case ct.Months:return mn(M,j,A)[g.getMonth()];case ct.Days:return pn(M,j,A)[g.getDay()];case ct.DayPeriods:const ke=g.getHours(),vt=g.getMinutes();if(_e){const an=function zt(g){const M=(0,s.cg1)(g);return Ye(M),(M[s.wAp.ExtraData][2]||[]).map(A=>"string"==typeof A?ie(A):[ie(A[0]),ie(A[1])])}(M),yn=function qt(g,M,C){const A=(0,s.cg1)(g);Ye(A);const _e=Ft([A[s.wAp.ExtraData][0],A[s.wAp.ExtraData][1]],M)||[];return Ft(_e,C)||[]}(M,j,A),nn=an.findIndex(Wn=>{if(Array.isArray(Wn)){const[jn,ur]=Wn,ti=ke>=jn.hours&&vt>=jn.minutes,wt=ke0?Math.floor(j/60):Math.ceil(j/60);switch(g){case nt.Short:return(j>=0?"+":"")+on(ke,2,_e)+on(Math.abs(j%60),2,_e);case nt.ShortGMT:return"GMT"+(j>=0?"+":"")+on(ke,1,_e);case nt.Long:return"GMT"+(j>=0?"+":"")+on(ke,2,_e)+":"+on(Math.abs(j%60),2,_e);case nt.Extended:return 0===A?"Z":(j>=0?"+":"")+on(ke,2,_e)+":"+on(Math.abs(j%60),2,_e);default:throw new Error(`Unknown zone width "${g}"`)}}}const gr=0,Ar=4;function On(g){return Gn(g.getFullYear(),g.getMonth(),g.getDate()+(Ar-g.getDay()))}function dr(g,M=!1){return function(C,A){let j;if(M){const _e=new Date(C.getFullYear(),C.getMonth(),1).getDay()-1,ke=C.getDate();j=1+Math.floor((ke+_e)/7)}else{const _e=On(C),ke=function fi(g){const M=Gn(g,gr,1).getDay();return Gn(g,0,1+(M<=Ar?Ar:Ar+7)-M)}(_e.getFullYear()),vt=_e.getTime()-ke.getTime();j=1+Math.round(vt/6048e5)}return on(j,g,We(A,It.MinusSign))}}function nr(g,M=!1){return function(C,A){return on(On(C).getFullYear(),g,We(A,It.MinusSign),M)}}const Dr={};function Rr(g,M){g=g.replace(/:/g,"");const C=Date.parse("Jan 01, 1970 00:00:00 "+g)/6e4;return isNaN(C)?M:C}function G(g){return g instanceof Date&&!isNaN(g.valueOf())}function Re(g,M){M=encodeURIComponent(M);for(const C of g.split(";")){const A=C.indexOf("="),[j,_e]=-1==A?[C,""]:[C.slice(0,A),C.slice(A+1)];if(j.trim()===M)return decodeURIComponent(_e)}return null}class Cn{constructor(M,C,A,j){this.$implicit=M,this.ngForOf=C,this.index=A,this.count=j}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 An=(()=>{class g{set ngForOf(C){this._ngForOf=C,this._ngForOfDirty=!0}set ngForTrackBy(C){this._trackByFn=C}get ngForTrackBy(){return this._trackByFn}constructor(C,A,j){this._viewContainer=C,this._template=A,this._differs=j,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(C){C&&(this._template=C)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const C=this._ngForOf;!this._differ&&C&&(this._differ=this._differs.find(C).create(this.ngForTrackBy))}if(this._differ){const C=this._differ.diff(this._ngForOf);C&&this._applyChanges(C)}}_applyChanges(C){const A=this._viewContainer;C.forEachOperation((j,_e,ke)=>{if(null==j.previousIndex)A.createEmbeddedView(this._template,new Cn(j.item,this._ngForOf,-1,-1),null===ke?void 0:ke);else if(null==ke)A.remove(null===_e?void 0:_e);else if(null!==_e){const vt=A.get(_e);A.move(vt,ke),ar(vt,j)}});for(let j=0,_e=A.length;j<_e;j++){const vt=A.get(j).context;vt.index=j,vt.count=_e,vt.ngForOf=this._ngForOf}C.forEachIdentityChange(j=>{ar(A.get(j.currentIndex),j)})}static ngTemplateContextGuard(C,A){return!0}}return g.\u0275fac=function(C){return new(C||g)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),g})();function ar(g,M){g.context.$implicit=M.item}let Mr=(()=>{class g{constructor(C,A){this._viewContainer=C,this._context=new ei,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=A}set ngIf(C){this._context.$implicit=this._context.ngIf=C,this._updateView()}set ngIfThen(C){pi("ngIfThen",C),this._thenTemplateRef=C,this._thenViewRef=null,this._updateView()}set ngIfElse(C){pi("ngIfElse",C),this._elseTemplateRef=C,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(C,A){return!0}}return g.\u0275fac=function(C){return new(C||g)(s.Y36(s.s_b),s.Y36(s.Rgc))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),g})();class ei{constructor(){this.$implicit=null,this.ngIf=null}}function pi(g,M){if(M&&!M.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,s.AaK)(M)}'.`)}let Qi=(()=>{class g{constructor(C){this._viewContainerRef=C,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(C){if(C.ngTemplateOutlet||C.ngTemplateOutletInjector){const A=this._viewContainerRef;if(this._viewRef&&A.remove(A.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:j,ngTemplateOutletContext:_e,ngTemplateOutletInjector:ke}=this;this._viewRef=A.createEmbeddedView(j,_e,ke?{injector:ke}:void 0)}else this._viewRef=null}else this._viewRef&&C.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return g.\u0275fac=function(C){return new(C||g)(s.Y36(s.s_b))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.TTD]}),g})();function Ut(g,M){return new s.vHH(2100,!1)}class k{createSubscription(M,C){return(0,s.rg0)(()=>M.subscribe({next:C,error:A=>{throw A}}))}dispose(M){(0,s.rg0)(()=>M.unsubscribe())}}class ge{createSubscription(M,C){return M.then(C,A=>{throw A})}dispose(M){}}const ae=new ge,me=new k;let Qe=(()=>{class g{constructor(C){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=C}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(C){return this._obj?C!==this._obj?(this._dispose(),this.transform(C)):this._latestValue:(C&&this._subscribe(C),this._latestValue)}_subscribe(C){this._obj=C,this._strategy=this._selectStrategy(C),this._subscription=this._strategy.createSubscription(C,A=>this._updateLatestValue(C,A))}_selectStrategy(C){if((0,s.QGY)(C))return ae;if((0,s.F4k)(C))return me;throw Ut()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(C,A){C===this._obj&&(this._latestValue=A,this._ref.markForCheck())}}return g.\u0275fac=function(C){return new(C||g)(s.Y36(s.sBO,16))},g.\u0275pipe=s.Yjl({name:"async",type:g,pure:!1,standalone:!0}),g})();const Lt=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let vn=(()=>{class g{transform(C){if(null==C)return null;if("string"!=typeof C)throw Ut();return C.replace(Lt,A=>A[0].toUpperCase()+A.slice(1).toLowerCase())}}return g.\u0275fac=function(C){return new(C||g)},g.\u0275pipe=s.Yjl({name:"titlecase",type:g,pure:!0,standalone:!0}),g})(),Sr=(()=>{class g{}return g.\u0275fac=function(C){return new(C||g)},g.\u0275mod=s.oAB({type:g}),g.\u0275inj=s.cJS({}),g})();const Ur="browser",po="server";function vi(g){return g===po}let Jo=(()=>{class g{}return g.\u0275prov=(0,s.Yz7)({token:g,providedIn:"root",factory:()=>new yi((0,s.LFG)($),window)}),g})();class yi{constructor(M,C){this.document=M,this.window=C,this.offset=()=>[0,0]}setOffset(M){this.offset=Array.isArray(M)?()=>M:M}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(M){this.supportsScrolling()&&this.window.scrollTo(M[0],M[1])}scrollToAnchor(M){if(!this.supportsScrolling())return;const C=function Ui(g,M){const C=g.getElementById(M)||g.getElementsByName(M)[0];if(C)return C;if("function"==typeof g.createTreeWalker&&g.body&&"function"==typeof g.body.attachShadow){const A=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let j=A.currentNode;for(;j;){const _e=j.shadowRoot;if(_e){const ke=_e.getElementById(M)||_e.querySelector(`[name="${M}"]`);if(ke)return ke}j=A.nextNode()}}return null}(this.document,M);C&&(this.scrollToElement(C),C.focus())}setHistoryScrollRestoration(M){if(this.supportScrollRestoration()){const C=this.window.history;C&&C.scrollRestoration&&(C.scrollRestoration=M)}}scrollToElement(M){const C=M.getBoundingClientRect(),A=C.left+this.window.pageXOffset,j=C.top+this.window.pageYOffset,_e=this.offset();this.window.scrollTo(A-_e[0],j-_e[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const M=Xi(this.window.history)||Xi(Object.getPrototypeOf(this.window.history));return!(!M||!M.writable&&!M.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Xi(g){return Object.getOwnPropertyDescriptor(g,"scrollRestoration")}class lr{}},5879:(q,H,E)=>{"use strict";E.d(H,{$8M:()=>Fc,$WT:()=>ae,$Z:()=>eg,AFp:()=>Xd,ALo:()=>zy,AaK:()=>te,BQk:()=>Wf,CHM:()=>Do,CRH:()=>l0,DdM:()=>Ly,EJc:()=>CE,EpF:()=>q_,F$t:()=>iv,F4k:()=>Q_,FYo:()=>Up,FiY:()=>Nl,Flj:()=>St,Gf:()=>s0,GfV:()=>gf,Gpc:()=>we,Gre:()=>Vv,HDt:()=>R0,Hsn:()=>ov,Ikx:()=>Cg,JOm:()=>Ll,KtG:()=>Na,LFG:()=>In,LMc:()=>yw,Lbi:()=>tl,Lck:()=>fC,MAs:()=>Y_,MGl:()=>Yf,MMx:()=>Oy,MR2:()=>Yd,NdJ:()=>pg,Ojb:()=>Np,OlP:()=>kn,Oqu:()=>Dg,P3R:()=>Fs,PXZ:()=>kE,Q6J:()=>ug,QGY:()=>hg,Qsj:()=>s_,R0b:()=>Fi,RDi:()=>su,Rgc:()=>Yu,SBq:()=>Ql,SDv:()=>Cy,Sil:()=>TE,Suo:()=>a0,TTD:()=>Sa,TgZ:()=>$f,Tol:()=>Cv,VKq:()=>ky,VuI:()=>_w,W1O:()=>f0,WLB:()=>By,X6Q:()=>zE,XFs:()=>nt,Xpm:()=>si,Xq5:()=>R_,Xts:()=>ds,Y36:()=>ll,YKP:()=>My,YNc:()=>G_,Yjl:()=>Ro,Yz7:()=>Ye,Z0I:()=>Ft,ZZ4:()=>im,_Bn:()=>Ty,_UZ:()=>fg,_c5:()=>aw,_uU:()=>Iv,aQg:()=>om,c2e:()=>A0,cJS:()=>qt,cg1:()=>Eg,dDg:()=>PE,dqk:()=>_t,eFA:()=>z0,eJc:()=>jg,ekj:()=>yg,eoX:()=>U0,f3M:()=>gn,g9A:()=>ef,gHi:()=>qp,h0i:()=>yc,hGG:()=>lw,hij:()=>Zf,iGM:()=>o0,ifc:()=>Jt,ip1:()=>I0,jDz:()=>Iy,kEZ:()=>Vy,kL8:()=>Zv,ktI:()=>fl,lG2:()=>Qi,lcZ:()=>Wy,lqb:()=>Uo,lri:()=>V0,n5z:()=>od,oAB:()=>gi,oJD:()=>mp,oxw:()=>rv,qFp:()=>bw,qLn:()=>sl,qOj:()=>ng,qZA:()=>Gf,rWj:()=>H0,rg0:()=>_o,s9C:()=>gg,sBO:()=>WE,s_b:()=>nh,soG:()=>ih,tBr:()=>dd,tb:()=>Qg,tdS:()=>Fr,tp0:()=>Pl,uIk:()=>ig,vHH:()=>le,vpe:()=>bs,wAp:()=>_c,xi3:()=>Yy,xp6:()=>Kp,ynx:()=>zf,z2F:()=>Cc,zSh:()=>qd,zW0:()=>S_,zs3:()=>gs});var s=E(8645),y=E(7394),W=E(5619),L=E(5592),N=E(3019),$=E(2096),V=E(3020),ee=E(4664),Y=E(3997);function K(e){for(let t in e)if(e[t]===K)return t;throw Error("Could not find renamed property on target object.")}function Z(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(te).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function he(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const re=K({__forward_ref__:K});function we(e){return e.__forward_ref__=we,e.toString=function(){return te(this())},e}function De(e){return Ze(e)?e():e}function Ze(e){return"function"==typeof e&&e.hasOwnProperty(re)&&e.__forward_ref__===we}function et(e){return e&&!!e.\u0275providers}const dt="https://g.co/ng/security#xss";class le extends Error{constructor(t,n){super(function Me(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function xe(e){return"string"==typeof e?e:null==e?"":String(e)}function It(e,t){throw new le(-201,!1)}function Le(e,t,n,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${n} ${o} ${t} <=Actual]`))}function Ye(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function qt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Mn(e){return ie(e,He)||ie(e,lt)}function Ft(e){return null!==Mn(e)}function ie(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ce(e){return e&&(e.hasOwnProperty(it)||e.hasOwnProperty(sn))?e[it]:null}const He=K({\u0275prov:K}),it=K({\u0275inj:K}),lt=K({ngInjectableDef:K}),sn=K({ngInjectorDef:K});var nt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(nt||{});let mt;function ct(){return mt}function Qt(e){const t=mt;return mt=e,t}function Gn(e,t,n){const o=Mn(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:n&nt.Optional?null:void 0!==t?t:void It(te(e))}const _t=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Jn={},Vt="__NG_DI_FLAG__",sr="ngTempTokenPath",gr=/\n/gm,fi="__source";let On;function nr(e){const t=On;return On=e,t}function Dr(e,t=nt.Default){if(void 0===On)throw new le(-203,!1);return null===On?Gn(e,void 0,t):On.get(e,t&nt.Optional?null:void 0,t)}function In(e,t=nt.Default){return(ct()||Dr)(De(e),t)}function gn(e,t=nt.Default){return In(e,Br(t))}function Br(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ie(e){const t=[];for(let n=0;nt){d=u-1;break}}}for(;uu?"":l[B+1].toLowerCase();const ue=8&o?ne:null;if(ue&&-1!==Xr(ue,T,0)||2&o&&T!==ne){if(ht(o))return!1;d=!0}}}}else{if(!d&&!ht(o)&&!ht(v))return!1;if(d&&ht(v))continue;d=!1,o=v|1&o}}return ht(o)||d}function ht(e){return 0==(1&e)}function Ht(e,t,n,o){if(null===t)return-1;let l=0;if(o||!n){let u=!1;for(;l-1)for(n++;n0?'="'+m+'"':"")+"]"}else 8&o?l+="."+d:4&o&&(l+=" "+d);else""!==l&&!ht(d)&&(t+=Mr(u,l),l=""),o=d,u=u||!ht(o);n++}return""!==l&&(t+=Mr(u,l)),t}function si(e){return ut(()=>{const t=Qe(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===yt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Jt.Emulated,styles:e.styles||bt,_:null,schemas:e.schemas||null,tView:null,id:""};tt(n);const o=e.dependencies;return n.directiveDefs=Lt(o,!1),n.pipeDefs=Lt(o,!0),n.id=function En(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const l of n)t=Math.imul(31,t)+l.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function ho(e){return Ut(e)||k(e)}function Ao(e){return null!==e}function gi(e){return ut(()=>({type:e.type,bootstrap:e.bootstrap||bt,declarations:e.declarations||bt,imports:e.imports||bt,exports:e.exports||bt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qi(e,t){if(null==e)return Mt;const n={};for(const o in e)if(e.hasOwnProperty(o)){let l=e[o],u=l;Array.isArray(l)&&(u=l[1],l=l[0]),n[l]=o,t&&(t[l]=u)}return n}function Qi(e){return ut(()=>{const t=Qe(e);return tt(t),t})}function Ro(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ut(e){return e[Qn]||null}function k(e){return e[Cr]||null}function ge(e){return e[Vr]||null}function ae(e){const t=Ut(e)||k(e)||ge(e);return null!==t&&t.standalone}function me(e,t){const n=e[hi]||null;if(!n&&!0===t)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}function Qe(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Mt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||bt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qi(e.inputs,t),outputs:qi(e.outputs)}}function tt(e){e.features?.forEach(t=>t(e))}function Lt(e,t){if(!e)return null;const n=t?ge:ho;return()=>("function"==typeof e?e():e).map(o=>n(o)).filter(Ao)}const $t=0,ze=1,Dt=2,Sn=3,_r=4,Nr=5,Kt=6,ki=7,wn=8,Bi=9,ai=10,kt=11,mi=12,Vi=13,Hr=14,Vn=15,_i=16,Hi=17,Sr=18,Ur=19,po=20,li=21,jr=22,go=23,vi=24,Wt=25,No=1,Jo=2,yi=7,Ui=9,lr=11;function vr(e){return Array.isArray(e)&&"object"==typeof e[No]}function Pr(e){return Array.isArray(e)&&!0===e[No]}function ji(e){return 0!=(4&e.flags)}function cr(e){return e.componentOffset>-1}function xo(e){return 1==(1&e.flags)}function rr(e){return!!e.template}function Ko(e){return 0!=(512&e[Dt])}function Wr(e,t){return e.hasOwnProperty(Er)?e[Er]:null}const ts=Symbol("SIGNAL");function ns(e,t,n={}){return t[ts]=e,Object.assign(t,n)}function rs(e,t){return(null===e||"object"!=typeof e)&&Object.is(e,t)}let w=_t.WeakRef??class is{constructor(t){this.ref=t}deref(){return this.ref}},Q=0,Te=null,Be=!1;function Fe(e){const t=Te;return Te=e,t}class Et{constructor(){this.id=Q++,this.ref=function I(e){return new w(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const o=n.producerNode.deref();if(null!=o&&n.atTrackingVersion===this.trackingVersion){if(o.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),o?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=Be;Be=!0;try{for(const[n,o]of this.consumers){const l=o.consumerNode.deref();null!=l&&l.trackingVersion===o.atTrackingVersion?l.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),l?.producers.delete(this.id))}}finally{Be=t}}producerAccessed(){if(Be)throw new Error("");if(null===Te)return;let t=Te.producers.get(this.id);void 0===t?(t={consumerNode:Te.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Te.trackingVersion},Te.producers.set(this.id,t),this.consumers.set(Te.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=Te.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Te?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}function St(e,t){const n=new Kn(e,t?.equal??rs);return ns(n,n.signal.bind(n))}const Rn=Symbol("UNSET"),Xn=Symbol("COMPUTING"),Hn=Symbol("ERRORED");class Kn extends Et{constructor(t,n){super(),this.computation=t,this.equal=n,this.value=Rn,this.error=null,this.stale=!0,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){this.stale||(this.stale=!0,this.producerMayHaveChanged())}onProducerUpdateValueVersion(){if(this.stale){if(this.value!==Rn&&this.value!==Xn&&!this.consumerPollProducersForChange())return void(this.stale=!1);this.recomputeValue()}}recomputeValue(){if(this.value===Xn)throw new Error("Detected cycle in computations.");const t=this.value;this.value=Xn,this.trackingVersion++;const n=Fe(this);let o;try{o=this.computation()}catch(l){o=Hn,this.error=l}finally{Fe(n)}this.stale=!1,t!==Rn&&t!==Hn&&o!==Hn&&this.equal(t,o)?this.value=t:(this.value=o,this.valueVersion++)}signal(){if(this.onProducerUpdateValueVersion(),this.producerAccessed(),this.value===Hn)throw this.error;return this.value}}let Fn=function $r(){throw new Error};function Yt(){Fn()}class bi extends Et{constructor(t,n){super(),this.value=t,this.equal=n,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){}onProducerUpdateValueVersion(){}set(t){this.producerUpdatesAllowed||Yt(),this.equal(this.value,t)||(this.value=t,this.valueVersion++,this.producerMayHaveChanged())}update(t){this.producerUpdatesAllowed||Yt(),this.set(t(this.value))}mutate(t){this.producerUpdatesAllowed||Yt(),t(this.value),this.valueVersion++,this.producerMayHaveChanged()}asReadonly(){return void 0===this.readonlySignal&&(this.readonlySignal=ns(this,()=>this.signal())),this.readonlySignal}signal(){return this.producerAccessed(),this.value}}function Fr(e,t){const n=new bi(e,t?.equal??rs);return ns(n,n.signal.bind(n),{set:n.set.bind(n),update:n.update.bind(n),mutate:n.mutate.bind(n),asReadonly:n.asReadonly.bind(n)})}function _o(e){const t=Fe(null);try{return e()}finally{Fe(t)}}const os=()=>{};class _l extends Et{constructor(t,n,o){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=os,this.registerOnCleanup=l=>{this.cleanupFn=l},this.consumerAllowSignalWrites=o}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Fe(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=os,this.watch(this.registerOnCleanup)}finally{Fe(t)}}cleanup(){this.cleanupFn()}}class Ma{constructor(t,n,o){this.previousValue=t,this.currentValue=n,this.firstChange=o}isFirstChange(){return this.firstChange}}function Sa(){return Oa}function Oa(e){return e.type.prototype.ngOnChanges&&(e.setInput=yl),vl}function vl(){const e=Ia(this),t=e?.current;if(t){const n=e.previous;if(n===Mt)e.previous=t;else for(let o in t)n[o]=t[o];e.current=null,this.ngOnChanges(t)}}function yl(e,t,n,o){const l=this.declaredInputs[n],u=Ia(e)||function Aa(e,t){return e[Ec]=t}(e,{previous:Mt,current:null}),d=u.current||(u.current={}),m=u.previous,v=m[l];d[l]=new Ma(v&&v.currentValue,t,m===Mt),e[o]=t}Sa.ngInherit=!0;const Ec="__ngSimpleChanges__";function Ia(e){return e[Ec]||null}const Si=function(e,t,n){};function fn(e){for(;Array.isArray(e);)e=e[$t];return e}function g(e,t){return fn(t[e])}function M(e,t){return fn(t[e.index])}function A(e,t){return e.data[t]}function j(e,t){return e[t]}function _e(e,t){const n=t[e];return vr(n)?n:n[$t]}function an(e,t){return null==t?null:e[t]}function yn(e){e[Hi]=0}function nn(e){1024&e[Dt]||(e[Dt]|=1024,jn(e,1))}function Wn(e){1024&e[Dt]&&(e[Dt]&=-1025,jn(e,-1))}function jn(e,t){let n=e[Sn];if(null===n)return;n[Nr]+=t;let o=n;for(n=n[Sn];null!==n&&(1===t&&1===o[Nr]||-1===t&&0===o[Nr]);)n[Nr]+=t,o=n,n=n[Sn]}function ur(e,t){if(256==(256&e[Dt]))throw new le(911,!1);null===e[li]&&(e[li]=[]),e[li].push(t)}const wt={lFrame:wl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function vo(){return wt.bindingsEnabled}function hr(){return null!==wt.skipHydrationRootTNode}function Ge(){return wt.lFrame.lView}function ln(){return wt.lFrame.tView}function Do(e){return wt.lFrame.contextLView=e,e[wn]}function Na(e){return wt.lFrame.contextLView=null,e}function pr(){let e=Gi();for(;null!==e&&64===e.type;)e=e.parent;return e}function Gi(){return wt.lFrame.currentTNode}function ci(){const e=wt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function oo(e,t){const n=wt.lFrame;n.currentTNode=e,n.isParent=t}function Oi(){return wt.lFrame.isParent}function Ms(){wt.lFrame.isParent=!1}function Jr(){const e=wt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ii(){return wt.lFrame.bindingIndex++}function Wi(e){const t=wt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Tc(e){wt.lFrame.inI18n=e}function Mc(e,t){const n=wt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Cl(t)}function Cl(e){wt.lFrame.currentDirectiveIndex=e}function Zs(){return wt.lFrame.currentQueryIndex}function qs(e){wt.lFrame.currentQueryIndex=e}function El(e){const t=e[ze];return 2===t.type?t.declTNode:1===t.type?e[Kt]:null}function Pa(e,t,n){if(n&nt.SkipSelf){let l=t,u=e;for(;!(l=l.parent,null!==l||n&nt.Host||(l=El(u),null===l||(u=u[Hr],10&l.type))););if(null===l)return!1;t=l,e=u}const o=wt.lFrame=Xs();return o.currentTNode=t,o.lView=e,!0}function Qs(e){const t=Xs(),n=e[ze];wt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Xs(){const e=wt.lFrame,t=null===e?null:e.child;return null===t?wl(e):t}function wl(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Tl(){const e=wt.lFrame;return wt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const xa=Tl;function Fa(){const e=Tl();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ni(){return wt.lFrame.selectedIndex}function Eo(e){wt.lFrame.selectedIndex=e}function ir(){const e=wt.lFrame;return A(e.tView,e.selectedIndex)}let S=!0;function P(){return S}function F(e){S=e}function Je(e,t){for(let n=t.directiveStart,o=t.directiveEnd;n=o)break}else t[v]<0&&(e[Hi]+=65536),(m>13>16&&(3&e[Dt])===t&&(e[Dt]+=8192,Ss(m,u)):Ss(m,u)}const ao=-1;class Yi{constructor(t,n,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=o}}function qu(e){return e!==ao}function Ml(e){return 32767&e}function Ic(e,t){let n=function hh(e){return e>>16}(e),o=t;for(;n>0;)o=o[Hr],n--;return o}let Ac=!0;function Sl(e){const t=Ac;return Ac=e,t}const Qu=255,Xu=5;let ph=0;const wo={};function Ol(e,t){const n=ed(e,t);if(-1!==n)return n;const o=t[ze];o.firstCreatePass&&(e.injectorIndex=t.length,Rc(o.data,e),Rc(t,null),Rc(o.blueprint,null));const l=Nc(e,t),u=e.injectorIndex;if(qu(l)){const d=Ml(l),m=Ic(l,t),v=m[ze].data;for(let T=0;T<8;T++)t[u+T]=m[d+T]|v[d+T]}return t[u+8]=l,u}function Rc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ed(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Nc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,o=null,l=t;for(;null!==l;){if(o=sd(l),null===o)return ao;if(n++,l=l[Hr],-1!==o.injectorIndex)return o.injectorIndex|n<<16}return ao}function td(e,t,n){!function gh(e,t,n){let o;"string"==typeof n?o=n.charCodeAt(0)||0:n.hasOwnProperty(fr)&&(o=n[fr]),null==o&&(o=n[fr]=ph++);const l=o&Qu;t.data[e+(l>>Xu)]|=1<=0?t&Qu:bh:t}(n);if("function"==typeof u){if(!Pa(t,e,o))return o&nt.Host?mh(l,0,o):nd(t,n,o,l);try{const d=u(o);if(null!=d||o&nt.Optional)return d;It()}finally{xa()}}else if("number"==typeof u){let d=null,m=ed(e,t),v=ao,T=o&nt.Host?t[Vn][Kt]:null;for((-1===m||o&nt.SkipSelf)&&(v=-1===m?Nc(e,t):t[m+8],v!==ao&&id(o,!1)?(d=t[ze],m=Ml(v),t=Ic(v,t)):m=-1);-1!==m;){const R=t[ze];if(rd(u,m,R.data)){const B=fm(m,t,n,d,o,T);if(B!==wo)return B}v=t[m+8],v!==ao&&id(o,t[ze].data[m+8]===T)&&rd(u,m,t)?(d=R,m=Ml(v),t=Ic(v,t)):m=-1}}return l}function fm(e,t,n,o,l,u){const d=t[ze],m=d.data[e+8],R=Il(m,d,n,null==o?cr(m)&&Ac:o!=d&&0!=(3&m.type),l&nt.Host&&u===m);return null!==R?Is(t,d,R,m):wo}function Il(e,t,n,o,l){const u=e.providerIndexes,d=t.data,m=1048575&u,v=e.directiveStart,R=u>>20,ne=l?m+R:e.directiveEnd;for(let ue=o?m:m+R;ue=v&&Ve.type===n)return ue}if(l){const ue=d[v];if(ue&&rr(ue)&&ue.type===n)return v}return null}function Is(e,t,n,o){let l=e[n];const u=t.data;if(function ta(e){return e instanceof Yi}(l)){const d=l;d.resolving&&function qe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new le(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():xe(e)}(u[n]));const m=Sl(d.canSeeViewProviders);d.resolving=!0;const v=d.injectImpl?Qt(d.injectImpl):null;Pa(e,o,nt.Default);try{l=e[n]=d.factory(void 0,u,e,o),t.firstCreatePass&&n>=o.directiveStart&&function ce(e,t,n){const{ngOnChanges:o,ngOnInit:l,ngDoCheck:u}=t.type.prototype;if(o){const d=Oa(t);(n.preOrderHooks??=[]).push(e,d),(n.preOrderCheckHooks??=[]).push(e,d)}l&&(n.preOrderHooks??=[]).push(0-e,l),u&&((n.preOrderHooks??=[]).push(e,u),(n.preOrderCheckHooks??=[]).push(e,u))}(n,u[n],t)}finally{null!==v&&Qt(v),Sl(m),d.resolving=!1,xa()}}return l}function rd(e,t,n){return!!(n[t+(e>>Xu)]&1<{const t=e.prototype.constructor,n=t[Er]||xc(t),o=Object.prototype;let l=Object.getPrototypeOf(e.prototype).constructor;for(;l&&l!==o;){const u=l[Er]||xc(l);if(u&&u!==n)return u;l=Object.getPrototypeOf(l)}return u=>new u})}function xc(e){return Ze(e)?()=>{const t=xc(De(e));return t&&t()}:Wr(e)}function sd(e){const t=e[ze],n=t.type;return 2===n?t.declTNode:1===n?e[Kt]:null}function Fc(e){return function Pc(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const o=n.length;let l=0;for(;l{const o=function Lc(e){return function(...n){if(e){const o=e(...n);for(const l in o)this[l]=o[l]}}}(t);function l(...u){if(this instanceof l)return o.apply(this,u),this;const d=new l(...u);return m.annotation=d,m;function m(v,T,R){const B=v.hasOwnProperty(ia)?v[ia]:Object.defineProperty(v,ia,{value:[]})[ia];for(;B.length<=R;)B.push(null);return(B[R]=B[R]||[]).push(d),v}}return n&&(l.prototype=Object.create(n.prototype)),l.prototype.ngMetadataName=e,l.annotationCls=l,l})}function ka(e,t){e.forEach(n=>Array.isArray(n)?ka(n,t):t(n))}function cd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Al(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ba(e,t){const n=[];for(let o=0;o=0?e[1|o]=n:(o=~o,function Sh(e,t,n,o){let l=e.length;if(l==t)e.push(n,o);else if(1===l)e.push(o,e[0]),e[0]=n;else{for(l--,e.push(e[l-1],e[l]);l>t;)e[l]=e[l-2],l--;e[t]=n,e[t+1]=o}}(e,o,t,n)),o}function kc(e,t){const n=la(e,t);if(n>=0)return e[1|n]}function la(e,t){return function ud(e,t,n){let o=0,l=e.length>>n;for(;l!==o;){const u=o+(l-o>>1),d=e[u<t?l=u:o=u+1}return~(l<({token:e})),-1),Nl=oe(sa("Optional"),8),Pl=oe(sa("SkipSelf"),4);function Gc(e){return 128==(128&e.flags)}var Ll=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ll||{});const _d=/^>|^->||--!>|)/,Gh="\u200b$1\u200b";const Or=new Map;let Lm=0;const ja="__ngContext__";function oi(e,t){vr(t)?(e[ja]=t[Ur],function zc(e){Or.set(e[Ur],e)}(t)):e[ja]=t}let $a;function Ed(e,t){return $a(e,t)}function Bl(e){const t=e[Sn];return Pr(t)?t[Sn]:t}function wd(e){return qc(e[mi])}function Zc(e){return qc(e[_r])}function qc(e){for(;null!==e&&!Pr(e);)e=e[_r];return e}function To(e,t,n,o,l){if(null!=o){let u,d=!1;Pr(o)?u=o:vr(o)&&(d=!0,o=o[$t]);const m=fn(o);0===e&&null!==n?null==l?Od(t,n,m):Ps(t,n,m,l||null,!0):1===e&&null!==n?Ps(t,n,m,l||null,!0):2===e?function jl(e,t,n){const o=Hl(e,t);o&&function ep(e,t,n,o){e.removeChild(t,n,o)}(e,o,t,n)}(t,m,d):3===e&&t.destroyNode(m),null!=u&&function np(e,t,n,o,l){const u=n[yi];u!==fn(n)&&To(t,e,o,u,l);for(let m=lr;mt.replace($h,Gh))}(t))}function Qc(e,t,n){return e.createElement(t,n)}function Ir(e,t){const n=e[Ui],o=n.indexOf(t);Wn(t),n.splice(o,1)}function as(e,t){if(e.length<=lr)return;const n=lr+t,o=e[n];if(o){const l=o[_i];null!==l&&l!==e&&Ir(l,o),t>0&&(e[n-1][_r]=o[_r]);const u=Al(e,lr+t);!function Vm(e,t){Ln(e,t,t[kt],2,null,null),t[$t]=null,t[Kt]=null}(o[ze],o);const d=u[Sr];null!==d&&d.detachView(u[ze]),o[Sn]=null,o[_r]=null,o[Dt]&=-129}return o}function Xc(e,t){if(!(256&t[Dt])){const n=t[kt];t[go]?.destroy(),t[vi]?.destroy(),n.destroyNode&&Ln(e,t,n,3,null,null),function qh(e){let t=e[mi];if(!t)return eu(e[ze],e);for(;t;){let n=null;if(vr(t))n=t[mi];else{const o=t[lr];o&&(n=o)}if(!n){for(;t&&!t[_r]&&t!==e;)vr(t)&&eu(t[ze],t),t=t[Sn];null===t&&(t=e),vr(t)&&eu(t[ze],t),n=t&&t[_r]}t=n}}(t)}}function eu(e,t){if(!(256&t[Dt])){t[Dt]&=-129,t[Dt]|=256,function Vl(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let o=0;o=0?o[d]():o[-d].unsubscribe(),u+=2}else n[u].call(o[n[u+1]]);null!==o&&(t[ki]=null);const l=t[li];if(null!==l){t[li]=null;for(let u=0;u-1){const{encapsulation:u}=e.data[o.directiveStart+l];if(u===Jt.None||u===Jt.Emulated)return null}return M(o,n)}}function Ps(e,t,n,o,l){e.insertBefore(t,n,o,l)}function Od(e,t,n){e.appendChild(t,n)}function Id(e,t,n,o,l){null!==o?Ps(e,t,n,o,l):Od(e,t,n)}function Hl(e,t){return e.parentNode(t)}function za(e,t,n){return Wa(e,t,n)}function Rd(e,t,n){return 40&e.type?M(e,n):null}let tu,ha,Ja,Gl,Wa=Rd;function Nd(e,t){Wa=e,tu=t}function Mo(e,t,n,o){const l=Ga(e,o,t),u=t[kt],m=za(o.parent||t[Kt],o,t);if(null!=l)if(Array.isArray(n))for(let v=0;ve,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}function su(e){Ja=e}function Ka(){if(void 0!==Ja)return Ja;if(typeof document<"u")return document;throw new le(210,!1)}function au(){if(void 0===Gl&&(Gl=null,_t.trustedTypes))try{Gl=_t.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Gl}function Ld(e){return au()?.createHTML(e)||e}function Bd(e){return au()?.createScriptURL(e)||e}class Vd{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${dt})`}}function So(e){return e instanceof Vd?e.changingThisBreaksApplicationSecurity:e}function ga(e,t){const n=function jd(e){return e instanceof Vd&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${dt})`)}return n===t}function up(e){const t=new Ym(e);return function Jm(){try{return!!(new window.DOMParser).parseFromString(xs(""),"text/html")}catch{return!1}}()?new Wm(t):t}class Wm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(xs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Ym{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=xs(t),n}}const Km=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $d(e){return(e=String(e)).match(Km)?e:"unsafe:"+e}function ls(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function zl(...e){const t={};for(const n of e)for(const o in n)n.hasOwnProperty(o)&&(t[o]=!0);return t}const dp=ls("area,br,col,hr,img,wbr"),fp=ls("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hp=ls("rp,rt"),Gd=zl(dp,zl(fp,ls("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")),zl(hp,ls("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")),zl(hp,fp)),zd=ls("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),pp=zl(zd,ls("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"),ls("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")),Wd=ls("script,style,template");class qm{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,o=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?o=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,o&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let l=this.checkClobberedElement(n,n.nextSibling);if(l){n=l;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Gd.hasOwnProperty(n))return this.sanitizedSomething=!0,!Wd.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const o=t.attributes;for(let l=0;l"),!0}endElement(t){const n=t.nodeName.toLowerCase();Gd.hasOwnProperty(n)&&!dp.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Wl(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const lo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,or=/([^\#-~ |!])/g;function Wl(e){return e.replace(/&/g,"&").replace(lo,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(or,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Za;function cu(e){return"content"in e&&function gp(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var cs=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(cs||{});function mp(e){const t=us();return t?Ld(t.sanitize(cs.HTML,e)||""):ga(e,"HTML")?Ld(So(e)):function lu(e,t){let n=null;try{Za=Za||up(e);let o=t?String(t):"";n=Za.getInertBodyElement(o);let l=5,u=o;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,o=u,u=n.innerHTML,n=Za.getInertBodyElement(o)}while(o!==u);return xs((new qm).sanitizeChildren(cu(n)||n))}finally{if(n){const o=cu(n)||n;for(;o.firstChild;)o.removeChild(o.firstChild)}}}(Ka(),xe(e))}function Qa(e){const t=us();return t?t.sanitize(cs.URL,e)||"":ga(e,"URL")?So(e):$d(xe(e))}function uu(e){const t=us();if(t)return Bd(t.sanitize(cs.RESOURCE_URL,e)||"");if(ga(e,"ResourceURL"))return Bd(So(e));throw new le(904,!1)}function Fs(e,t,n){return function bp(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?uu:Qa}(t,n)(e)}function us(){const e=Ge();return e&&e[ai].sanitizer}class kn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Ye({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ds=new kn("ENVIRONMENT_INITIALIZER"),fs=new kn("INJECTOR",-1),du=new kn("INJECTOR_DEF_TYPES");class Dp{get(t,n=Jn){if(n===Jn){const o=new Error(`NullInjectorError: No provider for ${te(t)}!`);throw o.name="NullInjectorError",o}return n}}function Yd(e){return{\u0275providers:e}}function Qm(...e){return{\u0275providers:Cp(0,e),\u0275fromNgModule:!0}}function Cp(e,...t){const n=[],o=new Set;let l;return ka(t,u=>{const d=u;Jd(d,n,[],o)&&(l||=[],l.push(d))}),void 0!==l&&Ep(l,n),n}function Ep(e,t){for(let n=0;n{t.push(u)})}}function Jd(e,t,n,o){if(!(e=De(e)))return!1;let l=null,u=Ce(e);const d=!u&&Ut(e);if(u||d){if(d&&!d.standalone)return!1;l=e}else{const v=e.ngModule;if(u=Ce(v),!u)return!1;l=v}const m=o.has(l);if(d){if(m)return!1;if(o.add(l),d.dependencies){const v="function"==typeof d.dependencies?d.dependencies():d.dependencies;for(const T of v)Jd(T,t,n,o)}}else{if(!u)return!1;{if(null!=u.imports&&!m){let T;o.add(l);try{ka(u.imports,R=>{Jd(R,t,n,o)&&(T||=[],T.push(R))})}finally{}void 0!==T&&Ep(T,t)}if(!m){const T=Wr(l)||(()=>new l);t.push({provide:l,useFactory:T,deps:bt},{provide:du,useValue:l,multi:!0},{provide:ds,useValue:()=>In(l),multi:!0})}const v=u.providers;null==v||m||Kd(v,R=>{t.push(R)})}}return l!==e&&void 0!==e.providers}function Kd(e,t){for(let n of e)et(n)&&(n=n.\u0275providers),Array.isArray(n)?Kd(n,t):t(n)}const Xm=K({provide:String,useValue:K});function Zd(e){return null!==e&&"object"==typeof e&&Xm in e}function _a(e){return"function"==typeof e}const qd=new kn("Set Injector scope."),fu={},Mp={};let hu;function pu(){return void 0===hu&&(hu=new Dp),hu}class Uo{}class Xa extends Uo{get destroyed(){return this._destroyed}constructor(t,n,o,l){super(),this.parent=n,this.source=o,this.scopes=l,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Jl(t,d=>this.processProvider(d)),this.records.set(fs,Ls(void 0,this)),l.has("environment")&&this.records.set(Uo,Ls(void 0,this));const u=this.records.get(qd);null!=u&&"string"==typeof u.value&&this.scopes.add(u.value),this.injectorDefTypes=new Set(this.get(du.multi,bt,nt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=nr(this),o=Qt(void 0);try{return t()}finally{nr(n),Qt(o)}}get(t,n=Jn,o=nt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(wr))return t[wr](this);o=Br(o);const l=nr(this),u=Qt(void 0);try{if(!(o&nt.SkipSelf)){let m=this.records.get(t);if(void 0===m){const v=function Ip(e){return"function"==typeof e||"object"==typeof e&&e instanceof kn}(t)&&Mn(t);m=v&&this.injectableDefInScope(v)?Ls(va(t),fu):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}return(o&nt.Self?pu():this.parent).get(t,n=o&nt.Optional&&n===Jn?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[sr]=d[sr]||[]).unshift(te(t)),l)throw d;return function fe(e,t,n,o){const l=e[sr];throw t[fi]&&l.unshift(t[fi]),e.message=function je(e,t,n,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let l=te(t);if(Array.isArray(t))l=t.map(te).join(" -> ");else if("object"==typeof t){let u=[];for(let d in t)if(t.hasOwnProperty(d)){let m=t[d];u.push(d+":"+("string"==typeof m?JSON.stringify(m):te(m)))}l=`{${u.join(", ")}}`}return`${n}${o?"("+o+")":""}[${l}]: ${e.replace(gr,"\n ")}`}("\n"+e.message,l,n,o),e.ngTokenPath=l,e[sr]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{Qt(u),nr(l)}}resolveInjectorInitializers(){const t=nr(this),n=Qt(void 0);try{const o=this.get(ds.multi,bt,nt.Self);for(const l of o)l()}finally{nr(t),Qt(n)}}toString(){const t=[],n=this.records;for(const o of n.keys())t.push(te(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new le(205,!1)}processProvider(t){let n=_a(t=De(t))?t:De(t&&t.provide);const o=function el(e){return Zd(e)?Ls(void 0,e.useValue):Ls(Sp(e),fu)}(t);if(_a(t)||!0!==t.multi)this.records.get(n);else{let l=this.records.get(n);l||(l=Ls(void 0,fu,!0),l.factory=()=>Ie(l.multi),this.records.set(n,l)),n=t,l.multi.push(t)}this.records.set(n,o)}hydrate(t,n){return n.value===fu&&(n.value=Mp,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Op(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=De(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function va(e){const t=Mn(e),n=null!==t?t.factory:Wr(e);if(null!==n)return n;if(e instanceof kn)throw new le(204,!1);if(e instanceof Function)return function Qd(e){const t=e.length;if(t>0)throw Ba(t,"?"),new le(204,!1);const n=function se(e){return e&&(e[He]||e[lt])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new le(204,!1)}function Sp(e,t,n){let o;if(_a(e)){const l=De(e);return Wr(l)||va(l)}if(Zd(e))o=()=>De(e.useValue);else if(function Tp(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...Ie(e.deps||[]));else if(function wp(e){return!(!e||!e.useExisting)}(e))o=()=>In(De(e.useExisting));else{const l=De(e&&(e.useClass||e.provide));if(!function co(e){return!!e.deps}(e))return Wr(l)||va(l);o=()=>new l(...Ie(e.deps))}return o}function Ls(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Jl(e,t){for(const n of e)Array.isArray(n)?Jl(n,t):n&&et(n)?Jl(n.\u0275providers,t):t(n)}const Xd=new kn("AppId",{providedIn:"root",factory:()=>Ap}),Ap="ng",ef=new kn("Platform Initializer"),tl=new kn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Np=new kn("CSP nonce",{providedIn:"root",factory:()=>Ka().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let sf=(e,t)=>null;function _u(e,t){return sf(e,t)}class hf{}class pf{}class o_{resolveComponentFactory(t){throw function kp(e){const t=Error(`No component factory found for ${te(e)}.`);return t.ngComponent=e,t}(t)}}let Du=(()=>{class e{}return e.NULL=new o_,e})();function Vp(){return ol(pr(),Ge())}function ol(e,t){return new Ql(M(e,t))}let Ql=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Vp,e})();function Hp(e){return e instanceof Ql?e.nativeElement:e}class Up{}let s_=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function jp(){const e=Ge(),n=_e(pr().index,e);return(vr(n)?n:e)[kt]}(),e})(),$p=(()=>{class e{}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:()=>null}),e})();class gf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const a_=new gf("16.1.8"),mf={};function Xl(e){for(;e;){e[Dt]|=64;const t=Bl(e);if(Ko(e)&&!t)return e;e=t}return null}function _f(e){return e.ngOriginalError}class sl{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&_f(t);for(;n&&_f(n);)n=_f(n);return n||null}}const zp=new kn("",{providedIn:"root",factory:()=>!1});function ps(e){return e instanceof Function?e():e}class Cf extends Et{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){Xl(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,o){const l=Fe(this);this.trackingVersion++;try{t(n,o)}finally{Fe(l)}}destroy(){this.trackingVersion++}}let ec=null;function Ef(){return ec??=new Cf,ec}function Eu(e,t){return e[t]??Ef()}function Jp(e,t){const n=Ef();n.hasReadASignal&&(e[t]=ec,n.lView=e,ec=new Cf)}const Xt={};function Kp(e){Zp(ln(),Ge(),ni()+e,!1)}function Zp(e,t,n,o){if(!o)if(3==(3&t[Dt])){const u=e.preOrderCheckHooks;null!==u&&Ct(t,u,n)}else{const u=e.preOrderHooks;null!==u&&Ot(t,u,0,n)}Eo(n)}function qp(e){if(!ct()&&!function dr(){return On}())throw new le(-203,!1)}function Mf(e,t=null,n=null,o){const l=Sf(e,t,n,o);return l.resolveInjectorInitializers(),l}function Sf(e,t=null,n=null,o,l=new Set){const u=[n||bt,Qm(e)];return o=o||("object"==typeof e?void 0:te(e)),new Xa(u,t||pu(),o||null,l)}let gs=(()=>{class e{static create(n,o){if(Array.isArray(n))return Mf({name:""},o,n,"");{const l=n.name??"";return Mf({name:l},n.parent,n.providers,l)}}}return e.THROW_IF_NOT_FOUND=Jn,e.NULL=new Dp,e.\u0275prov=Ye({token:e,providedIn:"any",factory:()=>In(fs)}),e.__NG_ELEMENT_ID__=-1,e})();function ll(e,t=nt.Default){const n=Ge();return null===n?In(e,t):_h(pr(),n,De(e),t)}function eg(){throw new Error("invalid")}function i(e,t,n,o,l,u,d,m,v,T,R){const B=t.blueprint.slice();return B[$t]=l,B[Dt]=140|o,(null!==T||e&&2048&e[Dt])&&(B[Dt]|=2048),yn(B),B[Sn]=B[Hr]=e,B[wn]=n,B[ai]=d||e&&e[ai],B[kt]=m||e&&e[kt],B[Bi]=v||e&&e[Bi]||null,B[Kt]=u,B[Ur]=function zh(){return Lm++}(),B[jr]=R,B[po]=T,B[Vn]=2==t.type?e[Vn]:B,B}function a(e,t,n,o,l){let u=e.data[t];if(null===u)u=r(e,t,n,o,l),function Dl(){return wt.lFrame.inI18n}()&&(u.flags|=32);else if(64&u.type){u.type=n,u.value=o,u.attrs=l;const d=ci();u.injectorIndex=null===d?-1:d.injectorIndex}return oo(u,!0),u}function r(e,t,n,o,l){const u=Gi(),d=Oi(),v=e.data[t]=function Dn(e,t,n,o,l,u){let d=t?t.injectorIndex:-1,m=0;return hr()&&(m|=128),{type:n,index:o,insertBeforeIndex:null,injectorIndex:d,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:m,providerIndexes:0,value:l,attrs:u,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,d?u:u&&u.parent,n,t,o,l);return null===e.firstChild&&(e.firstChild=v),null!==u&&(d?null==u.child&&null!==v.parent&&(u.child=v):null===u.next&&(u.next=v,v.prev=u)),v}function c(e,t,n,o){if(0===n)return-1;const l=t.length;for(let u=0;uWt&&Zp(e,t,Wt,!1),Si(m?2:0,l),m)u.runInContext(n,o,l);else{const T=Fe(null);try{n(o,l)}finally{Fe(T)}}}finally{m&&null===t[go]&&Jp(t,go),Eo(d),Si(m?3:1,l)}}function D(e,t,n){if(ji(t)){const o=Fe(null);try{const u=t.directiveEnd;for(let d=t.directiveStart;dnull;function hn(e,t,n,o){for(let l in e)if(e.hasOwnProperty(l)){n=null===n?{}:n;const u=e[l];null===o?Zn(n,t,l,u):o.hasOwnProperty(l)&&Zn(n,t,o[l],u)}return n}function Zn(e,t,n,o){e.hasOwnProperty(n)?e[n].push(t,o):e[n]=[t,o]}function tn(e,t,n,o,l,u,d,m){const v=M(t,n);let R,T=t.inputs;!m&&null!=T&&(R=T[o])?(Au(e,n,R,o,l),cr(t)&&function er(e,t){const n=_e(t,e);16&n[Dt]||(n[Dt]|=64)}(n,t.index)):3&t.type&&(o=function Pn(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),l=null!=d?d(l,t.value||"",o):l,u.setProperty(v,o,l))}function yr(e,t,n,o){if(vo()){const l=null===o?null:{"":-1},u=function fo(e,t){const n=e.directiveRegistry;let o=null,l=null;if(n)for(let u=0;u0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(d)!=m&&d.push(m),d.push(n,o,u)}}(e,t,o,c(e,n,l.hostVars,Xt),l)}function di(e,t,n,o,l,u){const d=M(e,t);!function Oo(e,t,n,o,l,u,d){if(null==u)e.removeAttribute(t,l,n);else{const m=null==d?xe(u):d(u,o||"",l);e.setAttribute(t,l,m,n)}}(t[kt],d,u,e.value,n,o,l)}function ul(e,t,n,o,l,u){const d=u[t];if(null!==d)for(let m=0;m{class e{}return e.__NG_ELEMENT_ID__=Pf,e.__NG_ENV_ID__=t=>t,e})();class Nf extends fl{constructor(t){super(),this._lView=t}onDestroy(t){return ur(this._lView,t),()=>function ti(e,t){if(null===e[li])return;const n=e[li].indexOf(t);-1!==n&&e[li].splice(n,1)}(this._lView,t)}}function Pf(){return new Nf(Ge())}let Ru=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,o,l){const u=typeof Zone>"u"?null:Zone.current,d=new _l(n,T=>{this.all.has(T)&&this.queue.set(T,u)},l);let m;this.all.add(d),d.notify();const v=()=>{d.cleanup(),m?.(),this.all.delete(d),this.queue.delete(d)};return m=o?.onDestroy(v),{destroy:v}}flush(){if(0!==this.queue.size)for(const[n,o]of this.queue)this.queue.delete(n),o?o.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:()=>new e}),e})();function Ff(e,t,n){let o=n?e.styles:null,l=n?e.classes:null,u=0;if(null!==t)for(let d=0;d0){D_(e,1);const l=e[ze].components;null!==l&&E_(e,l,1)}}function E_(e,t,n){for(let o=0;o-1&&(as(t,o),Al(n,o))}this._attachedToViewContainer=!1}Xc(this._lView[ze],this._lView)}onDestroy(t){ur(this._lView,t)}markForCheck(){Xl(this._cdRefInjectingView||this._lView)}detach(){this._lView[Dt]&=-129}reattach(){this._lView[Dt]|=128}detectChanges(){Lf(this._lView[ze],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new le(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Um(e,t){Ln(e,t,t[kt],2,null,null)}(this._lView[ze],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new le(902,!1);this._appRef=t}}class Rb extends Pu{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Lf(t[ze],t,t[wn],!1)}checkNoChanges(){}get context(){return null}}class w_ extends Du{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ut(t);return new xu(n,this.ngModule)}}function T_(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Pb{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,o){o=Br(o);const l=this.injector.get(t,mf,o);return l!==mf||n===mf?l:this.parentInjector.get(t,n,o)}}class xu extends pf{get inputs(){const t=this.componentDef,n=t.inputTransforms,o=T_(t.inputs);if(null!==n)for(const l of o)n.hasOwnProperty(l.propName)&&(l.transform=n[l.propName]);return o}get outputs(){return T_(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function pi(e){return e.map(ei).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,o,l){let u=(l=l||this.ngModule)instanceof Uo?l:l?.injector;u&&null!==this.componentDef.getStandaloneInjector&&(u=this.componentDef.getStandaloneInjector(u)||u);const d=u?new Pb(t,u):t,m=d.get(Up,null);if(null===m)throw new le(407,!1);const R={rendererFactory:m,sanitizer:d.get($p,null),effectManager:d.get(Ru,null)},B=m.createRenderer(null,this.componentDef),ne=this.componentDef.selectors[0][0]||"div",ue=o?function ft(e,t,n,o){const u=o.get(zp,!1)||n===Jt.ShadowDom,d=e.selectRootElement(t,u);return function rt(e){pt(e)}(d),d}(B,o,this.componentDef.encapsulation,d):Qc(B,ne,function Nb(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(ne)),gt=this.componentDef.signals?4608:this.componentDef.onPush?576:528,At=de(0,null,null,1,0,null,null,null,null,null,null),$e=i(null,At,null,gt,null,null,R,B,d,null,null);let Zt,Tn;Qs($e);try{const xn=this.componentDef;let wi,ch=null;xn.findHostDirectiveDefs?(wi=[],ch=new Map,xn.findHostDirectiveDefs(xn,wi,ch),wi.push(xn)):wi=[xn];const Dw=function Fb(e,t){const n=e[ze],o=Wt;return e[o]=t,a(n,o,2,"#host",null)}($e,ue),Cw=function Lb(e,t,n,o,l,u,d){const m=l[ze];!function kb(e,t,n,o){for(const l of e)t.mergedAttrs=z(t.mergedAttrs,l.hostAttrs);null!==t.mergedAttrs&&(Ff(t,t.mergedAttrs,!0),null!==n&&ou(o,n,t))}(o,e,t,d);let v=null;null!==t&&(v=_u(t,l[Bi]));const T=u.rendererFactory.createRenderer(t,n);let R=16;n.signals?R=4096:n.onPush&&(R=64);const B=i(l,X(n),null,R,l[e.index],e,u,T,null,null,v);return m.firstCreatePass&&ba(m,e,o.length-1),Da(l,B),l[e.index]=B}(Dw,ue,xn,wi,$e,R,B);Tn=A(At,Wt),ue&&function Vb(e,t,n,o){if(o)Tr(e,n,["ng-version",a_.full]);else{const{attrs:l,classes:u}=function Gr(e){const t=[],n=[];let o=1,l=2;for(;o0&&iu(e,n,u.join(" "))}}(B,xn,ue,o),void 0!==n&&function Hb(e,t,n){const o=e.projection=[];for(let l=0;l=0;o--){const l=e[o];l.hostVars=t+=l.hostVars,l.hostAttrs=z(l.hostAttrs,n=z(n,l.hostAttrs))}}(o)}function kf(e){return e===Mt?{}:e===bt?[]:e}function $b(e,t){const n=e.viewQuery;e.viewQuery=n?(o,l)=>{t(o,l),n(o,l)}:t}function Gb(e,t){const n=e.contentQueries;e.contentQueries=n?(o,l,u)=>{t(o,l,u),n(o,l,u)}:t}function zb(e,t){const n=e.hostBindings;e.hostBindings=n?(o,l)=>{t(o,l),n(o,l)}:t}function S_(e){return t=>{t.findHostDirectiveDefs=O_,t.hostDirectives=(Array.isArray(e)?e:e()).map(n=>"function"==typeof n?{directive:De(n),inputs:Mt,outputs:Mt}:{directive:De(n.directive),inputs:I_(n.inputs),outputs:I_(n.outputs)})}}function O_(e,t,n){if(null!==e.hostDirectives)for(const o of e.hostDirectives){const l=k(o.directive);Kb(l.declaredInputs,o.inputs),O_(l,t,n),n.set(l,o),t.push(l)}}function I_(e){if(void 0===e||0===e.length)return Mt;const t={};for(let n=0;n(F(!0),Qc(o,l,function b(){return wt.lFrame.currentNamespace}()));function zf(e,t,n){const o=Ge(),l=ln(),u=e+Wt,d=l.firstCreatePass?function CD(e,t,n,o,l){const u=t.consts,d=an(u,o),m=a(t,e,8,"ng-container",d);return null!==d&&Ff(m,d,!0),yr(t,n,m,an(u,l)),null!==t.queries&&t.queries.elementStart(t,m),m}(u,l,o,t,n):l.data[u];oo(d,!0);const m=Z_(l,o,d,e);return o[u]=m,P()&&Mo(l,o,m,d),oi(m,o),xo(d)&&(x(l,o,d),D(l,d,o)),null!=n&&J(o,d),zf}function Wf(){let e=pr();const t=ln();return Oi()?Ms():(e=e.parent,oo(e,!1)),t.firstCreatePass&&(Je(t,e),ji(e)&&t.queries.elementEnd(e)),Wf}let Z_=(e,t,n,o)=>(F(!0),Td(t[kt],""));function q_(){return Ge()}function hg(e){return!!e&&"function"==typeof e.then}function Q_(e){return!!e&&"function"==typeof e.subscribe}function pg(e,t,n,o){const l=Ge(),u=ln(),d=pr();return function ev(e,t,n,o,l,u,d){const m=xo(o),T=e.firstCreatePass&&Af(e),R=t[wn],B=If(t);let ne=!0;if(3&o.type||d){const Xe=M(o,t),gt=d?d(Xe):Xe,At=B.length,$e=d?Tn=>d(fn(Tn[o.index])):o.index;let Zt=null;if(!d&&m&&(Zt=function TD(e,t,n,o){const l=e.cleanup;if(null!=l)for(let u=0;uv?m[v]:null}"string"==typeof d&&(u+=2)}return null}(e,t,l,o.index)),null!==Zt)(Zt.__ngLastListenerFn__||Zt).__ngNextListenerFn__=u,Zt.__ngLastListenerFn__=u,ne=!1;else{u=nv(o,t,R,u,!1);const Tn=n.listen(gt,l,u);B.push(u,Tn),T&&T.push(l,$e,At,At+1)}}else u=nv(o,t,R,u,!1);const ue=o.outputs;let Ve;if(ne&&null!==ue&&(Ve=ue[l])){const Xe=Ve.length;if(Xe)for(let gt=0;gt-1?_e(e.index,t):t);let v=tv(t,n,o,d),T=u.__ngNextListenerFn__;for(;T;)v=tv(t,n,T,d)&&v,T=T.__ngNextListenerFn__;return l&&!1===v&&d.preventDefault(),v}}function rv(e=1){return function Ku(e){return(wt.lFrame.contextLView=function ea(e,t){for(;e>0;)t=t[Hr],e--;return t}(e,wt.lFrame.contextLView))[wn]}(e)}function MD(e,t){let n=null;const o=function Cn(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let l=0;l>17&32767}function mg(e){return 2|e}function pl(e){return(131068&e)>>2}function _g(e,t){return-131069&e|t<<2}function vg(e){return 1|e}function pv(e,t,n,o,l){const u=e[n+1],d=null===t;let m=o?Ca(u):pl(u),v=!1;for(;0!==m&&(!1===v||d);){const R=e[m+1];ND(e[m],t)&&(v=!0,e[m+1]=o?vg(R):mg(R)),m=o?Ca(R):pl(R)}v&&(e[n+1]=o?mg(u):vg(u))}function ND(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&la(e,t)>=0}const Qr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gv(e){return e.substring(Qr.key,Qr.keyEnd)}function mv(e,t){const n=Qr.textEnd;return n===t?-1:(t=Qr.keyEnd=function LD(e,t,n){for(;t32;)t++;return t}(e,Qr.key=t,n),gc(e,t,n))}function gc(e,t,n){for(;t=0;n=mv(t,n))Ai(e,gv(t),!0)}function Wo(e,t,n,o){const l=ln(),u=Wi(2);l.firstUpdatePass&&wv(l,null,u,o);const d=Ge();if(n!==Xt&&Ei(d,u,n)){const m=l.data[ni()];if(Ov(m,o)&&!Ev(l,u)){let v=o?m.classesWithoutHost:m.stylesWithoutHost;null!==v&&(n=he(v,n||"")),dg(l,m,d,n,o)}else!function WD(e,t,n,o,l,u,d,m){l===Xt&&(l=bt);let v=0,T=0,R=0=e.expandoStartIndex}function wv(e,t,n,o){const l=e.data;if(null===l[n+1]){const u=l[ni()],d=Ev(e,n);Ov(u,o)&&null===t&&!d&&(t=!1),t=function HD(e,t,n,o){const l=function so(e){const t=wt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let u=o?t.residualClasses:t.residualStyles;if(null===l)0===(o?t.classBindings:t.styleBindings)&&(n=Vu(n=bg(null,e,t,n,o),t.attrs,o),u=null);else{const d=t.directiveStylingLast;if(-1===d||e[d]!==l)if(n=bg(l,e,t,n,o),null===u){let v=function UD(e,t,n){const o=n?t.classBindings:t.styleBindings;if(0!==pl(o))return e[Ca(o)]}(e,t,o);void 0!==v&&Array.isArray(v)&&(v=bg(null,e,t,v[1],o),v=Vu(v,t.attrs,o),function jD(e,t,n,o){e[Ca(n?t.classBindings:t.styleBindings)]=o}(e,t,o,v))}else u=function $D(e,t,n){let o;const l=t.directiveEnd;for(let u=1+t.directiveStylingLast;u0)&&(T=!0)):R=n,l)if(0!==v){const ne=Ca(e[m+1]);e[o+1]=Jf(ne,m),0!==ne&&(e[ne+1]=_g(e[ne+1],o)),e[m+1]=function OD(e,t){return 131071&e|t<<17}(e[m+1],o)}else e[o+1]=Jf(m,0),0!==m&&(e[m+1]=_g(e[m+1],o)),m=o;else e[o+1]=Jf(v,0),0===m?m=o:e[v+1]=_g(e[v+1],o),v=o;T&&(e[o+1]=mg(e[o+1])),pv(e,R,o,!0),pv(e,R,o,!1),function RD(e,t,n,o,l){const u=l?e.residualClasses:e.residualStyles;null!=u&&"string"==typeof t&&la(u,t)>=0&&(n[o+1]=vg(n[o+1]))}(t,R,e,o,u),d=Jf(m,v),u?t.classBindings=d:t.styleBindings=d}(l,u,t,n,d,o)}}function bg(e,t,n,o,l){let u=null;const d=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m0;){const v=e[l],T=Array.isArray(v),R=T?v[1]:v,B=null===R;let ne=n[l+1];ne===Xt&&(ne=B?bt:void 0);let ue=B?kc(ne,o):R===o?ne:void 0;if(T&&!Kf(ue)&&(ue=kc(v,o)),Kf(ue)&&(m=ue,d))return m;const Ve=e[l+1];l=d?Ca(Ve):pl(Ve)}if(null!==t){let v=u?t.residualClasses:t.residualStyles;null!=v&&(m=kc(v,o))}return m}function Kf(e){return void 0!==e}function Ov(e,t){return 0!=(e.flags&(t?8:16))}function Iv(e,t=""){const n=Ge(),o=ln(),l=e+Wt,u=o.firstCreatePass?a(o,l,1,t,null):o.data[l],d=Av(o,n,u,t,e);n[l]=d,P()&&Mo(o,n,d,u),oo(u,!1)}let Av=(e,t,n,o,l)=>(F(!0),Ns(t[kt],o));function Dg(e){return Zf("",e,""),Dg}function Zf(e,t,n){const o=Ge(),l=ac(o,e,t,n);return l!==Xt&&function Go(e,t,n){const o=g(t,e);!function Zh(e,t,n){e.setValue(t,n)}(e[kt],o,n)}(o,ni(),l),Zf}function Vv(e,t,n){Wo(Ai,ys,ac(Ge(),e,t,n),!0)}function Cg(e,t,n){const o=Ge();return Ei(o,Ii(),t)&&tn(ln(),ir(),o,e,t,o[kt],n,!0),Cg}const gl=void 0;var p1=["en",[["a","p"],["AM","PM"],gl],[["AM","PM"],gl,gl],[["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"]],gl,[["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"]],gl,[["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}",gl,"{1} 'at' {0}",gl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function h1(e){const n=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===o?1:5}];let mc={};function Eg(e){const t=function g1(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=qv(t);if(n)return n;const o=t.split("-")[0];if(n=qv(o),n)return n;if("en"===o)return p1;throw new le(701,!1)}function Zv(e){return Eg(e)[_c.PluralCase]}function qv(e){return e in mc||(mc[e]=_t.ng&&_t.ng.common&&_t.ng.common.locales&&_t.ng.common.locales[e]),mc[e]}var _c=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(_c||{});const vc="en-US",qf={marker:"element"},Qf={marker:"ICU"};var Ki=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Ki||{});let Qv=vc;function Xv(e){(function Se(e,t){null==e&&Le(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Qv=e.toLowerCase().replace(/_/g,"-"))}function ey(e,t,n){const o=t.insertBeforeIndex,l=Array.isArray(o)?o[0]:o;return null===l?Rd(e,0,n):fn(n[l])}function ty(e,t,n,o,l){const u=t.insertBeforeIndex;if(Array.isArray(u)){let d=o,m=null;if(3&t.type||(m=d,d=l),null!==d&&-1===t.componentOffset)for(let v=1;v1)for(let n=e.length-2;n>=0;n--){const o=e[n];ry(o)||b1(o,t)&&null===D1(o)&&C1(o,t.index)}}function ry(e){return!(64&e.type)}function b1(e,t){return ry(t)||e.index>t.index}function D1(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function C1(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Nd(ey,ty),e.insertBeforeIndex=t)}function T1(e,t,n){const o=r(e,n,64,null,null);return ny(t,o),o}function N1(){const e=[];let n,o,t=-1;function u(m,v){t=0;const T=function Xf(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}(m,v);o=null!==T?m.remove[T]:bt}function d(){if(t0?n[m]:(e.push(t,o),u(n[ze].data[~m],n),d())}return 0===e.length?null:(o=e.pop(),t=e.pop(),d())}return function l(m,v){for(n=v;e.length;)e.pop();return u(m.value,v),d}}const eh=/\ufffd(\d+):?\d*\ufffd/gi,x1=/\ufffd(\d+)\ufffd/,fy=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,$u="\ufffd",F1=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,L1=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,k1=/\uE500/g;function hy(e,t,n,o,l,u,d){const m=c(e,o,1,null);let v=m<n.length&&n.push(v)}return{type:o,mainBinding:l,cases:t,values:n}}function wg(e){if(!e)return[];let t=0;const n=[],o=[],l=/[{}]/g;let u;for(l.lastIndex=0;u=l.exec(e);){const m=u.index;if("}"==u[0]){if(n.pop(),0==n.length){const v=e.substring(t,m);fy.test(v)?o.push(z1(v)):o.push(v),t=m+1}}else{if(0==n.length){const v=e.substring(t,m);o.push(v),t=m+1}n.push("{")}}const d=e.substring(t);return o.push(d),o}function W1(e,t,n,o,l,u,d,m){const v=[],T=[],R=[];t.cases.push(u),t.create.push(v),t.remove.push(T),t.update.push(R);const ne=up(Ka()).getInertBodyElement(d),ue=cu(ne)||ne;return ue?_y(e,t,n,o,v,T,R,ue,l,m,0):0}function _y(e,t,n,o,l,u,d,m,v,T,R){let B=0,ne=m.firstChild;for(;ne;){const ue=c(e,n,1,null);switch(ne.nodeType){case Node.ELEMENT_NODE:const Ve=ne,Xe=Ve.tagName.toLowerCase();if(Gd.hasOwnProperty(Xe)){Tg(l,qf,Xe,v,ue),e.data[ue]=Xe;const Zt=Ve.attributes;for(let Tn=0;Tn>>Ki.SHIFT;let B=e[R];null===B&&(B=e[R]=(d&Ki.COMMENT)===Ki.COMMENT?l.createComment(m):Ns(l,m)),T&&null!==n&&Ps(l,n,B,o,!1)}})(l,v.create,R,m&&8&m.type?l[m.index]:null),Tc(!0)}function Cy(e,t,n){by(e,t,n),function Dy(){Tc(!1)}()}function Mg(e,t,n,o,l){if(e=De(e),Array.isArray(e))for(let u=0;u>20;if(_a(e)||!e.multi){const ue=new Yi(v,l,ll),Ve=Og(m,t,l?R:R+ne,B);-1===Ve?(td(Ol(T,d),u,m),Sg(u,e,t.length),t.push(m),T.directiveStart++,T.directiveEnd++,l&&(T.providerIndexes+=1048576),n.push(ue),d.push(ue)):(n[Ve]=ue,d[Ve]=ue)}else{const ue=Og(m,t,R+ne,B),Ve=Og(m,t,R,R+ne),gt=Ve>=0&&n[Ve];if(l&&!gt||!l&&!(ue>=0&&n[ue])){td(Ol(T,d),u,m);const At=function dC(e,t,n,o,l){const u=new Yi(e,n,ll);return u.multi=[],u.index=t,u.componentProviders=0,wy(u,l,o&&!n),u}(l?uC:cC,n.length,l,o,v);!l&>&&(n[Ve].providerFactory=At),Sg(u,e,t.length,0),t.push(m),T.directiveStart++,T.directiveEnd++,l&&(T.providerIndexes+=1048576),n.push(At),d.push(At)}else Sg(u,e,ue>-1?ue:Ve,wy(n[l?Ve:ue],v,!l&&o));!l&&o&>&&n[Ve].componentProviders++}}}function Sg(e,t,n,o){const l=_a(t),u=function e_(e){return!!e.useClass}(t);if(l||u){const v=(u?De(t.useClass):t).prototype.ngOnDestroy;if(v){const T=e.destroyHooks||(e.destroyHooks=[]);if(!l&&t.multi){const R=T.indexOf(n);-1===R?T.push(n,[o,v]):T[R+1].push(o,v)}else T.push(n,v)}}}function wy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Og(e,t,n,o){for(let l=n;l{n.providersResolver=(o,l)=>function lC(e,t,n){const o=ln();if(o.firstCreatePass){const l=rr(e);Mg(n,o.data,o.blueprint,l,!0),Mg(t,o.data,o.blueprint,l,!1)}}(o,l?l(e):e,t)}}class yc{}class My{}function fC(e,t){return new Ag(e,t??null,[])}class Ag extends yc{constructor(t,n,o){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new w_(this);const l=me(t);this._bootstrapComponents=ps(l.bootstrap),this._r3Injector=Sf(t,n,[{provide:yc,useValue:this},{provide:Du,useValue:this.componentFactoryResolver},...o],te(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Rg extends My{constructor(t){super(),this.moduleType=t}create(t){return new Ag(this.moduleType,t,[])}}class Sy extends yc{constructor(t){super(),this.componentFactoryResolver=new w_(this),this.instance=null;const n=new Xa([...t.providers,{provide:yc,useValue:this},{provide:Du,useValue:this.componentFactoryResolver}],t.parent||pu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Oy(e,t,n=null){return new Sy({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let pC=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const o=Cp(0,n.type),l=o.length>0?Oy([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,l)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Ye({token:e,providedIn:"environment",factory:()=>new e(In(Uo))}),e})();function Iy(e){e.getStandaloneInjector=t=>t.get(pC).getOrCreateStandaloneInjector(e)}function Ly(e,t,n){const o=Jr()+e,l=Ge();return l[o]===Xt?_s(l,o,n?t.call(n):t()):function Fu(e,t){return e[t]}(l,o)}function ky(e,t,n,o){return Hy(Ge(),Jr(),e,t,n,o)}function By(e,t,n,o,l){return Uy(Ge(),Jr(),e,t,n,o,l)}function Vy(e,t,n,o,l,u){return function jy(e,t,n,o,l,u,d,m){const v=t+n;return function Vf(e,t,n,o,l){const u=hl(e,t,n,o);return Ei(e,t+2,l)||u}(e,v,l,u,d)?_s(e,v+3,m?o.call(m,l,u,d):o(l,u,d)):zu(e,v+3)}(Ge(),Jr(),e,t,n,o,l,u)}function zu(e,t){const n=e[t];return n===Xt?void 0:n}function Hy(e,t,n,o,l,u){const d=t+n;return Ei(e,d,l)?_s(e,d+1,u?o.call(u,l):o(l)):zu(e,d+1)}function Uy(e,t,n,o,l,u,d){const m=t+n;return hl(e,m,l,u)?_s(e,m+2,d?o.call(d,l,u):o(l,u)):zu(e,m+2)}function zy(e,t){const n=ln();let o;const l=e+Wt;n.firstCreatePass?(o=function IC(e,t){if(t)for(let n=t.length-1;n>=0;n--){const o=t[n];if(e===o.name)return o}}(t,n.pipeRegistry),n.data[l]=o,o.onDestroy&&(n.destroyHooks??=[]).push(l,o.onDestroy)):o=n.data[l];const u=o.factory||(o.factory=Wr(o.type)),d=Qt(ll);try{const m=Sl(!1),v=u();return Sl(m),function vD(e,t,n,o){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=o}(n,Ge(),l,v),v}finally{Qt(d)}}function Wy(e,t,n){const o=e+Wt,l=Ge(),u=j(l,o);return Wu(l,o)?Hy(l,Jr(),t,u.transform,n,u):u.transform(n)}function Yy(e,t,n,o){const l=e+Wt,u=Ge(),d=j(u,l);return Wu(u,l)?Uy(u,Jr(),t,d.transform,n,o,d):d.transform(n,o)}function Wu(e,t){return e[ze].data[t].pure}function Pg(e){return t=>{setTimeout(e,void 0,t)}}const bs=class PC extends s.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,o){let l=t,u=n||(()=>null),d=o;if(t&&"object"==typeof t){const v=t;l=v.next?.bind(v),u=v.error?.bind(v),d=v.complete?.bind(v)}this.__isAsync&&(u=Pg(u),l&&(l=Pg(l)),d&&(d=Pg(d)));const m=super.subscribe({next:l,error:u,complete:d});return t instanceof y.w0&&t.add(m),m}};function xC(){return this._results[Symbol.iterator]()}class xg{get changes(){return this._changes||(this._changes=new bs)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=xg.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=xC)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const o=this;o.dirty=!1;const l=function Ji(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Th(e,t,n){if(e.length!==t.length)return!1;for(let o=0;o{class e{}return e.__NG_ELEMENT_ID__=kC,e})();const FC=Yu,LC=class extends FC{constructor(t,n,o){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,o){const d=this._declarationTContainer.tView,m=i(this._declarationLView,d,t,4096&this._declarationLView[Dt]?4096:16,null,d.declTNode,null,null,null,n||null,o||null);m[_i]=this._declarationLView[this._declarationTContainer.index];const T=this._declarationLView[Sr];return null!==T&&(m[Sr]=T.createEmbeddedView(d)),oc(d,m,t),new Pu(m)}};function kC(){return th(pr(),Ge())}function th(e,t){return 4&e.type?new LC(t,e,ol(e,t)):null}let nh=(()=>{class e{}return e.__NG_ELEMENT_ID__=GC,e})();function GC(){return Xy(pr(),Ge())}const zC=nh,qy=class extends zC{constructor(t,n,o){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=o}get element(){return ol(this._hostTNode,this._hostLView)}get injector(){return new na(this._hostTNode,this._hostLView)}get parentInjector(){const t=Nc(this._hostTNode,this._hostLView);if(qu(t)){const n=Ic(t,this._hostLView),o=Ml(t);return new na(n[ze].data[o+8],n)}return new na(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Qy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-lr}createEmbeddedView(t,n,o){let l,u;"number"==typeof o?l=o:null!=o&&(l=o.index,u=o.injector);const m=t.createEmbeddedViewImpl(n||{},u,null);return this.insertImpl(m,l,false),m}createComponent(t,n,o,l,u){const d=t&&!function La(e){return"function"==typeof e}(t);let m;if(d)m=n;else{const Xe=n||{};m=Xe.index,o=Xe.injector,l=Xe.projectableNodes,u=Xe.environmentInjector||Xe.ngModuleRef}const v=d?t:new xu(Ut(t)),T=o||this.parentInjector;if(!u&&null==v.ngModule){const gt=(d?T:this.parentInjector).get(Uo,null);gt&&(u=gt)}Ut(v.componentType??{});const ue=v.create(T,l,null,u);return this.insertImpl(ue.hostView,m,false),ue}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,o){const l=t._lView,u=l[ze];if(function Un(e){return Pr(e[Sn])}(l)){const v=this.indexOf(t);if(-1!==v)this.detach(v);else{const T=l[Sn],R=new qy(T,T[Kt],T[Sn]);R.detach(R.indexOf(t))}}const d=this._adjustIndex(n),m=this._lContainer;if(function Qh(e,t,n,o){const l=lr+o,u=n.length;o>0&&(n[l-1][_r]=t),o0)o.push(d[m/2]);else{const T=u[m+1],R=t[-v];for(let B=lr;B{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=gn(I0,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const l of this.appInits){const u=l();if(hg(u))n.push(u);else if(Q_(u)){const d=new Promise((m,v)=>{u.subscribe({complete:m,error:v})});n.push(d)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(l=>{this.reject(l)}),0===n.length&&o(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),A0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const ih=new kn("LocaleId",{providedIn:"root",factory:()=>gn(ih,nt.Optional|nt.SkipSelf)||function DE(){return typeof $localize<"u"&&$localize.locale||vc}()}),CE=new kn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let R0=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new W.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class wE{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let TE=(()=>{class e{compileModuleSync(n){return new Rg(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const o=this.compileModuleSync(n),u=ps(me(n).declarations).reduce((d,m)=>{const v=Ut(m);return v&&d.push(new xu(v)),d},[]);return new wE(o,u)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function x0(...e){}class Fi{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bs(!1),this.onMicrotaskEmpty=new bs(!1),this.onStable=new bs(!1),this.onError=new bs(!1),typeof Zone>"u")throw new le(908,!1);Zone.assertZonePatched();const l=this;l._nesting=0,l._outer=l._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(l._inner=l._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(l._inner=l._inner.fork(Zone.longStackTraceZoneSpec)),l.shouldCoalesceEventChangeDetection=!o&&n,l.shouldCoalesceRunChangeDetection=o,l.lastRequestAnimationFrameId=-1,l.nativeRequestAnimationFrame=function OE(){const e="function"==typeof _t.requestAnimationFrame;let t=_t[e?"requestAnimationFrame":"setTimeout"],n=_t[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o);const l=n[Zone.__symbol__("OriginalDelegate")];l&&(n=l)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function RE(e){const t=()=>{!function AE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(_t,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Kg(e),e.isCheckStableRunning=!0,Jg(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Kg(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,o,l,u,d,m)=>{try{return F0(e),n.invokeTask(l,u,d,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||e.shouldCoalesceRunChangeDetection)&&t(),L0(e)}},onInvoke:(n,o,l,u,d,m,v)=>{try{return F0(e),n.invoke(l,u,d,m,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),L0(e)}},onHasTask:(n,o,l,u)=>{n.hasTask(l,u),o===l&&("microTask"==u.change?(e._hasPendingMicrotasks=u.microTask,Kg(e),Jg(e)):"macroTask"==u.change&&(e.hasPendingMacrotasks=u.macroTask))},onHandleError:(n,o,l,u)=>(n.handleError(l,u),e.runOutsideAngular(()=>e.onError.emit(u)),!1)})}(l)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Fi.isInAngularZone())throw new le(909,!1)}static assertNotInAngularZone(){if(Fi.isInAngularZone())throw new le(909,!1)}run(t,n,o){return this._inner.run(t,n,o)}runTask(t,n,o,l){const u=this._inner,d=u.scheduleEventTask("NgZoneEvent: "+l,t,IE,x0,x0);try{return u.runTask(d,n,o)}finally{u.cancelTask(d)}}runGuarded(t,n,o){return this._inner.runGuarded(t,n,o)}runOutsideAngular(t){return this._outer.run(t)}}const IE={};function Jg(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Kg(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function F0(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function L0(e){e._nesting--,Jg(e)}class NE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bs,this.onMicrotaskEmpty=new bs,this.onStable=new bs,this.onError=new bs}run(t,n,o){return t.apply(n,o)}runGuarded(t,n,o){return t.apply(n,o)}runOutsideAngular(t){return t()}runTask(t,n,o,l){return t.apply(n,o)}}const k0=new kn("",{providedIn:"root",factory:B0});function B0(){const e=gn(Fi);let t=!0;const n=new L.y(l=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{l.next(t),l.complete()})}),o=new L.y(l=>{let u;e.runOutsideAngular(()=>{u=e.onStable.subscribe(()=>{Fi.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,l.next(!0))})})});const d=e.onUnstable.subscribe(()=>{Fi.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{l.next(!1)}))});return()=>{u.unsubscribe(),d.unsubscribe()}});return(0,N.T)(n,o.pipe((0,V.B)()))}const V0=new kn(""),H0=new kn("");let Zg,PE=(()=>{class e{constructor(n,o,l){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Zg||(function xE(e){Zg=e}(l),l.addToWindow(o)),this._watchAngularEvents(),n.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:()=>{Fi.assertNotInAngularZone(),queueMicrotask(()=>{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}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,l){let u=-1;o&&o>0&&(u=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==u),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:u,updateCb:l})}whenStable(n,o,l){if(l&&!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(n,o,l),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,l){return[]}}return e.\u0275fac=function(n){return new(n||e)(In(Fi),In(U0),In(H0))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac}),e})(),U0=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return Zg?.findTestabilityInTree(this,n,o)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Ea=null;const j0=new kn("AllowMultipleToken"),qg=new kn("PlatformDestroyListeners"),Qg=new kn("appBootstrapListener");class kE{constructor(t,n){this.name=t,this.token=n}}function z0(e,t,n=[]){const o=`Platform: ${t}`,l=new kn(o);return(u=[])=>{let d=Xg();if(!d||d.injector.get(j0,!1)){const m=[...n,...u,{provide:l,useValue:!0}];e?e(m):function BE(e){if(Ea&&!Ea.get(j0,!1))throw new le(400,!1);(function $0(){!function dn(e){Fn=e}(()=>{throw new le(600,!1)})})(),Ea=e;const t=e.get(Y0);(function G0(e){e.get(ef,null)?.forEach(n=>n())})(e)}(function W0(e=[],t){return gs.create({name:t,providers:[{provide:qd,useValue:"platform"},{provide:qg,useValue:new Set([()=>Ea=null])},...e]})}(m,o))}return function HE(e){const t=Xg();if(!t)throw new le(401,!1);return t}()}}function Xg(){return Ea?.get(Y0)??null}let Y0=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){const l=function UE(e="zone.js",t){return"noop"===e?new NE:"zone.js"===e?new Fi(t):e}(o?.ngZone,function J0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return l.run(()=>{const u=function hC(e,t,n){return new Ag(e,t,n)}(n.moduleType,this.injector,function X0(e){return[{provide:Fi,useFactory:e},{provide:ds,multi:!0,useFactory:()=>{const t=gn($E,{optional:!0});return()=>t.initialize()}},{provide:Q0,useFactory:jE},{provide:k0,useFactory:B0}]}(()=>l)),d=u.injector.get(sl,null);return l.runOutsideAngular(()=>{const m=l.onError.subscribe({next:v=>{d.handleError(v)}});u.onDestroy(()=>{oh(this._modules,u),m.unsubscribe()})}),function K0(e,t,n){try{const o=n();return hg(o)?o.catch(l=>{throw t.runOutsideAngular(()=>e.handleError(l)),l}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(d,l,()=>{const m=u.injector.get(Yg);return m.runInitializers(),m.donePromise.then(()=>(Xv(u.injector.get(ih,vc)||vc),this._moduleDoBootstrap(u),u))})})}bootstrapModule(n,o=[]){const l=Z0({},o);return function FE(e,t,n){const o=new Rg(n);return Promise.resolve(o)}(0,0,n).then(u=>this.bootstrapModuleFactory(u,l))}_moduleDoBootstrap(n){const o=n.injector.get(Cc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(l=>o.bootstrap(l));else{if(!n.instance.ngDoBootstrap)throw new le(-403,!1);n.instance.ngDoBootstrap(o)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new le(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const n=this._injector.get(qg,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(In(gs))},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Z0(e,t){return Array.isArray(t)?t.reduce(Z0,e):{...e,...t}}let Cc=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=gn(Q0),this.zoneIsStable=gn(k0),this.componentTypes=[],this.components=[],this.isStable=gn(R0).hasPendingTasks.pipe((0,ee.w)(n=>n?(0,$.of)(!1):this.zoneIsStable),(0,Y.x)(),(0,V.B)()),this._injector=gn(Uo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){const l=n instanceof pf;if(!this._injector.get(Yg).done)throw!l&&ae(n),new le(405,!1);let d;d=l?n:this._injector.get(Du).resolveComponentFactory(n),this.componentTypes.push(d.componentType);const m=function LE(e){return e.isBoundToModule}(d)?void 0:this._injector.get(yc),T=d.create(gs.NULL,[],o||d.selector,m),R=T.location.nativeElement,B=T.injector.get(V0,null);return B?.registerApplication(R),T.onDestroy(()=>{this.detachView(T.hostView),oh(this.components,T),B?.unregisterApplication(R)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new le(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;oh(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const o=this._injector.get(Qg,[]);o.push(...this._bootstrapListeners),o.forEach(l=>l(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>oh(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new le(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function oh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Q0=new kn("",{providedIn:"root",factory:()=>gn(sl).handleError.bind(void 0)});function jE(){const e=gn(Fi),t=gn(sl);return n=>e.runOutsideAngular(()=>t.handleError(n))}let $E=(()=>{class e{constructor(){this.zone=gn(Fi),this.applicationRef=gn(Cc)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function zE(){return!1}let WE=(()=>{class e{}return e.__NG_ELEMENT_ID__=YE,e})();function YE(e){return function JE(e,t,n){if(cr(e)&&!n){const o=_e(e.index,t);return new Pu(o,o)}return 47&e.type?new Pu(t[Vn],t):null}(pr(),Ge(),16==(16&e))}class rb{constructor(){}supports(t){return Bf(t)}create(t){return new ew(t)}}const XE=(e,t)=>t;class ew{constructor(t){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=t||XE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,o=this._removalsHead,l=0,u=null;for(;n||o;){const d=!o||n&&n.currentIndex{d=this._trackByFn(l,m),null!==n&&Object.is(n.trackById,d)?(o&&(n=this._verifyReinsertion(n,m,d,l)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,d,l),o=!0),n=n._next,l++}),this.length=l;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,o,l){let u;return null===t?u=this._itTail:(u=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,u,l)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,l))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,u,l)):t=this._addAfter(new tw(n,o),u,l),t}_verifyReinsertion(t,n,o,l){let u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==u?t=this._reinsertAfter(u,t._prev,l):t.currentIndex!=l&&(t.currentIndex=l,this._addToMoves(t,l)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const l=t._prevRemoved,u=t._nextRemoved;return null===l?this._removalsHead=u:l._nextRemoved=u,null===u?this._removalsTail=l:u._prevRemoved=l,this._insertAfter(t,n,o),this._addToMoves(t,o),t}_moveAfter(t,n,o){return this._unlink(t),this._insertAfter(t,n,o),this._addToMoves(t,o),t}_addAfter(t,n,o){return this._insertAfter(t,n,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,o){const l=null===n?this._itHead:n._next;return t._next=l,t._prev=n,null===l?this._itTail=t:l._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ib),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,o=t._next;return null===n?this._itHead=o:n._next=o,null===o?this._itTail=n:o._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ib),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class tw{constructor(t,n){this.item=t,this.trackById=n,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 nw{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===n||n<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const n=t._prevDup,o=t._nextDup;return null===n?this._head=o:n._nextDup=o,null===o?this._tail=n:o._prevDup=n,null===this._head}}class ib{constructor(){this.map=new Map}put(t){const n=t.trackById;let o=this.map.get(n);o||(o=new nw,this.map.set(n,o)),o.add(t)}get(t,n){const l=this.map.get(t);return l?l.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ob(e,t,n){const o=e.previousIndex;if(null===o)return o;let l=0;return n&&o{if(n&&n.key===l)this._maybeAddToChanges(n,o),this._appendAfter=n,n=n._next;else{const u=this._getOrCreateRecordForKey(l,o);n=this._insertBeforeOrAppend(n,u)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let o=n;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(t,n){if(t){const o=t._prev;return n._next=t,n._prev=o,t._prev=n,o&&(o._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const l=this._records.get(t);this._maybeAddToChanges(l,n);const u=l._prev,d=l._next;return u&&(u._next=d),d&&(d._prev=u),l._next=null,l._prev=null,l}const o=new iw(t);return this._records.set(t,o),o.currentValue=n,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(o=>n(t[o],o))}}class iw{constructor(t){this.key=t,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 ab(){return new im([new rb])}let im=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(null!=o){const l=o.factories.slice();n=n.concat(l)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||ab()),deps:[[e,new Pl,new Nl]]}}find(n){const o=this.factories.find(l=>l.supports(n));if(null!=o)return o;throw new le(901,!1)}}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:ab}),e})();function lb(){return new om([new sb])}let om=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(o){const l=o.factories.slice();n=n.concat(l)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||lb()),deps:[[e,new Pl,new Nl]]}}find(n){const o=this.factories.find(l=>l.supports(n));if(o)return o;throw new le(901,!1)}}return e.\u0275prov=Ye({token:e,providedIn:"root",factory:lb}),e})();const aw=z0(null,"core",[]);let lw=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(In(Cc))},e.\u0275mod=gi({type:e}),e.\u0275inj=qt({}),e})();function _w(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function yw(e,t){const n=Ut(e),o=t.elementInjector||pu();return new xu(n).create(o,t.projectableNodes,t.hostElement,t.environmentInjector)}function bw(e){const t=Ut(e);if(!t)return null;const n=new xu(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},1993:(q,H,E)=>{"use strict";E.d(H,{O4:()=>We});var s=E(5879);class $ extends Error{constructor(Se,Le){super(function V(Ee,Se){return`NG0${Math.abs(Ee)}${Se?": "+Se:""}`}(Se,Le)),this.code=Se}}function We(Ee,Se){const Le=!Se?.manualCleanup;Le&&!Se?.injector&&(0,s.gHi)(We);const Pt=Le?Se?.injector?.get(s.ktI)??(0,s.f3M)(s.ktI):null;let Ue;Ue=(0,s.tdS)(Se?.requireSync?{kind:0}:{kind:1,value:Se?.initialValue});const jt=Ee.subscribe({next:Ye=>Ue.set({kind:1,value:Ye}),error:Ye=>Ue.set({kind:2,error:Ye})});return Pt?.onDestroy(jt.unsubscribe.bind(jt)),(0,s.Flj)(()=>{const Ye=Ue();switch(Ye.kind){case 1:return Ye.value;case 2:throw Ye.error;case 0:throw new $(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},2614:()=>{"use strict";const q=":";const qt=function(ie,...se){if(qt.translate){const He=qt.translate(ie,se);ie=He[0],se=He[1]}let Ce=Ft(ie[0],ie.raw[0]);for(let He=1;Hetypeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)().$localize=qt},6593:(q,H,E)=>{"use strict";E.d(H,{Dx:()=>it,b2:()=>Ft,q6:()=>Ye});var s=E(5879),y=E(6814);class W extends y.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class L extends W{static makeCurrent(){(0,y.HT)(new L)}onAndCancel(oe,G,fe){return oe.addEventListener(G,fe),()=>{oe.removeEventListener(G,fe)}}dispatchEvent(oe,G){oe.dispatchEvent(G)}remove(oe){oe.parentNode&&oe.parentNode.removeChild(oe)}createElement(oe,G){return(G=G||this.getDefaultDocument()).createElement(oe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(oe){return oe.nodeType===Node.ELEMENT_NODE}isShadowRoot(oe){return oe instanceof DocumentFragment}getGlobalEventTarget(oe,G){return"window"===G?window:"document"===G?oe:"body"===G?oe.body:null}getBaseHref(oe){const G=function $(){return N=N||document.querySelector("base"),N?N.getAttribute("href"):null}();return null==G?null:function ee(Ie){V=V||document.createElement("a"),V.setAttribute("href",Ie);const oe=V.pathname;return"/"===oe.charAt(0)?oe:`/${oe}`}(G)}resetBaseElement(){N=null}getUserAgent(){return window.navigator.userAgent}getCookie(oe){return(0,y.Mx)(document.cookie,oe)}}let V,N=null,K=(()=>{class Ie{build(){return new XMLHttpRequest}}return Ie.\u0275fac=function(G){return new(G||Ie)},Ie.\u0275prov=s.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const Z=new s.OlP("EventManagerPlugins");let te=(()=>{class Ie{constructor(G,fe){this._zone=fe,this._eventNameToPlugin=new Map,G.forEach(je=>{je.manager=this}),this._plugins=G.slice().reverse()}addEventListener(G,fe,je){return this._findPluginFor(fe).addEventListener(G,fe,je)}getZone(){return this._zone}_findPluginFor(G){let fe=this._eventNameToPlugin.get(G);if(fe)return fe;if(fe=this._plugins.find(ut=>ut.supports(G)),!fe)throw new s.vHH(5101,!1);return this._eventNameToPlugin.set(G,fe),fe}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(Z),s.LFG(s.R0b))},Ie.\u0275prov=s.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();class he{constructor(oe){this._doc=oe}}const re="ng-app-id";let we=(()=>{class Ie{constructor(G,fe,je,ut={}){this.doc=G,this.appId=fe,this.nonce=je,this.platformId=ut,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,y.PM)(ut),this.resetHostNodes()}addStyles(G){for(const fe of G)1===this.changeUsageCount(fe,1)&&this.onStyleAdded(fe)}removeStyles(G){for(const fe of G)this.changeUsageCount(fe,-1)<=0&&this.onStyleRemoved(fe)}ngOnDestroy(){const G=this.styleNodesInDOM;G&&(G.forEach(fe=>fe.remove()),G.clear());for(const fe of this.getAllStyles())this.onStyleRemoved(fe);this.resetHostNodes()}addHost(G){this.hostNodes.add(G);for(const fe of this.getAllStyles())this.addStyleToHost(G,fe)}removeHost(G){this.hostNodes.delete(G)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(G){for(const fe of this.hostNodes)this.addStyleToHost(fe,G)}onStyleRemoved(G){const fe=this.styleRef;fe.get(G)?.elements?.forEach(je=>je.remove()),fe.delete(G)}collectServerRenderedStyles(){const G=this.doc.head?.querySelectorAll(`style[${re}="${this.appId}"]`);if(G?.length){const fe=new Map;return G.forEach(je=>{null!=je.textContent&&fe.set(je.textContent,je)}),fe}return null}changeUsageCount(G,fe){const je=this.styleRef;if(je.has(G)){const ut=je.get(G);return ut.usage+=fe,ut.usage}return je.set(G,{usage:fe,elements:[]}),fe}getStyleElement(G,fe){const je=this.styleNodesInDOM,ut=je?.get(fe);if(ut?.parentNode===G)return je.delete(fe),ut.removeAttribute(re),ut;{const yt=this.doc.createElement("style");return this.nonce&&yt.setAttribute("nonce",this.nonce),yt.textContent=fe,this.platformIsServer&&yt.setAttribute(re,this.appId),yt}}addStyleToHost(G,fe){const je=this.getStyleElement(G,fe);G.appendChild(je);const ut=this.styleRef,yt=ut.get(fe)?.elements;yt?yt.push(je):ut.set(fe,{elements:[je],usage:1})}resetHostNodes(){const G=this.hostNodes;G.clear(),G.add(this.doc.head)}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(y.K0),s.LFG(s.AFp),s.LFG(s.Ojb,8),s.LFG(s.Lbi))},Ie.\u0275prov=s.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const De={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/"},Ze=/%COMP%/g,Me=new s.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function qe(Ie,oe){return oe.map(G=>G.replace(Ze,Ie))}let Ke=(()=>{class Ie{constructor(G,fe,je,ut,yt,Jt,Mt,bt=null){this.eventManager=G,this.sharedStylesHost=fe,this.appId=je,this.removeStylesOnCompDestroy=ut,this.doc=yt,this.platformId=Jt,this.ngZone=Mt,this.nonce=bt,this.rendererByCompId=new Map,this.platformIsServer=(0,y.PM)(Jt),this.defaultRenderer=new Tt(G,yt,Mt,this.platformIsServer)}createRenderer(G,fe){if(!G||!fe)return this.defaultRenderer;this.platformIsServer&&fe.encapsulation===s.ifc.ShadowDom&&(fe={...fe,encapsulation:s.ifc.Emulated});const je=this.getOrCreateRenderer(G,fe);return je instanceof mn?je.applyToHost(G):je instanceof pn&&je.applyStyles(),je}getOrCreateRenderer(G,fe){const je=this.rendererByCompId;let ut=je.get(fe.id);if(!ut){const yt=this.doc,Jt=this.ngZone,Mt=this.eventManager,bt=this.sharedStylesHost,Qn=this.removeStylesOnCompDestroy,Cr=this.platformIsServer;switch(fe.encapsulation){case s.ifc.Emulated:ut=new mn(Mt,bt,fe,this.appId,Qn,yt,Jt,Cr);break;case s.ifc.ShadowDom:return new rn(Mt,bt,G,fe,yt,Jt,this.nonce,Cr);default:ut=new pn(Mt,bt,fe,Qn,yt,Jt,Cr)}je.set(fe.id,ut)}return ut}ngOnDestroy(){this.rendererByCompId.clear()}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(te),s.LFG(we),s.LFG(s.AFp),s.LFG(Me),s.LFG(y.K0),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(s.Ojb))},Ie.\u0275prov=s.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();class Tt{constructor(oe,G,fe,je){this.eventManager=oe,this.doc=G,this.ngZone=fe,this.platformIsServer=je,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(oe,G){return G?this.doc.createElementNS(De[G]||G,oe):this.doc.createElement(oe)}createComment(oe){return this.doc.createComment(oe)}createText(oe){return this.doc.createTextNode(oe)}appendChild(oe,G){(Rt(oe)?oe.content:oe).appendChild(G)}insertBefore(oe,G,fe){oe&&(Rt(oe)?oe.content:oe).insertBefore(G,fe)}removeChild(oe,G){oe&&oe.removeChild(G)}selectRootElement(oe,G){let fe="string"==typeof oe?this.doc.querySelector(oe):oe;if(!fe)throw new s.vHH(-5104,!1);return G||(fe.textContent=""),fe}parentNode(oe){return oe.parentNode}nextSibling(oe){return oe.nextSibling}setAttribute(oe,G,fe,je){if(je){G=je+":"+G;const ut=De[je];ut?oe.setAttributeNS(ut,G,fe):oe.setAttribute(G,fe)}else oe.setAttribute(G,fe)}removeAttribute(oe,G,fe){if(fe){const je=De[fe];je?oe.removeAttributeNS(je,G):oe.removeAttribute(`${fe}:${G}`)}else oe.removeAttribute(G)}addClass(oe,G){oe.classList.add(G)}removeClass(oe,G){oe.classList.remove(G)}setStyle(oe,G,fe,je){je&(s.JOm.DashCase|s.JOm.Important)?oe.style.setProperty(G,fe,je&s.JOm.Important?"important":""):oe.style[G]=fe}removeStyle(oe,G,fe){fe&s.JOm.DashCase?oe.style.removeProperty(G):oe.style[G]=""}setProperty(oe,G,fe){oe[G]=fe}setValue(oe,G){oe.nodeValue=G}listen(oe,G,fe){if("string"==typeof oe&&!(oe=(0,y.q)().getGlobalEventTarget(this.doc,oe)))throw new Error(`Unsupported event target ${oe} for event ${G}`);return this.eventManager.addEventListener(oe,G,this.decoratePreventDefault(fe))}decoratePreventDefault(oe){return G=>{if("__ngUnwrap__"===G)return oe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>oe(G)):oe(G))&&G.preventDefault()}}}function Rt(Ie){return"TEMPLATE"===Ie.tagName&&void 0!==Ie.content}class rn extends Tt{constructor(oe,G,fe,je,ut,yt,Jt,Mt){super(oe,ut,yt,Mt),this.sharedStylesHost=G,this.hostEl=fe,this.shadowRoot=fe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const bt=qe(je.id,je.styles);for(const Qn of bt){const Cr=document.createElement("style");Jt&&Cr.setAttribute("nonce",Jt),Cr.textContent=Qn,this.shadowRoot.appendChild(Cr)}}nodeOrShadowRoot(oe){return oe===this.hostEl?this.shadowRoot:oe}appendChild(oe,G){return super.appendChild(this.nodeOrShadowRoot(oe),G)}insertBefore(oe,G,fe){return super.insertBefore(this.nodeOrShadowRoot(oe),G,fe)}removeChild(oe,G){return super.removeChild(this.nodeOrShadowRoot(oe),G)}parentNode(oe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(oe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class pn extends Tt{constructor(oe,G,fe,je,ut,yt,Jt,Mt){super(oe,ut,yt,Jt),this.sharedStylesHost=G,this.removeStylesOnCompDestroy=je,this.styles=Mt?qe(Mt,fe.styles):fe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class mn extends pn{constructor(oe,G,fe,je,ut,yt,Jt,Mt){const bt=je+"-"+fe.id;super(oe,G,fe,ut,yt,Jt,Mt,bt),this.contentAttr=function xe(Ie){return"_ngcontent-%COMP%".replace(Ze,Ie)}(bt),this.hostAttr=function Oe(Ie){return"_nghost-%COMP%".replace(Ze,Ie)}(bt)}applyToHost(oe){this.applyStyles(),this.setAttribute(oe,this.hostAttr,"")}createElement(oe,G){const fe=super.createElement(oe,G);return super.setAttribute(fe,this.contentAttr,""),fe}}let un=(()=>{class Ie extends he{constructor(G){super(G)}supports(G){return!0}addEventListener(G,fe,je){return G.addEventListener(fe,je,!1),()=>this.removeEventListener(G,fe,je)}removeEventListener(G,fe,je){return G.removeEventListener(fe,je)}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(y.K0))},Ie.\u0275prov=s.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const Bn=["alt","control","meta","shift"],pe={"\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"},ve={alt:Ie=>Ie.altKey,control:Ie=>Ie.ctrlKey,meta:Ie=>Ie.metaKey,shift:Ie=>Ie.shiftKey};let Pe=(()=>{class Ie extends he{constructor(G){super(G)}supports(G){return null!=Ie.parseEventName(G)}addEventListener(G,fe,je){const ut=Ie.parseEventName(fe),yt=Ie.eventCallback(ut.fullKey,je,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,y.q)().onAndCancel(G,ut.domEventName,yt))}static parseEventName(G){const fe=G.toLowerCase().split("."),je=fe.shift();if(0===fe.length||"keydown"!==je&&"keyup"!==je)return null;const ut=Ie._normalizeKey(fe.pop());let yt="",Jt=fe.indexOf("code");if(Jt>-1&&(fe.splice(Jt,1),yt="code."),Bn.forEach(bt=>{const Qn=fe.indexOf(bt);Qn>-1&&(fe.splice(Qn,1),yt+=bt+".")}),yt+=ut,0!=fe.length||0===ut.length)return null;const Mt={};return Mt.domEventName=je,Mt.fullKey=yt,Mt}static matchEventFullKeyCode(G,fe){let je=pe[G.key]||G.key,ut="";return fe.indexOf("code.")>-1&&(je=G.code,ut="code."),!(null==je||!je)&&(je=je.toLowerCase()," "===je?je="space":"."===je&&(je="dot"),Bn.forEach(yt=>{yt!==je&&(0,ve[yt])(G)&&(ut+=yt+".")}),ut+=je,ut===fe)}static eventCallback(G,fe,je){return ut=>{Ie.matchEventFullKeyCode(ut,G)&&je.runGuarded(()=>fe(ut))}}static _normalizeKey(G){return"esc"===G?"escape":G}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(y.K0))},Ie.\u0275prov=s.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const Ye=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:y.bD},{provide:s.g9A,useValue:function Le(){L.makeCurrent()},multi:!0},{provide:y.K0,useFactory:function Ue(){return(0,s.RDi)(document),document},deps:[]}]),zt=new s.OlP(""),qt=[{provide:s.rWj,useClass:class Y{addToWindow(oe){s.dqk.getAngularTestability=(fe,je=!0)=>{const ut=oe.findTestabilityInTree(fe,je);if(null==ut)throw new s.vHH(5103,!1);return ut},s.dqk.getAllAngularTestabilities=()=>oe.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>oe.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(fe=>{const je=s.dqk.getAllAngularTestabilities();let ut=je.length,yt=!1;const Jt=function(Mt){yt=yt||Mt,ut--,0==ut&&fe(yt)};je.forEach(Mt=>{Mt.whenStable(Jt)})})}findTestabilityInTree(oe,G,fe){return null==G?null:oe.getTestability(G)??(fe?(0,y.q)().isShadowRoot(G)?this.findTestabilityInTree(oe,G.host,!0):this.findTestabilityInTree(oe,G.parentElement,!0):null)}},deps:[]},{provide:s.lri,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]}],Mn=[{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function Pt(){return new s.qLn},deps:[]},{provide:Z,useClass:un,multi:!0,deps:[y.K0,s.R0b,s.Lbi]},{provide:Z,useClass:Pe,multi:!0,deps:[y.K0]},Ke,we,te,{provide:s.FYo,useExisting:Ke},{provide:y.JF,useClass:K,deps:[]},[]];let Ft=(()=>{class Ie{constructor(G){}static withServerTransition(G){return{ngModule:Ie,providers:[{provide:s.AFp,useValue:G.appId}]}}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(zt,12))},Ie.\u0275mod=s.oAB({type:Ie}),Ie.\u0275inj=s.cJS({providers:[...Mn,...qt],imports:[y.ez,s.hGG]}),Ie})(),it=(()=>{class Ie{constructor(G){this._doc=G}getTitle(){return this._doc.title}setTitle(G){this._doc.title=G||""}}return Ie.\u0275fac=function(G){return new(G||Ie)(s.LFG(y.K0))},Ie.\u0275prov=s.Yz7({token:Ie,factory:function(G){let fe=null;return fe=G?new G:function He(){return new it((0,s.LFG)(y.K0))}(),fe},providedIn:"root"}),Ie})();typeof window<"u"&&window},7133:(q,H,E)=>{"use strict";E.d(H,{rH:()=>hr,Od:()=>Js,Bz:()=>El,lC:()=>Hr});var s=E(5879),y=E(5592),W=E(4674),N=E(9666),$=E(2096),V=E(5619),ee=E(2572);const K=(0,E(2306).d)(p=>function(){p(this),this.name="EmptyError",this.message="no elements in sequence"});var Z=E(5211),te=E(4829);function he(p){return new y.y(_=>{(0,te.Xf)(p()).subscribe(_)})}var re=E(8407),we=E(8504),De=E(6232),Ze=E(7394),et=E(9360),ot=E(8251);function dt(){return(0,et.e)((p,_)=>{let h=null;p._refCount++;const b=(0,ot.x)(_,void 0,void 0,void 0,()=>{if(!p||p._refCount<=0||0<--p._refCount)return void(h=null);const S=p._connection,P=h;h=null,S&&(!P||S===P)&&S.unsubscribe(),_.unsubscribe()});p.subscribe(b),b.closed||(h=p.connect())})}class le extends y.y{constructor(_,h){super(),this.source=_,this.subjectFactory=h,this._subject=null,this._refCount=0,this._connection=null,(0,et.A)(_)&&(this.lift=_.lift)}_subscribe(_){return this.getSubject().subscribe(_)}getSubject(){const _=this._subject;return(!_||_.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:_}=this;this._subject=this._connection=null,_?.unsubscribe()}connect(){let _=this._connection;if(!_){_=this._connection=new Ze.w0;const h=this.getSubject();_.add(this.source.subscribe((0,ot.x)(h,void 0,()=>{this._teardown(),h.complete()},b=>{this._teardown(),h.error(b)},()=>this._teardown()))),_.closed&&(this._connection=null,_=Ze.w0.EMPTY)}return _}refCount(){return dt()(this)}}var Me=E(8645),xe=E(6814),Oe=E(7398),qe=E(4664),Ke=E(8180),Tt=E(7921),It=E(2181),Gt=E(1631);function Rt(p){return(0,et.e)((_,h)=>{let b=!1;_.subscribe((0,ot.x)(h,S=>{b=!0,h.next(S)},()=>{b||h.next(p),h.complete()}))})}function rn(p=pn){return(0,et.e)((_,h)=>{let b=!1;_.subscribe((0,ot.x)(h,S=>{b=!0,h.next(S)},()=>b?h.complete():h.error(p())))})}function pn(){return new K}var mn=E(2737);function un(p,_){const h=arguments.length>=2;return b=>b.pipe(p?(0,It.h)((S,P)=>p(S,P,b)):mn.y,(0,Ke.q)(1),h?Rt(_):rn(()=>new K))}var Bn=E(6328),pe=E(9397),ve=E(6306),Pe=E(6699);function Ne(p){return p<=0?()=>De.E:(0,et.e)((_,h)=>{let b=[];_.subscribe((0,ot.x)(h,S=>{b.push(S),p{for(const S of b)h.next(S);h.complete()},void 0,()=>{b=null}))})}var Ee=E(975),Se=E(4716),Le=E(7537),Pt=E(6593);const Ue="primary",jt=Symbol("RouteTitle");class Ye{constructor(_){this.params=_||{}}has(_){return Object.prototype.hasOwnProperty.call(this.params,_)}get(_){if(this.has(_)){const h=this.params[_];return Array.isArray(h)?h[0]:h}return null}getAll(_){if(this.has(_)){const h=this.params[_];return Array.isArray(h)?h:[h]}return[]}get keys(){return Object.keys(this.params)}}function zt(p){return new Ye(p)}function qt(p,_,h){const b=h.path.split("/");if(b.length>p.length||"full"===h.pathMatch&&(_.hasChildren()||b.lengthb[P]===S)}return p===_}function se(p){return p.length>0?p[p.length-1]:null}function Ce(p){return function L(p){return!!p&&(p instanceof y.y||(0,W.m)(p.lift)&&(0,W.m)(p.subscribe))}(p)?p:(0,s.QGY)(p)?(0,N.D)(Promise.resolve(p)):(0,$.of)(p)}const He={exact:function nt(p,_,h){if(!Nt(p.segments,_.segments)||!Gn(p.segments,_.segments,h)||p.numberOfChildren!==_.numberOfChildren)return!1;for(const b in _.children)if(!p.children[b]||!nt(p.children[b],_.children[b],h))return!1;return!0},subset:ct},it={exact:function sn(p,_){return Ft(p,_)},subset:function mt(p,_){return Object.keys(_).length<=Object.keys(p).length&&Object.keys(_).every(h=>ie(p[h],_[h]))},ignored:()=>!0};function lt(p,_,h){return He[h.paths](p.root,_.root,h.matrixParams)&&it[h.queryParams](p.queryParams,_.queryParams)&&!("exact"===h.fragment&&p.fragment!==_.fragment)}function ct(p,_,h){return Qt(p,_,_.segments,h)}function Qt(p,_,h,b){if(p.segments.length>h.length){const S=p.segments.slice(0,h.length);return!(!Nt(S,h)||_.hasChildren()||!Gn(S,h,b))}if(p.segments.length===h.length){if(!Nt(p.segments,h)||!Gn(p.segments,h,b))return!1;for(const S in _.children)if(!p.children[S]||!ct(p.children[S],_.children[S],b))return!1;return!0}{const S=h.slice(0,p.segments.length),P=h.slice(p.segments.length);return!!(Nt(p.segments,S)&&Gn(p.segments,S,b)&&p.children[Ue])&&Qt(p.children[Ue],_,P,b)}}function Gn(p,_,h){return _.every((b,S)=>it[h](p[S].parameters,b.parameters))}class _n{constructor(_=new _t([],{}),h={},b=null){this.root=_,this.queryParams=h,this.fragment=b}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=zt(this.queryParams)),this._queryParamMap}toString(){return br.serialize(this)}}class _t{constructor(_,h){this.segments=_,this.children=h,this.parent=null,Object.values(h).forEach(b=>b.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return gr(this)}}class on{constructor(_,h){this.path=_,this.parameters=h}get parameterMap(){return this._parameterMap||(this._parameterMap=zt(this.parameters)),this._parameterMap}toString(){return Rr(this)}}function Nt(p,_){return p.length===_.length&&p.every((h,b)=>h.path===_[b].path)}let Vt=(()=>{class p{}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:function(){return new sr},providedIn:"root"}),p})();class sr{parse(_){const h=new Mt(_);return new _n(h.parseRootSegment(),h.parseQueryParams(),h.parseFragment())}serialize(_){const h=`/${Ar(_.root,!0)}`,b=function Br(p){const _=Object.keys(p).map(h=>{const b=p[h];return Array.isArray(b)?b.map(S=>`${On(h)}=${On(S)}`).join("&"):`${On(h)}=${On(b)}`}).filter(h=>!!h);return _.length?`?${_.join("&")}`:""}(_.queryParams);return`${h}${b}${"string"==typeof _.fragment?`#${function dr(p){return encodeURI(p)}(_.fragment)}`:""}`}}const br=new sr;function gr(p){return p.segments.map(_=>Rr(_)).join("/")}function Ar(p,_){if(!p.hasChildren())return gr(p);if(_){const h=p.children[Ue]?Ar(p.children[Ue],!1):"",b=[];return Object.entries(p.children).forEach(([S,P])=>{S!==Ue&&b.push(`${S}:${Ar(P,!1)}`)}),b.length>0?`${h}(${b.join("//")})`:h}{const h=function Jn(p,_){let h=[];return Object.entries(p.children).forEach(([b,S])=>{b===Ue&&(h=h.concat(_(S,b)))}),Object.entries(p.children).forEach(([b,S])=>{b!==Ue&&(h=h.concat(_(S,b)))}),h}(p,(b,S)=>S===Ue?[Ar(p.children[Ue],!1)]:[`${S}:${Ar(b,!1)}`]);return 1===Object.keys(p.children).length&&null!=p.children[Ue]?`${gr(p)}/${h[0]}`:`${gr(p)}/(${h.join("//")})`}}function fi(p){return encodeURIComponent(p).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function On(p){return fi(p).replace(/%3B/gi,";")}function nr(p){return fi(p).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Dr(p){return decodeURIComponent(p)}function In(p){return Dr(p.replace(/\+/g,"%20"))}function Rr(p){return`${nr(p.path)}${function gn(p){return Object.keys(p).map(_=>`;${nr(_)}=${nr(p[_])}`).join("")}(p.parameters)}`}const Ie=/^[^\/()?;#]+/;function oe(p){const _=p.match(Ie);return _?_[0]:""}const G=/^[^\/()?;=#]+/,je=/^[^=?&#]+/,yt=/^[^&#]+/;class Mt{constructor(_){this.url=_,this.remaining=_}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new _t([],{}):new _t([],this.parseChildren())}parseQueryParams(){const _={};if(this.consumeOptional("?"))do{this.parseQueryParam(_)}while(this.consumeOptional("&"));return _}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const _=[];for(this.peekStartsWith("(")||_.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),_.push(this.parseSegment());let h={};this.peekStartsWith("/(")&&(this.capture("/"),h=this.parseParens(!0));let b={};return this.peekStartsWith("(")&&(b=this.parseParens(!1)),(_.length>0||Object.keys(h).length>0)&&(b[Ue]=new _t(_,h)),b}parseSegment(){const _=oe(this.remaining);if(""===_&&this.peekStartsWith(";"))throw new s.vHH(4009,!1);return this.capture(_),new on(Dr(_),this.parseMatrixParams())}parseMatrixParams(){const _={};for(;this.consumeOptional(";");)this.parseParam(_);return _}parseParam(_){const h=function fe(p){const _=p.match(G);return _?_[0]:""}(this.remaining);if(!h)return;this.capture(h);let b="";if(this.consumeOptional("=")){const S=oe(this.remaining);S&&(b=S,this.capture(b))}_[Dr(h)]=Dr(b)}parseQueryParam(_){const h=function ut(p){const _=p.match(je);return _?_[0]:""}(this.remaining);if(!h)return;this.capture(h);let b="";if(this.consumeOptional("=")){const F=function Jt(p){const _=p.match(yt);return _?_[0]:""}(this.remaining);F&&(b=F,this.capture(b))}const S=In(h),P=In(b);if(_.hasOwnProperty(S)){let F=_[S];Array.isArray(F)||(F=[F],_[S]=F),F.push(P)}else _[S]=P}parseParens(_){const h={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const b=oe(this.remaining),S=this.remaining[b.length];if("/"!==S&&")"!==S&&";"!==S)throw new s.vHH(4010,!1);let P;b.indexOf(":")>-1?(P=b.slice(0,b.indexOf(":")),this.capture(P),this.capture(":")):_&&(P=Ue);const F=this.parseChildren();h[P]=1===Object.keys(F).length?F[Ue]:new _t([],F),this.consumeOptional("//")}return h}peekStartsWith(_){return this.remaining.startsWith(_)}consumeOptional(_){return!!this.peekStartsWith(_)&&(this.remaining=this.remaining.substring(_.length),!0)}capture(_){if(!this.consumeOptional(_))throw new s.vHH(4011,!1)}}function bt(p){return p.segments.length>0?new _t([],{[Ue]:p}):p}function Qn(p){const _={};for(const b of Object.keys(p.children)){const P=Qn(p.children[b]);if(b===Ue&&0===P.segments.length&&P.hasChildren())for(const[F,ce]of Object.entries(P.children))_[F]=ce;else(P.segments.length>0||P.hasChildren())&&(_[b]=P)}return function Cr(p){if(1===p.numberOfChildren&&p.children[Ue]){const _=p.children[Ue];return new _t(p.segments.concat(_.segments),_.children)}return p}(new _t(p.segments,_))}function Vr(p){return p instanceof _n}function Er(p){let _;const S=bt(function h(P){const F={};for(const Je of P.children){const Ct=h(Je);F[Je.outlet]=Ct}const ce=new _t(P.url,F);return P===p&&(_=ce),ce}(p.root));return _??S}function fr(p,_,h,b){let S=p;for(;S.parent;)S=S.parent;if(0===_.length)return Tr(S,S,S,h,b);const P=function z(p){if("string"==typeof p[0]&&1===p.length&&"/"===p[0])return new mr(!0,0,p);let _=0,h=!1;const b=p.reduce((S,P,F)=>{if("object"==typeof P&&null!=P){if(P.outlets){const ce={};return Object.entries(P.outlets).forEach(([Je,Ct])=>{ce[Je]="string"==typeof Ct?Ct.split("/"):Ct}),[...S,{outlets:ce}]}if(P.segmentPath)return[...S,P.segmentPath]}return"string"!=typeof P?[...S,P]:0===F?(P.split("/").forEach((ce,Je)=>{0==Je&&"."===ce||(0==Je&&""===ce?h=!0:".."===ce?_++:""!=ce&&S.push(ce))}),S):[...S,P]},[]);return new mr(h,_,b)}(_);if(P.toRoot())return Tr(S,S,new _t([],{}),h,b);const F=function U(p,_,h){if(p.isAbsolute)return new Ae(_,!0,0);if(!h)return new Ae(_,!1,NaN);if(null===h.parent)return new Ae(h,!0,0);const b=wr(p.commands[0])?0:1;return function ye(p,_,h){let b=p,S=_,P=h;for(;P>S;){if(P-=S,b=b.parent,!b)throw new s.vHH(4005,!1);S=b.segments.length}return new Ae(b,!1,S-P)}(h,h.segments.length-1+b,p.numberOfDoubleDots)}(P,S,p),ce=F.processChildren?at(F.segmentGroup,F.index,P.commands):st(F.segmentGroup,F.index,P.commands);return Tr(S,F.segmentGroup,ce,h,b)}function wr(p){return"object"==typeof p&&null!=p&&!p.outlets&&!p.segmentPath}function Xr(p){return"object"==typeof p&&null!=p&&p.outlets}function Tr(p,_,h,b,S){let F,P={};b&&Object.entries(b).forEach(([Je,Ct])=>{P[Je]=Array.isArray(Ct)?Ct.map(Ot=>`${Ot}`):`${Ct}`}),F=p===_?h:Li(p,_,h);const ce=bt(Qn(F));return new _n(ce,P,S)}function Li(p,_,h){const b={};return Object.entries(p.children).forEach(([S,P])=>{b[S]=P===_?h:Li(P,_,h)}),new _t(p.segments,b)}class mr{constructor(_,h,b){if(this.isAbsolute=_,this.numberOfDoubleDots=h,this.commands=b,_&&b.length>0&&wr(b[0]))throw new s.vHH(4003,!1);const S=b.find(Xr);if(S&&S!==se(b))throw new s.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ae{constructor(_,h,b){this.segmentGroup=_,this.processChildren=h,this.index=b}}function st(p,_,h){if(p||(p=new _t([],{})),0===p.segments.length&&p.hasChildren())return at(p,_,h);const b=function ht(p,_,h){let b=0,S=_;const P={match:!1,pathIndex:0,commandIndex:0};for(;S=h.length)return P;const F=p.segments[S],ce=h[b];if(Xr(ce))break;const Je=`${ce}`,Ct=b0&&void 0===Je)break;if(Je&&Ct&&"object"==typeof Ct&&void 0===Ct.outlets){if(!An(Je,Ct,F))return P;b+=2}else{if(!An(Je,{},F))return P;b++}S++}return{match:!0,pathIndex:S,commandIndex:b}}(p,_,h),S=h.slice(b.commandIndex);if(b.match&&b.pathIndex{"string"==typeof F&&(F=[F]),null!==F&&(S[P]=st(p.children[P],_,F))}),Object.entries(p.children).forEach(([P,F])=>{void 0===b[P]&&(S[P]=F)}),new _t(p.segments,S)}}function Ht(p,_,h){const b=p.segments.slice(0,_);let S=0;for(;S{"string"==typeof b&&(b=[b]),null!==b&&(_[h]=Ht(new _t([],{}),0,b))}),_}function Cn(p){const _={};return Object.entries(p).forEach(([h,b])=>_[h]=`${b}`),_}function An(p,_,h){return p==h.path&&Ft(_,h.parameters)}const ar="imperative";class zn{constructor(_,h){this.id=_,this.url=h}}class Mr extends zn{constructor(_,h,b="imperative",S=null){super(_,h),this.type=0,this.navigationTrigger=b,this.restoredState=S}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ei extends zn{constructor(_,h,b){super(_,h),this.urlAfterRedirects=b,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class pi extends zn{constructor(_,h,b,S){super(_,h),this.reason=b,this.code=S,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Gr extends zn{constructor(_,h,b,S){super(_,h),this.reason=b,this.code=S,this.type=16}}class si extends zn{constructor(_,h,b,S){super(_,h),this.error=b,this.target=S,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Zi extends zn{constructor(_,h,b,S){super(_,h),this.urlAfterRedirects=b,this.state=S,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ho extends zn{constructor(_,h,b,S){super(_,h),this.urlAfterRedirects=b,this.state=S,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ao extends zn{constructor(_,h,b,S,P){super(_,h),this.urlAfterRedirects=b,this.state=S,this.shouldActivate=P,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class gi extends zn{constructor(_,h,b,S){super(_,h),this.urlAfterRedirects=b,this.state=S,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ti extends zn{constructor(_,h,b,S){super(_,h),this.urlAfterRedirects=b,this.state=S,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qi{constructor(_){this.route=_,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Qi{constructor(_){this.route=_,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ro{constructor(_){this.snapshot=_,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ut{constructor(_){this.snapshot=_,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class k{constructor(_){this.snapshot=_,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ge{constructor(_){this.snapshot=_,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ae{constructor(_,h,b){this.routerEvent=_,this.position=h,this.anchor=b,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Qe{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new tt,this.attachRef=null}}let tt=(()=>{class p{constructor(){this.contexts=new Map}onChildOutletCreated(h,b){const S=this.getOrCreateContext(h);S.outlet=b,this.contexts.set(h,S)}onChildOutletDestroyed(h){const b=this.getContext(h);b&&(b.outlet=null,b.attachRef=null)}onOutletDeactivated(){const h=this.contexts;return this.contexts=new Map,h}onOutletReAttached(h){this.contexts=h}getOrCreateContext(h){let b=this.getContext(h);return b||(b=new Qe,this.contexts.set(h,b)),b}getContext(h){return this.contexts.get(h)||null}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();class Lt{constructor(_){this._root=_}get root(){return this._root.value}parent(_){const h=this.pathFromRoot(_);return h.length>1?h[h.length-2]:null}children(_){const h=vn(_,this._root);return h?h.children.map(b=>b.value):[]}firstChild(_){const h=vn(_,this._root);return h&&h.children.length>0?h.children[0].value:null}siblings(_){const h=En(_,this._root);return h.length<2?[]:h[h.length-2].children.map(S=>S.value).filter(S=>S!==_)}pathFromRoot(_){return En(_,this._root).map(h=>h.value)}}function vn(p,_){if(p===_.value)return _;for(const h of _.children){const b=vn(p,h);if(b)return b}return null}function En(p,_){if(p===_.value)return[_];for(const h of _.children){const b=En(p,h);if(b.length)return b.unshift(_),b}return[]}class $t{constructor(_,h){this.value=_,this.children=h}toString(){return`TreeNode(${this.value})`}}function ze(p){const _={};return p&&p.children.forEach(h=>_[h.value.outlet]=h),_}class Dt extends Lt{constructor(_,h){super(_),this.snapshot=h,ai(this,_)}toString(){return this.snapshot.toString()}}function Sn(p,_){const h=function _r(p,_){const F=new wn([],{},{},"",{},Ue,_,null,{});return new Bi("",new $t(F,[]))}(0,_),b=new V.X([new on("",{})]),S=new V.X({}),P=new V.X({}),F=new V.X({}),ce=new V.X(""),Je=new Nr(b,S,F,ce,P,Ue,_,h.root);return Je.snapshot=h.root,new Dt(new $t(Je,[]),h)}class Nr{constructor(_,h,b,S,P,F,ce,Je){this.urlSubject=_,this.paramsSubject=h,this.queryParamsSubject=b,this.fragmentSubject=S,this.dataSubject=P,this.outlet=F,this.component=ce,this._futureSnapshot=Je,this.title=this.dataSubject?.pipe((0,Oe.U)(Ct=>Ct[jt]))??(0,$.of)(void 0),this.url=_,this.params=h,this.queryParams=b,this.fragment=S,this.data=P}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,Oe.U)(_=>zt(_)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Oe.U)(_=>zt(_)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Kt(p,_="emptyOnly"){const h=p.pathFromRoot;let b=0;if("always"!==_)for(b=h.length-1;b>=1;){const S=h[b],P=h[b-1];if(S.routeConfig&&""===S.routeConfig.path)b--;else{if(P.component)break;b--}}return function ki(p){return p.reduce((_,h)=>({params:{..._.params,...h.params},data:{..._.data,...h.data},resolve:{...h.data,..._.resolve,...h.routeConfig?.data,...h._resolvedData}}),{params:{},data:{},resolve:{}})}(h.slice(b))}class wn{get title(){return this.data?.[jt]}constructor(_,h,b,S,P,F,ce,Je,Ct){this.url=_,this.params=h,this.queryParams=b,this.fragment=S,this.data=P,this.outlet=F,this.component=ce,this.routeConfig=Je,this._resolve=Ct}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=zt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=zt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(b=>b.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Bi extends Lt{constructor(_,h){super(h),this.url=_,ai(this,h)}toString(){return kt(this._root)}}function ai(p,_){_.value._routerState=p,_.children.forEach(h=>ai(p,h))}function kt(p){const _=p.children.length>0?` { ${p.children.map(kt).join(", ")} } `:"";return`${p.value}${_}`}function mi(p){if(p.snapshot){const _=p.snapshot,h=p._futureSnapshot;p.snapshot=h,Ft(_.queryParams,h.queryParams)||p.queryParamsSubject.next(h.queryParams),_.fragment!==h.fragment&&p.fragmentSubject.next(h.fragment),Ft(_.params,h.params)||p.paramsSubject.next(h.params),function Mn(p,_){if(p.length!==_.length)return!1;for(let h=0;hFt(h.parameters,_[b].parameters))}(p.url,_.url);return h&&!(!p.parent!=!_.parent)&&(!p.parent||Vi(p.parent,_.parent))}let Hr=(()=>{class p{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ue,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.attachEvents=new s.vpe,this.detachEvents=new s.vpe,this.parentContexts=(0,s.f3M)(tt),this.location=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.environmentInjector=(0,s.f3M)(s.lqb),this.inputBinder=(0,s.f3M)(_i,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(h){if(h.name){const{firstChange:b,previousValue:S}=h.name;if(b)return;this.isTrackedInParentContexts(S)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(S)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(h){return this.parentContexts.getContext(h)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const h=this.parentContexts.getContext(this.name);h?.route&&(h.attachRef?this.attach(h.attachRef,h.route):this.activateWith(h.route,h.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.vHH(4012,!1);this.location.detach();const h=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(h.instance),h}attach(h,b){this.activated=h,this._activatedRoute=b,this.location.insert(h.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(h.instance)}deactivate(){if(this.activated){const h=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(h)}}activateWith(h,b){if(this.isActivated)throw new s.vHH(4013,!1);this._activatedRoute=h;const S=this.location,F=h.snapshot.component,ce=this.parentContexts.getOrCreateContext(this.name).children,Je=new Vn(h,ce,S.injector);this.activated=S.createComponent(F,{index:S.length,injector:Je,environmentInjector:b??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275dir=s.lG2({type:p,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[s.TTD]}),p})();class Vn{constructor(_,h,b){this.route=_,this.childContexts=h,this.parent=b}get(_,h){return _===Nr?this.route:_===tt?this.childContexts:this.parent.get(_,h)}}const _i=new s.OlP("");let Hi=(()=>{class p{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(h){this.unsubscribeFromRouteData(h),this.subscribeToRouteData(h)}unsubscribeFromRouteData(h){this.outletDataSubscriptions.get(h)?.unsubscribe(),this.outletDataSubscriptions.delete(h)}subscribeToRouteData(h){const{activatedRoute:b}=h,S=(0,ee.a)([b.queryParams,b.params,b.data]).pipe((0,qe.w)(([P,F,ce],Je)=>(ce={...P,...F,...ce},0===Je?(0,$.of)(ce):Promise.resolve(ce)))).subscribe(P=>{if(!h.isActivated||!h.activatedComponentRef||h.activatedRoute!==b||null===b.component)return void this.unsubscribeFromRouteData(h);const F=(0,s.qFp)(b.component);if(F)for(const{templateName:ce}of F.inputs)h.activatedComponentRef.setInput(ce,P[ce]);else this.unsubscribeFromRouteData(h)});this.outletDataSubscriptions.set(h,S)}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac}),p})();function Ur(p,_,h){if(h&&p.shouldReuseRoute(_.value,h.value.snapshot)){const b=h.value;b._futureSnapshot=_.value;const S=function po(p,_,h){return _.children.map(b=>{for(const S of h.children)if(p.shouldReuseRoute(b.value,S.value.snapshot))return Ur(p,b,S);return Ur(p,b)})}(p,_,h);return new $t(b,S)}{if(p.shouldAttach(_.value)){const P=p.retrieve(_.value);if(null!==P){const F=P.route;return F.value._futureSnapshot=_.value,F.children=_.children.map(ce=>Ur(p,ce)),F}}const b=function li(p){return new Nr(new V.X(p.url),new V.X(p.params),new V.X(p.queryParams),new V.X(p.fragment),new V.X(p.data),p.outlet,p.component,p)}(_.value),S=_.children.map(P=>Ur(p,P));return new $t(b,S)}}const jr="ngNavigationCancelingError";function go(p,_){const{redirectTo:h,navigationBehaviorOptions:b}=Vr(_)?{redirectTo:_,navigationBehaviorOptions:void 0}:_,S=vi(!1,0,_);return S.url=h,S.navigationBehaviorOptions=b,S}function vi(p,_,h){const b=new Error("NavigationCancelingError: "+(p||""));return b[jr]=!0,b.cancellationCode=_,h&&(b.url=h),b}function Wt(p){return js(p)&&Vr(p.url)}function js(p){return p&&p[jr]}let No=(()=>{class p{}return p.\u0275fac=function(h){return new(h||p)},p.\u0275cmp=s.Xpm({type:p,selectors:[["ng-component"]],standalone:!0,features:[s.jDz],decls:1,vars:0,template:function(h,b){1&h&&s._UZ(0,"router-outlet")},dependencies:[Hr],encapsulation:2}),p})();function ji(p){const _=p.children&&p.children.map(ji),h=_?{...p,children:_}:{...p};return!h.component&&!h.loadComponent&&(_||h.loadChildren)&&h.outlet&&h.outlet!==Ue&&(h.component=No),h}function cr(p){return p.outlet||Ue}function rr(p){if(!p)return null;if(p.routeConfig?._injector)return p.routeConfig._injector;for(let _=p.parent;_;_=_.parent){const h=_.routeConfig;if(h?._loadedInjector)return h._loadedInjector;if(h?._injector)return h._injector}return null}class Lo{constructor(_,h,b,S,P){this.routeReuseStrategy=_,this.futureState=h,this.currState=b,this.forwardEvent=S,this.inputBindingEnabled=P}activate(_){const h=this.futureState._root,b=this.currState?this.currState._root:null;this.deactivateChildRoutes(h,b,_),mi(this.futureState.root),this.activateChildRoutes(h,b,_)}deactivateChildRoutes(_,h,b){const S=ze(h);_.children.forEach(P=>{const F=P.value.outlet;this.deactivateRoutes(P,S[F],b),delete S[F]}),Object.values(S).forEach(P=>{this.deactivateRouteAndItsChildren(P,b)})}deactivateRoutes(_,h,b){const S=_.value,P=h?h.value:null;if(S===P)if(S.component){const F=b.getContext(S.outlet);F&&this.deactivateChildRoutes(_,h,F.children)}else this.deactivateChildRoutes(_,h,b);else P&&this.deactivateRouteAndItsChildren(h,b)}deactivateRouteAndItsChildren(_,h){_.value.component&&this.routeReuseStrategy.shouldDetach(_.value.snapshot)?this.detachAndStoreRouteSubtree(_,h):this.deactivateRouteAndOutlet(_,h)}detachAndStoreRouteSubtree(_,h){const b=h.getContext(_.value.outlet),S=b&&_.value.component?b.children:h,P=ze(_);for(const F of Object.keys(P))this.deactivateRouteAndItsChildren(P[F],S);if(b&&b.outlet){const F=b.outlet.detach(),ce=b.children.onOutletDeactivated();this.routeReuseStrategy.store(_.value.snapshot,{componentRef:F,route:_,contexts:ce})}}deactivateRouteAndOutlet(_,h){const b=h.getContext(_.value.outlet),S=b&&_.value.component?b.children:h,P=ze(_);for(const F of Object.keys(P))this.deactivateRouteAndItsChildren(P[F],S);b&&(b.outlet&&(b.outlet.deactivate(),b.children.onOutletDeactivated()),b.attachRef=null,b.route=null)}activateChildRoutes(_,h,b){const S=ze(h);_.children.forEach(P=>{this.activateRoutes(P,S[P.value.outlet],b),this.forwardEvent(new ge(P.value.snapshot))}),_.children.length&&this.forwardEvent(new Ut(_.value.snapshot))}activateRoutes(_,h,b){const S=_.value,P=h?h.value:null;if(mi(S),S===P)if(S.component){const F=b.getOrCreateContext(S.outlet);this.activateChildRoutes(_,h,F.children)}else this.activateChildRoutes(_,h,b);else if(S.component){const F=b.getOrCreateContext(S.outlet);if(this.routeReuseStrategy.shouldAttach(S.snapshot)){const ce=this.routeReuseStrategy.retrieve(S.snapshot);this.routeReuseStrategy.store(S.snapshot,null),F.children.onOutletReAttached(ce.contexts),F.attachRef=ce.componentRef,F.route=ce.route.value,F.outlet&&F.outlet.attach(ce.componentRef,ce.route.value),mi(ce.route.value),this.activateChildRoutes(_,null,F.children)}else{const ce=rr(S.snapshot);F.attachRef=null,F.route=S,F.injector=ce,F.outlet&&F.outlet.activateWith(S,F.injector),this.activateChildRoutes(_,null,F.children)}}else this.activateChildRoutes(_,null,b)}}class Zo{constructor(_){this.path=_,this.route=this.path[this.path.length-1]}}class mo{constructor(_,h){this.component=_,this.route=h}}function qo(p,_,h){const b=p._root;return $i(b,_?_._root:null,h,[b.value])}function eo(p,_){const h=Symbol(),b=_.get(p,h);return b===h?"function"!=typeof p||(0,s.Z0I)(p)?_.get(p):p:b}function $i(p,_,h,b,S={canDeactivateChecks:[],canActivateChecks:[]}){const P=ze(_);return p.children.forEach(F=>{(function $s(p,_,h,b,S={canDeactivateChecks:[],canActivateChecks:[]}){const P=p.value,F=_?_.value:null,ce=h?h.getContext(p.value.outlet):null;if(F&&P.routeConfig===F.routeConfig){const Je=function Ds(p,_,h){if("function"==typeof h)return h(p,_);switch(h){case"pathParamsChange":return!Nt(p.url,_.url);case"pathParamsOrQueryParamsChange":return!Nt(p.url,_.url)||!Ft(p.queryParams,_.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Vi(p,_)||!Ft(p.queryParams,_.queryParams);default:return!Vi(p,_)}}(F,P,P.routeConfig.runGuardsAndResolvers);Je?S.canActivateChecks.push(new Zo(b)):(P.data=F.data,P._resolvedData=F._resolvedData),$i(p,_,P.component?ce?ce.children:null:h,b,S),Je&&ce&&ce.outlet&&ce.outlet.isActivated&&S.canDeactivateChecks.push(new mo(ce.outlet.component,F))}else F&&ko(_,ce,S),S.canActivateChecks.push(new Zo(b)),$i(p,null,P.component?ce?ce.children:null:h,b,S)})(F,P[F.value.outlet],h,b.concat([F.value]),S),delete P[F.value.outlet]}),Object.entries(P).forEach(([F,ce])=>ko(ce,h.getContext(F),S)),S}function ko(p,_,h){const b=ze(p),S=p.value;Object.entries(b).forEach(([P,F])=>{ko(F,S.component?_?_.children.getContext(P):null:_,h)}),h.canDeactivateChecks.push(new mo(S.component&&_&&_.outlet&&_.outlet.isActivated?_.outlet.component:null,S))}function to(p){return"function"==typeof p}function Yn(p){return p instanceof K||"EmptyError"===p?.name}const Bo=Symbol("INITIAL_VALUE");function Wr(){return(0,qe.w)(p=>(0,ee.a)(p.map(_=>_.pipe((0,Ke.q)(1),(0,Tt.O)(Bo)))).pipe((0,Oe.U)(_=>{for(const h of _)if(!0!==h){if(h===Bo)return Bo;if(!1===h||h instanceof _n)return h}return!0}),(0,It.h)(_=>_!==Bo),(0,Ke.q)(1)))}function Te(p){return(0,re.z)((0,pe.b)(_=>{if(Vr(_))throw go(0,_)}),(0,Oe.U)(_=>!0===_))}class Fe{constructor(_){this.segmentGroup=_||null}}class Et{constructor(_){this.urlTree=_}}function St(p){return(0,we._)(new Fe(p))}function Rn(p){return(0,we._)(new Et(p))}class Kn{constructor(_,h){this.urlSerializer=_,this.urlTree=h}noMatchError(_){return new s.vHH(4002,!1)}lineralizeSegments(_,h){let b=[],S=h.root;for(;;){if(b=b.concat(S.segments),0===S.numberOfChildren)return(0,$.of)(b);if(S.numberOfChildren>1||!S.children[Ue])return(0,we._)(new s.vHH(4e3,!1));S=S.children[Ue]}}applyRedirectCommands(_,h,b){return this.applyRedirectCreateUrlTree(h,this.urlSerializer.parse(h),_,b)}applyRedirectCreateUrlTree(_,h,b,S){const P=this.createSegmentGroup(_,h.root,b,S);return new _n(P,this.createQueryParams(h.queryParams,this.urlTree.queryParams),h.fragment)}createQueryParams(_,h){const b={};return Object.entries(_).forEach(([S,P])=>{if("string"==typeof P&&P.startsWith(":")){const ce=P.substring(1);b[S]=h[ce]}else b[S]=P}),b}createSegmentGroup(_,h,b,S){const P=this.createSegments(_,h.segments,b,S);let F={};return Object.entries(h.children).forEach(([ce,Je])=>{F[ce]=this.createSegmentGroup(_,Je,b,S)}),new _t(P,F)}createSegments(_,h,b,S){return h.map(P=>P.path.startsWith(":")?this.findPosParam(_,P,S):this.findOrReturn(P,b))}findPosParam(_,h,b){const S=b[h.path.substring(1)];if(!S)throw new s.vHH(4001,!1);return S}findOrReturn(_,h){let b=0;for(const S of h){if(S.path===_.path)return h.splice(b),S;b++}return _}}const $r={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fn(p,_,h,b,S){const P=Yt(p,_,h);return P.matched?(b=function Jo(p,_){return p.providers&&!p._injector&&(p._injector=(0,s.MMx)(p.providers,_,`Route: ${p.path}`)),p._injector??_}(_,b),function Be(p,_,h,b){const S=_.canMatch;if(!S||0===S.length)return(0,$.of)(!0);const P=S.map(F=>{const ce=eo(F,p);return Ce(function Xo(p){return p&&to(p.canMatch)}(ce)?ce.canMatch(_,h):p.runInContext(()=>ce(_,h)))});return(0,$.of)(P).pipe(Wr(),Te())}(b,_,h).pipe((0,Oe.U)(F=>!0===F?P:{...$r}))):(0,$.of)(P)}function Yt(p,_,h){if(""===_.path)return"full"===_.pathMatch&&(p.hasChildren()||h.length>0)?{...$r}:{matched:!0,consumedSegments:[],remainingSegments:h,parameters:{},positionalParamSegments:{}};const S=(_.matcher||qt)(h,p,_);if(!S)return{...$r};const P={};Object.entries(S.posParams??{}).forEach(([ce,Je])=>{P[ce]=Je.path});const F=S.consumed.length>0?{...P,...S.consumed[S.consumed.length-1].parameters}:P;return{matched:!0,consumedSegments:S.consumed,remainingSegments:h.slice(S.consumed.length),parameters:F,positionalParamSegments:S.posParams??{}}}function dn(p,_,h,b){return h.length>0&&function Fr(p,_,h){return h.some(b=>_o(p,_,b)&&cr(b)!==Ue)}(p,h,b)?{segmentGroup:new _t(_,bi(b,new _t(h,p.children))),slicedSegments:[]}:0===h.length&&function ws(p,_,h){return h.some(b=>_o(p,_,b))}(p,h,b)?{segmentGroup:new _t(p.segments,xr(p,0,h,b,p.children)),slicedSegments:h}:{segmentGroup:new _t(p.segments,p.children),slicedSegments:h}}function xr(p,_,h,b,S){const P={};for(const F of b)if(_o(p,h,F)&&!S[cr(F)]){const ce=new _t([],{});P[cr(F)]=ce}return{...S,...P}}function bi(p,_){const h={};h[Ue]=_;for(const b of p)if(""===b.path&&cr(b)!==Ue){const S=new _t([],{});h[cr(b)]=S}return h}function _o(p,_,h){return(!(p.hasChildren()||_.length>0)||"full"!==h.pathMatch)&&""===h.path}class Sa{constructor(_,h,b,S,P,F,ce){this.injector=_,this.configLoader=h,this.rootComponentType=b,this.config=S,this.urlTree=P,this.paramsInheritanceStrategy=F,this.urlSerializer=ce,this.allowRedirects=!0,this.applyRedirects=new Kn(this.urlSerializer,this.urlTree)}noMatchError(_){return new s.vHH(4002,!1)}recognize(){const _=dn(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,_,Ue).pipe((0,ve.K)(h=>{if(h instanceof Et)return this.allowRedirects=!1,this.urlTree=h.urlTree,this.match(h.urlTree);throw h instanceof Fe?this.noMatchError(h):h}),(0,Oe.U)(h=>{const b=new wn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ue,this.rootComponentType,null,{}),S=new $t(b,h),P=new Bi("",S),F=function hi(p,_,h=null,b=null){return fr(Er(p),_,h,b)}(b,[],this.urlTree.queryParams,this.urlTree.fragment);return F.queryParams=this.urlTree.queryParams,P.url=this.urlSerializer.serialize(F),this.inheritParamsAndData(P._root),{state:P,tree:F}}))}match(_){return this.processSegmentGroup(this.injector,this.config,_.root,Ue).pipe((0,ve.K)(b=>{throw b instanceof Fe?this.noMatchError(b):b}))}inheritParamsAndData(_){const h=_.value,b=Kt(h,this.paramsInheritanceStrategy);h.params=Object.freeze(b.params),h.data=Object.freeze(b.data),_.children.forEach(S=>this.inheritParamsAndData(S))}processSegmentGroup(_,h,b,S){return 0===b.segments.length&&b.hasChildren()?this.processChildren(_,h,b):this.processSegment(_,h,b,b.segments,S,!0)}processChildren(_,h,b){const S=[];for(const P of Object.keys(b.children))"primary"===P?S.unshift(P):S.push(P);return(0,N.D)(S).pipe((0,Bn.b)(P=>{const F=b.children[P],ce=function xo(p,_){const h=p.filter(b=>cr(b)===_);return h.push(...p.filter(b=>cr(b)!==_)),h}(h,P);return this.processSegmentGroup(_,ce,F,P)}),(0,Pe.R)((P,F)=>(P.push(...F),P)),Rt(null),function We(p,_){const h=arguments.length>=2;return b=>b.pipe(p?(0,It.h)((S,P)=>p(S,P,b)):mn.y,Ne(1),h?Rt(_):rn(()=>new K))}(),(0,Gt.z)(P=>{if(null===P)return St(b);const F=yl(P);return function Oa(p){p.sort((_,h)=>_.value.outlet===Ue?-1:h.value.outlet===Ue?1:_.value.outlet.localeCompare(h.value.outlet))}(F),(0,$.of)(F)}))}processSegment(_,h,b,S,P,F){return(0,N.D)(h).pipe((0,Bn.b)(ce=>this.processSegmentAgainstRoute(ce._injector??_,h,ce,b,S,P,F).pipe((0,ve.K)(Je=>{if(Je instanceof Fe)return(0,$.of)(null);throw Je}))),un(ce=>!!ce),(0,ve.K)(ce=>{if(Yn(ce))return function _l(p,_,h){return 0===_.length&&!p.children[h]}(b,S,P)?(0,$.of)([]):St(b);throw ce}))}processSegmentAgainstRoute(_,h,b,S,P,F,ce){return function os(p,_,h,b){return!!(cr(p)===b||b!==Ue&&_o(_,h,p))&&("**"===p.path||Yt(_,p,h).matched)}(b,S,P,F)?void 0===b.redirectTo?this.matchSegmentAgainstRoute(_,S,b,P,F,ce):ce&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(_,S,h,b,P,F):St(S):St(S)}expandSegmentAgainstRouteUsingRedirect(_,h,b,S,P,F){return"**"===S.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(_,b,S,F):this.expandRegularSegmentAgainstRouteUsingRedirect(_,h,b,S,P,F)}expandWildCardWithParamsAgainstRouteUsingRedirect(_,h,b,S){const P=this.applyRedirects.applyRedirectCommands([],b.redirectTo,{});return b.redirectTo.startsWith("/")?Rn(P):this.applyRedirects.lineralizeSegments(b,P).pipe((0,Gt.z)(F=>{const ce=new _t(F,{});return this.processSegment(_,h,ce,F,S,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(_,h,b,S,P,F){const{matched:ce,consumedSegments:Je,remainingSegments:Ct,positionalParamSegments:Ot}=Yt(h,S,P);if(!ce)return St(h);const $n=this.applyRedirects.applyRedirectCommands(Je,S.redirectTo,Ot);return S.redirectTo.startsWith("/")?Rn($n):this.applyRedirects.lineralizeSegments(S,$n).pipe((0,Gt.z)(Kr=>this.processSegment(_,b,h,Kr.concat(Ct),F,!1)))}matchSegmentAgainstRoute(_,h,b,S,P,F){let ce;if("**"===b.path){const Je=S.length>0?se(S).parameters:{},Ct=new wn(S,Je,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ia(b),cr(b),b.component??b._loadedComponent??null,b,Aa(b));ce=(0,$.of)({snapshot:Ct,consumedSegments:[],remainingSegments:[]}),h.children={}}else ce=Fn(h,b,S,_).pipe((0,Oe.U)(({matched:Je,consumedSegments:Ct,remainingSegments:Ot,parameters:$n})=>Je?{snapshot:new wn(Ct,$n,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ia(b),cr(b),b.component??b._loadedComponent??null,b,Aa(b)),consumedSegments:Ct,remainingSegments:Ot}:null));return ce.pipe((0,qe.w)(Je=>null===Je?St(h):this.getChildConfig(_=b._injector??_,b,S).pipe((0,qe.w)(({routes:Ct})=>{const Ot=b._loadedInjector??_,{snapshot:$n,consumedSegments:Kr,remainingSegments:Ss}=Je,{segmentGroup:Os,slicedSegments:ao}=dn(h,Kr,Ss,Ct);if(0===ao.length&&Os.hasChildren())return this.processChildren(Ot,Ct,Os).pipe((0,Oe.U)(ta=>null===ta?null:[new $t($n,ta)]));if(0===Ct.length&&0===ao.length)return(0,$.of)([new $t($n,[])]);const Yi=cr(b)===P;return this.processSegment(Ot,Ct,Os,ao,Yi?Ue:P,!0).pipe((0,Oe.U)(ta=>[new $t($n,ta)]))}))))}getChildConfig(_,h,b){return h.children?(0,$.of)({routes:h.children,injector:_}):h.loadChildren?void 0!==h._loadedRoutes?(0,$.of)({routes:h._loadedRoutes,injector:h._loadedInjector}):function Q(p,_,h,b){const S=_.canLoad;if(void 0===S||0===S.length)return(0,$.of)(!0);const P=S.map(F=>{const ce=eo(F,p);return Ce(function zr(p){return p&&to(p.canLoad)}(ce)?ce.canLoad(_,h):p.runInContext(()=>ce(_,h)))});return(0,$.of)(P).pipe(Wr(),Te())}(_,h,b).pipe((0,Gt.z)(S=>S?this.configLoader.loadChildren(_,h).pipe((0,pe.b)(P=>{h._loadedRoutes=P.routes,h._loadedInjector=P.injector})):function Hn(p){return(0,we._)(vi(!1,3))}())):(0,$.of)({routes:[],injector:_})}}function vl(p){const _=p.value.routeConfig;return _&&""===_.path}function yl(p){const _=[],h=new Set;for(const b of p){if(!vl(b)){_.push(b);continue}const S=_.find(P=>b.value.routeConfig===P.value.routeConfig);void 0!==S?(S.children.push(...b.children),h.add(S)):_.push(b)}for(const b of h){const S=yl(b.children);_.push(new $t(b.value,S))}return _.filter(b=>!h.has(b))}function Ia(p){return p.data||{}}function Aa(p){return p.resolve||{}}function Lr(p){return"string"==typeof p.title||null===p.title}function g(p){return(0,qe.w)(_=>{const h=p(_);return h?(0,N.D)(h).pipe((0,Oe.U)(()=>_)):(0,$.of)(_)})}const M=new s.OlP("ROUTES");let C=(()=>{class p{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,s.f3M)(s.Sil)}loadComponent(h){if(this.componentLoaders.get(h))return this.componentLoaders.get(h);if(h._loadedComponent)return(0,$.of)(h._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(h);const b=Ce(h.loadComponent()).pipe((0,Oe.U)(j),(0,pe.b)(P=>{this.onLoadEndListener&&this.onLoadEndListener(h),h._loadedComponent=P}),(0,Se.x)(()=>{this.componentLoaders.delete(h)})),S=new le(b,()=>new Me.x).pipe(dt());return this.componentLoaders.set(h,S),S}loadChildren(h,b){if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,$.of)({routes:b._loadedRoutes,injector:b._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(b);const P=this.loadModuleFactoryOrRoutes(b.loadChildren).pipe((0,Oe.U)(ce=>{this.onLoadEndListener&&this.onLoadEndListener(b);let Je,Ct;return Array.isArray(ce)?Ct=ce:(Je=ce.create(h).injector,Ct=Je.get(M,[],s.XFs.Self|s.XFs.Optional).flat()),{routes:Ct.map(ji),injector:Je}}),(0,Se.x)(()=>{this.childrenLoaders.delete(b)})),F=new le(P,()=>new Me.x).pipe(dt());return this.childrenLoaders.set(b,F),F}loadModuleFactoryOrRoutes(h){return Ce(h()).pipe((0,Oe.U)(j),(0,Gt.z)(b=>b instanceof s.YKP||Array.isArray(b)?(0,$.of)(b):(0,N.D)(this.compiler.compileModuleAsync(b))))}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();function j(p){return function A(p){return p&&"object"==typeof p&&"default"in p}(p)?p.default:p}let _e=(()=>{class p{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Me.x,this.configLoader=(0,s.f3M)(C),this.environmentInjector=(0,s.f3M)(s.lqb),this.urlSerializer=(0,s.f3M)(Vt),this.rootContexts=(0,s.f3M)(tt),this.inputBindingEnabled=null!==(0,s.f3M)(_i,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,$.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=S=>this.events.next(new Qi(S)),this.configLoader.onLoadStartListener=S=>this.events.next(new qi(S))}complete(){this.transitions?.complete()}handleNavigationRequest(h){const b=++this.navigationId;this.transitions?.next({...this.transitions.value,...h,id:b})}setupNavigations(h){return this.transitions=new V.X({id:0,currentUrlTree:h.currentUrlTree,currentRawUrl:h.currentUrlTree,extractedUrl:h.urlHandlingStrategy.extract(h.currentUrlTree),urlAfterRedirects:h.urlHandlingStrategy.extract(h.currentUrlTree),rawUrl:h.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ar,restoredState:null,currentSnapshot:h.routerState.snapshot,targetSnapshot:null,currentRouterState:h.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,It.h)(b=>0!==b.id),(0,Oe.U)(b=>({...b,extractedUrl:h.urlHandlingStrategy.extract(b.rawUrl)})),(0,qe.w)(b=>{let S=!1,P=!1;return(0,$.of)(b).pipe((0,pe.b)(F=>{this.currentNavigation={id:F.id,initialUrl:F.rawUrl,extractedUrl:F.extractedUrl,trigger:F.source,extras:F.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,qe.w)(F=>{const ce=h.browserUrlTree.toString(),Je=!h.navigated||F.extractedUrl.toString()!==ce||ce!==h.currentUrlTree.toString();if(!Je&&"reload"!==(F.extras.onSameUrlNavigation??h.onSameUrlNavigation)){const Ot="";return this.events.next(new Gr(F.id,h.serializeUrl(b.rawUrl),Ot,0)),h.rawUrlTree=F.rawUrl,F.resolve(null),De.E}if(h.urlHandlingStrategy.shouldProcessUrl(F.rawUrl))return ke(F.source)&&(h.browserUrlTree=F.extractedUrl),(0,$.of)(F).pipe((0,qe.w)(Ot=>{const $n=this.transitions?.getValue();return this.events.next(new Mr(Ot.id,this.urlSerializer.serialize(Ot.extractedUrl),Ot.source,Ot.restoredState)),$n!==this.transitions?.getValue()?De.E:Promise.resolve(Ot)}),function Vo(p,_,h,b,S,P){return(0,Gt.z)(F=>function Ma(p,_,h,b,S,P,F="emptyOnly"){return new Sa(p,_,h,b,S,F,P).recognize()}(p,_,h,b,F.extractedUrl,S,P).pipe((0,Oe.U)(({state:ce,tree:Je})=>({...F,targetSnapshot:ce,urlAfterRedirects:Je}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,h.config,this.urlSerializer,h.paramsInheritanceStrategy),(0,pe.b)(Ot=>{if(b.targetSnapshot=Ot.targetSnapshot,b.urlAfterRedirects=Ot.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Ot.urlAfterRedirects},"eager"===h.urlUpdateStrategy){if(!Ot.extras.skipLocationChange){const Kr=h.urlHandlingStrategy.merge(Ot.urlAfterRedirects,Ot.rawUrl);h.setBrowserUrl(Kr,Ot)}h.browserUrlTree=Ot.urlAfterRedirects}const $n=new Zi(Ot.id,this.urlSerializer.serialize(Ot.extractedUrl),this.urlSerializer.serialize(Ot.urlAfterRedirects),Ot.targetSnapshot);this.events.next($n)}));if(Je&&h.urlHandlingStrategy.shouldProcessUrl(h.rawUrlTree)){const{id:Ot,extractedUrl:$n,source:Kr,restoredState:Ss,extras:Os}=F,ao=new Mr(Ot,this.urlSerializer.serialize($n),Kr,Ss);this.events.next(ao);const Yi=Sn(0,this.rootComponentType).snapshot;return b={...F,targetSnapshot:Yi,urlAfterRedirects:$n,extras:{...Os,skipLocationChange:!1,replaceUrl:!1}},(0,$.of)(b)}{const Ot="";return this.events.next(new Gr(F.id,h.serializeUrl(b.extractedUrl),Ot,1)),h.rawUrlTree=F.rawUrl,F.resolve(null),De.E}}),(0,pe.b)(F=>{const ce=new ho(F.id,this.urlSerializer.serialize(F.extractedUrl),this.urlSerializer.serialize(F.urlAfterRedirects),F.targetSnapshot);this.events.next(ce)}),(0,Oe.U)(F=>b={...F,guards:qo(F.targetSnapshot,F.currentSnapshot,this.rootContexts)}),function ts(p,_){return(0,Gt.z)(h=>{const{targetSnapshot:b,currentSnapshot:S,guards:{canActivateChecks:P,canDeactivateChecks:F}}=h;return 0===F.length&&0===P.length?(0,$.of)({...h,guardsResult:!0}):function Es(p,_,h,b){return(0,N.D)(p).pipe((0,Gt.z)(S=>function O(p,_,h,b,S){const P=_&&_.routeConfig?_.routeConfig.canDeactivate:null;if(!P||0===P.length)return(0,$.of)(!0);const F=P.map(ce=>{const Je=rr(_)??S,Ct=eo(ce,Je);return Ce(function Cs(p){return p&&to(p.canDeactivate)}(Ct)?Ct.canDeactivate(p,_,h,b):Je.runInContext(()=>Ct(p,_,h,b))).pipe(un())});return(0,$.of)(F).pipe(Wr())}(S.component,S.route,h,_,b)),un(S=>!0!==S,!0))}(F,b,S,p).pipe((0,Gt.z)(ce=>ce&&function Gs(p){return"boolean"==typeof p}(ce)?function ns(p,_,h,b){return(0,N.D)(_).pipe((0,Bn.b)(S=>(0,Z.z)(function is(p,_){return null!==p&&_&&_(new Ro(p)),(0,$.of)(!0)}(S.route.parent,b),function rs(p,_){return null!==p&&_&&_(new k(p)),(0,$.of)(!0)}(S.route,b),function I(p,_,h){const b=_[_.length-1],P=_.slice(0,_.length-1).reverse().map(F=>function Qo(p){const _=p.routeConfig?p.routeConfig.canActivateChild:null;return _&&0!==_.length?{node:p,guards:_}:null}(F)).filter(F=>null!==F).map(F=>he(()=>{const ce=F.guards.map(Je=>{const Ct=rr(F.node)??h,Ot=eo(Je,Ct);return Ce(function Ws(p){return p&&to(p.canActivateChild)}(Ot)?Ot.canActivateChild(b,p):Ct.runInContext(()=>Ot(b,p))).pipe(un())});return(0,$.of)(ce).pipe(Wr())}));return(0,$.of)(P).pipe(Wr())}(p,S.path,h),function w(p,_,h){const b=_.routeConfig?_.routeConfig.canActivate:null;if(!b||0===b.length)return(0,$.of)(!0);const S=b.map(P=>he(()=>{const F=rr(_)??h,ce=eo(P,F);return Ce(function zs(p){return p&&to(p.canActivate)}(ce)?ce.canActivate(_,p):F.runInContext(()=>ce(_,p))).pipe(un())}));return(0,$.of)(S).pipe(Wr())}(p,S.route,h))),un(S=>!0!==S,!0))}(b,P,p,_):(0,$.of)(ce)),(0,Oe.U)(ce=>({...h,guardsResult:ce})))})}(this.environmentInjector,F=>this.events.next(F)),(0,pe.b)(F=>{if(b.guardsResult=F.guardsResult,Vr(F.guardsResult))throw go(0,F.guardsResult);const ce=new Ao(F.id,this.urlSerializer.serialize(F.extractedUrl),this.urlSerializer.serialize(F.urlAfterRedirects),F.targetSnapshot,!!F.guardsResult);this.events.next(ce)}),(0,It.h)(F=>!!F.guardsResult||(h.restoreHistory(F),this.cancelNavigationTransition(F,"",3),!1)),g(F=>{if(F.guards.canActivateChecks.length)return(0,$.of)(F).pipe((0,pe.b)(ce=>{const Je=new gi(ce.id,this.urlSerializer.serialize(ce.extractedUrl),this.urlSerializer.serialize(ce.urlAfterRedirects),ce.targetSnapshot);this.events.next(Je)}),(0,qe.w)(ce=>{let Je=!1;return(0,$.of)(ce).pipe(function Mi(p,_){return(0,Gt.z)(h=>{const{targetSnapshot:b,guards:{canActivateChecks:S}}=h;if(!S.length)return(0,$.of)(h);let P=0;return(0,N.D)(S).pipe((0,Bn.b)(F=>function Si(p,_,h,b){const S=p.routeConfig,P=p._resolve;return void 0!==S?.title&&!Lr(S)&&(P[jt]=S.title),function Ys(p,_,h,b){const S=function Yr(p){return[...Object.keys(p),...Object.getOwnPropertySymbols(p)]}(p);if(0===S.length)return(0,$.of)({});const P={};return(0,N.D)(S).pipe((0,Gt.z)(F=>function fn(p,_,h,b){const S=rr(_)??b,P=eo(p,S);return Ce(P.resolve?P.resolve(_,h):S.runInContext(()=>P(_,h)))}(p[F],_,h,b).pipe(un(),(0,pe.b)(ce=>{P[F]=ce}))),Ne(1),(0,Ee.h)(P),(0,ve.K)(F=>Yn(F)?De.E:(0,we._)(F)))}(P,p,_,b).pipe((0,Oe.U)(F=>(p._resolvedData=F,p.data=Kt(p,h).resolve,S&&Lr(S)&&(p.data[jt]=S.title),null)))}(F.route,b,p,_)),(0,pe.b)(()=>P++),Ne(1),(0,Gt.z)(F=>P===S.length?(0,$.of)(h):De.E))})}(h.paramsInheritanceStrategy,this.environmentInjector),(0,pe.b)({next:()=>Je=!0,complete:()=>{Je||(h.restoreHistory(ce),this.cancelNavigationTransition(ce,"",2))}}))}),(0,pe.b)(ce=>{const Je=new Ti(ce.id,this.urlSerializer.serialize(ce.extractedUrl),this.urlSerializer.serialize(ce.urlAfterRedirects),ce.targetSnapshot);this.events.next(Je)}))}),g(F=>{const ce=Je=>{const Ct=[];Je.routeConfig?.loadComponent&&!Je.routeConfig._loadedComponent&&Ct.push(this.configLoader.loadComponent(Je.routeConfig).pipe((0,pe.b)(Ot=>{Je.component=Ot}),(0,Oe.U)(()=>{})));for(const Ot of Je.children)Ct.push(...ce(Ot));return Ct};return(0,ee.a)(ce(F.targetSnapshot.root)).pipe(Rt(),(0,Ke.q)(1))}),g(()=>this.afterPreactivation()),(0,Oe.U)(F=>{const ce=function Sr(p,_,h){const b=Ur(p,_._root,h?h._root:void 0);return new Dt(b,_)}(h.routeReuseStrategy,F.targetSnapshot,F.currentRouterState);return b={...F,targetRouterState:ce}}),(0,pe.b)(F=>{h.currentUrlTree=F.urlAfterRedirects,h.rawUrlTree=h.urlHandlingStrategy.merge(F.urlAfterRedirects,F.rawUrl),h.routerState=F.targetRouterState,"deferred"===h.urlUpdateStrategy&&(F.extras.skipLocationChange||h.setBrowserUrl(h.rawUrlTree,F),h.browserUrlTree=F.urlAfterRedirects)}),((p,_,h,b)=>(0,Oe.U)(S=>(new Lo(_,S.targetRouterState,S.currentRouterState,h,b).activate(p),S)))(this.rootContexts,h.routeReuseStrategy,F=>this.events.next(F),this.inputBindingEnabled),(0,Ke.q)(1),(0,pe.b)({next:F=>{S=!0,this.lastSuccessfulNavigation=this.currentNavigation,h.navigated=!0,this.events.next(new ei(F.id,this.urlSerializer.serialize(F.extractedUrl),this.urlSerializer.serialize(h.currentUrlTree))),h.titleStrategy?.updateTitle(F.targetRouterState.snapshot),F.resolve(!0)},complete:()=>{S=!0}}),(0,Se.x)(()=>{S||P||this.cancelNavigationTransition(b,"",1),this.currentNavigation?.id===b.id&&(this.currentNavigation=null)}),(0,ve.K)(F=>{if(P=!0,js(F)){Wt(F)||(h.navigated=!0,h.restoreHistory(b,!0));const ce=new pi(b.id,this.urlSerializer.serialize(b.extractedUrl),F.message,F.cancellationCode);if(this.events.next(ce),Wt(F)){const Je=h.urlHandlingStrategy.merge(F.url,h.rawUrlTree),Ct={skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===h.urlUpdateStrategy||ke(b.source)};h.scheduleNavigation(Je,ar,null,Ct,{resolve:b.resolve,reject:b.reject,promise:b.promise})}else b.resolve(!1)}else{h.restoreHistory(b,!0);const ce=new si(b.id,this.urlSerializer.serialize(b.extractedUrl),F,b.targetSnapshot??void 0);this.events.next(ce);try{b.resolve(h.errorHandler(F))}catch(Je){b.reject(Je)}}return De.E}))}))}cancelNavigationTransition(h,b,S){const P=new pi(h.id,this.urlSerializer.serialize(h.extractedUrl),b,S);this.events.next(P),h.resolve(!1)}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();function ke(p){return p!==ar}let vt=(()=>{class p{buildTitle(h){let b,S=h.root;for(;void 0!==S;)b=this.getResolvedTitleForRoute(S)??b,S=S.children.find(P=>P.outlet===Ue);return b}getResolvedTitleForRoute(h){return h.data[jt]}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:function(){return(0,s.f3M)(Un)},providedIn:"root"}),p})(),Un=(()=>{class p extends vt{constructor(h){super(),this.title=h}updateTitle(h){const b=this.buildTitle(h);void 0!==b&&this.title.setTitle(b)}}return p.\u0275fac=function(h){return new(h||p)(s.LFG(Pt.Dx))},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),an=(()=>{class p{}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:function(){return(0,s.f3M)(nn)},providedIn:"root"}),p})();class yn{shouldDetach(_){return!1}store(_,h){}shouldAttach(_){return!1}retrieve(_){return null}shouldReuseRoute(_,h){return _.routeConfig===h.routeConfig}}let nn=(()=>{class p extends yn{}return p.\u0275fac=function(){let _;return function(b){return(_||(_=s.n5z(p)))(b||p)}}(),p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();const Wn=new s.OlP("",{providedIn:"root",factory:()=>({})});let jn=(()=>{class p{}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:function(){return(0,s.f3M)(ur)},providedIn:"root"}),p})(),ur=(()=>{class p{shouldProcessUrl(h){return!0}extract(h){return h}merge(h,b){return h}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();var ti=function(p){return p[p.COMPLETE=0]="COMPLETE",p[p.FAILED=1]="FAILED",p[p.REDIRECTING=2]="REDIRECTING",p}(ti||{});function wt(p,_){p.events.pipe((0,It.h)(h=>h instanceof ei||h instanceof pi||h instanceof si||h instanceof Gr),(0,Oe.U)(h=>h instanceof ei||h instanceof Gr?ti.COMPLETE:h instanceof pi&&(0===h.code||1===h.code)?ti.REDIRECTING:ti.FAILED),(0,It.h)(h=>h!==ti.REDIRECTING),(0,Ke.q)(1)).subscribe(()=>{_()})}function no(p){throw p}function Di(p,_,h){return _.parse("/")}const ro={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},io={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Nn=(()=>{class p{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,s.f3M)(s.c2e),this.isNgZoneEnabled=!1,this.options=(0,s.f3M)(Wn,{optional:!0})||{},this.pendingTasks=(0,s.f3M)(s.HDt),this.errorHandler=this.options.errorHandler||no,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Di,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,s.f3M)(jn),this.routeReuseStrategy=(0,s.f3M)(an),this.titleStrategy=(0,s.f3M)(vt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,s.f3M)(M,{optional:!0})?.flat()??[],this.navigationTransitions=(0,s.f3M)(_e),this.urlSerializer=(0,s.f3M)(Vt),this.location=(0,s.f3M)(xe.Ye),this.componentInputBindingEnabled=!!(0,s.f3M)(_i,{optional:!0}),this.isNgZoneEnabled=(0,s.f3M)(s.R0b)instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new _n,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Sn(0,null),this.navigationTransitions.setupNavigations(this).subscribe(h=>{this.lastSuccessfulId=h.id,this.currentPageId=this.browserPageId??0},h=>{this.console.warn(`Unhandled Navigation Error: ${h}`)})}resetRootComponentType(h){this.routerState.root.component=h,this.navigationTransitions.rootComponentType=h}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const h=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ar,h)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(h=>{const b="popstate"===h.type?"popstate":"hashchange";"popstate"===b&&setTimeout(()=>{this.navigateToSyncWithBrowser(h.url,b,h.state)},0)}))}navigateToSyncWithBrowser(h,b,S){const P={replaceUrl:!0},F=S?.navigationId?S:null;if(S){const Je={...S};delete Je.navigationId,delete Je.\u0275routerPageId,0!==Object.keys(Je).length&&(P.state=Je)}const ce=this.parseUrl(h);this.scheduleNavigation(ce,b,F,P)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(h){this.config=h.map(ji),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(h,b={}){const{relativeTo:S,queryParams:P,fragment:F,queryParamsHandling:ce,preserveFragment:Je}=b,Ct=Je?this.currentUrlTree.fragment:F;let $n,Ot=null;switch(ce){case"merge":Ot={...this.currentUrlTree.queryParams,...P};break;case"preserve":Ot=this.currentUrlTree.queryParams;break;default:Ot=P||null}null!==Ot&&(Ot=this.removeEmptyProps(Ot));try{$n=Er(S?S.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof h[0]||!h[0].startsWith("/"))&&(h=[]),$n=this.currentUrlTree.root}return fr($n,h,Ot,Ct??null)}navigateByUrl(h,b={skipLocationChange:!1}){const S=Vr(h)?h:this.parseUrl(h),P=this.urlHandlingStrategy.merge(S,this.rawUrlTree);return this.scheduleNavigation(P,ar,null,b)}navigate(h,b={skipLocationChange:!1}){return function vo(p){for(let _=0;_{const P=h[S];return null!=P&&(b[S]=P),b},{})}scheduleNavigation(h,b,S,P,F){if(this.disposed)return Promise.resolve(!1);let ce,Je,Ct;F?(ce=F.resolve,Je=F.reject,Ct=F.promise):Ct=new Promise(($n,Kr)=>{ce=$n,Je=Kr});const Ot=this.pendingTasks.add();return wt(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Ot))}),this.navigationTransitions.handleNavigationRequest({source:b,restoredState:S,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:h,extras:P,resolve:ce,reject:Je,promise:Ct,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ct.catch($n=>Promise.reject($n))}setBrowserUrl(h,b){const S=this.urlSerializer.serialize(h);if(this.location.isCurrentPathEqualTo(S)||b.extras.replaceUrl){const F={...b.extras.state,...this.generateNgRouterState(b.id,this.browserPageId)};this.location.replaceState(S,"",F)}else{const P={...b.extras.state,...this.generateNgRouterState(b.id,(this.browserPageId??0)+1)};this.location.go(S,"",P)}}restoreHistory(h,b=!1){if("computed"===this.canceledNavigationResolution){const P=this.currentPageId-(this.browserPageId??this.currentPageId);0!==P?this.location.historyGo(P):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===P&&(this.resetState(h),this.browserUrlTree=h.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(b&&this.resetState(h),this.resetUrlToCurrentUrlTree())}resetState(h){this.routerState=h.currentRouterState,this.currentUrlTree=h.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,h.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(h,b){return"computed"===this.canceledNavigationResolution?{navigationId:h,\u0275routerPageId:b}:{navigationId:h}}}return p.\u0275fac=function(h){return new(h||p)},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),hr=(()=>{class p{constructor(h,b,S,P,F,ce){this.router=h,this.route=b,this.tabIndexAttribute=S,this.renderer=P,this.el=F,this.locationStrategy=ce,this.href=null,this.commands=null,this.onChanges=new Me.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Je=F.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Je||"area"===Je,this.isAnchorElement?this.subscription=h.events.subscribe(Ct=>{Ct instanceof ei&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(h){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",h)}ngOnChanges(h){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(h){null!=h?(this.commands=Array.isArray(h)?h:[h],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(h,b,S,P,F){return!!(null===this.urlTree||this.isAnchorElement&&(0!==h||b||S||P||F||"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 h=null===this.href?null:(0,s.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",h)}applyAttributeValue(h,b){const S=this.renderer,P=this.el.nativeElement;null!==b?S.setAttribute(P,h,b):S.removeAttribute(P,h)}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 p.\u0275fac=function(h){return new(h||p)(s.Y36(Nn),s.Y36(Nr),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(xe.S$))},p.\u0275dir=s.lG2({type:p,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(h,b){1&h&&s.NdJ("click",function(P){return b.onClick(P.button,P.ctrlKey,P.shiftKey,P.altKey,P.metaKey)}),2&h&&s.uIk("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",s.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",s.VuI],replaceUrl:["replaceUrl","replaceUrl",s.VuI],routerLink:"routerLink"},standalone:!0,features:[s.Xq5,s.TTD]}),p})(),Js=(()=>{class p{get isActive(){return this._isActive}constructor(h,b,S,P,F){this.router=h,this.element=b,this.renderer=S,this.cdr=P,this.link=F,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new s.vpe,this.routerEventsSubscription=h.events.subscribe(ce=>{ce instanceof ei&&this.update()})}ngAfterContentInit(){(0,$.of)(this.links.changes,(0,$.of)(null)).pipe((0,Le.J)()).subscribe(h=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const h=[...this.links.toArray(),this.link].filter(b=>!!b).map(b=>b.onChanges);this.linkInputChangesSubscription=(0,N.D)(h).pipe((0,Le.J)()).subscribe(b=>{this._isActive!==this.isLinkActive(this.router)(b)&&this.update()})}set routerLinkActive(h){const b=Array.isArray(h)?h:h.split(" ");this.classes=b.filter(S=>!!S)}ngOnChanges(h){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const h=this.hasActiveLinks();this._isActive!==h&&(this._isActive=h,this.cdr.markForCheck(),this.classes.forEach(b=>{h?this.renderer.addClass(this.element.nativeElement,b):this.renderer.removeClass(this.element.nativeElement,b)}),h&&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(h))})}isLinkActive(h){const b=function yo(p){return!!p.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return S=>!!S.urlTree&&h.isActive(S.urlTree,b)}hasActiveLinks(){const h=this.isLinkActive(this.router);return this.link&&h(this.link)||this.links.some(h)}}return p.\u0275fac=function(h){return new(h||p)(s.Y36(Nn),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(hr,8))},p.\u0275dir=s.lG2({type:p,selectors:[["","routerLinkActive",""]],contentQueries:function(h,b,S){if(1&h&&s.Suo(S,hr,5),2&h){let P;s.iGM(P=s.CRH())&&(b.links=P)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[s.TTD]}),p})();class bo{}let Ge=(()=>{class p{constructor(h,b,S,P,F){this.router=h,this.injector=S,this.preloadingStrategy=P,this.loader=F}setUpPreloading(){this.subscription=this.router.events.pipe((0,It.h)(h=>h instanceof ei),(0,Bn.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(h,b){const S=[];for(const P of b){P.providers&&!P._injector&&(P._injector=(0,s.MMx)(P.providers,h,`Route: ${P.path}`));const F=P._injector??h,ce=P._loadedInjector??F;(P.loadChildren&&!P._loadedRoutes&&void 0===P.canLoad||P.loadComponent&&!P._loadedComponent)&&S.push(this.preloadConfig(F,P)),(P.children||P._loadedRoutes)&&S.push(this.processRoutes(ce,P.children??P._loadedRoutes))}return(0,N.D)(S).pipe((0,Le.J)())}preloadConfig(h,b){return this.preloadingStrategy.preload(b,()=>{let S;S=b.loadChildren&&void 0===b.canLoad?this.loader.loadChildren(h,b):(0,$.of)(null);const P=S.pipe((0,Gt.z)(F=>null===F?(0,$.of)(void 0):(b._loadedRoutes=F.routes,b._loadedInjector=F.injector,this.processRoutes(F.injector??h,F.routes))));if(b.loadComponent&&!b._loadedComponent){const F=this.loader.loadComponent(b);return(0,N.D)([P,F]).pipe((0,Le.J)())}return P})}}return p.\u0275fac=function(h){return new(h||p)(s.LFG(Nn),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(bo),s.LFG(C))},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();const ln=new s.OlP("");let Do=(()=>{class p{constructor(h,b,S,P,F={}){this.urlSerializer=h,this.transitions=b,this.viewportScroller=S,this.zone=P,this.options=F,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},F.scrollPositionRestoration=F.scrollPositionRestoration||"disabled",F.anchorScrolling=F.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(h=>{h instanceof Mr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=h.navigationTrigger,this.restoredId=h.restoredState?h.restoredState.navigationId:0):h instanceof ei?(this.lastId=h.id,this.scheduleScrollEvent(h,this.urlSerializer.parse(h.urlAfterRedirects).fragment)):h instanceof Gr&&0===h.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(h,this.urlSerializer.parse(h.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(h=>{h instanceof ae&&(h.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(h.position):h.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(h.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(h,b){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ae(h,"popstate"===this.lastSource?this.store[this.restoredId]:null,b))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return p.\u0275fac=function(h){s.$Z()},p.\u0275prov=s.Yz7({token:p,factory:p.\u0275fac}),p})();function Gi(p,_){return{\u0275kind:p,\u0275providers:_}}function Ks(){const p=(0,s.f3M)(s.zs3);return _=>{const h=p.get(s.z2F);if(_!==h.components[0])return;const b=p.get(Nn),S=p.get(bl);1===p.get(Co)&&b.initialNavigation(),p.get(Ii,null,s.XFs.Optional)?.setUpPreloading(),p.get(ln,null,s.XFs.Optional)?.init(),b.resetRootComponentType(h.componentTypes[0]),S.closed||(S.next(),S.complete(),S.unsubscribe())}}const bl=new s.OlP("",{factory:()=>new Me.x}),Co=new s.OlP("",{providedIn:"root",factory:()=>1}),Ii=new s.OlP("");function Wi(p){return Gi(0,[{provide:Ii,useExisting:Ge},{provide:bo,useExisting:p}])}const so=new s.OlP("ROUTER_FORROOT_GUARD"),Zs=[xe.Ye,{provide:Vt,useClass:sr},Nn,tt,{provide:Nr,useFactory:function pr(p){return p.routerState.root},deps:[Nn]},C,[]];function qs(){return new s.PXZ("Router",Nn)}let El=(()=>{class p{constructor(h){}static forRoot(h,b){return{ngModule:p,providers:[Zs,[],{provide:M,multi:!0,useValue:h},{provide:so,useFactory:wl,deps:[[Nn,new s.FiY,new s.tp0]]},{provide:Wn,useValue:b||{}},b?.useHash?{provide:xe.S$,useClass:xe.Do}:{provide:xe.S$,useClass:xe.b0},{provide:ln,useFactory:()=>{const p=(0,s.f3M)(xe.EM),_=(0,s.f3M)(s.R0b),h=(0,s.f3M)(Wn),b=(0,s.f3M)(_e),S=(0,s.f3M)(Vt);return h.scrollOffset&&p.setOffset(h.scrollOffset),new Do(S,b,p,_,h)}},b?.preloadingStrategy?Wi(b.preloadingStrategy).\u0275providers:[],{provide:s.PXZ,multi:!0,useFactory:qs},b?.initialNavigation?Tl(b):[],b?.bindToComponentInputs?Gi(8,[Hi,{provide:_i,useExisting:Hi}]).\u0275providers:[],[{provide:xa,useFactory:Ks},{provide:s.tb,multi:!0,useExisting:xa}]]}}static forChild(h){return{ngModule:p,providers:[{provide:M,multi:!0,useValue:h}]}}}return p.\u0275fac=function(h){return new(h||p)(s.LFG(so,8))},p.\u0275mod=s.oAB({type:p}),p.\u0275inj=s.cJS({}),p})();function wl(p){return"guarded"}function Tl(p){return["disabled"===p.initialNavigation?Gi(3,[{provide:s.ip1,multi:!0,useFactory:()=>{const _=(0,s.f3M)(Nn);return()=>{_.setUpLocationChangeListener()}}},{provide:Co,useValue:2}]).\u0275providers:[],"enabledBlocking"===p.initialNavigation?Gi(2,[{provide:Co,useValue:0},{provide:s.ip1,multi:!0,deps:[s.zs3],useFactory:_=>{const h=_.get(xe.V_,Promise.resolve());return()=>h.then(()=>new Promise(b=>{const S=_.get(Nn),P=_.get(bl);wt(S,()=>{b(!0)}),_.get(_e).afterPreactivation=()=>(b(!0),P.closed?(0,$.of)(void 0):P),S.initialNavigation()}))}}]).\u0275providers:[]]}const xa=new s.OlP("")},132:(q,H,E)=>{"use strict";E.d(H,{PA:()=>wu,_D:()=>Jc,lQ:()=>Md,jt:()=>el,TH:()=>Uo,Vi:()=>Xa,XC:()=>Ls,iD:()=>Qd,Pz:()=>jo,uN:()=>nl,nv:()=>hs,Is:()=>ks,tO:()=>$o,Fh:()=>rl,Oz:()=>Zl,Dy:()=>xp,_B:()=>gs,_L:()=>Ef,HK:()=>Eu});var s=E(5879),y=E(5592),W=E(6232),L=E(2096),N=E(8645),$=E(4829),V=E(1631),ee=E(4266),Y=E(4674),K=E(7400);const Z=["addListener","removeListener"],te=["addEventListener","removeEventListener"],he=["on","off"];function re(i,a,r,c){if((0,Y.m)(r)&&(c=r,r=void 0),c)return re(i,a,r).pipe((0,K.Z)(c));const[f,D]=function et(i){return(0,Y.m)(i.addEventListener)&&(0,Y.m)(i.removeEventListener)}(i)?te.map(x=>J=>i[x](a,J,r)):function De(i){return(0,Y.m)(i.addListener)&&(0,Y.m)(i.removeListener)}(i)?Z.map(we(i,a)):function Ze(i){return(0,Y.m)(i.on)&&(0,Y.m)(i.off)}(i)?he.map(we(i,a)):[];if(!f&&(0,ee.z)(i))return(0,V.z)(x=>re(x,a,r))((0,$.Xf)(i));if(!f)throw new TypeError("Invalid event target");return new y.y(x=>{const J=(...X)=>x.next(1D(J)})}function we(i,a){return r=>c=>i[r](a,c)}var ot=E(9080);const{isArray:dt}=Array;function le(i){return 1===i.length&&dt(i[0])?i[0]:i}var Me=E(8251);function xe(...i){return 1===(i=le(i)).length?(0,$.Xf)(i[0]):new y.y(function Oe(i){return a=>{let r=[];for(let c=0;r&&!a.closed&&c{if(r){for(let D=0;D(0,It.z)(a.pipe((0,pn.q)(1),(0,ve.l)()),r.pipe(Ne(i))):(0,V.z)((r,c)=>(0,$.Xf)(i(r,c)).pipe((0,pn.q)(1),(0,Pe.h)(r)))}function We(i,a=pe.z){const r=(0,ot.H)(i,a);return Ne(()=>r)}E(4664);var Se=E(7921),Le=E(3997),Pt=E(836),Ue=E(3020),jt=E(4716),Ye=E(6814);E(9666),E(9315);var Aa={left:"right",right:"left",bottom:"top",top:"bottom"};function Vo(i){return i.replace(/left|right|bottom|top/g,function(a){return Aa[a]})}function Mi(i){return i.split("-")[0]}var Si={start:"end",end:"start"};function Ys(i){return i.replace(/start|end/g,function(a){return Si[a]})}var Yr="top",fn="bottom",Lr="right",g="left",M="auto",C=[Yr,fn,Lr,g],A="start",j="end",ke="viewport",vt="popper",an=C.reduce(function(i,a){return i.concat([a+"-"+A,a+"-"+j])},[]),yn=[].concat(C,[M]).reduce(function(i,a){return i.concat([a,a+"-"+A,a+"-"+j])},[]),io=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Nn(i){if(null==i)return window;if("[object Window]"!==i.toString()){var a=i.ownerDocument;return a&&a.defaultView||window}return i}function vo(i){return i instanceof Nn(i).Element||i instanceof Element}function hr(i){return i instanceof Nn(i).HTMLElement||i instanceof HTMLElement}function Js(i){return!(typeof ShadowRoot>"u")&&(i instanceof Nn(i).ShadowRoot||i instanceof ShadowRoot)}function yo(i){return((vo(i)?i.ownerDocument:i.document)||window.document).documentElement}var bo=Math.max,Ra=Math.min,Ts=Math.round;function Ge(){var i=navigator.userAgentData;return null!=i&&i.brands&&Array.isArray(i.brands)?i.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}function ln(){return!/^((?!chrome|android).)*safari/i.test(Ge())}function Do(i,a,r){void 0===a&&(a=!1),void 0===r&&(r=!1);var c=i.getBoundingClientRect(),f=1,D=1;a&&hr(i)&&(f=i.offsetWidth>0&&Ts(c.width)/i.offsetWidth||1,D=i.offsetHeight>0&&Ts(c.height)/i.offsetHeight||1);var J=(vo(i)?Nn(i):window).visualViewport,X=!ln()&&r,de=(c.left+(X&&J?J.offsetLeft:0))/f,be=(c.top+(X&&J?J.offsetTop:0))/D,ft=c.width/f,rt=c.height/D;return{width:ft,height:rt,top:be,right:de+ft,bottom:be+rt,left:de,x:de,y:be}}function Na(i){var a=Nn(i);return{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function pr(i){return Do(yo(i)).left+Na(i).scrollLeft}function ci(i){return Nn(i).getComputedStyle(i)}function Oi(i){return i?(i.nodeName||"").toLowerCase():null}function Ms(i){return"html"===Oi(i)?i:i.assignedSlot||i.parentNode||(Js(i)?i.host:null)||yo(i)}function Ks(i){var a=ci(i);return/auto|scroll|overlay|hidden/.test(a.overflow+a.overflowY+a.overflowX)}function bl(i){return["html","body","#document"].indexOf(Oi(i))>=0?i.ownerDocument.body:hr(i)&&Ks(i)?i:bl(Ms(i))}function Co(i,a){var r;void 0===a&&(a=[]);var c=bl(i),f=c===(null==(r=i.ownerDocument)?void 0:r.body),D=Nn(c),x=f?[D].concat(D.visualViewport||[],Ks(c)?c:[]):c,J=a.concat(x);return f?J:J.concat(Co(Ms(x)))}function Jr(i){return["table","td","th"].indexOf(Oi(i))>=0}function zi(i){return hr(i)&&"fixed"!==ci(i).position?i.offsetParent:null}function Ii(i){for(var a=Nn(i),r=zi(i);r&&Jr(r)&&"static"===ci(r).position;)r=zi(r);return r&&("html"===Oi(r)||"body"===Oi(r)&&"static"===ci(r).position)?a:r||function wc(i){var a=/firefox/i.test(Ge());if(/Trident/i.test(Ge())&&hr(i)&&"fixed"===ci(i).position)return null;var f=Ms(i);for(Js(f)&&(f=f.host);hr(f)&&["html","body"].indexOf(Oi(f))<0;){var D=ci(f);if("none"!==D.transform||"none"!==D.perspective||"paint"===D.contain||-1!==["transform","perspective"].indexOf(D.willChange)||a&&"filter"===D.willChange||a&&D.filter&&"none"!==D.filter)return f;f=f.parentNode}return null}(i)||a}function Wi(i,a){var r=a.getRootNode&&a.getRootNode();if(i.contains(a))return!0;if(r&&Js(r)){var c=a;do{if(c&&i.isSameNode(c))return!0;c=c.parentNode||c.host}while(c)}return!1}function Dl(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function Mc(i,a,r){return a===ke?Dl(function Gi(i,a){var r=Nn(i),c=yo(i),f=r.visualViewport,D=c.clientWidth,x=c.clientHeight,J=0,X=0;if(f){D=f.width,x=f.height;var de=ln();(de||!de&&"fixed"===a)&&(J=f.offsetLeft,X=f.offsetTop)}return{width:D,height:x,x:J+pr(i),y:X}}(i,r)):vo(a)?function Tc(i,a){var r=Do(i,!1,"fixed"===a);return r.top=r.top+i.clientTop,r.left=r.left+i.clientLeft,r.bottom=r.top+i.clientHeight,r.right=r.left+i.clientWidth,r.width=i.clientWidth,r.height=i.clientHeight,r.x=r.left,r.y=r.top,r}(a,r):Dl(function oo(i){var a,r=yo(i),c=Na(i),f=null==(a=i.ownerDocument)?void 0:a.body,D=bo(r.scrollWidth,r.clientWidth,f?f.scrollWidth:0,f?f.clientWidth:0),x=bo(r.scrollHeight,r.clientHeight,f?f.scrollHeight:0,f?f.clientHeight:0),J=-c.scrollLeft+pr(i),X=-c.scrollTop;return"rtl"===ci(f||r).direction&&(J+=bo(r.clientWidth,f?f.clientWidth:0)-D),{width:D,height:x,x:J,y:X}}(yo(i)))}function so(i){return i.split("-")[1]}function Zs(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function qs(i){var X,a=i.reference,r=i.element,c=i.placement,f=c?Mi(c):null,D=c?so(c):null,x=a.x+a.width/2-r.width/2,J=a.y+a.height/2-r.height/2;switch(f){case Yr:X={x,y:a.y-r.height};break;case fn:X={x,y:a.y+a.height};break;case Lr:X={x:a.x+a.width,y:J};break;case g:X={x:a.x-r.width,y:J};break;default:X={x:a.x,y:a.y}}var de=f?Zs(f):null;if(null!=de){var be="y"===de?"height":"width";switch(D){case A:X[de]=X[de]-(a[be]/2-r[be]/2);break;case j:X[de]=X[de]+(a[be]/2-r[be]/2)}}return X}function Pa(i){return Object.assign({},{top:0,right:0,bottom:0,left:0},i)}function Qs(i,a){return a.reduce(function(r,c){return r[c]=i,r},{})}function Xs(i,a){void 0===a&&(a={});var c=a.placement,f=void 0===c?i.placement:c,D=a.strategy,x=void 0===D?i.strategy:D,J=a.boundary,X=void 0===J?"clippingParents":J,de=a.rootBoundary,be=void 0===de?ke:de,ft=a.elementContext,rt=void 0===ft?vt:ft,pt=a.altBoundary,bn=void 0!==pt&&pt,xt=a.padding,en=void 0===xt?0:xt,Dn=Pa("number"!=typeof en?en:Qs(en,C)),Zn=i.rects.popper,cn=i.elements[bn?rt===vt?"reference":vt:rt],Pn=function Cl(i,a,r,c){var f="clippingParents"===a?function Sc(i){var a=Co(Ms(i)),c=["absolute","fixed"].indexOf(ci(i).position)>=0&&hr(i)?Ii(i):i;return vo(c)?a.filter(function(f){return vo(f)&&Wi(f,c)&&"body"!==Oi(f)}):[]}(i):[].concat(a),D=[].concat(f,[r]),J=D.reduce(function(X,de){var be=Mc(i,de,c);return X.top=bo(be.top,X.top),X.right=Ra(be.right,X.right),X.bottom=Ra(be.bottom,X.bottom),X.left=bo(be.left,X.left),X},Mc(i,D[0],c));return J.width=J.right-J.left,J.height=J.bottom-J.top,J.x=J.left,J.y=J.top,J}(vo(cn)?cn:cn.contextElement||yo(i.elements.popper),X,be,x),tn=Do(i.elements.reference),er=qs({reference:tn,element:Zn,strategy:"absolute",placement:f}),qn=Dl(Object.assign({},Zn,er)),Zr=rt===vt?qn:tn,yr={top:Pn.top-Zr.top+Dn.top,bottom:Zr.bottom-Pn.bottom+Dn.bottom,left:Pn.left-Zr.left+Dn.left,right:Zr.right-Pn.right+Dn.right},qr=i.modifiersData.offset;if(rt===vt&&qr){var uo=qr[f];Object.keys(yr).forEach(function(ui){var Bs=[Lr,fn].indexOf(ui)>=0?1:-1,ms=[Yr,fn].indexOf(ui)>=0?"y":"x";yr[ui]+=uo[ms]*Bs})}return yr}const Fa={name:"flip",enabled:!0,phase:"main",fn:function xa(i){var a=i.state,r=i.options,c=i.name;if(!a.modifiersData[c]._skip){for(var f=r.mainAxis,D=void 0===f||f,x=r.altAxis,J=void 0===x||x,X=r.fallbackPlacements,de=r.padding,be=r.boundary,ft=r.rootBoundary,rt=r.altBoundary,pt=r.flipVariations,bn=void 0===pt||pt,xt=r.allowedAutoPlacements,en=a.options.placement,Dn=Mi(en),Zn=X||(Dn!==en&&bn?function Tl(i){if(Mi(i)===M)return[];var a=Vo(i);return[Ys(i),a,Ys(a)]}(en):[Vo(en)]),cn=[en].concat(Zn).reduce(function(di,Oo){return di.concat(Mi(Oo)===M?function wl(i,a){void 0===a&&(a={});var f=a.boundary,D=a.rootBoundary,x=a.padding,J=a.flipVariations,X=a.allowedAutoPlacements,de=void 0===X?yn:X,be=so(a.placement),ft=be?J?an:an.filter(function(bn){return so(bn)===be}):C,rt=ft.filter(function(bn){return de.indexOf(bn)>=0});0===rt.length&&(rt=ft);var pt=rt.reduce(function(bn,xt){return bn[xt]=Xs(i,{placement:xt,boundary:f,rootBoundary:D,padding:x})[Mi(xt)],bn},{});return Object.keys(pt).sort(function(bn,xt){return pt[bn]-pt[xt]})}(a,{placement:Oo,boundary:be,rootBoundary:ft,padding:de,flipVariations:bn,allowedAutoPlacements:xt}):Oo)},[]),Pn=a.rects.reference,tn=a.rects.popper,er=new Map,qn=!0,Zr=cn[0],yr=0;yr=0,ms=Bs?"width":"height",Pi=Xs(a,{placement:qr,boundary:be,rootBoundary:ft,altBoundary:rt,padding:de}),fo=Bs?ui?Lr:g:ui?fn:Yr;Pn[ms]>tn[ms]&&(fo=Vo(fo));var ba=Vo(fo),Vs=[];if(D&&Vs.push(Pi[uo]<=0),J&&Vs.push(Pi[fo]<=0,Pi[ba]<=0),Vs.every(function(di){return di})){Zr=qr,qn=!1;break}er.set(qr,Vs)}if(qn)for(var Mu=function(Oo){var ul=cn.find(function(dl){var Hs=er.get(dl);if(Hs)return Hs.slice(0,Oo).every(function(rc){return rc})});if(ul)return Zr=ul,"break"},cl=bn?3:1;cl>0&&"break"!==Mu(cl);cl--);a.placement!==Zr&&(a.modifiersData[c]._skip=!0,a.placement=Zr,a.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ea(i,a,r){return bo(i,Ra(a,r))}function Eo(i){var a=Do(i),r=i.offsetWidth,c=i.offsetHeight;return Math.abs(a.width-r)<=1&&(r=a.width),Math.abs(a.height-c)<=1&&(c=a.height),{x:i.offsetLeft,y:i.offsetTop,width:r,height:c}}const Zu={name:"preventOverflow",enabled:!0,phase:"main",fn:function ir(i){var a=i.state,r=i.options,c=i.name,f=r.mainAxis,D=void 0===f||f,x=r.altAxis,J=void 0!==x&&x,rt=r.tether,pt=void 0===rt||rt,bn=r.tetherOffset,xt=void 0===bn?0:bn,en=Xs(a,{boundary:r.boundary,rootBoundary:r.rootBoundary,padding:r.padding,altBoundary:r.altBoundary}),Dn=Mi(a.placement),hn=so(a.placement),Zn=!hn,cn=Zs(Dn),Pn=function Ku(i){return"x"===i?"y":"x"}(cn),tn=a.modifiersData.popperOffsets,er=a.rects.reference,qn=a.rects.popper,Zr="function"==typeof xt?xt(Object.assign({},a.rects,{placement:a.placement})):xt,yr="number"==typeof Zr?{mainAxis:Zr,altAxis:Zr}:Object.assign({mainAxis:0,altAxis:0},Zr),qr=a.modifiersData.offset?a.modifiersData.offset[a.placement]:null,uo={x:0,y:0};if(tn){if(D){var ui,Bs="y"===cn?Yr:g,ms="y"===cn?fn:Lr,Pi="y"===cn?"height":"width",fo=tn[cn],ba=fo+en[Bs],Vs=fo-en[ms],tc=pt?-qn[Pi]/2:0,Mu=hn===A?er[Pi]:qn[Pi],cl=hn===A?-qn[Pi]:-er[Pi],nc=a.elements.arrow,di=pt&&nc?Eo(nc):{width:0,height:0},Oo=a.modifiersData["arrow#persistent"]?a.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ul=Oo[Bs],dl=Oo[ms],Hs=ea(0,er[Pi],di[Pi]),rc=Zn?er[Pi]/2-tc-Hs-ul-yr.mainAxis:Mu-Hs-ul-yr.mainAxis,Of=Zn?-er[Pi]/2+tc+Hs+dl+yr.mainAxis:cl+Hs+dl+yr.mainAxis,Da=a.elements.arrow&&Ii(a.elements.arrow),Su=Da?"y"===cn?Da.clientTop||0:Da.clientLeft||0:0,tg=null!=(ui=qr?.[cn])?ui:0,Af=fo+Of-tg,Ou=ea(pt?Ra(ba,fo+rc-tg-Su):ba,fo,pt?bo(Vs,Af):Vs);tn[cn]=Ou,uo[cn]=Ou-fo}if(J){var Iu,Us=tn[Pn],ic="y"===Pn?"height":"width",oc=Us+en["x"===cn?Yr:g],Rf=Us-en["x"===cn?fn:Lr],fl=-1!==[Yr,g].indexOf(Dn),Nf=null!=(Iu=qr?.[Pn])?Iu:0,Pf=fl?oc:Us-er[ic]-qn[ic]-Nf+yr.altAxis,Ru=fl?Us+er[ic]+qn[ic]-Nf-yr.altAxis:Rf,xf=pt&&fl?function ni(i,a,r){var c=ea(i,a,r);return c>r?r:c}(Pf,Us,Ru):ea(pt?Pf:oc,Us,pt?Ru:Rf);tn[Pn]=xf,uo[Pn]=xf-Us}a.modifiersData[c]=uo}},requiresIfExists:["offset"]},b={name:"arrow",enabled:!0,phase:"main",fn:function _(i){var a,r=i.state,c=i.name,f=i.options,D=r.elements.arrow,x=r.modifiersData.popperOffsets,J=Mi(r.placement),X=Zs(J),be=[g,Lr].indexOf(J)>=0?"height":"width";if(D&&x){var ft=function(a,r){return Pa("number"!=typeof(a="function"==typeof a?a(Object.assign({},r.rects,{placement:r.placement})):a)?a:Qs(a,C))}(f.padding,r),rt=Eo(D),pt="y"===X?Yr:g,bn="y"===X?fn:Lr,xt=r.rects.reference[be]+r.rects.reference[X]-x[X]-r.rects.popper[be],en=x[X]-r.rects.reference[X],Dn=Ii(D),hn=Dn?"y"===X?Dn.clientHeight||0:Dn.clientWidth||0:0,tn=hn/2-rt[be]/2+(xt/2-en/2),er=ea(ft[pt],tn,hn-rt[be]-ft[bn]);r.modifiersData[c]=((a={})[X]=er,a.centerOffset=er-tn,a)}},effect:function h(i){var a=i.state,c=i.options.element,f=void 0===c?"[data-popper-arrow]":c;null!=f&&("string"==typeof f&&!(f=a.elements.popper.querySelector(f))||Wi(a.elements.popper,f)&&(a.elements.arrow=f))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ce(i,a,r){void 0===r&&(r=!1);var c=hr(a),f=hr(a)&&function F(i){var a=i.getBoundingClientRect(),r=Ts(a.width)/i.offsetWidth||1,c=Ts(a.height)/i.offsetHeight||1;return 1!==r||1!==c}(a),D=yo(a),x=Do(i,f,r),J={scrollLeft:0,scrollTop:0},X={x:0,y:0};return(c||!c&&!r)&&(("body"!==Oi(a)||Ks(D))&&(J=function P(i){return i!==Nn(i)&&hr(i)?function S(i){return{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}}(i):Na(i)}(a)),hr(a)?((X=Do(a,!0)).x+=a.clientLeft,X.y+=a.clientTop):D&&(X.x=pr(D))),{x:x.left+J.scrollLeft-X.x,y:x.top+J.scrollTop-X.y,width:x.width,height:x.height}}function Je(i){var a=new Map,r=new Set,c=[];function f(D){r.add(D.name),[].concat(D.requires||[],D.requiresIfExists||[]).forEach(function(J){if(!r.has(J)){var X=a.get(J);X&&f(X)}}),c.push(D)}return i.forEach(function(D){a.set(D.name,D)}),i.forEach(function(D){r.has(D.name)||f(D)}),c}function Ot(i){var a;return function(){return a||(a=new Promise(function(r){Promise.resolve().then(function(){a=void 0,r(i())})})),a}}var Kr={placement:"bottom",modifiers:[],strategy:"absolute"};function Ss(){for(var i=arguments.length,a=new Array(i),r=0;r=0?-1:1,D="function"==typeof r?r(Object.assign({},a,{placement:i})):r,x=D[0],J=D[1];return x=x||0,J=(J||0)*f,[g,Lr].indexOf(c)>=0?{x:J,y:x}:{x,y:J}}(ft,a.rects,D),be},{}),J=x[a.placement],de=J.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=J.x,a.modifiersData.popperOffsets.y+=de),a.modifiersData[c]=x}},Pc=["*"],ld=function(i){return{$implicit:i}},wh=["ngbNavOutlet",""];function La(i,a){}function Th(i,a){if(1&i&&(s.TgZ(0,"div",2),s.YNc(1,La,0,0,"ng-template",3),s.qZA()),2&i){const r=s.oxw().$implicit,c=s.oxw();s.Q6J("item",r)("nav",c.nav)("role",c.paneRole),s.xp6(1),s.Q6J("ngTemplateOutlet",(null==r.contentTpl?null:r.contentTpl.templateRef)||null)("ngTemplateOutletContext",s.VKq(5,ld,r.active||c.isPanelTransitioning(r)))}}function Ji(i,a){if(1&i&&s.YNc(0,Th,2,7,"div",1),2&i){const r=a.$implicit,c=s.oxw();s.Q6J("ngIf",r.isPanelInDom()||c.isPanelTransitioning(r))}}function ss(i){return"string"==typeof i}function Ni(i){return null!=i}function Ho(i){return(i||document.body).getBoundingClientRect()}function Ua(i=document){const a=i?.activeElement;return a?a.shadowRoot?Ua(a.shadowRoot):a:null}const _d={animation:!0,transitionTimerDelayMs:5},$h=()=>{},{transitionTimerDelayMs:Gh}=_d,ua=new Map,Or=(i,a,r,c)=>{let f=c.context||{};const D=ua.get(a);if(D)switch(c.runningTransition){case"continue":return W.E;case"stop":i.run(()=>D.transition$.complete()),f=Object.assign(D.context,f),ua.delete(a)}const x=r(a,c.animation,f)||$h;if(!c.animation||"none"===window.getComputedStyle(a).transitionProperty)return i.run(()=>x()),(0,L.of)(void 0).pipe(function md(i){return a=>new y.y(r=>a.subscribe({next:x=>i.run(()=>r.next(x)),error:x=>i.run(()=>r.error(x)),complete:()=>i.run(()=>r.complete())}))}(i));const J=new N.x,X=new N.x,de=J.pipe(function Gt(...i){return a=>(0,It.z)(a,(0,L.of)(...i))}(!0));ua.set(a,{transition$:J,complete:()=>{X.next(),X.complete()},context:f});const be=function Ll(i){const{transitionDelay:a,transitionDuration:r}=window.getComputedStyle(i);return 1e3*(parseFloat(a)+parseFloat(r))}(a);return i.runOutsideAngular(()=>{const ft=re(a,"transitionend").pipe((0,Rt.R)(de),(0,rn.h)(({target:pt})=>pt===a));xe((0,ot.H)(be+Gh).pipe((0,Rt.R)(de)),ft,X).pipe((0,Rt.R)(de)).subscribe(()=>{ua.delete(a),i.run(()=>{x(),J.next(),J.complete()})})}),J.asObservable()},zc=(i,a,r)=>{let{direction:c,maxSize:f,dimension:D}=r;const{classList:x}=i;function J(){x.add("collapse"),"show"===c?x.add("show"):x.remove("show")}if(a)return f||(f=function zh(i,a){if(typeof navigator>"u")return"0px";const{classList:r}=i,c=r.contains("show");c||r.add("show"),i.style[a]="";const f=i.getBoundingClientRect()[a]+"px";return c||r.remove("show"),f}(i,D),r.maxSize=f,i.style[D]="show"!==c?f:"0px",x.remove("collapse"),x.remove("collapsing"),x.remove("show"),Ho(i),x.add("collapsing")),i.style[D]="show"===c?f:"0px",()=>{J(),x.remove("collapsing"),i.style[D]=""};J()};let As=(()=>{class i{constructor(){this.animation=_d.animation}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),yd=(()=>{class i{constructor(r){this._ngbConfig=r,this.horizontal=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(r){this._animation=r}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(As))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Jc=(()=>{class i{set collapsed(r){this._isCollapsed!==r&&(this._isCollapsed=r,this._afterInit&&this._runTransitionWithEvents(r,this.animation))}constructor(r,c,f){this._element=r,this._zone=f,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new s.vpe,this.shown=new s.vpe,this.hidden=new s.vpe,this.animation=c.animation,this.horizontal=c.horizontal}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(r=this._isCollapsed){this.collapsed=!r,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(r,c){return Or(this._zone,this._element.nativeElement,zc,{animation:c,runningTransition:"stop",context:{direction:r?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(r,c){this._runTransition(r,c).subscribe(()=>{r?this.hidden.emit():this.shown.emit()})}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.SBq),s.Y36(yd),s.Y36(s.R0b))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(r,c){2&r&&s.ekj("collapse-horizontal",c.horizontal)},inputs:{animation:"animation",collapsed:["ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],standalone:!0}),i})(),Md=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=s.oAB({type:i}),i.\u0275inj=s.cJS({}),i})();var Ln=function(i){return i[i.Tab=9]="Tab",i[i.Enter=13]="Enter",i[i.Escape=27]="Escape",i[i.Space=32]="Space",i[i.PageUp=33]="PageUp",i[i.PageDown=34]="PageDown",i[i.End=35]="End",i[i.Home=36]="Home",i[i.ArrowLeft=37]="ArrowLeft",i[i.ArrowUp=38]="ArrowUp",i[i.ArrowRight=39]="ArrowRight",i[i.ArrowDown=40]="ArrowDown",i}(Ln||{});const pa=(i,a)=>!!a&&a.some(r=>r.contains(i)),xs=(i,a)=>!a||null!=function ca(i,a){return!a||typeof i.closest>"u"?null:i.closest(a)}(i,a),ip=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function xd(i,a,r,c,f,D,x,J){r&&i.runOutsideAngular((i=>ip?()=>setTimeout(()=>i(),100):i)(()=>{const de=re(a,"keydown").pipe((0,Rt.R)(f),(0,rn.h)(rt=>rt.which===Ln.Escape),(0,mn.b)(rt=>rt.preventDefault())),be=re(a,"mousedown").pipe((0,un.U)(rt=>{const pt=rt.target;return 2!==rt.button&&!pa(pt,x)&&("inside"===r?pa(pt,D)&&xs(pt,J):"outside"===r?!pa(pt,D):xs(pt,J)||!pa(pt,D))}),(0,Rt.R)(f)),ft=re(a,"mouseup").pipe((0,Bn.M)(be),(0,rn.h)(([rt,pt])=>pt),We(0),(0,Rt.R)(f));xe([de.pipe((0,un.U)(rt=>0)),ft.pipe((0,un.U)(rt=>1))]).subscribe(rt=>i.run(()=>c(rt)))}))}const Fd=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Ja(i){const a=Array.from(i.querySelectorAll(Fd)).filter(r=>-1!==r.tabIndex);return[a[0],a[a.length-1]]}let Ka=(()=>{class i{constructor(r){this._element=r.documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(Ye.K0))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Gl=/\s+/,au=/ +/gi,Ld={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},Bd=/^left/,Vd=/^right/,sp=/^start/,ap=/^end/;function Hd({placement:i,baseClass:a},r){let c=Array.isArray(i)?i:i.split(Gl),D=c.findIndex(de=>"auto"===de);D>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(de){null==c.find(be=>-1!==be.search("^"+de))&&c.splice(D++,1,de)});const x=c.map(de=>function kd(i,a){const[r,c]=Ld[i];return a&&c||r}(de,r.isRTL()));return{placement:x.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!a,phase:"write",fn({state:de}){const be=new RegExp(a+"(-[a-z]+)*","gi"),ft=de.elements.popper,rt=de.placement;let pt=ft.className;pt=pt.replace(be,""),pt+=` ${function lp(i,a){let[r,c]=a.split("-");const f=r.replace(Bd,"start").replace(Vd,"end");let D=[f];if(c){let x=c;("left"===r||"right"===r)&&(x=x.replace(sp,"top").replace(ap,"bottom")),D.push(`${f}-${x}`)}return i&&(D=D.map(x=>`${i}-${x}`)),D.join(" ")}(a,rt)}`,pt=pt.trim().replace(au," "),ft.className=pt}},Fa,Zu,b,{enabled:!0,name:"flip",options:{fallbackPlacements:x}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function Ud(i){return i}function So(){const i=(0,s.f3M)(Ka);let a=null;return{createPopper(r){if(!a){let f=(r.updatePopperOptions||Ud)(Hd(r,i));a=Sl(r.hostElement,r.targetElement,f)}},update(){a&&a.update()},setOptions(r){if(a){let f=(r.updatePopperOptions||Ud)(Hd(r,i));a.setOptions(f)}},destroy(){a&&(a.destroy(),a=null)}}}new Date(1882,10,12),new Date(2174,10,25);let hu=(()=>{class i{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=r=>r}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Uo=(()=>{class i{set disabled(r){this._disabled=""===r||!0===r,this._renderer.setProperty(this.elementRef.nativeElement,"disabled",this._disabled)}get disabled(){return this._disabled}constructor(r,c){this.elementRef=r,this._renderer=c,this._disabled=!1}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.SBq),s.Y36(s.Qsj))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(r,c){2&r&&(s.Ikx("tabIndex",c.disabled?-1:0),s.ekj("disabled",c.disabled))},inputs:{disabled:"disabled"},standalone:!0}),i})(),Xa=(()=>{class i{constructor(r,c){this.dropdown=r,this.placement="bottom",this.isOpen=!1,this.nativeElement=c.nativeElement}}return i.\u0275fac=function(r){return new(r||i)(s.Y36((0,s.Gpc)(()=>el)),s.Y36(s.SBq))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(r,c,f){if(1&r&&s.Suo(f,Uo,4),2&r){let D;s.iGM(D=s.CRH())&&(c.menuItems=D)}},hostVars:4,hostBindings:function(r,c){1&r&&s.NdJ("keydown.ArrowUp",function(D){return c.dropdown.onKeyDown(D)})("keydown.ArrowDown",function(D){return c.dropdown.onKeyDown(D)})("keydown.Home",function(D){return c.dropdown.onKeyDown(D)})("keydown.End",function(D){return c.dropdown.onKeyDown(D)})("keydown.Enter",function(D){return c.dropdown.onKeyDown(D)})("keydown.Space",function(D){return c.dropdown.onKeyDown(D)})("keydown.Tab",function(D){return c.dropdown.onKeyDown(D)})("keydown.Shift.Tab",function(D){return c.dropdown.onKeyDown(D)}),2&r&&s.ekj("dropdown-menu",!0)("show",c.dropdown.isOpen())},standalone:!0}),i})(),va=(()=>{class i{constructor(r,c){this.dropdown=r,this.nativeElement=c.nativeElement}}return i.\u0275fac=function(r){return new(r||i)(s.Y36((0,s.Gpc)(()=>el)),s.Y36(s.SBq))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(r,c){2&r&&s.uIk("aria-expanded",c.dropdown.isOpen())},standalone:!0}),i})(),Qd=(()=>{class i extends va{constructor(r,c){super(r,c)}}return i.\u0275fac=function(r){return new(r||i)(s.Y36((0,s.Gpc)(()=>el)),s.Y36(s.SBq))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(r,c){1&r&&s.NdJ("click",function(){return c.dropdown.toggle()})("keydown.ArrowUp",function(D){return c.dropdown.onKeyDown(D)})("keydown.ArrowDown",function(D){return c.dropdown.onKeyDown(D)})("keydown.Home",function(D){return c.dropdown.onKeyDown(D)})("keydown.End",function(D){return c.dropdown.onKeyDown(D)})("keydown.Tab",function(D){return c.dropdown.onKeyDown(D)})("keydown.Shift.Tab",function(D){return c.dropdown.onKeyDown(D)}),2&r&&s.uIk("aria-expanded",c.dropdown.isOpen())},standalone:!0,features:[s._Bn([{provide:va,useExisting:(0,s.Gpc)(()=>i)}]),s.qOj]}),i})(),el=(()=>{class i{constructor(r,c,f,D,x,J){this._changeDetector=r,this._document=f,this._ngZone=D,this._elementRef=x,this._renderer=J,this._destroyCloseHandlers$=new N.x,this._bodyContainer=null,this._open=!1,this.openChange=new s.vpe,this.placement=c.placement,this.popperOptions=c.popperOptions,this.container=c.container,this.autoClose=c.autoClose,this._positioning=So()}ngOnInit(){this.display||(this.display=this._elementRef.nativeElement.closest(".navbar")?"static":"dynamic")}ngAfterContentInit(){this._ngZone.onStable.pipe((0,pn.q)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(r){if(r.container&&this._open&&this._applyContainer(this.container),r.placement&&!r.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container}),this._applyPlacementClasses()),r.dropdownClass){const{currentValue:c,previousValue:f}=r.dropdownClass;this._applyCustomDropdownClass(c,f)}r.autoClose&&this._open&&(this.autoClose=r.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),"dynamic"===this.display&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:r=>this.popperOptions(function jd(i){return a=>(a.modifiers.push(Xu,{name:"offset",options:{offset:()=>i}}),a)}([0,2])(r))}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),xd(this._ngZone,this._document,this.autoClose,r=>{this.close(),0===r&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(r){const c=r.which,f=this._getMenuElements();let D=-1,x=null;const J=this._isEventFromToggle(r);if(!J&&f.length&&f.forEach((X,de)=>{X.contains(r.target)&&(x=X),X===Ua(this._document)&&(D=de)}),c!==Ln.Space&&c!==Ln.Enter){if(c!==Ln.Tab){if(J||x){if(this.open(),f.length){switch(c){case Ln.ArrowDown:D=Math.min(D+1,f.length-1);break;case Ln.ArrowUp:if(this._isDropup()&&-1===D){D=f.length-1;break}D=Math.max(D-1,0);break;case Ln.Home:D=0;break;case Ln.End:D=f.length-1}f[D].focus()}r.preventDefault()}}else if(r.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===r.target)return void("body"!==this.container||r.shiftKey?r.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){const X=this._menu.nativeElement.querySelectorAll(Fd);r.shiftKey&&r.target===X[0]?(this._anchor.nativeElement.focus(),r.preventDefault()):!r.shiftKey&&r.target===X[X.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else re(r.target,"focusout").pipe((0,pn.q)(1)).subscribe(({relatedTarget:X})=>{this._elementRef.nativeElement.contains(X)||this.close()})}}else x&&(!0===this.autoClose||"inside"===this.autoClose)&&re(x,"click").pipe((0,pn.q)(1)).subscribe(()=>this.close())}_isDropup(){return this._elementRef.nativeElement.classList.contains("dropup")}_isEventFromToggle(r){return this._anchor.nativeElement.contains(r.target)}_getMenuElements(){const r=this._menu;return null==r?[]:r.menuItems.filter(c=>!c.disabled).map(c=>c.elementRef.nativeElement)}_positionMenu(){const r=this._menu;this.isOpen()&&r&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(r){return Array.isArray(r)?r[0]:r.split(" ")[0]}_resetContainer(){const r=this._renderer;this._menu&&r.appendChild(this._elementRef.nativeElement,this._menu.nativeElement),this._bodyContainer&&(r.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}_applyContainer(r=null){if(this._resetContainer(),"body"===r){const c=this._renderer,f=this._menu.nativeElement,D=this._bodyContainer=this._bodyContainer||c.createElement("div");c.setStyle(D,"position","absolute"),c.setStyle(f,"position","static"),c.setStyle(D,"z-index","1055"),c.appendChild(D,f),c.appendChild(this._document.body,D)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(r,c){const f="body"===this.container?this._bodyContainer:this._elementRef.nativeElement;f&&(c&&this._renderer.removeClass(f,c),r&&this._renderer.addClass(f,r))}_applyPlacementClasses(r){const c=this._menu;if(c){r||(r=this._getFirstPlacement(this.placement));const f=this._renderer,D=this._elementRef.nativeElement;f.removeClass(D,"dropup"),f.removeClass(D,"dropdown");const{nativeElement:x}=c;"static"===this.display?(c.placement=null,f.setAttribute(x,"data-bs-popper","static")):(c.placement=r,f.removeAttribute(x,"data-bs-popper"));const J=-1!==r.search("^top")?"dropup":"dropdown";f.addClass(D,J);const X=this._bodyContainer;X&&(f.removeClass(X,"dropup"),f.removeClass(X,"dropdown"),f.addClass(X,J))}}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.sBO),s.Y36(hu),s.Y36(Ye.K0),s.Y36(s.R0b),s.Y36(s.SBq),s.Y36(s.Qsj))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbDropdown",""]],contentQueries:function(r,c,f){if(1&r&&(s.Suo(f,Xa,5),s.Suo(f,va,5)),2&r){let D;s.iGM(D=s.CRH())&&(c._menu=D.first),s.iGM(D=s.CRH())&&(c._anchor=D.first)}},hostVars:2,hostBindings:function(r,c){2&r&&s.ekj("show",c.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:["open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],standalone:!0,features:[s.TTD]}),i})(),Ls=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=s.oAB({type:i}),i.\u0275inj=s.cJS({}),i})();class co{constructor(a,r,c){this.nodes=a,this.viewRef=r,this.componentRef=c}}class Op{constructor(a,r,c,f,D,x){this._componentType=a,this._injector=r,this._viewContainerRef=c,this._renderer=f,this._ngZone=D,this._applicationRef=x,this._windowRef=null,this._contentRef=null}open(a,r,c=!1){this._windowRef||(this._contentRef=this._getContentRef(a,r),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:f}=this._windowRef.location,D=this._ngZone.onStable.pipe((0,pn.q)(1),(0,V.z)(()=>Or(this._ngZone,f,({classList:x})=>x.add("show"),{animation:c,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:D}}close(a=!1){return this._windowRef?Or(this._ngZone,this._windowRef.location.nativeElement,({classList:r})=>r.remove("show"),{animation:a,runningTransition:"stop"}).pipe((0,mn.b)(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,L.of)(void 0)}_getContentRef(a,r){if(a){if(a instanceof s.Rgc){const c=a.createEmbeddedView(r);return this._applicationRef.attachView(c),new co([c.rootNodes],c)}return new co([[this._renderer.createText(`${a}`)]])}return new co([])}}let Rp=(()=>{class i{constructor(r){this._document=r}hide(){const r=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),c=this._document.body,f=c.style,{overflow:D,paddingRight:x}=f;if(r>0){const J=parseFloat(window.getComputedStyle(c).paddingRight);f.paddingRight=`${J+r}px`}return f.overflow="hidden",()=>{r>0&&(f.paddingRight=x),f.overflow=D}}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(Ye.K0))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Kl=(()=>{class i{constructor(r){this._ngbConfig=r,this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(r){this._animation=r}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(As))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const tf=i=>Ni(i)&&""!==i;let gu=0,nl=(()=>{class i{constructor(r){this.templateRef=r}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.Rgc))},i.\u0275dir=s.lG2({type:i,selectors:[["ng-template","ngbNavContent",""]],standalone:!0}),i})(),ks=(()=>{class i{constructor(r,c){this.role=r,this.nav=c}}return i.\u0275fac=function(r){return new(r||i)(s.$8M("role"),s.Y36((0,s.Gpc)(()=>jo)))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbNavItem","",5,"ng-container"]],hostVars:1,hostBindings:function(r,c){2&r&&s.uIk("role",c.role?c.role:c.nav.roles?"presentation":void 0)},standalone:!0}),i})(),hs=(()=>{class i{constructor(r,c){this._nav=r,this.elementRef=c,this.disabled=!1,this.shown=new s.vpe,this.hidden=new s.vpe}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){Ni(this.domId)||(this.domId="ngb-nav-"+gu++)}get active(){return this._nav.activeId===this.id}get id(){return tf(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(Ni(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}}return i.\u0275fac=function(r){return new(r||i)(s.Y36((0,s.Gpc)(()=>jo)),s.Y36(s.SBq))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbNavItem",""]],contentQueries:function(r,c,f){if(1&r&&s.Suo(f,nl,4),2&r){let D;s.iGM(D=s.CRH())&&(c.contentTpls=D)}},hostVars:2,hostBindings:function(r,c){2&r&&s.ekj("nav-item",!0)},inputs:{destroyOnHide:"destroyOnHide",disabled:"disabled",domId:"domId",_id:["ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"],standalone:!0}),i})(),jo=(()=>{class i{constructor(r,c,f,D){this.role=r,this._cd=f,this._document=D,this.activeIdChange=new s.vpe,this.shown=new s.vpe,this.hidden=new s.vpe,this.destroy$=new N.x,this.navItemChange$=new N.x,this.navChange=new s.vpe,this.animation=c.animation,this.destroyOnHide=c.destroyOnHide,this.orientation=c.orientation,this.roles=c.roles,this.keyboard=c.keyboard}click(r){r.disabled||this._updateActiveId(r.id)}onKeyDown(r){if("tablist"!==this.roles||!this.keyboard)return;const c=r.which,f=this.links.filter(J=>!J.navItem.disabled),{length:D}=f;let x=-1;if(f.forEach((J,X)=>{J.elRef.nativeElement===this._document.activeElement&&(x=X)}),D){switch(c){case Ln.ArrowLeft:if("vertical"===this.orientation)return;x=(x-1+D)%D;break;case Ln.ArrowRight:if("vertical"===this.orientation)return;x=(x+1)%D;break;case Ln.ArrowDown:if("horizontal"===this.orientation)return;x=(x+1)%D;break;case Ln.ArrowUp:if("horizontal"===this.orientation)return;x=(x-1+D)%D;break;case Ln.Home:x=0;break;case Ln.End:x=D-1}"changeWithArrows"===this.keyboard&&this.select(f[x].navItem.id),f[x].elRef.nativeElement.focus(),r.preventDefault()}}select(r){this._updateActiveId(r,!1)}ngAfterContentInit(){if(!Ni(this.activeId)){const r=this.items.first?this.items.first.id:null;tf(r)&&(this._updateActiveId(r,!1),this._cd.detectChanges())}this.items.changes.pipe((0,Rt.R)(this.destroy$)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:r}){r&&!r.firstChange&&this._notifyItemChanged(r.currentValue)}ngOnDestroy(){this.destroy$.next()}_updateActiveId(r,c=!0){if(this.activeId!==r){let f=!1;c&&this.navChange.emit({activeId:this.activeId,nextId:r,preventDefault:()=>{f=!0}}),f||(this.activeId=r,this.activeIdChange.emit(r),this._notifyItemChanged(r))}}_notifyItemChanged(r){this.navItemChange$.next(this._getItemById(r))}_getItemById(r){return this.items&&this.items.find(c=>c.id===r)||null}}return i.\u0275fac=function(r){return new(r||i)(s.$8M("role"),s.Y36(Kl),s.Y36(s.sBO),s.Y36(Ye.K0))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbNav",""]],contentQueries:function(r,c,f){if(1&r&&(s.Suo(f,hs,4),s.Suo(f,$o,5)),2&r){let D;s.iGM(D=s.CRH())&&(c.items=D),s.iGM(D=s.CRH())&&(c.links=D)}},hostVars:6,hostBindings:function(r,c){1&r&&s.NdJ("keydown.arrowLeft",function(D){return c.onKeyDown(D)})("keydown.arrowRight",function(D){return c.onKeyDown(D)})("keydown.arrowDown",function(D){return c.onKeyDown(D)})("keydown.arrowUp",function(D){return c.onKeyDown(D)})("keydown.Home",function(D){return c.onKeyDown(D)})("keydown.End",function(D){return c.onKeyDown(D)}),2&r&&(s.uIk("aria-orientation","vertical"===c.orientation&&"tablist"===c.roles?"vertical":void 0)("role",c.role?c.role:c.roles?"tablist":void 0),s.ekj("nav",!0)("flex-column","vertical"===c.orientation))},inputs:{activeId:"activeId",animation:"animation",destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard"},outputs:{activeIdChange:"activeIdChange",shown:"shown",hidden:"hidden",navChange:"navChange"},exportAs:["ngbNav"],standalone:!0,features:[s.TTD]}),i})(),$o=(()=>{class i{constructor(r,c,f,D){this.role=r,this.navItem=c,this.nav=f,this.elRef=D}hasNavItemClass(){return this.navItem.elementRef.nativeElement.nodeType===Node.COMMENT_NODE}}return i.\u0275fac=function(r){return new(r||i)(s.$8M("role"),s.Y36(hs),s.Y36(jo),s.Y36(s.SBq))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbNavLink",""]],hostVars:14,hostBindings:function(r,c){2&r&&(s.Ikx("id",c.navItem.domId),s.uIk("role",c.role?c.role:c.nav.roles?"tab":void 0)("tabindex",c.navItem.disabled?-1:void 0)("aria-controls",c.navItem.isPanelInDom()?c.navItem.panelDomId:null)("aria-selected",c.navItem.active)("aria-disabled",c.navItem.disabled),s.ekj("nav-link",!0)("nav-item",c.hasNavItemClass())("active",c.navItem.active)("disabled",c.navItem.disabled))},standalone:!0}),i})(),rl=(()=>{class i{constructor(r,c){this.navItem=r,this.nav=c}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(hs),s.Y36(jo))},i.\u0275dir=s.lG2({type:i,selectors:[["button","ngbNavLink",""]],hostAttrs:["type","button"],hostVars:1,hostBindings:function(r,c){1&r&&s.NdJ("click",function(){return c.nav.click(c.navItem)}),2&r&&s.Ikx("disabled",c.navItem.disabled)},standalone:!0,features:[s.zW0([$o])]}),i})();const nf=({classList:i})=>(i.remove("show"),()=>i.remove("active")),mu=(i,a)=>{a&&Ho(i),i.classList.add("show")};let ya=(()=>{class i{constructor(r){this.elRef=r}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.SBq))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(r,c){2&r&&(s.Ikx("id",c.item.panelDomId),s.uIk("role",c.role?c.role:c.nav.roles?"tabpanel":void 0)("aria-labelledby",c.item.domId),s.ekj("fade",c.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"},standalone:!0}),i})(),xp=(()=>{class i{constructor(r,c){this._cd=r,this._ngZone=c,this._activePane=null}isPanelTransitioning(r){return this._activePane?.item===r}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe((0,Rt.R)(this.nav.destroy$),(0,Se.O)(this._activePane?.item||null),(0,Le.x)(),(0,Pt.T)(1)).subscribe(r=>{const c={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?Or(this._ngZone,this._activePane.elRef.nativeElement,nf,c).subscribe(()=>{const f=this._activePane?.item;this._activePane=this._getPaneForItem(r),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),Or(this._ngZone,this._activePane.elRef.nativeElement,mu,c).subscribe(()=>{r&&(r.shown.emit(),this.nav.shown.emit(r.id))})),f&&(f.hidden.emit(),this.nav.hidden.emit(f.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.elRef.nativeElement.classList.add("show"),this._activePane?.elRef.nativeElement.classList.add("active")}_getPaneForItem(r){return this._panes&&this._panes.find(c=>c.item===r)||null}_getActivePane(){return this._panes&&this._panes.find(r=>r.item.active)||null}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.sBO),s.Y36(s.R0b))},i.\u0275cmp=s.Xpm({type:i,selectors:[["","ngbNavOutlet",""]],viewQuery:function(r,c){if(1&r&&s.Gf(ya,5),2&r){let f;s.iGM(f=s.CRH())&&(c._panes=f)}},hostVars:2,hostBindings:function(r,c){2&r&&s.ekj("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},standalone:!0,features:[s.jDz],attrs:wh,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(r,c){1&r&&s.YNc(0,Ji,1,1,"ng-template",0),2&r&&s.Q6J("ngForOf",c.nav.items)},dependencies:[ya,Ye.ax,Ye.O5,Ye.tP],encapsulation:2,changeDetection:0}),i})(),Zl=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=s.oAB({type:i}),i.\u0275inj=s.cJS({}),i})();class Lp{constructor(a,r){this.open=a,this.close=r,r||(this.close=a)}isManual(){return"manual"===this.open||"manual"===this.close}}const ff={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]},hf=i=>i>0?We(i):a=>a;let p_=(()=>{class i{constructor(r){this._ngbConfig=r,this.autoClose=!0,this.placement="auto",this.popperOptions=c=>c,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(r){this._animation=r}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(As))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Cf=0,ec=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=s.Xpm({type:i,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip",2,"position","absolute"],hostVars:5,hostBindings:function(r,c){2&r&&(s.Ikx("id",c.id),s.Tol("tooltip"+(c.tooltipClass?" "+c.tooltipClass:"")),s.ekj("fade",c.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},standalone:!0,features:[s.jDz],ngContentSelectors:Pc,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(r,c){1&r&&(s.F$t(),s._UZ(0,"div",0),s.TgZ(1,"div",1),s.Hsn(2),s.qZA())},encapsulation:2,changeDetection:0}),i})(),Ef=(()=>{class i{constructor(r,c,f,D,x,J,X,de,be){this._elementRef=r,this._renderer=c,this._ngZone=J,this._document=X,this._changeDetector=de,this.shown=new s.vpe,this.hidden=new s.vpe,this._ngbTooltipWindowId="ngb-tooltip-"+Cf++,this._windowRef=null,this.animation=x.animation,this.autoClose=x.autoClose,this.placement=x.placement,this.popperOptions=x.popperOptions,this.triggers=x.triggers,this.container=x.container,this.disableTooltip=x.disableTooltip,this.tooltipClass=x.tooltipClass,this.openDelay=x.openDelay,this.closeDelay=x.closeDelay,this._popupService=new Op(ec,f,D,c,this._ngZone,be),this._positioning=So()}set ngbTooltip(r){this._ngbTooltip=r,!r&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(r){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:c,transition$:f}=this._popupService.open(this._ngbTooltip,r??this.tooltipContext,this.animation);this._windowRef=c,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._renderer.setAttribute(this._getPositionTargetElement(),"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-tooltip",updatePopperOptions:D=>this.popperOptions(D)}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),xd(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),f.subscribe(()=>this.shown.emit())}}close(r=this.animation){null!=this._windowRef&&(this._renderer.removeAttribute(this._getPositionTargetElement(),"aria-describedby"),this._popupService.close(r).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=function kp(i,a,r,c,f,D,x=0,J=0){const X=function bu(i,a=ff){const r=(i||"").trim();if(0===r.length)return[];const c=r.split(/\s+/).map(D=>D.split(":")).map(D=>{let x=a[D[0]]||D;return new Lp(x[0],x[1])}),f=c.filter(D=>D.isManual());if(f.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===f.length&&c.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return c}(r);if(1===X.length&&X[0].isManual())return()=>{};const de=function ql(i,a,r,c){return new y.y(f=>{const D=[],x=()=>f.next(!0),J=()=>f.next(!1),X=()=>f.next(!c());return r.forEach(de=>{de.open===de.close?D.push(i.listen(a,de.open,X)):D.push(i.listen(a,de.open,x),i.listen(a,de.close,J))}),()=>{D.forEach(de=>de())}})}(i,a,X,c).pipe(function pf(i,a,r){return c=>{let f=null;const D=c.pipe((0,un.U)(X=>({open:X})),(0,rn.h)(X=>{const de=r();return de===X.open||f&&f.open!==de?(f&&f.open!==X.open&&(f=null),!1):(f=X,!0)}),(0,Ue.B)()),x=D.pipe((0,rn.h)(X=>X.open),hf(i)),J=D.pipe((0,rn.h)(X=>!X.open),hf(a));return(0,qe.T)(x,J).pipe((0,rn.h)(X=>X===f&&(f=null,X.open!==r())),(0,un.U)(X=>X.open))}}(x,J,c)).subscribe(be=>be?f():D());return()=>de.unsubscribe()}(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:r}){r&&this.isOpen()&&(this._windowRef.instance.tooltipClass=r.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(ss(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._elementRef.nativeElement}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.zs3),s.Y36(s.s_b),s.Y36(p_),s.Y36(s.R0b),s.Y36(Ye.K0),s.Y36(s.sBO),s.Y36(s.z2F))},i.\u0275dir=s.lG2({type:i,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",tooltipContext:"tooltipContext",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],standalone:!0,features:[s.TTD]}),i})(),Eu=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=s.oAB({type:i}),i.\u0275inj=s.cJS({}),i})();new s.OlP("live announcer delay",{providedIn:"root",factory:function g_(){return 100}});class wu{close(a){}dismiss(a){}}class Tf{get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,Rt.R)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,Rt.R)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._panelCmptRef.instance.shown.asObservable()}constructor(a,r,c,f){this._panelCmptRef=a,this._contentRef=r,this._backdropCmptRef=c,this._beforeDismiss=f,this._closed=new N.x,this._dismissed=new N.x,this._hidden=new N.x,a.instance.dismissEvent.subscribe(D=>{this.dismiss(D)}),c&&c.instance.dismissEvent.subscribe(D=>{this.dismiss(D)}),this.result=new Promise((D,x)=>{this._resolve=D,this._reject=x}),this.result.then(null,()=>{})}close(a){this._panelCmptRef&&(this._closed.next(a),this._resolve(a),this._removeOffcanvasElements())}_dismiss(a){this._dismissed.next(a),this._reject(a),this._removeOffcanvasElements()}dismiss(a){if(this._panelCmptRef)if(this._beforeDismiss){const r=this._beforeDismiss();!function Ha(i){return i&&i.then}(r)?!1!==r&&this._dismiss(a):r.then(c=>{!1!==c&&this._dismiss(a)},()=>{})}else this._dismiss(a)}_removeOffcanvasElements(){const a=this._panelCmptRef.instance.hide(),r=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,L.of)(void 0);a.subscribe(()=>{const{nativeElement:c}=this._panelCmptRef.location;c.parentNode.removeChild(c),this._panelCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._panelCmptRef=null,this._contentRef=null}),r.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:c}=this._backdropCmptRef.location;c.parentNode.removeChild(c),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),function Tt(...i){const a=(0,Ke.jO)(i),r=le(i);return r.length?new y.y(c=>{let f=r.map(()=>[]),D=r.map(()=>!1);c.add(()=>{f=D=null});for(let x=0;!c.closed&&x{if(f[x].push(J),f.every(X=>X.length)){const X=f.map(de=>de.shift());c.next(a?a(...X):X),f.some((de,be)=>!de.length&&D[be])&&c.complete()}},()=>{D[x]=!0,!f[x].length&&c.complete()}));return()=>{f=D=null}}):W.E}(a,r).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Tu=function(i){return i[i.BACKDROP_CLICK=0]="BACKDROP_CLICK",i[i.ESC=1]="ESC",i}(Tu||{});let Xp=(()=>{class i{constructor(r,c){this._el=r,this._zone=c,this.dismissEvent=new s.vpe}ngOnInit(){this._zone.onStable.asObservable().pipe((0,pn.q)(1)).subscribe(()=>{Or(this._zone,this._el.nativeElement,(r,c)=>{c&&Ho(r),r.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return Or(this._zone,this._el.nativeElement,({classList:r})=>r.remove("show"),{animation:this.animation,runningTransition:"stop"})}dismiss(){this.static||this.dismissEvent.emit(Tu.BACKDROP_CLICK)}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(s.SBq),s.Y36(s.R0b))},i.\u0275cmp=s.Xpm({type:i,selectors:[["ngb-offcanvas-backdrop"]],hostVars:6,hostBindings:function(r,c){1&r&&s.NdJ("mousedown",function(){return c.dismiss()}),2&r&&(s.Tol("offcanvas-backdrop"+(c.backdropClass?" "+c.backdropClass:"")),s.ekj("show",!c.animation)("fade",c.animation))},inputs:{animation:"animation",backdropClass:"backdropClass",static:"static"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[s.jDz],decls:0,vars:0,template:function(r,c){},encapsulation:2}),i})(),v_=(()=>{class i{constructor(r,c,f){this._document=r,this._elRef=c,this._zone=f,this._closed$=new N.x,this._elWithFocus=null,this.keyboard=!0,this.position="start",this.dismissEvent=new s.vpe,this.shown=new N.x,this.hidden=new N.x}dismiss(r){this.dismissEvent.emit(r)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,pn.q)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:r}=this._elRef,f=Or(this._zone,this._elRef.nativeElement,D=>(r.classList.remove("showing"),r.classList.add("hiding"),()=>r.classList.remove("show","hiding")),{animation:this.animation,runningTransition:"stop"});return f.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),f}_show(){Or(this._zone,this._elRef.nativeElement,(f,D)=>(D&&Ho(f),f.classList.add("show","showing"),()=>f.classList.remove("showing")),{animation:this.animation,runningTransition:"continue"}).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:r}=this._elRef;this._zone.runOutsideAngular(()=>{re(r,"keydown").pipe((0,Rt.R)(this._closed$),(0,rn.h)(c=>c.which===Ln.Escape)).subscribe(c=>{this.keyboard&&requestAnimationFrame(()=>{c.defaultPrevented||this._zone.run(()=>this.dismiss(Tu.ESC))})})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:r}=this._elRef;if(!r.contains(document.activeElement)){const c=r.querySelector("[ngbAutofocus]"),f=Ja(r)[0];(c||f||r).focus()}}_restoreFocus(){const r=this._document.body,c=this._elWithFocus;let f;f=c&&c.focus&&r.contains(c)?c:r,this._zone.runOutsideAngular(()=>{setTimeout(()=>f.focus()),this._elWithFocus=null})}}return i.\u0275fac=function(r){return new(r||i)(s.Y36(Ye.K0),s.Y36(s.SBq),s.Y36(s.R0b))},i.\u0275cmp=s.Xpm({type:i,selectors:[["ngb-offcanvas-panel"]],hostAttrs:["role","dialog","tabindex","-1"],hostVars:5,hostBindings:function(r,c){2&r&&(s.uIk("aria-modal",!0)("aria-labelledby",c.ariaLabelledBy)("aria-describedby",c.ariaDescribedBy),s.Tol("offcanvas offcanvas-"+c.position+(c.panelClass?" "+c.panelClass:"")))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",keyboard:"keyboard",panelClass:"panelClass",position:"position"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[s.jDz],ngContentSelectors:Pc,decls:1,vars:0,template:function(r,c){1&r&&(s.F$t(),s.Hsn(0))},encapsulation:2}),i})(),Mf=(()=>{class i{constructor(r,c,f,D,x){this._applicationRef=r,this._injector=c,this._document=f,this._scrollBar=D,this._ngZone=x,this._activePanelCmptHasChanged=new N.x,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._panelAttributes=["animation","ariaDescribedBy","ariaLabelledBy","keyboard","panelClass","position"],this._activeInstance=new s.vpe,this._activePanelCmptHasChanged.subscribe(()=>{this._panelCmpt&&((i,a,r,c=!1)=>{i.runOutsideAngular(()=>{const f=re(a,"focusin").pipe((0,Rt.R)(r),(0,un.U)(D=>D.target));re(a,"keydown").pipe((0,Rt.R)(r),(0,rn.h)(D=>D.which===Ln.Tab),(0,Bn.M)(f)).subscribe(([D,x])=>{const[J,X]=Ja(a);(x===J||x===a)&&D.shiftKey&&(X.focus(),D.preventDefault()),x===X&&!D.shiftKey&&(J.focus(),D.preventDefault())}),c&&re(a,"click").pipe((0,Rt.R)(r),(0,Bn.M)(f),(0,un.U)(D=>D[1])).subscribe(D=>D.focus())})})(this._ngZone,this._panelCmpt.location.nativeElement,this._activePanelCmptHasChanged)})}_restoreScrollBar(){const r=this._scrollBarRestoreFn;r&&(this._scrollBarRestoreFn=null,r())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(r,c,f){const D=f.container instanceof HTMLElement?f.container:Ni(f.container)?this._document.querySelector(f.container):this._document.body;if(!D)throw new Error(`The specified offcanvas container "${f.container||"body"}" was not found in the DOM.`);f.scroll||this._hideScrollBar();const x=new wu,J=this._getContentRef(f.injector||r,c,x);let X=!1!==f.backdrop?this._attachBackdrop(D):void 0,de=this._attachWindowComponent(D,J.nodes),be=new Tf(de,J,X,f.beforeDismiss);return this._registerOffcanvasRef(be),this._registerPanelCmpt(de),be.hidden.pipe((0,jt.x)(()=>this._restoreScrollBar())).subscribe(),x.close=ft=>{be.close(ft)},x.dismiss=ft=>{be.dismiss(ft)},this._applyPanelOptions(de.instance,f),X&&X.instance&&(this._applyBackdropOptions(X.instance,f),X.changeDetectorRef.detectChanges()),de.changeDetectorRef.detectChanges(),be}get activeInstance(){return this._activeInstance}dismiss(r){this._offcanvasRef?.dismiss(r)}hasOpenOffcanvas(){return!!this._offcanvasRef}_attachBackdrop(r){let c=(0,s.LMc)(Xp,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(c.hostView),r.appendChild(c.location.nativeElement),c}_attachWindowComponent(r,c){let f=(0,s.LMc)(v_,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:c});return this._applicationRef.attachView(f.hostView),r.appendChild(f.location.nativeElement),f}_applyPanelOptions(r,c){this._panelAttributes.forEach(f=>{Ni(c[f])&&(r[f]=c[f])})}_applyBackdropOptions(r,c){this._backdropAttributes.forEach(f=>{Ni(c[f])&&(r[f]=c[f])}),r.static="static"===c.backdrop}_getContentRef(r,c,f){return c?c instanceof s.Rgc?this._createFromTemplateRef(c,f):ss(c)?this._createFromString(c):this._createFromComponent(r,c,f):new co([])}_createFromTemplateRef(r,c){const D=r.createEmbeddedView({$implicit:c,close(x){c.close(x)},dismiss(x){c.dismiss(x)}});return this._applicationRef.attachView(D),new co([D.rootNodes],D)}_createFromString(r){const c=this._document.createTextNode(`${r}`);return new co([[c]])}_createFromComponent(r,c,f){const D=s.zs3.create({providers:[{provide:wu,useValue:f}],parent:r}),x=(0,s.LMc)(c,{environmentInjector:this._applicationRef.injector,elementInjector:D}),J=x.location.nativeElement;return this._applicationRef.attachView(x.hostView),new co([[J]],x.hostView,x)}_registerOffcanvasRef(r){const c=()=>{this._offcanvasRef=void 0,this._activeInstance.emit(this._offcanvasRef)};this._offcanvasRef=r,this._activeInstance.emit(this._offcanvasRef),r.result.then(c,c)}_registerPanelCmpt(r){this._panelCmpt=r,this._activePanelCmptHasChanged.next(),r.onDestroy(()=>{this._panelCmpt=void 0,this._activePanelCmptHasChanged.next()})}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(s.z2F),s.LFG(s.zs3),s.LFG(Ye.K0),s.LFG(Rp),s.LFG(s.R0b))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Sf=(()=>{class i{constructor(r){this._ngbConfig=r,this.backdrop=!0,this.keyboard=!0,this.position="start",this.scroll=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(r){this._animation=r}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(As))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),gs=(()=>{class i{constructor(r,c,f){this._injector=r,this._offcanvasStack=c,this._config=f}open(r,c={}){const f={...this._config,animation:this._config.animation,...c};return this._offcanvasStack.open(this._injector,r,f)}get activeInstance(){return this._offcanvasStack.activeInstance}dismiss(r){this._offcanvasStack.dismiss(r)}hasOpenOffcanvas(){return this._offcanvasStack.hasOpenOffcanvas()}}return i.\u0275fac=function(r){return new(r||i)(s.LFG(s.zs3),s.LFG(Mf),s.LFG(Sf))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})()},8287:(q,H,E)=>{"use strict";function s(z){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ae){return typeof Ae}:function(Ae){return Ae&&"function"==typeof Symbol&&Ae.constructor===Symbol&&Ae!==Symbol.prototype?"symbol":typeof Ae})(z)}function L(z,Ae,U){return(Ae=function W(z){var Ae=function y(z,Ae){if("object"!==s(z)||null===z)return z;var U=z[Symbol.toPrimitive];if(void 0!==U){var ye=U.call(z,Ae||"default");if("object"!==s(ye))return ye;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===Ae?String:Number)(z)}(z,"string");return"symbol"===s(Ae)?Ae:String(Ae)}(Ae))in z?Object.defineProperty(z,Ae,{value:U,enumerable:!0,configurable:!0,writable:!0}):z[Ae]=U,z}E.d(H,{KI:()=>Ie,y4:()=>fe,Vn:()=>On,h7:()=>je});var N=E(5879),$=E(2096),V=E(9666),ee=E(8645),Y=E(5619),K=E(9315),Z=E(2572),te=E(6232),he=E(8180),re=E(7398),we=E(9360),De=E(8251),Ze=E(2737),et=E(9080),ot=E(4829),le=E(9397),Me=E(6306),xe=E(7328),Oe=E(3020),Ke=E(4664),Tt=E(4007);class It{constructor(Ae){L(this,"translations",void 0),this.translations=Ae}getTranslation(Ae){return(0,$.of)(this.translations.get(Ae)||{})}}const Gt=new N.OlP("TRANSLOCO_LOADER");function Rt(z,Ae){return z&&(Object.prototype.hasOwnProperty.call(z,Ae)?z[Ae]:Ae.split(".").reduce((U,ye)=>U?.[ye],z))}function pn(z){return z?Array.isArray(z)?z.length:ve(z)?Object.keys(z).length:z?z.length:0:0}function Bn(z){return"string"==typeof z}function ve(z){return!!z&&"object"==typeof z&&!Array.isArray(z)}function Ne(z){return z.replace(/(?:^\w|[A-Z]|\b\w)/g,(Ae,U)=>0==U?Ae.toLowerCase():Ae.toUpperCase()).replace(/\s+|_|-|\//g,"")}function Ee(z){return null==z}function Se(z){return!1===Ee(z)}function Pt(z){return z&&"string"==typeof z.scope}function zt(z){return(0,Tt.flatten)(z,{safe:!0})}const qt=new N.OlP("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>Mn}),Mn={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function Ft(z={}){return{...Mn,...z,missingHandler:{...Mn.missingHandler,...z.missingHandler},flatten:{...Mn.flatten,...z.flatten}}}const ie=new N.OlP("TRANSLOCO_TRANSPILER");let se=(()=>{class z{constructor(U){L(this,"interpolationMatcher",void 0),this.interpolationMatcher=function Ce(z){const[Ae,U]=z.interpolation;return new RegExp(`${Ae}(.*?)${U}`,"g")}(U??Mn)}transpile(U,ye={},Re,st){return Bn(U)?U.replace(this.interpolationMatcher,(at,ht)=>(ht=ht.trim(),Se(ye[ht])?ye[ht]:Se(Re[ht])?this.transpile(Re[ht],ye,Re,st):"")):(ye&&(ve(U)?U=this.handleObject(U,ye,Re,st):Array.isArray(U)&&(U=this.handleArray(U,ye,Re,st))),U)}handleObject(U,ye={},Re,st){let at=U;return Object.keys(ye).forEach(ht=>{const Ht=Rt(at,ht),Bt=Rt(ye,ht),Cn=this.transpile(Ht,Bt,Re,st);at=function rn(z,Ae,U){z={...z};const ye=Ae.split("."),Re=ye.length-1;return ye.reduce((st,at,ht)=>(st[at]=ht===Re?U:Array.isArray(st[at])?st[at].slice():{...st[at]},st&&st[at]),z),z}(at,ht,Cn)}),at}handleArray(U,ye={},Re,st){return U.map(at=>this.transpile(at,ye,Re,st))}}return L(z,"\u0275fac",function(U){return new(U||z)(N.LFG(qt,8))}),L(z,"\u0275prov",N.Yz7({token:z,factory:z.\u0275fac})),z})();const lt=new N.OlP("TRANSLOCO_MISSING_HANDLER");let sn=(()=>{class z{handle(U,ye){return ye.missingHandler.logMissingKey&&!ye.prodMode&&console.warn(`%c Missing translation for '${U}'`,"font-size: 12px; color: red"),U}}return L(z,"\u0275fac",function(U){return new(U||z)}),L(z,"\u0275prov",N.Yz7({token:z,factory:z.\u0275fac})),z})();const nt=new N.OlP("TRANSLOCO_INTERCEPTOR");let mt=(()=>{class z{preSaveTranslation(U){return U}preSaveTranslationKey(U,ye){return ye}}return L(z,"\u0275fac",function(U){return new(U||z)}),L(z,"\u0275prov",N.Yz7({token:z,factory:z.\u0275fac})),z})();const ct=new N.OlP("TRANSLOCO_FALLBACK_STRATEGY");let gr,Qt=(()=>{class z{constructor(U){L(this,"userConfig",void 0),this.userConfig=U}getNextLangs(){const U=this.userConfig.fallbackLang;if(!U)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(U)?U:[U]}}return L(z,"\u0275fac",function(U){return new(U||z)(N.LFG(qt))}),L(z,"\u0275prov",N.Yz7({token:z,factory:z.\u0275fac})),z})();function Gn(z){if(!z)return"";const Ae=z.split("/");return Ae.pop(),Ae.join("/")}function _n(z){return z?z.split("/").pop():""}function _t(z,Ae,U="|"){if(Bn(z)){const ye=z.split(U),Re=ye.pop();return Re===Ae?[!0,ye.toString()]:[!1,Re]}return[!1,""]}function Jn(z,Ae){return function jt(z){return z&&ve(z.loader)}(z)?function Nt(z,Ae){return Object.keys(z).reduce((U,ye)=>(U[`${Ae}/${ye}`]=z[ye],U),{})}(z.loader,Ae):void 0}function Vt(z){return{scope:Gn(z)||null,langName:_n(z)}}function sr(z){const{path:Ae,inlineLoader:U,mainLoader:ye,data:Re}=z;if(U){if(!1===function un(z){return"function"==typeof z}(U[Ae]))throw`You're using an inline loader but didn't provide a loader for ${Ae}`;return U[Ae]().then(at=>at.default?at.default:at)}return ye.getTranslation(Ae,Re)}let On=(()=>{class z{constructor(U,ye,Re,st,at,ht){L(this,"loader",void 0),L(this,"parser",void 0),L(this,"missingHandler",void 0),L(this,"interceptor",void 0),L(this,"fallbackStrategy",void 0),L(this,"langChanges$",void 0),L(this,"subscription",null),L(this,"translations",new Map),L(this,"cache",new Map),L(this,"firstFallbackLang",void 0),L(this,"defaultLang",""),L(this,"availableLangs",[]),L(this,"isResolvedMissingOnce",!1),L(this,"lang",void 0),L(this,"failedLangs",new Set),L(this,"events",new ee.x),L(this,"events$",this.events.asObservable()),L(this,"config",void 0),this.loader=U,this.parser=ye,this.missingHandler=Re,this.interceptor=st,this.fallbackStrategy=ht,this.loader||(this.loader=new It(this.translations)),gr=this,this.config=structuredClone(at),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new Y.X(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.subscription=this.events$.subscribe(Ht=>{"translationLoadSuccess"===Ht.type&&Ht.wasFailure&&this.setActiveLang(Ht.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(U){this.defaultLang=U}getActiveLang(){return this.lang.getValue()}setActiveLang(U){return this.parser.onLangChanged?.(U),this.lang.next(U),this.events.next({type:"langChanged",payload:Vt(U)}),this}setAvailableLangs(U){this.availableLangs=U}getAvailableLangs(){return this.availableLangs}load(U,ye={}){const Re=this.cache.get(U);if(Re)return Re;let st;const at=this._isLangScoped(U);let ht;at&&(ht=Gn(U));const Ht={path:U,mainLoader:this.loader,inlineLoader:ye.inlineLoader,data:at?{scope:ht}:void 0};if(this.useFallbackTranslation(U)){const Cn=at?`${ht}/${this.firstFallbackLang}`:this.firstFallbackLang,An=function br({mainLoader:z,path:Ae,data:U,fallbackPath:ye,inlineLoader:Re}){return(ye?[Ae,ye]:[Ae]).map(at=>{const ht=sr({path:at,mainLoader:z,inlineLoader:Re,data:U});return(0,V.D)(ht).pipe((0,re.U)(Ht=>({translation:Ht,lang:at})))})}({...Ht,fallbackPath:Cn});st=(0,K.D)(An)}else{const Cn=sr(Ht);st=(0,V.D)(Cn)}const Bt=st.pipe(function dt(z=1/0){let Ae;Ae=z&&"object"==typeof z?z:{count:z};const{count:U=1/0,delay:ye,resetOnSuccess:Re=!1}=Ae;return U<=0?Ze.y:(0,we.e)((st,at)=>{let Ht,ht=0;const Bt=()=>{let Cn=!1;Ht=st.subscribe((0,De.x)(at,An=>{Re&&(ht=0),at.next(An)},void 0,An=>{if(ht++{Ht?(Ht.unsubscribe(),Ht=null,Bt()):Cn=!0};if(null!=ye){const zn="number"==typeof ye?(0,et.H)(ye):(0,ot.Xf)(ye(An,ht)),Mr=(0,De.x)(at,()=>{Mr.unsubscribe(),ar()},()=>{at.complete()});zn.subscribe(Mr)}else ar()}else at.error(An)})),Cn&&(Ht.unsubscribe(),Ht=null,Bt())};Bt()})}(this.config.failedRetries),(0,le.b)(Cn=>{Array.isArray(Cn)?Cn.forEach(An=>{this.handleSuccess(An.lang,An.translation),An.lang!==U&&this.cache.set(An.lang,(0,$.of)({}))}):this.handleSuccess(U,Cn)}),(0,Me.K)(Cn=>(this.config.prodMode||console.error(`Error while trying to load "${U}"`,Cn),this.handleFailure(U,ye))),function qe(z,Ae,U){let ye,Re=!1;return z&&"object"==typeof z?({bufferSize:ye=1/0,windowTime:Ae=1/0,refCount:Re=!1,scheduler:U}=z):ye=z??1/0,(0,Oe.B)({connector:()=>new xe.t(ye,Ae,U),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Re})}(1));return this.cache.set(U,Bt),Bt}translate(U,ye={},Re=this.getActiveLang()){if(!U)return U;const{scope:st,resolveLang:at}=this.resolveLangAndScope(Re);if(Array.isArray(U))return U.map(Bt=>this.translate(st?`${st}.${Bt}`:Bt,ye,at));U=st?`${st}.${U}`:U;const ht=this.getTranslation(at),Ht=ht[U];return Ht?this.parser.transpile(Ht,ye,ht,U):this._handleMissingKey(U,Ht,ye)}selectTranslate(U,ye,Re,st=!1){let at;const ht=(Bt,Cn)=>this.load(Bt,Cn).pipe((0,re.U)(()=>st?this.translateObject(U,ye,Bt):this.translate(U,ye,Bt)));if(Ee(Re))return this.langChanges$.pipe((0,Ke.w)(Bt=>ht(Bt)));if(function Ue(z){return Array.isArray(z)&&z.every(Pt)}(Re)||Pt(Re)){const Bt=Array.isArray(Re)?Re[0]:Re;Re=Bt.scope,at=Jn(Bt,Bt.scope)}if(this.isLang(Re)||this.isScopeWithLang(Re))return ht(Re);const Ht=Re;return this.langChanges$.pipe((0,Ke.w)(Bt=>ht(`${Ht}/${Bt}`,{inlineLoader:at})))}isScopeWithLang(U){return this.isLang(_n(U))}translateObject(U,ye={},Re=this.getActiveLang()){if(Bn(U)||Array.isArray(U)){const{resolveLang:at,scope:ht}=this.resolveLangAndScope(Re);if(Array.isArray(U))return U.map(Cn=>this.translateObject(ht?`${ht}.${Cn}`:Cn,ye,at));const Ht=this.getTranslation(at),Bt=function Ye(z){return(0,Tt.unflatten)(z)}(this.getObjectByKey(Ht,U=ht?`${ht}.${U}`:U));return function mn(z){return 0===pn(z)}(Bt)?this.translate(U,ye,Re):this.parser.transpile(Bt,ye,Ht,U)}const st=[];for(const[at,ht]of this.getEntries(U))st.push(this.translateObject(at,ht,Re));return st}selectTranslateObject(U,ye,Re){if(Bn(U)||Array.isArray(U))return this.selectTranslate(U,ye,Re,!0);const[[st,at],...ht]=this.getEntries(U);return this.selectTranslateObject(st,at,Re).pipe((0,re.U)(Ht=>{const Bt=[Ht];for(const[Cn,An]of ht)Bt.push(this.translateObject(Cn,An,Re));return Bt}))}getTranslation(U){if(U){if(this.isLang(U))return this.translations.get(U)||{};{const{scope:ye,resolveLang:Re}=this.resolveLangAndScope(U),st=this.translations.get(Re)||{};return this.getObjectByKey(st,ye)}}return this.translations}selectTranslation(U){let ye=this.langChanges$;if(U){const Re=_n(U)!==U;ye=this.isLang(U)||Re?(0,$.of)(U):this.langChanges$.pipe((0,re.U)(st=>`${U}/${st}`))}return ye.pipe((0,Ke.w)(Re=>this.load(Re).pipe((0,re.U)(()=>this.getTranslation(Re)))))}setTranslation(U,ye=this.getActiveLang(),Re={}){const at={merge:!0,emitChange:!0,...Re},ht=Gn(ye);let Ht=U;ht&&(Ht=zt({[this.getMappedScope(ht)]:U}));const Bt=ht?_n(ye):ye,Cn={...at.merge&&this.getTranslation(Bt),...Ht},An=this.config.flatten.aot?Cn:zt(Cn),ar=this.interceptor.preSaveTranslation(An,Bt);this.translations.set(Bt,ar),at.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(U,ye,Re=this.getActiveLang(),st={}){const at=this.interceptor.preSaveTranslationKey(U,ye,Re);this.setTranslation({[U]:at},Re,{...st,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:U}){const ye=Array.isArray(U)?U[0]:U;U&&this.useFallbackTranslation(ye)&&(this.firstFallbackLang=ye)}_handleMissingKey(U,ye,Re){if(this.config.missingHandler.allowEmpty&&""===ye)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const st=this.translate(U,Re,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,st}return this.missingHandler.handle(U,this.getMissingHandlerData(),Re)}_isLangScoped(U){return-1===this.getAvailableLangsIds().indexOf(U)}isLang(U){return-1!==this.getAvailableLangsIds().indexOf(U)}_loadDependencies(U,ye){const Re=_n(U);return this._isLangScoped(U)&&!this.isLoadedTranslation(Re)?(0,Z.a)(this.load(Re),this.load(U,{inlineLoader:ye})):this.load(U,{inlineLoader:ye})}_completeScopeWithLang(U){return this._isLangScoped(U)&&!this.isLang(_n(U))?`${U}/${this.getActiveLang()}`:U}_setScopeAlias(U,ye){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[U]=ye}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.cache.clear()}isLoadedTranslation(U){return pn(this.getTranslation(U))}getAvailableLangsIds(){return Bn(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(ye=>ye.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(U){return this.config.missingHandler.useFallbackTranslation&&U!==this.firstFallbackLang}handleSuccess(U,ye){this.setTranslation(ye,U,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:Vt(U)}),this.failedLangs.forEach(Re=>this.cache.delete(Re)),this.failedLangs.clear()}handleFailure(U,ye){Ee(ye.failedCounter)&&(ye.failedCounter=0,ye.fallbackLangs||(ye.fallbackLangs=this.fallbackStrategy.getNextLangs(U)));const Re=U.split("/"),at=ye.fallbackLangs[ye.failedCounter];if(this.failedLangs.add(U),this.cache.has(at))return this.handleSuccess(at,this.getTranslation(at)),te.E;if(!at||at===Re[Re.length-1]){let Bt="Unable to load translation and all the fallback languages";throw Re.length>1&&(Bt+=", did you misspelled the scope name?"),new Error(Bt)}let Ht=at;return Re.length>1&&(Re[Re.length-1]=at,Ht=Re.join("/")),ye.failedCounter++,this.events.next({type:"translationLoadFailure",payload:Vt(U)}),this.load(Ht,ye)}getMappedScope(U){const{scopeMapping:ye={}}=this.config;return ye[U]||Ne(U)}resolveLangAndScope(U){let Re,ye=U;if(this._isLangScoped(U)){const st=_n(U),at=this.isLang(st);ye=at?st:this.getActiveLang(),Re=this.getMappedScope(at?Gn(U):U)}return{scope:Re,resolveLang:ye}}getObjectByKey(U,ye){const Re={},st=`${ye}.`;for(const at in U)at.startsWith(st)&&(Re[at.replace(st,"")]=U[at]);return Re}getEntries(U){return U instanceof Map?U.entries():Object.entries(U)}}return L(z,"\u0275fac",function(U){return new(U||z)(N.LFG(Gt,8),N.LFG(ie),N.LFG(lt),N.LFG(nt),N.LFG(qt),N.LFG(ct))}),L(z,"\u0275prov",N.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})),z})(),dr=(()=>{class z{constructor(){L(this,"html",void 0)}}return L(z,"\u0275fac",function(U){return new(U||z)}),L(z,"\u0275cmp",N.Xpm({type:z,selectors:[["ng-component"]],inputs:{html:"html"},standalone:!0,features:[N.jDz],decls:1,vars:1,consts:[[1,"transloco-loader-template",3,"innerHTML"]],template:function(U,ye){1&U&&N._UZ(0,"div",0),2&U&&N.Q6J("innerHTML",ye.html,N.oJD)},encapsulation:2})),z})();class nr{constructor(Ae,U){L(this,"view",void 0),L(this,"vcr",void 0),this.view=Ae,this.vcr=U}attachView(){if(this.view instanceof N.Rgc)this.vcr.createEmbeddedView(this.view);else if(Bn(this.view)){const Ae=this.vcr.createComponent(dr);Ae.instance.html=this.view,Ae.hostView.detectChanges()}else this.vcr.createComponent(this.view)}detachView(){this.vcr.clear()}}const Dr=new N.OlP("TRANSLOCO_LANG"),In=new N.OlP("TRANSLOCO_LOADING_TEMPLATE"),Rr=new N.OlP("TRANSLOCO_SCOPE");class gn{constructor(){L(this,"initialized",!1)}resolve({inline:Ae,provider:U,active:ye}){let Re=ye;if(this.initialized)return Re=ye,Re;if(U){const[,st]=_t(U,"static");Re=st}if(Ae){const[,st]=_t(Ae,"static");Re=st}return this.initialized=!0,Re}resolveLangBasedOnScope(Ae){return Gn(Ae)?_n(Ae):Ae}resolveLangPath(Ae,U){return U?`${U}/${Ae}`:Ae}}class Br{constructor(Ae){L(this,"service",void 0),this.service=Ae}resolve(Ae){const{inline:U,provider:ye}=Ae;if(U)return U;if(ye){if(Pt(ye)){const{scope:Re,alias:st=Ne(Re)}=ye;return this.service._setScopeAlias(Re,st),Re}return ye}}}let Ie=(()=>{class z{constructor(){L(this,"service",(0,N.f3M)(On)),L(this,"tpl",(0,N.f3M)(N.Rgc,{optional:!0})),L(this,"providerLang",(0,N.f3M)(Dr,{optional:!0})),L(this,"providerScope",(0,N.f3M)(Rr,{optional:!0})),L(this,"providedLoadingTpl",(0,N.f3M)(In,{optional:!0})),L(this,"cdr",(0,N.f3M)(N.sBO)),L(this,"host",(0,N.f3M)(N.SBq)),L(this,"vcr",(0,N.f3M)(N.s_b)),L(this,"renderer",(0,N.f3M)(N.Qsj)),L(this,"subscription",null),L(this,"view",void 0),L(this,"translationMemo",{}),L(this,"key",void 0),L(this,"params",{}),L(this,"inlineScope",void 0),L(this,"inlineRead",void 0),L(this,"inlineLang",void 0),L(this,"inlineTpl",void 0),L(this,"currentLang",void 0),L(this,"loaderTplHandler",void 0),L(this,"initialized",!1),L(this,"path",void 0),L(this,"langResolver",new gn),L(this,"scopeResolver",new Br(this.service)),L(this,"strategy",null===this.tpl?"attribute":"structural")}static ngTemplateContextGuard(U,ye){return!0}ngOnInit(){const U=function on(z,Ae){const[U]=_t(Ae,"static");return!U&&!!z.config.reRenderOnLangChange}(this.service,this.providerLang||this.inlineLang);if(this.subscription=this.service.langChanges$.pipe((0,Ke.w)(ye=>{const Re=this.langResolver.resolve({inline:this.inlineLang,provider:this.providerLang,active:ye});return Array.isArray(this.providerScope)?(0,K.D)(this.providerScope.map(st=>this.resolveScope(Re,st))):this.resolveScope(Re,this.providerScope)}),function tr(z){return z?Ae=>Ae:(0,he.q)(1)}(U)).subscribe(()=>{this.currentLang=this.langResolver.resolveLangBasedOnScope(this.path),"attribute"===this.strategy?this.attributeStrategy():this.structuralStrategy(this.currentLang,this.inlineRead),this.cdr.markForCheck(),this.initialized=!0}),!this.initialized){const ye=this.resolveLoadingContent();ye&&(this.loaderTplHandler=new nr(ye,this.vcr),this.loaderTplHandler.attachView())}}ngOnChanges(U){"attribute"===this.strategy&&Object.keys(U).some(Re=>!U[Re].firstChange)&&this.attributeStrategy()}attributeStrategy(){this.detachLoader(),this.renderer.setProperty(this.host.nativeElement,"innerText",this.service.translate(this.key,this.params,this.currentLang))}structuralStrategy(U,ye){this.translationMemo={},this.view?(this.view.context.$implicit=this.getTranslateFn(U,ye),this.view.context.currentLang=this.currentLang):(this.detachLoader(),this.view=this.vcr.createEmbeddedView(this.tpl,{$implicit:this.getTranslateFn(U,ye),currentLang:this.currentLang}))}getTranslateFn(U,ye){return(Re,st)=>{const at=ye?`${ye}.${Re}`:Re,ht=st?`${at}${JSON.stringify(st)}`:at;return Object.prototype.hasOwnProperty.call(this.translationMemo,ht)||(this.translationMemo[ht]={params:st,value:this.service.translate(at,st,U)}),this.translationMemo[ht].value}}resolveLoadingContent(){return this.inlineTpl||this.providedLoadingTpl}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}detachLoader(){this.loaderTplHandler?.detachView()}resolveScope(U,ye){const Re=this.scopeResolver.resolve({inline:this.inlineScope,provider:ye});this.path=this.langResolver.resolveLangPath(U,Re);const st=Jn(ye,Re);return this.service._loadDependencies(this.path,st)}}return L(z,"\u0275fac",function(U){return new(U||z)}),L(z,"\u0275dir",N.lG2({type:z,selectors:[["","transloco",""]],inputs:{key:["transloco","key"],params:["translocoParams","params"],inlineScope:["translocoScope","inlineScope"],inlineRead:["translocoRead","inlineRead"],inlineLang:["translocoLang","inlineLang"],inlineTpl:["translocoLoadingTpl","inlineTpl"]},standalone:!0,features:[N.TTD]})),z})(),fe=(()=>{class z{}return L(z,"\u0275fac",function(U){return new(U||z)}),L(z,"\u0275mod",N.oAB({type:z})),L(z,"\u0275inj",N.cJS({})),z})();function je(z){const Ae=[bt(se),Cr(sn),Vr(mt),Qn(Qt)];return z.config&&Ae.push(function ut(z){return(0,N.MR2)([{provide:qt,useValue:Ft(z)}])}(z.config)),z.loader&&Ae.push(function yt(z){return(0,N.MR2)([{provide:Gt,useClass:z}])}(z.loader)),Ae}function bt(z){return(0,N.MR2)([{provide:ie,useClass:z,deps:[qt]}])}function Qn(z){return(0,N.MR2)([{provide:ct,useClass:z,deps:[qt]}])}function Cr(z){return(0,N.MR2)([{provide:lt,useClass:z}])}function Vr(z){return(0,N.MR2)([{provide:nt,useClass:z}])}new N.OlP("TRANSLOCO_TEST_LANGS - Available testing languages"),new N.OlP("TRANSLOCO_TEST_OPTIONS - Testing options")},7632:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{FT:()=>StoreDevtoolsModule});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5879),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4221),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6232),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5592),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2096),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(3019),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(2381),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(7328),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3020),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2181),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7398),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(6328),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(5178),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(3620),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6306),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(8180),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(9773),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(4664),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(836),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(3093),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(2460),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(6699),_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1993);const PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING";class PerformAction{constructor(H,E){if(this.action=H,this.timestamp=E,this.type=PERFORM_ACTION,typeof H.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Refresh{constructor(){this.type=REFRESH}}class Reset{constructor(H){this.timestamp=H,this.type=RESET}}class Rollback{constructor(H){this.timestamp=H,this.type=ROLLBACK}}class Commit{constructor(H){this.timestamp=H,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(H){this.id=H,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(H,E,s=!0){this.start=H,this.end=E,this.active=s,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(H){this.index=H,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(H){this.actionId=H,this.type=JUMP_TO_ACTION}}class ImportState{constructor(H){this.nextLiftedState=H,this.type=IMPORT_STATE}}class LockChanges{constructor(H){this.status=H,this.type=LOCK_CHANGES}}class PauseRecording{constructor(H){this.status=H,this.type=PAUSE_RECORDING}}class StoreDevtoolsConfig{constructor(){this.maxAge=!1}}const STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Initial Config");function noMonitor(){return null}const DEFAULT_NAME="NgRx Store DevTools";function createConfig(q){const H={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectOutsideZone:!1},E="function"==typeof q?q():q,y=E.features||!!E.logOnly&&{pause:!0,export:!0,test:!0}||H.features;!0===y.import&&(y.import="custom");const W=Object.assign({},H,{features:y},E);if(W.maxAge&&W.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${W.maxAge}`);return W}function difference(q,H){return q.filter(E=>H.indexOf(E)<0)}function unliftState(q){const{computedStates:H,currentStateIndex:E}=q;if(E>=H.length){const{state:y}=H[H.length-1];return y}const{state:s}=H[E];return s}function unliftAction(q){return q.actionsById[q.nextActionId-1]}function liftAction(q){return new PerformAction(q,+Date.now())}function sanitizeActions(q,H){return Object.keys(H).reduce((E,s)=>{const y=Number(s);return E[y]=sanitizeAction(q,H[y],y),E},{})}function sanitizeAction(q,H,E){return{...H,action:q(H.action,E)}}function sanitizeStates(q,H){return H.map((E,s)=>({state:sanitizeState(q,E.state,s),error:E.error}))}function sanitizeState(q,H,E){return q(H,E)}function shouldFilterActions(q){return q.predicate||q.actionsSafelist||q.actionsBlocklist}function filterLiftedState(q,H,E,s){const y=[],W={},L=[];return q.stagedActionIds.forEach((N,$)=>{const V=q.actionsById[N];V&&($&&isActionFiltered(q.computedStates[$],V,H,E,s)||(W[N]=V,y.push(N),L.push(q.computedStates[$])))}),{...q,stagedActionIds:y,actionsById:W,computedStates:L}}function isActionFiltered(q,H,E,s,y){const W=E&&!E(q,H.action),L=s&&!H.action.type.match(s.map($=>escapeRegExp($)).join("|")),N=y&&H.action.type.match(y.map($=>escapeRegExp($)).join("|"));return W||L||N}function escapeRegExp(q){return q.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function injectZoneConfig(q){return{ngZone:q?(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.f3M)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.R0b):null,connectOutsideZone:q}}let DevtoolsDispatcher=(()=>{class q extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{}return q.\u0275fac=function(){let H;return function(s){return(H||(H=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(q)))(s||q)}}(),q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:q,factory:q.\u0275fac}),q})();const ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Redux Devtools Extension");let DevtoolsExtension=(()=>{class DevtoolsExtension{constructor(q,H,E){this.config=H,this.dispatcher=E,this.zoneConfig=injectZoneConfig(this.config.connectOutsideZone),this.devtoolsExtension=q,this.createActionStreams()}notify(q,H){if(this.devtoolsExtension)if(q.type===PERFORM_ACTION){if(H.isLocked||H.isPaused)return;const E=unliftState(H);if(shouldFilterActions(this.config)&&isActionFiltered(E,q,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const s=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,E,H.currentStateIndex):E,y=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,q,H.nextActionId):q;this.sendToReduxDevtools(()=>this.extensionConnection.send(y,s))}else{const E={...H,stagedActionIds:H.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,H.actionsById):H.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,H.computedStates):H.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,E,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(q=>{const H=this.zoneConfig.connectOutsideZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=H,H.init(),H.subscribe(E=>q.next(E)),H.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const q=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),H=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(N=>N.type===ExtensionActionTypes.START)),E=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(N=>N.type===ExtensionActionTypes.STOP)),s=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(N=>N.type===ExtensionActionTypes.DISPATCH),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(N=>this.unwrapAction(N.payload)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(N=>N.type===IMPORT_STATE?this.dispatcher.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)($=>$.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.V)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.b)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(()=>N),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(N)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(N))),W=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(N=>N.type===ExtensionActionTypes.ACTION),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(N=>this.unwrapAction(N.payload))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(E)),L=s.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(E));this.start$=H.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(E)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>W)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>L))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(q){const H={name:q.name,features:q.features,serialize:q.serialize,autoPause:q.autoPause??!1,trace:q.trace??!1,traceLimit:q.traceLimit??75};return!1!==q.maxAge&&(H.maxAge=q.maxAge),H}sendToReduxDevtools(q){try{q()}catch(H){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",H)}}}return DevtoolsExtension.\u0275fac=function q(H){return new(H||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher))},DevtoolsExtension.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac}),DevtoolsExtension})();const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(q,H,E,s,y){if(s)return{state:E,error:"Interrupted by an error up the chain"};let L,W=E;try{W=q(E,H)}catch(N){L=N.toString(),y.handleError(N)}return{state:W,error:L}}function recomputeStates(q,H,E,s,y,W,L,N,$){if(H>=q.length&&q.length===W.length)return q;const V=q.slice(0,H),ee=W.length-($?1:0);for(let Y=H;Y-1?te:computeNextEntry(E,Z,he,re,N);V.push(De)}return $&&V.push(q[q.length-1]),V}function liftInitialState(q,H){return{monitorState:H(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:q,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(q,H,E,s,y={}){return W=>(L,N)=>{let{monitorState:$,actionsById:V,nextActionId:ee,stagedActionIds:Y,skippedActionIds:K,committedState:Z,currentStateIndex:te,computedStates:he,isLocked:re,isPaused:we}=L||H;function De(ot){let dt=ot,le=Y.slice(1,dt+1);for(let Me=0;Me-1===le.indexOf(Me)),Y=[0,...Y.slice(dt+1)],Z=he[dt].state,he=he.slice(dt),te=te>dt?te-dt:0}function Ze(){V={0:liftAction(INIT_ACTION)},ee=1,Y=[0],K=[],Z=he[te].state,te=0,he=[]}L||(V=Object.create(V));let et=0;switch(N.type){case LOCK_CHANGES:re=N.status,et=1/0;break;case PAUSE_RECORDING:we=N.status,we?(Y=[...Y,ee],V[ee]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),ee++,et=Y.length-1,he=he.concat(he[he.length-1]),te===Y.length-2&&te++,et=1/0):Ze();break;case RESET:V={0:liftAction(INIT_ACTION)},ee=1,Y=[0],K=[],Z=q,te=0,he=[];break;case COMMIT:Ze();break;case ROLLBACK:V={0:liftAction(INIT_ACTION)},ee=1,Y=[0],K=[],te=0,he=[];break;case TOGGLE_ACTION:{const{id:ot}=N;K=-1===K.indexOf(ot)?[ot,...K]:K.filter(le=>le!==ot),et=Y.indexOf(ot);break}case SET_ACTIONS_ACTIVE:{const{start:ot,end:dt,active:le}=N,Me=[];for(let xe=ot;xey.maxAge&&(he=recomputeStates(he,et,W,Z,V,Y,K,E,we),De(Y.length-y.maxAge),et=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(he.filter(dt=>dt.error).length>0)et=0,y.maxAge&&Y.length>y.maxAge&&(he=recomputeStates(he,et,W,Z,V,Y,K,E,we),De(Y.length-y.maxAge),et=1/0);else{if(!we&&!re){te===Y.length-1&&te++;const dt=ee++;V[dt]=new PerformAction(N,+Date.now()),Y=[...Y,dt],et=Y.length-1,he=recomputeStates(he,et,W,Z,V,Y,K,E,we)}he=he.map(dt=>({...dt,state:W(dt.state,RECOMPUTE_ACTION)})),te=Y.length-1,y.maxAge&&Y.length>y.maxAge&&De(Y.length-y.maxAge),et=1/0}break;default:et=1/0}return he=recomputeStates(he,et,W,Z,V,Y,K,E,we),$=s($,N),{monitorState:$,actionsById:V,nextActionId:ee,stagedActionIds:Y,skippedActionIds:K,committedState:Z,currentStateIndex:te,computedStates:he,isLocked:re,isPaused:we}}}let StoreDevtools=(()=>{class q{constructor(E,s,y,W,L,N,$,V){const ee=liftInitialState($,V.monitor),Y=liftReducerWith($,ee,N,V.monitor,V),K=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(s.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),W.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),E,W.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.Q)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),Z=y.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(Y)),te=injectZoneConfig(V.connectOutsideZone),he=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1);this.liftedStateSubscription=K.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(Z),emitInZone(te),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:De},[Ze,et])=>{let ot=et(De,Ze);return Ze.type!==PERFORM_ACTION&&shouldFilterActions(V)&&(ot=filterLiftedState(ot,V.predicate,V.actionsSafelist,V.actionsBlocklist)),W.notify(Ze,ot),{state:ot,action:Ze}},{state:ee,action:null})).subscribe(({state:De,action:Ze})=>{he.next(De),Ze.type===PERFORM_ACTION&&L.next(Ze.action)}),this.extensionStartSubscription=W.start$.pipe(emitInZone(te)).subscribe(()=>{this.refresh()});const re=he.asObservable(),we=re.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));Object.defineProperty(we,"state",{value:(0,_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_22__.O4)(we,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=E,this.liftedState=re,this.state=we}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(E){this.dispatcher.next(E)}next(E){this.dispatcher.next(E)}error(E){}complete(){}performAction(E){this.dispatch(new PerformAction(E,+Date.now()))}refresh(){this.dispatch(new Refresh)}reset(){this.dispatch(new Reset(+Date.now()))}rollback(){this.dispatch(new Rollback(+Date.now()))}commit(){this.dispatch(new Commit(+Date.now()))}sweep(){this.dispatch(new Sweep)}toggleAction(E){this.dispatch(new ToggleAction(E))}jumpToAction(E){this.dispatch(new JumpToAction(E))}jumpToState(E){this.dispatch(new JumpToState(E))}importState(E){this.dispatch(new ImportState(E))}lockChanges(E){this.dispatch(new LockChanges(E))}pauseRecording(E){this.dispatch(new PauseRecording(E))}}return q.\u0275fac=function(E){return new(E||q)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.n$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.qLn),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y6),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG))},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:q,factory:q.\u0275fac}),q})();function emitInZone({ngZone:q,connectOutsideZone:H}){return E=>H?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(s=>E.subscribe({next:y=>q.run(()=>s.next(y)),error:y=>q.run(()=>s.error(y)),complete:()=>q.run(()=>s.complete())})):E}const IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(q,H){return!!q||H.monitor!==noMonitor}function createReduxDevtoolsExtension(){const q="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[q]<"u"?window[q]:null}function provideStoreDevtools(q={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:q},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.FR,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.mK,useExisting:DevtoolsDispatcher}])}function createStateObservable(q){return q.state}let StoreDevtoolsModule=(()=>{class q{static instrument(E={}){return{ngModule:q,providers:[provideStoreDevtools(E)]}}}return q.\u0275fac=function(E){return new(E||q)},q.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:q}),q.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({}),q})()},4221:(q,H,E)=>{"use strict";E.d(H,{UO:()=>Ke,qg:()=>qe,Y6:()=>Rt,mK:()=>lt,n$:()=>it,Y$:()=>ct,FR:()=>Gn,yh:()=>tr,CK:()=>qi,Aw:()=>Qi,cr:()=>Ti,wb:()=>sn,PH:()=>we,R7:()=>le,ZF:()=>bt,Lq:()=>Ut,P1:()=>yt,uZ:()=>Me,on:()=>Ro,Ky:()=>De});var s=E(5879),y=E(5619),W=E(5592),L=E(8645),N=E(2381),$=E(3093),V=E(2460),ee=E(6699),Y=E(7398),Z=E(3997),te=E(1993);const he={};function we(k,ge){if(he[k]=(he[k]||0)+1,"function"==typeof ge)return et(k,(...me)=>({...ge(...me),type:k}));switch(ge?ge._as:"empty"){case"empty":return et(k,()=>({type:k}));case"props":return et(k,me=>({...me,type:k}));default:throw new Error("Unexpected config.")}}function De(){return{_as:"props",_p:void 0}}function et(k,ge){return Object.defineProperty(ge,"type",{value:k,writable:!1})}function le(k){const{source:ge,events:ae}=k;return Object.keys(ae).reduce((me,Qe)=>({...me,[xe(Qe)]:we(Oe(ge,Qe),ae[Qe])}),{})}function Me(){return{_as:"props",_p:void 0}}function xe(k){return k.trim().split(" ").map((ge,ae)=>0===ae?function dt(k){return k.charAt(0).toLowerCase()+k.substring(1)}(ge):function ot(k){return k.charAt(0).toUpperCase()+k.substring(1)}(ge)).join("")}function Oe(k,ge){return`[${k}] ${ge}`}const qe="@ngrx/store/init";let Ke=(()=>{class k extends y.X{constructor(){super({type:qe})}next(ae){if("function"==typeof ae)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof ae>"u")throw new TypeError("Actions must be objects");if(typeof ae.type>"u")throw new TypeError("Actions must have a type property");super.next(ae)}complete(){}ngOnDestroy(){super.complete()}}return k.\u0275fac=function(ae){return new(ae||k)},k.\u0275prov=s.Yz7({token:k,factory:k.\u0275fac}),k})();const Tt=[Ke],It=new s.OlP("@ngrx/store Internal Root Guard"),Gt=new s.OlP("@ngrx/store Internal Initial State"),Rt=new s.OlP("@ngrx/store Initial State"),rn=new s.OlP("@ngrx/store Reducer Factory"),pn=new s.OlP("@ngrx/store Internal Reducer Factory Provider"),mn=new s.OlP("@ngrx/store Initial Reducers"),un=new s.OlP("@ngrx/store Internal Initial Reducers"),Bn=new s.OlP("@ngrx/store Store Features"),pe=new s.OlP("@ngrx/store Internal Store Reducers"),ve=new s.OlP("@ngrx/store Internal Feature Reducers"),Pe=new s.OlP("@ngrx/store Internal Feature Configs"),Ne=new s.OlP("@ngrx/store Internal Store Features"),We=new s.OlP("@ngrx/store Internal Feature Reducers Token"),Ee=new s.OlP("@ngrx/store Feature Reducers"),Se=new s.OlP("@ngrx/store User Provided Meta Reducers"),Le=new s.OlP("@ngrx/store Meta Reducers"),Pt=new s.OlP("@ngrx/store Internal Resolved Meta Reducers"),Ue=new s.OlP("@ngrx/store User Runtime Checks Config"),jt=new s.OlP("@ngrx/store Internal User Runtime Checks Config"),Ye=new s.OlP("@ngrx/store Internal Runtime Checks"),zt=new s.OlP("@ngrx/store Check if Action types are unique");function Ft(k,ge={}){const ae=Object.keys(k),me={};for(let tt=0;tttt(Qe),ae(ge))}}function Ce(k,ge){return Array.isArray(ge)&&ge.length>0&&(k=se.apply(null,[...ge,k])),(ae,me)=>{const Qe=k(ae);return(tt,Lt)=>Qe(tt=void 0===tt?me:tt,Lt)}}new s.OlP("@ngrx/store Root Store Provider"),new s.OlP("@ngrx/store Feature State Provider");class it extends W.y{}class lt extends Ke{}const sn="@ngrx/store/update-reducers";let nt=(()=>{class k extends y.X{get currentReducers(){return this.reducers}constructor(ae,me,Qe,tt){super(tt(Qe,me)),this.dispatcher=ae,this.initialState=me,this.reducers=Qe,this.reducerFactory=tt}addFeature(ae){this.addFeatures([ae])}addFeatures(ae){const me=ae.reduce((Qe,{reducers:tt,reducerFactory:Lt,metaReducers:vn,initialState:En,key:$t})=>{const ze="function"==typeof tt?function He(k){const ge=Array.isArray(k)&&k.length>0?se(...k):ae=>ae;return(ae,me)=>(ae=ge(ae),(Qe,tt)=>ae(Qe=void 0===Qe?me:Qe,tt))}(vn)(tt,En):Ce(Lt,vn)(tt,En);return Qe[$t]=ze,Qe},{});this.addReducers(me)}removeFeature(ae){this.removeFeatures([ae])}removeFeatures(ae){this.removeReducers(ae.map(me=>me.key))}addReducer(ae,me){this.addReducers({[ae]:me})}addReducers(ae){this.reducers={...this.reducers,...ae},this.updateReducers(Object.keys(ae))}removeReducer(ae){this.removeReducers([ae])}removeReducers(ae){ae.forEach(me=>{this.reducers=function ie(k,ge){return Object.keys(k).filter(ae=>ae!==ge).reduce((ae,me)=>Object.assign(ae,{[me]:k[me]}),{})}(this.reducers,me)}),this.updateReducers(ae)}updateReducers(ae){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:sn,features:ae})}ngOnDestroy(){this.complete()}}return k.\u0275fac=function(ae){return new(ae||k)(s.LFG(lt),s.LFG(Rt),s.LFG(mn),s.LFG(rn))},k.\u0275prov=s.Yz7({token:k,factory:k.\u0275fac}),k})();const mt=[nt,{provide:it,useExisting:nt},{provide:lt,useExisting:Ke}];let ct=(()=>{class k extends L.x{ngOnDestroy(){this.complete()}}return k.\u0275fac=function(){let ge;return function(me){return(ge||(ge=s.n5z(k)))(me||k)}}(),k.\u0275prov=s.Yz7({token:k,factory:k.\u0275fac}),k})();const Qt=[ct];class Gn extends W.y{}let _n=(()=>{class k extends y.X{constructor(ae,me,Qe,tt){super(tt);const $t=ae.pipe((0,$.Q)(N.N)).pipe((0,V.M)(me)).pipe((0,ee.R)(_t,{state:tt}));this.stateSubscription=$t.subscribe(({state:ze,action:Dt})=>{this.next(ze),Qe.next(Dt)}),this.state=(0,te.O4)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return k.INIT=qe,k.\u0275fac=function(ae){return new(ae||k)(s.LFG(Ke),s.LFG(it),s.LFG(ct),s.LFG(Rt))},k.\u0275prov=s.Yz7({token:k,factory:k.\u0275fac}),k})();function _t(k={state:void 0},[ge,ae]){const{state:me}=k;return{state:ae(me,ge),action:ge}}const on=[_n,{provide:Gn,useExisting:_n}];let tr=(()=>{class k extends W.y{constructor(ae,me,Qe){super(),this.actionsObserver=me,this.reducerManager=Qe,this.source=ae,this.state=ae.state}select(ae,...me){return Jn.call(null,ae,...me)(this)}selectSignal(ae,me){return(0,s.Flj)(()=>ae(this.state()),{equal:me?.equal||((Qe,tt)=>Qe===tt)})}lift(ae){const me=new k(this,this.actionsObserver,this.reducerManager);return me.operator=ae,me}dispatch(ae){this.actionsObserver.next(ae)}next(ae){this.actionsObserver.next(ae)}error(ae){this.actionsObserver.error(ae)}complete(){this.actionsObserver.complete()}addReducer(ae,me){this.reducerManager.addReducer(ae,me)}removeReducer(ae){this.reducerManager.removeReducer(ae)}}return k.\u0275fac=function(ae){return new(ae||k)(s.LFG(Gn),s.LFG(Ke),s.LFG(nt))},k.\u0275prov=s.Yz7({token:k,factory:k.\u0275fac}),k})();const Nt=[tr];function Jn(k,ge,...ae){return function(Qe){let tt;if("string"==typeof k){const Lt=[ge,...ae].filter(Boolean);tt=Qe.pipe(function K(...k){const ge=k.length;if(0===ge)throw new Error("list of properties cannot be empty.");return(0,Y.U)(ae=>{let me=ae;for(let Qe=0;Qek(Lt,ge)))}return tt.pipe((0,Z.x)())}}const Vt="https://ngrx.io/guide/store/configuration/runtime-checks";function sr(k){return void 0===k}function br(k){return null===k}function gr(k){return Array.isArray(k)}function dr(k){return"object"==typeof k&&null!==k}function In(k){return"function"==typeof k}let Br=!1;function G(k,ge){return k===ge}function ut(k,ge=G,ae=G){let tt,me=null,Qe=null;return{memoized:function $t(){if(void 0!==tt)return tt.result;if(!me)return Qe=k.apply(null,arguments),me=arguments,Qe;if(!function fe(k,ge,ae){for(let me=0;me"function"==typeof ge)}(me[0])&&(me=function Cr(k){const ge=Object.values(k),ae=Object.keys(k);return[...ge,(...Qe)=>ae.reduce((tt,Lt,vn)=>({...tt,[Lt]:Qe[vn]}),{})]}(me[0]));const Qe=me.slice(0,me.length-1),tt=me[me.length-1],Lt=Qe.filter(ze=>ze.release&&"function"==typeof ze.release),vn=k(function(...ze){return tt.apply(null,ze)}),En=ut(function(ze,Dt){return ge.stateFn.apply(null,[ze,Qe,Dt,vn])});return Object.assign(En.memoized,{release:function $t(){En.reset(),vn.reset(),Lt.forEach(ze=>ze.release())},projector:vn.memoized,setResult:En.setResult,clearResult:En.clearResult})}}(ut)(...k)}function Jt(k,ge,ae,me){if(void 0===ae){const tt=ge.map(Lt=>Lt(k));return me.memoized.apply(null,tt)}const Qe=ge.map(tt=>tt(k,ae));return me.memoized.apply(null,[...Qe,ae])}function bt(k){return yt(ge=>{const ae=ge[k];return!function oe(){return Br}()&&(0,s.X6Q)()&&!(k in ge)&&console.warn(`@ngrx/store: The feature name "${k}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${k}', ...) or StoreModule.forFeature('${k}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),ae},ge=>ge)}function fr(k){return k instanceof s.OlP?(0,s.f3M)(k):k}function wr(k,ge){return ge.map((ae,me)=>{if(k[me]instanceof s.OlP){const Qe=(0,s.f3M)(k[me]);return{key:ae.key,reducerFactory:Qe.reducerFactory?Qe.reducerFactory:Ft,metaReducers:Qe.metaReducers?Qe.metaReducers:[],initialState:Qe.initialState}}return ae})}function Xr(k){return k.map(ge=>ge instanceof s.OlP?(0,s.f3M)(ge):ge)}function Tr(k){return"function"==typeof k?k():k}function Li(k,ge){return k.concat(ge)}function mr(){if((0,s.f3M)(tr,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Ae(k){Object.freeze(k);const ge=In(k);return Object.getOwnPropertyNames(k).forEach(ae=>{if(!ae.startsWith("\u0275")&&function gn(k,ge){return Object.prototype.hasOwnProperty.call(k,ge)}(k,ae)&&(!ge||"caller"!==ae&&"callee"!==ae&&"arguments"!==ae)){const me=k[ae];(dr(me)||In(me))&&!Object.isFrozen(me)&&Ae(me)}}),k}function ye(k,ge=[]){return(sr(k)||br(k))&&0===ge.length?{path:["root"],value:k}:Object.keys(k).reduce((me,Qe)=>{if(me)return me;const tt=k[Qe];return function Rr(k){return In(k)&&k.hasOwnProperty("\u0275cmp")}(tt)?me:!(sr(tt)||br(tt)||function On(k){return"number"==typeof k}(tt)||function fi(k){return"boolean"==typeof k}(tt)||function Ar(k){return"string"==typeof k}(tt)||gr(tt))&&(function Dr(k){if(!function nr(k){return dr(k)&&!gr(k)}(k))return!1;const ge=Object.getPrototypeOf(k);return ge===Object.prototype||null===ge}(tt)?ye(tt,[...ge,Qe]):{path:[...ge,Qe],value:tt})},!1)}function Re(k,ge){if(!1===k)return;const ae=k.path.join("."),me=new Error(`Detected unserializable ${ge} at "${ae}". ${Vt}#strict${ge}serializability`);throw me.value=k.value,me.unserializablePath=ae,me}function at(k){return(0,s.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...k}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function ht({strictActionSerializability:k,strictStateSerializability:ge}){return ae=>k||ge?function U(k,ge){return function(ae,me){ge.action(me)&&Re(ye(me),"action");const Qe=k(ae,me);return ge.state()&&Re(ye(Qe),"state"),Qe}}(ae,{action:me=>k&&!Bt(me),state:()=>ge}):ae}function Ht({strictActionImmutability:k,strictStateImmutability:ge}){return ae=>k||ge?function z(k,ge){return function(ae,me){const Qe=ge.action(me)?Ae(me):me,tt=k(ae,Qe);return ge.state()?Ae(tt):tt}}(ae,{action:me=>k&&!Bt(me),state:()=>ge}):ae}function Bt(k){return k.type.startsWith("@ngrx")}function Cn({strictActionWithinNgZone:k}){return ge=>k?function st(k,ge){return function(ae,me){if(ge.action(me)&&!s.R0b.isInAngularZone())throw new Error(`Action '${me.type}' running outside NgZone. ${Vt}#strictactionwithinngzone`);return k(ae,me)}}(ge,{action:ae=>k&&!Bt(ae)}):ge}function An(k){return[{provide:jt,useValue:k},{provide:Ue,useFactory:zn,deps:[jt]},{provide:Ye,deps:[Ue],useFactory:at},{provide:Le,multi:!0,deps:[Ye],useFactory:Ht},{provide:Le,multi:!0,deps:[Ye],useFactory:ht},{provide:Le,multi:!0,deps:[Ye],useFactory:Cn}]}function ar(){return[{provide:zt,multi:!0,deps:[Ye],useFactory:Mr}]}function zn(k){return k}function Mr(k){if(!k.strictActionTypeUniqueness)return;const ge=Object.entries(he).filter(([,ae])=>ae>1).map(([ae])=>ae);if(ge.length)throw new Error(`Action types are registered more than once, ${ge.map(ae=>`"${ae}"`).join(", ")}. ${Vt}#strictactiontypeuniqueness`)}function pi(k={},ge={}){return[{provide:It,useFactory:mr},{provide:Gt,useValue:ge.initialState},{provide:Rt,useFactory:Tr,deps:[Gt]},{provide:un,useValue:k},{provide:pe,useExisting:k instanceof s.OlP?k:un},{provide:mn,deps:[un,[new s.tBr(pe)]],useFactory:fr},{provide:Se,useValue:ge.metaReducers?ge.metaReducers:[]},{provide:Pt,deps:[Le,Se],useFactory:Li},{provide:pn,useValue:ge.reducerFactory?ge.reducerFactory:Ft},{provide:rn,deps:[pn,Pt],useFactory:Ce},Tt,mt,Qt,on,Nt,An(ge.runtimeChecks),ar()]}function gi(k,ge,ae={}){return[{provide:Pe,multi:!0,useValue:k instanceof Object?{}:ae},{provide:Bn,multi:!0,useValue:{key:k instanceof Object?k.name:k,reducerFactory:ae instanceof s.OlP||!ae.reducerFactory?Ft:ae.reducerFactory,metaReducers:ae instanceof s.OlP||!ae.metaReducers?[]:ae.metaReducers,initialState:ae instanceof s.OlP||!ae.initialState?void 0:ae.initialState}},{provide:Ne,deps:[Pe,Bn],useFactory:wr},{provide:ve,multi:!0,useValue:k instanceof Object?k.reducer:ge},{provide:We,multi:!0,useExisting:ge instanceof s.OlP?ge:ve},{provide:Ee,multi:!0,deps:[ve,[new s.tBr(We)]],useFactory:Xr},ar()]}let Ti=(()=>{class k{constructor(ae,me,Qe,tt,Lt,vn){}}return k.\u0275fac=function(ae){return new(ae||k)(s.LFG(Ke),s.LFG(it),s.LFG(ct),s.LFG(tr),s.LFG(It,8),s.LFG(zt,8))},k.\u0275mod=s.oAB({type:k}),k.\u0275inj=s.cJS({}),k})(),qi=(()=>{class k{constructor(ae,me,Qe,tt,Lt){this.features=ae,this.featureReducers=me,this.reducerManager=Qe;const vn=ae.map((En,$t)=>{const Dt=me.shift()[$t];return{...En,reducers:Dt,initialState:Tr(En.initialState)}});Qe.addFeatures(vn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return k.\u0275fac=function(ae){return new(ae||k)(s.LFG(Ne),s.LFG(Ee),s.LFG(nt),s.LFG(Ti),s.LFG(zt,8))},k.\u0275mod=s.oAB({type:k}),k.\u0275inj=s.cJS({}),k})(),Qi=(()=>{class k{static forRoot(ae,me){return{ngModule:Ti,providers:[...pi(ae,me)]}}static forFeature(ae,me,Qe={}){return{ngModule:qi,providers:[...gi(ae,me,Qe)]}}}return k.\u0275fac=function(ae){return new(ae||k)},k.\u0275mod=s.oAB({type:k}),k.\u0275inj=s.cJS({}),k})();function Ro(...k){return{reducer:k.pop(),types:k.map(me=>me.type)}}function Ut(k,...ge){const ae=new Map;for(const me of ge)for(const Qe of me.types){const tt=ae.get(Qe);ae.set(Qe,tt?(vn,En)=>me.reducer(tt(vn,En),En):me.reducer)}return function(me=k,Qe){const tt=ae.get(Qe.type);return tt?tt(me,Qe):me}}},7582:(q,H,E)=>{"use strict";function te(pe,ve,Pe,Ne){return new(Pe||(Pe=Promise))(function(Ee,Se){function Le(jt){try{Ue(Ne.next(jt))}catch(Ye){Se(Ye)}}function Pt(jt){try{Ue(Ne.throw(jt))}catch(Ye){Se(Ye)}}function Ue(jt){jt.done?Ee(jt.value):function We(Ee){return Ee instanceof Pe?Ee:new Pe(function(Se){Se(Ee)})}(jt.value).then(Le,Pt)}Ue((Ne=Ne.apply(pe,ve||[])).next())})}function le(pe){return this instanceof le?(this.v=pe,this):new le(pe)}function Me(pe,ve,Pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var We,Ne=Pe.apply(pe,ve||[]),Ee=[];return We={},Se("next"),Se("throw"),Se("return"),We[Symbol.asyncIterator]=function(){return this},We;function Se(zt){Ne[zt]&&(We[zt]=function(qt){return new Promise(function(Mn,Ft){Ee.push([zt,qt,Mn,Ft])>1||Le(zt,qt)})})}function Le(zt,qt){try{!function Pt(zt){zt.value instanceof le?Promise.resolve(zt.value.v).then(Ue,jt):Ye(Ee[0][2],zt)}(Ne[zt](qt))}catch(Mn){Ye(Ee[0][3],Mn)}}function Ue(zt){Le("next",zt)}function jt(zt){Le("throw",zt)}function Ye(zt,qt){zt(qt),Ee.shift(),Ee.length&&Le(Ee[0][0],Ee[0][1])}}function Oe(pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Pe,ve=pe[Symbol.asyncIterator];return ve?ve.call(pe):(pe=function De(pe){var ve="function"==typeof Symbol&&Symbol.iterator,Pe=ve&&pe[ve],Ne=0;if(Pe)return Pe.call(pe);if(pe&&"number"==typeof pe.length)return{next:function(){return pe&&Ne>=pe.length&&(pe=void 0),{value:pe&&pe[Ne++],done:!pe}}};throw new TypeError(ve?"Object is not iterable.":"Symbol.iterator is not defined.")}(pe),Pe={},Ne("next"),Ne("throw"),Ne("return"),Pe[Symbol.asyncIterator]=function(){return this},Pe);function Ne(Ee){Pe[Ee]=pe[Ee]&&function(Se){return new Promise(function(Le,Pt){!function We(Ee,Se,Le,Pt){Promise.resolve(Pt).then(function(Ue){Ee({value:Ue,done:Le})},Se)}(Le,Pt,(Se=pe[Ee](Se)).done,Se.value)})}}}E.d(H,{FC:()=>Me,KL:()=>Oe,mG:()=>te,qq:()=>le}),"function"==typeof SuppressedError&&SuppressedError}},q=>{var H=s=>q(q.s=s);H(2614),H(4339)}]); \ No newline at end of file