diff --git a/cmd/edgex-ui-server/static/web/en-US/index.html b/cmd/edgex-ui-server/static/web/en-US/index.html index 818b1f35..ba0fb99b 100644 --- a/cmd/edgex-ui-server/static/web/en-US/index.html +++ b/cmd/edgex-ui-server/static/web/en-US/index.html @@ -30,5 +30,5 @@ - + diff --git a/cmd/edgex-ui-server/static/web/en-US/main.2b2519a8a9927790.js b/cmd/edgex-ui-server/static/web/en-US/main.2b2519a8a9927790.js new file mode 100644 index 00000000..f657d704 --- /dev/null +++ b/cmd/edgex-ui-server/static/web/en-US/main.2b2519a8a9927790.js @@ -0,0 +1,3 @@ +globalThis.$localize=Object.assign(globalThis.$localize || {},{locale:"en-US"}); +"use strict";(function(global){global.ng=global.ng||{};global.ng.common=global.ng.common||{};global.ng.common.locales=global.ng.common.locales||{};const u=undefined;function plural(val){const n=val,i=Math.floor(Math.abs(val)),v=val.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en"]=["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["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"]],u,[["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"]],u,[["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}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(typeof globalThis!=="undefined"&&globalThis||typeof global!=="undefined"&&global||typeof window!=="undefined"&&window);; +"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([[179],{2560:(Ue,oe,S)=>{S.d(oe,{a:()=>Z});var l=S(6689),v=S(9919),ee=S(2333);let Z=(()=>{class j{constructor(G,A){this.router=G,this.authSvc=A}canActivate(G,A){return this.checkLogin(A.url)}canActivateChild(G,A){return this.canActivate(G,A)}canLoad(G){return this.checkLogin(`/${G.path}`)}checkLogin(G){return!(this.authSvc.isSecureMode&&!this.authSvc.isGatewayLoggedIn&&!this.authSvc.isAclLoggedIn)||this.router.parseUrl("/login")}static#e=this.\u0275fac=function(A){return new(A||j)(l.LFG(v.F0),l.LFG(ee.e))};static#t=this.\u0275prov=l.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},3685:(Ue,oe,S)=>{S.d(oe,{e:()=>ee});var l=S(6689);let ee=(()=>{class Z{constructor(){this.messages=[]}success(B="operation",G){this.messages.push({class:"alert alert-success shadow rounded alert-dismissible fade show",content:`${B} success! ${G||""}`})}errors(B){this.messages.push({class:"alert alert-danger shadow rounded alert-dismissible fade show",content:B})}clear(){this.messages.shift()}static#e=this.\u0275fac=function(G){return new(G||Z)};static#t=this.\u0275prov=l.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})()},2333:(Ue,oe,S)=>{S.d(oe,{e:()=>Z});var l=S(6689),v=S(9862),ee=S(8027);let Z=(()=>{class j{constructor(G,A){this.http=G,this.errorSvc=A,this.gatewayToken=null,this.aclToken=null,this.isGatewayLoggedIn=!1,this.isAclLoggedIn=!1,this.redirectUrl=null,this.isSecureMode=!1}tokenValidate(G){return this.http.get(G)}setGatewayToken(G){this.gatewayToken=G||"",window.sessionStorage.setItem("EdgeX_Gateway_Token",this.gatewayToken)}setAclToken(G){this.aclToken=G||"",window.sessionStorage.setItem("EdgeX_ACL_Token",this.aclToken)}getGatewayToken(){if(this.gatewayToken)return this.gatewayToken;let G=window.sessionStorage.getItem("EdgeX_Gateway_Token");return G&&(this.gatewayToken=G),this.gatewayToken}getAclToken(){if(this.aclToken)return this.aclToken;let G=window.sessionStorage.getItem("EdgeX_ACL_Token");return G&&(this.aclToken=G),this.aclToken}static#e=this.\u0275fac=function(A){return new(A||j)(l.LFG(v.eN),l.LFG(ee.T))};static#t=this.\u0275prov=l.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},2848:(Ue,oe,S)=>{S.d(oe,{D:()=>j});var l=S(6306),v=S(6689),ee=S(9862),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/core-data",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.endpointHealthUrl=`${this.urlPrefix}/ping`,this.eventCountUrl=`${this.urlPrefix}/event/count`,this.readingCountUrl=`${this.urlPrefix}/reading/count`,this.allEventsUrl=`${this.urlPrefix}/event/all`,this.allReadingsUrl=`${this.urlPrefix}/reading/all`,this.associatedEventsByDeviceNameUrl=`${this.urlPrefix}/event/device/name/`,this.associatedReadinsByDeviceNameUrl=`${this.urlPrefix}/reading/device/name/`}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}endpointHealth(){return this.http.get(`${this.endpointHealthUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}eventCount(){return this.http.get(`${this.eventCountUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}readingCount(){return this.http.get(`${this.readingCountUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}allEventsPagination(A,T){return this.http.get(`${this.allEventsUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}allReadingsPagination(A,T){return this.http.get(`${this.allReadingsUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}allAssocaitedReadingsByDeviceNamePagination(A,T){return this.http.get(`${this.associatedEventsByDeviceNameUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}allAssocaitedEventsByDeviceNamePagination(A,T){return this.http.get(`${this.associatedReadinsByDeviceNameUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}static#e=this.\u0275fac=function(T){return new(T||B)(v.LFG(ee.eN),v.LFG(Z.T))};static#t=this.\u0275prov=v.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},8027:(Ue,oe,S)=>{S.d(oe,{T:()=>Z});var l=S(8504),v=S(6689),ee=S(3685);let Z=(()=>{class j{constructor(G){this.msgSvc=G}handleErrorForAPI(G){let A=Object.prototype.toString.call(G);if("[object Array]"===A){if(!G[0].statusCode.toString().startsWith("20"))return this.msgSvc.errors(`code: ${G[0].statusCode}, message: ${G[0].message}`),!0}else if("[object Object]"===A&&!G.statusCode.toString().startsWith("20"))return this.msgSvc.errors(`code: ${G.statusCode}, message: ${G.message}`),!0;return!1}handleError(G){return G.error instanceof ErrorEvent?this.msgSvc.errors(`'An error occurred:', ${G.error.message}`):"[object Object]"===Object.prototype.toString.call(G.error)?this.msgSvc.errors(`code: ${G.error.statusCode} , message: ${G.error.message}`):"[object String]"===Object.prototype.toString.call(G.error)?this.msgSvc.errors(`code: ${G.status} , message: ${G.error}`):this.msgSvc.errors(`code: ${G.status} , message: ${G.message}`),(0,l._)(`Backend returned code ${G.status}, body was: ${G.error.message}`)}static#e=this.\u0275fac=function(A){return new(A||j)(v.LFG(ee.e))};static#t=this.\u0275prov=v.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},5167:(Ue,oe,S)=>{S.d(oe,{D:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/core-metadata",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.devicesListUrl=`${this.urlPrefix}/device/all`,this.addOneDeviceUrl=`${this.urlPrefix}/device`,this.updateOneDeviceUrl=`${this.urlPrefix}/device`,this.deleteOneDeviceByIdUrl=`${this.urlPrefix}/device/Id`,this.deleteOneDeviceByNameUrl=`${this.urlPrefix}/device/name`,this.findDeviceByNameUrl=`${this.urlPrefix}/device/name`,this.findDeviceByIdUrl=`${this.urlPrefix}/device/id`,this.findDevicesByServiceIdUrl=`${this.urlPrefix}/device/service/id`,this.findDevicesByServiceNameUrl=`${this.urlPrefix}/device/service/name`,this.findDevicesByProfileIdUrl=`${this.urlPrefix}/device/profile/id`,this.findDevicesByProfileNameUrl=`${this.urlPrefix}/device/profile/name`,this.deviceServicesListUrl=`${this.urlPrefix}/deviceservice/all`,this.updateDeviceServiceUrl=`${this.urlPrefix}/deviceservice`,this.findDeviceServiceByIdUrl=`${this.urlPrefix}/deviceservice/id`,this.findDeviceServiceByNameUrl=`${this.urlPrefix}/deviceservice/name`,this.deviceProfilesListUrl=`${this.urlPrefix}/deviceprofile/all`,this.findProfilesByIdUrl=`${this.urlPrefix}/deviceprofile`,this.findProfilesByNameUrl=`${this.urlPrefix}/deviceprofile/name`,this.updateDeviceProfileUrl=`${this.urlPrefix}/deviceprofile`,this.uploadProfileYamlFileUrl=`${this.urlPrefix}/deviceprofile/uploadfile`,this.uploadProfileYamlContentUrl=`${this.urlPrefix}/deviceprofile/upload`,this.deviceProfileYamlUrl=`${this.urlPrefix}/deviceprofile/yaml`,this.deleteProfileByIdUrl=`${this.urlPrefix}/deviceprofile/id`,this.deleteProfileByNamedUrl=`${this.urlPrefix}/deviceprofile/name`,this.provisionWatcherListUrl=`${this.urlPrefix}/provisionwatcher/all`,this.addOneProvisionWatcherUrl=`${this.urlPrefix}/provisionwatcher`,this.deleteOneProvisionWatcherByNameUrl=`${this.urlPrefix}/provisionwatcher/name`,this.findProvisionWatcherByNameUrl=`${this.urlPrefix}/provisionwatcher/name`,this.updateOneProvisionWatcherUrl=`${this.urlPrefix}/provisionwatcher`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allDevices(){return this.http.get(`${this.devicesListUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allDevicesPagination(A,T){return this.http.get(`${this.devicesListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addDevice(A){let T=`${this.addOneDeviceUrl}`;return A.apiVersion="v3",this.http.post(T,JSON.stringify([{apiVersion:"v3",device:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}deleteOneDeviceByName(A){return this.http.delete(`${this.deleteOneDeviceByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteOneDeviceById(A){return this.http.delete(`${this.deleteOneDeviceByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateDevice(A){return this.http.patch(`${this.updateOneDeviceUrl}`,JSON.stringify([{apiVersion:"v3",device:A}]),{headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findDeviceByName(A){return this.http.get(`${this.findDeviceByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDeviceById(A){return this.http.get(`${this.findDeviceByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevicesByServiceId(A){return this.http.get(`${this.findDevicesByServiceIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevicesByServiceName(A,T,N){return this.http.get(`${this.findDevicesByServiceNameUrl}/${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findDevicesByProfileId(A){return this.http.get(`${this.findDevicesByProfileIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevicesByProfileName(A,T,N){return this.http.get(`${this.findDevicesByProfileNameUrl}/${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}allDeviceServices(){return this.http.get(`${this.deviceServicesListUrl}?offset=0&limit=-1`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findAllDeviceServicesPagination(A,T){return this.http.get(`${this.deviceServicesListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateDeviceService(A){return this.http.patch(`${this.updateDeviceServiceUrl}`,JSON.stringify([{apiVersion:"v3",service:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findDevcieServiceById(A){return this.http.get(`${this.findDeviceServiceByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevcieServiceByName(A){return this.http.get(`${this.findDeviceServiceByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allDeviceProfoles(){return this.http.get(`${this.deviceProfilesListUrl}?offset=0&limit=-1`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allDeviceProfolesPagination(A,T){return this.http.get(`${this.deviceProfilesListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addProfileYamlByNameViaUIBackend(A){return this.http.request("POST","/api/v3/profile/yaml",{body:A,responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allProvisionWatchers(){return this.http.get(`${this.provisionWatcherListUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allProvisionWatchersPagination(A,T){return this.http.get(`${this.provisionWatcherListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addProvisionWatcher(A){let T=`${this.addOneProvisionWatcherUrl}`;return A.apiVersion="v3",this.http.post(T,JSON.stringify([{apiVersion:"v3",provisionWatcher:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}deleteOneProvisionWatcherByName(A){return this.http.delete(`${this.deleteOneProvisionWatcherByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProvisionWatcherByName(A){return this.http.get(`${this.findProvisionWatcherByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateProvisionWatcher(A){return this.http.patch(`${this.updateOneProvisionWatcherUrl}`,JSON.stringify([{apiVersion:"v3",provisionWatcher:A}]),{headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findProfileById(A){return this.http.get(`${this.findProfilesByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProfileByName(A){return this.http.get(`${this.findProfilesByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProfileYamlByNameViaUIBackend(A){return this.http.request("GET","/api/v3/profile/yaml/name/"+A,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}uploadProfileYamlFile(A){return this.http.request("POST",`${this.uploadProfileYamlFileUrl}`,{body:A,responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateDeviceProfile(A){return this.http.put(`${this.updateDeviceProfileUrl}`,A,this.httpPostOrPutJSONOptions).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateProfileYamlContentViaUIBackend(A){return this.http.put("/api/v3/profile/yaml",A,{headers:new l.WM({"Content-Type":"text/plain; charset=utf-8"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}uploadProfileYamlContent(A){return this.http.request("POST",`${this.uploadProfileYamlContentUrl}`,{body:A,responseType:"text",headers:new l.WM({"Content-Type":"text/plain; charset=utf-8"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProfileYamlById(A){return this.http.request("GET",`${this.deviceProfileYamlUrl}/${A}`,{responseType:"text"})}deleteProfileById(A){return this.http.delete(`${this.deleteProfileByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteProfileByName(A){return this.http.delete(`${this.deleteProfileByNamedUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},5425:(Ue,oe,S)=>{S.d(oe,{T:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/support-notifications",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.findNotificationByCategoryUrl=`${this.urlPrefix}/notification/category/`,this.findNotificationByLabelUrl=`${this.urlPrefix}/notification/label/`,this.findNotificationByStatusUrl=`${this.urlPrefix}/notification/status/`,this.findNotificationByStartEndUrl=`${this.urlPrefix}/notification/start/`,this.deleteNotificationByIdUrl=`${this.urlPrefix}/notification/id/`,this.deleteNotificationByAgeAndStatusUrl=`${this.urlPrefix}/notification/age/`,this.cleanupNotificationByAgeUrl=`${this.urlPrefix}/cleanup/age/`,this.cleanupNotificationAllUrl=`${this.urlPrefix}/cleanup`,this.findAllSubscriptionsPaginationUrl=`${this.urlPrefix}/subscription/all`,this.findAllSubscriptionsByCategoryPaginationUrl=`${this.urlPrefix}/subscription/category/`,this.findAllSubscriptionsByLabelPaginationUrl=`${this.urlPrefix}/subscription/label/`,this.findAllSubscriptionsByReceiverPaginationUrl=`${this.urlPrefix}/subscription/receiver/`,this.findOneSubscriptionsByNameUrl=`${this.urlPrefix}/subscription/name/`,this.addOneSubscriptionUrl=`${this.urlPrefix}/subscription`,this.updateOneSubscriptionUrl=`${this.urlPrefix}/subscription`,this.deleteOneSubscriptionByNameUrl=`${this.urlPrefix}/subscription/name/`,this.httpPostOrPutOrPatchJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findNotificationsByCategoryPagination(A,T,N){return this.http.get(`${this.findNotificationByCategoryUrl}${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findNotificationsByLabelPagination(A,T,N){return this.http.get(`${this.findNotificationByLabelUrl}${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findNotificationsByStatusPagination(A,T,N){return this.http.get(`${this.findNotificationByStatusUrl}${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findNotificationsByStartEndPagination(A,T,N,V){return this.http.get(`${this.findNotificationByStartEndUrl}${N}/end/${V}?offset=${A}&limit=${T}`).pipe((0,v.K)(xe=>this.errorSvc.handleError(xe)))}deleteNotificationByAgeAndStatus(A){return this.http.delete(`${this.deleteNotificationByAgeAndStatusUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteNotificationById(A){return this.http.delete(`${this.deleteNotificationByIdUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}cleanupNotificationByAge(A){return this.http.delete(`${this.cleanupNotificationByAgeUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}cleanupNotificationAll(){return this.http.delete(`${this.cleanupNotificationAllUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findAllSubscriptionPagination(A,T){return this.http.get(`${this.findAllSubscriptionsPaginationUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findOneSubscriptionByName(A){return this.http.get(`${this.findOneSubscriptionsByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}addOneSubscription(A){return this.http.post(`${this.addOneSubscriptionUrl}`,JSON.stringify([{apiVersion:"v3",subscription:A}]),this.httpPostOrPutOrPatchJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateOneSubscription(A){return this.http.patch(`${this.updateOneSubscriptionUrl}`,JSON.stringify([{apiVersion:"v3",subscription:A}]),this.httpPostOrPutOrPatchJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}deleteOneSubscriptionByName(A){return this.http.delete(`${this.deleteOneSubscriptionByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},8411:(Ue,oe,S)=>{S.d(oe,{r:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.version="/api/v3",this.pingUrl=`${this.version}/registrycenter/ping`,this.appSvcDeployConfigUrl=`${this.version}/registrycenter/deploy`,this.appSvcGetConfigUrl=`${this.version}/registrycenter/config`,this.appSvcAllUrl=`${this.version}/registrycenter/service/all`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.pingUrl}`)}getAppSvcConfigBySvcKey(A){return this.http.get(`${this.appSvcGetConfigUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deployToConsul(A,T){return this.http.post(`${this.appSvcDeployConfigUrl}/${T}`,JSON.stringify(A),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}getAllAppSvc(){return this.http.get(`${this.appSvcAllUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},2303:(Ue,oe,S)=>{S.d(oe,{n:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/rules-engine",this.version="",this.pingUrl=`${this.endpoint}${this.version}/ping`,this.streamUrl=`${this.endpoint}${this.version}/streams`,this.ruleUrl=`${this.endpoint}${this.version}/rules`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.pingUrl}`)}addStream(A){return this.http.request("POST",`${this.streamUrl}`,{body:A,responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteOneStreamById(A){return this.http.delete(`${this.streamUrl}/${A}`,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateStream(A,T){return this.http.request("PUT",`${this.streamUrl}/${T}`,{body:A,responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findStreamByName(A){return this.http.get(`${this.streamUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allStreams(){return this.http.get(`${this.streamUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}addRule(A){return this.http.request("POST",`${this.ruleUrl}`,{body:JSON.stringify(A),responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteOneRuleById(A){return this.http.delete(`${this.ruleUrl}/${A}`,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateRule(A){return this.http.request("PUT",`${this.ruleUrl}/${A.id}`,{body:JSON.stringify(A),responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findRuleById(A){return this.http.get(`${this.ruleUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allRules(){return this.http.get(`${this.ruleUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}getRuleStatusMetricsById(A){return this.http.get(`${this.ruleUrl}/${A}/status`,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}getRuleTopoById(A){return this.http.get(`${this.ruleUrl}/${A}/topo`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}executeRuleCommand(A,T){return this.http.post(`${this.ruleUrl}/${A}/${T}`,null,{responseType:"text"}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},4458:(Ue,oe,S)=>{S.d(oe,{G:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/support-scheduler",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.intervalListUrl=`${this.urlPrefix}/interval/all`,this.addOneIntervalUrl=`${this.urlPrefix}/interval`,this.updateOneIntervalUrl=`${this.urlPrefix}/interval`,this.findOneIntervalByNameUrl=`${this.urlPrefix}/interval/name/`,this.deleteOneIntervalByNameUrl=`${this.urlPrefix}/interval/name/`,this.intervalActionListUrl=`${this.urlPrefix}/intervalaction/all`,this.addOneIntervalActionUrl=`${this.urlPrefix}/intervalaction`,this.updateOneIntervaActionlUrl=`${this.urlPrefix}/intervalaction`,this.findOneIntervalActionByNameUrl=`${this.urlPrefix}/intervalaction/name/`,this.deleteOneIntervalActionByNameUrl=`${this.urlPrefix}/intervalaction/name/`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findAllIntervalsPagination(A,T){return this.http.get(`${this.intervalListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addInterval(A){return this.http.post(`${this.addOneIntervalUrl}`,JSON.stringify([{apiVersion:"v3",interval:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateInterval(A){return this.http.patch(`${this.updateOneIntervalUrl}`,JSON.stringify([{apiVersion:"v3",interval:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findIntervalByName(A){return this.http.get(`${this.findOneIntervalByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteIntervalByName(A){return this.http.delete(`${this.deleteOneIntervalByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findAllIntervalActionsPagination(A,T){return this.http.get(`${this.intervalActionListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addIntervalAction(A){return this.http.post(`${this.addOneIntervalActionUrl}`,JSON.stringify([{apiVersion:"v3",action:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateIntervalAction(A){return this.http.patch(`${this.updateOneIntervaActionlUrl}`,JSON.stringify([{apiVersion:"v3",action:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findIntervalActionByName(A){return this.http.get(`${this.findOneIntervalActionByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteIntervalActionByName(A){return this.http.delete(`${this.deleteOneIntervalActionByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},1742:(Ue,oe,S)=>{S.d(oe,{J:()=>B});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027),j=S(8411);let B=(()=>{class G{constructor(T,N,V){this.http=T,this.errorSvc=N,this.registrySvc=V,this.endpoint="/sys-mgmt-agent",this.version2="/api/v3",this.urlPrefix=`${this.endpoint}${this.version2}`,this.pingUrl="/ping",this.allRegisteredSvcUrl="/api/v3/registrycenter/service/all",this.configUrl=`${this.urlPrefix}/system/config`,this.metricsUrl=`${this.urlPrefix}/system/metrics`,this.healthUrl=`${this.urlPrefix}/system/health`,this.operationUrl=`${this.urlPrefix}/system/operation`,this.httpPostOrPutOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getRegisteredServiceAll(){return this.registrySvc.getAllAppSvc()}getConfigBySvcName(T){return this.http.get(`${this.configUrl}?services=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}getMetricsBySvcName(T){return this.http.get(`${this.metricsUrl}?services=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}getAllSvcHealth(T){return this.http.get(`${this.healthUrl}?services=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}operate(T){return this.http.post(`${this.operationUrl}`,JSON.stringify(T),this.httpPostOrPutOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}startV2(T){return this.operate([{apiVersion:"v3",serviceName:T,action:"start"}])}stopV2(T){return this.operate([{apiVersion:"v3",serviceName:T,action:"stop"}])}restartV2(T){return this.operate([{apiVersion:"v3",serviceName:T,action:"restart"}])}static#e=this.\u0275fac=function(N){return new(N||G)(ee.LFG(l.eN),ee.LFG(Z.T),ee.LFG(j.r))};static#t=this.\u0275prov=ee.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})()},2320:(Ue,oe,S)=>{var l=S(6593),v=S(6689),ee=S(9862),Z=S(6223),j=S(6814),B=S(9919),G=S(2560),A=S(6306),T=S(8504),N=S(8027);let V=(()=>{class W{constructor(ye,Me){this.http=ye,this.errorSvc=Me,this.endpoint="",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.secureModeUrl=`${this.urlPrefix}/auth/securemode`}getSecureMode(){return this.http.get(`${this.secureModeUrl}`,{responseType:"text"}).pipe((0,A.K)(Me=>this.errorSvc.handleError(Me)))}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.LFG(ee.eN),v.LFG(N.T))};static#t=this.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();var ue=S(2333);let xe=(()=>{class W{constructor(ye,Me,he,Oe,yt){this.initSvc=ye,this.errorSvc=Me,this.authSvc=he,this.router=Oe,this.route=yt}ngOnInit(){this.initializor()}initializor(){this.environmentCheck()}environmentCheck(){this.progressMsg="environment checking",this.initSvc.getSecureMode().subscribe(ye=>{"secure"===ye?(this.authSvc.isSecureMode=!0,this.tokenValidate()):(this.authSvc.isSecureMode=!1,this.navigateToHome())})}tokenValidate(){this.progressMsg="access token validating",this.authSvc.tokenValidate("/core-metadata/api/v3/ping").pipe((0,A.K)(ye=>(this.authSvc.isGatewayLoggedIn=!1,this.router.navigate(["/login"],{relativeTo:this.route}),(0,T._)(ye)))).subscribe(()=>{this.authSvc.isGatewayLoggedIn=!0,this.navigateToHome()})}navigateToHome(){this.router.navigate(["/dashboard"],{relativeTo:this.route})}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(V),v.Y36(N.T),v.Y36(ue.e),v.Y36(B.F0),v.Y36(B.gz))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-initializer"]],decls:16,vars:1,consts:[[1,"init","text-center","bg-dark"],[1,"init-progress"],["role","status",1,"spinner-grow","text-success"],[1,"sr-only"],["role","status",1,"spinner-grow","text-danger"],["role","status",1,"spinner-grow","text-warning"],["role","status",1,"spinner-grow","text-info"],[1,"text-light"]],template:function(Me,he){1&Me&&(v.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"span",3),v._uU(4,"Loading..."),v.qZA()(),v.TgZ(5,"div",4)(6,"span",3),v._uU(7,"Loading..."),v.qZA()(),v.TgZ(8,"div",5)(9,"span",3),v._uU(10,"Loading..."),v.qZA()(),v.TgZ(11,"div",6)(12,"span",3),v._uU(13,"Loading..."),v.qZA()(),v.TgZ(14,"p",7),v._uU(15),v.qZA()()()),2&Me&&(v.xp6(15),v.hij("",he.progressMsg,"..."))},styles:[".init[_ngcontent-%COMP%]{position:fixed;inset:0 0 -100px;z-index:999}.init-progress[_ngcontent-%COMP%]{position:absolute;left:0;right:0;top:45%}"]})}return W})();var Pe=S(2096),Ve=S(2848),ht=S(5167),ze=S(5425),Le=S(4458),mt=S(2303),Xe=S(1742),Ie=S(8411);function Ce(W,Vt){if(1&W&&(v.TgZ(0,"p",6),v._UZ(1,"span",7),v._uU(2),v.qZA()),2&W){const ye=v.oxw();v.xp6(2),v.hij(" The ",ye.svcName," service is inaccessible!!! please try again later! ")}}const Ee=[{path:"dashboard",canLoad:[G.a],loadChildren:()=>S.e(489).then(S.bind(S,2489)).then(W=>W.DashboardModule)},{path:"metadata",canLoad:[G.a],loadChildren:()=>S.e(649).then(S.bind(S,2649)).then(W=>W.MetadataModule)},{path:"core-data",canLoad:[G.a],loadChildren:()=>S.e(432).then(S.bind(S,3432)).then(W=>W.CoreDataModule)},{path:"notifications",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(875),S.e(744)]).then(S.bind(S,9744)).then(W=>W.NotificationsModule)},{path:"scheduler",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(875),S.e(934),S.e(806)]).then(S.bind(S,7246)).then(W=>W.SchedulerModule)},{path:"rule-engine",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(649),S.e(326),S.e(934),S.e(342)]).then(S.bind(S,8342)).then(W=>W.RuleEngineModule)},{path:"app-service",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(649),S.e(326),S.e(79)]).then(S.bind(S,3079)).then(W=>W.AppServiceModule)},{path:"initializer",component:xe},{path:"svc-unavailable",component:(()=>{class W{constructor(ye,Me,he,Oe,yt,Tt,Rt,Je,et){this.router=ye,this.route=Me,this.coredataSvc=he,this.metadataSvc=Oe,this.notiSvc=yt,this.schedulerSvc=Tt,this.ruleSvc=Rt,this.systemSvc=Je,this.registrySvc=et,this.refresgMsg=!1,this.refreshBtnDisable=!1}ngOnInit(){this.route.queryParams.subscribe(ye=>{this.svcName=ye.svcName,this.routerPath=ye.routerPath})}refresh(){this.refreshBtnDisable=!0,this.ping().pipe((0,A.K)(ye=>(this.refresgMsg=!0,window.setTimeout(()=>{this.refresgMsg=!1,this.refreshBtnDisable=!1},3e3),(0,T._)(()=>"Something bad happened; please try again later.")))).subscribe(()=>this.router.navigate([`${this.routerPath}`]))}ping(){switch(this.svcName){case"core data":return this.coredataSvc.ping();case"metadata":return this.metadataSvc.ping();case"scheduler":return this.schedulerSvc.ping();case"notification":return this.notiSvc.ping();case"rule engine":return this.ruleSvc.ping();case"system agent":return this.systemSvc.ping();case"registry center":return this.registrySvc.ping();default:return(0,Pe.of)()}}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(B.F0),v.Y36(B.gz),v.Y36(Ve.D),v.Y36(ht.D),v.Y36(ze.T),v.Y36(Le.G),v.Y36(mt.n),v.Y36(Xe.J),v.Y36(Ie.r))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-service-unavailable"]],decls:11,vars:5,consts:[["class","alert alert-danger","role","alert",4,"ngIf"],[1,"jumbotron"],[1,"display-5"],[1,"lead"],[1,"my-4"],["role","button",1,"btn","btn-primary","btn-sm",3,"disabled","click"],["role","alert",1,"alert","alert-danger"],[1,"fa","fa-warning"]],template:function(Me,he){1&Me&&(v.YNc(0,Ce,3,1,"p",0),v.TgZ(1,"div",1)(2,"h2",2),v._uU(3),v.qZA(),v.TgZ(4,"p",3),v._uU(5),v.qZA(),v._UZ(6,"hr",4),v.TgZ(7,"p"),v._uU(8,"EdgeXFoundry uses a microservices architecture, each service is running independently, please make sure that the current service is already running, if you have manually started the service, click the Refresh button."),v.qZA(),v.TgZ(9,"button",5),v.NdJ("click",function(){return he.refresh()}),v._uU(10,"Refresh"),v.qZA()()),2&Me&&(v.Q6J("ngIf",he.refresgMsg),v.xp6(3),v.hij("Oops!!! ",he.svcName," service is unavailable!"),v.xp6(2),v.AsE("This could be a network reason, or it could be that the ",he.svcName," microservice is not running, make sure there is no network problem or that the ",he.svcName," service is already running!"),v.xp6(4),v.Q6J("disabled",he.refreshBtnDisable))},dependencies:[j.O5],styles:[".btn[disabled][_ngcontent-%COMP%]:hover{cursor:not-allowed}"]})}return W})()}];let Te=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W});static#n=this.\u0275inj=v.cJS({imports:[B.Bz.forRoot(Ee,{useHash:!0}),B.Bz]})}return W})();var ve=S(2181),Ze=S(3685);function Ye(W,Vt){if(1&W){const ye=v.EpF();v.TgZ(0,"div")(1,"div",3)(2,"span",4),v.NdJ("click",function(){const Oe=v.CHM(ye).$implicit,yt=v.oxw(2);return v.KtG(yt.close(Oe))}),v.TgZ(3,"span",5),v._uU(4,"\xd7"),v.qZA()(),v.TgZ(5,"div"),v._uU(6),v.qZA()()()}if(2&W){const ye=Vt.$implicit;v.xp6(1),v.Tol(ye.class),v.xp6(5),v.hij(" ",ye.content," ")}}function _e(W,Vt){if(1&W&&(v.TgZ(0,"div",1),v.YNc(1,Ye,7,3,"div",2),v.qZA()),2&W){const ye=v.oxw();v.xp6(1),v.Q6J("ngForOf",ye.messageService.messages)}}let Gt=(()=>{class W{constructor(ye){this.messageService=ye}ngOnInit(){}close(ye){this.messageService.messages.splice(this.messageService.messages.indexOf(ye),1)}ngOnDestroy(){this.timer&&clearInterval(this.timer)}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(Ze.e))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-message"]],decls:1,vars:1,consts:[["class","position-fixed overflow-hidden text-break","style","top: 10px; right: 0;min-width: 300px; max-width: 300px;z-index: 999;",4,"ngIf"],[1,"position-fixed","overflow-hidden","text-break",2,"top","10px","right","0","min-width","300px","max-width","300px","z-index","999"],[4,"ngFor","ngForOf"],["role","alert"],["type","button","aria-label","Close",1,"btn","btn-lg","close",3,"click"],["aria-hidden","true"]],template:function(Me,he){1&Me&&v.YNc(0,_e,2,1,"div",0),2&Me&&v.Q6J("ngIf",he.messageService.messages.length)},dependencies:[j.sg,j.O5]})}return W})();function He(W,Vt){if(1&W&&(v.TgZ(0,"a",49),v._uU(1),v.qZA()),2&W){const ye=v.oxw().$implicit,Me=v.oxw();v.s9C("routerLink",Me.navChainMap.get(ye)),v.xp6(1),v.hij(" ",Me.pathFormat(ye)," ")}}function Qe(W,Vt){if(1&W&&(v.TgZ(0,"span",50),v._uU(1),v.qZA()),2&W){const ye=v.oxw().$implicit,Me=v.oxw();v.xp6(1),v.hij(" ",Me.pathFormat(ye)," ")}}function zt(W,Vt){1&W&&(v.TgZ(0,"span"),v._uU(1,">"),v.qZA())}function Mt(W,Vt){if(1&W&&(v.TgZ(0,"h6",35),v.YNc(1,He,2,2,"a",47),v.YNc(2,Qe,2,1,"span",48),v.YNc(3,zt,2,0,"span",46),v.qZA()),2&W){const ye=Vt.index,Me=v.oxw();v.xp6(1),v.Q6J("ngIf",ye!==Me.navChain.length-1),v.xp6(1),v.Q6J("ngIf",ye==Me.navChain.length-1),v.xp6(1),v.Q6J("ngIf",ye!==Me.navChain.length-1)}}function sn(W,Vt){1&W&&(v.TgZ(0,"div",51)(1,"div"),v._UZ(2,"span",52),v.TgZ(3,"span"),v._uU(4,"Loading..."),v.qZA()()())}function Q(W,Vt){1&W&&v._UZ(0,"router-outlet")}const q=function(){return{exact:!1}};let re=(()=>{class W{constructor(ye,Me){this.activatedRoute=ye,this.router=Me,this.title="EdgeX Console",this.isSelected=!1,this.toggleClass="",this.shrink=!1,this.shrinkSidebarOnly=!1,this.shrinkCenterNo=!1,this.navChainMap=new Map,this.navChainCache=[],this.navChain=[],this.currentNav="",this.loading=!1,this.navRecognized=Me.events.pipe((0,ve.h)(he=>he instanceof B.R9)),this.navStart=Me.events.pipe((0,ve.h)(he=>he instanceof B.OD)),this.navEnd=Me.events.pipe((0,ve.h)(he=>he instanceof B.m2)),this.childStart=Me.events.pipe((0,ve.h)(he=>he instanceof B.Eb))}ngOnInit(){this.router.events.subscribe(ye=>{ye instanceof B.OD&&(this.loading=!0),(ye instanceof B.m2||ye instanceof B.gk||ye instanceof B.Q3)&&(this.loading=!1)}),this.navEnd.subscribe(ye=>{this.navChainCache=[],this.navChainMap=new Map,this.currentNav=ye.urlAfterRedirects.split("?")[0].split("/").pop(),this.navChain=ye.urlAfterRedirects.split("?")[0].split("/"),this.navChain.shift();let Me=this;this.navChain.map(Oe=>Oe).reverse().forEach(function(Oe,yt){let Je=Me.navChain.map(et=>et).reverse().slice(yt).reverse().join("/");Me.navChainCache.push("/"+Je),Me.navChainMap.set(Oe,"/"+Je)}),this.navChainCache.reverse()}),$(window).resize(()=>{this.shrinkCenterNo=!1,this.shrink=document.body.clientWidth<1340}),this.router.navigate(["/initializer"],{relativeTo:this.activatedRoute})}pathFormat(ye){let Me=ye.split("-");return Me.forEach((he,Oe)=>{Me[Oe]=he.charAt(0).toUpperCase()+he.substring(1)}),Me.join(" ")}sideBarToggle(){this.shrink?(document.body.clientWidth<1340&&(this.shrinkCenterNo=!0),this.shrink=!1):(document.body.clientWidth<1340&&(this.shrinkCenterNo=!1),this.shrink=!0)}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(B.gz),v.Y36(B.F0))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-root"]],decls:60,vars:44,consts:function(){let ye,Me,he,Oe,yt,Tt,Rt,Je;return ye="Dashboard",Me="Metadata",he="DataCenter",Oe="Scheduler",yt="Notifications",Tt="RuleEngine",Rt="AppService",Je="English",[[1,"container-fluid"],[1,"row"],[1,"px-0"],[1,"sidebar-center","font-weight-bold","text-white","vh-100"],[1,"sidebar-header","p-2"],["src","assets/img/bg_x.png","width","35","height","34","alt","","loading","lazy",1,"mt-2"],[1,"float-right","mt-3","mr-2"],["role","button",1,"fa","fa-navicon","fa-lg","text-light",3,"click"],[1,"overflow-hidden"],[1,"nav","flex-column"],["data-testid","menu-item-dashboard","routerLink","/dashboard","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-tachometer","fa-fw","mr-5"],["data-testid","menu-item-dashboard-text"],ye,["routerLink","/metadata","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-cubes","fa-fw","mr-5"],Me,["routerLink","/core-data","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-database","fa-fw","mr-5"],he,["routerLink","/scheduler","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-clock-o","fa-fw","mr-5"],Oe,["routerLink","/notifications","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-envelope","fa-fw","mr-5"],yt,["routerLink","/rule-engine","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-sliders","fa-fw","mr-5"],Tt,["routerLink","/app-service","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-cloud-upload","fa-fw","mr-5"],Rt,[1,"col-12"],[1,"bg-light","center-header","px-3","pt-2","font-weight-bold"],[1,"nav-router","mw-100","align-middle"],[1,"d-inline"],[1,"dropdown","float-right"],["id","dropdownLangLink","type","button","data-toggle","dropdown","aria-haspopup","true","aria-expanded","false",1,"btn","btn-secondary","btn-sm","dropdown-toggle"],Je,["aria-labelledby","dropdownLangLink",1,"dropdown-menu","dropdown-menu-sm","dropdown-menu-right"],["href","/",1,"dropdown-item"],["href","/zh",1,"dropdown-item"],[1,"mw-100","align-middle","mt-1"],["class","d-inline",4,"ngFor","ngForOf"],[1,"center-center","p-3"],["class","text-center","style","margin-top: 20%;",4,"ngIf"],[4,"ngIf"],["class","text-decoration-none d-inline",3,"routerLink",4,"ngIf"],["class","text-decoration-none d-inline",4,"ngIf"],[1,"text-decoration-none","d-inline",3,"routerLink"],[1,"text-decoration-none","d-inline"],[1,"text-center",2,"margin-top","20%"],["role","status","aria-hidden","true",1,"spinner-border","mr-2"]]},template:function(Me,he){1&Me&&(v._UZ(0,"app-message"),v.TgZ(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),v._UZ(6,"img",5),v.TgZ(7,"p",6)(8,"i",7),v.NdJ("click",function(){return he.sideBarToggle()}),v.qZA()()(),v.TgZ(9,"div",8)(10,"nav",9)(11,"a",10),v._UZ(12,"i",11),v.TgZ(13,"span",12),v.SDv(14,13),v.qZA()(),v.TgZ(15,"a",14),v._UZ(16,"i",15),v.TgZ(17,"span"),v.SDv(18,16),v.qZA()(),v.TgZ(19,"a",17),v._UZ(20,"i",18),v.TgZ(21,"span"),v.SDv(22,19),v.qZA()(),v.TgZ(23,"a",20),v._UZ(24,"i",21),v.TgZ(25,"span"),v.SDv(26,22),v.qZA()(),v.TgZ(27,"a",23),v._UZ(28,"i",24),v.TgZ(29,"span"),v.SDv(30,25),v.qZA()(),v.TgZ(31,"a",26),v._UZ(32,"i",27),v.TgZ(33,"span"),v.SDv(34,28),v.qZA()(),v.TgZ(35,"a",29),v._UZ(36,"i",30),v.TgZ(37,"span"),v.SDv(38,31),v.qZA()()()()()(),v.TgZ(39,"div",32)(40,"div")(41,"nav",33)(42,"div",34)(43,"h4",35),v._uU(44),v.qZA(),v.TgZ(45,"div",36)(46,"button",37)(47,"span"),v.SDv(48,38),v.qZA()(),v.TgZ(49,"div",39)(50,"a",40),v._uU(51,"English"),v.qZA(),v.TgZ(52,"a",41),v._uU(53,"\u4e2d\u6587\u7b80\u4f53"),v.qZA()()()(),v.TgZ(54,"div",42)(55,"div",35),v.YNc(56,Mt,4,3,"h6",43),v.qZA()()(),v.TgZ(57,"div",44),v.YNc(58,sn,5,0,"div",45),v.YNc(59,Q,1,0,"router-outlet",46),v.qZA()()()()()),2&Me&&(v.xp6(3),v.ekj("sidebar-shrink",he.shrink)("sidebar",!he.shrink),v.xp6(3),v.ekj("d-none",he.shrink),v.xp6(5),v.Q6J("routerLinkActiveOptions",v.DdM(37,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(38,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(39,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(40,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(41,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(42,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(43,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(3),v.ekj("center-shrink",he.shrink)("center-no-shrink",he.shrinkCenterNo)("center",!he.shrink),v.xp6(4),v.Oqu(he.pathFormat(he.currentNav)),v.xp6(12),v.Q6J("ngForOf",he.navChain),v.xp6(2),v.Q6J("ngIf",he.loading),v.xp6(1),v.Q6J("ngIf",!he.loading))},dependencies:[j.sg,j.O5,B.lC,B.rH,B.Od,Gt],styles:[".sidebar[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:250px;z-index:10}.sidebar-shrink[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:45px;z-index:10}.sidebar-center[_ngcontent-%COMP%]{background-color:#2d2848e6!important}.sidebar-header[_ngcontent-%COMP%]{background-color:#2d2848!important;height:65px}.active-link[_ngcontent-%COMP%], .sidebar-center[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover{color:#922c48;background-color:#922c4866!important}.center[_ngcontent-%COMP%]{position:absolute;left:250px;right:0}.center-shrink[_ngcontent-%COMP%], .center-no-shrink[_ngcontent-%COMP%]{position:absolute;left:45px;right:0}.center-header[_ngcontent-%COMP%]{height:65px}"]})}return W})();var ne=S(7398),me=S(9315);function pe(W,Vt){1&W&&(v.TgZ(0,"button",22),v._UZ(1,"span",23),v.TgZ(2,"span"),v._uU(3,"Loading..."),v.qZA()())}function qe(W,Vt){if(1&W){const ye=v.EpF();v.TgZ(0,"button",24),v.NdJ("click",function(){v.CHM(ye);const he=v.oxw();return v.KtG(he.login())}),v.TgZ(1,"span"),v.SDv(2,25),v.qZA()()}}const Lt=[{path:"login",component:(()=>{class W{constructor(ye,Me,he,Oe){this.authSvc=ye,this.errorSvc=Me,this.router=he,this.route=Oe,this.loading=!1,this.gatewayToken=null,this.gatewayTokenIsValid=!1,this.aclToken=null,this.aclTokenIsValid=!1,this.userInputAdded=!1,this.loginAttempted=!1,this.serviceName="",this.routerPath=""}ngOnInit(){this.gatewayToken=this.authSvc.getGatewayToken()||"",this.aclToken=this.authSvc.getAclToken()||"",this.gatewayTokenIsValid=this.authSvc.isGatewayLoggedIn,this.aclTokenIsValid=this.authSvc.isAclLoggedIn;const ye=this.route.snapshot.queryParams;this.serviceName=ye.svcName,this.routerPath=ye.routerPath,(!this.routerPath||this.routerPath?.length<1)&&(this.routerPath="/dashboard")}get showGatewayTokenFields(){return""===this.gatewayToken&&!this.loginAttempted}get showAclTokenFields(){return""===this.aclToken&&!this.loginAttempted}get isGatewayTokenInvalid(){return!this.gatewayTokenIsValid&&this.loginAttempted}get isAclTokenInvalid(){return!this.aclTokenIsValid&&this.loginAttempted&&"registry center"===this.serviceName}login(){this.loading=!0,this.loginAttempted=!0,this.authSvc.setGatewayToken(this.gatewayToken),this.authSvc.setAclToken(this.aclToken);const ye=this.authSvc.tokenValidate("/core-metadata/api/v3/ping").pipe((0,ne.U)(he=>{this.authSvc.isGatewayLoggedIn=!0,this.gatewayTokenIsValid=!0}),(0,A.K)(he=>(this.authSvc.isGatewayLoggedIn=!1,this.gatewayToken=null,this.gatewayTokenIsValid=!1,(0,Pe.of)(null)))),Me=this.authSvc.tokenValidate("/api/v3/registrycenter/ping").pipe((0,ne.U)(he=>{this.authSvc.isAclLoggedIn=!0,this.aclTokenIsValid=!0}),(0,A.K)(he=>(this.authSvc.isAclLoggedIn=!1,this.aclToken=null,this.aclTokenIsValid=!1,(0,Pe.of)(null))));(0,me.D)([ye,Me]).pipe((0,A.K)(he=>(this.router.navigate(["/login"],{relativeTo:this.route}),[]))).subscribe(he=>{this.loading=!1,"registry center"===this.serviceName?this.authSvc.isAclLoggedIn&&this.router.navigate([this.routerPath],{relativeTo:this.route}):this.authSvc.isGatewayLoggedIn&&this.router.navigate([this.routerPath],{relativeTo:this.route})})}renderPopoverComponent(){$('[data-toggle="popover"]').popover({trigger:"hover"})}onInput(){this.userInputAdded=!0}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(ue.e),v.Y36(N.T),v.Y36(B.F0),v.Y36(B.gz))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-login"]],decls:30,vars:8,consts:function(){let ye,Me,he,Oe,yt,Tt,Rt;return ye="Log in to EdgeX with a token",Me="Gateway Token",he="the gateway token is invalid!",Oe="ACL Token [optional]",yt="the ACL token is invalid!",Tt="How to get access token?",Rt="Login",[[1,"login","bg-dark"],[1,"card","login-form"],[1,"card-header"],ye,[1,"card-body","bg-light","shadow"],[1,""],[1,"form-group"],["for","gatewayToken",1,"col-form-label"],[1,"mr-1"],Me,["type","password","id","gatewayToken","name","gatewayToken",1,"form-control",3,"ngModel","ngModelChange"],[1,"invalid-feedback"],he,["for","aclToken",1,"col-form-label"],Oe,["type","password","id","aclToken","name","aclToken",1,"form-control",3,"ngModel","ngModelChange"],yt,["class","btn btn-success btn-sm w-100","type","button","disabled","",4,"ngIf"],["type","button","class","btn btn-success btn-sm w-100",3,"click",4,"ngIf"],[1,"mt-2"],["href","https://docs.edgexfoundry.org/3.0/security/Ch-Authenticating/#how-to-make-authenticated-edgex-calls","target","_blank",1,"text-decoration-none"],Tt,["type","button","disabled","",1,"btn","btn-success","btn-sm","w-100"],["role","status","aria-hidden","true",1,"spinner-grow","spinner-grow-sm"],["type","button",1,"btn","btn-success","btn-sm","w-100",3,"click"],Rt]},template:function(Me,he){1&Me&&(v.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),v.SDv(4,3),v.qZA()(),v.TgZ(5,"div",4)(6,"form",5)(7,"div",6)(8,"label",7)(9,"span",8),v.SDv(10,9),v.qZA()(),v.TgZ(11,"div",5)(12,"input",10),v.NdJ("ngModelChange",function(yt){return he.gatewayToken=yt})("ngModelChange",function(){return he.onInput()}),v.qZA(),v.TgZ(13,"div",11)(14,"small"),v.SDv(15,12),v.qZA()()(),v.TgZ(16,"label",13)(17,"span",8),v.SDv(18,14),v.qZA()(),v.TgZ(19,"div",5)(20,"input",15),v.NdJ("ngModelChange",function(yt){return he.aclToken=yt})("ngModelChange",function(){return he.onInput()}),v.qZA(),v.TgZ(21,"div",11)(22,"small"),v.SDv(23,16),v.qZA()()()(),v.YNc(24,pe,4,0,"button",17),v.YNc(25,qe,3,0,"button",18),v.TgZ(26,"div",19)(27,"a",20)(28,"small"),v.SDv(29,21),v.qZA()()()()()()()),2&Me&&(v.xp6(12),v.ekj("is-invalid",he.isGatewayTokenInvalid),v.Q6J("ngModel",he.gatewayToken),v.xp6(8),v.ekj("is-invalid",he.isAclTokenInvalid),v.Q6J("ngModel",he.aclToken),v.xp6(4),v.Q6J("ngIf",he.loading),v.xp6(1),v.Q6J("ngIf",!he.loading))},dependencies:[j.O5,Z._Y,Z.Fj,Z.JJ,Z.JL,Z.On,Z.F],styles:[".login[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:999}.login-form[_ngcontent-%COMP%]{position:absolute;left:0;right:0;top:40%;width:350px;margin:auto}"]})}return W})()}];let ke=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W});static#n=this.\u0275inj=v.cJS({imports:[B.Bz.forChild(Lt),B.Bz]})}return W})(),vt=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W});static#n=this.\u0275inj=v.cJS({imports:[j.ez,Z.u5,ke]})}return W})();const rt=[{provide:ee.TP,useClass:(()=>{class W{constructor(ye){this.authSvc=ye}intercept(ye,Me){let he=ye.headers.set("X-Requested-With","XMLHttpRequest");if(this.authSvc.isSecureMode){let yt=`Bearer ${this.authSvc.getGatewayToken()}`,Tt=`${this.authSvc.getAclToken()}`;he=ye.headers.set("X-Requested-With","XMLHttpRequest").set("Authorization",yt).set("X-Consul-Token",Tt)}const Oe=ye.clone({headers:he});return Me.handle(Oe)}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.LFG(ue.e))};static#t=this.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),multi:!0}];let At=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W,bootstrap:[re]});static#n=this.\u0275inj=v.cJS({providers:[rt],imports:[l.b2,j.ez,Z.u5,ee.JF,Te,vt]})}return W})();(0,v.G48)(),l.q6().bootstrapModule(At).catch(W=>console.error(W))},5619:(Ue,oe,S)=>{S.d(oe,{X:()=>v});var l=S(8645);class v extends l.x{constructor(Z){super(),this._value=Z}get value(){return this.getValue()}_subscribe(Z){const j=super._subscribe(Z);return!j.closed&&Z.next(this._value),j}getValue(){const{hasError:Z,thrownError:j,_value:B}=this;if(Z)throw j;return this._throwIfClosed(),B}next(Z){super.next(this._value=Z)}}},5592:(Ue,oe,S)=>{S.d(oe,{y:()=>A});var l=S(305),v=S(7394),ee=S(4850),Z=S(8407),j=S(2653),B=S(4674),G=S(1441);let A=(()=>{class ue{constructor(Pe){Pe&&(this._subscribe=Pe)}lift(Pe){const Ve=new ue;return Ve.source=this,Ve.operator=Pe,Ve}subscribe(Pe,Ve,ht){const ze=function V(ue){return ue&&ue instanceof l.Lv||function N(ue){return ue&&(0,B.m)(ue.next)&&(0,B.m)(ue.error)&&(0,B.m)(ue.complete)}(ue)&&(0,v.Nn)(ue)}(Pe)?Pe:new l.Hp(Pe,Ve,ht);return(0,G.x)(()=>{const{operator:Le,source:mt}=this;ze.add(Le?Le.call(ze,mt):mt?this._subscribe(ze):this._trySubscribe(ze))}),ze}_trySubscribe(Pe){try{return this._subscribe(Pe)}catch(Ve){Pe.error(Ve)}}forEach(Pe,Ve){return new(Ve=T(Ve))((ht,ze)=>{const Le=new l.Hp({next:mt=>{try{Pe(mt)}catch(Xe){ze(Xe),Le.unsubscribe()}},error:ze,complete:ht});this.subscribe(Le)})}_subscribe(Pe){var Ve;return null===(Ve=this.source)||void 0===Ve?void 0:Ve.subscribe(Pe)}[ee.L](){return this}pipe(...Pe){return(0,Z.U)(Pe)(this)}toPromise(Pe){return new(Pe=T(Pe))((Ve,ht)=>{let ze;this.subscribe(Le=>ze=Le,Le=>ht(Le),()=>Ve(ze))})}}return ue.create=xe=>new ue(xe),ue})();function T(ue){var xe;return null!==(xe=ue??j.config.Promise)&&void 0!==xe?xe:Promise}},8645:(Ue,oe,S)=>{S.d(oe,{x:()=>G});var l=S(5592),v=S(7394);const Z=(0,S(2306).d)(T=>function(){T(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var j=S(9039),B=S(1441);let G=(()=>{class T extends l.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(V){const ue=new A(this,this);return ue.operator=V,ue}_throwIfClosed(){if(this.closed)throw new Z}next(V){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ue of this.currentObservers)ue.next(V)}})}error(V){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=V;const{observers:ue}=this;for(;ue.length;)ue.shift().error(V)}})}complete(){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:V}=this;for(;V.length;)V.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var V;return(null===(V=this.observers)||void 0===V?void 0:V.length)>0}_trySubscribe(V){return this._throwIfClosed(),super._trySubscribe(V)}_subscribe(V){return this._throwIfClosed(),this._checkFinalizedStatuses(V),this._innerSubscribe(V)}_innerSubscribe(V){const{hasError:ue,isStopped:xe,observers:Pe}=this;return ue||xe?v.Lc:(this.currentObservers=null,Pe.push(V),new v.w0(()=>{this.currentObservers=null,(0,j.P)(Pe,V)}))}_checkFinalizedStatuses(V){const{hasError:ue,thrownError:xe,isStopped:Pe}=this;ue?V.error(xe):Pe&&V.complete()}asObservable(){const V=new l.y;return V.source=this,V}}return T.create=(N,V)=>new A(N,V),T})();class A extends G{constructor(N,V){super(),this.destination=N,this.source=V}next(N){var V,ue;null===(ue=null===(V=this.destination)||void 0===V?void 0:V.next)||void 0===ue||ue.call(V,N)}error(N){var V,ue;null===(ue=null===(V=this.destination)||void 0===V?void 0:V.error)||void 0===ue||ue.call(V,N)}complete(){var N,V;null===(V=null===(N=this.destination)||void 0===N?void 0:N.complete)||void 0===V||V.call(N)}_subscribe(N){var V,ue;return null!==(ue=null===(V=this.source)||void 0===V?void 0:V.subscribe(N))&&void 0!==ue?ue:v.Lc}}},305:(Ue,oe,S)=>{S.d(oe,{Hp:()=>ht,Lv:()=>ue});var l=S(4674),v=S(7394),ee=S(2653),Z=S(3894),j=S(2420);const B=T("C",void 0,void 0);function T(Ie,Ce,$e){return{kind:Ie,value:Ce,error:$e}}var N=S(7599),V=S(1441);class ue extends v.w0{constructor(Ce){super(),this.isStopped=!1,Ce?(this.destination=Ce,(0,v.Nn)(Ce)&&Ce.add(this)):this.destination=Xe}static create(Ce,$e,Ee){return new ht(Ce,$e,Ee)}next(Ce){this.isStopped?mt(function A(Ie){return T("N",Ie,void 0)}(Ce),this):this._next(Ce)}error(Ce){this.isStopped?mt(function G(Ie){return T("E",void 0,Ie)}(Ce),this):(this.isStopped=!0,this._error(Ce))}complete(){this.isStopped?mt(B,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ce){this.destination.next(Ce)}_error(Ce){try{this.destination.error(Ce)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const xe=Function.prototype.bind;function Pe(Ie,Ce){return xe.call(Ie,Ce)}class Ve{constructor(Ce){this.partialObserver=Ce}next(Ce){const{partialObserver:$e}=this;if($e.next)try{$e.next(Ce)}catch(Ee){ze(Ee)}}error(Ce){const{partialObserver:$e}=this;if($e.error)try{$e.error(Ce)}catch(Ee){ze(Ee)}else ze(Ce)}complete(){const{partialObserver:Ce}=this;if(Ce.complete)try{Ce.complete()}catch($e){ze($e)}}}class ht extends ue{constructor(Ce,$e,Ee){let Te;if(super(),(0,l.m)(Ce)||!Ce)Te={next:Ce??void 0,error:$e??void 0,complete:Ee??void 0};else{let ve;this&&ee.config.useDeprecatedNextContext?(ve=Object.create(Ce),ve.unsubscribe=()=>this.unsubscribe(),Te={next:Ce.next&&Pe(Ce.next,ve),error:Ce.error&&Pe(Ce.error,ve),complete:Ce.complete&&Pe(Ce.complete,ve)}):Te=Ce}this.destination=new Ve(Te)}}function ze(Ie){ee.config.useDeprecatedSynchronousErrorHandling?(0,V.O)(Ie):(0,Z.h)(Ie)}function mt(Ie,Ce){const{onStoppedNotification:$e}=ee.config;$e&&N.z.setTimeout(()=>$e(Ie,Ce))}const Xe={closed:!0,next:j.Z,error:function Le(Ie){throw Ie},complete:j.Z}},7394:(Ue,oe,S)=>{S.d(oe,{Lc:()=>B,w0:()=>j,Nn:()=>G});var l=S(4674);const ee=(0,S(2306).d)(T=>function(V){T(this),this.message=V?`${V.length} errors occurred during unsubscription:\n${V.map((ue,xe)=>`${xe+1}) ${ue.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=V});var Z=S(9039);class j{constructor(N){this.initialTeardown=N,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let N;if(!this.closed){this.closed=!0;const{_parentage:V}=this;if(V)if(this._parentage=null,Array.isArray(V))for(const Pe of V)Pe.remove(this);else V.remove(this);const{initialTeardown:ue}=this;if((0,l.m)(ue))try{ue()}catch(Pe){N=Pe instanceof ee?Pe.errors:[Pe]}const{_finalizers:xe}=this;if(xe){this._finalizers=null;for(const Pe of xe)try{A(Pe)}catch(Ve){N=N??[],Ve instanceof ee?N=[...N,...Ve.errors]:N.push(Ve)}}if(N)throw new ee(N)}}add(N){var V;if(N&&N!==this)if(this.closed)A(N);else{if(N instanceof j){if(N.closed||N._hasParent(this))return;N._addParent(this)}(this._finalizers=null!==(V=this._finalizers)&&void 0!==V?V:[]).push(N)}}_hasParent(N){const{_parentage:V}=this;return V===N||Array.isArray(V)&&V.includes(N)}_addParent(N){const{_parentage:V}=this;this._parentage=Array.isArray(V)?(V.push(N),V):V?[V,N]:N}_removeParent(N){const{_parentage:V}=this;V===N?this._parentage=null:Array.isArray(V)&&(0,Z.P)(V,N)}remove(N){const{_finalizers:V}=this;V&&(0,Z.P)(V,N),N instanceof j&&N._removeParent(this)}}j.EMPTY=(()=>{const T=new j;return T.closed=!0,T})();const B=j.EMPTY;function G(T){return T instanceof j||T&&"closed"in T&&(0,l.m)(T.remove)&&(0,l.m)(T.add)&&(0,l.m)(T.unsubscribe)}function A(T){(0,l.m)(T)?T():T.unsubscribe()}},2653:(Ue,oe,S)=>{S.d(oe,{config:()=>l});const l={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6232:(Ue,oe,S)=>{S.d(oe,{E:()=>v});const v=new(S(5592).y)(j=>j.complete())},9315:(Ue,oe,S)=>{S.d(oe,{D:()=>A});var l=S(5592),v=S(7453),ee=S(4829),Z=S(4564),j=S(8251),B=S(7400),G=S(2714);function A(...T){const N=(0,Z.jO)(T),{args:V,keys:ue}=(0,v.D)(T),xe=new l.y(Pe=>{const{length:Ve}=V;if(!Ve)return void Pe.complete();const ht=new Array(Ve);let ze=Ve,Le=Ve;for(let mt=0;mt{Xe||(Xe=!0,Le--),ht[mt]=Ie},()=>ze--,void 0,()=>{(!ze||!Xe)&&(Le||Pe.next(ue?(0,G.n)(ue,ht):ht),Pe.complete())}))}});return N?xe.pipe((0,B.Z)(N)):xe}},7715:(Ue,oe,S)=>{S.d(oe,{D:()=>Ee});var l=S(4829),v=S(7103),ee=S(9360),Z=S(8251);function j(Te,ve=0){return(0,ee.e)((Ze,Ye)=>{Ze.subscribe((0,Z.x)(Ye,_e=>(0,v.f)(Ye,Te,()=>Ye.next(_e),ve),()=>(0,v.f)(Ye,Te,()=>Ye.complete(),ve),_e=>(0,v.f)(Ye,Te,()=>Ye.error(_e),ve)))})}function B(Te,ve=0){return(0,ee.e)((Ze,Ye)=>{Ye.add(Te.schedule(()=>Ze.subscribe(Ye),ve))})}var T=S(5592),V=S(4971),ue=S(4674);function Pe(Te,ve){if(!Te)throw new Error("Iterable cannot be null");return new T.y(Ze=>{(0,v.f)(Ze,ve,()=>{const Ye=Te[Symbol.asyncIterator]();(0,v.f)(Ze,ve,()=>{Ye.next().then(_e=>{_e.done?Ze.complete():Ze.next(_e.value)})},0,!0)})})}var Ve=S(8382),ht=S(4026),ze=S(4266),Le=S(3664),mt=S(5726),Xe=S(9853),Ie=S(541);function Ee(Te,ve){return ve?function $e(Te,ve){if(null!=Te){if((0,Ve.c)(Te))return function G(Te,ve){return(0,l.Xf)(Te).pipe(B(ve),j(ve))}(Te,ve);if((0,ze.z)(Te))return function N(Te,ve){return new T.y(Ze=>{let Ye=0;return ve.schedule(function(){Ye===Te.length?Ze.complete():(Ze.next(Te[Ye++]),Ze.closed||this.schedule())})})}(Te,ve);if((0,ht.t)(Te))return function A(Te,ve){return(0,l.Xf)(Te).pipe(B(ve),j(ve))}(Te,ve);if((0,mt.D)(Te))return Pe(Te,ve);if((0,Le.T)(Te))return function xe(Te,ve){return new T.y(Ze=>{let Ye;return(0,v.f)(Ze,ve,()=>{Ye=Te[V.h](),(0,v.f)(Ze,ve,()=>{let _e,Gt;try{({value:_e,done:Gt}=Ye.next())}catch(He){return void Ze.error(He)}Gt?Ze.complete():Ze.next(_e)},0,!0)}),()=>(0,ue.m)(Ye?.return)&&Ye.return()})}(Te,ve);if((0,Ie.L)(Te))return function Ce(Te,ve){return Pe((0,Ie.Q)(Te),ve)}(Te,ve)}throw(0,Xe.z)(Te)}(Te,ve):(0,l.Xf)(Te)}},4829:(Ue,oe,S)=>{S.d(oe,{Xf:()=>xe});var l=S(7582),v=S(4266),ee=S(4026),Z=S(5592),j=S(8382),B=S(5726),G=S(9853),A=S(3664),T=S(541),N=S(4674),V=S(3894),ue=S(4850);function xe(Ie){if(Ie instanceof Z.y)return Ie;if(null!=Ie){if((0,j.c)(Ie))return function Pe(Ie){return new Z.y(Ce=>{const $e=Ie[ue.L]();if((0,N.m)($e.subscribe))return $e.subscribe(Ce);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ie);if((0,v.z)(Ie))return function Ve(Ie){return new Z.y(Ce=>{for(let $e=0;$e{Ie.then($e=>{Ce.closed||(Ce.next($e),Ce.complete())},$e=>Ce.error($e)).then(null,V.h)})}(Ie);if((0,B.D)(Ie))return Le(Ie);if((0,A.T)(Ie))return function ze(Ie){return new Z.y(Ce=>{for(const $e of Ie)if(Ce.next($e),Ce.closed)return;Ce.complete()})}(Ie);if((0,T.L)(Ie))return function mt(Ie){return Le((0,T.Q)(Ie))}(Ie)}throw(0,G.z)(Ie)}function Le(Ie){return new Z.y(Ce=>{(function Xe(Ie,Ce){var $e,Ee,Te,ve;return(0,l.mG)(this,void 0,void 0,function*(){try{for($e=(0,l.KL)(Ie);!(Ee=yield $e.next()).done;)if(Ce.next(Ee.value),Ce.closed)return}catch(Ze){Te={error:Ze}}finally{try{Ee&&!Ee.done&&(ve=$e.return)&&(yield ve.call($e))}finally{if(Te)throw Te.error}}Ce.complete()})})(Ie,Ce).catch($e=>Ce.error($e))})}},2096:(Ue,oe,S)=>{S.d(oe,{of:()=>ee});var l=S(4564),v=S(7715);function ee(...Z){const j=(0,l.yG)(Z);return(0,v.D)(Z,j)}},8504:(Ue,oe,S)=>{S.d(oe,{_:()=>ee});var l=S(5592),v=S(4674);function ee(Z,j){const B=(0,v.m)(Z)?Z:()=>Z,G=A=>A.error(B());return new l.y(j?A=>j.schedule(G,0,A):G)}},8251:(Ue,oe,S)=>{S.d(oe,{x:()=>v});var l=S(305);function v(Z,j,B,G,A){return new ee(Z,j,B,G,A)}class ee extends l.Lv{constructor(j,B,G,A,T,N){super(j),this.onFinalize=T,this.shouldUnsubscribe=N,this._next=B?function(V){try{B(V)}catch(ue){j.error(ue)}}:super._next,this._error=A?function(V){try{A(V)}catch(ue){j.error(ue)}finally{this.unsubscribe()}}:super._error,this._complete=G?function(){try{G()}catch(V){j.error(V)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var j;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:B}=this;super.unsubscribe(),!B&&(null===(j=this.onFinalize)||void 0===j||j.call(this))}}}},6306:(Ue,oe,S)=>{S.d(oe,{K:()=>Z});var l=S(4829),v=S(8251),ee=S(9360);function Z(j){return(0,ee.e)((B,G)=>{let N,A=null,T=!1;A=B.subscribe((0,v.x)(G,void 0,void 0,V=>{N=(0,l.Xf)(j(V,Z(j)(B))),A?(A.unsubscribe(),A=null,N.subscribe(G)):T=!0})),T&&(A.unsubscribe(),A=null,N.subscribe(G))})}},6328:(Ue,oe,S)=>{S.d(oe,{b:()=>ee});var l=S(1631),v=S(4674);function ee(Z,j){return(0,v.m)(j)?(0,l.z)(Z,j,1):(0,l.z)(Z,1)}},3997:(Ue,oe,S)=>{S.d(oe,{x:()=>Z});var l=S(2737),v=S(9360),ee=S(8251);function Z(B,G=l.y){return B=B??j,(0,v.e)((A,T)=>{let N,V=!0;A.subscribe((0,ee.x)(T,ue=>{const xe=G(ue);(V||!B(N,xe))&&(V=!1,N=xe,T.next(ue))}))})}function j(B,G){return B===G}},2181:(Ue,oe,S)=>{S.d(oe,{h:()=>ee});var l=S(9360),v=S(8251);function ee(Z,j){return(0,l.e)((B,G)=>{let A=0;B.subscribe((0,v.x)(G,T=>Z.call(j,T,A++)&&G.next(T)))})}},4716:(Ue,oe,S)=>{S.d(oe,{x:()=>v});var l=S(9360);function v(ee){return(0,l.e)((Z,j)=>{try{Z.subscribe(j)}finally{j.add(ee)}})}},7398:(Ue,oe,S)=>{S.d(oe,{U:()=>ee});var l=S(9360),v=S(8251);function ee(Z,j){return(0,l.e)((B,G)=>{let A=0;B.subscribe((0,v.x)(G,T=>{G.next(Z.call(j,T,A++))}))})}},7537:(Ue,oe,S)=>{S.d(oe,{J:()=>ee});var l=S(1631),v=S(2737);function ee(Z=1/0){return(0,l.z)(v.y,Z)}},1631:(Ue,oe,S)=>{S.d(oe,{z:()=>A});var l=S(7398),v=S(4829),ee=S(9360),Z=S(7103),j=S(8251),G=S(4674);function A(T,N,V=1/0){return(0,G.m)(N)?A((ue,xe)=>(0,l.U)((Pe,Ve)=>N(ue,Pe,xe,Ve))((0,v.Xf)(T(ue,xe))),V):("number"==typeof N&&(V=N),(0,ee.e)((ue,xe)=>function B(T,N,V,ue,xe,Pe,Ve,ht){const ze=[];let Le=0,mt=0,Xe=!1;const Ie=()=>{Xe&&!ze.length&&!Le&&N.complete()},Ce=Ee=>Le{Pe&&N.next(Ee),Le++;let Te=!1;(0,v.Xf)(V(Ee,mt++)).subscribe((0,j.x)(N,ve=>{xe?.(ve),Pe?Ce(ve):N.next(ve)},()=>{Te=!0},void 0,()=>{if(Te)try{for(Le--;ze.length&&Le$e(ve)):$e(ve)}Ie()}catch(ve){N.error(ve)}}))};return T.subscribe((0,j.x)(N,Ce,()=>{Xe=!0,Ie()})),()=>{ht?.()}}(ue,xe,T,V)))}},4664:(Ue,oe,S)=>{S.d(oe,{w:()=>Z});var l=S(4829),v=S(9360),ee=S(8251);function Z(j,B){return(0,v.e)((G,A)=>{let T=null,N=0,V=!1;const ue=()=>V&&!T&&A.complete();G.subscribe((0,ee.x)(A,xe=>{T?.unsubscribe();let Pe=0;const Ve=N++;(0,l.Xf)(j(xe,Ve)).subscribe(T=(0,ee.x)(A,ht=>A.next(B?B(xe,ht,Ve,Pe++):ht),()=>{T=null,ue()}))},()=>{V=!0,ue()}))})}},8180:(Ue,oe,S)=>{S.d(oe,{q:()=>Z});var l=S(6232),v=S(9360),ee=S(8251);function Z(j){return j<=0?()=>l.E:(0,v.e)((B,G)=>{let A=0;B.subscribe((0,ee.x)(G,T=>{++A<=j&&(G.next(T),j<=A&&G.complete())}))})}},7599:(Ue,oe,S)=>{S.d(oe,{z:()=>l});const l={setTimeout(v,ee,...Z){const{delegate:j}=l;return j?.setTimeout?j.setTimeout(v,ee,...Z):setTimeout(v,ee,...Z)},clearTimeout(v){const{delegate:ee}=l;return(ee?.clearTimeout||clearTimeout)(v)},delegate:void 0}},4971:(Ue,oe,S)=>{S.d(oe,{h:()=>v});const v=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Ue,oe,S)=>{S.d(oe,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},4564:(Ue,oe,S)=>{S.d(oe,{_6:()=>B,jO:()=>Z,yG:()=>j});var l=S(4674);function ee(G){return G[G.length-1]}function Z(G){return(0,l.m)(ee(G))?G.pop():void 0}function j(G){return function v(G){return G&&(0,l.m)(G.schedule)}(ee(G))?G.pop():void 0}function B(G,A){return"number"==typeof ee(G)?G.pop():A}},7453:(Ue,oe,S)=>{S.d(oe,{D:()=>j});const{isArray:l}=Array,{getPrototypeOf:v,prototype:ee,keys:Z}=Object;function j(G){if(1===G.length){const A=G[0];if(l(A))return{args:A,keys:null};if(function B(G){return G&&"object"==typeof G&&v(G)===ee}(A)){const T=Z(A);return{args:T.map(N=>A[N]),keys:T}}}return{args:G,keys:null}}},9039:(Ue,oe,S)=>{function l(v,ee){if(v){const Z=v.indexOf(ee);0<=Z&&v.splice(Z,1)}}S.d(oe,{P:()=>l})},2306:(Ue,oe,S)=>{function l(v){const Z=v(j=>{Error.call(j),j.stack=(new Error).stack});return Z.prototype=Object.create(Error.prototype),Z.prototype.constructor=Z,Z}S.d(oe,{d:()=>l})},2714:(Ue,oe,S)=>{function l(v,ee){return v.reduce((Z,j,B)=>(Z[j]=ee[B],Z),{})}S.d(oe,{n:()=>l})},1441:(Ue,oe,S)=>{S.d(oe,{O:()=>Z,x:()=>ee});var l=S(2653);let v=null;function ee(j){if(l.config.useDeprecatedSynchronousErrorHandling){const B=!v;if(B&&(v={errorThrown:!1,error:null}),j(),B){const{errorThrown:G,error:A}=v;if(v=null,G)throw A}}else j()}function Z(j){l.config.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=j)}},7103:(Ue,oe,S)=>{function l(v,ee,Z,j=0,B=!1){const G=ee.schedule(function(){Z(),B?v.add(this.schedule(null,j)):this.unsubscribe()},j);if(v.add(G),!B)return G}S.d(oe,{f:()=>l})},2737:(Ue,oe,S)=>{function l(v){return v}S.d(oe,{y:()=>l})},4266:(Ue,oe,S)=>{S.d(oe,{z:()=>l});const l=v=>v&&"number"==typeof v.length&&"function"!=typeof v},5726:(Ue,oe,S)=>{S.d(oe,{D:()=>v});var l=S(4674);function v(ee){return Symbol.asyncIterator&&(0,l.m)(ee?.[Symbol.asyncIterator])}},4674:(Ue,oe,S)=>{function l(v){return"function"==typeof v}S.d(oe,{m:()=>l})},8382:(Ue,oe,S)=>{S.d(oe,{c:()=>ee});var l=S(4850),v=S(4674);function ee(Z){return(0,v.m)(Z[l.L])}},3664:(Ue,oe,S)=>{S.d(oe,{T:()=>ee});var l=S(4971),v=S(4674);function ee(Z){return(0,v.m)(Z?.[l.h])}},4026:(Ue,oe,S)=>{S.d(oe,{t:()=>v});var l=S(4674);function v(ee){return(0,l.m)(ee?.then)}},541:(Ue,oe,S)=>{S.d(oe,{L:()=>Z,Q:()=>ee});var l=S(7582),v=S(4674);function ee(j){return(0,l.FC)(this,arguments,function*(){const G=j.getReader();try{for(;;){const{value:A,done:T}=yield(0,l.qq)(G.read());if(T)return yield(0,l.qq)(void 0);yield yield(0,l.qq)(A)}}finally{G.releaseLock()}})}function Z(j){return(0,v.m)(j?.getReader)}},9360:(Ue,oe,S)=>{S.d(oe,{A:()=>v,e:()=>ee});var l=S(4674);function v(Z){return(0,l.m)(Z?.lift)}function ee(Z){return j=>{if(v(j))return j.lift(function(B){try{return Z(B,this)}catch(G){this.error(G)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Ue,oe,S)=>{S.d(oe,{Z:()=>Z});var l=S(7398);const{isArray:v}=Array;function Z(j){return(0,l.U)(B=>function ee(j,B){return v(B)?j(...B):j(B)}(j,B))}},2420:(Ue,oe,S)=>{function l(){}S.d(oe,{Z:()=>l})},8407:(Ue,oe,S)=>{S.d(oe,{U:()=>ee,z:()=>v});var l=S(2737);function v(...Z){return ee(Z)}function ee(Z){return 0===Z.length?l.y:1===Z.length?Z[0]:function(B){return Z.reduce((G,A)=>A(G),B)}}},3894:(Ue,oe,S)=>{S.d(oe,{h:()=>ee});var l=S(2653),v=S(7599);function ee(Z){v.z.setTimeout(()=>{const{onUnhandledError:j}=l.config;if(!j)throw Z;j(Z)})}},9853:(Ue,oe,S)=>{function l(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}S.d(oe,{z:()=>l})},6814:(Ue,oe,S)=>{S.d(oe,{Do:()=>ht,ED:()=>zi,EM:()=>or,HT:()=>Z,JF:()=>Lr,K0:()=>B,Mx:()=>Hn,O5:()=>Wr,PM:()=>Ir,RF:()=>xr,S$:()=>xe,Ts:()=>pi,V_:()=>A,Ye:()=>ze,b0:()=>Ve,bD:()=>jt,ez:()=>Sr,mk:()=>je,n9:()=>wr,q:()=>ee,sg:()=>Ln,uU:()=>Ri,w_:()=>j});var l=S(6689);let v=null;function ee(){return v}function Z(d){v||(v=d)}class j{}const B=new l.OlP("DocumentToken");let G=(()=>{class d{historyGo(m){throw new Error("Not implemented")}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275prov=l.Yz7({token:d,factory:function(){return(0,l.f3M)(T)},providedIn:"platform"})}return d})();const A=new l.OlP("Location Initialized");let T=(()=>{class d extends G{constructor(){super(),this._doc=(0,l.f3M)(B),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ee().getBaseHref(this._doc)}onPopState(m){const E=ee().getGlobalEventTarget(this._doc,"window");return E.addEventListener("popstate",m,!1),()=>E.removeEventListener("popstate",m)}onHashChange(m){const E=ee().getGlobalEventTarget(this._doc,"window");return E.addEventListener("hashchange",m,!1),()=>E.removeEventListener("hashchange",m)}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(m){this._location.pathname=m}pushState(m,E,R){this._history.pushState(m,E,R)}replaceState(m,E,R){this._history.replaceState(m,E,R)}forward(){this._history.forward()}back(){this._history.back()}historyGo(m=0){this._history.go(m)}getState(){return this._history.state}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275prov=l.Yz7({token:d,factory:function(){return new d},providedIn:"platform"})}return d})();function N(d,w){if(0==d.length)return w;if(0==w.length)return d;let m=0;return d.endsWith("/")&&m++,w.startsWith("/")&&m++,2==m?d+w.substring(1):1==m?d+w:d+"/"+w}function V(d){const w=d.match(/#|\?|$/),m=w&&w.index||d.length;return d.slice(0,m-("/"===d[m-1]?1:0))+d.slice(m)}function ue(d){return d&&"?"!==d[0]?"?"+d:d}let xe=(()=>{class d{historyGo(m){throw new Error("Not implemented")}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275prov=l.Yz7({token:d,factory:function(){return(0,l.f3M)(Ve)},providedIn:"root"})}return d})();const Pe=new l.OlP("appBaseHref");let Ve=(()=>{class d extends xe{constructor(m,E){super(),this._platformLocation=m,this._removeListenerFns=[],this._baseHref=E??this._platformLocation.getBaseHrefFromDOM()??(0,l.f3M)(B).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}prepareExternalUrl(m){return N(this._baseHref,m)}path(m=!1){const E=this._platformLocation.pathname+ue(this._platformLocation.search),R=this._platformLocation.hash;return R&&m?`${E}${R}`:E}pushState(m,E,R,te){const ce=this.prepareExternalUrl(R+ue(te));this._platformLocation.pushState(m,E,ce)}replaceState(m,E,R,te){const ce=this.prepareExternalUrl(R+ue(te));this._platformLocation.replaceState(m,E,ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}static#e=this.\u0275fac=function(E){return new(E||d)(l.LFG(G),l.LFG(Pe,8))};static#t=this.\u0275prov=l.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})(),ht=(()=>{class d extends xe{constructor(m,E){super(),this._platformLocation=m,this._baseHref="",this._removeListenerFns=[],null!=E&&(this._baseHref=E)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}path(m=!1){let E=this._platformLocation.hash;return null==E&&(E="#"),E.length>0?E.substring(1):E}prepareExternalUrl(m){const E=N(this._baseHref,m);return E.length>0?"#"+E:E}pushState(m,E,R,te){let ce=this.prepareExternalUrl(R+ue(te));0==ce.length&&(ce=this._platformLocation.pathname),this._platformLocation.pushState(m,E,ce)}replaceState(m,E,R,te){let ce=this.prepareExternalUrl(R+ue(te));0==ce.length&&(ce=this._platformLocation.pathname),this._platformLocation.replaceState(m,E,ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}static#e=this.\u0275fac=function(E){return new(E||d)(l.LFG(G),l.LFG(Pe,8))};static#t=this.\u0275prov=l.Yz7({token:d,factory:d.\u0275fac})}return d})(),ze=(()=>{class d{constructor(m){this._subject=new l.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=m;const E=this._locationStrategy.getBaseHref();this._basePath=function Ie(d){if(new RegExp("^(https?:)?//").test(d)){const[,m]=d.split(/\/\/[^\/]+/);return m}return d}(V(Xe(E))),this._locationStrategy.onPopState(R=>{this._subject.emit({url:this.path(!0),pop:!0,state:R.state,type:R.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(m=!1){return this.normalize(this._locationStrategy.path(m))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(m,E=""){return this.path()==this.normalize(m+ue(E))}normalize(m){return d.stripTrailingSlash(function mt(d,w){if(!d||!w.startsWith(d))return w;const m=w.substring(d.length);return""===m||["/",";","?","#"].includes(m[0])?m:w}(this._basePath,Xe(m)))}prepareExternalUrl(m){return m&&"/"!==m[0]&&(m="/"+m),this._locationStrategy.prepareExternalUrl(m)}go(m,E="",R=null){this._locationStrategy.pushState(R,"",m,E),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+ue(E)),R)}replaceState(m,E="",R=null){this._locationStrategy.replaceState(R,"",m,E),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+ue(E)),R)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(m=0){this._locationStrategy.historyGo?.(m)}onUrlChange(m){return this._urlChangeListeners.push(m),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(E=>{this._notifyUrlChangeListeners(E.url,E.state)})),()=>{const E=this._urlChangeListeners.indexOf(m);this._urlChangeListeners.splice(E,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(m="",E){this._urlChangeListeners.forEach(R=>R(m,E))}subscribe(m,E,R){return this._subject.subscribe({next:m,error:E,complete:R})}static#e=this.normalizeQueryParams=ue;static#t=this.joinWithSlash=N;static#n=this.stripTrailingSlash=V;static#r=this.\u0275fac=function(E){return new(E||d)(l.LFG(xe))};static#i=this.\u0275prov=l.Yz7({token:d,factory:function(){return function Le(){return new ze((0,l.LFG)(xe))}()},providedIn:"root"})}return d})();function Xe(d){return d.replace(/\/index.html$/,"")}var Te=function(d){return d[d.Format=0]="Format",d[d.Standalone=1]="Standalone",d}(Te||{}),ve=function(d){return d[d.Narrow=0]="Narrow",d[d.Abbreviated=1]="Abbreviated",d[d.Wide=2]="Wide",d[d.Short=3]="Short",d}(ve||{}),Ze=function(d){return d[d.Short=0]="Short",d[d.Medium=1]="Medium",d[d.Long=2]="Long",d[d.Full=3]="Full",d}(Ze||{}),Ye=function(d){return d[d.Decimal=0]="Decimal",d[d.Group=1]="Group",d[d.List=2]="List",d[d.PercentSign=3]="PercentSign",d[d.PlusSign=4]="PlusSign",d[d.MinusSign=5]="MinusSign",d[d.Exponential=6]="Exponential",d[d.SuperscriptingExponent=7]="SuperscriptingExponent",d[d.PerMille=8]="PerMille",d[d.Infinity=9]="Infinity",d[d.NaN=10]="NaN",d[d.TimeSeparator=11]="TimeSeparator",d[d.CurrencyDecimal=12]="CurrencyDecimal",d[d.CurrencyGroup=13]="CurrencyGroup",d}(Ye||{});function q(d,w){return W((0,l.cg1)(d)[l.wAp.DateFormat],w)}function re(d,w){return W((0,l.cg1)(d)[l.wAp.TimeFormat],w)}function ne(d,w){return W((0,l.cg1)(d)[l.wAp.DateTimeFormat],w)}function me(d,w){const m=(0,l.cg1)(d),E=m[l.wAp.NumberSymbols][w];if(typeof E>"u"){if(w===Ye.CurrencyDecimal)return m[l.wAp.NumberSymbols][Ye.Decimal];if(w===Ye.CurrencyGroup)return m[l.wAp.NumberSymbols][Ye.Group]}return E}function kt(d){if(!d[l.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${d[l.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function W(d,w){for(let m=w;m>-1;m--)if(typeof d[m]<"u")return d[m];throw new Error("Locale data API: locale data undefined")}function Vt(d){const[w,m]=d.split(":");return{hours:+w,minutes:+m}}const Oe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,yt={},Tt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Rt=function(d){return d[d.Short=0]="Short",d[d.ShortGMT=1]="ShortGMT",d[d.Long=2]="Long",d[d.Extended=3]="Extended",d}(Rt||{}),Je=function(d){return d[d.FullYear=0]="FullYear",d[d.Month=1]="Month",d[d.Date=2]="Date",d[d.Hours=3]="Hours",d[d.Minutes=4]="Minutes",d[d.Seconds=5]="Seconds",d[d.FractionalSeconds=6]="FractionalSeconds",d[d.Day=7]="Day",d}(Je||{}),et=function(d){return d[d.DayPeriods=0]="DayPeriods",d[d.Days=1]="Days",d[d.Months=2]="Months",d[d.Eras=3]="Eras",d}(et||{});function mn(d,w,m,E){let R=function se(d){if(F(d))return d;if("number"==typeof d&&!isNaN(d))return new Date(d);if("string"==typeof d){if(d=d.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(d)){const[R,te=1,ce=1]=d.split("-").map(Ge=>+Ge);return Kn(R,te-1,ce)}const m=parseFloat(d);if(!isNaN(d-m))return new Date(m);let E;if(E=d.match(Oe))return function J(d){const w=new Date(0);let m=0,E=0;const R=d[8]?w.setUTCFullYear:w.setFullYear,te=d[8]?w.setUTCHours:w.setHours;d[9]&&(m=Number(d[9]+d[10]),E=Number(d[9]+d[11])),R.call(w,Number(d[1]),Number(d[2])-1,Number(d[3]));const ce=Number(d[4]||0)-m,Ge=Number(d[5]||0)-E,$t=Number(d[6]||0),Bt=Math.floor(1e3*parseFloat("0."+(d[7]||0)));return te.call(w,ce,Ge,$t,Bt),w}(E)}const w=new Date(d);if(!F(w))throw new Error(`Unable to convert "${d}" into a date`);return w}(d);w=Mn(m,w)||w;let Ge,ce=[];for(;w;){if(Ge=Tt.exec(w),!Ge){ce.push(w);break}{ce=ce.concat(Ge.slice(1));const Pt=ce.pop();if(!Pt)break;w=Pt}}let $t=R.getTimezoneOffset();E&&($t=rr(E,$t),R=function Ti(d,w,m){const E=m?-1:1,R=d.getTimezoneOffset();return function cr(d,w){return(d=new Date(d.getTime())).setMinutes(d.getMinutes()+w),d}(d,E*(rr(w,R)-R))}(R,E,!0));let Bt="";return ce.forEach(Pt=>{const gt=function nr(d){if(Sn[d])return Sn[d];let w;switch(d){case"G":case"GG":case"GGG":w=st(et.Eras,ve.Abbreviated);break;case"GGGG":w=st(et.Eras,ve.Wide);break;case"GGGGG":w=st(et.Eras,ve.Narrow);break;case"y":w=Ot(Je.FullYear,1,0,!1,!0);break;case"yy":w=Ot(Je.FullYear,2,0,!0,!0);break;case"yyy":w=Ot(Je.FullYear,3,0,!1,!0);break;case"yyyy":w=Ot(Je.FullYear,4,0,!1,!0);break;case"Y":w=Yn(1);break;case"YY":w=Yn(2,!0);break;case"YYY":w=Yn(3);break;case"YYYY":w=Yn(4);break;case"M":case"L":w=Ot(Je.Month,1,1);break;case"MM":case"LL":w=Ot(Je.Month,2,1);break;case"MMM":w=st(et.Months,ve.Abbreviated);break;case"MMMM":w=st(et.Months,ve.Wide);break;case"MMMMM":w=st(et.Months,ve.Narrow);break;case"LLL":w=st(et.Months,ve.Abbreviated,Te.Standalone);break;case"LLLL":w=st(et.Months,ve.Wide,Te.Standalone);break;case"LLLLL":w=st(et.Months,ve.Narrow,Te.Standalone);break;case"w":w=Fn(1);break;case"ww":w=Fn(2);break;case"W":w=Fn(1,!0);break;case"d":w=Ot(Je.Date,1);break;case"dd":w=Ot(Je.Date,2);break;case"c":case"cc":w=Ot(Je.Day,1);break;case"ccc":w=st(et.Days,ve.Abbreviated,Te.Standalone);break;case"cccc":w=st(et.Days,ve.Wide,Te.Standalone);break;case"ccccc":w=st(et.Days,ve.Narrow,Te.Standalone);break;case"cccccc":w=st(et.Days,ve.Short,Te.Standalone);break;case"E":case"EE":case"EEE":w=st(et.Days,ve.Abbreviated);break;case"EEEE":w=st(et.Days,ve.Wide);break;case"EEEEE":w=st(et.Days,ve.Narrow);break;case"EEEEEE":w=st(et.Days,ve.Short);break;case"a":case"aa":case"aaa":w=st(et.DayPeriods,ve.Abbreviated);break;case"aaaa":w=st(et.DayPeriods,ve.Wide);break;case"aaaaa":w=st(et.DayPeriods,ve.Narrow);break;case"b":case"bb":case"bbb":w=st(et.DayPeriods,ve.Abbreviated,Te.Standalone,!0);break;case"bbbb":w=st(et.DayPeriods,ve.Wide,Te.Standalone,!0);break;case"bbbbb":w=st(et.DayPeriods,ve.Narrow,Te.Standalone,!0);break;case"B":case"BB":case"BBB":w=st(et.DayPeriods,ve.Abbreviated,Te.Format,!0);break;case"BBBB":w=st(et.DayPeriods,ve.Wide,Te.Format,!0);break;case"BBBBB":w=st(et.DayPeriods,ve.Narrow,Te.Format,!0);break;case"h":w=Ot(Je.Hours,1,-12);break;case"hh":w=Ot(Je.Hours,2,-12);break;case"H":w=Ot(Je.Hours,1);break;case"HH":w=Ot(Je.Hours,2);break;case"m":w=Ot(Je.Minutes,1);break;case"mm":w=Ot(Je.Minutes,2);break;case"s":w=Ot(Je.Seconds,1);break;case"ss":w=Ot(Je.Seconds,2);break;case"S":w=Ot(Je.FractionalSeconds,1);break;case"SS":w=Ot(Je.FractionalSeconds,2);break;case"SSS":w=Ot(Je.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":w=Bn(Rt.Short);break;case"ZZZZZ":w=Bn(Rt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":w=Bn(Rt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":w=Bn(Rt.Long);break;default:return null}return Sn[d]=w,w}(Pt);Bt+=gt?gt(R,m,$t):"''"===Pt?"'":Pt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Bt}function Kn(d,w,m){const E=new Date(0);return E.setFullYear(d,w,m),E.setHours(0,0,0),E}function Mn(d,w){const m=function Gt(d){return(0,l.cg1)(d)[l.wAp.LocaleId]}(d);if(yt[m]=yt[m]||{},yt[m][w])return yt[m][w];let E="";switch(w){case"shortDate":E=q(d,Ze.Short);break;case"mediumDate":E=q(d,Ze.Medium);break;case"longDate":E=q(d,Ze.Long);break;case"fullDate":E=q(d,Ze.Full);break;case"shortTime":E=re(d,Ze.Short);break;case"mediumTime":E=re(d,Ze.Medium);break;case"longTime":E=re(d,Ze.Long);break;case"fullTime":E=re(d,Ze.Full);break;case"short":const R=Mn(d,"shortTime"),te=Mn(d,"shortDate");E=_n(ne(d,Ze.Short),[R,te]);break;case"medium":const ce=Mn(d,"mediumTime"),Ge=Mn(d,"mediumDate");E=_n(ne(d,Ze.Medium),[ce,Ge]);break;case"long":const $t=Mn(d,"longTime"),Bt=Mn(d,"longDate");E=_n(ne(d,Ze.Long),[$t,Bt]);break;case"full":const Pt=Mn(d,"fullTime"),gt=Mn(d,"fullDate");E=_n(ne(d,Ze.Full),[Pt,gt])}return E&&(yt[m][w]=E),E}function _n(d,w){return w&&(d=d.replace(/\{([^}]+)}/g,function(m,E){return null!=w&&E in w?w[E]:m})),d}function vn(d,w,m="-",E,R){let te="";(d<0||R&&d<=0)&&(R?d=1-d:(d=-d,te=m));let ce=String(d);for(;ce.length0||Ge>-m)&&(Ge+=m),d===Je.Hours)0===Ge&&-12===m&&(Ge=12);else if(d===Je.FractionalSeconds)return function ct(d,w){return vn(d,3).substring(0,w)}(Ge,w);const $t=me(ce,Ye.MinusSign);return vn(Ge,w,$t,E,R)}}function st(d,w,m=Te.Format,E=!1){return function(R,te){return function zr(d,w,m,E,R,te){switch(m){case et.Months:return function zt(d,w,m){const E=(0,l.cg1)(d),te=W([E[l.wAp.MonthsFormat],E[l.wAp.MonthsStandalone]],w);return W(te,m)}(w,R,E)[d.getMonth()];case et.Days:return function Qe(d,w,m){const E=(0,l.cg1)(d),te=W([E[l.wAp.DaysFormat],E[l.wAp.DaysStandalone]],w);return W(te,m)}(w,R,E)[d.getDay()];case et.DayPeriods:const ce=d.getHours(),Ge=d.getMinutes();if(te){const Bt=function rt(d){const w=(0,l.cg1)(d);return kt(w),(w[l.wAp.ExtraData][2]||[]).map(E=>"string"==typeof E?Vt(E):[Vt(E[0]),Vt(E[1])])}(w),Pt=function At(d,w,m){const E=(0,l.cg1)(d);kt(E);const te=W([E[l.wAp.ExtraData][0],E[l.wAp.ExtraData][1]],w)||[];return W(te,m)||[]}(w,R,E),gt=Bt.findIndex(en=>{if(Array.isArray(en)){const[It,hn]=en,Tr=ce>=It.hours&&Ge>=It.minutes,Or=ce0?Math.floor(R/60):Math.ceil(R/60);switch(d){case Rt.Short:return(R>=0?"+":"")+vn(ce,2,te)+vn(Math.abs(R%60),2,te);case Rt.ShortGMT:return"GMT"+(R>=0?"+":"")+vn(ce,1,te);case Rt.Long:return"GMT"+(R>=0?"+":"")+vn(ce,2,te)+":"+vn(Math.abs(R%60),2,te);case Rt.Extended:return 0===E?"Z":(R>=0?"+":"")+vn(ce,2,te)+":"+vn(Math.abs(R%60),2,te);default:throw new Error(`Unknown zone width "${d}"`)}}}const xt=0,On=4;function Ne(d){return Kn(d.getFullYear(),d.getMonth(),d.getDate()+(On-d.getDay()))}function Fn(d,w=!1){return function(m,E){let R;if(w){const te=new Date(m.getFullYear(),m.getMonth(),1).getDay()-1,ce=m.getDate();R=1+Math.floor((ce+te)/7)}else{const te=Ne(m),ce=function tn(d){const w=Kn(d,xt,1).getDay();return Kn(d,0,1+(w<=On?On:On+7)-w)}(te.getFullYear()),Ge=te.getTime()-ce.getTime();R=1+Math.round(Ge/6048e5)}return vn(R,d,me(E,Ye.MinusSign))}}function Yn(d,w=!1){return function(m,E){return vn(Ne(m).getFullYear(),d,me(E,Ye.MinusSign),w)}}const Sn={};function rr(d,w){d=d.replace(/:/g,"");const m=Date.parse("Jan 01, 1970 00:00:00 "+d)/6e4;return isNaN(m)?w:m}function F(d){return d instanceof Date&&!isNaN(d.valueOf())}function Hn(d,w){w=encodeURIComponent(w);for(const m of d.split(";")){const E=m.indexOf("="),[R,te]=-1==E?[m,""]:[m.slice(0,E),m.slice(E+1)];if(R.trim()===w)return decodeURIComponent(te)}return null}const pn=/\s+/,ft=[];let je=(()=>{class d{constructor(m,E,R,te){this._iterableDiffers=m,this._keyValueDiffers=E,this._ngEl=R,this._renderer=te,this.initialClasses=ft,this.stateMap=new Map}set klass(m){this.initialClasses=null!=m?m.trim().split(pn):ft}set ngClass(m){this.rawClass="string"==typeof m?m.trim().split(pn):m}ngDoCheck(){for(const E of this.initialClasses)this._updateState(E,!0);const m=this.rawClass;if(Array.isArray(m)||m instanceof Set)for(const E of m)this._updateState(E,!0);else if(null!=m)for(const E of Object.keys(m))this._updateState(E,!!m[E]);this._applyStateDiff()}_updateState(m,E){const R=this.stateMap.get(m);void 0!==R?(R.enabled!==E&&(R.changed=!0,R.enabled=E),R.touched=!0):this.stateMap.set(m,{enabled:E,changed:!0,touched:!0})}_applyStateDiff(){for(const m of this.stateMap){const E=m[0],R=m[1];R.changed?(this._toggleClass(E,R.enabled),R.changed=!1):R.touched||(R.enabled&&this._toggleClass(E,!1),this.stateMap.delete(E)),R.touched=!1}}_toggleClass(m,E){(m=m.trim()).length>0&&m.split(pn).forEach(R=>{E?this._renderer.addClass(this._ngEl.nativeElement,R):this._renderer.removeClass(this._ngEl.nativeElement,R)})}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.ZZ4),l.Y36(l.aQg),l.Y36(l.SBq),l.Y36(l.Qsj))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return d})();class rn{constructor(w,m,E,R){this.$implicit=w,this.ngForOf=m,this.index=E,this.count=R}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ln=(()=>{class d{set ngForOf(m){this._ngForOf=m,this._ngForOfDirty=!0}set ngForTrackBy(m){this._trackByFn=m}get ngForTrackBy(){return this._trackByFn}constructor(m,E,R){this._viewContainer=m,this._template=E,this._differs=R,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(m){m&&(this._template=m)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const m=this._ngForOf;!this._differ&&m&&(this._differ=this._differs.find(m).create(this.ngForTrackBy))}if(this._differ){const m=this._differ.diff(this._ngForOf);m&&this._applyChanges(m)}}_applyChanges(m){const E=this._viewContainer;m.forEachOperation((R,te,ce)=>{if(null==R.previousIndex)E.createEmbeddedView(this._template,new rn(R.item,this._ngForOf,-1,-1),null===ce?void 0:ce);else if(null==ce)E.remove(null===te?void 0:te);else if(null!==te){const Ge=E.get(te);E.move(Ge,ce),ln(Ge,R)}});for(let R=0,te=E.length;R{ln(E.get(R.currentIndex),R)})}static ngTemplateContextGuard(m,E){return!0}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return d})();function ln(d,w){d.context.$implicit=w.item}let Wr=(()=>{class d{constructor(m,E){this._viewContainer=m,this._context=new Kr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=E}set ngIf(m){this._context.$implicit=this._context.ngIf=m,this._updateView()}set ngIfThen(m){Yr("ngIfThen",m),this._thenTemplateRef=m,this._thenViewRef=null,this._updateView()}set ngIfElse(m){Yr("ngIfElse",m),this._elseTemplateRef=m,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(m,E){return!0}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return d})();class Kr{constructor(){this.$implicit=null,this.ngIf=null}}function Yr(d,w){if(w&&!w.createEmbeddedView)throw new Error(`${d} must be a TemplateRef, but received '${(0,l.AaK)(w)}'.`)}class fr{constructor(w,m){this._viewContainerRef=w,this._templateRef=m,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(w){w&&!this._created?this.create():!w&&this._created&&this.destroy()}}let xr=(()=>{class d{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(m){this._ngSwitch=m,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(m){this._defaultViews.push(m)}_matchCase(m){const E=m==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||E,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),E}_updateDefaultCases(m){if(this._defaultViews.length>0&&m!==this._defaultUsed){this._defaultUsed=m;for(const E of this._defaultViews)E.enforceState(m)}}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return d})(),wr=(()=>{class d{constructor(m,E,R){this.ngSwitch=R,R._addCase(),this._view=new fr(m,E)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(xr,9))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return d})(),zi=(()=>{class d{constructor(m,E,R){R._addDefault(new fr(m,E))}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(xr,9))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return d})();const Ni=new l.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),lo=new l.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Ri=(()=>{class d{constructor(m,E,R){this.locale=m,this.defaultTimezone=E,this.defaultOptions=R}transform(m,E,R,te){if(null==m||""===m||m!=m)return null;try{return mn(m,E??this.defaultOptions?.dateFormat??"mediumDate",te||this.locale,R??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ce){throw function dn(d,w){return new l.vHH(2100,!1)}()}}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.soG,16),l.Y36(Ni,24),l.Y36(lo,24))};static#t=this.\u0275pipe=l.Yjl({name:"date",type:d,pure:!0,standalone:!0})}return d})(),pi=(()=>{class d{transform(m){return JSON.stringify(m,null,2)}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275pipe=l.Yjl({name:"json",type:d,pure:!1,standalone:!0})}return d})(),Sr=(()=>{class d{static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275mod=l.oAB({type:d});static#n=this.\u0275inj=l.cJS({})}return d})();const jt="browser",Fe="server";function Ir(d){return d===Fe}let or=(()=>{class d{static#e=this.\u0275prov=(0,l.Yz7)({token:d,providedIn:"root",factory:()=>new sr((0,l.LFG)(B),window)})}return d})();class sr{constructor(w,m){this.document=w,this.window=m,this.offset=()=>[0,0]}setOffset(w){this.offset=Array.isArray(w)?()=>w:w}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(w){this.supportsScrolling()&&this.window.scrollTo(w[0],w[1])}scrollToAnchor(w){if(!this.supportsScrolling())return;const m=function nt(d,w){const m=d.getElementById(w)||d.getElementsByName(w)[0];if(m)return m;if("function"==typeof d.createTreeWalker&&d.body&&"function"==typeof d.body.attachShadow){const E=d.createTreeWalker(d.body,NodeFilter.SHOW_ELEMENT);let R=E.currentNode;for(;R;){const te=R.shadowRoot;if(te){const ce=te.getElementById(w)||te.querySelector(`[name="${w}"]`);if(ce)return ce}R=E.nextNode()}}return null}(this.document,w);m&&(this.scrollToElement(m),m.focus())}setHistoryScrollRestoration(w){this.supportsScrolling()&&(this.window.history.scrollRestoration=w)}scrollToElement(w){const m=w.getBoundingClientRect(),E=m.left+this.window.pageXOffset,R=m.top+this.window.pageYOffset,te=this.offset();this.window.scrollTo(E-te[0],R-te[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Lr{}},9862:(Ue,oe,S)=>{S.d(oe,{JF:()=>H,TP:()=>kt,WM:()=>xe,eN:()=>Q});var l=S(6689),v=S(2096),ee=S(7715),Z=S(5592),j=S(6328),B=S(2181),G=S(7398),A=S(4716),T=S(4664),N=S(6814);class V{}class ue{}class xe{constructor(L){this.normalizedNames=new Map,this.lazyUpdate=null,L?"string"==typeof L?this.lazyInit=()=>{this.headers=new Map,L.split("\n").forEach(U=>{const ie=U.indexOf(":");if(ie>0){const Se=U.slice(0,ie),De=Se.toLowerCase(),be=U.slice(ie+1).trim();this.maybeSetNormalizedName(Se,De),this.headers.has(De)?this.headers.get(De).push(be):this.headers.set(De,[be])}})}:typeof Headers<"u"&&L instanceof Headers?(this.headers=new Map,L.forEach((U,ie)=>{this.setHeaderEntries(ie,U)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(L).forEach(([U,ie])=>{this.setHeaderEntries(U,ie)})}:this.headers=new Map}has(L){return this.init(),this.headers.has(L.toLowerCase())}get(L){this.init();const U=this.headers.get(L.toLowerCase());return U&&U.length>0?U[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(L){return this.init(),this.headers.get(L.toLowerCase())||null}append(L,U){return this.clone({name:L,value:U,op:"a"})}set(L,U){return this.clone({name:L,value:U,op:"s"})}delete(L,U){return this.clone({name:L,value:U,op:"d"})}maybeSetNormalizedName(L,U){this.normalizedNames.has(U)||this.normalizedNames.set(U,L)}init(){this.lazyInit&&(this.lazyInit instanceof xe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(L=>this.applyUpdate(L)),this.lazyUpdate=null))}copyFrom(L){L.init(),Array.from(L.headers.keys()).forEach(U=>{this.headers.set(U,L.headers.get(U)),this.normalizedNames.set(U,L.normalizedNames.get(U))})}clone(L){const U=new xe;return U.lazyInit=this.lazyInit&&this.lazyInit instanceof xe?this.lazyInit:this,U.lazyUpdate=(this.lazyUpdate||[]).concat([L]),U}applyUpdate(L){const U=L.name.toLowerCase();switch(L.op){case"a":case"s":let ie=L.value;if("string"==typeof ie&&(ie=[ie]),0===ie.length)return;this.maybeSetNormalizedName(L.name,U);const Se=("a"===L.op?this.headers.get(U):void 0)||[];Se.push(...ie),this.headers.set(U,Se);break;case"d":const De=L.value;if(De){let be=this.headers.get(U);if(!be)return;be=be.filter(Ut=>-1===De.indexOf(Ut)),0===be.length?(this.headers.delete(U),this.normalizedNames.delete(U)):this.headers.set(U,be)}else this.headers.delete(U),this.normalizedNames.delete(U)}}setHeaderEntries(L,U){const ie=(Array.isArray(U)?U:[U]).map(De=>De.toString()),Se=L.toLowerCase();this.headers.set(Se,ie),this.maybeSetNormalizedName(L,Se)}forEach(L){this.init(),Array.from(this.normalizedNames.keys()).forEach(U=>L(this.normalizedNames.get(U),this.headers.get(U)))}}class Ve{encodeKey(L){return mt(L)}encodeValue(L){return mt(L)}decodeKey(L){return decodeURIComponent(L)}decodeValue(L){return decodeURIComponent(L)}}const ze=/%(\d[a-f0-9])/gi,Le={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function mt(Y){return encodeURIComponent(Y).replace(ze,(L,U)=>Le[U]??L)}function Xe(Y){return`${Y}`}class Ie{constructor(L={}){if(this.updates=null,this.cloneFrom=null,this.encoder=L.encoder||new Ve,L.fromString){if(L.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ht(Y,L){const U=new Map;return Y.length>0&&Y.replace(/^\?/,"").split("&").forEach(Se=>{const De=Se.indexOf("="),[be,Ut]=-1==De?[L.decodeKey(Se),""]:[L.decodeKey(Se.slice(0,De)),L.decodeValue(Se.slice(De+1))],tt=U.get(be)||[];tt.push(Ut),U.set(be,tt)}),U}(L.fromString,this.encoder)}else L.fromObject?(this.map=new Map,Object.keys(L.fromObject).forEach(U=>{const ie=L.fromObject[U],Se=Array.isArray(ie)?ie.map(Xe):[Xe(ie)];this.map.set(U,Se)})):this.map=null}has(L){return this.init(),this.map.has(L)}get(L){this.init();const U=this.map.get(L);return U?U[0]:null}getAll(L){return this.init(),this.map.get(L)||null}keys(){return this.init(),Array.from(this.map.keys())}append(L,U){return this.clone({param:L,value:U,op:"a"})}appendAll(L){const U=[];return Object.keys(L).forEach(ie=>{const Se=L[ie];Array.isArray(Se)?Se.forEach(De=>{U.push({param:ie,value:De,op:"a"})}):U.push({param:ie,value:Se,op:"a"})}),this.clone(U)}set(L,U){return this.clone({param:L,value:U,op:"s"})}delete(L,U){return this.clone({param:L,value:U,op:"d"})}toString(){return this.init(),this.keys().map(L=>{const U=this.encoder.encodeKey(L);return this.map.get(L).map(ie=>U+"="+this.encoder.encodeValue(ie)).join("&")}).filter(L=>""!==L).join("&")}clone(L){const U=new Ie({encoder:this.encoder});return U.cloneFrom=this.cloneFrom||this,U.updates=(this.updates||[]).concat(L),U}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(L=>this.map.set(L,this.cloneFrom.map.get(L))),this.updates.forEach(L=>{switch(L.op){case"a":case"s":const U=("a"===L.op?this.map.get(L.param):void 0)||[];U.push(Xe(L.value)),this.map.set(L.param,U);break;case"d":if(void 0===L.value){this.map.delete(L.param);break}{let ie=this.map.get(L.param)||[];const Se=ie.indexOf(Xe(L.value));-1!==Se&&ie.splice(Se,1),ie.length>0?this.map.set(L.param,ie):this.map.delete(L.param)}}}),this.cloneFrom=this.updates=null)}}class $e{constructor(){this.map=new Map}set(L,U){return this.map.set(L,U),this}get(L){return this.map.has(L)||this.map.set(L,L.defaultValue()),this.map.get(L)}delete(L){return this.map.delete(L),this}has(L){return this.map.has(L)}keys(){return this.map.keys()}}function Te(Y){return typeof ArrayBuffer<"u"&&Y instanceof ArrayBuffer}function ve(Y){return typeof Blob<"u"&&Y instanceof Blob}function Ze(Y){return typeof FormData<"u"&&Y instanceof FormData}class _e{constructor(L,U,ie,Se){let De;if(this.url=U,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=L.toUpperCase(),function Ee(Y){switch(Y){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Se?(this.body=void 0!==ie?ie:null,De=Se):De=ie,De&&(this.reportProgress=!!De.reportProgress,this.withCredentials=!!De.withCredentials,De.responseType&&(this.responseType=De.responseType),De.headers&&(this.headers=De.headers),De.context&&(this.context=De.context),De.params&&(this.params=De.params)),this.headers||(this.headers=new xe),this.context||(this.context=new $e),this.params){const be=this.params.toString();if(0===be.length)this.urlWithParams=U;else{const Ut=U.indexOf("?");this.urlWithParams=U+(-1===Ut?"?":Utan.set(nn,L.setHeaders[nn]),tt)),L.setParams&&(cn=Object.keys(L.setParams).reduce((an,nn)=>an.set(nn,L.setParams[nn]),cn)),new _e(U,ie,De,{params:cn,headers:tt,context:jn,reportProgress:Ut,responseType:Se,withCredentials:be})}}var Gt=function(Y){return Y[Y.Sent=0]="Sent",Y[Y.UploadProgress=1]="UploadProgress",Y[Y.ResponseHeader=2]="ResponseHeader",Y[Y.DownloadProgress=3]="DownloadProgress",Y[Y.Response=4]="Response",Y[Y.User=5]="User",Y}(Gt||{});class He{constructor(L,U=200,ie="OK"){this.headers=L.headers||new xe,this.status=void 0!==L.status?L.status:U,this.statusText=L.statusText||ie,this.url=L.url||null,this.ok=this.status>=200&&this.status<300}}class Qe extends He{constructor(L={}){super(L),this.type=Gt.ResponseHeader}clone(L={}){return new Qe({headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class zt extends He{constructor(L={}){super(L),this.type=Gt.Response,this.body=void 0!==L.body?L.body:null}clone(L={}){return new zt({body:void 0!==L.body?L.body:this.body,headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class Mt extends He{constructor(L){super(L,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${L.url||"(unknown url)"}`:`Http failure response for ${L.url||"(unknown url)"}: ${L.status} ${L.statusText}`,this.error=L.error||null}}function sn(Y,L){return{body:L,headers:Y.headers,context:Y.context,observe:Y.observe,params:Y.params,reportProgress:Y.reportProgress,responseType:Y.responseType,withCredentials:Y.withCredentials}}let Q=(()=>{class Y{constructor(U){this.handler=U}request(U,ie,Se={}){let De;if(U instanceof _e)De=U;else{let tt,cn;tt=Se.headers instanceof xe?Se.headers:new xe(Se.headers),Se.params&&(cn=Se.params instanceof Ie?Se.params:new Ie({fromObject:Se.params})),De=new _e(U,ie,void 0!==Se.body?Se.body:null,{headers:tt,context:Se.context,params:cn,reportProgress:Se.reportProgress,responseType:Se.responseType||"json",withCredentials:Se.withCredentials})}const be=(0,v.of)(De).pipe((0,j.b)(tt=>this.handler.handle(tt)));if(U instanceof _e||"events"===Se.observe)return be;const Ut=be.pipe((0,B.h)(tt=>tt instanceof zt));switch(Se.observe||"body"){case"body":switch(De.responseType){case"arraybuffer":return Ut.pipe((0,G.U)(tt=>{if(null!==tt.body&&!(tt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return tt.body}));case"blob":return Ut.pipe((0,G.U)(tt=>{if(null!==tt.body&&!(tt.body instanceof Blob))throw new Error("Response is not a Blob.");return tt.body}));case"text":return Ut.pipe((0,G.U)(tt=>{if(null!==tt.body&&"string"!=typeof tt.body)throw new Error("Response is not a string.");return tt.body}));default:return Ut.pipe((0,G.U)(tt=>tt.body))}case"response":return Ut;default:throw new Error(`Unreachable: unhandled observe type ${Se.observe}}`)}}delete(U,ie={}){return this.request("DELETE",U,ie)}get(U,ie={}){return this.request("GET",U,ie)}head(U,ie={}){return this.request("HEAD",U,ie)}jsonp(U,ie){return this.request("JSONP",U,{params:(new Ie).append(ie,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(U,ie={}){return this.request("OPTIONS",U,ie)}patch(U,ie,Se={}){return this.request("PATCH",U,sn(Se,ie))}post(U,ie,Se={}){return this.request("POST",U,sn(Se,ie))}put(U,ie,Se={}){return this.request("PUT",U,sn(Se,ie))}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(V))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();function Lt(Y,L){return L(Y)}function ke(Y,L){return(U,ie)=>L.intercept(U,{handle:Se=>Y(Se,ie)})}const kt=new l.OlP(""),rt=new l.OlP(""),At=new l.OlP("");function Nt(){let Y=null;return(L,U)=>{null===Y&&(Y=((0,l.f3M)(kt,{optional:!0})??[]).reduceRight(ke,Lt));const ie=(0,l.f3M)(l.HDt),Se=ie.add();return Y(L,U).pipe((0,A.x)(()=>ie.remove(Se)))}}let W=(()=>{class Y extends V{constructor(U,ie){super(),this.backend=U,this.injector=ie,this.chain=null,this.pendingTasks=(0,l.f3M)(l.HDt)}handle(U){if(null===this.chain){const Se=Array.from(new Set([...this.injector.get(rt),...this.injector.get(At,[])]));this.chain=Se.reduceRight((De,be)=>function vt(Y,L,U){return(ie,Se)=>U.runInContext(()=>L(ie,De=>Y(De,Se)))}(De,be,this.injector),Lt)}const ie=this.pendingTasks.add();return this.chain(U,Se=>this.backend.handle(Se)).pipe((0,A.x)(()=>this.pendingTasks.remove(ie)))}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(ue),l.LFG(l.lqb))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();const Kn=/^\)\]\}',?\n/;let _n=(()=>{class Y{constructor(U){this.xhrFactory=U}handle(U){if("JSONP"===U.method)throw new l.vHH(-2800,!1);const ie=this.xhrFactory;return(ie.\u0275loadImpl?(0,ee.D)(ie.\u0275loadImpl()):(0,v.of)(null)).pipe((0,T.w)(()=>new Z.y(De=>{const be=ie.build();if(be.open(U.method,U.urlWithParams),U.withCredentials&&(be.withCredentials=!0),U.headers.forEach((ft,je)=>be.setRequestHeader(ft,je.join(","))),U.headers.has("Accept")||be.setRequestHeader("Accept","application/json, text/plain, */*"),!U.headers.has("Content-Type")){const ft=U.detectContentTypeHeader();null!==ft&&be.setRequestHeader("Content-Type",ft)}if(U.responseType){const ft=U.responseType.toLowerCase();be.responseType="json"!==ft?ft:"text"}const Ut=U.serializeBody();let tt=null;const cn=()=>{if(null!==tt)return tt;const ft=be.statusText||"OK",je=new xe(be.getAllResponseHeaders()),In=function Mn(Y){return"responseURL"in Y&&Y.responseURL?Y.responseURL:/^X-Request-URL:/m.test(Y.getAllResponseHeaders())?Y.getResponseHeader("X-Request-URL"):null}(be)||U.url;return tt=new Qe({headers:je,status:be.status,statusText:ft,url:In}),tt},jn=()=>{let{headers:ft,status:je,statusText:In,url:dr}=cn(),rn=null;204!==je&&(rn=typeof be.response>"u"?be.responseText:be.response),0===je&&(je=rn?200:0);let Ln=je>=200&&je<300;if("json"===U.responseType&&"string"==typeof rn){const ln=rn;rn=rn.replace(Kn,"");try{rn=""!==rn?JSON.parse(rn):null}catch(ir){rn=ln,Ln&&(Ln=!1,rn={error:ir,text:rn})}}Ln?(De.next(new zt({body:rn,headers:ft,status:je,statusText:In,url:dr||void 0})),De.complete()):De.error(new Mt({error:rn,headers:ft,status:je,statusText:In,url:dr||void 0}))},an=ft=>{const{url:je}=cn(),In=new Mt({error:ft,status:be.status||0,statusText:be.statusText||"Unknown Error",url:je||void 0});De.error(In)};let nn=!1;const Hn=ft=>{nn||(De.next(cn()),nn=!0);let je={type:Gt.DownloadProgress,loaded:ft.loaded};ft.lengthComputable&&(je.total=ft.total),"text"===U.responseType&&be.responseText&&(je.partialText=be.responseText),De.next(je)},pn=ft=>{let je={type:Gt.UploadProgress,loaded:ft.loaded};ft.lengthComputable&&(je.total=ft.total),De.next(je)};return be.addEventListener("load",jn),be.addEventListener("error",an),be.addEventListener("timeout",an),be.addEventListener("abort",an),U.reportProgress&&(be.addEventListener("progress",Hn),null!==Ut&&be.upload&&be.upload.addEventListener("progress",pn)),be.send(Ut),De.next({type:Gt.Sent}),()=>{be.removeEventListener("error",an),be.removeEventListener("abort",an),be.removeEventListener("load",jn),be.removeEventListener("timeout",an),U.reportProgress&&(be.removeEventListener("progress",Hn),null!==Ut&&be.upload&&be.upload.removeEventListener("progress",pn)),be.readyState!==be.DONE&&be.abort()}})))}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(N.JF))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();const vn=new l.OlP("XSRF_ENABLED"),Ot=new l.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),st=new l.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class zr{}let Bn=(()=>{class Y{constructor(U,ie,Se){this.doc=U,this.platform=ie,this.cookieName=Se,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const U=this.doc.cookie||"";return U!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,N.Mx)(U,this.cookieName),this.lastCookieString=U),this.lastToken}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(N.K0),l.LFG(l.Lbi),l.LFG(Ot))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();function xt(Y,L){const U=Y.url.toLowerCase();if(!(0,l.f3M)(vn)||"GET"===Y.method||"HEAD"===Y.method||U.startsWith("http://")||U.startsWith("https://"))return L(Y);const ie=(0,l.f3M)(zr).getToken(),Se=(0,l.f3M)(st);return null!=ie&&!Y.headers.has(Se)&&(Y=Y.clone({headers:Y.headers.set(Se,ie)})),L(Y)}var tn=function(Y){return Y[Y.Interceptors=0]="Interceptors",Y[Y.LegacyInterceptors=1]="LegacyInterceptors",Y[Y.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Y[Y.NoXsrfProtection=3]="NoXsrfProtection",Y[Y.JsonpSupport=4]="JsonpSupport",Y[Y.RequestsMadeViaParent=5]="RequestsMadeViaParent",Y[Y.Fetch=6]="Fetch",Y}(tn||{});function Fn(...Y){const L=[Q,_n,W,{provide:V,useExisting:W},{provide:ue,useExisting:_n},{provide:rt,useValue:xt,multi:!0},{provide:vn,useValue:!0},{provide:zr,useClass:Bn}];for(const U of Y)L.push(...U.\u0275providers);return(0,l.MR2)(L)}const Sn=new l.OlP("LEGACY_INTERCEPTOR_FN");function nr(){return function Ne(Y,L){return{\u0275kind:Y,\u0275providers:L}}(tn.LegacyInterceptors,[{provide:Sn,useFactory:Nt},{provide:rt,useExisting:Sn,multi:!0}])}let H=(()=>{class Y{static#e=this.\u0275fac=function(ie){return new(ie||Y)};static#t=this.\u0275mod=l.oAB({type:Y});static#n=this.\u0275inj=l.cJS({providers:[Fn(nr())]})}return Y})()},6689:(Ue,oe,S)=>{S.d(oe,{tb:()=>Bd,AFp:()=>Ih,ip1:()=>wv,hGG:()=>IS,z2F:()=>Ds,Ojb:()=>c_,sBO:()=>cS,Sil:()=>TM,EJc:()=>IM,Xts:()=>Qs,SBq:()=>na,lqb:()=>wi,qLn:()=>to,vpe:()=>Mi,XFs:()=>ct,OlP:()=>Ne,zs3:()=>si,ZZ4:()=>Kd,aQg:()=>Yd,soG:()=>Zl,YKP:()=>Em,h0i:()=>Io,PXZ:()=>tS,R0b:()=>$n,FiY:()=>Ya,Lbi:()=>fc,g9A:()=>bh,Qsj:()=>S_,FYo:()=>Rh,JOm:()=>nl,tp0:()=>Za,Rgc:()=>_a,dDg:()=>JM,eoX:()=>Pv,GfV:()=>xh,s_b:()=>Kl,ifc:()=>pn,VuI:()=>kS,MMx:()=>Mm,Lck:()=>pw,eFA:()=>Fv,G48:()=>uS,Gpc:()=>$e,f3M:()=>De,$WT:()=>qn,MR2:()=>oc,_c5:()=>SS,qFp:()=>US,rg0:()=>It,c2e:()=>Mv,zSh:()=>lc,HDt:()=>Sv,wAp:()=>gs,vHH:()=>_e,lri:()=>Tv,rWj:()=>Ov,cg1:()=>dd,kL8:()=>Kg,dqk:()=>xt,Z0I:()=>Rt,eJc:()=>Pd,QGY:()=>Qc,F4k:()=>eg,RDi:()=>PD,AaK:()=>Xe,qOj:()=>jc,Xq5:()=>Rp,TTD:()=>yr,_Bn:()=>Cm,jDz:()=>Sm,xp6:()=>ip,uIk:()=>Gc,Tol:()=>_g,ekj:()=>ad,Suo:()=>tv,Xpm:()=>di,lG2:()=>pi,Yz7:()=>he,cJS:()=>yt,oAB:()=>fi,Yjl:()=>Ki,Y36:()=>ns,_UZ:()=>Xc,BQk:()=>Ll,ynx:()=>Fl,qZA:()=>xl,TgZ:()=>Rl,EpF:()=>Qp,n5z:()=>Df,SDv:()=>vm,QtT:()=>ym,N_p:()=>gd,pQV:()=>md,Zx4:()=>Dm,tHW:()=>pd,LFG:()=>ie,$8M:()=>Nu,$Z:()=>sp,NdJ:()=>ed,CRH:()=>nv,oxw:()=>og,ALo:()=>Um,lcZ:()=>$m,xi3:()=>Bm,Q6J:()=>qc,s9C:()=>td,MGl:()=>kl,hYB:()=>nd,DdM:()=>Nm,VKq:()=>Rm,iGM:()=>Qm,MAs:()=>Zp,KtG:()=>_u,CHM:()=>Fa,P3R:()=>yh,Udp:()=>sd,YNc:()=>Wp,W1O:()=>sv,_uU:()=>bg,Oqu:()=>ud,hij:()=>$l,AsE:()=>cd,Gf:()=>ev});var l=S(8645),v=S(7394),ee=S(5592),Z=S(7537),j=S(4829),B=S(6232),G=S(4564),A=S(7715),N=S(5619),V=S(2096),ue=S(305),xe=S(9360);function Pe(e={}){const{connector:t=(()=>new l.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,u,h,D=0,M=!1,O=!1;const k=()=>{u?.unsubscribe(),u=void 0},z=()=>{k(),s=h=void 0,M=O=!1},ae=()=>{const ge=s;z(),ge?.unsubscribe()};return(0,xe.e)((ge,Re)=>{D++,!O&&!M&&k();const We=h=h??t();Re.add(()=>{D--,0===D&&!O&&!M&&(u=Ve(ae,i))}),We.subscribe(Re),!s&&D>0&&(s=new ue.Hp({next:de=>We.next(de),error:de=>{O=!0,k(),u=Ve(z,n,de),We.error(de)},complete:()=>{M=!0,k(),u=Ve(z,r),We.complete()}}),(0,j.Xf)(ge).subscribe(s))})(o)}}function Ve(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new ue.Hp({next:()=>{r.unsubscribe(),e()}});return(0,j.Xf)(t(...n)).subscribe(r)}var ht=S(4664),ze=S(3997);function Le(e){for(let t in e)if(e[t]===Le)return t;throw Error("Could not find renamed property on target object.")}function mt(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Xe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Xe).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 Ie(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ce=Le({__forward_ref__:Le});function $e(e){return e.__forward_ref__=$e,e.toString=function(){return Xe(this())},e}function Ee(e){return Te(e)?e():e}function Te(e){return"function"==typeof e&&e.hasOwnProperty(Ce)&&e.__forward_ref__===$e}function ve(e){return e&&!!e.\u0275providers}const Ye="https://g.co/ng/security#xss";class _e extends Error{constructor(t,n){super(function Gt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function He(e){return"string"==typeof e?e:null==e?"":String(e)}function Q(e,t){throw new _e(-201,!1)}function W(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function he(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Tt(e){return Je(e,Kn)||Je(e,_n)}function Rt(e){return null!==Tt(e)}function Je(e,t){return e.hasOwnProperty(t)?e[t]:null}function mn(e){return e&&(e.hasOwnProperty(Mn)||e.hasOwnProperty(vn))?e[Mn]:null}const Kn=Le({\u0275prov:Le}),Mn=Le({\u0275inj:Le}),_n=Le({ngInjectableDef:Le}),vn=Le({ngInjectorDef:Le});var ct=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}(ct||{});let Ot;function st(e){const t=Ot;return Ot=e,t}function zr(e,t,n){const r=Tt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ct.Optional?null:void 0!==t?t:void Q(Xe(e))}const xt=globalThis;class Ne{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=he({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const le={},Ae="__NG_DI_FLAG__",Be="ngTempTokenPath",_t=/\n/gm,yn="__source";let Cn;function L(e){const t=Cn;return Cn=e,t}function U(e,t=ct.Default){if(void 0===Cn)throw new _e(-203,!1);return null===Cn?zr(e,void 0,t):Cn.get(e,t&ct.Optional?null:void 0,t)}function ie(e,t=ct.Default){return(function ui(){return Ot}()||U)(Ee(e),t)}function De(e,t=ct.Default){return ie(e,be(t))}function be(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ut(e){const t=[];for(let n=0;nt){s=o-1;break}}}for(;oo?"":i[O+1].toLowerCase();const z=8&r?k:null;if(z&&-1!==Kr(z,D,0)||2&r&&D!==k){if(un(r))return!1;s=!0}}}}else{if(!s&&!un(r)&&!un(h))return!1;if(s&&un(h))continue;s=!1,r=h|1&r}}return un(r)||s}function un(e){return 0==(1&e)}function dn(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+u+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!un(s)&&(t+=Oi(o,i),i=""),r=s,o=o||!un(r);n++}return""!==i&&(t+=Oi(o,i)),t}function di(e){return nn(()=>{const t=Jn(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Hn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||pn.Emulated,styles:e.styles||je,_:null,schemas:e.schemas||null,tView:null,id:""};Xr(n);const r=e.dependencies;return n.directiveDefs=Mr(r,!1),n.pipeDefs=Mr(r,!0),n.id=function Sr(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 i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function lo(e){return dt(e)||on(e)}function Ri(e){return null!==e}function fi(e){return nn(()=>({type:e.type,bootstrap:e.bootstrap||je,declarations:e.declarations||je,imports:e.imports||je,exports:e.exports||je,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hi(e,t){if(null==e)return ft;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}function pi(e){return nn(()=>{const t=Jn(e);return Xr(t),t})}function Ki(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 dt(e){return e[In]||null}function on(e){return e[dr]||null}function gn(e){return e[rn]||null}function qn(e){const t=dt(e)||on(e)||gn(e);return null!==t&&t.standalone}function Qt(e,t){const n=e[Ln]||null;if(!n&&!0===t)throw new Error(`Type ${Xe(e)} does not have '\u0275mod' property.`);return n}function Jn(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||ft,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||je,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hi(e.inputs,t),outputs:hi(e.outputs)}}function Xr(e){e.features?.forEach(t=>t(e))}function Mr(e,t){if(!e)return null;const n=t?gn:lo;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Ri)}const jt=0,Fe=1,it=2,Ft=3,Pn=4,Ir=5,fn=6,Nn=7,qt=8,or=9,sr=10,nt=11,gi=12,Lr=13,pr=14,Wt=15,kr=16,gr=17,Gn=18,Vr=19,Ur=20,zn=21,mr=22,Qr=23,xi=24,Ct=25,mi=1,co=2,ar=7,$r=9,Dn=11;function Wn(e){return Array.isArray(e)&&"object"==typeof e[mi]}function An(e){return Array.isArray(e)&&!0===e[mi]}function Li(e){return 0!=(4&e.flags)}function _(e){return e.componentOffset>-1}function C(e){return 1==(1&e.flags)}function g(e){return!!e.template}function b(e){return 0!=(512&e[it])}function vi(e,t){return e.hasOwnProperty(ln)?e[ln]:null}let En=null,fo=!1;function kn(e){const t=En;return En=e,t}const To={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Oo(e){if(!Zi(e)||e.dirty){if(!e.producerMustRecompute(e)&&!go(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function As(e){e.dirty=!0,function bs(e){if(void 0===e.liveConsumerNode)return;const t=fo;fo=!0;try{for(const n of e.liveConsumerNode)n.dirty||As(n)}finally{fo=t}}(e),e.consumerMarkedDirty?.(e)}function Vi(e){return e&&(e.nextProducerIndex=0),kn(e)}function po(e,t){if(kn(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Zi(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function go(e){Ui(e);for(let t=0;t0}function Ui(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let w=null;function It(e){const t=kn(null);try{return e()}finally{kn(t)}}const Tr=()=>{},Or=(()=>({...To,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Tr}))();class Vn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function yr(){return Pr}function Pr(e){return e.type.prototype.ngOnChanges&&(e.setInput=fu),_i}function _i(){const e=Aa(this),t=e?.current;if(t){const n=e.previous;if(n===ft)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fu(e,t,n,r){const i=this.declaredInputs[n],o=Aa(e)||function No(e,t){return e[ba]=t}(e,{previous:ft,current:null}),s=o.current||(o.current={}),u=o.previous,h=u[i];s[i]=new Vn(h&&h.currentValue,t,u===ft),e[r]=t}yr.ngInherit=!0;const ba="__ngSimpleChanges__";function Aa(e){return e[ba]||null}const Xn=function(e,t,n){};function Jt(e){for(;Array.isArray(e);)e=e[jt];return e}function Ro(e,t){return Jt(t[e])}function Xt(e,t){return Jt(t[e.index])}function Rs(e,t){return e.data[t]}function ti(e,t){return e[t]}function Qn(e,t){const n=t[e];return Wn(n)?n:n[jt]}function $i(e,t){return null==t?null:e[t]}function Pa(e){e[gr]=0}function xs(e){1024&e[it]||(e[it]|=1024,mu(e,1))}function Fs(e){1024&e[it]&&(e[it]&=-1025,mu(e,-1))}function mu(e,t){let n=e[Ft];if(null===n)return;n[Ir]+=t;let r=n;for(n=n[Ft];null!==n&&(1===t&&1===r[Ir]||-1===t&&0===r[Ir]);)n[Ir]+=t,r=n,n=n[Ft]}const ot={lFrame:we(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function xo(){return ot.bindingsEnabled}function fe(){return ot.lFrame.lView}function bt(){return ot.lFrame.tView}function Fa(e){return ot.lFrame.contextLView=e,e[qt]}function _u(e){return ot.lFrame.contextLView=null,e}function Tn(){let e=La();for(;null!==e&&64===e.type;)e=e.parent;return e}function La(){return ot.lFrame.currentTNode}function vo(){const e=ot.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function jr(e,t){const n=ot.lFrame;n.currentTNode=e,n.isParent=t}function ks(){return ot.lFrame.isParent}function Vs(){ot.lFrame.isParent=!1}function Un(){const e=ot.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ri(){return ot.lFrame.bindingIndex}function yo(){return ot.lFrame.bindingIndex++}function Ci(e){const t=ot.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function wu(e){ot.lFrame.inI18n=e}function rf(e,t){const n=ot.lFrame;n.bindingIndex=n.bindingRootIndex=e,f(t)}function f(e){ot.lFrame.currentDirectiveIndex=e}function p(){return ot.lFrame.currentQueryIndex}function y(e){ot.lFrame.currentQueryIndex=e}function I(e){const t=e[Fe];return 2===t.type?t.declTNode:1===t.type?e[fn]:null}function P(e,t,n){if(n&ct.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&ct.Host||(i=I(o),null===i||(o=o[pr],10&i.type))););if(null===i)return!1;t=i,e=o}const r=ot.lFrame=K();return r.currentTNode=t,r.lView=e,!0}function X(e){const t=K(),n=e[Fe];ot.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function K(){const e=ot.lFrame,t=null===e?null:e.child;return null===t?we(e):t}function we(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 at(){const e=ot.lFrame;return ot.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ht=at;function St(){const e=at();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 wn(){return ot.lFrame.selectedIndex}function oi(e){ot.lFrame.selectedIndex=e}function Kt(){const e=ot.lFrame;return Rs(e.tView,e.selectedIndex)}let af=!0;function Va(){return af}function Qi(e){af=e}function Ua(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[gr]+=65536),(u>13>16&&(3&e[it])===t&&(e[it]+=8192,uf(u,o)):uf(u,o)}const Fo=-1;class Us{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function bu(e){return e!==Fo}function $s(e){return 32767&e}function Bs(e,t){let n=function my(e){return e>>16}(e),r=t;for(;n>0;)r=r[pr],n--;return r}let Au=!0;function ja(e){const t=Au;return Au=e,t}const cf=255,df=5;let vy=0;const Ei={};function Ha(e,t){const n=ff(e,t);if(-1!==n)return n;const r=t[Fe];r.firstCreatePass&&(e.injectorIndex=t.length,Tu(r.data,e),Tu(t,null),Tu(r.blueprint,null));const i=Ga(e,t),o=e.injectorIndex;if(bu(i)){const s=$s(i),u=Bs(i,t),h=u[Fe].data;for(let D=0;D<8;D++)t[o+D]=u[s+D]|h[s+D]}return t[o+8]=i,o}function Tu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ff(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ga(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=_f(i),null===r)return Fo;if(n++,i=i[pr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Fo}function Ou(e,t,n){!function yy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ir)&&(r=n[ir]),null==r&&(r=n[ir]=vy++);const i=r&cf;t.data[e+(i>>df)]|=1<=0?t&cf:wy:t}(n);if("function"==typeof o){if(!P(t,e,r))return r&ct.Host?hf(i,0,r):pf(t,n,r,i);try{let s;if(s=o(r),null!=s||r&ct.Optional)return s;Q()}finally{Ht()}}else if("number"==typeof o){let s=null,u=ff(e,t),h=Fo,D=r&ct.Host?t[Wt][fn]:null;for((-1===u||r&ct.SkipSelf)&&(h=-1===u?Ga(e,t):t[u+8],h!==Fo&&yf(r,!1)?(s=t[Fe],u=$s(h),t=Bs(h,t)):u=-1);-1!==u;){const M=t[Fe];if(vf(o,u,M.data)){const O=_y(u,t,n,s,r,D);if(O!==Ei)return O}h=t[u+8],h!==Fo&&yf(r,t[Fe].data[u+8]===D)&&vf(o,u,t)?(s=M,u=$s(h),t=Bs(h,t)):u=-1}}return i}function _y(e,t,n,r,i,o){const s=t[Fe],u=s.data[e+8],M=za(u,s,n,null==r?_(u)&&Au:r!=s&&0!=(3&u.type),i&ct.Host&&o===u);return null!==M?_o(t,s,M,u):Ei}function za(e,t,n,r,i){const o=e.providerIndexes,s=t.data,u=1048575&o,h=e.directiveStart,M=o>>20,k=i?u+M:e.directiveEnd;for(let z=r?u:u+M;z=h&&ae.type===n)return z}if(i){const z=s[h];if(z&&g(z)&&z.type===n)return h}return null}function _o(e,t,n,r){let i=e[n];const o=t.data;if(function hy(e){return e instanceof Us}(i)){const s=i;s.resolving&&function zt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _e(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Qe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():He(e)}(o[n]));const u=ja(s.canSeeViewProviders);s.resolving=!0;const D=s.injectImpl?st(s.injectImpl):null;P(e,r,ct.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function dy(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=Pr(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==D&&st(D),ja(u),s.resolving=!1,Ht()}}return i}function vf(e,t,n){return!!(n[t+(e>>df)]&1<{const t=e.prototype.constructor,n=t[ln]||Pu(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[ln]||Pu(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Pu(e){return Te(e)?()=>{const t=Pu(Ee(e));return t&&t()}:vi(e)}function _f(e){const t=e[Fe],n=t.type;return 2===n?t.declTNode:1===n?e[fn]:null}function Nu(e){return function Dy(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{const r=function Ru(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return u.annotation=s,u;function u(h,D,M){const O=h.hasOwnProperty(ko)?h[ko]:Object.defineProperty(h,ko,{value:[]})[ko];for(;O.length<=M;)O.push(null);return(O[M]=O[M]||[]).push(s),h}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Bo(e,t){e.forEach(n=>Array.isArray(n)?Bo(n,t):t(n))}function Ef(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nr(e,t,n){let r=jo(e,t);return r>=0?e[1|r]=n:(r=~r,function Py(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function xu(e,t){const n=jo(e,t);if(n>=0)return e[1|n]}function jo(e,t){return function wf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<t?i=o:r=o+1}return~(i<|^->||--!>|)/g,eD="\u200b$1\u200b";const Uu=new Map;let tD=0;const Bu="__ngContext__";function er(e,t){Wn(t)?(e[Bu]=t[Vr],function rD(e){Uu.set(e[Vr],e)}(t)):e[Bu]=t}let ju;function Hu(e,t){return ju(e,t)}function Ks(e){const t=e[Ft];return An(t)?t[Ft]:t}function Hf(e){return zf(e[gi])}function Gf(e){return zf(e[Pn])}function zf(e){for(;null!==e&&!An(e);)e=e[Pn];return e}function zo(e,t,n,r,i){if(null!=r){let o,s=!1;An(r)?o=r:Wn(r)&&(s=!0,r=r[jt]);const u=Jt(r);0===e&&null!==n?null==i?Zf(t,n,u):Co(t,n,u,i||null,!0):1===e&&null!==n?Co(t,n,u,i||null,!0):2===e?ll(t,u,s):3===e&&t.destroyNode(u),null!=o&&function SD(e,t,n,r,i){const o=n[ar];o!==Jt(n)&&zo(t,e,r,o,i);for(let u=Dn;ut.replace(Qy,eD))}(t))}function il(e,t,n){return e.createElement(t,n)}function Kf(e,t){const n=e[$r],r=n.indexOf(t);Fs(t),n.splice(r,1)}function ol(e,t){if(e.length<=Dn)return;const n=Dn+t,r=e[n];if(r){const i=r[kr];null!==i&&i!==e&&Kf(i,r),t>0&&(e[n-1][Pn]=r[Pn]);const o=Wa(e,Dn+t);!function pD(e,t){Zs(e,t,t[nt],2,null,null),t[jt]=null,t[fn]=null}(r[Fe],r);const s=o[Gn];null!==s&&s.detachView(o[Fe]),r[Ft]=null,r[Pn]=null,r[it]&=-129}return r}function zu(e,t){if(!(256&t[it])){const n=t[nt];t[Qr]&&Po(t[Qr]),t[xi]&&Po(t[xi]),n.destroyNode&&Zs(e,t,n,3,null,null),function vD(e){let t=e[gi];if(!t)return Wu(e[Fe],e);for(;t;){let n=null;if(Wn(t))n=t[gi];else{const r=t[Dn];r&&(n=r)}if(!n){for(;t&&!t[Pn]&&t!==e;)Wn(t)&&Wu(t[Fe],t),t=t[Ft];null===t&&(t=e),Wn(t)&&Wu(t[Fe],t),n=t&&t[Pn]}t=n}}(t)}}function Wu(e,t){if(!(256&t[it])){t[it]&=-129,t[it]|=256,function CD(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[Nn]=null);const i=t[zn];if(null!==i){t[zn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===pn.None||o===pn.Emulated)return null}return Xt(r,n)}}function Co(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Zf(e,t,n){e.appendChild(t,n)}function qf(e,t,n,r,i){null!==r?Co(e,t,n,r,i):Zf(e,t,n)}function sl(e,t){return e.parentNode(t)}function Xf(e,t,n){return 40&e.type?Xt(e,n):null}let Yu,ul,Xu,cl,Qf=Xf;function eh(e,t){Qf=e,Yu=t}function al(e,t,n,r){const i=function Ku(e,t,n){return Yf(e,t.parent,n)}(e,r,t),o=t[nt],u=function Jf(e,t,n){return Qf(e,t,n)}(r.parent||t[fn],r,t);if(null!=i)if(Array.isArray(n))for(let h=0;he,createScript:e=>e,createScriptURL:e=>e})}catch{}return ul}()?.createHTML(e)||e}function PD(e){Xu=e}function Ko(){if(void 0!==Xu)return Xu;if(typeof document<"u")return document;throw new _e(210,!1)}function lh(e){return function Qu(){if(void 0===cl&&(cl=null,xt.trustedTypes))try{cl=xt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return cl}()?.createScriptURL(e)||e}class uh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ye})`}}function eo(e){return e instanceof uh?e.changingThisBreaksApplicationSecurity:e}function qs(e,t){const n=function kD(e){return e instanceof uh&&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 ${Ye})`)}return n===t}class VD{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Wo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class UD{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Wo(t),n}}const BD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ec(e){return(e=String(e)).match(BD)?e:"unsafe:"+e}function Bi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Js(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const dh=Bi("area,br,col,hr,img,wbr"),fh=Bi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hh=Bi("rp,rt"),tc=Js(dh,Js(fh,Bi("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")),Js(hh,Bi("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")),Js(hh,fh)),nc=Bi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ph=Js(nc,Bi("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"),Bi("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"));var Yo=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}(Yo||{});function mh(e){const t=Xs();return t?t.sanitize(Yo.URL,e)||"":qs(e,"URL")?eo(e):ec(He(e))}function vh(e){const t=Xs();if(t)return lh(t.sanitize(Yo.RESOURCE_URL,e)||"");if(qs(e,"ResourceURL"))return lh(eo(e));throw new _e(904,!1)}function yh(e,t,n){return function QD(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?vh:mh}(t,n)(e)}function Xs(){const e=fe();return e&&e[sr].sanitizer}const Qs=new Ne("ENVIRONMENT_INITIALIZER"),Dh=new Ne("INJECTOR",-1),_h=new Ne("INJECTOR_DEF_TYPES");class ic{get(t,n=le){if(n===le){const r=new Error(`NullInjectorError: No provider for ${Xe(t)}!`);throw r.name="NullInjectorError",r}return n}}function oc(e){return{\u0275providers:e}}function e_(...e){return{\u0275providers:Ch(0,e),\u0275fromNgModule:!0}}function Ch(e,...t){const n=[],r=new Set;let i;const o=s=>{n.push(s)};return Bo(t,s=>{const u=s;fl(u,o,[],r)&&(i||=[],i.push(u))}),void 0!==i&&Eh(i,o),n}function Eh(e,t){for(let n=0;n{t(o,r)})}}function fl(e,t,n,r){if(!(e=Ee(e)))return!1;let i=null,o=mn(e);const s=!o&&dt(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const h=e.ngModule;if(o=mn(h),!o)return!1;i=h}const u=r.has(i);if(s){if(u)return!1;if(r.add(i),s.dependencies){const h="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const D of h)fl(D,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!u){let D;r.add(i);try{Bo(o.imports,M=>{fl(M,t,n,r)&&(D||=[],D.push(M))})}finally{}void 0!==D&&Eh(D,t)}if(!u){const D=vi(i)||(()=>new i);t({provide:i,useFactory:D,deps:je},i),t({provide:_h,useValue:i,multi:!0},i),t({provide:Qs,useValue:()=>ie(i),multi:!0},i)}const h=o.providers;if(null!=h&&!u){const D=e;sc(h,M=>{t(M,D)})}}}return i!==e&&void 0!==e.providers}function sc(e,t){for(let n of e)ve(n)&&(n=n.\u0275providers),Array.isArray(n)?sc(n,t):t(n)}const t_=Le({provide:String,useValue:Le});function ac(e){return null!==e&&"object"==typeof e&&t_ in e}function Eo(e){return"function"==typeof e}const lc=new Ne("Set Injector scope."),hl={},r_={};let uc;function pl(){return void 0===uc&&(uc=new ic),uc}class wi{}class Zo extends wi{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,dc(t,s=>this.processProvider(s)),this.records.set(Dh,qo(void 0,this)),i.has("environment")&&this.records.set(wi,qo(void 0,this));const o=this.records.get(lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(_h.multi,je,ct.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=L(this),r=st(void 0);try{return t()}finally{L(n),st(r)}}get(t,n=le,r=ct.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Wr))return t[Wr](this);r=be(r);const o=L(this),s=st(void 0);try{if(!(r&ct.SkipSelf)){let h=this.records.get(t);if(void 0===h){const D=function l_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ne}(t)&&Tt(t);h=D&&this.injectableDefInScope(D)?qo(cc(t),hl):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&ct.Self?pl():this.parent).get(t,n=r&ct.Optional&&n===le?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[Be]=u[Be]||[]).unshift(Xe(t)),o)throw u;return function jn(e,t,n,r){const i=e[Be];throw t[yn]&&i.unshift(t[yn]),e.message=function an(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Xe(t);if(Array.isArray(t))i=t.map(Xe).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let u=t[s];o.push(s+":"+("string"==typeof u?JSON.stringify(u):Xe(u)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(_t,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Be]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{st(s),L(o)}}resolveInjectorInitializers(){const t=L(this),n=st(void 0);try{const i=this.get(Qs.multi,je,ct.Self);for(const o of i)o()}finally{L(t),st(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Xe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _e(205,!1)}processProvider(t){let n=Eo(t=Ee(t))?t:Ee(t&&t.provide);const r=function o_(e){return ac(e)?qo(void 0,e.useValue):qo(Sh(e),hl)}(t);if(Eo(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=qo(void 0,hl,!0),i.factory=()=>Ut(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===hl&&(n.value=r_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function a_(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=Ee(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 cc(e){const t=Tt(e),n=null!==t?t.factory:vi(e);if(null!==n)return n;if(e instanceof Ne)throw new _e(204,!1);if(e instanceof Function)return function i_(e){const t=e.length;if(t>0)throw function Gs(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new _e(204,!1)}function Sh(e,t,n){let r;if(Eo(e)){const i=Ee(e);return vi(i)||cc(i)}if(ac(e))r=()=>Ee(e.useValue);else if(function Mh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ut(e.deps||[]));else if(function wh(e){return!(!e||!e.useExisting)}(e))r=()=>ie(Ee(e.useExisting));else{const i=Ee(e&&(e.useClass||e.provide));if(!function s_(e){return!!e.deps}(e))return vi(i)||cc(i);r=()=>new i(...Ut(e.deps))}return r}function qo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function dc(e,t){for(const n of e)Array.isArray(n)?dc(n,t):n&&ve(n)?dc(n.\u0275providers,t):t(n)}const Ih=new Ne("AppId",{providedIn:"root",factory:()=>u_}),u_="ng",bh=new Ne("Platform Initializer"),fc=new Ne("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),c_=new Ne("CSP nonce",{providedIn:"root",factory:()=>Ko().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ah=(e,t,n)=>null;function _c(e,t,n=!1){return Ah(e,t,n)}class __{}class Ph{}class E_{resolveComponentFactory(t){throw function C_(e){const t=Error(`No component factory found for ${Xe(e)}.`);return t.ngComponent=e,t}(t)}}let _l=(()=>{class e{static#e=this.NULL=new E_}return e})();function w_(){return Qo(Tn(),fe())}function Qo(e,t){return new na(Xt(e,t))}let na=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=w_}return e})();function M_(e){return e instanceof na?e.nativeElement:e}class Rh{}let S_=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function I_(){const e=fe(),n=Qn(Tn().index,e);return(Wn(n)?n:e)[nt]}()}return e})(),b_=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>null})}return e})();class xh{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 xh("16.2.12"),wc={};function Vh(e,t=null,n=null,r){const i=Uh(e,t,n,r);return i.resolveInjectorInitializers(),i}function Uh(e,t=null,n=null,r,i=new Set){const o=[n||je,e_(e)];return r=r||("object"==typeof e?void 0:Xe(e)),new Zo(o,t||pl(),r||null,i)}let si=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=le;static#t=this.NULL=new ic;static create(n,r){if(Array.isArray(n))return Vh({name:""},r,n,"");{const i=n.name??"";return Vh({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=he({token:e,providedIn:"any",factory:()=>ie(Dh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Sc(e){return e.ngOriginalError}class to{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&&Sc(t);for(;n&&Sc(n);)n=Sc(n);return n||null}}function bc(e){return t=>{setTimeout(e,void 0,t)}}const Mi=class F_ extends l.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const h=t;i=h.next?.bind(h),o=h.error?.bind(h),s=h.complete?.bind(h)}this.__isAsync&&(o=bc(o),i&&(i=bc(i)),s&&(s=bc(s)));const u=super.subscribe({next:i,error:o,complete:s});return t instanceof v.w0&&t.add(u),u}};function Bh(...e){}class $n{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mi(!1),this.onMicrotaskEmpty=new Mi(!1),this.onStable=new Mi(!1),this.onError=new Mi(!1),typeof Zone>"u")throw new _e(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function L_(){const e="function"==typeof xt.requestAnimationFrame;let t=xt[e?"requestAnimationFrame":"setTimeout"],n=xt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function U_(e){const t=()=>{!function V_(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(xt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Tc(e),e.isCheckStableRunning=!0,Ac(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Tc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,u)=>{if(function B_(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(u))return n.invokeTask(i,o,s,u);try{return jh(e),n.invokeTask(i,o,s,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Hh(e)}},onInvoke:(n,r,i,o,s,u,h)=>{try{return jh(e),n.invoke(i,o,s,u,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hh(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Tc(e),Ac(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!$n.isInAngularZone())throw new _e(909,!1)}static assertNotInAngularZone(){if($n.isInAngularZone())throw new _e(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,k_,Bh,Bh);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const k_={};function Ac(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 Tc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function jh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hh(e){e._nesting--,Ac(e)}class $_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mi,this.onMicrotaskEmpty=new Mi,this.onStable=new Mi,this.onError=new Mi}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const Gh=new Ne("",{providedIn:"root",factory:zh});function zh(){const e=De($n);let t=!0;return function T(...e){const t=(0,G.yG)(e),n=(0,G._6)(e,1/0),r=e;return r.length?1===r.length?(0,j.Xf)(r[0]):(0,Z.J)(n)((0,A.D)(r,t)):B.E}(new ee.y(i=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(t),i.complete()})}),new ee.y(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{$n.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,i.next(!0))})})});const s=e.onUnstable.subscribe(()=>{$n.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(Pe()))}function ji(e){return e instanceof Function?e():e}let Oc=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>new e})}return e})();function ra(e){for(;e;){e[it]|=64;const t=Ks(e);if(b(e)&&!t)return e;e=t}return null}const qh=new Ne("",{providedIn:"root",factory:()=>!1});let El=null;function ep(e,t){return e[t]??rp()}function tp(e,t){const n=rp();n.producerNode?.length&&(e[t]=El,n.lView=e,El=np())}const J_={...To,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ra(e.lView)},lView:null};function np(){return Object.create(J_)}function rp(){return El??=np(),El}const pt={};function ip(e){op(bt(),fe(),wn()+e,!1)}function op(e,t,n,r){if(!r)if(3==(3&t[it])){const o=e.preOrderCheckHooks;null!==o&&$a(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Ba(t,o,0,n)}oi(n)}function ns(e,t=ct.Default){const n=fe();return null===n?ie(e,t):gf(Tn(),n,Ee(e),t)}function sp(){throw new Error("invalid")}function wl(e,t,n,r,i,o,s,u,h,D,M){const O=t.blueprint.slice();return O[jt]=i,O[it]=140|r,(null!==D||e&&2048&e[it])&&(O[it]|=2048),Pa(O),O[Ft]=O[pr]=e,O[qt]=n,O[sr]=s||e&&e[sr],O[nt]=u||e&&e[nt],O[or]=h||e&&e[or]||null,O[fn]=o,O[Vr]=function nD(){return tD++}(),O[mr]=M,O[Ur]=D,O[Wt]=2==t.type?e[Wt]:O,O}function rs(e,t,n,r,i){let o=e.data[t];if(null===o)o=Pc(e,t,n,r,i),function nf(){return ot.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=vo();o.injectorIndex=null===s?-1:s.injectorIndex}return jr(o,!0),o}function Pc(e,t,n,r,i){const o=La(),s=ks(),h=e.data[t]=function oC(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,u=0;return function Xi(){return null!==ot.skipHydrationRootTNode}()&&(u|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:i,attrs:o,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,s?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=h),null!==o&&(s?null==o.child&&null!==h.parent&&(o.child=h):null===o.next&&(o.next=h,h.prev=o)),h}function ia(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;oCt&&op(e,t,Ct,!1),Xn(u?2:0,i);const D=u?o:null,M=Vi(D);try{null!==D&&(D.dirty=!1),n(r,i)}finally{po(D,M)}}finally{u&&null===t[Qr]&&tp(t,Qr),oi(s),Xn(u?3:1,i)}}function Nc(e,t,n){if(Li(t)){const r=kn(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;snull;function cp(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const o=e[i];null===r?dp(n,t,i,o):r.hasOwnProperty(i)&&dp(n,t,r[i],o)}return n}function dp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Rr(e,t,n,r,i,o,s,u){const h=Xt(t,n);let M,D=t.inputs;!u&&null!=D&&(M=D[r])?($c(e,n,M,r,i),_(t)&&function lC(e,t){const n=Qn(t,e);16&n[it]||(n[it]|=64)}(n,t.index)):3&t.type&&(r=function aC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,t.value||"",r):i,o.setProperty(h,r,i))}function Lc(e,t,n,r){if(xo()){const i=null===r?null:{"":-1},o=function pC(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(n,r,o)}}(e,t,r,ia(e,n,i.hostVars,pt),i)}function Vc(e,t,n,r,i,o,s){if(null==o)e.removeAttribute(t,i,n);else{const u=null==s?He(o):s(o,r||"",i);e.setAttribute(t,i,u,n)}}function _C(e,t,n,r,i,o){const s=o[t];if(null!==s)for(let u=0;u{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,i){const o=typeof Zone>"u"?null:Zone.current,s=function hn(e,t,n){const r=Object.create(Or);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=s=>{r.cleanupFn=s};return r.ref={notify:()=>As(r),run:()=>{if(r.dirty=!1,r.hasRun&&!go(r))return;r.hasRun=!0;const s=Vi(r);try{r.cleanupFn(),r.cleanupFn=Tr,r.fn(i)}finally{po(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(n,D=>{this.all.has(D)&&this.queue.set(D,o)},i);let u;this.all.add(s),s.notify();const h=()=>{s.cleanup(),u?.(),this.all.delete(s),this.queue.delete(s)};return u=r?.onDestroy(h),{destroy:h}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>new e})}return e})();function Sl(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s0){Mp(e,1);const i=n.components;null!==i&&Ip(e,i,1)}}function Ip(e,t,n){for(let r=0;r-1&&(ol(t,r),Wa(n,r))}this._attachedToViewContainer=!1}zu(this._lView[Fe],this._lView)}onDestroy(t){!function Ls(e,t){if(256==(256&e[it]))throw new _e(911,!1);null===e[zn]&&(e[zn]=[]),e[zn].push(t)}(this._lView,t)}markForCheck(){ra(this._cdRefInjectingView||this._lView)}detach(){this._lView[it]&=-129}reattach(){this._lView[it]|=128}detectChanges(){Il(this._lView[Fe],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _e(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function mD(e,t){Zs(e,t,t[nt],2,null,null)}(this._lView[Fe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _e(902,!1);this._appRef=t}}class TC extends sa{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Il(t[Fe],t,t[qt],!1)}checkNoChanges(){}get context(){return null}}class bp extends _l{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=dt(t);return new aa(n,this.ngModule)}}function Ap(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class PC{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=be(r);const i=this.injector.get(t,wc,r);return i!==wc||n===wc?i:this.parentInjector.get(t,n,r)}}class aa extends Ph{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Ap(t.inputs);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return Ap(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(so).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof wi?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new PC(t,o):t,u=s.get(Rh,null);if(null===u)throw new _e(407,!1);const O={rendererFactory:u,sanitizer:s.get(b_,null),effectManager:s.get(Cp,null),afterRenderEventManager:s.get(Oc,null)},k=u.createRenderer(null,this.componentDef),z=this.componentDef.selectors[0][0]||"div",ae=r?function eC(e,t,n,r){const o=r.get(qh,!1)||n===pn.ShadowDom,s=e.selectRootElement(t,o);return function tC(e){up(e)}(s),s}(k,r,this.componentDef.encapsulation,s):il(k,z,function OC(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(z)),We=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let de=null;null!==ae&&(de=_c(ae,s,!0));const lt=Fc(0,null,null,1,0,null,null,null,null,null,null),Et=wl(null,lt,null,We,null,null,O,k,s,null,de);let Zt,Er;X(Et);try{const Gi=this.componentDef;let _s,qd=null;Gi.findHostDirectiveDefs?(_s=[],qd=new Map,Gi.findHostDirectiveDefs(Gi,_s,qd),_s.push(Gi)):_s=[Gi];const $S=function RC(e,t){const n=e[Fe],r=Ct;return e[r]=t,rs(n,r,2,"#host",null)}(Et,ae),BS=function xC(e,t,n,r,i,o,s){const u=i[Fe];!function FC(e,t,n,r){for(const i of e)t.mergedAttrs=wr(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Sl(t,t.mergedAttrs,!0),null!==n&&oh(r,n,t))}(r,e,t,s);let h=null;null!==t&&(h=_c(t,i[or]));const D=o.rendererFactory.createRenderer(t,n);let M=16;n.signals?M=4096:n.onPush&&(M=64);const O=wl(i,lp(n),null,M,i[e.index],e,o,D,null,null,h);return u.firstCreatePass&&kc(u,e,r.length-1),Ml(i,O),i[e.index]=O}($S,ae,Gi,_s,Et,O,k);Er=Rs(lt,Ct),ae&&function kC(e,t,n,r){if(r)Yr(e,n,["ng-version",A_.full]);else{const{attrs:i,classes:o}=function ao(e){const t=[],n=[];let r=1,i=2;for(;r0&&ih(e,n,o.join(" "))}}(k,Gi,ae,r),void 0!==n&&function VC(e,t,n){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=wr(i.hostAttrs,n=wr(n,i.hostAttrs))}}(r)}function bl(e){return e===ft?{}:e===je?[]:e}function BC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function jC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function HC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Rp(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}e.inputTransforms=n}function Al(e){return!!Hc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Hc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ii(e,t,n){return e[t]=n}function tr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function wo(e,t,n,r){const i=tr(e,t,n);return tr(e,t+1,r)||i}function Gc(e,t,n,r){const i=fe();return tr(i,yo(),t)&&(bt(),function Si(e,t,n,r,i,o){const s=Xt(e,t);Vc(t[nt],s,o,e.value,n,r,i)}(Kt(),i,e,t,n,r)),Gc}function os(e,t,n,r){return tr(e,yo(),n)?t+He(n)+r:pt}function ss(e,t,n,r,i,o){const u=wo(e,ri(),n,i);return Ci(2),u?t+He(n)+r+He(i)+o:pt}function Wp(e,t,n,r,i,o,s,u){const h=fe(),D=bt(),M=e+Ct,O=D.firstCreatePass?function pE(e,t,n,r,i,o,s,u,h){const D=t.consts,M=rs(t,e,4,s||null,$i(D,u));Lc(t,n,M,$i(D,h)),Ua(t,M);const O=M.tView=Fc(2,M,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,D,null);return null!==t.queries&&(t.queries.template(t,M),O.queries=t.queries.embeddedTView(M)),M}(M,D,h,t,n,r,i,o,s):D.data[M];jr(O,!1);const k=Kp(D,h,O,e);Va()&&al(D,h,k,O),er(k,h),Ml(h,h[M]=gp(k,h,k,O)),C(O)&&Rc(D,h,O),null!=s&&xc(h,O,u)}let Kp=function Yp(e,t,n,r){return Qi(!0),t[nt].createComment("")};function Zp(e){return ti(function Cu(){return ot.lFrame.contextLView}(),Ct+e)}function qc(e,t,n){const r=fe();return tr(r,yo(),t)&&Rr(bt(),Kt(),r,e,t,r[nt],n,!1),qc}function Jc(e,t,n,r,i){const s=i?"class":"style";$c(e,n,t.inputs[s],s,r)}function Rl(e,t,n,r){const i=fe(),o=bt(),s=Ct+e,u=i[nt],h=o.firstCreatePass?function yE(e,t,n,r,i,o){const s=t.consts,h=rs(t,e,2,r,$i(s,i));return Lc(t,n,h,$i(s,o)),null!==h.attrs&&Sl(h,h.attrs,!1),null!==h.mergedAttrs&&Sl(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(s,o,i,t,n,r):o.data[s],D=qp(o,i,h,u,t,e);i[s]=D;const M=C(h);return jr(h,!0),oh(u,D,h),32!=(32&h.flags)&&Va()&&al(o,i,D,h),0===function Xd(){return ot.lFrame.elementDepthCount}()&&er(D,i),function Na(){ot.lFrame.elementDepthCount++}(),M&&(Rc(o,i,h),Nc(o,h,i)),null!==r&&xc(i,h),Rl}function xl(){let e=Tn();ks()?Vs():(e=e.parent,jr(e,!1));const t=e;(function yu(e){return ot.skipHydrationRootTNode===e})(t)&&function ef(){ot.skipHydrationRootTNode=null}(),function Ra(){ot.lFrame.elementDepthCount--}();const n=bt();return n.firstCreatePass&&(Ua(n,e),Li(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function py(e){return 0!=(8&e.flags)}(t)&&Jc(n,t,fe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function gy(e){return 0!=(16&e.flags)}(t)&&Jc(n,t,fe(),t.stylesWithoutHost,!1),xl}function Xc(e,t,n,r){return Rl(e,t,n,r),xl(),Xc}let qp=(e,t,n,r,i,o)=>(Qi(!0),il(r,i,function sf(){return ot.lFrame.currentNamespace}()));function Fl(e,t,n){const r=fe(),i=bt(),o=e+Ct,s=i.firstCreatePass?function CE(e,t,n,r,i){const o=t.consts,s=$i(o,r),u=rs(t,e,8,"ng-container",s);return null!==s&&Sl(u,s,!0),Lc(t,n,u,$i(o,i)),null!==t.queries&&t.queries.elementStart(t,u),u}(o,i,r,t,n):i.data[o];jr(s,!0);const u=Xp(i,r,s,e);return r[o]=u,Va()&&al(i,r,u,s),er(u,r),C(s)&&(Rc(i,r,s),Nc(i,s,r)),null!=n&&xc(r,s),Fl}function Ll(){let e=Tn();const t=bt();return ks()?Vs():(e=e.parent,jr(e,!1)),t.firstCreatePass&&(Ua(t,e),Li(e)&&t.queries.elementEnd(e)),Ll}let Xp=(e,t,n,r)=>(Qi(!0),Gu(t[nt],""));function Qp(){return fe()}function Qc(e){return!!e&&"function"==typeof e.then}function eg(e){return!!e&&"function"==typeof e.subscribe}function ed(e,t,n,r){const i=fe(),o=bt(),s=Tn();return function ng(e,t,n,r,i,o,s){const u=C(r),D=e.firstCreatePass&&yp(e),M=t[qt],O=vp(t);let k=!0;if(3&r.type||s){const ge=Xt(r,t),Re=s?s(ge):ge,We=O.length,de=s?Et=>s(Jt(Et[r.index])):r.index;let lt=null;if(!s&&u&&(lt=function ME(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;oh?u[h]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==lt)(lt.__ngLastListenerFn__||lt).__ngNextListenerFn__=o,lt.__ngLastListenerFn__=o,k=!1;else{o=ig(r,t,M,o,!1);const Et=n.listen(Re,i,o);O.push(o,Et),D&&D.push(i,de,We,We+1)}}else o=ig(r,t,M,o,!1);const z=r.outputs;let ae;if(k&&null!==z&&(ae=z[i])){const ge=ae.length;if(ge)for(let Re=0;Re-1?Qn(e.index,t):t);let h=rg(t,n,r,s),D=o.__ngNextListenerFn__;for(;D;)h=rg(t,n,D,s)&&h,D=D.__ngNextListenerFn__;return i&&!1===h&&s.preventDefault(),h}}function og(e=1){return function ii(e){return(ot.lFrame.contextLView=function Do(e,t){for(;e>0;)t=t[pr],e--;return t}(e,ot.lFrame.contextLView))[qt]}(e)}function td(e,t,n){return kl(e,"",t,"",n),td}function kl(e,t,n,r,i){const o=fe(),s=os(o,t,n,r);return s!==pt&&Rr(bt(),Kt(),o,e,s,o[nt],i,!1),kl}function nd(e,t,n,r,i,o,s){const u=fe(),h=ss(u,t,n,r,i,o);return h!==pt&&Rr(bt(),Kt(),u,e,h,u[nt],s,!1),nd}function Vl(e,t){return e<<17|t<<2}function no(e){return e>>17&32767}function rd(e){return 2|e}function Mo(e){return(131068&e)>>2}function id(e,t){return-131069&e|t<<2}function od(e){return 1|e}function hg(e,t,n,r,i){const o=e[n+1],s=null===t;let u=r?no(o):Mo(o),h=!1;for(;0!==u&&(!1===h||s);){const M=e[u+1];RE(e[u],t)&&(h=!0,e[u+1]=r?od(M):rd(M)),u=r?no(M):Mo(M)}h&&(e[n+1]=r?rd(o):od(o))}function RE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&jo(e,t)>=0}const xn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function pg(e){return e.substring(xn.key,xn.keyEnd)}function gg(e,t){const n=xn.textEnd;return n===t?-1:(t=xn.keyEnd=function kE(e,t,n){for(;t32;)t++;return t}(e,xn.key=t,n),hs(e,t,n))}function hs(e,t,n){for(;t=0;n=gg(t,n))Nr(e,pg(t),!0)}function ai(e,t,n,r){const i=fe(),o=bt(),s=Ci(2);o.firstUpdatePass&&Eg(o,e,s,r),t!==pt&&tr(i,s,t)&&Mg(o,o.data[wn()],i,i[nt],e,i[s+1]=function YE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Xe(eo(e)))),e}(t,n),r,s)}function Cg(e,t){return t>=e.expandoStartIndex}function Eg(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[wn()],s=Cg(e,n);Ig(o,r)&&null===t&&!s&&(t=!1),t=function BE(e,t,n,r){const i=function a(e){const t=ot.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=fa(n=ld(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=ld(i,e,t,n,r),null===o){let h=function jE(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Mo(r))return e[no(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=ld(null,e,t,h[1],r),h=fa(h,t.attrs,r),function HE(e,t,n,r){e[no(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else o=function GE(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(D=!0)):M=n,i)if(0!==h){const k=no(e[u+1]);e[r+1]=Vl(k,u),0!==k&&(e[k+1]=id(e[k+1],r)),e[u+1]=function TE(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=Vl(u,0),0!==u&&(e[u+1]=id(e[u+1],r)),u=r;else e[r+1]=Vl(h,0),0===u?u=r:e[h+1]=id(e[h+1],r),h=r;D&&(e[r+1]=rd(e[r+1])),hg(e,M,r,!0),hg(e,M,r,!1),function NE(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&jo(o,t)>=0&&(n[r+1]=od(n[r+1]))}(t,M,e,r,o),s=Vl(u,h),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function ld(e,t,n,r,i){let o=null;const s=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u0;){const h=e[i],D=Array.isArray(h),M=D?h[1]:h,O=null===M;let k=n[i+1];k===pt&&(k=O?je:void 0);let z=O?xu(k,r):M===r?k:void 0;if(D&&!Ul(z)&&(z=xu(h,r)),Ul(z)&&(u=z,s))return u;const ae=e[i+1];i=s?no(ae):Mo(ae)}if(null!==t){let h=o?t.residualClasses:t.residualStyles;null!=h&&(u=xu(h,r))}return u}function Ul(e){return void 0!==e}function Ig(e,t){return 0!=(e.flags&(t?8:16))}function bg(e,t=""){const n=fe(),r=bt(),i=e+Ct,o=r.firstCreatePass?rs(r,i,1,t,null):r.data[i],s=Ag(r,n,o,t,e);n[i]=s,Va()&&al(r,n,s,o),jr(o,!1)}let Ag=(e,t,n,r,i)=>(Qi(!0),rl(t[nt],r));function ud(e){return $l("",e,""),ud}function $l(e,t,n){const r=fe(),i=os(r,e,t,n);return i!==pt&&Hi(r,wn(),i),$l}function cd(e,t,n,r,i){const o=fe(),s=ss(o,e,t,n,r,i);return s!==pt&&Hi(o,wn(),s),cd}const So=void 0;var v0=["en",[["a","p"],["AM","PM"],So],[["AM","PM"],So,So],[["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"]],So,[["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"]],So,[["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}",So,"{1} 'at' {0}",So],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function m0(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ps={};function dd(e){const t=function y0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Yg(t);if(n)return n;const r=t.split("-")[0];if(n=Yg(r),n)return n;if("en"===r)return v0;throw new _e(701,!1)}function Kg(e){return dd(e)[gs.PluralCase]}function Yg(e){return e in ps||(ps[e]=xt.ng&&xt.ng.common&&xt.ng.common.locales&&xt.ng.common.locales[e]),ps[e]}var gs=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}(gs||{});const D0=["zero","one","two","few","many"],ms="en-US",Bl={marker:"element"},jl={marker:"ICU"};var _r=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(_r||{});let Zg=ms;function qg(e){(function Nt(e,t){null==e&&W(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Zg=e.toLowerCase().replace(/_/g,"-"))}function Jg(e,t,n){const r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?Xf(e,0,n):Jt(n[i])}function Xg(e,t,n,r,i){const o=t.insertBeforeIndex;if(Array.isArray(o)){let s=r,u=null;if(3&t.type||(u=s,s=i),null!==s&&-1===t.componentOffset)for(let h=1;h1)for(let n=e.length-2;n>=0;n--){const r=e[n];em(r)||w0(r,t)&&null===M0(r)&&S0(r,t.index)}}function em(e){return!(64&e.type)}function w0(e,t){return em(t)||e.index>t.index}function M0(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function S0(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(eh(Jg,Xg),e.insertBeforeIndex=t)}function ha(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function A0(e,t,n){const r=Pc(e,n,64,null,null);return Qg(t,r),r}function Hl(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function tm(e){return e>>>17}function nm(e){return(131070&e)>>>1}let pa=0,ga=0;function im(e,t,n,r){const i=n[nt];let s,o=null;for(let u=0;u>>1,n),null,null,z,ae,null)}else switch(h){case jl:const D=t[++u],M=t[++u];null===n[M]&&er(n[M]=Gu(i,D),n);break;case Bl:const O=t[++u],k=t[++u];null===n[k]&&er(n[k]=il(i,O,null),n)}}}function om(e,t,n,r,i){for(let o=0;o>>2;switch(3&M){case 1:const k=n[++D],z=n[++D],ae=e.data[O];"string"==typeof ae?Vc(t[nt],t[O],null,ae,k,h,z):Rr(e,ae,t,k,h,t[nt],z,!1);break;case 0:const ge=t[O];null!==ge&&Wf(t[nt],ge,h);break;case 2:R0(e,ha(e,O),t,h);break;case 3:sm(e,ha(e,O),r,t)}}}}else{const h=n[o+1];if(h>0&&3==(3&h)){const M=ha(e,h>>>2);t[M.currentCaseLViewIndex]<0&&sm(e,M,r,t)}}o+=u}}function sm(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(null!==i){let o=pa;i<0&&(i=r[t.currentCaseLViewIndex]=~i,o=-1),om(e,r,t.update[i],n,o)}}function R0(e,t,n,r){const i=function x0(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function _0(e,t){const n=Kg(t)(parseInt(e,10)),r=D0[n];return void 0!==r?r:"other"}(t,function E0(){return Zg}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Hl(t,n)!==i&&(am(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const s=n[t.anchorIdx];s&&im(e,t.create[i],n,s)}}function am(e,t,n){let r=Hl(t,n);if(null!==r){const i=t.remove[r];for(let o=0;o0){const u=Ro(s,n);null!==u&&ll(n[nt],u)}else am(e,ha(e,~s),n)}}}function F0(){const e=[];let n,r,t=-1;function o(u,h){t=0;const D=Hl(u,h);r=null!==D?u.remove[D]:je}function s(){if(t0?n[u]:(e.push(t,r),o(n[Fe].data[~u],n),s())}return 0===e.length?null:(r=e.pop(),t=e.pop(),s())}return function i(u,h){for(n=h;e.length;)e.pop();return o(u.value,h),s}}const Gl=/\ufffd(\d+):?\d*\ufffd/gi,k0=/\ufffd(\d+)\ufffd/,um=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ma="\ufffd",V0=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,U0=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,$0=/\uE500/g;function cm(e,t,n,r,i,o,s){const u=ia(e,r,1,null);let h=u<<_r.SHIFT,D=vo();t===D&&(D=null),null===D&&(h|=_r.APPEND_EAGERLY),s&&(h|=_r.COMMENT,function dD(e){void 0===ju&&(ju=e())}(F0)),i.push(h,null===o?"":o);const M=Pc(e,u,s?32:1,null===o?"":o,null);Qg(n,M);const O=M.index;return jr(M,!1),null!==D&&t!==D&&function b0(e,t){let n=e.insertBeforeIndex;null===n?(eh(Jg,Xg),n=e.insertBeforeIndex=[null,t]):(function pe(e,t,n){e!=t&&W(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(D,O),M}function H0(e,t,n,r,i,o,s){const u=s.match(Gl),h=cm(e,t,n,o,r,u?null:s,!1);u&&va(i,s,h.index,null,0,null)}function va(e,t,n,r,i,o){const s=e.length,u=s+1;e.push(null,null);const h=s+2,D=t.split(Gl);let M=0;for(let O=0;On.length&&n.push(h)}return{type:r,mainBinding:i,cases:t,values:n}}function fd(e){if(!e)return[];let t=0;const n=[],r=[],i=/[{}]/g;let o;for(i.lastIndex=0;o=i.exec(e);){const u=o.index;if("}"==o[0]){if(n.pop(),0==n.length){const h=e.substring(t,u);um.test(h)?r.push(Y0(h)):r.push(h),t=u+1}}else{if(0==n.length){const h=e.substring(t,u);r.push(h),t=u+1}n.push("{")}}const s=e.substring(t);return r.push(s),r}function Z0(e,t,n,r,i,o,s,u){const h=[],D=[],M=[];t.cases.push(o),t.create.push(h),t.remove.push(D),t.update.push(M);const k=function ch(e){const t=new UD(e);return function $D(){try{return!!(new window.DOMParser).parseFromString(Wo(""),"text/html")}catch{return!1}}()?new VD(t):t}(Ko()).getInertBodyElement(s),z=function rc(e){return"content"in e&&function KD(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}(k)||k;return z?pm(e,t,n,r,h,D,M,z,i,u,0):0}function pm(e,t,n,r,i,o,s,u,h,D,M){let O=0,k=u.firstChild;for(;k;){const z=ia(e,n,1,null);switch(k.nodeType){case Node.ELEMENT_NODE:const ae=k,ge=ae.tagName.toLowerCase();if(tc.hasOwnProperty(ge)){hd(i,Bl,ge,h,z),e.data[z]=ge;const lt=ae.attributes;for(let Et=0;Et>>_r.SHIFT;let O=e[M];null===O&&(O=e[M]=(s&_r.COMMENT)===_r.COMMENT?i.createComment(u):rl(i,u)),D&&null!==n&&Co(i,n,O,r,!1)}})(i,h.create,M,u&&8&u.type?i[u.index]:null),wu(!0)}function gd(){wu(!1)}function vm(e,t,n){pd(e,t,n),gd()}function md(e){return function O0(e){e&&(pa|=1<0){const r=e.data[n];om(e,t,Array.isArray(r)?r:r.update,ri()-ga-1,pa)}pa=0,ga=0}(bt(),fe(),e+Ct)}function Dm(e,t={}){return function aw(e,t={}){let n=e;if(ew.test(e)){const r={},i=[mm];n=n.replace(tw,(o,s,u)=>{const h=s||u,D=r[h]||[];if(D.length||(h.split("|").forEach(ge=>{const Re=ge.match(sw),We=Re?parseInt(Re[1],10):mm,de=ow.test(ge);D.push([We,de,ge])}),r[h]=D),!D.length)throw new Error(`i18n postprocess: unmatched placeholder - ${h}`);const M=i[i.length-1];let O=0;for(let ge=0;get.hasOwnProperty(o)?`${i}${t[o]}${h}`:r),n=n.replace(rw,(r,i)=>t.hasOwnProperty(i)?t[i]:r),n=n.replace(iw,(r,i)=>{if(t.hasOwnProperty(i)){const o=t[i];if(!o.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${i}`);return o.shift()}return r})),n}(e,t)}function vd(e,t,n,r,i){if(e=Ee(e),Array.isArray(e))for(let o=0;o>20;if(Eo(e)||!e.multi){const z=new Us(D,i,ns),ae=Dd(h,t,i?M:M+k,O);-1===ae?(Ou(Ha(u,s),o,h),yd(o,e,t.length),t.push(h),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(z),s.push(z)):(n[ae]=z,s[ae]=z)}else{const z=Dd(h,t,M+k,O),ae=Dd(h,t,M,M+k),Re=ae>=0&&n[ae];if(i&&!Re||!i&&!(z>=0&&n[z])){Ou(Ha(u,s),o,h);const We=function hw(e,t,n,r,i){const o=new Us(e,n,ns);return o.multi=[],o.index=t,o.componentProviders=0,_m(o,i,r&&!n),o}(i?fw:dw,n.length,i,r,D);!i&&Re&&(n[ae].providerFactory=We),yd(o,e,t.length,0),t.push(h),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(We),s.push(We)}else yd(o,e,z>-1?z:ae,_m(n[i?ae:z],D,!i&&r));!i&&r&&Re&&n[ae].componentProviders++}}}function yd(e,t,n,r){const i=Eo(t),o=function n_(e){return!!e.useClass}(t);if(i||o){const h=(o?Ee(t.useClass):t).prototype.ngOnDestroy;if(h){const D=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const M=D.indexOf(n);-1===M?D.push(n,[r,h]):D[M+1].push(r,h)}else D.push(n,h)}}}function _m(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Dd(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function cw(e,t,n){const r=bt();if(r.firstCreatePass){const i=g(e);vd(n,r.data,r.blueprint,i,!0),vd(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Io{}class Em{}function pw(e,t){return new Cd(e,t??null,[])}class Cd extends Io{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new bp(this);const i=Qt(t);this._bootstrapComponents=ji(i.bootstrap),this._r3Injector=Uh(t,n,[{provide:Io,useValue:this},{provide:_l,useValue:this.componentFactoryResolver},...r],Xe(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 Ed extends Em{constructor(t){super(),this.moduleType=t}create(t){return new Cd(this.moduleType,t,[])}}class wm extends Io{constructor(t){super(),this.componentFactoryResolver=new bp(this),this.instance=null;const n=new Zo([...t.providers,{provide:Io,useValue:this},{provide:_l,useValue:this.componentFactoryResolver}],t.parent||pl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Mm(e,t,n=null){return new wm({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let mw=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Ch(0,n.type),i=r.length>0?Mm([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=he({token:e,providedIn:"environment",factory:()=>new e(ie(wi))})}return e})();function Sm(e){e.getStandaloneInjector=t=>t.get(mw).getOrCreateStandaloneInjector(e)}function Nm(e,t,n){const r=Un()+e,i=fe();return i[r]===pt?Ii(i,r,n?t.call(n):t()):function la(e,t){return e[t]}(i,r)}function Rm(e,t,n,r){return xm(fe(),Un(),e,t,n,r)}function ya(e,t){const n=e[t];return n===pt?void 0:n}function xm(e,t,n,r,i,o){const s=t+n;return tr(e,s,i)?Ii(e,s+1,o?r.call(o,i):r(i)):ya(e,s+1)}function Um(e,t){const n=bt();let r;const i=e+Ct;n.firstCreatePass?(r=function Rw(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=vi(r.type)),u=st(ns);try{const h=ja(!1),D=o();return ja(h),function vE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,fe(),i,D),D}finally{st(u)}}function $m(e,t,n){const r=e+Ct,i=fe(),o=ti(i,r);return Da(i,r)?xm(i,Un(),t,o.transform,n,o):o.transform(n)}function Bm(e,t,n,r){const i=e+Ct,o=fe(),s=ti(o,i);return Da(o,i)?function Fm(e,t,n,r,i,o,s){const u=t+n;return wo(e,u,i,o)?Ii(e,u+2,s?r.call(s,i,o):r(i,o)):ya(e,u+2)}(o,Un(),t,s.transform,n,r,s):s.transform(n,r)}function Da(e,t){return e[Fe].data[t].pure}function kw(){return this._results[Symbol.iterator]()}class Md{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Mi)}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=Md.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=kw)}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 r=this;r.dirty=!1;const i=function Hr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ty(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0&&(n[i-1][Pn]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=jw}return e})();const $w=_a,Bw=class extends $w{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function Vw(e,t,n,r){const i=t.tView,u=wl(e,i,n,4096&e[it]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);u[kr]=e[t.index];const D=e[Gn];return null!==D&&(u[Gn]=D.createEmbeddedView(i)),Bc(i,u,n),u}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new sa(i)}};function jw(){return zl(Tn(),fe())}function zl(e,t){return 4&e.type?new Bw(t,e,Qo(e,t)):null}let Kl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Yw}return e})();function Yw(){return Ym(Tn(),fe())}const Zw=Kl,Wm=class extends Zw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Qo(this._hostTNode,this._hostLView)}get injector(){return new lr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ga(this._hostTNode,this._hostLView);if(bu(t)){const n=Bs(t,this._hostLView),r=$s(t);return new lr(n[Fe].data[r+8],n)}return new lr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Km(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Dn}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const u=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(u,i,false),u}createComponent(t,n,r,i,o){const s=t&&!function Hs(e){return"function"==typeof e}(t);let u;if(s)u=n;else{const ge=n||{};u=ge.index,r=ge.injector,i=ge.projectableNodes,o=ge.environmentInjector||ge.ngModuleRef}const h=s?t:new aa(dt(t)),D=r||this.parentInjector;if(!o&&null==h.ngModule){const Re=(s?D:this.parentInjector).get(wi,null);Re&&(o=Re)}dt(h.componentType??{});const z=h.create(D,i,null,o);return this.insertImpl(z.hostView,u,false),z}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const i=t._lView;if(function Jd(e){return An(e[Ft])}(i)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const D=i[Ft],M=new Wm(D,D[fn],D[Ft]);M.detach(M.indexOf(t))}}const s=this._adjustIndex(n),u=this._lContainer;return Uw(u,i,s,!r),t.attachToViewContainerRef(),Ef(Sd(u),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Km(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ol(this._lContainer,n);r&&(Wa(Sd(this._lContainer),n),zu(r[Fe],r))}detach(t){const n=this._adjustIndex(t,-1),r=ol(this._lContainer,n);return r&&null!=Wa(Sd(this._lContainer),n)?new sa(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Km(e){return e[8]}function Sd(e){return e[8]||(e[8]=[])}function Ym(e,t){let n;const r=t[e.index];return An(r)?n=r:(n=gp(r,t,null,e),t[e.index]=n,Ml(t,n)),Zm(n,t,e,r),new Wm(n,e,t)}let Zm=function qm(e,t,n,r){if(e[ar])return;let i;i=8&n.type?Jt(r):function qw(e,t){const n=e[nt],r=n.createComment(""),i=Xt(t,e);return Co(n,sl(n,i),r,function wD(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[ar]=i};class Id{constructor(t){this.queryList=t,this.matches=null}clone(){return new Id(this.queryList)}setDirty(){this.queryList.setDirty()}}class bd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o0)r.push(s[u/2]);else{const D=o[u+1],M=t[-h];for(let O=Dn;O{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=De(wv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=i();if(Qc(o))n.push(o);else if(eg(o)){const s=new Promise((u,h)=>{o.subscribe({complete:u,error:h})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Zl=new Ne("LocaleId",{providedIn:"root",factory:()=>De(Zl,ct.Optional|ct.SkipSelf)||function SM(){return typeof $localize<"u"&&$localize.locale||ms}()}),IM=new Ne("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Sv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new N.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)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class AM{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let TM=(()=>{class e{compileModuleSync(n){return new Ed(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=ji(Qt(n).declarations).reduce((s,u)=>{const h=dt(u);return h&&s.push(new aa(h)),s},[]);return new AM(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Tv=new Ne(""),Ov=new Ne("");let Ud,JM=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ud||(function XM(e){Ud=e}(i),i.addToWindow(r)),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:()=>{$n.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(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.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,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!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,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(ie($n),ie(Pv),ie(Ov))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})(),Pv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}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,r=!0){return Ud?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ro=null;const Nv=new Ne("AllowMultipleToken"),$d=new Ne("PlatformDestroyListeners"),Bd=new Ne("appBootstrapListener");class tS{constructor(t,n){this.name=t,this.token=n}}function Fv(e,t,n=[]){const r=`Platform: ${t}`,i=new Ne(r);return(o=[])=>{let s=jd();if(!s||s.injector.get(Nv,!1)){const u=[...n,...o,{provide:i,useValue:!0}];e?e(u):function nS(e){if(ro&&!ro.get(Nv,!1))throw new _e(400,!1);(function Rv(){!function E(e){w=e}(()=>{throw new _e(600,!1)})})(),ro=e;const t=e.get(kv);(function xv(e){e.get(bh,null)?.forEach(n=>n())})(e)}(function Lv(e=[],t){return si.create({name:t,providers:[{provide:lc,useValue:"platform"},{provide:$d,useValue:new Set([()=>ro=null])},...e]})}(u,r))}return function iS(e){const t=jd();if(!t)throw new _e(401,!1);return t}()}}function jd(){return ro?.get(kv)??null}let kv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function oS(e="zone.js",t){return"noop"===e?new $_:"zone.js"===e?new $n(t):e}(r?.ngZone,function Vv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function gw(e,t,n){return new Cd(e,t,n)}(n.moduleType,this.injector,function Hv(e){return[{provide:$n,useFactory:e},{provide:Qs,multi:!0,useFactory:()=>{const t=De(aS,{optional:!0});return()=>t.initialize()}},{provide:jv,useFactory:sS},{provide:Gh,useFactory:zh}]}(()=>i)),s=o.injector.get(to,null);return i.runOutsideAngular(()=>{const u=i.onError.subscribe({next:h=>{s.handleError(h)}});o.onDestroy(()=>{Jl(this._modules,o),u.unsubscribe()})}),function Uv(e,t,n){try{const r=n();return Qc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const u=o.injector.get(Ld);return u.runInitializers(),u.donePromise.then(()=>(qg(o.injector.get(Zl,ms)||ms),this._moduleDoBootstrap(o),o))})})}bootstrapModule(n,r=[]){const i=$v({},r);return function QM(e,t,n){const r=new Ed(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(Ds);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new _e(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _e(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get($d,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(ie(si))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function $v(e,t){return Array.isArray(t)?t.reduce($v,e):{...e,...t}}let Ds=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=De(jv),this.zoneIsStable=De(Gh),this.componentTypes=[],this.components=[],this.isStable=De(Sv).hasPendingTasks.pipe((0,ht.w)(n=>n?(0,V.of)(!1):this.zoneIsStable),(0,ze.x)(),Pe()),this._injector=De(wi)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Ph;if(!this._injector.get(Ld).done)throw!i&&qn(n),new _e(405,!1);let s;s=i?n:this._injector.get(_l).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const u=function eS(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Io),D=s.create(si.NULL,[],r||s.selector,u),M=D.location.nativeElement,O=D.injector.get(Tv,null);return O?.registerApplication(M),D.onDestroy(()=>{this.detachView(D.hostView),Jl(this.components,D),O?.unregisterApplication(M)}),this._loadComponent(D),D}tick(){if(this._runningTick)throw new _e(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 r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Jl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Bd,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(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),()=>Jl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _e(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Jl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const jv=new Ne("",{providedIn:"root",factory:()=>De(to).handleError.bind(void 0)});function sS(){const e=De($n),t=De(to);return n=>e.runOutsideAngular(()=>t.handleError(n))}let aS=(()=>{class e{constructor(){this.zone=De($n),this.applicationRef=De(Ds)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uS(){}let cS=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=dS}return e})();function dS(e){return function fS(e,t,n){if(_(e)&&!n){const r=Qn(e.index,t);return new sa(r,r)}return 47&e.type?new sa(t[Wt],t):null}(Tn(),fe(),16==(16&e))}class Kv{constructor(){}supports(t){return Al(t)}create(t){return new yS(t)}}const vS=(e,t)=>t;class yS{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||vS}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(i,u),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,u,s,i)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,s,i),r=!0),n=n._next,i++}),this.length=i;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,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new DS(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Yv),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._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 Yv),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 DS{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 _S{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 r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Yv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new _S,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.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 Zv(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._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 i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new ES(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_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(r=>n(t[r],r))}}class ES{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 Jv(){return new Kd([new Kv])}let Kd=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:Jv});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Jv()),deps:[[e,new Za,new Ya]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new _e(901,!1)}}return e})();function Xv(){return new Yd([new qv])}let Yd=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:Xv});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Xv()),deps:[[e,new Za,new Ya]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new _e(901,!1)}}return e})();const SS=Fv(null,"core",[]);let IS=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(ie(Ds))};static#t=this.\u0275mod=fi({type:e});static#n=this.\u0275inj=yt({})}return e})();function kS(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function US(e){const t=dt(e);if(!t)return null;const n=new aa(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}}}},6223:(Ue,oe,S)=>{S.d(oe,{EJ:()=>Mr,F:()=>ln,Fj:()=>Pe,JJ:()=>ye,JL:()=>Me,Kr:()=>Pn,On:()=>dn,Q7:()=>pr,UX:()=>Li,YN:()=>uo,_:()=>Pi,_Y:()=>hr,nD:()=>zn,nJ:()=>J,p4:()=>Yr,sg:()=>Fr,u:()=>qn,u5:()=>An,wV:()=>Jr});var l=S(6689),v=S(6814),ee=S(7715),Z=S(9315),j=S(7398);let B=(()=>{class _{constructor(g,b){this._renderer=g,this._elementRef=b,this.onChange=x=>{},this.onTouched=()=>{}}setProperty(g,b){this._renderer.setProperty(this._elementRef.nativeElement,g,b)}registerOnTouched(g){this.onTouched=g}registerOnChange(g){this.onChange=g}setDisabledState(g){this.setProperty("disabled",g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.Qsj),l.Y36(l.SBq))};static#t=this.\u0275dir=l.lG2({type:_})}return _})(),G=(()=>{class _ extends B{static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,features:[l.qOj]})}return _})();const A=new l.OlP("NgValueAccessor"),V={provide:A,useExisting:(0,l.Gpc)(()=>Pe),multi:!0},xe=new l.OlP("CompositionEventMode");let Pe=(()=>{class _ extends B{constructor(g,b,x){super(g,b),this._compositionMode=x,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ue(){const _=(0,v.q)()?(0,v.q)().getUserAgent():"";return/android (\d+)/.test(_.toLowerCase())}())}writeValue(g){this.setProperty("value",g??"")}_handleInput(g){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(g)}_compositionStart(){this._composing=!0}_compositionEnd(g){this._composing=!1,this._compositionMode&&this.onChange(g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(xe,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(b,x){1&b&&l.NdJ("input",function(Dt){return x._handleInput(Dt.target.value)})("blur",function(){return x.onTouched()})("compositionstart",function(){return x._compositionStart()})("compositionend",function(Dt){return x._compositionEnd(Dt.target.value)})},features:[l._Bn([V]),l.qOj]})}return _})();const ze=new l.OlP("NgValidators"),Le=new l.OlP("NgAsyncValidators");function $e(_){return function Ve(_){return null==_||("string"==typeof _||Array.isArray(_))&&0===_.length}(_.value)?{required:!0}:null}function _e(_){return null}function Gt(_){return null!=_}function He(_){return(0,l.QGY)(_)?(0,ee.D)(_):_}function Qe(_){let C={};return _.forEach(g=>{C=null!=g?{...C,...g}:C}),0===Object.keys(C).length?null:C}function zt(_,C){return C.map(g=>g(_))}function sn(_){return _.map(C=>function Mt(_){return!_.validate}(C)?C:g=>C.validate(g))}function q(_){return null!=_?function Q(_){if(!_)return null;const C=_.filter(Gt);return 0==C.length?null:function(g){return Qe(zt(g,C))}}(sn(_)):null}function ne(_){return null!=_?function re(_){if(!_)return null;const C=_.filter(Gt);return 0==C.length?null:function(g){const b=zt(g,C).map(He);return(0,Z.D)(b).pipe((0,j.U)(Qe))}}(sn(_)):null}function me(_,C){return null===_?[C]:Array.isArray(_)?[..._,C]:[_,C]}function pe(_){return _._rawValidators}function qe(_){return _._rawAsyncValidators}function ut(_){return _?Array.isArray(_)?_:[_]:[]}function Lt(_,C){return Array.isArray(_)?_.includes(C):_===C}function ke(_,C){const g=ut(C);return ut(_).forEach(x=>{Lt(g,x)||g.push(x)}),g}function vt(_,C){return ut(C).filter(g=>!Lt(_,g))}class kt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(C){this._rawValidators=C||[],this._composedValidatorFn=q(this._rawValidators)}_setAsyncValidators(C){this._rawAsyncValidators=C||[],this._composedAsyncValidatorFn=ne(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(C){this._onDestroyCallbacks.push(C)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(C=>C()),this._onDestroyCallbacks=[]}reset(C=void 0){this.control&&this.control.reset(C)}hasError(C,g){return!!this.control&&this.control.hasError(C,g)}getError(C,g){return this.control?this.control.getError(C,g):null}}class rt extends kt{get formDirective(){return null}get path(){return null}}class At extends kt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Nt{constructor(C){this._cd=C}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ye=(()=>{class _ extends Nt{constructor(g){super(g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(At,2))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(b,x){2&b&&l.ekj("ng-untouched",x.isUntouched)("ng-touched",x.isTouched)("ng-pristine",x.isPristine)("ng-dirty",x.isDirty)("ng-valid",x.isValid)("ng-invalid",x.isInvalid)("ng-pending",x.isPending)},features:[l.qOj]})}return _})(),Me=(()=>{class _ extends Nt{constructor(g){super(g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(rt,10))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(b,x){2&b&&l.ekj("ng-untouched",x.isUntouched)("ng-touched",x.isTouched)("ng-pristine",x.isPristine)("ng-dirty",x.isDirty)("ng-valid",x.isValid)("ng-invalid",x.isInvalid)("ng-pending",x.isPending)("ng-submitted",x.isSubmitted)},features:[l.qOj]})}return _})();const Bn="VALID",xt="INVALID",On="PENDING",tn="DISABLED";function Ne(_){return(nr(_)?_.validators:_)||null}function Yn(_,C){return(nr(C)?C.asyncValidators:_)||null}function nr(_){return null!=_&&!Array.isArray(_)&&"object"==typeof _}class Ti{constructor(C,g){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(C),this._assignAsyncValidators(g)}get validator(){return this._composedValidatorFn}set validator(C){this._rawValidators=this._composedValidatorFn=C}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(C){this._rawAsyncValidators=this._composedAsyncValidatorFn=C}get parent(){return this._parent}get valid(){return this.status===Bn}get invalid(){return this.status===xt}get pending(){return this.status==On}get disabled(){return this.status===tn}get enabled(){return this.status!==tn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(C){this._assignValidators(C)}setAsyncValidators(C){this._assignAsyncValidators(C)}addValidators(C){this.setValidators(ke(C,this._rawValidators))}addAsyncValidators(C){this.setAsyncValidators(ke(C,this._rawAsyncValidators))}removeValidators(C){this.setValidators(vt(C,this._rawValidators))}removeAsyncValidators(C){this.setAsyncValidators(vt(C,this._rawAsyncValidators))}hasValidator(C){return Lt(this._rawValidators,C)}hasAsyncValidator(C){return Lt(this._rawAsyncValidators,C)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(C={}){this.touched=!0,this._parent&&!C.onlySelf&&this._parent.markAsTouched(C)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(C=>C.markAllAsTouched())}markAsUntouched(C={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(g=>{g.markAsUntouched({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}markAsDirty(C={}){this.pristine=!1,this._parent&&!C.onlySelf&&this._parent.markAsDirty(C)}markAsPristine(C={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(g=>{g.markAsPristine({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}markAsPending(C={}){this.status=On,!1!==C.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!C.onlySelf&&this._parent.markAsPending(C)}disable(C={}){const g=this._parentMarkedDirty(C.onlySelf);this.status=tn,this.errors=null,this._forEachChild(b=>{b.disable({...C,onlySelf:!0})}),this._updateValue(),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...C,skipPristineCheck:g}),this._onDisabledChange.forEach(b=>b(!0))}enable(C={}){const g=this._parentMarkedDirty(C.onlySelf);this.status=Bn,this._forEachChild(b=>{b.enable({...C,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent}),this._updateAncestors({...C,skipPristineCheck:g}),this._onDisabledChange.forEach(b=>b(!1))}_updateAncestors(C){this._parent&&!C.onlySelf&&(this._parent.updateValueAndValidity(C),C.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(C){this._parent=C}getRawValue(){return this.value}updateValueAndValidity(C={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Bn||this.status===On)&&this._runAsyncValidator(C.emitEvent)),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!C.onlySelf&&this._parent.updateValueAndValidity(C)}_updateTreeValidity(C={emitEvent:!0}){this._forEachChild(g=>g._updateTreeValidity(C)),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?tn:Bn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(C){if(this.asyncValidator){this.status=On,this._hasOwnPendingAsyncValidator=!0;const g=He(this.asyncValidator(this));this._asyncValidationSubscription=g.subscribe(b=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(b,{emitEvent:C})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(C,g={}){this.errors=C,this._updateControlsErrors(!1!==g.emitEvent)}get(C){let g=C;return null==g||(Array.isArray(g)||(g=g.split(".")),0===g.length)?null:g.reduce((b,x)=>b&&b._find(x),this)}getError(C,g){const b=g?this.get(g):this;return b&&b.errors?b.errors[C]:null}hasError(C,g){return!!this.getError(C,g)}get root(){let C=this;for(;C._parent;)C=C._parent;return C}_updateControlsErrors(C){this.status=this._calculateStatus(),C&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(C)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?tn:this.errors?xt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(On)?On:this._anyControlsHaveStatus(xt)?xt:Bn}_anyControlsHaveStatus(C){return this._anyControls(g=>g.status===C)}_anyControlsDirty(){return this._anyControls(C=>C.dirty)}_anyControlsTouched(){return this._anyControls(C=>C.touched)}_updatePristine(C={}){this.pristine=!this._anyControlsDirty(),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}_updateTouched(C={}){this.touched=this._anyControlsTouched(),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}_registerOnCollectionChange(C){this._onCollectionChange=C}_setUpdateStrategy(C){nr(C)&&null!=C.updateOn&&(this._updateOn=C.updateOn)}_parentMarkedDirty(C){return!C&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(C){return null}_assignValidators(C){this._rawValidators=Array.isArray(C)?C.slice():C,this._composedValidatorFn=function Fn(_){return Array.isArray(_)?q(_):_||null}(this._rawValidators)}_assignAsyncValidators(C){this._rawAsyncValidators=Array.isArray(C)?C.slice():C,this._composedAsyncValidatorFn=function Sn(_){return Array.isArray(_)?ne(_):_||null}(this._rawAsyncValidators)}}class se extends Ti{constructor(C,g,b){super(Ne(g),Yn(b,g)),this.controls=C,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(C,g){return this.controls[C]?this.controls[C]:(this.controls[C]=g,g.setParent(this),g._registerOnCollectionChange(this._onCollectionChange),g)}addControl(C,g,b={}){this.registerControl(C,g),this.updateValueAndValidity({emitEvent:b.emitEvent}),this._onCollectionChange()}removeControl(C,g={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}setControl(C,g,b={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],g&&this.registerControl(C,g),this.updateValueAndValidity({emitEvent:b.emitEvent}),this._onCollectionChange()}contains(C){return this.controls.hasOwnProperty(C)&&this.controls[C].enabled}setValue(C,g={}){(function cr(_,C,g){_._forEachChild((b,x)=>{if(void 0===g[x])throw new l.vHH(1002,"")})})(this,0,C),Object.keys(C).forEach(b=>{(function rr(_,C,g){const b=_.controls;if(!(C?Object.keys(b):b).length)throw new l.vHH(1e3,"");if(!b[g])throw new l.vHH(1001,"")})(this,!0,b),this.controls[b].setValue(C[b],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(C,g={}){null!=C&&(Object.keys(C).forEach(b=>{const x=this.controls[b];x&&x.patchValue(C[b],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(C={},g={}){this._forEachChild((b,x)=>{b.reset(C?C[x]:null,{onlySelf:!0,emitEvent:g.emitEvent})}),this._updatePristine(g),this._updateTouched(g),this.updateValueAndValidity(g)}getRawValue(){return this._reduceChildren({},(C,g,b)=>(C[b]=g.getRawValue(),C))}_syncPendingControls(){let C=this._reduceChildren(!1,(g,b)=>!!b._syncPendingControls()||g);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){Object.keys(this.controls).forEach(g=>{const b=this.controls[g];b&&C(b,g)})}_setUpControls(){this._forEachChild(C=>{C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(C){for(const[g,b]of Object.entries(this.controls))if(this.contains(g)&&C(b))return!0;return!1}_reduceValue(){return this._reduceChildren({},(g,b,x)=>((b.enabled||this.disabled)&&(g[x]=b.value),g))}_reduceChildren(C,g){let b=C;return this._forEachChild((x,Ke)=>{b=g(b,x,Ke)}),b}_allControlsDisabled(){for(const C of Object.keys(this.controls))if(this.controls[C].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(C){return this.controls.hasOwnProperty(C)?this.controls[C]:null}}const J=se,Ae=new l.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Be}),Be="always";function wt(_,C){return[...C.path,_]}function _t(_,C,g=Be){Y(_,C),C.valueAccessor.writeValue(_.value),(_.disabled||"always"===g)&&C.valueAccessor.setDisabledState?.(_.disabled),function U(_,C){C.valueAccessor.registerOnChange(g=>{_._pendingValue=g,_._pendingChange=!0,_._pendingDirty=!0,"change"===_.updateOn&&Se(_,C)})}(_,C),function De(_,C){const g=(b,x)=>{C.valueAccessor.writeValue(b),x&&C.viewToModelUpdate(b)};_.registerOnChange(g),C._registerOnDestroy(()=>{_._unregisterOnChange(g)})}(_,C),function ie(_,C){C.valueAccessor.registerOnTouched(()=>{_._pendingTouched=!0,"blur"===_.updateOn&&_._pendingChange&&Se(_,C),"submit"!==_.updateOn&&_.markAsTouched()})}(_,C),function Cn(_,C){if(C.valueAccessor.setDisabledState){const g=b=>{C.valueAccessor.setDisabledState(b)};_.registerOnDisabledChange(g),C._registerOnDestroy(()=>{_._unregisterOnDisabledChange(g)})}}(_,C)}function Yt(_,C,g=!0){const b=()=>{};C.valueAccessor&&(C.valueAccessor.registerOnChange(b),C.valueAccessor.registerOnTouched(b)),L(_,C),_&&(C._invokeOnDestroyCallbacks(),_._registerOnCollectionChange(()=>{}))}function yn(_,C){_.forEach(g=>{g.registerOnValidatorChange&&g.registerOnValidatorChange(C)})}function Y(_,C){const g=pe(_);null!==C.validator?_.setValidators(me(g,C.validator)):"function"==typeof g&&_.setValidators([g]);const b=qe(_);null!==C.asyncValidator?_.setAsyncValidators(me(b,C.asyncValidator)):"function"==typeof b&&_.setAsyncValidators([b]);const x=()=>_.updateValueAndValidity();yn(C._rawValidators,x),yn(C._rawAsyncValidators,x)}function L(_,C){let g=!1;if(null!==_){if(null!==C.validator){const x=pe(_);if(Array.isArray(x)&&x.length>0){const Ke=x.filter(Dt=>Dt!==C.validator);Ke.length!==x.length&&(g=!0,_.setValidators(Ke))}}if(null!==C.asyncValidator){const x=qe(_);if(Array.isArray(x)&&x.length>0){const Ke=x.filter(Dt=>Dt!==C.asyncValidator);Ke.length!==x.length&&(g=!0,_.setAsyncValidators(Ke))}}}const b=()=>{};return yn(C._rawValidators,b),yn(C._rawAsyncValidators,b),g}function Se(_,C){_._pendingDirty&&_.markAsDirty(),_.setValue(_._pendingValue,{emitModelToViewChange:!1}),C.viewToModelUpdate(_._pendingValue),_._pendingChange=!1}function be(_,C){Y(_,C)}function Hn(_,C){if(!_.hasOwnProperty("model"))return!1;const g=_.model;return!!g.isFirstChange()||!Object.is(C,g.currentValue)}function ft(_,C){_._syncPendingControls(),C.forEach(g=>{const b=g.control;"submit"===b.updateOn&&b._pendingChange&&(g.viewToModelUpdate(b._pendingValue),b._pendingChange=!1)})}function je(_,C){if(!C)return null;let g,b,x;return Array.isArray(C),C.forEach(Ke=>{Ke.constructor===Pe?g=Ke:function pn(_){return Object.getPrototypeOf(_.constructor)===G}(Ke)?b=Ke:x=Ke}),x||b||g||null}const rn={provide:rt,useExisting:(0,l.Gpc)(()=>ln)},Ln=(()=>Promise.resolve())();let ln=(()=>{class _ extends rt{constructor(g,b,x){super(),this.callSetDisabledState=x,this.submitted=!1,this._directives=new Set,this.ngSubmit=new l.vpe,this.form=new se({},q(g),ne(b))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(g){Ln.then(()=>{const b=this._findContainer(g.path);g.control=b.registerControl(g.name,g.control),_t(g.control,g,this.callSetDisabledState),g.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(g)})}getControl(g){return this.form.get(g.path)}removeControl(g){Ln.then(()=>{const b=this._findContainer(g.path);b&&b.removeControl(g.name),this._directives.delete(g)})}addFormGroup(g){Ln.then(()=>{const b=this._findContainer(g.path),x=new se({});be(x,g),b.registerControl(g.name,x),x.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(g){Ln.then(()=>{const b=this._findContainer(g.path);b&&b.removeControl(g.name)})}getFormGroup(g){return this.form.get(g.path)}updateModel(g,b){Ln.then(()=>{this.form.get(g.path).setValue(b)})}setValue(g){this.control.setValue(g)}onSubmit(g){return this.submitted=!0,ft(this.form,this._directives),this.ngSubmit.emit(g),"dialog"===g?.target?.method}onReset(){this.resetForm()}resetForm(g=void 0){this.form.reset(g),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(g){return g.pop(),g.length?this.form.get(g):this.form}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(ze,10),l.Y36(Le,10),l.Y36(Ae,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(b,x){1&b&&l.NdJ("submit",function(Dt){return x.onSubmit(Dt)})("reset",function(){return x.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([rn]),l.qOj]})}return _})();function ir(_,C){const g=_.indexOf(C);g>-1&&_.splice(g,1)}function Wr(_){return"object"==typeof _&&null!==_&&2===Object.keys(_).length&&"value"in _&&"disabled"in _}const Kr=class extends Ti{constructor(C=null,g,b){super(Ne(g),Yn(b,g)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(C),this._setUpdateStrategy(g),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nr(g)&&(g.nonNullable||g.initialValueIsDefault)&&(this.defaultValue=Wr(C)?C.value:C)}setValue(C,g={}){this.value=this._pendingValue=C,this._onChange.length&&!1!==g.emitModelToViewChange&&this._onChange.forEach(b=>b(this.value,!1!==g.emitViewToModelChange)),this.updateValueAndValidity(g)}patchValue(C,g={}){this.setValue(C,g)}reset(C=this.defaultValue,g={}){this._applyFormState(C),this.markAsPristine(g),this.markAsUntouched(g),this.setValue(this.value,g),this._pendingChange=!1}_updateValue(){}_anyControls(C){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(C){this._onChange.push(C)}_unregisterOnChange(C){ir(this._onChange,C)}registerOnDisabledChange(C){this._onDisabledChange.push(C)}_unregisterOnDisabledChange(C){ir(this._onDisabledChange,C)}_forEachChild(C){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(C){Wr(C)?(this.value=this._pendingValue=C.value,C.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=C}},Yr=Kr,ci={provide:At,useExisting:(0,l.Gpc)(()=>dn)},un=(()=>Promise.resolve())();let dn=(()=>{class _ extends At{constructor(g,b,x,Ke,Dt,vr){super(),this._changeDetectorRef=Dt,this.callSetDisabledState=vr,this.control=new Kr,this._registered=!1,this.name="",this.update=new l.vpe,this._parent=g,this._setValidators(b),this._setAsyncValidators(x),this.valueAccessor=je(0,Ke)}ngOnChanges(g){if(this._checkForErrors(),!this._registered||"name"in g){if(this._registered&&(this._checkName(),this.formDirective)){const b=g.name.previousValue;this.formDirective.removeControl({name:b,path:this._getPath(b)})}this._setUpControl()}"isDisabled"in g&&this._updateDisabled(g),Hn(g,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){_t(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(g){un.then(()=>{this.control.setValue(g,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(g){const b=g.isDisabled.currentValue,x=0!==b&&(0,l.VuI)(b);un.then(()=>{x&&!this.control.disabled?this.control.disable():!x&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(g){return this._parent?wt(g,this._parent):[g]}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(rt,9),l.Y36(ze,10),l.Y36(Le,10),l.Y36(A,10),l.Y36(l.sBO,8),l.Y36(Ae,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[l._Bn([ci]),l.qOj,l.TTD]})}return _})(),hr=(()=>{class _{static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return _})();const qr={provide:A,useExisting:(0,l.Gpc)(()=>Jr),multi:!0};let Jr=(()=>{class _ extends G{writeValue(g){this.setProperty("value",g??"")}registerOnChange(g){this.onChange=b=>{g(""==b?null:parseFloat(b))}}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(b,x){1&b&&l.NdJ("input",function(Dt){return x.onChange(Dt.target.value)})("blur",function(){return x.onTouched()})},features:[l._Bn([qr]),l.qOj]})}return _})();const oo={provide:A,useExisting:(0,l.Gpc)(()=>Pi),multi:!0};let Oi=(()=>{class _{static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({})}return _})(),so=(()=>{class _{constructor(){this._accessors=[]}add(g,b){this._accessors.push([g,b])}remove(g){for(let b=this._accessors.length-1;b>=0;--b)if(this._accessors[b][1]===g)return void this._accessors.splice(b,1)}select(g){this._accessors.forEach(b=>{this._isSameGroup(b,g)&&b[1]!==g&&b[1].fireUncheck(g.value)})}_isSameGroup(g,b){return!!g[0].control&&g[0]._parent===b._control._parent&&g[1].name===b.name}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275prov=l.Yz7({token:_,factory:_.\u0275fac,providedIn:Oi})}return _})(),Pi=(()=>{class _ extends G{constructor(g,b,x,Ke){super(g,b),this._registry=x,this._injector=Ke,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,l.f3M)(Ae,{optional:!0})??Be}ngOnInit(){this._control=this._injector.get(At),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(g){this._state=g===this.value,this.setProperty("checked",this._state)}registerOnChange(g){this._fn=g,this.onChange=()=>{g(this.value),this._registry.select(this)}}setDisabledState(g){(this.setDisabledStateFired||g||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",g),this.setDisabledStateFired=!0}fireUncheck(g){this.writeValue(g)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(so),l.Y36(l.zs3))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(b,x){1&b&&l.NdJ("change",function(){return x.onChange()})("blur",function(){return x.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[l._Bn([oo]),l.qOj]})}return _})();const Ni=new l.OlP("NgModelWithFormControlWarning"),fi={provide:rt,useExisting:(0,l.Gpc)(()=>Fr)};let Fr=(()=>{class _ extends rt{constructor(g,b,x){super(),this.callSetDisabledState=x,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new l.vpe,this._setValidators(g),this._setAsyncValidators(b)}ngOnChanges(g){this._checkFormPresent(),g.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(L(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(g){const b=this.form.get(g.path);return _t(b,g,this.callSetDisabledState),b.updateValueAndValidity({emitEvent:!1}),this.directives.push(g),b}getControl(g){return this.form.get(g.path)}removeControl(g){Yt(g.control||null,g,!1),function In(_,C){const g=_.indexOf(C);g>-1&&_.splice(g,1)}(this.directives,g)}addFormGroup(g){this._setUpFormContainer(g)}removeFormGroup(g){this._cleanUpFormContainer(g)}getFormGroup(g){return this.form.get(g.path)}addFormArray(g){this._setUpFormContainer(g)}removeFormArray(g){this._cleanUpFormContainer(g)}getFormArray(g){return this.form.get(g.path)}updateModel(g,b){this.form.get(g.path).setValue(b)}onSubmit(g){return this.submitted=!0,ft(this.form,this.directives),this.ngSubmit.emit(g),"dialog"===g?.target?.method}onReset(){this.resetForm()}resetForm(g=void 0){this.form.reset(g),this.submitted=!1}_updateDomValue(){this.directives.forEach(g=>{const b=g.control,x=this.form.get(g.path);b!==x&&(Yt(b||null,g),(_=>_ instanceof Kr)(x)&&(_t(x,g,this.callSetDisabledState),g.control=x))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(g){const b=this.form.get(g.path);be(b,g),b.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(g){if(this.form){const b=this.form.get(g.path);b&&function Ut(_,C){return L(_,C)}(b,g)&&b.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Y(this.form,this),this._oldForm&&L(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(ze,10),l.Y36(Le,10),l.Y36(Ae,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","formGroup",""]],hostBindings:function(b,x){1&b&&l.NdJ("submit",function(Dt){return x.onSubmit(Dt)})("reset",function(){return x.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([fi]),l.qOj,l.TTD]})}return _})();const gn={provide:At,useExisting:(0,l.Gpc)(()=>qn)};let qn=(()=>{class _ extends At{set isDisabled(g){}static#e=this._ngModelWarningSentOnce=!1;constructor(g,b,x,Ke,Dt){super(),this._ngModelWarningConfig=Dt,this._added=!1,this.name=null,this.update=new l.vpe,this._ngModelWarningSent=!1,this._parent=g,this._setValidators(b),this._setAsyncValidators(x),this.valueAccessor=je(0,Ke)}ngOnChanges(g){this._added||this._setUpControl(),Hn(g,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}get path(){return wt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(b){return new(b||_)(l.Y36(rt,13),l.Y36(ze,10),l.Y36(Le,10),l.Y36(A,10),l.Y36(Ni,8))};static#n=this.\u0275dir=l.lG2({type:_,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[l._Bn([gn]),l.qOj,l.TTD]})}return _})();const Qt={provide:A,useExisting:(0,l.Gpc)(()=>Mr),multi:!0};function Jn(_,C){return null==_?`${C}`:(C&&"object"==typeof C&&(C="Object"),`${_}: ${C}`.slice(0,50))}let Mr=(()=>{class _ extends G{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(g){this._compareWith=g}writeValue(g){this.value=g;const x=Jn(this._getOptionId(g),g);this.setProperty("value",x)}registerOnChange(g){this.onChange=b=>{this.value=this._getOptionValue(b),g(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(g){for(const b of this._optionMap.keys())if(this._compareWith(this._optionMap.get(b),g))return b;return null}_getOptionValue(g){const b=function Xr(_){return _.split(":")[0]}(g);return this._optionMap.has(b)?this._optionMap.get(b):g}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(b,x){1&b&&l.NdJ("change",function(Dt){return x.onChange(Dt.target.value)})("blur",function(){return x.onTouched()})},inputs:{compareWith:"compareWith"},features:[l._Bn([Qt]),l.qOj]})}return _})(),uo=(()=>{class _{constructor(g,b,x){this._element=g,this._renderer=b,this._select=x,this._select&&(this.id=this._select._registerOption())}set ngValue(g){null!=this._select&&(this._select._optionMap.set(this.id,g),this._setElementValue(Jn(this.id,g)),this._select.writeValue(this._select.value))}set value(g){this._setElementValue(g),this._select&&this._select.writeValue(this._select.value)}_setElementValue(g){this._renderer.setProperty(this._element.nativeElement,"value",g)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(Mr,9))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return _})();const Sr={provide:A,useExisting:(0,l.Gpc)(()=>Ft),multi:!0};function jt(_,C){return null==_?`${C}`:("string"==typeof C&&(C=`'${C}'`),C&&"object"==typeof C&&(C="Object"),`${_}: ${C}`.slice(0,50))}let Ft=(()=>{class _ extends G{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(g){this._compareWith=g}writeValue(g){let b;if(this.value=g,Array.isArray(g)){const x=g.map(Ke=>this._getOptionId(Ke));b=(Ke,Dt)=>{Ke._setSelected(x.indexOf(Dt.toString())>-1)}}else b=(x,Ke)=>{x._setSelected(!1)};this._optionMap.forEach(b)}registerOnChange(g){this.onChange=b=>{const x=[],Ke=b.selectedOptions;if(void 0!==Ke){const Dt=Ke;for(let vr=0;vr{class _{constructor(g,b,x){this._element=g,this._renderer=b,this._select=x,this._select&&(this.id=this._select._registerOption(this))}set ngValue(g){null!=this._select&&(this._value=g,this._setElementValue(jt(this.id,g)),this._select.writeValue(this._select.value))}set value(g){this._select?(this._value=g,this._setElementValue(jt(this.id,g)),this._select.writeValue(this._select.value)):this._setElementValue(g)}_setElementValue(g){this._renderer.setProperty(this._element.nativeElement,"value",g)}_setSelected(g){this._renderer.setProperty(this._element.nativeElement,"selected",g)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(Ft,9))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return _})();let Nn=(()=>{class _{constructor(){this._validator=_e}ngOnChanges(g){if(this.inputName in g){const b=this.normalizeInput(g[this.inputName].currentValue);this._enabled=this.enabled(b),this._validator=this._enabled?this.createValidator(b):_e,this._onChange&&this._onChange()}}validate(g){return this._validator(g)}registerOnValidatorChange(g){this._onChange=g}enabled(g){return null!=g}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275dir=l.lG2({type:_,features:[l.TTD]})}return _})();const gi={provide:ze,useExisting:(0,l.Gpc)(()=>pr),multi:!0};let pr=(()=>{class _ extends Nn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=l.VuI,this.createValidator=g=>$e}enabled(g){return g}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(b,x){2&b&&l.uIk("required",x._enabled?"":null)},inputs:{required:"required"},features:[l._Bn([gi]),l.qOj]})}return _})();const Ur={provide:ze,useExisting:(0,l.Gpc)(()=>zn),multi:!0};let zn=(()=>{class _ extends Nn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=g=>function Ir(_){return"number"==typeof _?_:parseInt(_,10)}(g),this.createValidator=g=>function Ze(_){return C=>function ht(_){return null!=_&&"number"==typeof _.length}(C.value)&&C.value.length>_?{maxlength:{requiredLength:_,actualLength:C.value.length}}:null}(g)}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(b,x){2&b&&l.uIk("maxlength",x._enabled?x.maxlength:null)},inputs:{maxlength:"maxlength"},features:[l._Bn([Ur]),l.qOj]})}return _})(),mi=(()=>{class _{static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({imports:[Oi]})}return _})(),An=(()=>{class _{static withConfig(g){return{ngModule:_,providers:[{provide:Ae,useValue:g.callSetDisabledState??Be}]}}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({imports:[mi]})}return _})(),Li=(()=>{class _{static withConfig(g){return{ngModule:_,providers:[{provide:Ni,useValue:g.warnOnNgModelWithFormControl??"always"},{provide:Ae,useValue:g.callSetDisabledState??Be}]}}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({imports:[mi]})}return _})()},6593:(Ue,oe,S)=>{S.d(oe,{Dx:()=>Oe,b2:()=>W,q6:()=>kt});var l=S(6689),v=S(6814);class ee extends v.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Z extends ee{static makeCurrent(){(0,v.HT)(new Z)}onAndCancel(J,F,H){return J.addEventListener(F,H),()=>{J.removeEventListener(F,H)}}dispatchEvent(J,F){J.dispatchEvent(F)}remove(J){J.parentNode&&J.parentNode.removeChild(J)}createElement(J,F){return(F=F||this.getDefaultDocument()).createElement(J)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(J){return J.nodeType===Node.ELEMENT_NODE}isShadowRoot(J){return J instanceof DocumentFragment}getGlobalEventTarget(J,F){return"window"===F?window:"document"===F?J:"body"===F?J.body:null}getBaseHref(J){const F=function B(){return j=j||document.querySelector("base"),j?j.getAttribute("href"):null}();return null==F?null:function A(se){G=G||document.createElement("a"),G.setAttribute("href",se);const J=G.pathname;return"/"===J.charAt(0)?J:`/${J}`}(F)}resetBaseElement(){j=null}getUserAgent(){return window.navigator.userAgent}getCookie(J){return(0,v.Mx)(document.cookie,J)}}let G,j=null,N=(()=>{class se{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(H){return new(H||se)};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const V=new l.OlP("EventManagerPlugins");let ue=(()=>{class se{constructor(F,H){this._zone=H,this._eventNameToPlugin=new Map,F.forEach(le=>{le.manager=this}),this._plugins=F.slice().reverse()}addEventListener(F,H,le){return this._findPluginFor(H).addEventListener(F,H,le)}getZone(){return this._zone}_findPluginFor(F){let H=this._eventNameToPlugin.get(F);if(H)return H;if(H=this._plugins.find(Ae=>Ae.supports(F)),!H)throw new l.vHH(5101,!1);return this._eventNameToPlugin.set(F,H),H}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(V),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();class xe{constructor(J){this._doc=J}}const Pe="ng-app-id";let Ve=(()=>{class se{constructor(F,H,le,Ae={}){this.doc=F,this.appId=H,this.nonce=le,this.platformId=Ae,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,v.PM)(Ae),this.resetHostNodes()}addStyles(F){for(const H of F)1===this.changeUsageCount(H,1)&&this.onStyleAdded(H)}removeStyles(F){for(const H of F)this.changeUsageCount(H,-1)<=0&&this.onStyleRemoved(H)}ngOnDestroy(){const F=this.styleNodesInDOM;F&&(F.forEach(H=>H.remove()),F.clear());for(const H of this.getAllStyles())this.onStyleRemoved(H);this.resetHostNodes()}addHost(F){this.hostNodes.add(F);for(const H of this.getAllStyles())this.addStyleToHost(F,H)}removeHost(F){this.hostNodes.delete(F)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(F){for(const H of this.hostNodes)this.addStyleToHost(H,F)}onStyleRemoved(F){const H=this.styleRef;H.get(F)?.elements?.forEach(le=>le.remove()),H.delete(F)}collectServerRenderedStyles(){const F=this.doc.head?.querySelectorAll(`style[${Pe}="${this.appId}"]`);if(F?.length){const H=new Map;return F.forEach(le=>{null!=le.textContent&&H.set(le.textContent,le)}),H}return null}changeUsageCount(F,H){const le=this.styleRef;if(le.has(F)){const Ae=le.get(F);return Ae.usage+=H,Ae.usage}return le.set(F,{usage:H,elements:[]}),H}getStyleElement(F,H){const le=this.styleNodesInDOM,Ae=le?.get(H);if(Ae?.parentNode===F)return le.delete(H),Ae.removeAttribute(Pe),Ae;{const Be=this.doc.createElement("style");return this.nonce&&Be.setAttribute("nonce",this.nonce),Be.textContent=H,this.platformIsServer&&Be.setAttribute(Pe,this.appId),Be}}addStyleToHost(F,H){const le=this.getStyleElement(F,H);F.appendChild(le);const Ae=this.styleRef,Be=Ae.get(H)?.elements;Be?Be.push(le):Ae.set(H,{elements:[le],usage:1})}resetHostNodes(){const F=this.hostNodes;F.clear(),F.add(this.doc.head)}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0),l.LFG(l.AFp),l.LFG(l.Ojb,8),l.LFG(l.Lbi))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const ht={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,Ce=new l.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Te(se,J){return J.map(F=>F.replace(ze,se))}let ve=(()=>{class se{constructor(F,H,le,Ae,Be,wt,_t,Yt=null){this.eventManager=F,this.sharedStylesHost=H,this.appId=le,this.removeStylesOnCompDestroy=Ae,this.doc=Be,this.platformId=wt,this.ngZone=_t,this.nonce=Yt,this.rendererByCompId=new Map,this.platformIsServer=(0,v.PM)(wt),this.defaultRenderer=new Ze(F,Be,_t,this.platformIsServer)}createRenderer(F,H){if(!F||!H)return this.defaultRenderer;this.platformIsServer&&H.encapsulation===l.ifc.ShadowDom&&(H={...H,encapsulation:l.ifc.Emulated});const le=this.getOrCreateRenderer(F,H);return le instanceof zt?le.applyToHost(F):le instanceof Qe&&le.applyStyles(),le}getOrCreateRenderer(F,H){const le=this.rendererByCompId;let Ae=le.get(H.id);if(!Ae){const Be=this.doc,wt=this.ngZone,_t=this.eventManager,Yt=this.sharedStylesHost,yn=this.removeStylesOnCompDestroy,Cn=this.platformIsServer;switch(H.encapsulation){case l.ifc.Emulated:Ae=new zt(_t,Yt,H,this.appId,yn,Be,wt,Cn);break;case l.ifc.ShadowDom:return new He(_t,Yt,F,H,Be,wt,this.nonce,Cn);default:Ae=new Qe(_t,Yt,H,yn,Be,wt,Cn)}le.set(H.id,Ae)}return Ae}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(ue),l.LFG(Ve),l.LFG(l.AFp),l.LFG(Ce),l.LFG(v.K0),l.LFG(l.Lbi),l.LFG(l.R0b),l.LFG(l.Ojb))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();class Ze{constructor(J,F,H,le){this.eventManager=J,this.doc=F,this.ngZone=H,this.platformIsServer=le,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(J,F){return F?this.doc.createElementNS(ht[F]||F,J):this.doc.createElement(J)}createComment(J){return this.doc.createComment(J)}createText(J){return this.doc.createTextNode(J)}appendChild(J,F){(Gt(J)?J.content:J).appendChild(F)}insertBefore(J,F,H){J&&(Gt(J)?J.content:J).insertBefore(F,H)}removeChild(J,F){J&&J.removeChild(F)}selectRootElement(J,F){let H="string"==typeof J?this.doc.querySelector(J):J;if(!H)throw new l.vHH(-5104,!1);return F||(H.textContent=""),H}parentNode(J){return J.parentNode}nextSibling(J){return J.nextSibling}setAttribute(J,F,H,le){if(le){F=le+":"+F;const Ae=ht[le];Ae?J.setAttributeNS(Ae,F,H):J.setAttribute(F,H)}else J.setAttribute(F,H)}removeAttribute(J,F,H){if(H){const le=ht[H];le?J.removeAttributeNS(le,F):J.removeAttribute(`${H}:${F}`)}else J.removeAttribute(F)}addClass(J,F){J.classList.add(F)}removeClass(J,F){J.classList.remove(F)}setStyle(J,F,H,le){le&(l.JOm.DashCase|l.JOm.Important)?J.style.setProperty(F,H,le&l.JOm.Important?"important":""):J.style[F]=H}removeStyle(J,F,H){H&l.JOm.DashCase?J.style.removeProperty(F):J.style[F]=""}setProperty(J,F,H){J[F]=H}setValue(J,F){J.nodeValue=F}listen(J,F,H){if("string"==typeof J&&!(J=(0,v.q)().getGlobalEventTarget(this.doc,J)))throw new Error(`Unsupported event target ${J} for event ${F}`);return this.eventManager.addEventListener(J,F,this.decoratePreventDefault(H))}decoratePreventDefault(J){return F=>{if("__ngUnwrap__"===F)return J;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>J(F)):J(F))&&F.preventDefault()}}}function Gt(se){return"TEMPLATE"===se.tagName&&void 0!==se.content}class He extends Ze{constructor(J,F,H,le,Ae,Be,wt,_t){super(J,Ae,Be,_t),this.sharedStylesHost=F,this.hostEl=H,this.shadowRoot=H.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Yt=Te(le.id,le.styles);for(const yn of Yt){const Cn=document.createElement("style");wt&&Cn.setAttribute("nonce",wt),Cn.textContent=yn,this.shadowRoot.appendChild(Cn)}}nodeOrShadowRoot(J){return J===this.hostEl?this.shadowRoot:J}appendChild(J,F){return super.appendChild(this.nodeOrShadowRoot(J),F)}insertBefore(J,F,H){return super.insertBefore(this.nodeOrShadowRoot(J),F,H)}removeChild(J,F){return super.removeChild(this.nodeOrShadowRoot(J),F)}parentNode(J){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(J)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qe extends Ze{constructor(J,F,H,le,Ae,Be,wt,_t){super(J,Ae,Be,wt),this.sharedStylesHost=F,this.removeStylesOnCompDestroy=le,this.styles=_t?Te(_t,H.styles):H.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class zt extends Qe{constructor(J,F,H,le,Ae,Be,wt,_t){const Yt=le+"-"+H.id;super(J,F,H,Ae,Be,wt,_t,Yt),this.contentAttr=function $e(se){return"_ngcontent-%COMP%".replace(ze,se)}(Yt),this.hostAttr=function Ee(se){return"_nghost-%COMP%".replace(ze,se)}(Yt)}applyToHost(J){this.applyStyles(),this.setAttribute(J,this.hostAttr,"")}createElement(J,F){const H=super.createElement(J,F);return super.setAttribute(H,this.contentAttr,""),H}}let Mt=(()=>{class se extends xe{constructor(F){super(F)}supports(F){return!0}addEventListener(F,H,le){return F.addEventListener(H,le,!1),()=>this.removeEventListener(F,H,le)}removeEventListener(F,H,le){return F.removeEventListener(H,le)}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const sn=["alt","control","meta","shift"],Q={"\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"},q={alt:se=>se.altKey,control:se=>se.ctrlKey,meta:se=>se.metaKey,shift:se=>se.shiftKey};let re=(()=>{class se extends xe{constructor(F){super(F)}supports(F){return null!=se.parseEventName(F)}addEventListener(F,H,le){const Ae=se.parseEventName(H),Be=se.eventCallback(Ae.fullKey,le,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,v.q)().onAndCancel(F,Ae.domEventName,Be))}static parseEventName(F){const H=F.toLowerCase().split("."),le=H.shift();if(0===H.length||"keydown"!==le&&"keyup"!==le)return null;const Ae=se._normalizeKey(H.pop());let Be="",wt=H.indexOf("code");if(wt>-1&&(H.splice(wt,1),Be="code."),sn.forEach(Yt=>{const yn=H.indexOf(Yt);yn>-1&&(H.splice(yn,1),Be+=Yt+".")}),Be+=Ae,0!=H.length||0===Ae.length)return null;const _t={};return _t.domEventName=le,_t.fullKey=Be,_t}static matchEventFullKeyCode(F,H){let le=Q[F.key]||F.key,Ae="";return H.indexOf("code.")>-1&&(le=F.code,Ae="code."),!(null==le||!le)&&(le=le.toLowerCase()," "===le?le="space":"."===le&&(le="dot"),sn.forEach(Be=>{Be!==le&&(0,q[Be])(F)&&(Ae+=Be+".")}),Ae+=le,Ae===H)}static eventCallback(F,H,le){return Ae=>{se.matchEventFullKeyCode(Ae,F)&&le.runGuarded(()=>H(Ae))}}static _normalizeKey(F){return"esc"===F?"escape":F}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const kt=(0,l.eFA)(l._c5,"browser",[{provide:l.Lbi,useValue:v.bD},{provide:l.g9A,useValue:function ut(){Z.makeCurrent()},multi:!0},{provide:v.K0,useFactory:function ke(){return(0,l.RDi)(document),document},deps:[]}]),rt=new l.OlP(""),At=[{provide:l.rWj,useClass:class T{addToWindow(J){l.dqk.getAngularTestability=(H,le=!0)=>{const Ae=J.findTestabilityInTree(H,le);if(null==Ae)throw new l.vHH(5103,!1);return Ae},l.dqk.getAllAngularTestabilities=()=>J.getAllTestabilities(),l.dqk.getAllAngularRootElements=()=>J.getAllRootElements(),l.dqk.frameworkStabilizers||(l.dqk.frameworkStabilizers=[]),l.dqk.frameworkStabilizers.push(H=>{const le=l.dqk.getAllAngularTestabilities();let Ae=le.length,Be=!1;const wt=function(_t){Be=Be||_t,Ae--,0==Ae&&H(Be)};le.forEach(_t=>{_t.whenStable(wt)})})}findTestabilityInTree(J,F,H){return null==F?null:J.getTestability(F)??(H?(0,v.q)().isShadowRoot(F)?this.findTestabilityInTree(J,F.host,!0):this.findTestabilityInTree(J,F.parentElement,!0):null)}},deps:[]},{provide:l.lri,useClass:l.dDg,deps:[l.R0b,l.eoX,l.rWj]},{provide:l.dDg,useClass:l.dDg,deps:[l.R0b,l.eoX,l.rWj]}],Nt=[{provide:l.zSh,useValue:"root"},{provide:l.qLn,useFactory:function Lt(){return new l.qLn},deps:[]},{provide:V,useClass:Mt,multi:!0,deps:[v.K0,l.R0b,l.Lbi]},{provide:V,useClass:re,multi:!0,deps:[v.K0]},ve,Ve,ue,{provide:l.FYo,useExisting:ve},{provide:v.JF,useClass:N,deps:[]},[]];let W=(()=>{class se{constructor(F){}static withServerTransition(F){return{ngModule:se,providers:[{provide:l.AFp,useValue:F.appId}]}}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(rt,12))};static#t=this.\u0275mod=l.oAB({type:se});static#n=this.\u0275inj=l.cJS({providers:[...Nt,...At],imports:[v.ez,l.hGG]})}return se})(),Oe=(()=>{class se{constructor(F){this._doc=F}getTitle(){return this._doc.title}setTitle(F){this._doc.title=F||""}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0))};static#t=this.\u0275prov=l.Yz7({token:se,factory:function(H){let le=null;return le=H?new H:function he(){return new Oe((0,l.LFG)(v.K0))}(),le},providedIn:"root"})}return se})();typeof window<"u"&&window},9919:(Ue,oe,S)=>{S.d(oe,{gz:()=>Sr,Eb:()=>di,gk:()=>dn,m2:()=>un,Q3:()=>qr,OD:()=>ci,F0:()=>Xt,rH:()=>ti,Od:()=>Qn,Bz:()=>jr,lC:()=>qt,R9:()=>Jr});var l=S(6689),v=S(5592),ee=S(4674),j=S(7715),B=S(2096),G=S(5619),A=S(7453),T=S(2737),N=S(7400),V=S(4564),ue=S(2714),xe=S(8251),Pe=S(7103);function Ve(...c){const f=(0,V.yG)(c),a=(0,V.jO)(c),{args:p,keys:y}=(0,A.D)(c);if(0===p.length)return(0,j.D)([],f);const I=new v.y(function ht(c,f,a=T.y){return p=>{ze(f,()=>{const{length:y}=c,I=new Array(y);let P=y,X=y;for(let K=0;K{const we=(0,j.D)(c[K],f);let at=!1;we.subscribe((0,xe.x)(p,Ht=>{I[K]=Ht,at||(at=!0,X--),X||p.next(a(I.slice()))},()=>{--P||p.complete()}))},p)},p)}}(p,f,y?P=>(0,ue.n)(y,P):T.y));return a?I.pipe((0,N.Z)(a)):I}function ze(c,f,a){c?(0,Pe.f)(a,c,f):f()}const mt=(0,S(2306).d)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"});var Xe=S(7537);function Ce(...c){return function Ie(){return(0,Xe.J)(1)}()((0,j.D)(c,(0,V.yG)(c)))}var $e=S(4829);function Ee(c){return new v.y(f=>{(0,$e.Xf)(c()).subscribe(f)})}var Te=S(8407),ve=S(8504),Ze=S(6232),Ye=S(7394),_e=S(9360);function Gt(){return(0,_e.e)((c,f)=>{let a=null;c._refCount++;const p=(0,xe.x)(f,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(a=null);const y=c._connection,I=a;a=null,y&&(!I||y===I)&&y.unsubscribe(),f.unsubscribe()});c.subscribe(p),p.closed||(a=c.connect())})}class He extends v.y{constructor(f,a){super(),this.source=f,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,_e.A)(f)&&(this.lift=f.lift)}_subscribe(f){return this.getSubject().subscribe(f)}getSubject(){const f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:f}=this;this._subject=this._connection=null,f?.unsubscribe()}connect(){let f=this._connection;if(!f){f=this._connection=new Ye.w0;const a=this.getSubject();f.add(this.source.subscribe((0,xe.x)(a,void 0,()=>{this._teardown(),a.complete()},p=>{this._teardown(),a.error(p)},()=>this._teardown()))),f.closed&&(this._connection=null,f=Ye.w0.EMPTY)}return f}refCount(){return Gt()(this)}}var Qe=S(8645),zt=S(6814),Mt=S(7398),sn=S(4664),Q=S(8180),re=S(2181),ne=S(1631);function me(c){return(0,_e.e)((f,a)=>{let p=!1;f.subscribe((0,xe.x)(a,y=>{p=!0,a.next(y)},()=>{p||a.next(c),a.complete()}))})}function pe(c=qe){return(0,_e.e)((f,a)=>{let p=!1;f.subscribe((0,xe.x)(a,y=>{p=!0,a.next(y)},()=>p?a.complete():a.error(c())))})}function qe(){return new mt}function ut(c,f){const a=arguments.length>=2;return p=>p.pipe(c?(0,re.h)((y,I)=>c(y,I,p)):T.y,(0,Q.q)(1),a?me(f):pe(()=>new mt))}var Lt=S(6328);function ke(c,f,a){const p=(0,ee.m)(c)||f||a?{next:c,error:f,complete:a}:c;return p?(0,_e.e)((y,I)=>{var P;null===(P=p.subscribe)||void 0===P||P.call(p);let X=!0;y.subscribe((0,xe.x)(I,K=>{var we;null===(we=p.next)||void 0===we||we.call(p,K),I.next(K)},()=>{var K;X=!1,null===(K=p.complete)||void 0===K||K.call(p),I.complete()},K=>{var we;X=!1,null===(we=p.error)||void 0===we||we.call(p,K),I.error(K)},()=>{var K,we;X&&(null===(K=p.unsubscribe)||void 0===K||K.call(p)),null===(we=p.finalize)||void 0===we||we.call(p)}))}):T.y}var vt=S(6306);function At(c){return c<=0?()=>Ze.E:(0,_e.e)((f,a)=>{let p=[];f.subscribe((0,xe.x)(a,y=>{p.push(y),c{for(const y of p)a.next(y);a.complete()},void 0,()=>{p=null}))})}var Vt=S(4716),ye=S(2420),he=S(6593);const Oe="primary",yt=Symbol("RouteTitle");class Tt{constructor(f){this.params=f||{}}has(f){return Object.prototype.hasOwnProperty.call(this.params,f)}get(f){if(this.has(f)){const a=this.params[f];return Array.isArray(a)?a[0]:a}return null}getAll(f){if(this.has(f)){const a=this.params[f];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function Rt(c){return new Tt(c)}function Je(c,f,a){const p=a.path.split("/");if(p.length>c.length||"full"===a.pathMatch&&(f.hasChildren()||p.lengthp[I]===y)}return c===f}function Mn(c){return c.length>0?c[c.length-1]:null}function _n(c){return function Z(c){return!!c&&(c instanceof v.y||(0,ee.m)(c.lift)&&(0,ee.m)(c.subscribe))}(c)?c:(0,l.QGY)(c)?(0,j.D)(Promise.resolve(c)):(0,B.of)(c)}const vn={exact:function st(c,f,a){if(!Sn(c.segments,f.segments)||!On(c.segments,f.segments,a)||c.numberOfChildren!==f.numberOfChildren)return!1;for(const p in f.children)if(!c.children[p]||!st(c.children[p],f.children[p],a))return!1;return!0},subset:Bn},ct={exact:function ui(c,f){return mn(c,f)},subset:function zr(c,f){return Object.keys(f).length<=Object.keys(c).length&&Object.keys(f).every(a=>Kn(c[a],f[a]))},ignored:()=>!0};function Ot(c,f,a){return vn[a.paths](c.root,f.root,a.matrixParams)&&ct[a.queryParams](c.queryParams,f.queryParams)&&!("exact"===a.fragment&&c.fragment!==f.fragment)}function Bn(c,f,a){return xt(c,f,f.segments,a)}function xt(c,f,a,p){if(c.segments.length>a.length){const y=c.segments.slice(0,a.length);return!(!Sn(y,a)||f.hasChildren()||!On(y,a,p))}if(c.segments.length===a.length){if(!Sn(c.segments,a)||!On(c.segments,a,p))return!1;for(const y in f.children)if(!c.children[y]||!Bn(c.children[y],f.children[y],p))return!1;return!0}{const y=a.slice(0,c.segments.length),I=a.slice(c.segments.length);return!!(Sn(c.segments,y)&&On(c.segments,y,p)&&c.children[Oe])&&xt(c.children[Oe],f,I,p)}}function On(c,f,a){return f.every((p,y)=>ct[a](c[y].parameters,p.parameters))}class tn{constructor(f=new Ne([],{}),a={},p=null){this.root=f,this.queryParams=a,this.fragment=p}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Rt(this.queryParams)),this._queryParamMap}toString(){return Ti.serialize(this)}}class Ne{constructor(f,a){this.segments=f,this.children=a,this.parent=null,Object.values(a).forEach(p=>p.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return se(this)}}class Fn{constructor(f,a){this.path=f,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=Rt(this.parameters)),this._parameterMap}toString(){return _t(this)}}function Sn(c,f){return c.length===f.length&&c.every((a,p)=>a.path===f[p].path)}let rr=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return new cr},providedIn:"root"})}return c})();class cr{parse(f){const a=new Ut(f);return new tn(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(f){const a=`/${J(f.root,!0)}`,p=function yn(c){const f=Object.keys(c).map(a=>{const p=c[a];return Array.isArray(p)?p.map(y=>`${H(a)}=${H(y)}`).join("&"):`${H(a)}=${H(p)}`}).filter(a=>!!a);return f.length?`?${f.join("&")}`:""}(f.queryParams);return`${a}${p}${"string"==typeof f.fragment?`#${function le(c){return encodeURI(c)}(f.fragment)}`:""}`}}const Ti=new cr;function se(c){return c.segments.map(f=>_t(f)).join("/")}function J(c,f){if(!c.hasChildren())return se(c);if(f){const a=c.children[Oe]?J(c.children[Oe],!1):"",p=[];return Object.entries(c.children).forEach(([y,I])=>{y!==Oe&&p.push(`${y}:${J(I,!1)}`)}),p.length>0?`${a}(${p.join("//")})`:a}{const a=function nr(c,f){let a=[];return Object.entries(c.children).forEach(([p,y])=>{p===Oe&&(a=a.concat(f(y,p)))}),Object.entries(c.children).forEach(([p,y])=>{p!==Oe&&(a=a.concat(f(y,p)))}),a}(c,(p,y)=>y===Oe?[J(c.children[Oe],!1)]:[`${y}:${J(p,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[Oe]?`${se(c)}/${a[0]}`:`${se(c)}/(${a.join("//")})`}}function F(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function H(c){return F(c).replace(/%3B/gi,";")}function Ae(c){return F(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Be(c){return decodeURIComponent(c)}function wt(c){return Be(c.replace(/\+/g,"%20"))}function _t(c){return`${Ae(c.path)}${function Yt(c){return Object.keys(c).map(f=>`;${Ae(f)}=${Ae(c[f])}`).join("")}(c.parameters)}`}const Cn=/^[^\/()?;#]+/;function Y(c){const f=c.match(Cn);return f?f[0]:""}const L=/^[^\/()?;=#]+/,ie=/^[^=?&#]+/,De=/^[^&#]+/;class Ut{constructor(f){this.url=f,this.remaining=f}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ne([],{}):new Ne([],this.parseChildren())}parseQueryParams(){const f={};if(this.consumeOptional("?"))do{this.parseQueryParam(f)}while(this.consumeOptional("&"));return f}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const f=[];for(this.peekStartsWith("(")||f.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),f.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let p={};return this.peekStartsWith("(")&&(p=this.parseParens(!1)),(f.length>0||Object.keys(a).length>0)&&(p[Oe]=new Ne(f,a)),p}parseSegment(){const f=Y(this.remaining);if(""===f&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(f),new Fn(Be(f),this.parseMatrixParams())}parseMatrixParams(){const f={};for(;this.consumeOptional(";");)this.parseParam(f);return f}parseParam(f){const a=function U(c){const f=c.match(L);return f?f[0]:""}(this.remaining);if(!a)return;this.capture(a);let p="";if(this.consumeOptional("=")){const y=Y(this.remaining);y&&(p=y,this.capture(p))}f[Be(a)]=Be(p)}parseQueryParam(f){const a=function Se(c){const f=c.match(ie);return f?f[0]:""}(this.remaining);if(!a)return;this.capture(a);let p="";if(this.consumeOptional("=")){const P=function be(c){const f=c.match(De);return f?f[0]:""}(this.remaining);P&&(p=P,this.capture(p))}const y=wt(a),I=wt(p);if(f.hasOwnProperty(y)){let P=f[y];Array.isArray(P)||(P=[P],f[y]=P),P.push(I)}else f[y]=I}parseParens(f){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const p=Y(this.remaining),y=this.remaining[p.length];if("/"!==y&&")"!==y&&";"!==y)throw new l.vHH(4010,!1);let I;p.indexOf(":")>-1?(I=p.slice(0,p.indexOf(":")),this.capture(I),this.capture(":")):f&&(I=Oe);const P=this.parseChildren();a[I]=1===Object.keys(P).length?P[Oe]:new Ne([],P),this.consumeOptional("//")}return a}peekStartsWith(f){return this.remaining.startsWith(f)}consumeOptional(f){return!!this.peekStartsWith(f)&&(this.remaining=this.remaining.substring(f.length),!0)}capture(f){if(!this.consumeOptional(f))throw new l.vHH(4011,!1)}}function tt(c){return c.segments.length>0?new Ne([],{[Oe]:c}):c}function cn(c){const f={};for(const p of Object.keys(c.children)){const I=cn(c.children[p]);if(p===Oe&&0===I.segments.length&&I.hasChildren())for(const[P,X]of Object.entries(I.children))f[P]=X;else(I.segments.length>0||I.hasChildren())&&(f[p]=I)}return function jn(c){if(1===c.numberOfChildren&&c.children[Oe]){const f=c.children[Oe];return new Ne(c.segments.concat(f.segments),f.children)}return c}(new Ne(c.segments,f))}function an(c){return c instanceof tn}function Hn(c){let f;const y=tt(function a(I){const P={};for(const K of I.children){const we=a(K);P[K.outlet]=we}const X=new Ne(I.url,P);return I===c&&(f=X),X}(c.root));return f??y}function pn(c,f,a,p){let y=c;for(;y.parent;)y=y.parent;if(0===f.length)return In(y,y,y,a,p);const I=function Ln(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new rn(!0,0,c);let f=0,a=!1;const p=c.reduce((y,I,P)=>{if("object"==typeof I&&null!=I){if(I.outlets){const X={};return Object.entries(I.outlets).forEach(([K,we])=>{X[K]="string"==typeof we?we.split("/"):we}),[...y,{outlets:X}]}if(I.segmentPath)return[...y,I.segmentPath]}return"string"!=typeof I?[...y,I]:0===P?(I.split("/").forEach((X,K)=>{0==K&&"."===X||(0==K&&""===X?a=!0:".."===X?f++:""!=X&&y.push(X))}),y):[...y,I]},[]);return new rn(a,f,p)}(f);if(I.toRoot())return In(y,y,new Ne([],{}),a,p);const P=function ir(c,f,a){if(c.isAbsolute)return new ln(f,!0,0);if(!a)return new ln(f,!1,NaN);if(null===a.parent)return new ln(a,!0,0);const p=ft(c.commands[0])?0:1;return function Wr(c,f,a){let p=c,y=f,I=a;for(;I>y;){if(I-=y,p=p.parent,!p)throw new l.vHH(4005,!1);y=p.segments.length}return new ln(p,!1,y-I)}(a,a.segments.length-1+p,c.numberOfDoubleDots)}(I,y,c),X=P.processChildren?fr(P.segmentGroup,P.index,I.commands):Yr(P.segmentGroup,P.index,I.commands);return In(y,P.segmentGroup,X,a,p)}function ft(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function je(c){return"object"==typeof c&&null!=c&&c.outlets}function In(c,f,a,p,y){let P,I={};p&&Object.entries(p).forEach(([K,we])=>{I[K]=Array.isArray(we)?we.map(at=>`${at}`):`${we}`}),P=c===f?a:dr(c,f,a);const X=tt(cn(P));return new tn(X,I,y)}function dr(c,f,a){const p={};return Object.entries(c.children).forEach(([y,I])=>{p[y]=I===f?a:dr(I,f,a)}),new Ne(c.segments,p)}class rn{constructor(f,a,p){if(this.isAbsolute=f,this.numberOfDoubleDots=a,this.commands=p,f&&p.length>0&&ft(p[0]))throw new l.vHH(4003,!1);const y=p.find(je);if(y&&y!==Mn(p))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ln{constructor(f,a,p){this.segmentGroup=f,this.processChildren=a,this.index=p}}function Yr(c,f,a){if(c||(c=new Ne([],{})),0===c.segments.length&&c.hasChildren())return fr(c,f,a);const p=function xr(c,f,a){let p=0,y=f;const I={match:!1,pathIndex:0,commandIndex:0};for(;y=a.length)return I;const P=c.segments[y],X=a[p];if(je(X))break;const K=`${X}`,we=p0&&void 0===K)break;if(K&&we&&"object"==typeof we&&void 0===we.outlets){if(!Wi(K,we,P))return I;p+=2}else{if(!Wi(K,{},P))return I;p++}y++}return{match:!0,pathIndex:y,commandIndex:p}}(c,f,a),y=a.slice(p.commandIndex);if(p.match&&p.pathIndexI!==Oe)&&c.children[Oe]&&1===c.numberOfChildren&&0===c.children[Oe].segments.length){const I=fr(c.children[Oe],f,a);return new Ne(c.segments,I.children)}return Object.entries(p).forEach(([I,P])=>{"string"==typeof P&&(P=[P]),null!==P&&(y[I]=Yr(c.children[I],f,P))}),Object.entries(c.children).forEach(([I,P])=>{void 0===p[I]&&(y[I]=P)}),new Ne(c.segments,y)}}function wr(c,f,a){const p=c.segments.slice(0,f);let y=0;for(;y{"string"==typeof p&&(p=[p]),null!==p&&(f[a]=wr(new Ne([],{}),0,p))}),f}function io(c){const f={};return Object.entries(c).forEach(([a,p])=>f[a]=`${p}`),f}function Wi(c,f,a){return c==a.path&&mn(f,a.parameters)}const Zr="imperative";class Zn{constructor(f,a){this.id=f,this.url=a}}class ci extends Zn{constructor(f,a,p="imperative",y=null){super(f,a),this.type=0,this.navigationTrigger=p,this.restoredState=y}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class un extends Zn{constructor(f,a,p){super(f,a),this.urlAfterRedirects=p,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class dn extends Zn{constructor(f,a,p,y){super(f,a),this.reason=p,this.code=y,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class hr extends Zn{constructor(f,a,p,y){super(f,a),this.reason=p,this.code=y,this.type=16}}class qr extends Zn{constructor(f,a,p,y){super(f,a),this.error=p,this.target=y,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Jr extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oo extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ao extends Zn{constructor(f,a,p,y,I){super(f,a),this.urlAfterRedirects=p,this.state=y,this.shouldActivate=I,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Oi extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class so extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pi{constructor(f){this.route=f,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ao{constructor(f){this.route=f,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class di{constructor(f){this.snapshot=f,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ni{constructor(f){this.snapshot=f,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lo{constructor(f){this.snapshot=f,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ri{constructor(f){this.snapshot=f,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{constructor(f,a,p){this.routerEvent=f,this.position=a,this.anchor=p,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Fr{}class hi{constructor(f){this.url=f}}class Ki{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new dt,this.attachRef=null}}let dt=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(a,p){const y=this.getOrCreateContext(a);y.outlet=p,this.contexts.set(a,y)}onChildOutletDestroyed(a){const p=this.getContext(a);p&&(p.outlet=null,p.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let p=this.getContext(a);return p||(p=new Ki,this.contexts.set(a,p)),p}getContext(a){return this.contexts.get(a)||null}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class on{constructor(f){this._root=f}get root(){return this._root.value}parent(f){const a=this.pathFromRoot(f);return a.length>1?a[a.length-2]:null}children(f){const a=gn(f,this._root);return a?a.children.map(p=>p.value):[]}firstChild(f){const a=gn(f,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(f){const a=qn(f,this._root);return a.length<2?[]:a[a.length-2].children.map(y=>y.value).filter(y=>y!==f)}pathFromRoot(f){return qn(f,this._root).map(a=>a.value)}}function gn(c,f){if(c===f.value)return f;for(const a of f.children){const p=gn(c,a);if(p)return p}return null}function qn(c,f){if(c===f.value)return[f];for(const a of f.children){const p=qn(c,a);if(p.length)return p.unshift(f),p}return[]}class Qt{constructor(f,a){this.value=f,this.children=a}toString(){return`TreeNode(${this.value})`}}function Jn(c){const f={};return c&&c.children.forEach(a=>f[a.value.outlet]=a),f}class Xr extends on{constructor(f,a){super(f),this.snapshot=a,Pn(this,f)}toString(){return this.snapshot.toString()}}function Mr(c,f){const a=function uo(c,f){const P=new it([],{},{},"",{},Oe,f,null,{});return new Ft("",new Qt(P,[]))}(0,f),p=new G.X([new Fn("",{})]),y=new G.X({}),I=new G.X({}),P=new G.X({}),X=new G.X(""),K=new Sr(p,y,P,X,I,Oe,f,a.root);return K.snapshot=a.root,new Xr(new Qt(K,[]),a)}class Sr{constructor(f,a,p,y,I,P,X,K){this.urlSubject=f,this.paramsSubject=a,this.queryParamsSubject=p,this.fragmentSubject=y,this.dataSubject=I,this.outlet=P,this.component=X,this._futureSnapshot=K,this.title=this.dataSubject?.pipe((0,Mt.U)(we=>we[yt]))??(0,B.of)(void 0),this.url=f,this.params=a,this.queryParams=p,this.fragment=y,this.data=I}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,Mt.U)(f=>Rt(f)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Mt.U)(f=>Rt(f)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function jt(c,f="emptyOnly"){const a=c.pathFromRoot;let p=0;if("always"!==f)for(p=a.length-1;p>=1;){const y=a[p],I=a[p-1];if(y.routeConfig&&""===y.routeConfig.path)p--;else{if(I.component)break;p--}}return function Fe(c){return c.reduce((f,a)=>({params:{...f.params,...a.params},data:{...f.data,...a.data},resolve:{...a.data,...f.resolve,...a.routeConfig?.data,...a._resolvedData}}),{params:{},data:{},resolve:{}})}(a.slice(p))}class it{get title(){return this.data?.[yt]}constructor(f,a,p,y,I,P,X,K,we){this.url=f,this.params=a,this.queryParams=p,this.fragment=y,this.data=I,this.outlet=P,this.component=X,this.routeConfig=K,this._resolve=we}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=Rt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Rt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(p=>p.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ft extends on{constructor(f,a){super(a),this.url=f,Pn(this,a)}toString(){return Ir(this._root)}}function Pn(c,f){f.value._routerState=c,f.children.forEach(a=>Pn(c,a))}function Ir(c){const f=c.children.length>0?` { ${c.children.map(Ir).join(", ")} } `:"";return`${c.value}${f}`}function fn(c){if(c.snapshot){const f=c.snapshot,a=c._futureSnapshot;c.snapshot=a,mn(f.queryParams,a.queryParams)||c.queryParamsSubject.next(a.queryParams),f.fragment!==a.fragment&&c.fragmentSubject.next(a.fragment),mn(f.params,a.params)||c.paramsSubject.next(a.params),function et(c,f){if(c.length!==f.length)return!1;for(let a=0;amn(a.parameters,f[p].parameters))}(c.url,f.url);return a&&!(!c.parent!=!f.parent)&&(!c.parent||Nn(c.parent,f.parent))}let qt=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=Oe,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.parentContexts=(0,l.f3M)(dt),this.location=(0,l.f3M)(l.s_b),this.changeDetector=(0,l.f3M)(l.sBO),this.environmentInjector=(0,l.f3M)(l.lqb),this.inputBinder=(0,l.f3M)(sr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(a){if(a.name){const{firstChange:p,previousValue:y}=a.name;if(p)return;this.isTrackedInParentContexts(y)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(y)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(a){return this.parentContexts.getContext(a)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const a=this.parentContexts.getContext(this.name);a?.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,!1);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,p){this.activated=a,this._activatedRoute=p,this.location.insert(a.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,p){if(this.isActivated)throw new l.vHH(4013,!1);this._activatedRoute=a;const y=this.location,P=a.snapshot.component,X=this.parentContexts.getOrCreateContext(this.name).children,K=new or(a,X,y.injector);this.activated=y.createComponent(P,{index:y.length,injector:K,environmentInjector:p??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275dir=l.lG2({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[l.TTD]})}return c})();class or{constructor(f,a,p){this.route=f,this.childContexts=a,this.parent=p}get(f,a){return f===Sr?this.route:f===dt?this.childContexts:this.parent.get(f,a)}}const sr=new l.OlP("");let nt=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(a){this.unsubscribeFromRouteData(a),this.subscribeToRouteData(a)}unsubscribeFromRouteData(a){this.outletDataSubscriptions.get(a)?.unsubscribe(),this.outletDataSubscriptions.delete(a)}subscribeToRouteData(a){const{activatedRoute:p}=a,y=Ve([p.queryParams,p.params,p.data]).pipe((0,sn.w)(([I,P,X],K)=>(X={...I,...P,...X},0===K?(0,B.of)(X):Promise.resolve(X)))).subscribe(I=>{if(!a.isActivated||!a.activatedComponentRef||a.activatedRoute!==p||null===p.component)return void this.unsubscribeFromRouteData(a);const P=(0,l.qFp)(p.component);if(P)for(const{templateName:X}of P.inputs)a.activatedComponentRef.setInput(X,I[X]);else this.unsubscribeFromRouteData(a)});this.outletDataSubscriptions.set(a,y)}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac})}return c})();function Lr(c,f,a){if(a&&c.shouldReuseRoute(f.value,a.value.snapshot)){const p=a.value;p._futureSnapshot=f.value;const y=function pr(c,f,a){return f.children.map(p=>{for(const y of a.children)if(c.shouldReuseRoute(p.value,y.value.snapshot))return Lr(c,p,y);return Lr(c,p)})}(c,f,a);return new Qt(p,y)}{if(c.shouldAttach(f.value)){const I=c.retrieve(f.value);if(null!==I){const P=I.route;return P.value._futureSnapshot=f.value,P.children=f.children.map(X=>Lr(c,X)),P}}const p=function Wt(c){return new Sr(new G.X(c.url),new G.X(c.params),new G.X(c.queryParams),new G.X(c.fragment),new G.X(c.data),c.outlet,c.component,c)}(f.value),y=f.children.map(I=>Lr(c,I));return new Qt(p,y)}}const kr="ngNavigationCancelingError";function gr(c,f){const{redirectTo:a,navigationBehaviorOptions:p}=an(f)?{redirectTo:f,navigationBehaviorOptions:void 0}:f,y=Gn(!1,0,f);return y.url=a,y.navigationBehaviorOptions=p,y}function Gn(c,f,a){const p=new Error("NavigationCancelingError: "+(c||""));return p[kr]=!0,p.cancellationCode=f,a&&(p.url=a),p}function Ur(c){return c&&c[kr]}let zn=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275cmp=l.Xpm({type:c,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(p,y){1&p&&l._UZ(0,"router-outlet")},dependencies:[qt],encapsulation:2})}return c})();function $r(c){const f=c.children&&c.children.map($r),a=f?{...c,children:f}:{...c};return!a.component&&!a.loadComponent&&(f||a.loadChildren)&&a.outlet&&a.outlet!==Oe&&(a.component=zn),a}function bn(c){return c.outlet||Oe}function Fi(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let f=c.parent;f;f=f.parent){const a=f.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class Li{constructor(f,a,p,y,I){this.routeReuseStrategy=f,this.futureState=a,this.currState=p,this.forwardEvent=y,this.inputBindingEnabled=I}activate(f){const a=this.futureState._root,p=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,p,f),fn(this.futureState.root),this.activateChildRoutes(a,p,f)}deactivateChildRoutes(f,a,p){const y=Jn(a);f.children.forEach(I=>{const P=I.value.outlet;this.deactivateRoutes(I,y[P],p),delete y[P]}),Object.values(y).forEach(I=>{this.deactivateRouteAndItsChildren(I,p)})}deactivateRoutes(f,a,p){const y=f.value,I=a?a.value:null;if(y===I)if(y.component){const P=p.getContext(y.outlet);P&&this.deactivateChildRoutes(f,a,P.children)}else this.deactivateChildRoutes(f,a,p);else I&&this.deactivateRouteAndItsChildren(a,p)}deactivateRouteAndItsChildren(f,a){f.value.component&&this.routeReuseStrategy.shouldDetach(f.value.snapshot)?this.detachAndStoreRouteSubtree(f,a):this.deactivateRouteAndOutlet(f,a)}detachAndStoreRouteSubtree(f,a){const p=a.getContext(f.value.outlet),y=p&&f.value.component?p.children:a,I=Jn(f);for(const P of Object.keys(I))this.deactivateRouteAndItsChildren(I[P],y);if(p&&p.outlet){const P=p.outlet.detach(),X=p.children.onOutletDeactivated();this.routeReuseStrategy.store(f.value.snapshot,{componentRef:P,route:f,contexts:X})}}deactivateRouteAndOutlet(f,a){const p=a.getContext(f.value.outlet),y=p&&f.value.component?p.children:a,I=Jn(f);for(const P of Object.keys(I))this.deactivateRouteAndItsChildren(I[P],y);p&&(p.outlet&&(p.outlet.deactivate(),p.children.onOutletDeactivated()),p.attachRef=null,p.route=null)}activateChildRoutes(f,a,p){const y=Jn(a);f.children.forEach(I=>{this.activateRoutes(I,y[I.value.outlet],p),this.forwardEvent(new Ri(I.value.snapshot))}),f.children.length&&this.forwardEvent(new Ni(f.value.snapshot))}activateRoutes(f,a,p){const y=f.value,I=a?a.value:null;if(fn(y),y===I)if(y.component){const P=p.getOrCreateContext(y.outlet);this.activateChildRoutes(f,a,P.children)}else this.activateChildRoutes(f,a,p);else if(y.component){const P=p.getOrCreateContext(y.outlet);if(this.routeReuseStrategy.shouldAttach(y.snapshot)){const X=this.routeReuseStrategy.retrieve(y.snapshot);this.routeReuseStrategy.store(y.snapshot,null),P.children.onOutletReAttached(X.contexts),P.attachRef=X.componentRef,P.route=X.route.value,P.outlet&&P.outlet.attach(X.componentRef,X.route.value),fn(X.route.value),this.activateChildRoutes(f,null,P.children)}else{const X=Fi(y.snapshot);P.attachRef=null,P.route=y,P.injector=X,P.outlet&&P.outlet.activateWith(y,P.injector),this.activateChildRoutes(f,null,P.children)}}else this.activateChildRoutes(f,null,p)}}class _{constructor(f){this.path=f,this.route=this.path[this.path.length-1]}}class C{constructor(f,a){this.component=f,this.route=a}}function g(c,f,a){const p=c._root;return Ke(p,f?f._root:null,a,[p.value])}function x(c,f){const a=Symbol(),p=f.get(c,a);return p===a?"function"!=typeof c||(0,l.Z0I)(c)?f.get(c):c:p}function Ke(c,f,a,p,y={canDeactivateChecks:[],canActivateChecks:[]}){const I=Jn(f);return c.children.forEach(P=>{(function Dt(c,f,a,p,y={canDeactivateChecks:[],canActivateChecks:[]}){const I=c.value,P=f?f.value:null,X=a?a.getContext(c.value.outlet):null;if(P&&I.routeConfig===P.routeConfig){const K=function vr(c,f,a){if("function"==typeof a)return a(c,f);switch(a){case"pathParamsChange":return!Sn(c.url,f.url);case"pathParamsOrQueryParamsChange":return!Sn(c.url,f.url)||!mn(c.queryParams,f.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nn(c,f)||!mn(c.queryParams,f.queryParams);default:return!Nn(c,f)}}(P,I,I.routeConfig.runGuardsAndResolvers);K?y.canActivateChecks.push(new _(p)):(I.data=P.data,I._resolvedData=P._resolvedData),Ke(c,f,I.component?X?X.children:null:a,p,y),K&&X&&X.outlet&&X.outlet.isActivated&&y.canDeactivateChecks.push(new C(X.outlet.component,P))}else P&&br(f,X,y),y.canActivateChecks.push(new _(p)),Ke(c,null,I.component?X?X.children:null:a,p,y)})(P,I[P.value.outlet],a,p.concat([P.value]),y),delete I[P.value.outlet]}),Object.entries(I).forEach(([P,X])=>br(X,a.getContext(P),y)),y}function br(c,f,a){const p=Jn(c),y=c.value;Object.entries(p).forEach(([I,P])=>{br(P,y.component?f?f.children.getContext(I):null:f,a)}),a.canDeactivateChecks.push(new C(y.component&&f&&f.outlet&&f.outlet.isActivated?f.outlet.component:null,y))}function ei(c){return"function"==typeof c}function Cs(c){return c instanceof mt||"EmptyError"===c?.name}const ki=Symbol("INITIAL_VALUE");function Ar(){return(0,sn.w)(c=>Ve(c.map(f=>f.pipe((0,Q.q)(1),function q(...c){const f=(0,V.yG)(c);return(0,_e.e)((a,p)=>{(f?Ce(c,a,f):Ce(c,a)).subscribe(p)})}(ki)))).pipe((0,Mt.U)(f=>{for(const a of f)if(!0!==a){if(a===ki)return ki;if(!1===a||a instanceof tn)return a}return!0}),(0,re.h)(f=>f!==ki),(0,Q.q)(1)))}function En(c){return(0,Te.z)(ke(f=>{if(an(f))throw gr(0,f)}),(0,Mt.U)(f=>!0===f))}class kn{constructor(f){this.segmentGroup=f||null}}class To{constructor(f){this.urlTree=f}}function yi(c){return(0,ve._)(new kn(c))}function Oo(c){return(0,ve._)(new To(c))}class As{constructor(f,a){this.urlSerializer=f,this.urlTree=a}noMatchError(f){return new l.vHH(4002,!1)}lineralizeSegments(f,a){let p=[],y=a.root;for(;;){if(p=p.concat(y.segments),0===y.numberOfChildren)return(0,B.of)(p);if(y.numberOfChildren>1||!y.children[Oe])return(0,ve._)(new l.vHH(4e3,!1));y=y.children[Oe]}}applyRedirectCommands(f,a,p){return this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),f,p)}applyRedirectCreateUrlTree(f,a,p,y){const I=this.createSegmentGroup(f,a.root,p,y);return new tn(I,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(f,a){const p={};return Object.entries(f).forEach(([y,I])=>{if("string"==typeof I&&I.startsWith(":")){const X=I.substring(1);p[y]=a[X]}else p[y]=I}),p}createSegmentGroup(f,a,p,y){const I=this.createSegments(f,a.segments,p,y);let P={};return Object.entries(a.children).forEach(([X,K])=>{P[X]=this.createSegmentGroup(f,K,p,y)}),new Ne(I,P)}createSegments(f,a,p,y){return a.map(I=>I.path.startsWith(":")?this.findPosParam(f,I,y):this.findOrReturn(I,p))}findPosParam(f,a,p){const y=p[a.path.substring(1)];if(!y)throw new l.vHH(4001,!1);return y}findOrReturn(f,a){let p=0;for(const y of a){if(y.path===f.path)return a.splice(p),y;p++}return f}}const Vi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function po(c,f,a,p,y){const I=go(c,f,a);return I.matched?(p=function mr(c,f){return c.providers&&!c._injector&&(c._injector=(0,l.MMx)(c.providers,f,`Route: ${c.path}`)),c._injector??f}(f,p),function fo(c,f,a,p){const y=f.canMatch;if(!y||0===y.length)return(0,B.of)(!0);const I=y.map(P=>{const X=x(P,c);return _n(function su(c){return c&&ei(c.canMatch)}(X)?X.canMatch(f,a):c.runInContext(()=>X(f,a)))});return(0,B.of)(I).pipe(Ar(),En())}(p,f,a).pipe((0,Mt.U)(P=>!0===P?I:{...Vi}))):(0,B.of)(I)}function go(c,f,a){if(""===f.path)return"full"===f.pathMatch&&(c.hasChildren()||a.length>0)?{...Vi}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const y=(f.matcher||Je)(a,c,f);if(!y)return{...Vi};const I={};Object.entries(y.posParams??{}).forEach(([X,K])=>{I[X]=K.path});const P=y.consumed.length>0?{...I,...y.consumed[y.consumed.length-1].parameters}:I;return{matched:!0,consumedSegments:y.consumed,remainingSegments:a.slice(y.consumed.length),parameters:P,positionalParamSegments:y.posParams??{}}}function Po(c,f,a,p){return a.length>0&&function Zi(c,f,a){return a.some(p=>qi(c,f,p)&&bn(p)!==Oe)}(c,a,p)?{segmentGroup:new Ne(f,mo(p,new Ne(a,c.children))),slicedSegments:[]}:0===a.length&&function Ui(c,f,a){return a.some(p=>qi(c,f,p))}(c,a,p)?{segmentGroup:new Ne(c.segments,Ts(c,0,a,p,c.children)),slicedSegments:a}:{segmentGroup:new Ne(c.segments,c.children),slicedSegments:a}}function Ts(c,f,a,p,y){const I={};for(const P of p)if(qi(c,a,P)&&!y[bn(P)]){const X=new Ne([],{});I[bn(P)]=X}return{...y,...I}}function mo(c,f){const a={};a[Oe]=f;for(const p of c)if(""===p.path&&bn(p)!==Oe){const y=new Ne([],{});a[bn(p)]=y}return a}function qi(c,f,a){return(!(c.hasChildren()||f.length>0)||"full"!==a.pathMatch)&&""===a.path}class Ji{constructor(f,a,p,y,I,P,X){this.injector=f,this.configLoader=a,this.rootComponentType=p,this.config=y,this.urlTree=I,this.paramsInheritanceStrategy=P,this.urlSerializer=X,this.allowRedirects=!0,this.applyRedirects=new As(this.urlSerializer,this.urlTree)}noMatchError(f){return new l.vHH(4002,!1)}recognize(){const f=Po(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,f,Oe).pipe((0,vt.K)(a=>{if(a instanceof To)return this.allowRedirects=!1,this.urlTree=a.urlTree,this.match(a.urlTree);throw a instanceof kn?this.noMatchError(a):a}),(0,Mt.U)(a=>{const p=new it([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Oe,this.rootComponentType,null,{}),y=new Qt(p,a),I=new Ft("",y),P=function nn(c,f,a=null,p=null){return pn(Hn(c),f,a,p)}(p,[],this.urlTree.queryParams,this.urlTree.fragment);return P.queryParams=this.urlTree.queryParams,I.url=this.urlSerializer.serialize(P),this.inheritParamsAndData(I._root),{state:I,tree:P}}))}match(f){return this.processSegmentGroup(this.injector,this.config,f.root,Oe).pipe((0,vt.K)(p=>{throw p instanceof kn?this.noMatchError(p):p}))}inheritParamsAndData(f){const a=f.value,p=jt(a,this.paramsInheritanceStrategy);a.params=Object.freeze(p.params),a.data=Object.freeze(p.data),f.children.forEach(y=>this.inheritParamsAndData(y))}processSegmentGroup(f,a,p,y){return 0===p.segments.length&&p.hasChildren()?this.processChildren(f,a,p):this.processSegment(f,a,p,p.segments,y,!0)}processChildren(f,a,p){const y=[];for(const I of Object.keys(p.children))"primary"===I?y.unshift(I):y.push(I);return(0,j.D)(y).pipe((0,Lt.b)(I=>{const P=p.children[I],X=function Dn(c,f){const a=c.filter(p=>bn(p)===f);return a.push(...c.filter(p=>bn(p)!==f)),a}(a,I);return this.processSegmentGroup(f,X,P,I)}),function rt(c,f){return(0,_e.e)(function kt(c,f,a,p,y){return(I,P)=>{let X=a,K=f,we=0;I.subscribe((0,xe.x)(P,at=>{const Ht=we++;K=X?c(K,at,Ht):(X=!0,at),p&&P.next(K)},y&&(()=>{X&&P.next(K),P.complete()})))}}(c,f,arguments.length>=2,!0))}((I,P)=>(I.push(...P),I)),me(null),function Nt(c,f){const a=arguments.length>=2;return p=>p.pipe(c?(0,re.h)((y,I)=>c(y,I,p)):T.y,At(1),a?me(f):pe(()=>new mt))}(),(0,ne.z)(I=>{if(null===I)return yi(p);const P=w(I);return function Ia(c){c.sort((f,a)=>f.value.outlet===Oe?-1:a.value.outlet===Oe?1:f.value.outlet.localeCompare(a.value.outlet))}(P),(0,B.of)(P)}))}processSegment(f,a,p,y,I,P){return(0,j.D)(a).pipe((0,Lt.b)(X=>this.processSegmentAgainstRoute(X._injector??f,a,X,p,y,I,P).pipe((0,vt.K)(K=>{if(K instanceof kn)return(0,B.of)(null);throw K}))),ut(X=>!!X),(0,vt.K)(X=>{if(Cs(X))return function cu(c,f,a){return 0===f.length&&!c.children[a]}(p,y,I)?(0,B.of)([]):yi(p);throw X}))}processSegmentAgainstRoute(f,a,p,y,I,P,X){return function uu(c,f,a,p){return!!(bn(c)===p||p!==Oe&&qi(f,a,c))&&("**"===c.path||go(f,c,a).matched)}(p,y,I,P)?void 0===p.redirectTo?this.matchSegmentAgainstRoute(f,y,p,I,P,X):X&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(f,y,a,p,I,P):yi(y):yi(y)}expandSegmentAgainstRouteUsingRedirect(f,a,p,y,I,P){return"**"===y.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(f,p,y,P):this.expandRegularSegmentAgainstRouteUsingRedirect(f,a,p,y,I,P)}expandWildCardWithParamsAgainstRouteUsingRedirect(f,a,p,y){const I=this.applyRedirects.applyRedirectCommands([],p.redirectTo,{});return p.redirectTo.startsWith("/")?Oo(I):this.applyRedirects.lineralizeSegments(p,I).pipe((0,ne.z)(P=>{const X=new Ne(P,{});return this.processSegment(f,a,X,P,y,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(f,a,p,y,I,P){const{matched:X,consumedSegments:K,remainingSegments:we,positionalParamSegments:at}=go(a,y,I);if(!X)return yi(a);const Ht=this.applyRedirects.applyRedirectCommands(K,y.redirectTo,at);return y.redirectTo.startsWith("/")?Oo(Ht):this.applyRedirects.lineralizeSegments(y,Ht).pipe((0,ne.z)(St=>this.processSegment(f,p,a,St.concat(we),P,!1)))}matchSegmentAgainstRoute(f,a,p,y,I,P){let X;if("**"===p.path){const K=y.length>0?Mn(y).parameters:{},we=new it(y,K,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,E(p),bn(p),p.component??p._loadedComponent??null,p,R(p));X=(0,B.of)({snapshot:we,consumedSegments:[],remainingSegments:[]}),a.children={}}else X=po(a,p,y,f).pipe((0,Mt.U)(({matched:K,consumedSegments:we,remainingSegments:at,parameters:Ht})=>K?{snapshot:new it(we,Ht,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,E(p),bn(p),p.component??p._loadedComponent??null,p,R(p)),consumedSegments:we,remainingSegments:at}:null));return X.pipe((0,sn.w)(K=>null===K?yi(a):this.getChildConfig(f=p._injector??f,p,y).pipe((0,sn.w)(({routes:we})=>{const at=p._loadedInjector??f,{snapshot:Ht,consumedSegments:St,remainingSegments:ii}=K,{segmentGroup:Do,slicedSegments:wn}=Po(a,St,ii,we);if(0===wn.length&&Do.hasChildren())return this.processChildren(at,we,Do).pipe((0,Mt.U)(Kt=>null===Kt?null:[new Qt(Ht,Kt)]));if(0===we.length&&0===wn.length)return(0,B.of)([new Qt(Ht,[])]);const oi=bn(p)===I;return this.processSegment(at,we,Do,wn,oi?Oe:I,!0).pipe((0,Mt.U)(Kt=>[new Qt(Ht,Kt)]))}))))}getChildConfig(f,a,p){return a.children?(0,B.of)({routes:a.children,injector:f}):a.loadChildren?void 0!==a._loadedRoutes?(0,B.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function lu(c,f,a,p){const y=f.canLoad;if(void 0===y||0===y.length)return(0,B.of)(!0);const I=y.map(P=>{const X=x(P,c);return _n(function ru(c){return c&&ei(c.canLoad)}(X)?X.canLoad(f,a):c.runInContext(()=>X(f,a)))});return(0,B.of)(I).pipe(Ar(),En())}(f,a,p).pipe((0,ne.z)(y=>y?this.configLoader.loadChildren(f,a).pipe(ke(I=>{a._loadedRoutes=I.routes,a._loadedInjector=I.injector})):function ho(c){return(0,ve._)(Gn(!1,3))}())):(0,B.of)({routes:[],injector:f})}}function d(c){const f=c.value.routeConfig;return f&&""===f.path}function w(c){const f=[],a=new Set;for(const p of c){if(!d(p)){f.push(p);continue}const y=f.find(I=>p.value.routeConfig===I.value.routeConfig);void 0!==y?(y.children.push(...p.children),a.add(y)):f.push(p)}for(const p of a){const y=w(p.children);f.push(new Qt(p.value,y))}return f.filter(p=>!a.has(p))}function E(c){return c.data||{}}function R(c){return c.resolve||{}}function gt(c){return"string"==typeof c.title||null===c.title}function en(c){return(0,sn.w)(f=>{const a=c(f);return a?(0,j.D)(a).pipe((0,Mt.U)(()=>f)):(0,B.of)(f)})}const It=new l.OlP("ROUTES");let hn=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,l.f3M)(l.Sil)}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,B.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const p=_n(a.loadComponent()).pipe((0,Mt.U)(Di),ke(I=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=I}),(0,Vt.x)(()=>{this.componentLoaders.delete(a)})),y=new He(p,()=>new Qe.x).pipe(Gt());return this.componentLoaders.set(a,y),y}loadChildren(a,p){if(this.childrenLoaders.get(p))return this.childrenLoaders.get(p);if(p._loadedRoutes)return(0,B.of)({routes:p._loadedRoutes,injector:p._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(p);const I=function Tr(c,f,a,p){return _n(c.loadChildren()).pipe((0,Mt.U)(Di),(0,ne.z)(y=>y instanceof l.YKP||Array.isArray(y)?(0,B.of)(y):(0,j.D)(f.compileModuleAsync(y))),(0,Mt.U)(y=>{p&&p(c);let I,P,X=!1;return Array.isArray(y)?(P=y,!0):(I=y.create(a).injector,P=I.get(It,[],{optional:!0,self:!0}).flat()),{routes:P.map($r),injector:I}}))}(p,this.compiler,a,this.onLoadEndListener).pipe((0,Vt.x)(()=>{this.childrenLoaders.delete(p)})),P=new He(I,()=>new Qe.x).pipe(Gt());return this.childrenLoaders.set(p,P),P}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Di(c){return function Or(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let Vn=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Qe.x,this.transitionAbortSubject=new Qe.x,this.configLoader=(0,l.f3M)(hn),this.environmentInjector=(0,l.f3M)(l.lqb),this.urlSerializer=(0,l.f3M)(rr),this.rootContexts=(0,l.f3M)(dt),this.inputBindingEnabled=null!==(0,l.f3M)(sr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,B.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=y=>this.events.next(new ao(y)),this.configLoader.onLoadStartListener=y=>this.events.next(new Pi(y))}complete(){this.transitions?.complete()}handleNavigationRequest(a){const p=++this.navigationId;this.transitions?.next({...this.transitions.value,...a,id:p})}setupNavigations(a,p,y){return this.transitions=new G.X({id:0,currentUrlTree:p,currentRawUrl:p,currentBrowserUrl:p,extractedUrl:a.urlHandlingStrategy.extract(p),urlAfterRedirects:a.urlHandlingStrategy.extract(p),rawUrl:p,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Zr,restoredState:null,currentSnapshot:y.snapshot,targetSnapshot:null,currentRouterState:y,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,re.h)(I=>0!==I.id),(0,Mt.U)(I=>({...I,extractedUrl:a.urlHandlingStrategy.extract(I.rawUrl)})),(0,sn.w)(I=>{this.currentTransition=I;let P=!1,X=!1;return(0,B.of)(I).pipe(ke(K=>{this.currentNavigation={id:K.id,initialUrl:K.rawUrl,extractedUrl:K.extractedUrl,trigger:K.source,extras:K.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,sn.w)(K=>{const we=K.currentBrowserUrl.toString(),at=!a.navigated||K.extractedUrl.toString()!==we||we!==K.currentUrlTree.toString();if(!at&&"reload"!==(K.extras.onSameUrlNavigation??a.onSameUrlNavigation)){const St="";return this.events.next(new hr(K.id,this.urlSerializer.serialize(K.rawUrl),St,0)),K.resolve(null),Ze.E}if(a.urlHandlingStrategy.shouldProcessUrl(K.rawUrl))return(0,B.of)(K).pipe((0,sn.w)(St=>{const ii=this.transitions?.getValue();return this.events.next(new ci(St.id,this.urlSerializer.serialize(St.extractedUrl),St.source,St.restoredState)),ii!==this.transitions?.getValue()?Ze.E:Promise.resolve(St)}),function te(c,f,a,p,y,I){return(0,ne.z)(P=>function du(c,f,a,p,y,I,P="emptyOnly"){return new Ji(c,f,a,p,y,P,I).recognize()}(c,f,a,p,P.extractedUrl,y,I).pipe((0,Mt.U)(({state:X,tree:K})=>({...P,targetSnapshot:X,urlAfterRedirects:K}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,a.config,this.urlSerializer,a.paramsInheritanceStrategy),ke(St=>{I.targetSnapshot=St.targetSnapshot,I.urlAfterRedirects=St.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:St.urlAfterRedirects};const ii=new Jr(St.id,this.urlSerializer.serialize(St.extractedUrl),this.urlSerializer.serialize(St.urlAfterRedirects),St.targetSnapshot);this.events.next(ii)}));if(at&&a.urlHandlingStrategy.shouldProcessUrl(K.currentRawUrl)){const{id:St,extractedUrl:ii,source:Do,restoredState:wn,extras:oi}=K,Kt=new ci(St,this.urlSerializer.serialize(ii),Do,wn);this.events.next(Kt);const Mu=Mr(0,this.rootComponentType).snapshot;return this.currentTransition=I={...K,targetSnapshot:Mu,urlAfterRedirects:ii,extras:{...oi,skipLocationChange:!1,replaceUrl:!1}},(0,B.of)(I)}{const St="";return this.events.next(new hr(K.id,this.urlSerializer.serialize(K.extractedUrl),St,1)),K.resolve(null),Ze.E}}),ke(K=>{const we=new oo(K.id,this.urlSerializer.serialize(K.extractedUrl),this.urlSerializer.serialize(K.urlAfterRedirects),K.targetSnapshot);this.events.next(we)}),(0,Mt.U)(K=>(this.currentTransition=I={...K,guards:g(K.targetSnapshot,K.currentSnapshot,this.rootContexts)},I)),function Es(c,f){return(0,ne.z)(a=>{const{targetSnapshot:p,currentSnapshot:y,guards:{canActivateChecks:I,canDeactivateChecks:P}}=a;return 0===P.length&&0===I.length?(0,B.of)({...a,guardsResult:!0}):function ws(c,f,a,p){return(0,j.D)(c).pipe((0,ne.z)(y=>function Is(c,f,a,p,y){const I=f&&f.routeConfig?f.routeConfig.canDeactivate:null;if(!I||0===I.length)return(0,B.of)(!0);const P=I.map(X=>{const K=Fi(f)??y,we=x(X,K);return _n(function ou(c){return c&&ei(c.canDeactivate)}(we)?we.canDeactivate(c,f,a,p):K.runInContext(()=>we(c,f,a,p))).pipe(ut())});return(0,B.of)(P).pipe(Ar())}(y.component,y.route,a,f,p)),ut(y=>!0!==y,!0))}(P,p,y,c).pipe((0,ne.z)(X=>X&&function nu(c){return"boolean"==typeof c}(X)?function Ms(c,f,a,p){return(0,j.D)(f).pipe((0,Lt.b)(y=>Ce(function au(c,f){return null!==c&&f&&f(new di(c)),(0,B.of)(!0)}(y.route.parent,p),function Ss(c,f){return null!==c&&f&&f(new lo(c)),(0,B.of)(!0)}(y.route,p),function Br(c,f,a){const p=f[f.length-1],I=f.slice(0,f.length-1).reverse().map(P=>function b(c){const f=c.routeConfig?c.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:c,guards:f}:null}(P)).filter(P=>null!==P).map(P=>Ee(()=>{const X=P.guards.map(K=>{const we=Fi(P.node)??a,at=x(K,we);return _n(function iu(c){return c&&ei(c.canActivateChild)}(at)?at.canActivateChild(p,c):we.runInContext(()=>at(p,c))).pipe(ut())});return(0,B.of)(X).pipe(Ar())}));return(0,B.of)(I).pipe(Ar())}(c,y.path,a),function vi(c,f,a){const p=f.routeConfig?f.routeConfig.canActivate:null;if(!p||0===p.length)return(0,B.of)(!0);const y=p.map(I=>Ee(()=>{const P=Fi(f)??a,X=x(I,P);return _n(function wa(c){return c&&ei(c.canActivate)}(X)?X.canActivate(f,c):P.runInContext(()=>X(f,c))).pipe(ut())}));return(0,B.of)(y).pipe(Ar())}(c,y.route,a))),ut(y=>!0!==y,!0))}(p,I,c,f):(0,B.of)(X)),(0,Mt.U)(X=>({...a,guardsResult:X})))})}(this.environmentInjector,K=>this.events.next(K)),ke(K=>{if(I.guardsResult=K.guardsResult,an(K.guardsResult))throw gr(0,K.guardsResult);const we=new Ao(K.id,this.urlSerializer.serialize(K.extractedUrl),this.urlSerializer.serialize(K.urlAfterRedirects),K.targetSnapshot,!!K.guardsResult);this.events.next(we)}),(0,re.h)(K=>!!K.guardsResult||(this.cancelNavigationTransition(K,"",3),!1)),en(K=>{if(K.guards.canActivateChecks.length)return(0,B.of)(K).pipe(ke(we=>{const at=new Oi(we.id,this.urlSerializer.serialize(we.extractedUrl),this.urlSerializer.serialize(we.urlAfterRedirects),we.targetSnapshot);this.events.next(at)}),(0,sn.w)(we=>{let at=!1;return(0,B.of)(we).pipe(function ce(c,f){return(0,ne.z)(a=>{const{targetSnapshot:p,guards:{canActivateChecks:y}}=a;if(!y.length)return(0,B.of)(a);let I=0;return(0,j.D)(y).pipe((0,Lt.b)(P=>function Ge(c,f,a,p){const y=c.routeConfig,I=c._resolve;return void 0!==y?.title&&!gt(y)&&(I[yt]=y.title),function $t(c,f,a,p){const y=function Bt(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}(c);if(0===y.length)return(0,B.of)({});const I={};return(0,j.D)(y).pipe((0,ne.z)(P=>function Pt(c,f,a,p){const y=Fi(f)??p,I=x(c,y);return _n(I.resolve?I.resolve(f,a):y.runInContext(()=>I(f,a)))}(c[P],f,a,p).pipe(ut(),ke(X=>{I[P]=X}))),At(1),function W(c){return(0,Mt.U)(()=>c)}(I),(0,vt.K)(P=>Cs(P)?Ze.E:(0,ve._)(P)))}(I,c,f,p).pipe((0,Mt.U)(P=>(c._resolvedData=P,c.data=jt(c,a).resolve,y&>(y)&&(c.data[yt]=y.title),null)))}(P.route,p,c,f)),ke(()=>I++),At(1),(0,ne.z)(P=>I===y.length?(0,B.of)(a):Ze.E))})}(a.paramsInheritanceStrategy,this.environmentInjector),ke({next:()=>at=!0,complete:()=>{at||this.cancelNavigationTransition(we,"",2)}}))}),ke(we=>{const at=new so(we.id,this.urlSerializer.serialize(we.extractedUrl),this.urlSerializer.serialize(we.urlAfterRedirects),we.targetSnapshot);this.events.next(at)}))}),en(K=>{const we=at=>{const Ht=[];at.routeConfig?.loadComponent&&!at.routeConfig._loadedComponent&&Ht.push(this.configLoader.loadComponent(at.routeConfig).pipe(ke(St=>{at.component=St}),(0,Mt.U)(()=>{})));for(const St of at.children)Ht.push(...we(St));return Ht};return Ve(we(K.targetSnapshot.root)).pipe(me(),(0,Q.q)(1))}),en(()=>this.afterPreactivation()),(0,Mt.U)(K=>{const we=function gi(c,f,a){const p=Lr(c,f._root,a?a._root:void 0);return new Xr(p,f)}(a.routeReuseStrategy,K.targetSnapshot,K.currentRouterState);return this.currentTransition=I={...K,targetRouterState:we},I}),ke(()=>{this.events.next(new Fr)}),((c,f,a,p)=>(0,Mt.U)(y=>(new Li(f,y.targetRouterState,y.currentRouterState,a,p).activate(c),y)))(this.rootContexts,a.routeReuseStrategy,K=>this.events.next(K),this.inputBindingEnabled),(0,Q.q)(1),ke({next:K=>{P=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new un(K.id,this.urlSerializer.serialize(K.extractedUrl),this.urlSerializer.serialize(K.urlAfterRedirects))),a.titleStrategy?.updateTitle(K.targetRouterState.snapshot),K.resolve(!0)},complete:()=>{P=!0}}),function Me(c){return(0,_e.e)((f,a)=>{(0,$e.Xf)(c).subscribe((0,xe.x)(a,()=>a.complete(),ye.Z)),!a.closed&&f.subscribe(a)})}(this.transitionAbortSubject.pipe(ke(K=>{throw K}))),(0,Vt.x)(()=>{P||X||this.cancelNavigationTransition(I,"",1),this.currentNavigation?.id===I.id&&(this.currentNavigation=null)}),(0,vt.K)(K=>{if(X=!0,Ur(K))this.events.next(new dn(I.id,this.urlSerializer.serialize(I.extractedUrl),K.message,K.cancellationCode)),function Vr(c){return Ur(c)&&an(c.url)}(K)?this.events.next(new hi(K.url)):I.resolve(!1);else{this.events.next(new qr(I.id,this.urlSerializer.serialize(I.extractedUrl),K,I.targetSnapshot??void 0));try{I.resolve(a.errorHandler(K))}catch(we){I.reject(we)}}return Ze.E}))}))}cancelNavigationTransition(a,p,y){const I=new dn(a.id,this.urlSerializer.serialize(a.extractedUrl),p,y);this.events.next(I),a.resolve(!1)}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function yr(c){return c!==Zr}let Pr=(()=>{class c{buildTitle(a){let p,y=a.root;for(;void 0!==y;)p=this.getResolvedTitleForRoute(y)??p,y=y.children.find(I=>I.outlet===Oe);return p}getResolvedTitleForRoute(a){return a.data[yt]}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return(0,l.f3M)(_i)},providedIn:"root"})}return c})(),_i=(()=>{class c extends Pr{constructor(a){super(),this.title=a}updateTitle(a){const p=this.buildTitle(a);void 0!==p&&this.title.setTitle(p)}static#e=this.\u0275fac=function(p){return new(p||c)(l.LFG(he.Dx))};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),fu=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return(0,l.f3M)(Aa)},providedIn:"root"})}return c})();class ba{shouldDetach(f){return!1}store(f,a){}shouldAttach(f){return!1}retrieve(f){return null}shouldReuseRoute(f,a){return f.routeConfig===a.routeConfig}}let Aa=(()=>{class c extends ba{static#e=this.\u0275fac=function(){let a;return function(y){return(a||(a=l.n5z(c)))(y||c)}}();static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const No=new l.OlP("",{providedIn:"root",factory:()=>({})});let Os=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return(0,l.f3M)(hu)},providedIn:"root"})}return c})(),hu=(()=>{class c{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,p){return a}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var Xn=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(Xn||{});function Ps(c,f){c.events.pipe((0,re.h)(a=>a instanceof un||a instanceof dn||a instanceof qr||a instanceof hr),(0,Mt.U)(a=>a instanceof un||a instanceof hr?Xn.COMPLETE:a instanceof dn&&(0===a.code||1===a.code)?Xn.REDIRECTING:Xn.FAILED),(0,re.h)(a=>a!==Xn.REDIRECTING),(0,Q.q)(1)).subscribe(()=>{f()})}function Ta(c){throw c}function Jt(c,f,a){return f.parse("/")}const Ns={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ro={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Xt=(()=>{class c{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,l.f3M)(l.c2e),this.isNgZoneEnabled=!1,this._events=new Qe.x,this.options=(0,l.f3M)(No,{optional:!0})||{},this.pendingTasks=(0,l.f3M)(l.HDt),this.errorHandler=this.options.errorHandler||Ta,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Jt,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,l.f3M)(Os),this.routeReuseStrategy=(0,l.f3M)(fu),this.titleStrategy=(0,l.f3M)(Pr),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,l.f3M)(It,{optional:!0})?.flat()??[],this.navigationTransitions=(0,l.f3M)(Vn),this.urlSerializer=(0,l.f3M)(rr),this.location=(0,l.f3M)(zt.Ye),this.componentInputBindingEnabled=!!(0,l.f3M)(sr,{optional:!0}),this.eventsSubscription=new Ye.w0,this.isNgZoneEnabled=(0,l.f3M)(l.R0b)instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new tn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Mr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(a=>{this.lastSuccessfulId=a.id,this.currentPageId=this.browserPageId},a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const a=this.navigationTransitions.events.subscribe(p=>{try{const{currentTransition:y}=this.navigationTransitions;if(null===y)return void(Rs(p)&&this._events.next(p));if(p instanceof ci)yr(y.source)&&(this.browserUrlTree=y.extractedUrl);else if(p instanceof hr)this.rawUrlTree=y.rawUrl;else if(p instanceof Jr){if("eager"===this.urlUpdateStrategy){if(!y.extras.skipLocationChange){const I=this.urlHandlingStrategy.merge(y.urlAfterRedirects,y.rawUrl);this.setBrowserUrl(I,y)}this.browserUrlTree=y.urlAfterRedirects}}else if(p instanceof Fr)this.currentUrlTree=y.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(y.urlAfterRedirects,y.rawUrl),this.routerState=y.targetRouterState,"deferred"===this.urlUpdateStrategy&&(y.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,y),this.browserUrlTree=y.urlAfterRedirects);else if(p instanceof dn)0!==p.code&&1!==p.code&&(this.navigated=!0),(3===p.code||2===p.code)&&this.restoreHistory(y);else if(p instanceof hi){const I=this.urlHandlingStrategy.merge(p.url,y.currentRawUrl),P={skipLocationChange:y.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yr(y.source)};this.scheduleNavigation(I,Zr,null,P,{resolve:y.resolve,reject:y.reject,promise:y.promise})}p instanceof qr&&this.restoreHistory(y,!0),p instanceof un&&(this.navigated=!0),Rs(p)&&this._events.next(p)}catch(y){this.navigationTransitions.transitionAbortSubject.next(y)}});this.eventsSubscription.add(a)}resetRootComponentType(a){this.routerState.root.component=a,this.navigationTransitions.rootComponentType=a}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const a=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Zr,a)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(a=>{const p="popstate"===a.type?"popstate":"hashchange";"popstate"===p&&setTimeout(()=>{this.navigateToSyncWithBrowser(a.url,p,a.state)},0)}))}navigateToSyncWithBrowser(a,p,y){const I={replaceUrl:!0},P=y?.navigationId?y:null;if(y){const K={...y};delete K.navigationId,delete K.\u0275routerPageId,0!==Object.keys(K).length&&(I.state=K)}const X=this.parseUrl(a);this.scheduleNavigation(X,p,P,I)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(a){this.config=a.map($r),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,this.eventsSubscription.unsubscribe()}createUrlTree(a,p={}){const{relativeTo:y,queryParams:I,fragment:P,queryParamsHandling:X,preserveFragment:K}=p,we=K?this.currentUrlTree.fragment:P;let Ht,at=null;switch(X){case"merge":at={...this.currentUrlTree.queryParams,...I};break;case"preserve":at=this.currentUrlTree.queryParams;break;default:at=I||null}null!==at&&(at=this.removeEmptyProps(at));try{Ht=Hn(y?y.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof a[0]||!a[0].startsWith("/"))&&(a=[]),Ht=this.currentUrlTree.root}return pn(Ht,a,at,we??null)}navigateByUrl(a,p={skipLocationChange:!1}){const y=an(a)?a:this.parseUrl(a),I=this.urlHandlingStrategy.merge(y,this.rawUrlTree);return this.scheduleNavigation(I,Zr,null,p)}navigate(a,p={skipLocationChange:!1}){return function pu(c){for(let f=0;f{const I=a[y];return null!=I&&(p[y]=I),p},{})}scheduleNavigation(a,p,y,I,P){if(this.disposed)return Promise.resolve(!1);let X,K,we;P?(X=P.resolve,K=P.reject,we=P.promise):we=new Promise((Ht,St)=>{X=Ht,K=St});const at=this.pendingTasks.add();return Ps(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(at))}),this.navigationTransitions.handleNavigationRequest({source:p,restoredState:y,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:a,extras:I,resolve:X,reject:K,promise:we,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),we.catch(Ht=>Promise.reject(Ht))}setBrowserUrl(a,p){const y=this.urlSerializer.serialize(a);if(this.location.isCurrentPathEqualTo(y)||p.extras.replaceUrl){const P={...p.extras.state,...this.generateNgRouterState(p.id,this.browserPageId)};this.location.replaceState(y,"",P)}else{const I={...p.extras.state,...this.generateNgRouterState(p.id,this.browserPageId+1)};this.location.go(y,"",I)}}restoreHistory(a,p=!1){if("computed"===this.canceledNavigationResolution){const I=this.currentPageId-this.browserPageId;0!==I?this.location.historyGo(I):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===I&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(p&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(a,p){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:p}:{navigationId:a}}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Rs(c){return!(c instanceof Fr||c instanceof hi)}let ti=(()=>{class c{constructor(a,p,y,I,P,X){this.router=a,this.route=p,this.tabIndexAttribute=y,this.renderer=I,this.el=P,this.locationStrategy=X,this.href=null,this.commands=null,this.onChanges=new Qe.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const K=P.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===K||"area"===K,this.isAnchorElement?this.subscription=a.events.subscribe(we=>{we instanceof un&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(a){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",a)}ngOnChanges(a){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(a){null!=a?(this.commands=Array.isArray(a)?a:[a],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(a,p,y,I,P){return!!(null===this.urlTree||this.isAnchorElement&&(0!==a||p||y||I||P||"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 a=null===this.href?null:(0,l.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",a)}applyAttributeValue(a,p){const y=this.renderer,I=this.el.nativeElement;null!==p?y.setAttribute(I,a,p):y.removeAttribute(I,a)}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})}static#e=this.\u0275fac=function(p){return new(p||c)(l.Y36(Xt),l.Y36(Sr),l.$8M("tabindex"),l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(zt.S$))};static#t=this.\u0275dir=l.lG2({type:c,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(p,y){1&p&&l.NdJ("click",function(P){return y.onClick(P.button,P.ctrlKey,P.shiftKey,P.altKey,P.metaKey)}),2&p&&l.uIk("target",y.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",l.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",l.VuI],replaceUrl:["replaceUrl","replaceUrl",l.VuI],routerLink:"routerLink"},standalone:!0,features:[l.Xq5,l.TTD]})}return c})(),Qn=(()=>{class c{get isActive(){return this._isActive}constructor(a,p,y,I,P){this.router=a,this.element=p,this.renderer=y,this.cdr=I,this.link=P,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new l.vpe,this.routerEventsSubscription=a.events.subscribe(X=>{X instanceof un&&this.update()})}ngAfterContentInit(){(0,B.of)(this.links.changes,(0,B.of)(null)).pipe((0,Xe.J)()).subscribe(a=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const a=[...this.links.toArray(),this.link].filter(p=>!!p).map(p=>p.onChanges);this.linkInputChangesSubscription=(0,j.D)(a).pipe((0,Xe.J)()).subscribe(p=>{this._isActive!==this.isLinkActive(this.router)(p)&&this.update()})}set routerLinkActive(a){const p=Array.isArray(a)?a:a.split(" ");this.classes=p.filter(y=>!!y)}ngOnChanges(a){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const a=this.hasActiveLinks();this._isActive!==a&&(this._isActive=a,this.cdr.markForCheck(),this.classes.forEach(p=>{a?this.renderer.addClass(this.element.nativeElement,p):this.renderer.removeClass(this.element.nativeElement,p)}),a&&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(a))})}isLinkActive(a){const p=function gu(c){return!!c.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return y=>!!y.urlTree&&a.isActive(y.urlTree,p)}hasActiveLinks(){const a=this.isLinkActive(this.router);return this.link&&a(this.link)||this.links.some(a)}static#e=this.\u0275fac=function(p){return new(p||c)(l.Y36(Xt),l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(l.sBO),l.Y36(ti,8))};static#t=this.\u0275dir=l.lG2({type:c,selectors:[["","routerLinkActive",""]],contentQueries:function(p,y,I){if(1&p&&l.Suo(I,ti,5),2&p){let P;l.iGM(P=l.CRH())&&(y.links=P)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[l.TTD]})}return c})();class Oa{}let Pa=(()=>{class c{constructor(a,p,y,I,P){this.router=a,this.injector=y,this.preloadingStrategy=I,this.loader=P}setUpPreloading(){this.subscription=this.router.events.pipe((0,re.h)(a=>a instanceof un),(0,Lt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,p){const y=[];for(const I of p){I.providers&&!I._injector&&(I._injector=(0,l.MMx)(I.providers,a,`Route: ${I.path}`));const P=I._injector??a,X=I._loadedInjector??P;(I.loadChildren&&!I._loadedRoutes&&void 0===I.canLoad||I.loadComponent&&!I._loadedComponent)&&y.push(this.preloadConfig(P,I)),(I.children||I._loadedRoutes)&&y.push(this.processRoutes(X,I.children??I._loadedRoutes))}return(0,j.D)(y).pipe((0,Xe.J)())}preloadConfig(a,p){return this.preloadingStrategy.preload(p,()=>{let y;y=p.loadChildren&&void 0===p.canLoad?this.loader.loadChildren(a,p):(0,B.of)(null);const I=y.pipe((0,ne.z)(P=>null===P?(0,B.of)(void 0):(p._loadedRoutes=P.routes,p._loadedInjector=P.injector,this.processRoutes(P.injector??a,P.routes))));if(p.loadComponent&&!p._loadedComponent){const P=this.loader.loadComponent(p);return(0,j.D)([I,P]).pipe((0,Xe.J)())}return I})}static#e=this.\u0275fac=function(p){return new(p||c)(l.LFG(Xt),l.LFG(l.Sil),l.LFG(l.lqb),l.LFG(Oa),l.LFG(hn))};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const xs=new l.OlP("");let Fs=(()=>{class c{constructor(a,p,y,I,P={}){this.urlSerializer=a,this.transitions=p,this.viewportScroller=y,this.zone=I,this.options=P,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},P.scrollPositionRestoration=P.scrollPositionRestoration||"disabled",P.anchorScrolling=P.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(a=>{a instanceof ci?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof un?(this.lastId=a.id,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.urlAfterRedirects).fragment)):a instanceof hr&&0===a.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof fi&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,p){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new fi(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,p))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(p){l.$Z()};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac})}return c})();function ni(c,f){return{\u0275kind:c,\u0275providers:f}}function Na(){const c=(0,l.f3M)(l.zs3);return f=>{const a=c.get(l.z2F);if(f!==a.components[0])return;const p=c.get(Xt),y=c.get(Ra);1===c.get(xo)&&p.initialNavigation(),c.get(xa,null,l.XFs.Optional)?.setUpPreloading(),c.get(xs,null,l.XFs.Optional)?.init(),p.resetRootComponentType(a.componentTypes[0]),y.closed||(y.next(),y.complete(),y.unsubscribe())}}const Ra=new l.OlP("",{factory:()=>new Qe.x}),xo=new l.OlP("",{providedIn:"root",factory:()=>1}),xa=new l.OlP("");function Du(c){return ni(0,[{provide:xa,useExisting:Pa},{provide:Oa,useExisting:c}])}const Tn=new l.OlP("ROUTER_FORROOT_GUARD"),La=[zt.Ye,{provide:rr,useClass:cr},Xt,dt,{provide:Sr,useFactory:function Ls(c){return c.routerState.root},deps:[Xt]},hn,[]];function vo(){return new l.PXZ("Router",Xt)}let jr=(()=>{class c{constructor(a){}static forRoot(a,p){return{ngModule:c,providers:[La,[],{provide:It,multi:!0,useValue:a},{provide:Tn,useFactory:tf,deps:[[Xt,new l.FiY,new l.tp0]]},{provide:No,useValue:p||{}},p?.useHash?{provide:zt.S$,useClass:zt.Do}:{provide:zt.S$,useClass:zt.b0},{provide:xs,useFactory:()=>{const c=(0,l.f3M)(zt.EM),f=(0,l.f3M)(l.R0b),a=(0,l.f3M)(No),p=(0,l.f3M)(Vn),y=(0,l.f3M)(rr);return a.scrollOffset&&c.setOffset(a.scrollOffset),new Fs(y,p,c,f,a)}},p?.preloadingStrategy?Du(p.preloadingStrategy).\u0275providers:[],{provide:l.PXZ,multi:!0,useFactory:vo},p?.initialNavigation?ka(p):[],p?.bindToComponentInputs?ni(8,[nt,{provide:sr,useExisting:nt}]).\u0275providers:[],[{provide:Un,useFactory:Na},{provide:l.tb,multi:!0,useExisting:Un}]]}}static forChild(a){return{ngModule:c,providers:[{provide:It,multi:!0,useValue:a}]}}static#e=this.\u0275fac=function(p){return new(p||c)(l.LFG(Tn,8))};static#t=this.\u0275mod=l.oAB({type:c});static#n=this.\u0275inj=l.cJS({})}return c})();function tf(c){return"guarded"}function ka(c){return["disabled"===c.initialNavigation?ni(3,[{provide:l.ip1,multi:!0,useFactory:()=>{const f=(0,l.f3M)(Xt);return()=>{f.setUpLocationChangeListener()}}},{provide:xo,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?ni(2,[{provide:xo,useValue:0},{provide:l.ip1,multi:!0,deps:[l.zs3],useFactory:f=>{const a=f.get(zt.V_,Promise.resolve());return()=>a.then(()=>new Promise(p=>{const y=f.get(Xt),I=f.get(Ra);Ps(y,()=>{p(!0)}),f.get(Vn).afterPreactivation=()=>(p(!0),I.closed?(0,B.of)(void 0):I),y.initialNavigation()}))}}]).\u0275providers:[]]}const Un=new l.OlP("")},7582:(Ue,oe,S)=>{function ue(Q,q,re,ne){return new(re||(re=Promise))(function(pe,qe){function ut(vt){try{ke(ne.next(vt))}catch(kt){qe(kt)}}function Lt(vt){try{ke(ne.throw(vt))}catch(kt){qe(kt)}}function ke(vt){vt.done?pe(vt.value):function me(pe){return pe instanceof re?pe:new re(function(qe){qe(pe)})}(vt.value).then(ut,Lt)}ke((ne=ne.apply(Q,q||[])).next())})}function Ie(Q){return this instanceof Ie?(this.v=Q,this):new Ie(Q)}function Ce(Q,q,re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,ne=re.apply(Q,q||[]),pe=[];return me={},qe("next"),qe("throw"),qe("return"),me[Symbol.asyncIterator]=function(){return this},me;function qe(rt){ne[rt]&&(me[rt]=function(At){return new Promise(function(Nt,W){pe.push([rt,At,Nt,W])>1||ut(rt,At)})})}function ut(rt,At){try{!function Lt(rt){rt.value instanceof Ie?Promise.resolve(rt.value.v).then(ke,vt):kt(pe[0][2],rt)}(ne[rt](At))}catch(Nt){kt(pe[0][3],Nt)}}function ke(rt){ut("next",rt)}function vt(rt){ut("throw",rt)}function kt(rt,At){rt(At),pe.shift(),pe.length&&ut(pe[0][0],pe[0][1])}}function Ee(Q){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var re,q=Q[Symbol.asyncIterator];return q?q.call(Q):(Q=function ht(Q){var q="function"==typeof Symbol&&Symbol.iterator,re=q&&Q[q],ne=0;if(re)return re.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&ne>=Q.length&&(Q=void 0),{value:Q&&Q[ne++],done:!Q}}};throw new TypeError(q?"Object is not iterable.":"Symbol.iterator is not defined.")}(Q),re={},ne("next"),ne("throw"),ne("return"),re[Symbol.asyncIterator]=function(){return this},re);function ne(pe){re[pe]=Q[pe]&&function(qe){return new Promise(function(ut,Lt){!function me(pe,qe,ut,Lt){Promise.resolve(Lt).then(function(ke){pe({value:ke,done:ut})},qe)}(ut,Lt,(qe=Q[pe](qe)).done,qe.value)})}}}S.d(oe,{FC:()=>Ce,KL:()=>Ee,mG:()=>ue,qq:()=>Ie}),"function"==typeof SuppressedError&&SuppressedError}},Ue=>{Ue(Ue.s=2320)}]); \ No newline at end of file diff --git a/cmd/edgex-ui-server/static/web/en-US/main.92b1e211fff9272b.js b/cmd/edgex-ui-server/static/web/en-US/main.92b1e211fff9272b.js deleted file mode 100644 index dfb444b9..00000000 --- a/cmd/edgex-ui-server/static/web/en-US/main.92b1e211fff9272b.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.$localize=Object.assign(globalThis.$localize || {},{locale:"en-US"}); -"use strict";(function(global){global.ng=global.ng||{};global.ng.common=global.ng.common||{};global.ng.common.locales=global.ng.common.locales||{};const u=undefined;function plural(val){const n=val,i=Math.floor(Math.abs(val)),v=val.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en"]=["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["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"]],u,[["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"]],u,[["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}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(typeof globalThis!=="undefined"&&globalThis||typeof global!=="undefined"&&global||typeof window!=="undefined"&&window);; -"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([[179],{2560:(Ue,oe,S)=>{S.d(oe,{a:()=>Z});var l=S(6689),v=S(9919),ee=S(2333);let Z=(()=>{class j{constructor(G,A){this.router=G,this.authSvc=A}canActivate(G,A){return this.checkLogin(A.url)}canActivateChild(G,A){return this.canActivate(G,A)}canLoad(G){return this.checkLogin(`/${G.path}`)}checkLogin(G){return!!(!this.authSvc.isSecureMode||this.authSvc.isLoggedIn&&this.authSvc.isRegistryLoggedIn)||this.router.parseUrl("/login")}static#e=this.\u0275fac=function(A){return new(A||j)(l.LFG(v.F0),l.LFG(ee.e))};static#t=this.\u0275prov=l.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},3685:(Ue,oe,S)=>{S.d(oe,{e:()=>ee});var l=S(6689);let ee=(()=>{class Z{constructor(){this.messages=[]}success(B="operation",G){this.messages.push({class:"alert alert-success shadow rounded alert-dismissible fade show",content:`${B} success! ${G||""}`})}errors(B){this.messages.push({class:"alert alert-danger shadow rounded alert-dismissible fade show",content:B})}clear(){this.messages.shift()}static#e=this.\u0275fac=function(G){return new(G||Z)};static#t=this.\u0275prov=l.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})()},2333:(Ue,oe,S)=>{S.d(oe,{e:()=>Z});var l=S(6689),v=S(9862),ee=S(8027);let Z=(()=>{class j{constructor(G,A){this.http=G,this.errorSvc=A,this.accessToken=null,this.registryToken=null,this.isLoggedIn=!1,this.isRegistryLoggedIn=!1,this.redirectUrl=null,this.isSecureMode=!1}tokenValidate(G){return console.debug("testing : "+G),this.http.get(G)}setAccessToken(G){this.accessToken=G,window.sessionStorage.setItem("EdgeX_Access_Token",this.accessToken)}setRegistryToken(G){this.registryToken=G,window.sessionStorage.setItem("EdgeX_Registry_Token",this.registryToken)}getAccessToken(){if(this.accessToken)return this.accessToken;let G=window.sessionStorage.getItem("EdgeX_Access_Token");return G&&(this.accessToken=G),this.accessToken}getRegistryAccessToken(){if(this.registryToken)return this.registryToken;let G=window.sessionStorage.getItem("EdgeX_Registry_Token");return G&&(this.registryToken=G),this.registryToken}static#e=this.\u0275fac=function(A){return new(A||j)(l.LFG(v.eN),l.LFG(ee.T))};static#t=this.\u0275prov=l.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},2848:(Ue,oe,S)=>{S.d(oe,{D:()=>j});var l=S(6306),v=S(6689),ee=S(9862),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/core-data",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.endpointHealthUrl=`${this.urlPrefix}/ping`,this.eventCountUrl=`${this.urlPrefix}/event/count`,this.readingCountUrl=`${this.urlPrefix}/reading/count`,this.allEventsUrl=`${this.urlPrefix}/event/all`,this.allReadingsUrl=`${this.urlPrefix}/reading/all`,this.associatedEventsByDeviceNameUrl=`${this.urlPrefix}/event/device/name/`,this.associatedReadinsByDeviceNameUrl=`${this.urlPrefix}/reading/device/name/`}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}endpointHealth(){return this.http.get(`${this.endpointHealthUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}eventCount(){return this.http.get(`${this.eventCountUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}readingCount(){return this.http.get(`${this.readingCountUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}allEventsPagination(A,T){return this.http.get(`${this.allEventsUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}allReadingsPagination(A,T){return this.http.get(`${this.allReadingsUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}allAssocaitedReadingsByDeviceNamePagination(A,T){return this.http.get(`${this.associatedEventsByDeviceNameUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}allAssocaitedEventsByDeviceNamePagination(A,T){return this.http.get(`${this.associatedReadinsByDeviceNameUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}static#e=this.\u0275fac=function(T){return new(T||B)(v.LFG(ee.eN),v.LFG(Z.T))};static#t=this.\u0275prov=v.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},8027:(Ue,oe,S)=>{S.d(oe,{T:()=>Z});var l=S(8504),v=S(6689),ee=S(3685);let Z=(()=>{class j{constructor(G){this.msgSvc=G}handleErrorForAPI(G){let A=Object.prototype.toString.call(G);if("[object Array]"===A){if(!G[0].statusCode.toString().startsWith("20"))return this.msgSvc.errors(`code: ${G[0].statusCode}, message: ${G[0].message}`),!0}else if("[object Object]"===A&&!G.statusCode.toString().startsWith("20"))return this.msgSvc.errors(`code: ${G.statusCode}, message: ${G.message}`),!0;return!1}handleError(G){return G.error instanceof ErrorEvent?this.msgSvc.errors(`'An error occurred:', ${G.error.message}`):"[object Object]"===Object.prototype.toString.call(G.error)?this.msgSvc.errors(`code: ${G.error.statusCode} , message: ${G.error.message}`):"[object String]"===Object.prototype.toString.call(G.error)?this.msgSvc.errors(`code: ${G.status} , message: ${G.error}`):this.msgSvc.errors(`code: ${G.status} , message: ${G.message}`),(0,l._)(`Backend returned code ${G.status}, body was: ${G.error.message}`)}static#e=this.\u0275fac=function(A){return new(A||j)(v.LFG(ee.e))};static#t=this.\u0275prov=v.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},5167:(Ue,oe,S)=>{S.d(oe,{D:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/core-metadata",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.devicesListUrl=`${this.urlPrefix}/device/all`,this.addOneDeviceUrl=`${this.urlPrefix}/device`,this.updateOneDeviceUrl=`${this.urlPrefix}/device`,this.deleteOneDeviceByIdUrl=`${this.urlPrefix}/device/Id`,this.deleteOneDeviceByNameUrl=`${this.urlPrefix}/device/name`,this.findDeviceByNameUrl=`${this.urlPrefix}/device/name`,this.findDeviceByIdUrl=`${this.urlPrefix}/device/id`,this.findDevicesByServiceIdUrl=`${this.urlPrefix}/device/service/id`,this.findDevicesByServiceNameUrl=`${this.urlPrefix}/device/service/name`,this.findDevicesByProfileIdUrl=`${this.urlPrefix}/device/profile/id`,this.findDevicesByProfileNameUrl=`${this.urlPrefix}/device/profile/name`,this.deviceServicesListUrl=`${this.urlPrefix}/deviceservice/all`,this.updateDeviceServiceUrl=`${this.urlPrefix}/deviceservice`,this.findDeviceServiceByIdUrl=`${this.urlPrefix}/deviceservice/id`,this.findDeviceServiceByNameUrl=`${this.urlPrefix}/deviceservice/name`,this.deviceProfilesListUrl=`${this.urlPrefix}/deviceprofile/all`,this.findProfilesByIdUrl=`${this.urlPrefix}/deviceprofile`,this.findProfilesByNameUrl=`${this.urlPrefix}/deviceprofile/name`,this.updateDeviceProfileUrl=`${this.urlPrefix}/deviceprofile`,this.uploadProfileYamlFileUrl=`${this.urlPrefix}/deviceprofile/uploadfile`,this.uploadProfileYamlContentUrl=`${this.urlPrefix}/deviceprofile/upload`,this.deviceProfileYamlUrl=`${this.urlPrefix}/deviceprofile/yaml`,this.deleteProfileByIdUrl=`${this.urlPrefix}/deviceprofile/id`,this.deleteProfileByNamedUrl=`${this.urlPrefix}/deviceprofile/name`,this.provisionWatcherListUrl=`${this.urlPrefix}/provisionwatcher/all`,this.addOneProvisionWatcherUrl=`${this.urlPrefix}/provisionwatcher`,this.deleteOneProvisionWatcherByNameUrl=`${this.urlPrefix}/provisionwatcher/name`,this.findProvisionWatcherByNameUrl=`${this.urlPrefix}/provisionwatcher/name`,this.updateOneProvisionWatcherUrl=`${this.urlPrefix}/provisionwatcher`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allDevices(){return this.http.get(`${this.devicesListUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allDevicesPagination(A,T){return this.http.get(`${this.devicesListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addDevice(A){let T=`${this.addOneDeviceUrl}`;return A.apiVersion="v3",this.http.post(T,JSON.stringify([{apiVersion:"v3",device:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}deleteOneDeviceByName(A){return this.http.delete(`${this.deleteOneDeviceByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteOneDeviceById(A){return this.http.delete(`${this.deleteOneDeviceByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateDevice(A){return this.http.patch(`${this.updateOneDeviceUrl}`,JSON.stringify([{apiVersion:"v3",device:A}]),{headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findDeviceByName(A){return this.http.get(`${this.findDeviceByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDeviceById(A){return this.http.get(`${this.findDeviceByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevicesByServiceId(A){return this.http.get(`${this.findDevicesByServiceIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevicesByServiceName(A,T,N){return this.http.get(`${this.findDevicesByServiceNameUrl}/${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findDevicesByProfileId(A){return this.http.get(`${this.findDevicesByProfileIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevicesByProfileName(A,T,N){return this.http.get(`${this.findDevicesByProfileNameUrl}/${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}allDeviceServices(){return this.http.get(`${this.deviceServicesListUrl}?offset=0&limit=-1`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findAllDeviceServicesPagination(A,T){return this.http.get(`${this.deviceServicesListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateDeviceService(A){return this.http.patch(`${this.updateDeviceServiceUrl}`,JSON.stringify([{apiVersion:"v3",service:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findDevcieServiceById(A){return this.http.get(`${this.findDeviceServiceByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevcieServiceByName(A){return this.http.get(`${this.findDeviceServiceByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allDeviceProfoles(){return this.http.get(`${this.deviceProfilesListUrl}?offset=0&limit=-1`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allDeviceProfolesPagination(A,T){return this.http.get(`${this.deviceProfilesListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addProfileYamlByNameViaUIBackend(A){return this.http.request("POST","/api/v3/profile/yaml",{body:A,responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allProvisionWatchers(){return this.http.get(`${this.provisionWatcherListUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allProvisionWatchersPagination(A,T){return this.http.get(`${this.provisionWatcherListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addProvisionWatcher(A){let T=`${this.addOneProvisionWatcherUrl}`;return A.apiVersion="v3",this.http.post(T,JSON.stringify([{apiVersion:"v3",provisionWatcher:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}deleteOneProvisionWatcherByName(A){return this.http.delete(`${this.deleteOneProvisionWatcherByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProvisionWatcherByName(A){return this.http.get(`${this.findProvisionWatcherByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateProvisionWatcher(A){return this.http.patch(`${this.updateOneProvisionWatcherUrl}`,JSON.stringify([{apiVersion:"v3",provisionWatcher:A}]),{headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findProfileById(A){return this.http.get(`${this.findProfilesByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProfileByName(A){return this.http.get(`${this.findProfilesByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProfileYamlByNameViaUIBackend(A){return this.http.request("GET","/api/v3/profile/yaml/name/"+A,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}uploadProfileYamlFile(A){return this.http.request("POST",`${this.uploadProfileYamlFileUrl}`,{body:A,responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateDeviceProfile(A){return this.http.put(`${this.updateDeviceProfileUrl}`,A,this.httpPostOrPutJSONOptions).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateProfileYamlContentViaUIBackend(A){return this.http.put("/api/v3/profile/yaml",A,{headers:new l.WM({"Content-Type":"text/plain; charset=utf-8"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}uploadProfileYamlContent(A){return this.http.request("POST",`${this.uploadProfileYamlContentUrl}`,{body:A,responseType:"text",headers:new l.WM({"Content-Type":"text/plain; charset=utf-8"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProfileYamlById(A){return this.http.request("GET",`${this.deviceProfileYamlUrl}/${A}`,{responseType:"text"})}deleteProfileById(A){return this.http.delete(`${this.deleteProfileByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteProfileByName(A){return this.http.delete(`${this.deleteProfileByNamedUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},5425:(Ue,oe,S)=>{S.d(oe,{T:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/support-notifications",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.findNotificationByCategoryUrl=`${this.urlPrefix}/notification/category/`,this.findNotificationByLabelUrl=`${this.urlPrefix}/notification/label/`,this.findNotificationByStatusUrl=`${this.urlPrefix}/notification/status/`,this.findNotificationByStartEndUrl=`${this.urlPrefix}/notification/start/`,this.deleteNotificationByIdUrl=`${this.urlPrefix}/notification/id/`,this.deleteNotificationByAgeAndStatusUrl=`${this.urlPrefix}/notification/age/`,this.cleanupNotificationByAgeUrl=`${this.urlPrefix}/cleanup/age/`,this.cleanupNotificationAllUrl=`${this.urlPrefix}/cleanup`,this.findAllSubscriptionsPaginationUrl=`${this.urlPrefix}/subscription/all`,this.findAllSubscriptionsByCategoryPaginationUrl=`${this.urlPrefix}/subscription/category/`,this.findAllSubscriptionsByLabelPaginationUrl=`${this.urlPrefix}/subscription/label/`,this.findAllSubscriptionsByReceiverPaginationUrl=`${this.urlPrefix}/subscription/receiver/`,this.findOneSubscriptionsByNameUrl=`${this.urlPrefix}/subscription/name/`,this.addOneSubscriptionUrl=`${this.urlPrefix}/subscription`,this.updateOneSubscriptionUrl=`${this.urlPrefix}/subscription`,this.deleteOneSubscriptionByNameUrl=`${this.urlPrefix}/subscription/name/`,this.httpPostOrPutOrPatchJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findNotificationsByCategoryPagination(A,T,N){return this.http.get(`${this.findNotificationByCategoryUrl}${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findNotificationsByLabelPagination(A,T,N){return this.http.get(`${this.findNotificationByLabelUrl}${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findNotificationsByStatusPagination(A,T,N){return this.http.get(`${this.findNotificationByStatusUrl}${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findNotificationsByStartEndPagination(A,T,N,V){return this.http.get(`${this.findNotificationByStartEndUrl}${N}/end/${V}?offset=${A}&limit=${T}`).pipe((0,v.K)(xe=>this.errorSvc.handleError(xe)))}deleteNotificationByAgeAndStatus(A){return this.http.delete(`${this.deleteNotificationByAgeAndStatusUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteNotificationById(A){return this.http.delete(`${this.deleteNotificationByIdUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}cleanupNotificationByAge(A){return this.http.delete(`${this.cleanupNotificationByAgeUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}cleanupNotificationAll(){return this.http.delete(`${this.cleanupNotificationAllUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findAllSubscriptionPagination(A,T){return this.http.get(`${this.findAllSubscriptionsPaginationUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findOneSubscriptionByName(A){return this.http.get(`${this.findOneSubscriptionsByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}addOneSubscription(A){return this.http.post(`${this.addOneSubscriptionUrl}`,JSON.stringify([{apiVersion:"v3",subscription:A}]),this.httpPostOrPutOrPatchJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateOneSubscription(A){return this.http.patch(`${this.updateOneSubscriptionUrl}`,JSON.stringify([{apiVersion:"v3",subscription:A}]),this.httpPostOrPutOrPatchJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}deleteOneSubscriptionByName(A){return this.http.delete(`${this.deleteOneSubscriptionByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},8411:(Ue,oe,S)=>{S.d(oe,{r:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.version="/api/v3",this.pingUrl=`${this.version}/registrycenter/ping`,this.appSvcDeployConfigUrl=`${this.version}/registrycenter/deploy`,this.appSvcGetConfigUrl=`${this.version}/registrycenter/config`,this.appSvcAllUrl=`${this.version}/registrycenter/service/all`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.pingUrl}`)}getAppSvcConfigBySvcKey(A){return this.http.get(`${this.appSvcGetConfigUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deployToConsul(A,T){return this.http.post(`${this.appSvcDeployConfigUrl}/${T}`,JSON.stringify(A),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}getAllAppSvc(){return this.http.get(`${this.appSvcAllUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},2303:(Ue,oe,S)=>{S.d(oe,{n:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/rules-engine",this.version="",this.pingUrl=`${this.endpoint}${this.version}/ping`,this.streamUrl=`${this.endpoint}${this.version}/streams`,this.ruleUrl=`${this.endpoint}${this.version}/rules`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.pingUrl}`)}addStream(A){return this.http.request("POST",`${this.streamUrl}`,{body:A,responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteOneStreamById(A){return this.http.delete(`${this.streamUrl}/${A}`,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateStream(A,T){return this.http.request("PUT",`${this.streamUrl}/${T}`,{body:A,responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findStreamByName(A){return this.http.get(`${this.streamUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allStreams(){return this.http.get(`${this.streamUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}addRule(A){return this.http.request("POST",`${this.ruleUrl}`,{body:JSON.stringify(A),responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteOneRuleById(A){return this.http.delete(`${this.ruleUrl}/${A}`,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateRule(A){return this.http.request("PUT",`${this.ruleUrl}/${A.id}`,{body:JSON.stringify(A),responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findRuleById(A){return this.http.get(`${this.ruleUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allRules(){return this.http.get(`${this.ruleUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}getRuleStatusMetricsById(A){return this.http.get(`${this.ruleUrl}/${A}/status`,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}getRuleTopoById(A){return this.http.get(`${this.ruleUrl}/${A}/topo`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}executeRuleCommand(A,T){return this.http.post(`${this.ruleUrl}/${A}/${T}`,null,{responseType:"text"}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},4458:(Ue,oe,S)=>{S.d(oe,{G:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/support-scheduler",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.intervalListUrl=`${this.urlPrefix}/interval/all`,this.addOneIntervalUrl=`${this.urlPrefix}/interval`,this.updateOneIntervalUrl=`${this.urlPrefix}/interval`,this.findOneIntervalByNameUrl=`${this.urlPrefix}/interval/name/`,this.deleteOneIntervalByNameUrl=`${this.urlPrefix}/interval/name/`,this.intervalActionListUrl=`${this.urlPrefix}/intervalaction/all`,this.addOneIntervalActionUrl=`${this.urlPrefix}/intervalaction`,this.updateOneIntervaActionlUrl=`${this.urlPrefix}/intervalaction`,this.findOneIntervalActionByNameUrl=`${this.urlPrefix}/intervalaction/name/`,this.deleteOneIntervalActionByNameUrl=`${this.urlPrefix}/intervalaction/name/`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findAllIntervalsPagination(A,T){return this.http.get(`${this.intervalListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addInterval(A){return this.http.post(`${this.addOneIntervalUrl}`,JSON.stringify([{apiVersion:"v3",interval:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateInterval(A){return this.http.patch(`${this.updateOneIntervalUrl}`,JSON.stringify([{apiVersion:"v3",interval:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findIntervalByName(A){return this.http.get(`${this.findOneIntervalByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteIntervalByName(A){return this.http.delete(`${this.deleteOneIntervalByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findAllIntervalActionsPagination(A,T){return this.http.get(`${this.intervalActionListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addIntervalAction(A){return this.http.post(`${this.addOneIntervalActionUrl}`,JSON.stringify([{apiVersion:"v3",action:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateIntervalAction(A){return this.http.patch(`${this.updateOneIntervaActionlUrl}`,JSON.stringify([{apiVersion:"v3",action:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findIntervalActionByName(A){return this.http.get(`${this.findOneIntervalActionByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteIntervalActionByName(A){return this.http.delete(`${this.deleteOneIntervalActionByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},1742:(Ue,oe,S)=>{S.d(oe,{J:()=>B});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027),j=S(8411);let B=(()=>{class G{constructor(T,N,V){this.http=T,this.errorSvc=N,this.registrySvc=V,this.endpoint="/sys-mgmt-agent",this.version2="/api/v3",this.urlPrefix=`${this.endpoint}${this.version2}`,this.pingUrl="/ping",this.allRegisteredSvcUrl="/api/v3/registrycenter/service/all",this.configUrl=`${this.urlPrefix}/system/config`,this.metricsUrl=`${this.urlPrefix}/system/metrics`,this.healthUrl=`${this.urlPrefix}/system/health`,this.operationUrl=`${this.urlPrefix}/system/operation`,this.httpPostOrPutOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getRegisteredServiceAll(){return this.registrySvc.getAllAppSvc()}getConfigBySvcName(T){return this.http.get(`${this.configUrl}?services=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}getMetricsBySvcName(T){return this.http.get(`${this.metricsUrl}?services=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}getAllSvcHealth(T){return this.http.get(`${this.healthUrl}?services=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}operate(T){return this.http.post(`${this.operationUrl}`,JSON.stringify(T),this.httpPostOrPutOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}startV2(T){return this.operate([{apiVersion:"v3",serviceName:T,action:"start"}])}stopV2(T){return this.operate([{apiVersion:"v3",serviceName:T,action:"stop"}])}restartV2(T){return this.operate([{apiVersion:"v3",serviceName:T,action:"restart"}])}static#e=this.\u0275fac=function(N){return new(N||G)(ee.LFG(l.eN),ee.LFG(Z.T),ee.LFG(j.r))};static#t=this.\u0275prov=ee.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})()},2320:(Ue,oe,S)=>{var l=S(6593),v=S(6689),ee=S(9862),Z=S(6223),j=S(6814),B=S(9919),G=S(2560),A=S(6306),T=S(8504),N=S(8027);let V=(()=>{class W{constructor(_e,Me){this.http=_e,this.errorSvc=Me,this.endpoint="",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.secureModeUrl=`${this.urlPrefix}/auth/securemode`}getSecureMode(){return this.http.get(`${this.secureModeUrl}`,{responseType:"text"}).pipe((0,A.K)(Me=>this.errorSvc.handleError(Me)))}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.LFG(ee.eN),v.LFG(N.T))};static#t=this.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();var ue=S(2333);let xe=(()=>{class W{constructor(_e,Me,he,Oe,yt){this.initSvc=_e,this.errorSvc=Me,this.authSvc=he,this.router=Oe,this.route=yt}ngOnInit(){this.initializor()}initializor(){this.environmentCheck()}environmentCheck(){this.progressMsg="environment checking",this.initSvc.getSecureMode().subscribe(_e=>{"secure"===_e?(this.authSvc.isSecureMode=!0,this.tokenValidate()):(this.authSvc.isSecureMode=!1,this.navigateToHome())})}tokenValidate(){this.progressMsg="access token validating",this.authSvc.tokenValidate("/core-metadata/api/v3/ping").pipe((0,A.K)(_e=>(this.authSvc.isLoggedIn=!1,this.router.navigate(["/login"],{relativeTo:this.route}),(0,T._)(_e)))).subscribe(()=>{this.authSvc.isLoggedIn=!0,this.navigateToHome()})}navigateToHome(){this.router.navigate(["/dashboard"],{relativeTo:this.route})}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(V),v.Y36(N.T),v.Y36(ue.e),v.Y36(B.F0),v.Y36(B.gz))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-initializer"]],decls:16,vars:1,consts:[[1,"init","text-center","bg-dark"],[1,"init-progress"],["role","status",1,"spinner-grow","text-success"],[1,"sr-only"],["role","status",1,"spinner-grow","text-danger"],["role","status",1,"spinner-grow","text-warning"],["role","status",1,"spinner-grow","text-info"],[1,"text-light"]],template:function(Me,he){1&Me&&(v.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"span",3),v._uU(4,"Loading..."),v.qZA()(),v.TgZ(5,"div",4)(6,"span",3),v._uU(7,"Loading..."),v.qZA()(),v.TgZ(8,"div",5)(9,"span",3),v._uU(10,"Loading..."),v.qZA()(),v.TgZ(11,"div",6)(12,"span",3),v._uU(13,"Loading..."),v.qZA()(),v.TgZ(14,"p",7),v._uU(15),v.qZA()()()),2&Me&&(v.xp6(15),v.hij("",he.progressMsg,"..."))},styles:[".init[_ngcontent-%COMP%]{position:fixed;inset:0 0 -100px;z-index:999}.init-progress[_ngcontent-%COMP%]{position:absolute;left:0;right:0;top:45%}"]})}return W})();var Pe=S(2096),Ve=S(2848),ht=S(5167),ze=S(5425),Le=S(4458),mt=S(2303),Xe=S(1742),Ie=S(8411);function Ce(W,Vt){if(1&W&&(v.TgZ(0,"p",6),v._UZ(1,"span",7),v._uU(2),v.qZA()),2&W){const _e=v.oxw();v.xp6(2),v.hij(" The ",_e.svcName," service is inaccessible!!! please try again later! ")}}const Ee=[{path:"dashboard",canLoad:[G.a],loadChildren:()=>S.e(489).then(S.bind(S,2489)).then(W=>W.DashboardModule)},{path:"metadata",canLoad:[G.a],loadChildren:()=>S.e(649).then(S.bind(S,2649)).then(W=>W.MetadataModule)},{path:"core-data",canLoad:[G.a],loadChildren:()=>S.e(432).then(S.bind(S,3432)).then(W=>W.CoreDataModule)},{path:"notifications",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(875),S.e(744)]).then(S.bind(S,9744)).then(W=>W.NotificationsModule)},{path:"scheduler",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(875),S.e(934),S.e(806)]).then(S.bind(S,7246)).then(W=>W.SchedulerModule)},{path:"rule-engine",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(649),S.e(326),S.e(934),S.e(342)]).then(S.bind(S,8342)).then(W=>W.RuleEngineModule)},{path:"app-service",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(649),S.e(326),S.e(79)]).then(S.bind(S,3079)).then(W=>W.AppServiceModule)},{path:"initializer",component:xe},{path:"svc-unavailable",component:(()=>{class W{constructor(_e,Me,he,Oe,yt,Tt,Rt,Je,et){this.router=_e,this.route=Me,this.coredataSvc=he,this.metadataSvc=Oe,this.notiSvc=yt,this.schedulerSvc=Tt,this.ruleSvc=Rt,this.systemSvc=Je,this.registrySvc=et,this.refresgMsg=!1,this.refreshBtnDisable=!1}ngOnInit(){this.route.queryParams.subscribe(_e=>{this.svcName=_e.svcName,this.routerPath=_e.routerPath})}refresh(){this.refreshBtnDisable=!0,this.ping().pipe((0,A.K)(_e=>(this.refresgMsg=!0,window.setTimeout(()=>{this.refresgMsg=!1,this.refreshBtnDisable=!1},3e3),(0,T._)(()=>"Something bad happened; please try again later.")))).subscribe(()=>this.router.navigate([`${this.routerPath}`]))}ping(){switch(this.svcName){case"core data":return this.coredataSvc.ping();case"metadata":return this.metadataSvc.ping();case"scheduler":return this.schedulerSvc.ping();case"notification":return this.notiSvc.ping();case"rule engine":return this.ruleSvc.ping();case"system agent":return this.systemSvc.ping();case"registry center":return this.registrySvc.ping();default:return(0,Pe.of)()}}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(B.F0),v.Y36(B.gz),v.Y36(Ve.D),v.Y36(ht.D),v.Y36(ze.T),v.Y36(Le.G),v.Y36(mt.n),v.Y36(Xe.J),v.Y36(Ie.r))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-service-unavailable"]],decls:11,vars:5,consts:[["class","alert alert-danger","role","alert",4,"ngIf"],[1,"jumbotron"],[1,"display-5"],[1,"lead"],[1,"my-4"],["role","button",1,"btn","btn-primary","btn-sm",3,"disabled","click"],["role","alert",1,"alert","alert-danger"],[1,"fa","fa-warning"]],template:function(Me,he){1&Me&&(v.YNc(0,Ce,3,1,"p",0),v.TgZ(1,"div",1)(2,"h2",2),v._uU(3),v.qZA(),v.TgZ(4,"p",3),v._uU(5),v.qZA(),v._UZ(6,"hr",4),v.TgZ(7,"p"),v._uU(8,"EdgeXFoundry uses a microservices architecture, each service is running independently, please make sure that the current service is already running, if you have manually started the service, click the Refresh button."),v.qZA(),v.TgZ(9,"button",5),v.NdJ("click",function(){return he.refresh()}),v._uU(10,"Refresh"),v.qZA()()),2&Me&&(v.Q6J("ngIf",he.refresgMsg),v.xp6(3),v.hij("Oops!!! ",he.svcName," service is unavailable!"),v.xp6(2),v.AsE("This could be a network reason, or it could be that the ",he.svcName," microservice is not running, make sure there is no network problem or that the ",he.svcName," service is already running!"),v.xp6(4),v.Q6J("disabled",he.refreshBtnDisable))},dependencies:[j.O5],styles:[".btn[disabled][_ngcontent-%COMP%]:hover{cursor:not-allowed}"]})}return W})()}];let Te=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W});static#n=this.\u0275inj=v.cJS({imports:[B.Bz.forRoot(Ee,{useHash:!0}),B.Bz]})}return W})();var ve=S(2181),Ze=S(3685);function Ye(W,Vt){if(1&W){const _e=v.EpF();v.TgZ(0,"div")(1,"div",3)(2,"span",4),v.NdJ("click",function(){const Oe=v.CHM(_e).$implicit,yt=v.oxw(2);return v.KtG(yt.close(Oe))}),v.TgZ(3,"span",5),v._uU(4,"\xd7"),v.qZA()(),v.TgZ(5,"div"),v._uU(6),v.qZA()()()}if(2&W){const _e=Vt.$implicit;v.xp6(1),v.Tol(_e.class),v.xp6(5),v.hij(" ",_e.content," ")}}function De(W,Vt){if(1&W&&(v.TgZ(0,"div",1),v.YNc(1,Ye,7,3,"div",2),v.qZA()),2&W){const _e=v.oxw();v.xp6(1),v.Q6J("ngForOf",_e.messageService.messages)}}let Gt=(()=>{class W{constructor(_e){this.messageService=_e}ngOnInit(){}close(_e){this.messageService.messages.splice(this.messageService.messages.indexOf(_e),1)}ngOnDestroy(){this.timer&&clearInterval(this.timer)}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(Ze.e))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-message"]],decls:1,vars:1,consts:[["class","position-fixed overflow-hidden text-break","style","top: 10px; right: 0;min-width: 300px; max-width: 300px;z-index: 999;",4,"ngIf"],[1,"position-fixed","overflow-hidden","text-break",2,"top","10px","right","0","min-width","300px","max-width","300px","z-index","999"],[4,"ngFor","ngForOf"],["role","alert"],["type","button","aria-label","Close",1,"btn","btn-lg","close",3,"click"],["aria-hidden","true"]],template:function(Me,he){1&Me&&v.YNc(0,De,2,1,"div",0),2&Me&&v.Q6J("ngIf",he.messageService.messages.length)},dependencies:[j.sg,j.O5]})}return W})();function He(W,Vt){if(1&W&&(v.TgZ(0,"a",49),v._uU(1),v.qZA()),2&W){const _e=v.oxw().$implicit,Me=v.oxw();v.s9C("routerLink",Me.navChainMap.get(_e)),v.xp6(1),v.hij(" ",Me.pathFormat(_e)," ")}}function Qe(W,Vt){if(1&W&&(v.TgZ(0,"span",50),v._uU(1),v.qZA()),2&W){const _e=v.oxw().$implicit,Me=v.oxw();v.xp6(1),v.hij(" ",Me.pathFormat(_e)," ")}}function zt(W,Vt){1&W&&(v.TgZ(0,"span"),v._uU(1,">"),v.qZA())}function Mt(W,Vt){if(1&W&&(v.TgZ(0,"h6",35),v.YNc(1,He,2,2,"a",47),v.YNc(2,Qe,2,1,"span",48),v.YNc(3,zt,2,0,"span",46),v.qZA()),2&W){const _e=Vt.index,Me=v.oxw();v.xp6(1),v.Q6J("ngIf",_e!==Me.navChain.length-1),v.xp6(1),v.Q6J("ngIf",_e==Me.navChain.length-1),v.xp6(1),v.Q6J("ngIf",_e!==Me.navChain.length-1)}}function sn(W,Vt){1&W&&(v.TgZ(0,"div",51)(1,"div"),v._UZ(2,"span",52),v.TgZ(3,"span"),v._uU(4,"Loading..."),v.qZA()()())}function Q(W,Vt){1&W&&v._UZ(0,"router-outlet")}const q=function(){return{exact:!1}};let re=(()=>{class W{constructor(_e,Me){this.activatedRoute=_e,this.router=Me,this.title="EdgeX Console",this.isSelected=!1,this.toggleClass="",this.shrink=!1,this.shrinkSidebarOnly=!1,this.shrinkCenterNo=!1,this.navChainMap=new Map,this.navChainCache=[],this.navChain=[],this.currentNav="",this.loading=!1,this.navRecognized=Me.events.pipe((0,ve.h)(he=>he instanceof B.R9)),this.navStart=Me.events.pipe((0,ve.h)(he=>he instanceof B.OD)),this.navEnd=Me.events.pipe((0,ve.h)(he=>he instanceof B.m2)),this.childStart=Me.events.pipe((0,ve.h)(he=>he instanceof B.Eb))}ngOnInit(){this.router.events.subscribe(_e=>{_e instanceof B.OD&&(this.loading=!0),(_e instanceof B.m2||_e instanceof B.gk||_e instanceof B.Q3)&&(this.loading=!1)}),this.navEnd.subscribe(_e=>{this.navChainCache=[],this.navChainMap=new Map,this.currentNav=_e.urlAfterRedirects.split("?")[0].split("/").pop(),this.navChain=_e.urlAfterRedirects.split("?")[0].split("/"),this.navChain.shift();let Me=this;this.navChain.map(Oe=>Oe).reverse().forEach(function(Oe,yt){let Je=Me.navChain.map(et=>et).reverse().slice(yt).reverse().join("/");Me.navChainCache.push("/"+Je),Me.navChainMap.set(Oe,"/"+Je)}),this.navChainCache.reverse()}),$(window).resize(()=>{this.shrinkCenterNo=!1,this.shrink=document.body.clientWidth<1340}),this.router.navigate(["/initializer"],{relativeTo:this.activatedRoute})}pathFormat(_e){let Me=_e.split("-");return Me.forEach((he,Oe)=>{Me[Oe]=he.charAt(0).toUpperCase()+he.substring(1)}),Me.join(" ")}sideBarToggle(){this.shrink?(document.body.clientWidth<1340&&(this.shrinkCenterNo=!0),this.shrink=!1):(document.body.clientWidth<1340&&(this.shrinkCenterNo=!1),this.shrink=!0)}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(B.gz),v.Y36(B.F0))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-root"]],decls:60,vars:44,consts:function(){let _e,Me,he,Oe,yt,Tt,Rt,Je;return _e="Dashboard",Me="Metadata",he="DataCenter",Oe="Scheduler",yt="Notifications",Tt="RuleEngine",Rt="AppService",Je="English",[[1,"container-fluid"],[1,"row"],[1,"px-0"],[1,"sidebar-center","font-weight-bold","text-white","vh-100"],[1,"sidebar-header","p-2"],["src","assets/img/bg_x.png","width","35","height","34","alt","","loading","lazy",1,"mt-2"],[1,"float-right","mt-3","mr-2"],["role","button",1,"fa","fa-navicon","fa-lg","text-light",3,"click"],[1,"overflow-hidden"],[1,"nav","flex-column"],["data-testid","menu-item-dashboard","routerLink","/dashboard","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-tachometer","fa-fw","mr-5"],["data-testid","menu-item-dashboard-text"],_e,["routerLink","/metadata","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-cubes","fa-fw","mr-5"],Me,["routerLink","/core-data","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-database","fa-fw","mr-5"],he,["routerLink","/scheduler","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-clock-o","fa-fw","mr-5"],Oe,["routerLink","/notifications","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-envelope","fa-fw","mr-5"],yt,["routerLink","/rule-engine","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-sliders","fa-fw","mr-5"],Tt,["routerLink","/app-service","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-cloud-upload","fa-fw","mr-5"],Rt,[1,"col-12"],[1,"bg-light","center-header","px-3","pt-2","font-weight-bold"],[1,"nav-router","mw-100","align-middle"],[1,"d-inline"],[1,"dropdown","float-right"],["id","dropdownLangLink","type","button","data-toggle","dropdown","aria-haspopup","true","aria-expanded","false",1,"btn","btn-secondary","btn-sm","dropdown-toggle"],Je,["aria-labelledby","dropdownLangLink",1,"dropdown-menu","dropdown-menu-sm","dropdown-menu-right"],["href","/",1,"dropdown-item"],["href","/zh",1,"dropdown-item"],[1,"mw-100","align-middle","mt-1"],["class","d-inline",4,"ngFor","ngForOf"],[1,"center-center","p-3"],["class","text-center","style","margin-top: 20%;",4,"ngIf"],[4,"ngIf"],["class","text-decoration-none d-inline",3,"routerLink",4,"ngIf"],["class","text-decoration-none d-inline",4,"ngIf"],[1,"text-decoration-none","d-inline",3,"routerLink"],[1,"text-decoration-none","d-inline"],[1,"text-center",2,"margin-top","20%"],["role","status","aria-hidden","true",1,"spinner-border","mr-2"]]},template:function(Me,he){1&Me&&(v._UZ(0,"app-message"),v.TgZ(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),v._UZ(6,"img",5),v.TgZ(7,"p",6)(8,"i",7),v.NdJ("click",function(){return he.sideBarToggle()}),v.qZA()()(),v.TgZ(9,"div",8)(10,"nav",9)(11,"a",10),v._UZ(12,"i",11),v.TgZ(13,"span",12),v.SDv(14,13),v.qZA()(),v.TgZ(15,"a",14),v._UZ(16,"i",15),v.TgZ(17,"span"),v.SDv(18,16),v.qZA()(),v.TgZ(19,"a",17),v._UZ(20,"i",18),v.TgZ(21,"span"),v.SDv(22,19),v.qZA()(),v.TgZ(23,"a",20),v._UZ(24,"i",21),v.TgZ(25,"span"),v.SDv(26,22),v.qZA()(),v.TgZ(27,"a",23),v._UZ(28,"i",24),v.TgZ(29,"span"),v.SDv(30,25),v.qZA()(),v.TgZ(31,"a",26),v._UZ(32,"i",27),v.TgZ(33,"span"),v.SDv(34,28),v.qZA()(),v.TgZ(35,"a",29),v._UZ(36,"i",30),v.TgZ(37,"span"),v.SDv(38,31),v.qZA()()()()()(),v.TgZ(39,"div",32)(40,"div")(41,"nav",33)(42,"div",34)(43,"h4",35),v._uU(44),v.qZA(),v.TgZ(45,"div",36)(46,"button",37)(47,"span"),v.SDv(48,38),v.qZA()(),v.TgZ(49,"div",39)(50,"a",40),v._uU(51,"English"),v.qZA(),v.TgZ(52,"a",41),v._uU(53,"\u4e2d\u6587\u7b80\u4f53"),v.qZA()()()(),v.TgZ(54,"div",42)(55,"div",35),v.YNc(56,Mt,4,3,"h6",43),v.qZA()()(),v.TgZ(57,"div",44),v.YNc(58,sn,5,0,"div",45),v.YNc(59,Q,1,0,"router-outlet",46),v.qZA()()()()()),2&Me&&(v.xp6(3),v.ekj("sidebar-shrink",he.shrink)("sidebar",!he.shrink),v.xp6(3),v.ekj("d-none",he.shrink),v.xp6(5),v.Q6J("routerLinkActiveOptions",v.DdM(37,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(38,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(39,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(40,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(41,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(42,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(43,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(3),v.ekj("center-shrink",he.shrink)("center-no-shrink",he.shrinkCenterNo)("center",!he.shrink),v.xp6(4),v.Oqu(he.pathFormat(he.currentNav)),v.xp6(12),v.Q6J("ngForOf",he.navChain),v.xp6(2),v.Q6J("ngIf",he.loading),v.xp6(1),v.Q6J("ngIf",!he.loading))},dependencies:[j.sg,j.O5,B.lC,B.rH,B.Od,Gt],styles:[".sidebar[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:250px;z-index:10}.sidebar-shrink[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:45px;z-index:10}.sidebar-center[_ngcontent-%COMP%]{background-color:#2d2848e6!important}.sidebar-header[_ngcontent-%COMP%]{background-color:#2d2848!important;height:65px}.active-link[_ngcontent-%COMP%], .sidebar-center[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover{color:#922c48;background-color:#922c4866!important}.center[_ngcontent-%COMP%]{position:absolute;left:250px;right:0}.center-shrink[_ngcontent-%COMP%], .center-no-shrink[_ngcontent-%COMP%]{position:absolute;left:45px;right:0}.center-header[_ngcontent-%COMP%]{height:65px}"]})}return W})();var ne=S(7398),me=S(9315);function pe(W,Vt){1&W&&(v.TgZ(0,"button",22),v._UZ(1,"span",23),v.TgZ(2,"span"),v._uU(3,"Loading..."),v.qZA()())}function qe(W,Vt){if(1&W){const _e=v.EpF();v.TgZ(0,"button",24),v.NdJ("click",function(){v.CHM(_e);const he=v.oxw();return v.KtG(he.login())}),v.TgZ(1,"span"),v.SDv(2,25),v.qZA()()}}const Lt=[{path:"login",component:(()=>{class W{constructor(_e,Me,he,Oe){this.authSvc=_e,this.errorSvc=Me,this.router=he,this.route=Oe,this.loading=!1,this.accessToken=null,this.accessTokenIsValid=!0,this.registryToken=null,this.registryTokenIsValid=!0}ngOnInit(){}login(){this.loading=!0,this.authSvc.setAccessToken(this.accessToken),this.authSvc.setRegistryToken(this.registryToken);const _e=this.authSvc.tokenValidate("/core-metadata/api/v3/ping").pipe((0,ne.U)(he=>{this.authSvc.isLoggedIn=!0,this.accessTokenIsValid=!0}),(0,A.K)(he=>(this.authSvc.isLoggedIn=!1,this.accessToken=null,this.accessTokenIsValid=!1,(0,Pe.of)(null)))),Me=this.authSvc.tokenValidate("/api/v3/registrycenter/ping").pipe((0,ne.U)(he=>{this.authSvc.isRegistryLoggedIn=!0,this.registryTokenIsValid=!0}),(0,A.K)(he=>(this.authSvc.isRegistryLoggedIn=!1,this.registryToken=null,this.registryTokenIsValid=!1,(0,Pe.of)(null))));(0,me.D)([_e,Me]).pipe((0,A.K)(he=>(this.router.navigate(["/login"],{relativeTo:this.route}),[]))).subscribe(he=>{this.loading=!1,this.authSvc.isLoggedIn&&this.authSvc.isRegistryLoggedIn&&this.router.navigate(["/dashboard"],{relativeTo:this.route})})}renderPopoverComponent(){$('[data-toggle="popover"]').popover({trigger:"hover"})}onInput(){this.accessTokenIsValid=!0,this.registryTokenIsValid=!0}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(ue.e),v.Y36(N.T),v.Y36(B.F0),v.Y36(B.gz))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-login"]],decls:30,vars:8,consts:function(){let _e,Me,he,Oe,yt,Tt,Rt;return _e="Log in to EdgeX with a token",Me="Gateway Token",he="the gateway token is invalid!",Oe="ACL Token",yt="the registry token is invalid!",Tt="How to get access token?",Rt="Login",[[1,"login","bg-dark"],[1,"card","login-form"],[1,"card-header"],_e,[1,"card-body","bg-light","shadow"],[1,""],[1,"form-group"],["for","accessToken",1,"col-form-label"],[1,"mr-1"],Me,["type","password","id","accessToken","name","accessToken",1,"form-control",3,"ngModel","ngModelChange"],[1,"invalid-feedback"],he,["for","registryToken",1,"col-form-label"],Oe,["type","password","id","registryToken","name","registryToken",1,"form-control",3,"ngModel","ngModelChange"],yt,["class","btn btn-success btn-sm w-100","type","button","disabled","",4,"ngIf"],["type","button","class","btn btn-success btn-sm w-100",3,"click",4,"ngIf"],[1,"mt-2"],["href","https://docs.edgexfoundry.org/3.0/security/Ch-Authenticating/#how-to-make-authenticated-edgex-calls","target","_blank",1,"text-decoration-none"],Tt,["type","button","disabled","",1,"btn","btn-success","btn-sm","w-100"],["role","status","aria-hidden","true",1,"spinner-grow","spinner-grow-sm"],["type","button",1,"btn","btn-success","btn-sm","w-100",3,"click"],Rt]},template:function(Me,he){1&Me&&(v.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),v.SDv(4,3),v.qZA()(),v.TgZ(5,"div",4)(6,"form",5)(7,"div",6)(8,"label",7)(9,"span",8),v.SDv(10,9),v.qZA()(),v.TgZ(11,"div",5)(12,"input",10),v.NdJ("ngModelChange",function(yt){return he.accessToken=yt})("ngModelChange",function(){return he.onInput()}),v.qZA(),v.TgZ(13,"div",11)(14,"small"),v.SDv(15,12),v.qZA()()(),v.TgZ(16,"label",13)(17,"span",8),v.SDv(18,14),v.qZA()(),v.TgZ(19,"div",5)(20,"input",15),v.NdJ("ngModelChange",function(yt){return he.registryToken=yt})("ngModelChange",function(){return he.onInput()}),v.qZA(),v.TgZ(21,"div",11)(22,"small"),v.SDv(23,16),v.qZA()()()(),v.YNc(24,pe,4,0,"button",17),v.YNc(25,qe,3,0,"button",18),v.TgZ(26,"div",19)(27,"a",20)(28,"small"),v.SDv(29,21),v.qZA()()()()()()()),2&Me&&(v.xp6(12),v.ekj("is-invalid",!he.accessTokenIsValid),v.Q6J("ngModel",he.accessToken),v.xp6(8),v.ekj("is-invalid",!he.registryTokenIsValid),v.Q6J("ngModel",he.registryToken),v.xp6(4),v.Q6J("ngIf",he.loading),v.xp6(1),v.Q6J("ngIf",!he.loading))},dependencies:[j.O5,Z._Y,Z.Fj,Z.JJ,Z.JL,Z.On,Z.F],styles:[".login[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:999}.login-form[_ngcontent-%COMP%]{position:absolute;left:0;right:0;top:40%;width:350px;margin:auto}"]})}return W})()}];let ke=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W});static#n=this.\u0275inj=v.cJS({imports:[B.Bz.forChild(Lt),B.Bz]})}return W})(),vt=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W});static#n=this.\u0275inj=v.cJS({imports:[j.ez,Z.u5,ke]})}return W})();const rt=[{provide:ee.TP,useClass:(()=>{class W{constructor(_e){this.authSvc=_e}intercept(_e,Me){let he=_e.headers.set("X-Requested-With","XMLHttpRequest");if(this.authSvc.isSecureMode){let yt=`Bearer ${this.authSvc.getAccessToken()}`,Tt=`${this.authSvc.getRegistryAccessToken()}`;he=_e.headers.set("X-Requested-With","XMLHttpRequest").set("Authorization",yt).set("X-Consul-Token",Tt)}const Oe=_e.clone({headers:he});return Me.handle(Oe)}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.LFG(ue.e))};static#t=this.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),multi:!0}];let At=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W,bootstrap:[re]});static#n=this.\u0275inj=v.cJS({providers:[rt],imports:[l.b2,j.ez,Z.u5,ee.JF,Te,vt]})}return W})();(0,v.G48)(),l.q6().bootstrapModule(At).catch(W=>console.error(W))},5619:(Ue,oe,S)=>{S.d(oe,{X:()=>v});var l=S(8645);class v extends l.x{constructor(Z){super(),this._value=Z}get value(){return this.getValue()}_subscribe(Z){const j=super._subscribe(Z);return!j.closed&&Z.next(this._value),j}getValue(){const{hasError:Z,thrownError:j,_value:B}=this;if(Z)throw j;return this._throwIfClosed(),B}next(Z){super.next(this._value=Z)}}},5592:(Ue,oe,S)=>{S.d(oe,{y:()=>A});var l=S(305),v=S(7394),ee=S(4850),Z=S(8407),j=S(2653),B=S(4674),G=S(1441);let A=(()=>{class ue{constructor(Pe){Pe&&(this._subscribe=Pe)}lift(Pe){const Ve=new ue;return Ve.source=this,Ve.operator=Pe,Ve}subscribe(Pe,Ve,ht){const ze=function V(ue){return ue&&ue instanceof l.Lv||function N(ue){return ue&&(0,B.m)(ue.next)&&(0,B.m)(ue.error)&&(0,B.m)(ue.complete)}(ue)&&(0,v.Nn)(ue)}(Pe)?Pe:new l.Hp(Pe,Ve,ht);return(0,G.x)(()=>{const{operator:Le,source:mt}=this;ze.add(Le?Le.call(ze,mt):mt?this._subscribe(ze):this._trySubscribe(ze))}),ze}_trySubscribe(Pe){try{return this._subscribe(Pe)}catch(Ve){Pe.error(Ve)}}forEach(Pe,Ve){return new(Ve=T(Ve))((ht,ze)=>{const Le=new l.Hp({next:mt=>{try{Pe(mt)}catch(Xe){ze(Xe),Le.unsubscribe()}},error:ze,complete:ht});this.subscribe(Le)})}_subscribe(Pe){var Ve;return null===(Ve=this.source)||void 0===Ve?void 0:Ve.subscribe(Pe)}[ee.L](){return this}pipe(...Pe){return(0,Z.U)(Pe)(this)}toPromise(Pe){return new(Pe=T(Pe))((Ve,ht)=>{let ze;this.subscribe(Le=>ze=Le,Le=>ht(Le),()=>Ve(ze))})}}return ue.create=xe=>new ue(xe),ue})();function T(ue){var xe;return null!==(xe=ue??j.config.Promise)&&void 0!==xe?xe:Promise}},8645:(Ue,oe,S)=>{S.d(oe,{x:()=>G});var l=S(5592),v=S(7394);const Z=(0,S(2306).d)(T=>function(){T(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var j=S(9039),B=S(1441);let G=(()=>{class T extends l.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(V){const ue=new A(this,this);return ue.operator=V,ue}_throwIfClosed(){if(this.closed)throw new Z}next(V){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ue of this.currentObservers)ue.next(V)}})}error(V){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=V;const{observers:ue}=this;for(;ue.length;)ue.shift().error(V)}})}complete(){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:V}=this;for(;V.length;)V.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var V;return(null===(V=this.observers)||void 0===V?void 0:V.length)>0}_trySubscribe(V){return this._throwIfClosed(),super._trySubscribe(V)}_subscribe(V){return this._throwIfClosed(),this._checkFinalizedStatuses(V),this._innerSubscribe(V)}_innerSubscribe(V){const{hasError:ue,isStopped:xe,observers:Pe}=this;return ue||xe?v.Lc:(this.currentObservers=null,Pe.push(V),new v.w0(()=>{this.currentObservers=null,(0,j.P)(Pe,V)}))}_checkFinalizedStatuses(V){const{hasError:ue,thrownError:xe,isStopped:Pe}=this;ue?V.error(xe):Pe&&V.complete()}asObservable(){const V=new l.y;return V.source=this,V}}return T.create=(N,V)=>new A(N,V),T})();class A extends G{constructor(N,V){super(),this.destination=N,this.source=V}next(N){var V,ue;null===(ue=null===(V=this.destination)||void 0===V?void 0:V.next)||void 0===ue||ue.call(V,N)}error(N){var V,ue;null===(ue=null===(V=this.destination)||void 0===V?void 0:V.error)||void 0===ue||ue.call(V,N)}complete(){var N,V;null===(V=null===(N=this.destination)||void 0===N?void 0:N.complete)||void 0===V||V.call(N)}_subscribe(N){var V,ue;return null!==(ue=null===(V=this.source)||void 0===V?void 0:V.subscribe(N))&&void 0!==ue?ue:v.Lc}}},305:(Ue,oe,S)=>{S.d(oe,{Hp:()=>ht,Lv:()=>ue});var l=S(4674),v=S(7394),ee=S(2653),Z=S(3894),j=S(2420);const B=T("C",void 0,void 0);function T(Ie,Ce,$e){return{kind:Ie,value:Ce,error:$e}}var N=S(7599),V=S(1441);class ue extends v.w0{constructor(Ce){super(),this.isStopped=!1,Ce?(this.destination=Ce,(0,v.Nn)(Ce)&&Ce.add(this)):this.destination=Xe}static create(Ce,$e,Ee){return new ht(Ce,$e,Ee)}next(Ce){this.isStopped?mt(function A(Ie){return T("N",Ie,void 0)}(Ce),this):this._next(Ce)}error(Ce){this.isStopped?mt(function G(Ie){return T("E",void 0,Ie)}(Ce),this):(this.isStopped=!0,this._error(Ce))}complete(){this.isStopped?mt(B,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ce){this.destination.next(Ce)}_error(Ce){try{this.destination.error(Ce)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const xe=Function.prototype.bind;function Pe(Ie,Ce){return xe.call(Ie,Ce)}class Ve{constructor(Ce){this.partialObserver=Ce}next(Ce){const{partialObserver:$e}=this;if($e.next)try{$e.next(Ce)}catch(Ee){ze(Ee)}}error(Ce){const{partialObserver:$e}=this;if($e.error)try{$e.error(Ce)}catch(Ee){ze(Ee)}else ze(Ce)}complete(){const{partialObserver:Ce}=this;if(Ce.complete)try{Ce.complete()}catch($e){ze($e)}}}class ht extends ue{constructor(Ce,$e,Ee){let Te;if(super(),(0,l.m)(Ce)||!Ce)Te={next:Ce??void 0,error:$e??void 0,complete:Ee??void 0};else{let ve;this&&ee.config.useDeprecatedNextContext?(ve=Object.create(Ce),ve.unsubscribe=()=>this.unsubscribe(),Te={next:Ce.next&&Pe(Ce.next,ve),error:Ce.error&&Pe(Ce.error,ve),complete:Ce.complete&&Pe(Ce.complete,ve)}):Te=Ce}this.destination=new Ve(Te)}}function ze(Ie){ee.config.useDeprecatedSynchronousErrorHandling?(0,V.O)(Ie):(0,Z.h)(Ie)}function mt(Ie,Ce){const{onStoppedNotification:$e}=ee.config;$e&&N.z.setTimeout(()=>$e(Ie,Ce))}const Xe={closed:!0,next:j.Z,error:function Le(Ie){throw Ie},complete:j.Z}},7394:(Ue,oe,S)=>{S.d(oe,{Lc:()=>B,w0:()=>j,Nn:()=>G});var l=S(4674);const ee=(0,S(2306).d)(T=>function(V){T(this),this.message=V?`${V.length} errors occurred during unsubscription:\n${V.map((ue,xe)=>`${xe+1}) ${ue.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=V});var Z=S(9039);class j{constructor(N){this.initialTeardown=N,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let N;if(!this.closed){this.closed=!0;const{_parentage:V}=this;if(V)if(this._parentage=null,Array.isArray(V))for(const Pe of V)Pe.remove(this);else V.remove(this);const{initialTeardown:ue}=this;if((0,l.m)(ue))try{ue()}catch(Pe){N=Pe instanceof ee?Pe.errors:[Pe]}const{_finalizers:xe}=this;if(xe){this._finalizers=null;for(const Pe of xe)try{A(Pe)}catch(Ve){N=N??[],Ve instanceof ee?N=[...N,...Ve.errors]:N.push(Ve)}}if(N)throw new ee(N)}}add(N){var V;if(N&&N!==this)if(this.closed)A(N);else{if(N instanceof j){if(N.closed||N._hasParent(this))return;N._addParent(this)}(this._finalizers=null!==(V=this._finalizers)&&void 0!==V?V:[]).push(N)}}_hasParent(N){const{_parentage:V}=this;return V===N||Array.isArray(V)&&V.includes(N)}_addParent(N){const{_parentage:V}=this;this._parentage=Array.isArray(V)?(V.push(N),V):V?[V,N]:N}_removeParent(N){const{_parentage:V}=this;V===N?this._parentage=null:Array.isArray(V)&&(0,Z.P)(V,N)}remove(N){const{_finalizers:V}=this;V&&(0,Z.P)(V,N),N instanceof j&&N._removeParent(this)}}j.EMPTY=(()=>{const T=new j;return T.closed=!0,T})();const B=j.EMPTY;function G(T){return T instanceof j||T&&"closed"in T&&(0,l.m)(T.remove)&&(0,l.m)(T.add)&&(0,l.m)(T.unsubscribe)}function A(T){(0,l.m)(T)?T():T.unsubscribe()}},2653:(Ue,oe,S)=>{S.d(oe,{config:()=>l});const l={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6232:(Ue,oe,S)=>{S.d(oe,{E:()=>v});const v=new(S(5592).y)(j=>j.complete())},9315:(Ue,oe,S)=>{S.d(oe,{D:()=>A});var l=S(5592),v=S(7453),ee=S(4829),Z=S(4564),j=S(8251),B=S(7400),G=S(2714);function A(...T){const N=(0,Z.jO)(T),{args:V,keys:ue}=(0,v.D)(T),xe=new l.y(Pe=>{const{length:Ve}=V;if(!Ve)return void Pe.complete();const ht=new Array(Ve);let ze=Ve,Le=Ve;for(let mt=0;mt{Xe||(Xe=!0,Le--),ht[mt]=Ie},()=>ze--,void 0,()=>{(!ze||!Xe)&&(Le||Pe.next(ue?(0,G.n)(ue,ht):ht),Pe.complete())}))}});return N?xe.pipe((0,B.Z)(N)):xe}},7715:(Ue,oe,S)=>{S.d(oe,{D:()=>Ee});var l=S(4829),v=S(7103),ee=S(9360),Z=S(8251);function j(Te,ve=0){return(0,ee.e)((Ze,Ye)=>{Ze.subscribe((0,Z.x)(Ye,De=>(0,v.f)(Ye,Te,()=>Ye.next(De),ve),()=>(0,v.f)(Ye,Te,()=>Ye.complete(),ve),De=>(0,v.f)(Ye,Te,()=>Ye.error(De),ve)))})}function B(Te,ve=0){return(0,ee.e)((Ze,Ye)=>{Ye.add(Te.schedule(()=>Ze.subscribe(Ye),ve))})}var T=S(5592),V=S(4971),ue=S(4674);function Pe(Te,ve){if(!Te)throw new Error("Iterable cannot be null");return new T.y(Ze=>{(0,v.f)(Ze,ve,()=>{const Ye=Te[Symbol.asyncIterator]();(0,v.f)(Ze,ve,()=>{Ye.next().then(De=>{De.done?Ze.complete():Ze.next(De.value)})},0,!0)})})}var Ve=S(8382),ht=S(4026),ze=S(4266),Le=S(3664),mt=S(5726),Xe=S(9853),Ie=S(541);function Ee(Te,ve){return ve?function $e(Te,ve){if(null!=Te){if((0,Ve.c)(Te))return function G(Te,ve){return(0,l.Xf)(Te).pipe(B(ve),j(ve))}(Te,ve);if((0,ze.z)(Te))return function N(Te,ve){return new T.y(Ze=>{let Ye=0;return ve.schedule(function(){Ye===Te.length?Ze.complete():(Ze.next(Te[Ye++]),Ze.closed||this.schedule())})})}(Te,ve);if((0,ht.t)(Te))return function A(Te,ve){return(0,l.Xf)(Te).pipe(B(ve),j(ve))}(Te,ve);if((0,mt.D)(Te))return Pe(Te,ve);if((0,Le.T)(Te))return function xe(Te,ve){return new T.y(Ze=>{let Ye;return(0,v.f)(Ze,ve,()=>{Ye=Te[V.h](),(0,v.f)(Ze,ve,()=>{let De,Gt;try{({value:De,done:Gt}=Ye.next())}catch(He){return void Ze.error(He)}Gt?Ze.complete():Ze.next(De)},0,!0)}),()=>(0,ue.m)(Ye?.return)&&Ye.return()})}(Te,ve);if((0,Ie.L)(Te))return function Ce(Te,ve){return Pe((0,Ie.Q)(Te),ve)}(Te,ve)}throw(0,Xe.z)(Te)}(Te,ve):(0,l.Xf)(Te)}},4829:(Ue,oe,S)=>{S.d(oe,{Xf:()=>xe});var l=S(7582),v=S(4266),ee=S(4026),Z=S(5592),j=S(8382),B=S(5726),G=S(9853),A=S(3664),T=S(541),N=S(4674),V=S(3894),ue=S(4850);function xe(Ie){if(Ie instanceof Z.y)return Ie;if(null!=Ie){if((0,j.c)(Ie))return function Pe(Ie){return new Z.y(Ce=>{const $e=Ie[ue.L]();if((0,N.m)($e.subscribe))return $e.subscribe(Ce);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ie);if((0,v.z)(Ie))return function Ve(Ie){return new Z.y(Ce=>{for(let $e=0;$e{Ie.then($e=>{Ce.closed||(Ce.next($e),Ce.complete())},$e=>Ce.error($e)).then(null,V.h)})}(Ie);if((0,B.D)(Ie))return Le(Ie);if((0,A.T)(Ie))return function ze(Ie){return new Z.y(Ce=>{for(const $e of Ie)if(Ce.next($e),Ce.closed)return;Ce.complete()})}(Ie);if((0,T.L)(Ie))return function mt(Ie){return Le((0,T.Q)(Ie))}(Ie)}throw(0,G.z)(Ie)}function Le(Ie){return new Z.y(Ce=>{(function Xe(Ie,Ce){var $e,Ee,Te,ve;return(0,l.mG)(this,void 0,void 0,function*(){try{for($e=(0,l.KL)(Ie);!(Ee=yield $e.next()).done;)if(Ce.next(Ee.value),Ce.closed)return}catch(Ze){Te={error:Ze}}finally{try{Ee&&!Ee.done&&(ve=$e.return)&&(yield ve.call($e))}finally{if(Te)throw Te.error}}Ce.complete()})})(Ie,Ce).catch($e=>Ce.error($e))})}},2096:(Ue,oe,S)=>{S.d(oe,{of:()=>ee});var l=S(4564),v=S(7715);function ee(...Z){const j=(0,l.yG)(Z);return(0,v.D)(Z,j)}},8504:(Ue,oe,S)=>{S.d(oe,{_:()=>ee});var l=S(5592),v=S(4674);function ee(Z,j){const B=(0,v.m)(Z)?Z:()=>Z,G=A=>A.error(B());return new l.y(j?A=>j.schedule(G,0,A):G)}},8251:(Ue,oe,S)=>{S.d(oe,{x:()=>v});var l=S(305);function v(Z,j,B,G,A){return new ee(Z,j,B,G,A)}class ee extends l.Lv{constructor(j,B,G,A,T,N){super(j),this.onFinalize=T,this.shouldUnsubscribe=N,this._next=B?function(V){try{B(V)}catch(ue){j.error(ue)}}:super._next,this._error=A?function(V){try{A(V)}catch(ue){j.error(ue)}finally{this.unsubscribe()}}:super._error,this._complete=G?function(){try{G()}catch(V){j.error(V)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var j;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:B}=this;super.unsubscribe(),!B&&(null===(j=this.onFinalize)||void 0===j||j.call(this))}}}},6306:(Ue,oe,S)=>{S.d(oe,{K:()=>Z});var l=S(4829),v=S(8251),ee=S(9360);function Z(j){return(0,ee.e)((B,G)=>{let N,A=null,T=!1;A=B.subscribe((0,v.x)(G,void 0,void 0,V=>{N=(0,l.Xf)(j(V,Z(j)(B))),A?(A.unsubscribe(),A=null,N.subscribe(G)):T=!0})),T&&(A.unsubscribe(),A=null,N.subscribe(G))})}},6328:(Ue,oe,S)=>{S.d(oe,{b:()=>ee});var l=S(1631),v=S(4674);function ee(Z,j){return(0,v.m)(j)?(0,l.z)(Z,j,1):(0,l.z)(Z,1)}},3997:(Ue,oe,S)=>{S.d(oe,{x:()=>Z});var l=S(2737),v=S(9360),ee=S(8251);function Z(B,G=l.y){return B=B??j,(0,v.e)((A,T)=>{let N,V=!0;A.subscribe((0,ee.x)(T,ue=>{const xe=G(ue);(V||!B(N,xe))&&(V=!1,N=xe,T.next(ue))}))})}function j(B,G){return B===G}},2181:(Ue,oe,S)=>{S.d(oe,{h:()=>ee});var l=S(9360),v=S(8251);function ee(Z,j){return(0,l.e)((B,G)=>{let A=0;B.subscribe((0,v.x)(G,T=>Z.call(j,T,A++)&&G.next(T)))})}},4716:(Ue,oe,S)=>{S.d(oe,{x:()=>v});var l=S(9360);function v(ee){return(0,l.e)((Z,j)=>{try{Z.subscribe(j)}finally{j.add(ee)}})}},7398:(Ue,oe,S)=>{S.d(oe,{U:()=>ee});var l=S(9360),v=S(8251);function ee(Z,j){return(0,l.e)((B,G)=>{let A=0;B.subscribe((0,v.x)(G,T=>{G.next(Z.call(j,T,A++))}))})}},7537:(Ue,oe,S)=>{S.d(oe,{J:()=>ee});var l=S(1631),v=S(2737);function ee(Z=1/0){return(0,l.z)(v.y,Z)}},1631:(Ue,oe,S)=>{S.d(oe,{z:()=>A});var l=S(7398),v=S(4829),ee=S(9360),Z=S(7103),j=S(8251),G=S(4674);function A(T,N,V=1/0){return(0,G.m)(N)?A((ue,xe)=>(0,l.U)((Pe,Ve)=>N(ue,Pe,xe,Ve))((0,v.Xf)(T(ue,xe))),V):("number"==typeof N&&(V=N),(0,ee.e)((ue,xe)=>function B(T,N,V,ue,xe,Pe,Ve,ht){const ze=[];let Le=0,mt=0,Xe=!1;const Ie=()=>{Xe&&!ze.length&&!Le&&N.complete()},Ce=Ee=>Le{Pe&&N.next(Ee),Le++;let Te=!1;(0,v.Xf)(V(Ee,mt++)).subscribe((0,j.x)(N,ve=>{xe?.(ve),Pe?Ce(ve):N.next(ve)},()=>{Te=!0},void 0,()=>{if(Te)try{for(Le--;ze.length&&Le$e(ve)):$e(ve)}Ie()}catch(ve){N.error(ve)}}))};return T.subscribe((0,j.x)(N,Ce,()=>{Xe=!0,Ie()})),()=>{ht?.()}}(ue,xe,T,V)))}},4664:(Ue,oe,S)=>{S.d(oe,{w:()=>Z});var l=S(4829),v=S(9360),ee=S(8251);function Z(j,B){return(0,v.e)((G,A)=>{let T=null,N=0,V=!1;const ue=()=>V&&!T&&A.complete();G.subscribe((0,ee.x)(A,xe=>{T?.unsubscribe();let Pe=0;const Ve=N++;(0,l.Xf)(j(xe,Ve)).subscribe(T=(0,ee.x)(A,ht=>A.next(B?B(xe,ht,Ve,Pe++):ht),()=>{T=null,ue()}))},()=>{V=!0,ue()}))})}},8180:(Ue,oe,S)=>{S.d(oe,{q:()=>Z});var l=S(6232),v=S(9360),ee=S(8251);function Z(j){return j<=0?()=>l.E:(0,v.e)((B,G)=>{let A=0;B.subscribe((0,ee.x)(G,T=>{++A<=j&&(G.next(T),j<=A&&G.complete())}))})}},7599:(Ue,oe,S)=>{S.d(oe,{z:()=>l});const l={setTimeout(v,ee,...Z){const{delegate:j}=l;return j?.setTimeout?j.setTimeout(v,ee,...Z):setTimeout(v,ee,...Z)},clearTimeout(v){const{delegate:ee}=l;return(ee?.clearTimeout||clearTimeout)(v)},delegate:void 0}},4971:(Ue,oe,S)=>{S.d(oe,{h:()=>v});const v=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Ue,oe,S)=>{S.d(oe,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},4564:(Ue,oe,S)=>{S.d(oe,{_6:()=>B,jO:()=>Z,yG:()=>j});var l=S(4674);function ee(G){return G[G.length-1]}function Z(G){return(0,l.m)(ee(G))?G.pop():void 0}function j(G){return function v(G){return G&&(0,l.m)(G.schedule)}(ee(G))?G.pop():void 0}function B(G,A){return"number"==typeof ee(G)?G.pop():A}},7453:(Ue,oe,S)=>{S.d(oe,{D:()=>j});const{isArray:l}=Array,{getPrototypeOf:v,prototype:ee,keys:Z}=Object;function j(G){if(1===G.length){const A=G[0];if(l(A))return{args:A,keys:null};if(function B(G){return G&&"object"==typeof G&&v(G)===ee}(A)){const T=Z(A);return{args:T.map(N=>A[N]),keys:T}}}return{args:G,keys:null}}},9039:(Ue,oe,S)=>{function l(v,ee){if(v){const Z=v.indexOf(ee);0<=Z&&v.splice(Z,1)}}S.d(oe,{P:()=>l})},2306:(Ue,oe,S)=>{function l(v){const Z=v(j=>{Error.call(j),j.stack=(new Error).stack});return Z.prototype=Object.create(Error.prototype),Z.prototype.constructor=Z,Z}S.d(oe,{d:()=>l})},2714:(Ue,oe,S)=>{function l(v,ee){return v.reduce((Z,j,B)=>(Z[j]=ee[B],Z),{})}S.d(oe,{n:()=>l})},1441:(Ue,oe,S)=>{S.d(oe,{O:()=>Z,x:()=>ee});var l=S(2653);let v=null;function ee(j){if(l.config.useDeprecatedSynchronousErrorHandling){const B=!v;if(B&&(v={errorThrown:!1,error:null}),j(),B){const{errorThrown:G,error:A}=v;if(v=null,G)throw A}}else j()}function Z(j){l.config.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=j)}},7103:(Ue,oe,S)=>{function l(v,ee,Z,j=0,B=!1){const G=ee.schedule(function(){Z(),B?v.add(this.schedule(null,j)):this.unsubscribe()},j);if(v.add(G),!B)return G}S.d(oe,{f:()=>l})},2737:(Ue,oe,S)=>{function l(v){return v}S.d(oe,{y:()=>l})},4266:(Ue,oe,S)=>{S.d(oe,{z:()=>l});const l=v=>v&&"number"==typeof v.length&&"function"!=typeof v},5726:(Ue,oe,S)=>{S.d(oe,{D:()=>v});var l=S(4674);function v(ee){return Symbol.asyncIterator&&(0,l.m)(ee?.[Symbol.asyncIterator])}},4674:(Ue,oe,S)=>{function l(v){return"function"==typeof v}S.d(oe,{m:()=>l})},8382:(Ue,oe,S)=>{S.d(oe,{c:()=>ee});var l=S(4850),v=S(4674);function ee(Z){return(0,v.m)(Z[l.L])}},3664:(Ue,oe,S)=>{S.d(oe,{T:()=>ee});var l=S(4971),v=S(4674);function ee(Z){return(0,v.m)(Z?.[l.h])}},4026:(Ue,oe,S)=>{S.d(oe,{t:()=>v});var l=S(4674);function v(ee){return(0,l.m)(ee?.then)}},541:(Ue,oe,S)=>{S.d(oe,{L:()=>Z,Q:()=>ee});var l=S(7582),v=S(4674);function ee(j){return(0,l.FC)(this,arguments,function*(){const G=j.getReader();try{for(;;){const{value:A,done:T}=yield(0,l.qq)(G.read());if(T)return yield(0,l.qq)(void 0);yield yield(0,l.qq)(A)}}finally{G.releaseLock()}})}function Z(j){return(0,v.m)(j?.getReader)}},9360:(Ue,oe,S)=>{S.d(oe,{A:()=>v,e:()=>ee});var l=S(4674);function v(Z){return(0,l.m)(Z?.lift)}function ee(Z){return j=>{if(v(j))return j.lift(function(B){try{return Z(B,this)}catch(G){this.error(G)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Ue,oe,S)=>{S.d(oe,{Z:()=>Z});var l=S(7398);const{isArray:v}=Array;function Z(j){return(0,l.U)(B=>function ee(j,B){return v(B)?j(...B):j(B)}(j,B))}},2420:(Ue,oe,S)=>{function l(){}S.d(oe,{Z:()=>l})},8407:(Ue,oe,S)=>{S.d(oe,{U:()=>ee,z:()=>v});var l=S(2737);function v(...Z){return ee(Z)}function ee(Z){return 0===Z.length?l.y:1===Z.length?Z[0]:function(B){return Z.reduce((G,A)=>A(G),B)}}},3894:(Ue,oe,S)=>{S.d(oe,{h:()=>ee});var l=S(2653),v=S(7599);function ee(Z){v.z.setTimeout(()=>{const{onUnhandledError:j}=l.config;if(!j)throw Z;j(Z)})}},9853:(Ue,oe,S)=>{function l(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}S.d(oe,{z:()=>l})},6814:(Ue,oe,S)=>{S.d(oe,{Do:()=>ht,ED:()=>zi,EM:()=>or,HT:()=>Z,JF:()=>Lr,K0:()=>B,Mx:()=>Hn,O5:()=>Wr,PM:()=>Ir,RF:()=>xr,S$:()=>xe,Ts:()=>pi,V_:()=>A,Ye:()=>ze,b0:()=>Ve,bD:()=>jt,ez:()=>Sr,mk:()=>je,n9:()=>wr,q:()=>ee,sg:()=>Ln,uU:()=>Ri,w_:()=>j});var l=S(6689);let v=null;function ee(){return v}function Z(d){v||(v=d)}class j{}const B=new l.OlP("DocumentToken");let G=(()=>{class d{historyGo(m){throw new Error("Not implemented")}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275prov=l.Yz7({token:d,factory:function(){return(0,l.f3M)(T)},providedIn:"platform"})}return d})();const A=new l.OlP("Location Initialized");let T=(()=>{class d extends G{constructor(){super(),this._doc=(0,l.f3M)(B),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ee().getBaseHref(this._doc)}onPopState(m){const E=ee().getGlobalEventTarget(this._doc,"window");return E.addEventListener("popstate",m,!1),()=>E.removeEventListener("popstate",m)}onHashChange(m){const E=ee().getGlobalEventTarget(this._doc,"window");return E.addEventListener("hashchange",m,!1),()=>E.removeEventListener("hashchange",m)}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(m){this._location.pathname=m}pushState(m,E,R){this._history.pushState(m,E,R)}replaceState(m,E,R){this._history.replaceState(m,E,R)}forward(){this._history.forward()}back(){this._history.back()}historyGo(m=0){this._history.go(m)}getState(){return this._history.state}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275prov=l.Yz7({token:d,factory:function(){return new d},providedIn:"platform"})}return d})();function N(d,w){if(0==d.length)return w;if(0==w.length)return d;let m=0;return d.endsWith("/")&&m++,w.startsWith("/")&&m++,2==m?d+w.substring(1):1==m?d+w:d+"/"+w}function V(d){const w=d.match(/#|\?|$/),m=w&&w.index||d.length;return d.slice(0,m-("/"===d[m-1]?1:0))+d.slice(m)}function ue(d){return d&&"?"!==d[0]?"?"+d:d}let xe=(()=>{class d{historyGo(m){throw new Error("Not implemented")}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275prov=l.Yz7({token:d,factory:function(){return(0,l.f3M)(Ve)},providedIn:"root"})}return d})();const Pe=new l.OlP("appBaseHref");let Ve=(()=>{class d extends xe{constructor(m,E){super(),this._platformLocation=m,this._removeListenerFns=[],this._baseHref=E??this._platformLocation.getBaseHrefFromDOM()??(0,l.f3M)(B).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}prepareExternalUrl(m){return N(this._baseHref,m)}path(m=!1){const E=this._platformLocation.pathname+ue(this._platformLocation.search),R=this._platformLocation.hash;return R&&m?`${E}${R}`:E}pushState(m,E,R,te){const ce=this.prepareExternalUrl(R+ue(te));this._platformLocation.pushState(m,E,ce)}replaceState(m,E,R,te){const ce=this.prepareExternalUrl(R+ue(te));this._platformLocation.replaceState(m,E,ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}static#e=this.\u0275fac=function(E){return new(E||d)(l.LFG(G),l.LFG(Pe,8))};static#t=this.\u0275prov=l.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})(),ht=(()=>{class d extends xe{constructor(m,E){super(),this._platformLocation=m,this._baseHref="",this._removeListenerFns=[],null!=E&&(this._baseHref=E)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}path(m=!1){let E=this._platformLocation.hash;return null==E&&(E="#"),E.length>0?E.substring(1):E}prepareExternalUrl(m){const E=N(this._baseHref,m);return E.length>0?"#"+E:E}pushState(m,E,R,te){let ce=this.prepareExternalUrl(R+ue(te));0==ce.length&&(ce=this._platformLocation.pathname),this._platformLocation.pushState(m,E,ce)}replaceState(m,E,R,te){let ce=this.prepareExternalUrl(R+ue(te));0==ce.length&&(ce=this._platformLocation.pathname),this._platformLocation.replaceState(m,E,ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}static#e=this.\u0275fac=function(E){return new(E||d)(l.LFG(G),l.LFG(Pe,8))};static#t=this.\u0275prov=l.Yz7({token:d,factory:d.\u0275fac})}return d})(),ze=(()=>{class d{constructor(m){this._subject=new l.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=m;const E=this._locationStrategy.getBaseHref();this._basePath=function Ie(d){if(new RegExp("^(https?:)?//").test(d)){const[,m]=d.split(/\/\/[^\/]+/);return m}return d}(V(Xe(E))),this._locationStrategy.onPopState(R=>{this._subject.emit({url:this.path(!0),pop:!0,state:R.state,type:R.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(m=!1){return this.normalize(this._locationStrategy.path(m))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(m,E=""){return this.path()==this.normalize(m+ue(E))}normalize(m){return d.stripTrailingSlash(function mt(d,w){if(!d||!w.startsWith(d))return w;const m=w.substring(d.length);return""===m||["/",";","?","#"].includes(m[0])?m:w}(this._basePath,Xe(m)))}prepareExternalUrl(m){return m&&"/"!==m[0]&&(m="/"+m),this._locationStrategy.prepareExternalUrl(m)}go(m,E="",R=null){this._locationStrategy.pushState(R,"",m,E),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+ue(E)),R)}replaceState(m,E="",R=null){this._locationStrategy.replaceState(R,"",m,E),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+ue(E)),R)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(m=0){this._locationStrategy.historyGo?.(m)}onUrlChange(m){return this._urlChangeListeners.push(m),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(E=>{this._notifyUrlChangeListeners(E.url,E.state)})),()=>{const E=this._urlChangeListeners.indexOf(m);this._urlChangeListeners.splice(E,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(m="",E){this._urlChangeListeners.forEach(R=>R(m,E))}subscribe(m,E,R){return this._subject.subscribe({next:m,error:E,complete:R})}static#e=this.normalizeQueryParams=ue;static#t=this.joinWithSlash=N;static#n=this.stripTrailingSlash=V;static#r=this.\u0275fac=function(E){return new(E||d)(l.LFG(xe))};static#i=this.\u0275prov=l.Yz7({token:d,factory:function(){return function Le(){return new ze((0,l.LFG)(xe))}()},providedIn:"root"})}return d})();function Xe(d){return d.replace(/\/index.html$/,"")}var Te=function(d){return d[d.Format=0]="Format",d[d.Standalone=1]="Standalone",d}(Te||{}),ve=function(d){return d[d.Narrow=0]="Narrow",d[d.Abbreviated=1]="Abbreviated",d[d.Wide=2]="Wide",d[d.Short=3]="Short",d}(ve||{}),Ze=function(d){return d[d.Short=0]="Short",d[d.Medium=1]="Medium",d[d.Long=2]="Long",d[d.Full=3]="Full",d}(Ze||{}),Ye=function(d){return d[d.Decimal=0]="Decimal",d[d.Group=1]="Group",d[d.List=2]="List",d[d.PercentSign=3]="PercentSign",d[d.PlusSign=4]="PlusSign",d[d.MinusSign=5]="MinusSign",d[d.Exponential=6]="Exponential",d[d.SuperscriptingExponent=7]="SuperscriptingExponent",d[d.PerMille=8]="PerMille",d[d.Infinity=9]="Infinity",d[d.NaN=10]="NaN",d[d.TimeSeparator=11]="TimeSeparator",d[d.CurrencyDecimal=12]="CurrencyDecimal",d[d.CurrencyGroup=13]="CurrencyGroup",d}(Ye||{});function q(d,w){return W((0,l.cg1)(d)[l.wAp.DateFormat],w)}function re(d,w){return W((0,l.cg1)(d)[l.wAp.TimeFormat],w)}function ne(d,w){return W((0,l.cg1)(d)[l.wAp.DateTimeFormat],w)}function me(d,w){const m=(0,l.cg1)(d),E=m[l.wAp.NumberSymbols][w];if(typeof E>"u"){if(w===Ye.CurrencyDecimal)return m[l.wAp.NumberSymbols][Ye.Decimal];if(w===Ye.CurrencyGroup)return m[l.wAp.NumberSymbols][Ye.Group]}return E}function kt(d){if(!d[l.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${d[l.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function W(d,w){for(let m=w;m>-1;m--)if(typeof d[m]<"u")return d[m];throw new Error("Locale data API: locale data undefined")}function Vt(d){const[w,m]=d.split(":");return{hours:+w,minutes:+m}}const Oe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,yt={},Tt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Rt=function(d){return d[d.Short=0]="Short",d[d.ShortGMT=1]="ShortGMT",d[d.Long=2]="Long",d[d.Extended=3]="Extended",d}(Rt||{}),Je=function(d){return d[d.FullYear=0]="FullYear",d[d.Month=1]="Month",d[d.Date=2]="Date",d[d.Hours=3]="Hours",d[d.Minutes=4]="Minutes",d[d.Seconds=5]="Seconds",d[d.FractionalSeconds=6]="FractionalSeconds",d[d.Day=7]="Day",d}(Je||{}),et=function(d){return d[d.DayPeriods=0]="DayPeriods",d[d.Days=1]="Days",d[d.Months=2]="Months",d[d.Eras=3]="Eras",d}(et||{});function mn(d,w,m,E){let R=function se(d){if(F(d))return d;if("number"==typeof d&&!isNaN(d))return new Date(d);if("string"==typeof d){if(d=d.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(d)){const[R,te=1,ce=1]=d.split("-").map(Ge=>+Ge);return Kn(R,te-1,ce)}const m=parseFloat(d);if(!isNaN(d-m))return new Date(m);let E;if(E=d.match(Oe))return function J(d){const w=new Date(0);let m=0,E=0;const R=d[8]?w.setUTCFullYear:w.setFullYear,te=d[8]?w.setUTCHours:w.setHours;d[9]&&(m=Number(d[9]+d[10]),E=Number(d[9]+d[11])),R.call(w,Number(d[1]),Number(d[2])-1,Number(d[3]));const ce=Number(d[4]||0)-m,Ge=Number(d[5]||0)-E,$t=Number(d[6]||0),Bt=Math.floor(1e3*parseFloat("0."+(d[7]||0)));return te.call(w,ce,Ge,$t,Bt),w}(E)}const w=new Date(d);if(!F(w))throw new Error(`Unable to convert "${d}" into a date`);return w}(d);w=Mn(m,w)||w;let Ge,ce=[];for(;w;){if(Ge=Tt.exec(w),!Ge){ce.push(w);break}{ce=ce.concat(Ge.slice(1));const Pt=ce.pop();if(!Pt)break;w=Pt}}let $t=R.getTimezoneOffset();E&&($t=rr(E,$t),R=function Ti(d,w,m){const E=m?-1:1,R=d.getTimezoneOffset();return function cr(d,w){return(d=new Date(d.getTime())).setMinutes(d.getMinutes()+w),d}(d,E*(rr(w,R)-R))}(R,E,!0));let Bt="";return ce.forEach(Pt=>{const gt=function nr(d){if(Sn[d])return Sn[d];let w;switch(d){case"G":case"GG":case"GGG":w=st(et.Eras,ve.Abbreviated);break;case"GGGG":w=st(et.Eras,ve.Wide);break;case"GGGGG":w=st(et.Eras,ve.Narrow);break;case"y":w=Ot(Je.FullYear,1,0,!1,!0);break;case"yy":w=Ot(Je.FullYear,2,0,!0,!0);break;case"yyy":w=Ot(Je.FullYear,3,0,!1,!0);break;case"yyyy":w=Ot(Je.FullYear,4,0,!1,!0);break;case"Y":w=Yn(1);break;case"YY":w=Yn(2,!0);break;case"YYY":w=Yn(3);break;case"YYYY":w=Yn(4);break;case"M":case"L":w=Ot(Je.Month,1,1);break;case"MM":case"LL":w=Ot(Je.Month,2,1);break;case"MMM":w=st(et.Months,ve.Abbreviated);break;case"MMMM":w=st(et.Months,ve.Wide);break;case"MMMMM":w=st(et.Months,ve.Narrow);break;case"LLL":w=st(et.Months,ve.Abbreviated,Te.Standalone);break;case"LLLL":w=st(et.Months,ve.Wide,Te.Standalone);break;case"LLLLL":w=st(et.Months,ve.Narrow,Te.Standalone);break;case"w":w=Fn(1);break;case"ww":w=Fn(2);break;case"W":w=Fn(1,!0);break;case"d":w=Ot(Je.Date,1);break;case"dd":w=Ot(Je.Date,2);break;case"c":case"cc":w=Ot(Je.Day,1);break;case"ccc":w=st(et.Days,ve.Abbreviated,Te.Standalone);break;case"cccc":w=st(et.Days,ve.Wide,Te.Standalone);break;case"ccccc":w=st(et.Days,ve.Narrow,Te.Standalone);break;case"cccccc":w=st(et.Days,ve.Short,Te.Standalone);break;case"E":case"EE":case"EEE":w=st(et.Days,ve.Abbreviated);break;case"EEEE":w=st(et.Days,ve.Wide);break;case"EEEEE":w=st(et.Days,ve.Narrow);break;case"EEEEEE":w=st(et.Days,ve.Short);break;case"a":case"aa":case"aaa":w=st(et.DayPeriods,ve.Abbreviated);break;case"aaaa":w=st(et.DayPeriods,ve.Wide);break;case"aaaaa":w=st(et.DayPeriods,ve.Narrow);break;case"b":case"bb":case"bbb":w=st(et.DayPeriods,ve.Abbreviated,Te.Standalone,!0);break;case"bbbb":w=st(et.DayPeriods,ve.Wide,Te.Standalone,!0);break;case"bbbbb":w=st(et.DayPeriods,ve.Narrow,Te.Standalone,!0);break;case"B":case"BB":case"BBB":w=st(et.DayPeriods,ve.Abbreviated,Te.Format,!0);break;case"BBBB":w=st(et.DayPeriods,ve.Wide,Te.Format,!0);break;case"BBBBB":w=st(et.DayPeriods,ve.Narrow,Te.Format,!0);break;case"h":w=Ot(Je.Hours,1,-12);break;case"hh":w=Ot(Je.Hours,2,-12);break;case"H":w=Ot(Je.Hours,1);break;case"HH":w=Ot(Je.Hours,2);break;case"m":w=Ot(Je.Minutes,1);break;case"mm":w=Ot(Je.Minutes,2);break;case"s":w=Ot(Je.Seconds,1);break;case"ss":w=Ot(Je.Seconds,2);break;case"S":w=Ot(Je.FractionalSeconds,1);break;case"SS":w=Ot(Je.FractionalSeconds,2);break;case"SSS":w=Ot(Je.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":w=Bn(Rt.Short);break;case"ZZZZZ":w=Bn(Rt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":w=Bn(Rt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":w=Bn(Rt.Long);break;default:return null}return Sn[d]=w,w}(Pt);Bt+=gt?gt(R,m,$t):"''"===Pt?"'":Pt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Bt}function Kn(d,w,m){const E=new Date(0);return E.setFullYear(d,w,m),E.setHours(0,0,0),E}function Mn(d,w){const m=function Gt(d){return(0,l.cg1)(d)[l.wAp.LocaleId]}(d);if(yt[m]=yt[m]||{},yt[m][w])return yt[m][w];let E="";switch(w){case"shortDate":E=q(d,Ze.Short);break;case"mediumDate":E=q(d,Ze.Medium);break;case"longDate":E=q(d,Ze.Long);break;case"fullDate":E=q(d,Ze.Full);break;case"shortTime":E=re(d,Ze.Short);break;case"mediumTime":E=re(d,Ze.Medium);break;case"longTime":E=re(d,Ze.Long);break;case"fullTime":E=re(d,Ze.Full);break;case"short":const R=Mn(d,"shortTime"),te=Mn(d,"shortDate");E=_n(ne(d,Ze.Short),[R,te]);break;case"medium":const ce=Mn(d,"mediumTime"),Ge=Mn(d,"mediumDate");E=_n(ne(d,Ze.Medium),[ce,Ge]);break;case"long":const $t=Mn(d,"longTime"),Bt=Mn(d,"longDate");E=_n(ne(d,Ze.Long),[$t,Bt]);break;case"full":const Pt=Mn(d,"fullTime"),gt=Mn(d,"fullDate");E=_n(ne(d,Ze.Full),[Pt,gt])}return E&&(yt[m][w]=E),E}function _n(d,w){return w&&(d=d.replace(/\{([^}]+)}/g,function(m,E){return null!=w&&E in w?w[E]:m})),d}function vn(d,w,m="-",E,R){let te="";(d<0||R&&d<=0)&&(R?d=1-d:(d=-d,te=m));let ce=String(d);for(;ce.length0||Ge>-m)&&(Ge+=m),d===Je.Hours)0===Ge&&-12===m&&(Ge=12);else if(d===Je.FractionalSeconds)return function ct(d,w){return vn(d,3).substring(0,w)}(Ge,w);const $t=me(ce,Ye.MinusSign);return vn(Ge,w,$t,E,R)}}function st(d,w,m=Te.Format,E=!1){return function(R,te){return function zr(d,w,m,E,R,te){switch(m){case et.Months:return function zt(d,w,m){const E=(0,l.cg1)(d),te=W([E[l.wAp.MonthsFormat],E[l.wAp.MonthsStandalone]],w);return W(te,m)}(w,R,E)[d.getMonth()];case et.Days:return function Qe(d,w,m){const E=(0,l.cg1)(d),te=W([E[l.wAp.DaysFormat],E[l.wAp.DaysStandalone]],w);return W(te,m)}(w,R,E)[d.getDay()];case et.DayPeriods:const ce=d.getHours(),Ge=d.getMinutes();if(te){const Bt=function rt(d){const w=(0,l.cg1)(d);return kt(w),(w[l.wAp.ExtraData][2]||[]).map(E=>"string"==typeof E?Vt(E):[Vt(E[0]),Vt(E[1])])}(w),Pt=function At(d,w,m){const E=(0,l.cg1)(d);kt(E);const te=W([E[l.wAp.ExtraData][0],E[l.wAp.ExtraData][1]],w)||[];return W(te,m)||[]}(w,R,E),gt=Bt.findIndex(en=>{if(Array.isArray(en)){const[It,hn]=en,Tr=ce>=It.hours&&Ge>=It.minutes,Or=ce0?Math.floor(R/60):Math.ceil(R/60);switch(d){case Rt.Short:return(R>=0?"+":"")+vn(ce,2,te)+vn(Math.abs(R%60),2,te);case Rt.ShortGMT:return"GMT"+(R>=0?"+":"")+vn(ce,1,te);case Rt.Long:return"GMT"+(R>=0?"+":"")+vn(ce,2,te)+":"+vn(Math.abs(R%60),2,te);case Rt.Extended:return 0===E?"Z":(R>=0?"+":"")+vn(ce,2,te)+":"+vn(Math.abs(R%60),2,te);default:throw new Error(`Unknown zone width "${d}"`)}}}const xt=0,On=4;function Ne(d){return Kn(d.getFullYear(),d.getMonth(),d.getDate()+(On-d.getDay()))}function Fn(d,w=!1){return function(m,E){let R;if(w){const te=new Date(m.getFullYear(),m.getMonth(),1).getDay()-1,ce=m.getDate();R=1+Math.floor((ce+te)/7)}else{const te=Ne(m),ce=function tn(d){const w=Kn(d,xt,1).getDay();return Kn(d,0,1+(w<=On?On:On+7)-w)}(te.getFullYear()),Ge=te.getTime()-ce.getTime();R=1+Math.round(Ge/6048e5)}return vn(R,d,me(E,Ye.MinusSign))}}function Yn(d,w=!1){return function(m,E){return vn(Ne(m).getFullYear(),d,me(E,Ye.MinusSign),w)}}const Sn={};function rr(d,w){d=d.replace(/:/g,"");const m=Date.parse("Jan 01, 1970 00:00:00 "+d)/6e4;return isNaN(m)?w:m}function F(d){return d instanceof Date&&!isNaN(d.valueOf())}function Hn(d,w){w=encodeURIComponent(w);for(const m of d.split(";")){const E=m.indexOf("="),[R,te]=-1==E?[m,""]:[m.slice(0,E),m.slice(E+1)];if(R.trim()===w)return decodeURIComponent(te)}return null}const pn=/\s+/,ft=[];let je=(()=>{class d{constructor(m,E,R,te){this._iterableDiffers=m,this._keyValueDiffers=E,this._ngEl=R,this._renderer=te,this.initialClasses=ft,this.stateMap=new Map}set klass(m){this.initialClasses=null!=m?m.trim().split(pn):ft}set ngClass(m){this.rawClass="string"==typeof m?m.trim().split(pn):m}ngDoCheck(){for(const E of this.initialClasses)this._updateState(E,!0);const m=this.rawClass;if(Array.isArray(m)||m instanceof Set)for(const E of m)this._updateState(E,!0);else if(null!=m)for(const E of Object.keys(m))this._updateState(E,!!m[E]);this._applyStateDiff()}_updateState(m,E){const R=this.stateMap.get(m);void 0!==R?(R.enabled!==E&&(R.changed=!0,R.enabled=E),R.touched=!0):this.stateMap.set(m,{enabled:E,changed:!0,touched:!0})}_applyStateDiff(){for(const m of this.stateMap){const E=m[0],R=m[1];R.changed?(this._toggleClass(E,R.enabled),R.changed=!1):R.touched||(R.enabled&&this._toggleClass(E,!1),this.stateMap.delete(E)),R.touched=!1}}_toggleClass(m,E){(m=m.trim()).length>0&&m.split(pn).forEach(R=>{E?this._renderer.addClass(this._ngEl.nativeElement,R):this._renderer.removeClass(this._ngEl.nativeElement,R)})}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.ZZ4),l.Y36(l.aQg),l.Y36(l.SBq),l.Y36(l.Qsj))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return d})();class rn{constructor(w,m,E,R){this.$implicit=w,this.ngForOf=m,this.index=E,this.count=R}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ln=(()=>{class d{set ngForOf(m){this._ngForOf=m,this._ngForOfDirty=!0}set ngForTrackBy(m){this._trackByFn=m}get ngForTrackBy(){return this._trackByFn}constructor(m,E,R){this._viewContainer=m,this._template=E,this._differs=R,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(m){m&&(this._template=m)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const m=this._ngForOf;!this._differ&&m&&(this._differ=this._differs.find(m).create(this.ngForTrackBy))}if(this._differ){const m=this._differ.diff(this._ngForOf);m&&this._applyChanges(m)}}_applyChanges(m){const E=this._viewContainer;m.forEachOperation((R,te,ce)=>{if(null==R.previousIndex)E.createEmbeddedView(this._template,new rn(R.item,this._ngForOf,-1,-1),null===ce?void 0:ce);else if(null==ce)E.remove(null===te?void 0:te);else if(null!==te){const Ge=E.get(te);E.move(Ge,ce),ln(Ge,R)}});for(let R=0,te=E.length;R{ln(E.get(R.currentIndex),R)})}static ngTemplateContextGuard(m,E){return!0}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return d})();function ln(d,w){d.context.$implicit=w.item}let Wr=(()=>{class d{constructor(m,E){this._viewContainer=m,this._context=new Kr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=E}set ngIf(m){this._context.$implicit=this._context.ngIf=m,this._updateView()}set ngIfThen(m){Yr("ngIfThen",m),this._thenTemplateRef=m,this._thenViewRef=null,this._updateView()}set ngIfElse(m){Yr("ngIfElse",m),this._elseTemplateRef=m,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(m,E){return!0}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return d})();class Kr{constructor(){this.$implicit=null,this.ngIf=null}}function Yr(d,w){if(w&&!w.createEmbeddedView)throw new Error(`${d} must be a TemplateRef, but received '${(0,l.AaK)(w)}'.`)}class fr{constructor(w,m){this._viewContainerRef=w,this._templateRef=m,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(w){w&&!this._created?this.create():!w&&this._created&&this.destroy()}}let xr=(()=>{class d{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(m){this._ngSwitch=m,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(m){this._defaultViews.push(m)}_matchCase(m){const E=m==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||E,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),E}_updateDefaultCases(m){if(this._defaultViews.length>0&&m!==this._defaultUsed){this._defaultUsed=m;for(const E of this._defaultViews)E.enforceState(m)}}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return d})(),wr=(()=>{class d{constructor(m,E,R){this.ngSwitch=R,R._addCase(),this._view=new fr(m,E)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(xr,9))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return d})(),zi=(()=>{class d{constructor(m,E,R){R._addDefault(new fr(m,E))}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(xr,9))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return d})();const Ni=new l.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),lo=new l.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Ri=(()=>{class d{constructor(m,E,R){this.locale=m,this.defaultTimezone=E,this.defaultOptions=R}transform(m,E,R,te){if(null==m||""===m||m!=m)return null;try{return mn(m,E??this.defaultOptions?.dateFormat??"mediumDate",te||this.locale,R??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ce){throw function dn(d,w){return new l.vHH(2100,!1)}()}}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.soG,16),l.Y36(Ni,24),l.Y36(lo,24))};static#t=this.\u0275pipe=l.Yjl({name:"date",type:d,pure:!0,standalone:!0})}return d})(),pi=(()=>{class d{transform(m){return JSON.stringify(m,null,2)}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275pipe=l.Yjl({name:"json",type:d,pure:!1,standalone:!0})}return d})(),Sr=(()=>{class d{static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275mod=l.oAB({type:d});static#n=this.\u0275inj=l.cJS({})}return d})();const jt="browser",Fe="server";function Ir(d){return d===Fe}let or=(()=>{class d{static#e=this.\u0275prov=(0,l.Yz7)({token:d,providedIn:"root",factory:()=>new sr((0,l.LFG)(B),window)})}return d})();class sr{constructor(w,m){this.document=w,this.window=m,this.offset=()=>[0,0]}setOffset(w){this.offset=Array.isArray(w)?()=>w:w}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(w){this.supportsScrolling()&&this.window.scrollTo(w[0],w[1])}scrollToAnchor(w){if(!this.supportsScrolling())return;const m=function nt(d,w){const m=d.getElementById(w)||d.getElementsByName(w)[0];if(m)return m;if("function"==typeof d.createTreeWalker&&d.body&&"function"==typeof d.body.attachShadow){const E=d.createTreeWalker(d.body,NodeFilter.SHOW_ELEMENT);let R=E.currentNode;for(;R;){const te=R.shadowRoot;if(te){const ce=te.getElementById(w)||te.querySelector(`[name="${w}"]`);if(ce)return ce}R=E.nextNode()}}return null}(this.document,w);m&&(this.scrollToElement(m),m.focus())}setHistoryScrollRestoration(w){this.supportsScrolling()&&(this.window.history.scrollRestoration=w)}scrollToElement(w){const m=w.getBoundingClientRect(),E=m.left+this.window.pageXOffset,R=m.top+this.window.pageYOffset,te=this.offset();this.window.scrollTo(E-te[0],R-te[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Lr{}},9862:(Ue,oe,S)=>{S.d(oe,{JF:()=>H,TP:()=>kt,WM:()=>xe,eN:()=>Q});var l=S(6689),v=S(2096),ee=S(7715),Z=S(5592),j=S(6328),B=S(2181),G=S(7398),A=S(4716),T=S(4664),N=S(6814);class V{}class ue{}class xe{constructor(L){this.normalizedNames=new Map,this.lazyUpdate=null,L?"string"==typeof L?this.lazyInit=()=>{this.headers=new Map,L.split("\n").forEach(U=>{const ie=U.indexOf(":");if(ie>0){const Se=U.slice(0,ie),ye=Se.toLowerCase(),be=U.slice(ie+1).trim();this.maybeSetNormalizedName(Se,ye),this.headers.has(ye)?this.headers.get(ye).push(be):this.headers.set(ye,[be])}})}:typeof Headers<"u"&&L instanceof Headers?(this.headers=new Map,L.forEach((U,ie)=>{this.setHeaderEntries(ie,U)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(L).forEach(([U,ie])=>{this.setHeaderEntries(U,ie)})}:this.headers=new Map}has(L){return this.init(),this.headers.has(L.toLowerCase())}get(L){this.init();const U=this.headers.get(L.toLowerCase());return U&&U.length>0?U[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(L){return this.init(),this.headers.get(L.toLowerCase())||null}append(L,U){return this.clone({name:L,value:U,op:"a"})}set(L,U){return this.clone({name:L,value:U,op:"s"})}delete(L,U){return this.clone({name:L,value:U,op:"d"})}maybeSetNormalizedName(L,U){this.normalizedNames.has(U)||this.normalizedNames.set(U,L)}init(){this.lazyInit&&(this.lazyInit instanceof xe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(L=>this.applyUpdate(L)),this.lazyUpdate=null))}copyFrom(L){L.init(),Array.from(L.headers.keys()).forEach(U=>{this.headers.set(U,L.headers.get(U)),this.normalizedNames.set(U,L.normalizedNames.get(U))})}clone(L){const U=new xe;return U.lazyInit=this.lazyInit&&this.lazyInit instanceof xe?this.lazyInit:this,U.lazyUpdate=(this.lazyUpdate||[]).concat([L]),U}applyUpdate(L){const U=L.name.toLowerCase();switch(L.op){case"a":case"s":let ie=L.value;if("string"==typeof ie&&(ie=[ie]),0===ie.length)return;this.maybeSetNormalizedName(L.name,U);const Se=("a"===L.op?this.headers.get(U):void 0)||[];Se.push(...ie),this.headers.set(U,Se);break;case"d":const ye=L.value;if(ye){let be=this.headers.get(U);if(!be)return;be=be.filter(Ut=>-1===ye.indexOf(Ut)),0===be.length?(this.headers.delete(U),this.normalizedNames.delete(U)):this.headers.set(U,be)}else this.headers.delete(U),this.normalizedNames.delete(U)}}setHeaderEntries(L,U){const ie=(Array.isArray(U)?U:[U]).map(ye=>ye.toString()),Se=L.toLowerCase();this.headers.set(Se,ie),this.maybeSetNormalizedName(L,Se)}forEach(L){this.init(),Array.from(this.normalizedNames.keys()).forEach(U=>L(this.normalizedNames.get(U),this.headers.get(U)))}}class Ve{encodeKey(L){return mt(L)}encodeValue(L){return mt(L)}decodeKey(L){return decodeURIComponent(L)}decodeValue(L){return decodeURIComponent(L)}}const ze=/%(\d[a-f0-9])/gi,Le={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function mt(Y){return encodeURIComponent(Y).replace(ze,(L,U)=>Le[U]??L)}function Xe(Y){return`${Y}`}class Ie{constructor(L={}){if(this.updates=null,this.cloneFrom=null,this.encoder=L.encoder||new Ve,L.fromString){if(L.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ht(Y,L){const U=new Map;return Y.length>0&&Y.replace(/^\?/,"").split("&").forEach(Se=>{const ye=Se.indexOf("="),[be,Ut]=-1==ye?[L.decodeKey(Se),""]:[L.decodeKey(Se.slice(0,ye)),L.decodeValue(Se.slice(ye+1))],tt=U.get(be)||[];tt.push(Ut),U.set(be,tt)}),U}(L.fromString,this.encoder)}else L.fromObject?(this.map=new Map,Object.keys(L.fromObject).forEach(U=>{const ie=L.fromObject[U],Se=Array.isArray(ie)?ie.map(Xe):[Xe(ie)];this.map.set(U,Se)})):this.map=null}has(L){return this.init(),this.map.has(L)}get(L){this.init();const U=this.map.get(L);return U?U[0]:null}getAll(L){return this.init(),this.map.get(L)||null}keys(){return this.init(),Array.from(this.map.keys())}append(L,U){return this.clone({param:L,value:U,op:"a"})}appendAll(L){const U=[];return Object.keys(L).forEach(ie=>{const Se=L[ie];Array.isArray(Se)?Se.forEach(ye=>{U.push({param:ie,value:ye,op:"a"})}):U.push({param:ie,value:Se,op:"a"})}),this.clone(U)}set(L,U){return this.clone({param:L,value:U,op:"s"})}delete(L,U){return this.clone({param:L,value:U,op:"d"})}toString(){return this.init(),this.keys().map(L=>{const U=this.encoder.encodeKey(L);return this.map.get(L).map(ie=>U+"="+this.encoder.encodeValue(ie)).join("&")}).filter(L=>""!==L).join("&")}clone(L){const U=new Ie({encoder:this.encoder});return U.cloneFrom=this.cloneFrom||this,U.updates=(this.updates||[]).concat(L),U}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(L=>this.map.set(L,this.cloneFrom.map.get(L))),this.updates.forEach(L=>{switch(L.op){case"a":case"s":const U=("a"===L.op?this.map.get(L.param):void 0)||[];U.push(Xe(L.value)),this.map.set(L.param,U);break;case"d":if(void 0===L.value){this.map.delete(L.param);break}{let ie=this.map.get(L.param)||[];const Se=ie.indexOf(Xe(L.value));-1!==Se&&ie.splice(Se,1),ie.length>0?this.map.set(L.param,ie):this.map.delete(L.param)}}}),this.cloneFrom=this.updates=null)}}class $e{constructor(){this.map=new Map}set(L,U){return this.map.set(L,U),this}get(L){return this.map.has(L)||this.map.set(L,L.defaultValue()),this.map.get(L)}delete(L){return this.map.delete(L),this}has(L){return this.map.has(L)}keys(){return this.map.keys()}}function Te(Y){return typeof ArrayBuffer<"u"&&Y instanceof ArrayBuffer}function ve(Y){return typeof Blob<"u"&&Y instanceof Blob}function Ze(Y){return typeof FormData<"u"&&Y instanceof FormData}class De{constructor(L,U,ie,Se){let ye;if(this.url=U,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=L.toUpperCase(),function Ee(Y){switch(Y){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Se?(this.body=void 0!==ie?ie:null,ye=Se):ye=ie,ye&&(this.reportProgress=!!ye.reportProgress,this.withCredentials=!!ye.withCredentials,ye.responseType&&(this.responseType=ye.responseType),ye.headers&&(this.headers=ye.headers),ye.context&&(this.context=ye.context),ye.params&&(this.params=ye.params)),this.headers||(this.headers=new xe),this.context||(this.context=new $e),this.params){const be=this.params.toString();if(0===be.length)this.urlWithParams=U;else{const Ut=U.indexOf("?");this.urlWithParams=U+(-1===Ut?"?":Utan.set(nn,L.setHeaders[nn]),tt)),L.setParams&&(cn=Object.keys(L.setParams).reduce((an,nn)=>an.set(nn,L.setParams[nn]),cn)),new De(U,ie,ye,{params:cn,headers:tt,context:jn,reportProgress:Ut,responseType:Se,withCredentials:be})}}var Gt=function(Y){return Y[Y.Sent=0]="Sent",Y[Y.UploadProgress=1]="UploadProgress",Y[Y.ResponseHeader=2]="ResponseHeader",Y[Y.DownloadProgress=3]="DownloadProgress",Y[Y.Response=4]="Response",Y[Y.User=5]="User",Y}(Gt||{});class He{constructor(L,U=200,ie="OK"){this.headers=L.headers||new xe,this.status=void 0!==L.status?L.status:U,this.statusText=L.statusText||ie,this.url=L.url||null,this.ok=this.status>=200&&this.status<300}}class Qe extends He{constructor(L={}){super(L),this.type=Gt.ResponseHeader}clone(L={}){return new Qe({headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class zt extends He{constructor(L={}){super(L),this.type=Gt.Response,this.body=void 0!==L.body?L.body:null}clone(L={}){return new zt({body:void 0!==L.body?L.body:this.body,headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class Mt extends He{constructor(L){super(L,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${L.url||"(unknown url)"}`:`Http failure response for ${L.url||"(unknown url)"}: ${L.status} ${L.statusText}`,this.error=L.error||null}}function sn(Y,L){return{body:L,headers:Y.headers,context:Y.context,observe:Y.observe,params:Y.params,reportProgress:Y.reportProgress,responseType:Y.responseType,withCredentials:Y.withCredentials}}let Q=(()=>{class Y{constructor(U){this.handler=U}request(U,ie,Se={}){let ye;if(U instanceof De)ye=U;else{let tt,cn;tt=Se.headers instanceof xe?Se.headers:new xe(Se.headers),Se.params&&(cn=Se.params instanceof Ie?Se.params:new Ie({fromObject:Se.params})),ye=new De(U,ie,void 0!==Se.body?Se.body:null,{headers:tt,context:Se.context,params:cn,reportProgress:Se.reportProgress,responseType:Se.responseType||"json",withCredentials:Se.withCredentials})}const be=(0,v.of)(ye).pipe((0,j.b)(tt=>this.handler.handle(tt)));if(U instanceof De||"events"===Se.observe)return be;const Ut=be.pipe((0,B.h)(tt=>tt instanceof zt));switch(Se.observe||"body"){case"body":switch(ye.responseType){case"arraybuffer":return Ut.pipe((0,G.U)(tt=>{if(null!==tt.body&&!(tt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return tt.body}));case"blob":return Ut.pipe((0,G.U)(tt=>{if(null!==tt.body&&!(tt.body instanceof Blob))throw new Error("Response is not a Blob.");return tt.body}));case"text":return Ut.pipe((0,G.U)(tt=>{if(null!==tt.body&&"string"!=typeof tt.body)throw new Error("Response is not a string.");return tt.body}));default:return Ut.pipe((0,G.U)(tt=>tt.body))}case"response":return Ut;default:throw new Error(`Unreachable: unhandled observe type ${Se.observe}}`)}}delete(U,ie={}){return this.request("DELETE",U,ie)}get(U,ie={}){return this.request("GET",U,ie)}head(U,ie={}){return this.request("HEAD",U,ie)}jsonp(U,ie){return this.request("JSONP",U,{params:(new Ie).append(ie,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(U,ie={}){return this.request("OPTIONS",U,ie)}patch(U,ie,Se={}){return this.request("PATCH",U,sn(Se,ie))}post(U,ie,Se={}){return this.request("POST",U,sn(Se,ie))}put(U,ie,Se={}){return this.request("PUT",U,sn(Se,ie))}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(V))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();function Lt(Y,L){return L(Y)}function ke(Y,L){return(U,ie)=>L.intercept(U,{handle:Se=>Y(Se,ie)})}const kt=new l.OlP(""),rt=new l.OlP(""),At=new l.OlP("");function Nt(){let Y=null;return(L,U)=>{null===Y&&(Y=((0,l.f3M)(kt,{optional:!0})??[]).reduceRight(ke,Lt));const ie=(0,l.f3M)(l.HDt),Se=ie.add();return Y(L,U).pipe((0,A.x)(()=>ie.remove(Se)))}}let W=(()=>{class Y extends V{constructor(U,ie){super(),this.backend=U,this.injector=ie,this.chain=null,this.pendingTasks=(0,l.f3M)(l.HDt)}handle(U){if(null===this.chain){const Se=Array.from(new Set([...this.injector.get(rt),...this.injector.get(At,[])]));this.chain=Se.reduceRight((ye,be)=>function vt(Y,L,U){return(ie,Se)=>U.runInContext(()=>L(ie,ye=>Y(ye,Se)))}(ye,be,this.injector),Lt)}const ie=this.pendingTasks.add();return this.chain(U,Se=>this.backend.handle(Se)).pipe((0,A.x)(()=>this.pendingTasks.remove(ie)))}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(ue),l.LFG(l.lqb))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();const Kn=/^\)\]\}',?\n/;let _n=(()=>{class Y{constructor(U){this.xhrFactory=U}handle(U){if("JSONP"===U.method)throw new l.vHH(-2800,!1);const ie=this.xhrFactory;return(ie.\u0275loadImpl?(0,ee.D)(ie.\u0275loadImpl()):(0,v.of)(null)).pipe((0,T.w)(()=>new Z.y(ye=>{const be=ie.build();if(be.open(U.method,U.urlWithParams),U.withCredentials&&(be.withCredentials=!0),U.headers.forEach((ft,je)=>be.setRequestHeader(ft,je.join(","))),U.headers.has("Accept")||be.setRequestHeader("Accept","application/json, text/plain, */*"),!U.headers.has("Content-Type")){const ft=U.detectContentTypeHeader();null!==ft&&be.setRequestHeader("Content-Type",ft)}if(U.responseType){const ft=U.responseType.toLowerCase();be.responseType="json"!==ft?ft:"text"}const Ut=U.serializeBody();let tt=null;const cn=()=>{if(null!==tt)return tt;const ft=be.statusText||"OK",je=new xe(be.getAllResponseHeaders()),In=function Mn(Y){return"responseURL"in Y&&Y.responseURL?Y.responseURL:/^X-Request-URL:/m.test(Y.getAllResponseHeaders())?Y.getResponseHeader("X-Request-URL"):null}(be)||U.url;return tt=new Qe({headers:je,status:be.status,statusText:ft,url:In}),tt},jn=()=>{let{headers:ft,status:je,statusText:In,url:dr}=cn(),rn=null;204!==je&&(rn=typeof be.response>"u"?be.responseText:be.response),0===je&&(je=rn?200:0);let Ln=je>=200&&je<300;if("json"===U.responseType&&"string"==typeof rn){const ln=rn;rn=rn.replace(Kn,"");try{rn=""!==rn?JSON.parse(rn):null}catch(ir){rn=ln,Ln&&(Ln=!1,rn={error:ir,text:rn})}}Ln?(ye.next(new zt({body:rn,headers:ft,status:je,statusText:In,url:dr||void 0})),ye.complete()):ye.error(new Mt({error:rn,headers:ft,status:je,statusText:In,url:dr||void 0}))},an=ft=>{const{url:je}=cn(),In=new Mt({error:ft,status:be.status||0,statusText:be.statusText||"Unknown Error",url:je||void 0});ye.error(In)};let nn=!1;const Hn=ft=>{nn||(ye.next(cn()),nn=!0);let je={type:Gt.DownloadProgress,loaded:ft.loaded};ft.lengthComputable&&(je.total=ft.total),"text"===U.responseType&&be.responseText&&(je.partialText=be.responseText),ye.next(je)},pn=ft=>{let je={type:Gt.UploadProgress,loaded:ft.loaded};ft.lengthComputable&&(je.total=ft.total),ye.next(je)};return be.addEventListener("load",jn),be.addEventListener("error",an),be.addEventListener("timeout",an),be.addEventListener("abort",an),U.reportProgress&&(be.addEventListener("progress",Hn),null!==Ut&&be.upload&&be.upload.addEventListener("progress",pn)),be.send(Ut),ye.next({type:Gt.Sent}),()=>{be.removeEventListener("error",an),be.removeEventListener("abort",an),be.removeEventListener("load",jn),be.removeEventListener("timeout",an),U.reportProgress&&(be.removeEventListener("progress",Hn),null!==Ut&&be.upload&&be.upload.removeEventListener("progress",pn)),be.readyState!==be.DONE&&be.abort()}})))}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(N.JF))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();const vn=new l.OlP("XSRF_ENABLED"),Ot=new l.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),st=new l.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class zr{}let Bn=(()=>{class Y{constructor(U,ie,Se){this.doc=U,this.platform=ie,this.cookieName=Se,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const U=this.doc.cookie||"";return U!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,N.Mx)(U,this.cookieName),this.lastCookieString=U),this.lastToken}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(N.K0),l.LFG(l.Lbi),l.LFG(Ot))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();function xt(Y,L){const U=Y.url.toLowerCase();if(!(0,l.f3M)(vn)||"GET"===Y.method||"HEAD"===Y.method||U.startsWith("http://")||U.startsWith("https://"))return L(Y);const ie=(0,l.f3M)(zr).getToken(),Se=(0,l.f3M)(st);return null!=ie&&!Y.headers.has(Se)&&(Y=Y.clone({headers:Y.headers.set(Se,ie)})),L(Y)}var tn=function(Y){return Y[Y.Interceptors=0]="Interceptors",Y[Y.LegacyInterceptors=1]="LegacyInterceptors",Y[Y.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Y[Y.NoXsrfProtection=3]="NoXsrfProtection",Y[Y.JsonpSupport=4]="JsonpSupport",Y[Y.RequestsMadeViaParent=5]="RequestsMadeViaParent",Y[Y.Fetch=6]="Fetch",Y}(tn||{});function Fn(...Y){const L=[Q,_n,W,{provide:V,useExisting:W},{provide:ue,useExisting:_n},{provide:rt,useValue:xt,multi:!0},{provide:vn,useValue:!0},{provide:zr,useClass:Bn}];for(const U of Y)L.push(...U.\u0275providers);return(0,l.MR2)(L)}const Sn=new l.OlP("LEGACY_INTERCEPTOR_FN");function nr(){return function Ne(Y,L){return{\u0275kind:Y,\u0275providers:L}}(tn.LegacyInterceptors,[{provide:Sn,useFactory:Nt},{provide:rt,useExisting:Sn,multi:!0}])}let H=(()=>{class Y{static#e=this.\u0275fac=function(ie){return new(ie||Y)};static#t=this.\u0275mod=l.oAB({type:Y});static#n=this.\u0275inj=l.cJS({providers:[Fn(nr())]})}return Y})()},6689:(Ue,oe,S)=>{S.d(oe,{tb:()=>Bd,AFp:()=>Ih,ip1:()=>wv,hGG:()=>IS,z2F:()=>Ds,Ojb:()=>c_,sBO:()=>cS,Sil:()=>TM,EJc:()=>IM,Xts:()=>Qs,SBq:()=>na,lqb:()=>wi,qLn:()=>to,vpe:()=>Mi,XFs:()=>ct,OlP:()=>Ne,zs3:()=>si,ZZ4:()=>Kd,aQg:()=>Yd,soG:()=>Zl,YKP:()=>Em,h0i:()=>Io,PXZ:()=>tS,R0b:()=>$n,FiY:()=>Ya,Lbi:()=>fc,g9A:()=>bh,Qsj:()=>S_,FYo:()=>Rh,JOm:()=>nl,tp0:()=>Za,Rgc:()=>_a,dDg:()=>JM,eoX:()=>Pv,GfV:()=>xh,s_b:()=>Kl,ifc:()=>pn,VuI:()=>kS,MMx:()=>Mm,Lck:()=>pw,eFA:()=>Fv,G48:()=>uS,Gpc:()=>$e,f3M:()=>ye,$WT:()=>qn,MR2:()=>oc,_c5:()=>SS,qFp:()=>US,rg0:()=>It,c2e:()=>Mv,zSh:()=>lc,HDt:()=>Sv,wAp:()=>gs,vHH:()=>De,lri:()=>Tv,rWj:()=>Ov,cg1:()=>dd,kL8:()=>Kg,dqk:()=>xt,Z0I:()=>Rt,eJc:()=>Pd,QGY:()=>Qc,F4k:()=>eg,RDi:()=>PD,AaK:()=>Xe,qOj:()=>jc,Xq5:()=>Rp,TTD:()=>yr,_Bn:()=>Cm,jDz:()=>Sm,xp6:()=>ip,uIk:()=>Gc,Tol:()=>_g,ekj:()=>ad,Suo:()=>tv,Xpm:()=>di,lG2:()=>pi,Yz7:()=>he,cJS:()=>yt,oAB:()=>fi,Yjl:()=>Ki,Y36:()=>ns,_UZ:()=>Xc,BQk:()=>Ll,ynx:()=>Fl,qZA:()=>xl,TgZ:()=>Rl,EpF:()=>Qp,n5z:()=>Df,SDv:()=>vm,QtT:()=>ym,N_p:()=>gd,pQV:()=>md,Zx4:()=>Dm,tHW:()=>pd,LFG:()=>ie,$8M:()=>Nu,$Z:()=>sp,NdJ:()=>ed,CRH:()=>nv,oxw:()=>og,ALo:()=>Um,lcZ:()=>$m,xi3:()=>Bm,Q6J:()=>qc,s9C:()=>td,MGl:()=>kl,hYB:()=>nd,DdM:()=>Nm,VKq:()=>Rm,iGM:()=>Qm,MAs:()=>Zp,KtG:()=>_u,CHM:()=>Fa,P3R:()=>yh,Udp:()=>sd,YNc:()=>Wp,W1O:()=>sv,_uU:()=>bg,Oqu:()=>ud,hij:()=>$l,AsE:()=>cd,Gf:()=>ev});var l=S(8645),v=S(7394),ee=S(5592),Z=S(7537),j=S(4829),B=S(6232),G=S(4564),A=S(7715),N=S(5619),V=S(2096),ue=S(305),xe=S(9360);function Pe(e={}){const{connector:t=(()=>new l.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,u,h,D=0,M=!1,O=!1;const k=()=>{u?.unsubscribe(),u=void 0},z=()=>{k(),s=h=void 0,M=O=!1},ae=()=>{const ge=s;z(),ge?.unsubscribe()};return(0,xe.e)((ge,Re)=>{D++,!O&&!M&&k();const We=h=h??t();Re.add(()=>{D--,0===D&&!O&&!M&&(u=Ve(ae,i))}),We.subscribe(Re),!s&&D>0&&(s=new ue.Hp({next:de=>We.next(de),error:de=>{O=!0,k(),u=Ve(z,n,de),We.error(de)},complete:()=>{M=!0,k(),u=Ve(z,r),We.complete()}}),(0,j.Xf)(ge).subscribe(s))})(o)}}function Ve(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new ue.Hp({next:()=>{r.unsubscribe(),e()}});return(0,j.Xf)(t(...n)).subscribe(r)}var ht=S(4664),ze=S(3997);function Le(e){for(let t in e)if(e[t]===Le)return t;throw Error("Could not find renamed property on target object.")}function mt(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Xe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Xe).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 Ie(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ce=Le({__forward_ref__:Le});function $e(e){return e.__forward_ref__=$e,e.toString=function(){return Xe(this())},e}function Ee(e){return Te(e)?e():e}function Te(e){return"function"==typeof e&&e.hasOwnProperty(Ce)&&e.__forward_ref__===$e}function ve(e){return e&&!!e.\u0275providers}const Ye="https://g.co/ng/security#xss";class De extends Error{constructor(t,n){super(function Gt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function He(e){return"string"==typeof e?e:null==e?"":String(e)}function Q(e,t){throw new De(-201,!1)}function W(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function he(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Tt(e){return Je(e,Kn)||Je(e,_n)}function Rt(e){return null!==Tt(e)}function Je(e,t){return e.hasOwnProperty(t)?e[t]:null}function mn(e){return e&&(e.hasOwnProperty(Mn)||e.hasOwnProperty(vn))?e[Mn]:null}const Kn=Le({\u0275prov:Le}),Mn=Le({\u0275inj:Le}),_n=Le({ngInjectableDef:Le}),vn=Le({ngInjectorDef:Le});var ct=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}(ct||{});let Ot;function st(e){const t=Ot;return Ot=e,t}function zr(e,t,n){const r=Tt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ct.Optional?null:void 0!==t?t:void Q(Xe(e))}const xt=globalThis;class Ne{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=he({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const le={},Ae="__NG_DI_FLAG__",Be="ngTempTokenPath",_t=/\n/gm,yn="__source";let Cn;function L(e){const t=Cn;return Cn=e,t}function U(e,t=ct.Default){if(void 0===Cn)throw new De(-203,!1);return null===Cn?zr(e,void 0,t):Cn.get(e,t&ct.Optional?null:void 0,t)}function ie(e,t=ct.Default){return(function ui(){return Ot}()||U)(Ee(e),t)}function ye(e,t=ct.Default){return ie(e,be(t))}function be(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ut(e){const t=[];for(let n=0;nt){s=o-1;break}}}for(;oo?"":i[O+1].toLowerCase();const z=8&r?k:null;if(z&&-1!==Kr(z,D,0)||2&r&&D!==k){if(un(r))return!1;s=!0}}}}else{if(!s&&!un(r)&&!un(h))return!1;if(s&&un(h))continue;s=!1,r=h|1&r}}return un(r)||s}function un(e){return 0==(1&e)}function dn(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+u+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!un(s)&&(t+=Oi(o,i),i=""),r=s,o=o||!un(r);n++}return""!==i&&(t+=Oi(o,i)),t}function di(e){return nn(()=>{const t=Jn(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Hn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||pn.Emulated,styles:e.styles||je,_:null,schemas:e.schemas||null,tView:null,id:""};Xr(n);const r=e.dependencies;return n.directiveDefs=Mr(r,!1),n.pipeDefs=Mr(r,!0),n.id=function Sr(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 i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function lo(e){return dt(e)||on(e)}function Ri(e){return null!==e}function fi(e){return nn(()=>({type:e.type,bootstrap:e.bootstrap||je,declarations:e.declarations||je,imports:e.imports||je,exports:e.exports||je,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hi(e,t){if(null==e)return ft;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}function pi(e){return nn(()=>{const t=Jn(e);return Xr(t),t})}function Ki(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 dt(e){return e[In]||null}function on(e){return e[dr]||null}function gn(e){return e[rn]||null}function qn(e){const t=dt(e)||on(e)||gn(e);return null!==t&&t.standalone}function Qt(e,t){const n=e[Ln]||null;if(!n&&!0===t)throw new Error(`Type ${Xe(e)} does not have '\u0275mod' property.`);return n}function Jn(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||ft,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||je,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hi(e.inputs,t),outputs:hi(e.outputs)}}function Xr(e){e.features?.forEach(t=>t(e))}function Mr(e,t){if(!e)return null;const n=t?gn:lo;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Ri)}const jt=0,Fe=1,it=2,Ft=3,Pn=4,Ir=5,fn=6,Nn=7,qt=8,or=9,sr=10,nt=11,gi=12,Lr=13,pr=14,Wt=15,kr=16,gr=17,Gn=18,Vr=19,Ur=20,zn=21,mr=22,Qr=23,xi=24,Ct=25,mi=1,co=2,ar=7,$r=9,Dn=11;function Wn(e){return Array.isArray(e)&&"object"==typeof e[mi]}function An(e){return Array.isArray(e)&&!0===e[mi]}function Li(e){return 0!=(4&e.flags)}function _(e){return e.componentOffset>-1}function C(e){return 1==(1&e.flags)}function g(e){return!!e.template}function b(e){return 0!=(512&e[it])}function vi(e,t){return e.hasOwnProperty(ln)?e[ln]:null}let En=null,fo=!1;function kn(e){const t=En;return En=e,t}const To={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Oo(e){if(!Zi(e)||e.dirty){if(!e.producerMustRecompute(e)&&!go(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function As(e){e.dirty=!0,function bs(e){if(void 0===e.liveConsumerNode)return;const t=fo;fo=!0;try{for(const n of e.liveConsumerNode)n.dirty||As(n)}finally{fo=t}}(e),e.consumerMarkedDirty?.(e)}function Vi(e){return e&&(e.nextProducerIndex=0),kn(e)}function po(e,t){if(kn(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Zi(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function go(e){Ui(e);for(let t=0;t0}function Ui(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let w=null;function It(e){const t=kn(null);try{return e()}finally{kn(t)}}const Tr=()=>{},Or=(()=>({...To,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Tr}))();class Vn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function yr(){return Pr}function Pr(e){return e.type.prototype.ngOnChanges&&(e.setInput=fu),_i}function _i(){const e=Aa(this),t=e?.current;if(t){const n=e.previous;if(n===ft)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fu(e,t,n,r){const i=this.declaredInputs[n],o=Aa(e)||function No(e,t){return e[ba]=t}(e,{previous:ft,current:null}),s=o.current||(o.current={}),u=o.previous,h=u[i];s[i]=new Vn(h&&h.currentValue,t,u===ft),e[r]=t}yr.ngInherit=!0;const ba="__ngSimpleChanges__";function Aa(e){return e[ba]||null}const Xn=function(e,t,n){};function Jt(e){for(;Array.isArray(e);)e=e[jt];return e}function Ro(e,t){return Jt(t[e])}function Xt(e,t){return Jt(t[e.index])}function Rs(e,t){return e.data[t]}function ti(e,t){return e[t]}function Qn(e,t){const n=t[e];return Wn(n)?n:n[jt]}function $i(e,t){return null==t?null:e[t]}function Pa(e){e[gr]=0}function xs(e){1024&e[it]||(e[it]|=1024,mu(e,1))}function Fs(e){1024&e[it]&&(e[it]&=-1025,mu(e,-1))}function mu(e,t){let n=e[Ft];if(null===n)return;n[Ir]+=t;let r=n;for(n=n[Ft];null!==n&&(1===t&&1===r[Ir]||-1===t&&0===r[Ir]);)n[Ir]+=t,r=n,n=n[Ft]}const ot={lFrame:we(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function xo(){return ot.bindingsEnabled}function fe(){return ot.lFrame.lView}function bt(){return ot.lFrame.tView}function Fa(e){return ot.lFrame.contextLView=e,e[qt]}function _u(e){return ot.lFrame.contextLView=null,e}function Tn(){let e=La();for(;null!==e&&64===e.type;)e=e.parent;return e}function La(){return ot.lFrame.currentTNode}function vo(){const e=ot.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function jr(e,t){const n=ot.lFrame;n.currentTNode=e,n.isParent=t}function ks(){return ot.lFrame.isParent}function Vs(){ot.lFrame.isParent=!1}function Un(){const e=ot.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ri(){return ot.lFrame.bindingIndex}function yo(){return ot.lFrame.bindingIndex++}function Ci(e){const t=ot.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function wu(e){ot.lFrame.inI18n=e}function rf(e,t){const n=ot.lFrame;n.bindingIndex=n.bindingRootIndex=e,f(t)}function f(e){ot.lFrame.currentDirectiveIndex=e}function p(){return ot.lFrame.currentQueryIndex}function y(e){ot.lFrame.currentQueryIndex=e}function I(e){const t=e[Fe];return 2===t.type?t.declTNode:1===t.type?e[fn]:null}function P(e,t,n){if(n&ct.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&ct.Host||(i=I(o),null===i||(o=o[pr],10&i.type))););if(null===i)return!1;t=i,e=o}const r=ot.lFrame=K();return r.currentTNode=t,r.lView=e,!0}function X(e){const t=K(),n=e[Fe];ot.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function K(){const e=ot.lFrame,t=null===e?null:e.child;return null===t?we(e):t}function we(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 at(){const e=ot.lFrame;return ot.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ht=at;function St(){const e=at();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 wn(){return ot.lFrame.selectedIndex}function oi(e){ot.lFrame.selectedIndex=e}function Kt(){const e=ot.lFrame;return Rs(e.tView,e.selectedIndex)}let af=!0;function Va(){return af}function Qi(e){af=e}function Ua(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[gr]+=65536),(u>13>16&&(3&e[it])===t&&(e[it]+=8192,uf(u,o)):uf(u,o)}const Fo=-1;class Us{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function bu(e){return e!==Fo}function $s(e){return 32767&e}function Bs(e,t){let n=function my(e){return e>>16}(e),r=t;for(;n>0;)r=r[pr],n--;return r}let Au=!0;function ja(e){const t=Au;return Au=e,t}const cf=255,df=5;let vy=0;const Ei={};function Ha(e,t){const n=ff(e,t);if(-1!==n)return n;const r=t[Fe];r.firstCreatePass&&(e.injectorIndex=t.length,Tu(r.data,e),Tu(t,null),Tu(r.blueprint,null));const i=Ga(e,t),o=e.injectorIndex;if(bu(i)){const s=$s(i),u=Bs(i,t),h=u[Fe].data;for(let D=0;D<8;D++)t[o+D]=u[s+D]|h[s+D]}return t[o+8]=i,o}function Tu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ff(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ga(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=_f(i),null===r)return Fo;if(n++,i=i[pr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Fo}function Ou(e,t,n){!function yy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ir)&&(r=n[ir]),null==r&&(r=n[ir]=vy++);const i=r&cf;t.data[e+(i>>df)]|=1<=0?t&cf:wy:t}(n);if("function"==typeof o){if(!P(t,e,r))return r&ct.Host?hf(i,0,r):pf(t,n,r,i);try{let s;if(s=o(r),null!=s||r&ct.Optional)return s;Q()}finally{Ht()}}else if("number"==typeof o){let s=null,u=ff(e,t),h=Fo,D=r&ct.Host?t[Wt][fn]:null;for((-1===u||r&ct.SkipSelf)&&(h=-1===u?Ga(e,t):t[u+8],h!==Fo&&yf(r,!1)?(s=t[Fe],u=$s(h),t=Bs(h,t)):u=-1);-1!==u;){const M=t[Fe];if(vf(o,u,M.data)){const O=_y(u,t,n,s,r,D);if(O!==Ei)return O}h=t[u+8],h!==Fo&&yf(r,t[Fe].data[u+8]===D)&&vf(o,u,t)?(s=M,u=$s(h),t=Bs(h,t)):u=-1}}return i}function _y(e,t,n,r,i,o){const s=t[Fe],u=s.data[e+8],M=za(u,s,n,null==r?_(u)&&Au:r!=s&&0!=(3&u.type),i&ct.Host&&o===u);return null!==M?_o(t,s,M,u):Ei}function za(e,t,n,r,i){const o=e.providerIndexes,s=t.data,u=1048575&o,h=e.directiveStart,M=o>>20,k=i?u+M:e.directiveEnd;for(let z=r?u:u+M;z=h&&ae.type===n)return z}if(i){const z=s[h];if(z&&g(z)&&z.type===n)return h}return null}function _o(e,t,n,r){let i=e[n];const o=t.data;if(function hy(e){return e instanceof Us}(i)){const s=i;s.resolving&&function zt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new De(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Qe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():He(e)}(o[n]));const u=ja(s.canSeeViewProviders);s.resolving=!0;const D=s.injectImpl?st(s.injectImpl):null;P(e,r,ct.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function dy(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=Pr(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==D&&st(D),ja(u),s.resolving=!1,Ht()}}return i}function vf(e,t,n){return!!(n[t+(e>>df)]&1<{const t=e.prototype.constructor,n=t[ln]||Pu(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[ln]||Pu(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Pu(e){return Te(e)?()=>{const t=Pu(Ee(e));return t&&t()}:vi(e)}function _f(e){const t=e[Fe],n=t.type;return 2===n?t.declTNode:1===n?e[fn]:null}function Nu(e){return function Dy(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{const r=function Ru(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return u.annotation=s,u;function u(h,D,M){const O=h.hasOwnProperty(ko)?h[ko]:Object.defineProperty(h,ko,{value:[]})[ko];for(;O.length<=M;)O.push(null);return(O[M]=O[M]||[]).push(s),h}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Bo(e,t){e.forEach(n=>Array.isArray(n)?Bo(n,t):t(n))}function Ef(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nr(e,t,n){let r=jo(e,t);return r>=0?e[1|r]=n:(r=~r,function Py(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function xu(e,t){const n=jo(e,t);if(n>=0)return e[1|n]}function jo(e,t){return function wf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<t?i=o:r=o+1}return~(i<|^->||--!>|)/g,eD="\u200b$1\u200b";const Uu=new Map;let tD=0;const Bu="__ngContext__";function er(e,t){Wn(t)?(e[Bu]=t[Vr],function rD(e){Uu.set(e[Vr],e)}(t)):e[Bu]=t}let ju;function Hu(e,t){return ju(e,t)}function Ks(e){const t=e[Ft];return An(t)?t[Ft]:t}function Hf(e){return zf(e[gi])}function Gf(e){return zf(e[Pn])}function zf(e){for(;null!==e&&!An(e);)e=e[Pn];return e}function zo(e,t,n,r,i){if(null!=r){let o,s=!1;An(r)?o=r:Wn(r)&&(s=!0,r=r[jt]);const u=Jt(r);0===e&&null!==n?null==i?Zf(t,n,u):Co(t,n,u,i||null,!0):1===e&&null!==n?Co(t,n,u,i||null,!0):2===e?ll(t,u,s):3===e&&t.destroyNode(u),null!=o&&function SD(e,t,n,r,i){const o=n[ar];o!==Jt(n)&&zo(t,e,r,o,i);for(let u=Dn;ut.replace(Qy,eD))}(t))}function il(e,t,n){return e.createElement(t,n)}function Kf(e,t){const n=e[$r],r=n.indexOf(t);Fs(t),n.splice(r,1)}function ol(e,t){if(e.length<=Dn)return;const n=Dn+t,r=e[n];if(r){const i=r[kr];null!==i&&i!==e&&Kf(i,r),t>0&&(e[n-1][Pn]=r[Pn]);const o=Wa(e,Dn+t);!function pD(e,t){Zs(e,t,t[nt],2,null,null),t[jt]=null,t[fn]=null}(r[Fe],r);const s=o[Gn];null!==s&&s.detachView(o[Fe]),r[Ft]=null,r[Pn]=null,r[it]&=-129}return r}function zu(e,t){if(!(256&t[it])){const n=t[nt];t[Qr]&&Po(t[Qr]),t[xi]&&Po(t[xi]),n.destroyNode&&Zs(e,t,n,3,null,null),function vD(e){let t=e[gi];if(!t)return Wu(e[Fe],e);for(;t;){let n=null;if(Wn(t))n=t[gi];else{const r=t[Dn];r&&(n=r)}if(!n){for(;t&&!t[Pn]&&t!==e;)Wn(t)&&Wu(t[Fe],t),t=t[Ft];null===t&&(t=e),Wn(t)&&Wu(t[Fe],t),n=t&&t[Pn]}t=n}}(t)}}function Wu(e,t){if(!(256&t[it])){t[it]&=-129,t[it]|=256,function CD(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[Nn]=null);const i=t[zn];if(null!==i){t[zn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===pn.None||o===pn.Emulated)return null}return Xt(r,n)}}function Co(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Zf(e,t,n){e.appendChild(t,n)}function qf(e,t,n,r,i){null!==r?Co(e,t,n,r,i):Zf(e,t,n)}function sl(e,t){return e.parentNode(t)}function Xf(e,t,n){return 40&e.type?Xt(e,n):null}let Yu,ul,Xu,cl,Qf=Xf;function eh(e,t){Qf=e,Yu=t}function al(e,t,n,r){const i=function Ku(e,t,n){return Yf(e,t.parent,n)}(e,r,t),o=t[nt],u=function Jf(e,t,n){return Qf(e,t,n)}(r.parent||t[fn],r,t);if(null!=i)if(Array.isArray(n))for(let h=0;he,createScript:e=>e,createScriptURL:e=>e})}catch{}return ul}()?.createHTML(e)||e}function PD(e){Xu=e}function Ko(){if(void 0!==Xu)return Xu;if(typeof document<"u")return document;throw new De(210,!1)}function lh(e){return function Qu(){if(void 0===cl&&(cl=null,xt.trustedTypes))try{cl=xt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return cl}()?.createScriptURL(e)||e}class uh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ye})`}}function eo(e){return e instanceof uh?e.changingThisBreaksApplicationSecurity:e}function qs(e,t){const n=function kD(e){return e instanceof uh&&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 ${Ye})`)}return n===t}class VD{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Wo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class UD{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Wo(t),n}}const BD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ec(e){return(e=String(e)).match(BD)?e:"unsafe:"+e}function Bi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Js(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const dh=Bi("area,br,col,hr,img,wbr"),fh=Bi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hh=Bi("rp,rt"),tc=Js(dh,Js(fh,Bi("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")),Js(hh,Bi("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")),Js(hh,fh)),nc=Bi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ph=Js(nc,Bi("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"),Bi("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"));var Yo=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}(Yo||{});function mh(e){const t=Xs();return t?t.sanitize(Yo.URL,e)||"":qs(e,"URL")?eo(e):ec(He(e))}function vh(e){const t=Xs();if(t)return lh(t.sanitize(Yo.RESOURCE_URL,e)||"");if(qs(e,"ResourceURL"))return lh(eo(e));throw new De(904,!1)}function yh(e,t,n){return function QD(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?vh:mh}(t,n)(e)}function Xs(){const e=fe();return e&&e[sr].sanitizer}const Qs=new Ne("ENVIRONMENT_INITIALIZER"),Dh=new Ne("INJECTOR",-1),_h=new Ne("INJECTOR_DEF_TYPES");class ic{get(t,n=le){if(n===le){const r=new Error(`NullInjectorError: No provider for ${Xe(t)}!`);throw r.name="NullInjectorError",r}return n}}function oc(e){return{\u0275providers:e}}function e_(...e){return{\u0275providers:Ch(0,e),\u0275fromNgModule:!0}}function Ch(e,...t){const n=[],r=new Set;let i;const o=s=>{n.push(s)};return Bo(t,s=>{const u=s;fl(u,o,[],r)&&(i||=[],i.push(u))}),void 0!==i&&Eh(i,o),n}function Eh(e,t){for(let n=0;n{t(o,r)})}}function fl(e,t,n,r){if(!(e=Ee(e)))return!1;let i=null,o=mn(e);const s=!o&&dt(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const h=e.ngModule;if(o=mn(h),!o)return!1;i=h}const u=r.has(i);if(s){if(u)return!1;if(r.add(i),s.dependencies){const h="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const D of h)fl(D,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!u){let D;r.add(i);try{Bo(o.imports,M=>{fl(M,t,n,r)&&(D||=[],D.push(M))})}finally{}void 0!==D&&Eh(D,t)}if(!u){const D=vi(i)||(()=>new i);t({provide:i,useFactory:D,deps:je},i),t({provide:_h,useValue:i,multi:!0},i),t({provide:Qs,useValue:()=>ie(i),multi:!0},i)}const h=o.providers;if(null!=h&&!u){const D=e;sc(h,M=>{t(M,D)})}}}return i!==e&&void 0!==e.providers}function sc(e,t){for(let n of e)ve(n)&&(n=n.\u0275providers),Array.isArray(n)?sc(n,t):t(n)}const t_=Le({provide:String,useValue:Le});function ac(e){return null!==e&&"object"==typeof e&&t_ in e}function Eo(e){return"function"==typeof e}const lc=new Ne("Set Injector scope."),hl={},r_={};let uc;function pl(){return void 0===uc&&(uc=new ic),uc}class wi{}class Zo extends wi{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,dc(t,s=>this.processProvider(s)),this.records.set(Dh,qo(void 0,this)),i.has("environment")&&this.records.set(wi,qo(void 0,this));const o=this.records.get(lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(_h.multi,je,ct.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=L(this),r=st(void 0);try{return t()}finally{L(n),st(r)}}get(t,n=le,r=ct.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Wr))return t[Wr](this);r=be(r);const o=L(this),s=st(void 0);try{if(!(r&ct.SkipSelf)){let h=this.records.get(t);if(void 0===h){const D=function l_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ne}(t)&&Tt(t);h=D&&this.injectableDefInScope(D)?qo(cc(t),hl):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&ct.Self?pl():this.parent).get(t,n=r&ct.Optional&&n===le?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[Be]=u[Be]||[]).unshift(Xe(t)),o)throw u;return function jn(e,t,n,r){const i=e[Be];throw t[yn]&&i.unshift(t[yn]),e.message=function an(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Xe(t);if(Array.isArray(t))i=t.map(Xe).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let u=t[s];o.push(s+":"+("string"==typeof u?JSON.stringify(u):Xe(u)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(_t,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Be]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{st(s),L(o)}}resolveInjectorInitializers(){const t=L(this),n=st(void 0);try{const i=this.get(Qs.multi,je,ct.Self);for(const o of i)o()}finally{L(t),st(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Xe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new De(205,!1)}processProvider(t){let n=Eo(t=Ee(t))?t:Ee(t&&t.provide);const r=function o_(e){return ac(e)?qo(void 0,e.useValue):qo(Sh(e),hl)}(t);if(Eo(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=qo(void 0,hl,!0),i.factory=()=>Ut(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===hl&&(n.value=r_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function a_(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=Ee(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 cc(e){const t=Tt(e),n=null!==t?t.factory:vi(e);if(null!==n)return n;if(e instanceof Ne)throw new De(204,!1);if(e instanceof Function)return function i_(e){const t=e.length;if(t>0)throw function Gs(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new De(204,!1)}function Sh(e,t,n){let r;if(Eo(e)){const i=Ee(e);return vi(i)||cc(i)}if(ac(e))r=()=>Ee(e.useValue);else if(function Mh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ut(e.deps||[]));else if(function wh(e){return!(!e||!e.useExisting)}(e))r=()=>ie(Ee(e.useExisting));else{const i=Ee(e&&(e.useClass||e.provide));if(!function s_(e){return!!e.deps}(e))return vi(i)||cc(i);r=()=>new i(...Ut(e.deps))}return r}function qo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function dc(e,t){for(const n of e)Array.isArray(n)?dc(n,t):n&&ve(n)?dc(n.\u0275providers,t):t(n)}const Ih=new Ne("AppId",{providedIn:"root",factory:()=>u_}),u_="ng",bh=new Ne("Platform Initializer"),fc=new Ne("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),c_=new Ne("CSP nonce",{providedIn:"root",factory:()=>Ko().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ah=(e,t,n)=>null;function _c(e,t,n=!1){return Ah(e,t,n)}class __{}class Ph{}class E_{resolveComponentFactory(t){throw function C_(e){const t=Error(`No component factory found for ${Xe(e)}.`);return t.ngComponent=e,t}(t)}}let _l=(()=>{class e{static#e=this.NULL=new E_}return e})();function w_(){return Qo(Tn(),fe())}function Qo(e,t){return new na(Xt(e,t))}let na=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=w_}return e})();function M_(e){return e instanceof na?e.nativeElement:e}class Rh{}let S_=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function I_(){const e=fe(),n=Qn(Tn().index,e);return(Wn(n)?n:e)[nt]}()}return e})(),b_=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>null})}return e})();class xh{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 xh("16.2.12"),wc={};function Vh(e,t=null,n=null,r){const i=Uh(e,t,n,r);return i.resolveInjectorInitializers(),i}function Uh(e,t=null,n=null,r,i=new Set){const o=[n||je,e_(e)];return r=r||("object"==typeof e?void 0:Xe(e)),new Zo(o,t||pl(),r||null,i)}let si=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=le;static#t=this.NULL=new ic;static create(n,r){if(Array.isArray(n))return Vh({name:""},r,n,"");{const i=n.name??"";return Vh({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=he({token:e,providedIn:"any",factory:()=>ie(Dh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Sc(e){return e.ngOriginalError}class to{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&&Sc(t);for(;n&&Sc(n);)n=Sc(n);return n||null}}function bc(e){return t=>{setTimeout(e,void 0,t)}}const Mi=class F_ extends l.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const h=t;i=h.next?.bind(h),o=h.error?.bind(h),s=h.complete?.bind(h)}this.__isAsync&&(o=bc(o),i&&(i=bc(i)),s&&(s=bc(s)));const u=super.subscribe({next:i,error:o,complete:s});return t instanceof v.w0&&t.add(u),u}};function Bh(...e){}class $n{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mi(!1),this.onMicrotaskEmpty=new Mi(!1),this.onStable=new Mi(!1),this.onError=new Mi(!1),typeof Zone>"u")throw new De(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function L_(){const e="function"==typeof xt.requestAnimationFrame;let t=xt[e?"requestAnimationFrame":"setTimeout"],n=xt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function U_(e){const t=()=>{!function V_(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(xt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Tc(e),e.isCheckStableRunning=!0,Ac(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Tc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,u)=>{if(function B_(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(u))return n.invokeTask(i,o,s,u);try{return jh(e),n.invokeTask(i,o,s,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Hh(e)}},onInvoke:(n,r,i,o,s,u,h)=>{try{return jh(e),n.invoke(i,o,s,u,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hh(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Tc(e),Ac(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!$n.isInAngularZone())throw new De(909,!1)}static assertNotInAngularZone(){if($n.isInAngularZone())throw new De(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,k_,Bh,Bh);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const k_={};function Ac(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 Tc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function jh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hh(e){e._nesting--,Ac(e)}class $_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mi,this.onMicrotaskEmpty=new Mi,this.onStable=new Mi,this.onError=new Mi}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const Gh=new Ne("",{providedIn:"root",factory:zh});function zh(){const e=ye($n);let t=!0;return function T(...e){const t=(0,G.yG)(e),n=(0,G._6)(e,1/0),r=e;return r.length?1===r.length?(0,j.Xf)(r[0]):(0,Z.J)(n)((0,A.D)(r,t)):B.E}(new ee.y(i=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(t),i.complete()})}),new ee.y(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{$n.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,i.next(!0))})})});const s=e.onUnstable.subscribe(()=>{$n.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(Pe()))}function ji(e){return e instanceof Function?e():e}let Oc=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>new e})}return e})();function ra(e){for(;e;){e[it]|=64;const t=Ks(e);if(b(e)&&!t)return e;e=t}return null}const qh=new Ne("",{providedIn:"root",factory:()=>!1});let El=null;function ep(e,t){return e[t]??rp()}function tp(e,t){const n=rp();n.producerNode?.length&&(e[t]=El,n.lView=e,El=np())}const J_={...To,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ra(e.lView)},lView:null};function np(){return Object.create(J_)}function rp(){return El??=np(),El}const pt={};function ip(e){op(bt(),fe(),wn()+e,!1)}function op(e,t,n,r){if(!r)if(3==(3&t[it])){const o=e.preOrderCheckHooks;null!==o&&$a(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Ba(t,o,0,n)}oi(n)}function ns(e,t=ct.Default){const n=fe();return null===n?ie(e,t):gf(Tn(),n,Ee(e),t)}function sp(){throw new Error("invalid")}function wl(e,t,n,r,i,o,s,u,h,D,M){const O=t.blueprint.slice();return O[jt]=i,O[it]=140|r,(null!==D||e&&2048&e[it])&&(O[it]|=2048),Pa(O),O[Ft]=O[pr]=e,O[qt]=n,O[sr]=s||e&&e[sr],O[nt]=u||e&&e[nt],O[or]=h||e&&e[or]||null,O[fn]=o,O[Vr]=function nD(){return tD++}(),O[mr]=M,O[Ur]=D,O[Wt]=2==t.type?e[Wt]:O,O}function rs(e,t,n,r,i){let o=e.data[t];if(null===o)o=Pc(e,t,n,r,i),function nf(){return ot.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=vo();o.injectorIndex=null===s?-1:s.injectorIndex}return jr(o,!0),o}function Pc(e,t,n,r,i){const o=La(),s=ks(),h=e.data[t]=function oC(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,u=0;return function Xi(){return null!==ot.skipHydrationRootTNode}()&&(u|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:i,attrs:o,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,s?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=h),null!==o&&(s?null==o.child&&null!==h.parent&&(o.child=h):null===o.next&&(o.next=h,h.prev=o)),h}function ia(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;oCt&&op(e,t,Ct,!1),Xn(u?2:0,i);const D=u?o:null,M=Vi(D);try{null!==D&&(D.dirty=!1),n(r,i)}finally{po(D,M)}}finally{u&&null===t[Qr]&&tp(t,Qr),oi(s),Xn(u?3:1,i)}}function Nc(e,t,n){if(Li(t)){const r=kn(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;snull;function cp(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const o=e[i];null===r?dp(n,t,i,o):r.hasOwnProperty(i)&&dp(n,t,r[i],o)}return n}function dp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Rr(e,t,n,r,i,o,s,u){const h=Xt(t,n);let M,D=t.inputs;!u&&null!=D&&(M=D[r])?($c(e,n,M,r,i),_(t)&&function lC(e,t){const n=Qn(t,e);16&n[it]||(n[it]|=64)}(n,t.index)):3&t.type&&(r=function aC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,t.value||"",r):i,o.setProperty(h,r,i))}function Lc(e,t,n,r){if(xo()){const i=null===r?null:{"":-1},o=function pC(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(n,r,o)}}(e,t,r,ia(e,n,i.hostVars,pt),i)}function Vc(e,t,n,r,i,o,s){if(null==o)e.removeAttribute(t,i,n);else{const u=null==s?He(o):s(o,r||"",i);e.setAttribute(t,i,u,n)}}function _C(e,t,n,r,i,o){const s=o[t];if(null!==s)for(let u=0;u{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,i){const o=typeof Zone>"u"?null:Zone.current,s=function hn(e,t,n){const r=Object.create(Or);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=s=>{r.cleanupFn=s};return r.ref={notify:()=>As(r),run:()=>{if(r.dirty=!1,r.hasRun&&!go(r))return;r.hasRun=!0;const s=Vi(r);try{r.cleanupFn(),r.cleanupFn=Tr,r.fn(i)}finally{po(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(n,D=>{this.all.has(D)&&this.queue.set(D,o)},i);let u;this.all.add(s),s.notify();const h=()=>{s.cleanup(),u?.(),this.all.delete(s),this.queue.delete(s)};return u=r?.onDestroy(h),{destroy:h}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>new e})}return e})();function Sl(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s0){Mp(e,1);const i=n.components;null!==i&&Ip(e,i,1)}}function Ip(e,t,n){for(let r=0;r-1&&(ol(t,r),Wa(n,r))}this._attachedToViewContainer=!1}zu(this._lView[Fe],this._lView)}onDestroy(t){!function Ls(e,t){if(256==(256&e[it]))throw new De(911,!1);null===e[zn]&&(e[zn]=[]),e[zn].push(t)}(this._lView,t)}markForCheck(){ra(this._cdRefInjectingView||this._lView)}detach(){this._lView[it]&=-129}reattach(){this._lView[it]|=128}detectChanges(){Il(this._lView[Fe],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new De(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function mD(e,t){Zs(e,t,t[nt],2,null,null)}(this._lView[Fe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new De(902,!1);this._appRef=t}}class TC extends sa{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Il(t[Fe],t,t[qt],!1)}checkNoChanges(){}get context(){return null}}class bp extends _l{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=dt(t);return new aa(n,this.ngModule)}}function Ap(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class PC{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=be(r);const i=this.injector.get(t,wc,r);return i!==wc||n===wc?i:this.parentInjector.get(t,n,r)}}class aa extends Ph{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Ap(t.inputs);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return Ap(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(so).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof wi?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new PC(t,o):t,u=s.get(Rh,null);if(null===u)throw new De(407,!1);const O={rendererFactory:u,sanitizer:s.get(b_,null),effectManager:s.get(Cp,null),afterRenderEventManager:s.get(Oc,null)},k=u.createRenderer(null,this.componentDef),z=this.componentDef.selectors[0][0]||"div",ae=r?function eC(e,t,n,r){const o=r.get(qh,!1)||n===pn.ShadowDom,s=e.selectRootElement(t,o);return function tC(e){up(e)}(s),s}(k,r,this.componentDef.encapsulation,s):il(k,z,function OC(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(z)),We=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let de=null;null!==ae&&(de=_c(ae,s,!0));const lt=Fc(0,null,null,1,0,null,null,null,null,null,null),Et=wl(null,lt,null,We,null,null,O,k,s,null,de);let Zt,Er;X(Et);try{const Gi=this.componentDef;let _s,qd=null;Gi.findHostDirectiveDefs?(_s=[],qd=new Map,Gi.findHostDirectiveDefs(Gi,_s,qd),_s.push(Gi)):_s=[Gi];const $S=function RC(e,t){const n=e[Fe],r=Ct;return e[r]=t,rs(n,r,2,"#host",null)}(Et,ae),BS=function xC(e,t,n,r,i,o,s){const u=i[Fe];!function FC(e,t,n,r){for(const i of e)t.mergedAttrs=wr(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Sl(t,t.mergedAttrs,!0),null!==n&&oh(r,n,t))}(r,e,t,s);let h=null;null!==t&&(h=_c(t,i[or]));const D=o.rendererFactory.createRenderer(t,n);let M=16;n.signals?M=4096:n.onPush&&(M=64);const O=wl(i,lp(n),null,M,i[e.index],e,o,D,null,null,h);return u.firstCreatePass&&kc(u,e,r.length-1),Ml(i,O),i[e.index]=O}($S,ae,Gi,_s,Et,O,k);Er=Rs(lt,Ct),ae&&function kC(e,t,n,r){if(r)Yr(e,n,["ng-version",A_.full]);else{const{attrs:i,classes:o}=function ao(e){const t=[],n=[];let r=1,i=2;for(;r0&&ih(e,n,o.join(" "))}}(k,Gi,ae,r),void 0!==n&&function VC(e,t,n){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=wr(i.hostAttrs,n=wr(n,i.hostAttrs))}}(r)}function bl(e){return e===ft?{}:e===je?[]:e}function BC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function jC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function HC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Rp(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}e.inputTransforms=n}function Al(e){return!!Hc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Hc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ii(e,t,n){return e[t]=n}function tr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function wo(e,t,n,r){const i=tr(e,t,n);return tr(e,t+1,r)||i}function Gc(e,t,n,r){const i=fe();return tr(i,yo(),t)&&(bt(),function Si(e,t,n,r,i,o){const s=Xt(e,t);Vc(t[nt],s,o,e.value,n,r,i)}(Kt(),i,e,t,n,r)),Gc}function os(e,t,n,r){return tr(e,yo(),n)?t+He(n)+r:pt}function ss(e,t,n,r,i,o){const u=wo(e,ri(),n,i);return Ci(2),u?t+He(n)+r+He(i)+o:pt}function Wp(e,t,n,r,i,o,s,u){const h=fe(),D=bt(),M=e+Ct,O=D.firstCreatePass?function pE(e,t,n,r,i,o,s,u,h){const D=t.consts,M=rs(t,e,4,s||null,$i(D,u));Lc(t,n,M,$i(D,h)),Ua(t,M);const O=M.tView=Fc(2,M,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,D,null);return null!==t.queries&&(t.queries.template(t,M),O.queries=t.queries.embeddedTView(M)),M}(M,D,h,t,n,r,i,o,s):D.data[M];jr(O,!1);const k=Kp(D,h,O,e);Va()&&al(D,h,k,O),er(k,h),Ml(h,h[M]=gp(k,h,k,O)),C(O)&&Rc(D,h,O),null!=s&&xc(h,O,u)}let Kp=function Yp(e,t,n,r){return Qi(!0),t[nt].createComment("")};function Zp(e){return ti(function Cu(){return ot.lFrame.contextLView}(),Ct+e)}function qc(e,t,n){const r=fe();return tr(r,yo(),t)&&Rr(bt(),Kt(),r,e,t,r[nt],n,!1),qc}function Jc(e,t,n,r,i){const s=i?"class":"style";$c(e,n,t.inputs[s],s,r)}function Rl(e,t,n,r){const i=fe(),o=bt(),s=Ct+e,u=i[nt],h=o.firstCreatePass?function yE(e,t,n,r,i,o){const s=t.consts,h=rs(t,e,2,r,$i(s,i));return Lc(t,n,h,$i(s,o)),null!==h.attrs&&Sl(h,h.attrs,!1),null!==h.mergedAttrs&&Sl(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(s,o,i,t,n,r):o.data[s],D=qp(o,i,h,u,t,e);i[s]=D;const M=C(h);return jr(h,!0),oh(u,D,h),32!=(32&h.flags)&&Va()&&al(o,i,D,h),0===function Xd(){return ot.lFrame.elementDepthCount}()&&er(D,i),function Na(){ot.lFrame.elementDepthCount++}(),M&&(Rc(o,i,h),Nc(o,h,i)),null!==r&&xc(i,h),Rl}function xl(){let e=Tn();ks()?Vs():(e=e.parent,jr(e,!1));const t=e;(function yu(e){return ot.skipHydrationRootTNode===e})(t)&&function ef(){ot.skipHydrationRootTNode=null}(),function Ra(){ot.lFrame.elementDepthCount--}();const n=bt();return n.firstCreatePass&&(Ua(n,e),Li(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function py(e){return 0!=(8&e.flags)}(t)&&Jc(n,t,fe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function gy(e){return 0!=(16&e.flags)}(t)&&Jc(n,t,fe(),t.stylesWithoutHost,!1),xl}function Xc(e,t,n,r){return Rl(e,t,n,r),xl(),Xc}let qp=(e,t,n,r,i,o)=>(Qi(!0),il(r,i,function sf(){return ot.lFrame.currentNamespace}()));function Fl(e,t,n){const r=fe(),i=bt(),o=e+Ct,s=i.firstCreatePass?function CE(e,t,n,r,i){const o=t.consts,s=$i(o,r),u=rs(t,e,8,"ng-container",s);return null!==s&&Sl(u,s,!0),Lc(t,n,u,$i(o,i)),null!==t.queries&&t.queries.elementStart(t,u),u}(o,i,r,t,n):i.data[o];jr(s,!0);const u=Xp(i,r,s,e);return r[o]=u,Va()&&al(i,r,u,s),er(u,r),C(s)&&(Rc(i,r,s),Nc(i,s,r)),null!=n&&xc(r,s),Fl}function Ll(){let e=Tn();const t=bt();return ks()?Vs():(e=e.parent,jr(e,!1)),t.firstCreatePass&&(Ua(t,e),Li(e)&&t.queries.elementEnd(e)),Ll}let Xp=(e,t,n,r)=>(Qi(!0),Gu(t[nt],""));function Qp(){return fe()}function Qc(e){return!!e&&"function"==typeof e.then}function eg(e){return!!e&&"function"==typeof e.subscribe}function ed(e,t,n,r){const i=fe(),o=bt(),s=Tn();return function ng(e,t,n,r,i,o,s){const u=C(r),D=e.firstCreatePass&&yp(e),M=t[qt],O=vp(t);let k=!0;if(3&r.type||s){const ge=Xt(r,t),Re=s?s(ge):ge,We=O.length,de=s?Et=>s(Jt(Et[r.index])):r.index;let lt=null;if(!s&&u&&(lt=function ME(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;oh?u[h]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==lt)(lt.__ngLastListenerFn__||lt).__ngNextListenerFn__=o,lt.__ngLastListenerFn__=o,k=!1;else{o=ig(r,t,M,o,!1);const Et=n.listen(Re,i,o);O.push(o,Et),D&&D.push(i,de,We,We+1)}}else o=ig(r,t,M,o,!1);const z=r.outputs;let ae;if(k&&null!==z&&(ae=z[i])){const ge=ae.length;if(ge)for(let Re=0;Re-1?Qn(e.index,t):t);let h=rg(t,n,r,s),D=o.__ngNextListenerFn__;for(;D;)h=rg(t,n,D,s)&&h,D=D.__ngNextListenerFn__;return i&&!1===h&&s.preventDefault(),h}}function og(e=1){return function ii(e){return(ot.lFrame.contextLView=function Do(e,t){for(;e>0;)t=t[pr],e--;return t}(e,ot.lFrame.contextLView))[qt]}(e)}function td(e,t,n){return kl(e,"",t,"",n),td}function kl(e,t,n,r,i){const o=fe(),s=os(o,t,n,r);return s!==pt&&Rr(bt(),Kt(),o,e,s,o[nt],i,!1),kl}function nd(e,t,n,r,i,o,s){const u=fe(),h=ss(u,t,n,r,i,o);return h!==pt&&Rr(bt(),Kt(),u,e,h,u[nt],s,!1),nd}function Vl(e,t){return e<<17|t<<2}function no(e){return e>>17&32767}function rd(e){return 2|e}function Mo(e){return(131068&e)>>2}function id(e,t){return-131069&e|t<<2}function od(e){return 1|e}function hg(e,t,n,r,i){const o=e[n+1],s=null===t;let u=r?no(o):Mo(o),h=!1;for(;0!==u&&(!1===h||s);){const M=e[u+1];RE(e[u],t)&&(h=!0,e[u+1]=r?od(M):rd(M)),u=r?no(M):Mo(M)}h&&(e[n+1]=r?rd(o):od(o))}function RE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&jo(e,t)>=0}const xn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function pg(e){return e.substring(xn.key,xn.keyEnd)}function gg(e,t){const n=xn.textEnd;return n===t?-1:(t=xn.keyEnd=function kE(e,t,n){for(;t32;)t++;return t}(e,xn.key=t,n),hs(e,t,n))}function hs(e,t,n){for(;t=0;n=gg(t,n))Nr(e,pg(t),!0)}function ai(e,t,n,r){const i=fe(),o=bt(),s=Ci(2);o.firstUpdatePass&&Eg(o,e,s,r),t!==pt&&tr(i,s,t)&&Mg(o,o.data[wn()],i,i[nt],e,i[s+1]=function YE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Xe(eo(e)))),e}(t,n),r,s)}function Cg(e,t){return t>=e.expandoStartIndex}function Eg(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[wn()],s=Cg(e,n);Ig(o,r)&&null===t&&!s&&(t=!1),t=function BE(e,t,n,r){const i=function a(e){const t=ot.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=fa(n=ld(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=ld(i,e,t,n,r),null===o){let h=function jE(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Mo(r))return e[no(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=ld(null,e,t,h[1],r),h=fa(h,t.attrs,r),function HE(e,t,n,r){e[no(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else o=function GE(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(D=!0)):M=n,i)if(0!==h){const k=no(e[u+1]);e[r+1]=Vl(k,u),0!==k&&(e[k+1]=id(e[k+1],r)),e[u+1]=function TE(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=Vl(u,0),0!==u&&(e[u+1]=id(e[u+1],r)),u=r;else e[r+1]=Vl(h,0),0===u?u=r:e[h+1]=id(e[h+1],r),h=r;D&&(e[r+1]=rd(e[r+1])),hg(e,M,r,!0),hg(e,M,r,!1),function NE(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&jo(o,t)>=0&&(n[r+1]=od(n[r+1]))}(t,M,e,r,o),s=Vl(u,h),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function ld(e,t,n,r,i){let o=null;const s=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u0;){const h=e[i],D=Array.isArray(h),M=D?h[1]:h,O=null===M;let k=n[i+1];k===pt&&(k=O?je:void 0);let z=O?xu(k,r):M===r?k:void 0;if(D&&!Ul(z)&&(z=xu(h,r)),Ul(z)&&(u=z,s))return u;const ae=e[i+1];i=s?no(ae):Mo(ae)}if(null!==t){let h=o?t.residualClasses:t.residualStyles;null!=h&&(u=xu(h,r))}return u}function Ul(e){return void 0!==e}function Ig(e,t){return 0!=(e.flags&(t?8:16))}function bg(e,t=""){const n=fe(),r=bt(),i=e+Ct,o=r.firstCreatePass?rs(r,i,1,t,null):r.data[i],s=Ag(r,n,o,t,e);n[i]=s,Va()&&al(r,n,s,o),jr(o,!1)}let Ag=(e,t,n,r,i)=>(Qi(!0),rl(t[nt],r));function ud(e){return $l("",e,""),ud}function $l(e,t,n){const r=fe(),i=os(r,e,t,n);return i!==pt&&Hi(r,wn(),i),$l}function cd(e,t,n,r,i){const o=fe(),s=ss(o,e,t,n,r,i);return s!==pt&&Hi(o,wn(),s),cd}const So=void 0;var v0=["en",[["a","p"],["AM","PM"],So],[["AM","PM"],So,So],[["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"]],So,[["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"]],So,[["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}",So,"{1} 'at' {0}",So],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function m0(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ps={};function dd(e){const t=function y0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Yg(t);if(n)return n;const r=t.split("-")[0];if(n=Yg(r),n)return n;if("en"===r)return v0;throw new De(701,!1)}function Kg(e){return dd(e)[gs.PluralCase]}function Yg(e){return e in ps||(ps[e]=xt.ng&&xt.ng.common&&xt.ng.common.locales&&xt.ng.common.locales[e]),ps[e]}var gs=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}(gs||{});const D0=["zero","one","two","few","many"],ms="en-US",Bl={marker:"element"},jl={marker:"ICU"};var _r=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(_r||{});let Zg=ms;function qg(e){(function Nt(e,t){null==e&&W(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Zg=e.toLowerCase().replace(/_/g,"-"))}function Jg(e,t,n){const r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?Xf(e,0,n):Jt(n[i])}function Xg(e,t,n,r,i){const o=t.insertBeforeIndex;if(Array.isArray(o)){let s=r,u=null;if(3&t.type||(u=s,s=i),null!==s&&-1===t.componentOffset)for(let h=1;h1)for(let n=e.length-2;n>=0;n--){const r=e[n];em(r)||w0(r,t)&&null===M0(r)&&S0(r,t.index)}}function em(e){return!(64&e.type)}function w0(e,t){return em(t)||e.index>t.index}function M0(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function S0(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(eh(Jg,Xg),e.insertBeforeIndex=t)}function ha(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function A0(e,t,n){const r=Pc(e,n,64,null,null);return Qg(t,r),r}function Hl(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function tm(e){return e>>>17}function nm(e){return(131070&e)>>>1}let pa=0,ga=0;function im(e,t,n,r){const i=n[nt];let s,o=null;for(let u=0;u>>1,n),null,null,z,ae,null)}else switch(h){case jl:const D=t[++u],M=t[++u];null===n[M]&&er(n[M]=Gu(i,D),n);break;case Bl:const O=t[++u],k=t[++u];null===n[k]&&er(n[k]=il(i,O,null),n)}}}function om(e,t,n,r,i){for(let o=0;o>>2;switch(3&M){case 1:const k=n[++D],z=n[++D],ae=e.data[O];"string"==typeof ae?Vc(t[nt],t[O],null,ae,k,h,z):Rr(e,ae,t,k,h,t[nt],z,!1);break;case 0:const ge=t[O];null!==ge&&Wf(t[nt],ge,h);break;case 2:R0(e,ha(e,O),t,h);break;case 3:sm(e,ha(e,O),r,t)}}}}else{const h=n[o+1];if(h>0&&3==(3&h)){const M=ha(e,h>>>2);t[M.currentCaseLViewIndex]<0&&sm(e,M,r,t)}}o+=u}}function sm(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(null!==i){let o=pa;i<0&&(i=r[t.currentCaseLViewIndex]=~i,o=-1),om(e,r,t.update[i],n,o)}}function R0(e,t,n,r){const i=function x0(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function _0(e,t){const n=Kg(t)(parseInt(e,10)),r=D0[n];return void 0!==r?r:"other"}(t,function E0(){return Zg}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Hl(t,n)!==i&&(am(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const s=n[t.anchorIdx];s&&im(e,t.create[i],n,s)}}function am(e,t,n){let r=Hl(t,n);if(null!==r){const i=t.remove[r];for(let o=0;o0){const u=Ro(s,n);null!==u&&ll(n[nt],u)}else am(e,ha(e,~s),n)}}}function F0(){const e=[];let n,r,t=-1;function o(u,h){t=0;const D=Hl(u,h);r=null!==D?u.remove[D]:je}function s(){if(t0?n[u]:(e.push(t,r),o(n[Fe].data[~u],n),s())}return 0===e.length?null:(r=e.pop(),t=e.pop(),s())}return function i(u,h){for(n=h;e.length;)e.pop();return o(u.value,h),s}}const Gl=/\ufffd(\d+):?\d*\ufffd/gi,k0=/\ufffd(\d+)\ufffd/,um=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ma="\ufffd",V0=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,U0=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,$0=/\uE500/g;function cm(e,t,n,r,i,o,s){const u=ia(e,r,1,null);let h=u<<_r.SHIFT,D=vo();t===D&&(D=null),null===D&&(h|=_r.APPEND_EAGERLY),s&&(h|=_r.COMMENT,function dD(e){void 0===ju&&(ju=e())}(F0)),i.push(h,null===o?"":o);const M=Pc(e,u,s?32:1,null===o?"":o,null);Qg(n,M);const O=M.index;return jr(M,!1),null!==D&&t!==D&&function b0(e,t){let n=e.insertBeforeIndex;null===n?(eh(Jg,Xg),n=e.insertBeforeIndex=[null,t]):(function pe(e,t,n){e!=t&&W(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(D,O),M}function H0(e,t,n,r,i,o,s){const u=s.match(Gl),h=cm(e,t,n,o,r,u?null:s,!1);u&&va(i,s,h.index,null,0,null)}function va(e,t,n,r,i,o){const s=e.length,u=s+1;e.push(null,null);const h=s+2,D=t.split(Gl);let M=0;for(let O=0;On.length&&n.push(h)}return{type:r,mainBinding:i,cases:t,values:n}}function fd(e){if(!e)return[];let t=0;const n=[],r=[],i=/[{}]/g;let o;for(i.lastIndex=0;o=i.exec(e);){const u=o.index;if("}"==o[0]){if(n.pop(),0==n.length){const h=e.substring(t,u);um.test(h)?r.push(Y0(h)):r.push(h),t=u+1}}else{if(0==n.length){const h=e.substring(t,u);r.push(h),t=u+1}n.push("{")}}const s=e.substring(t);return r.push(s),r}function Z0(e,t,n,r,i,o,s,u){const h=[],D=[],M=[];t.cases.push(o),t.create.push(h),t.remove.push(D),t.update.push(M);const k=function ch(e){const t=new UD(e);return function $D(){try{return!!(new window.DOMParser).parseFromString(Wo(""),"text/html")}catch{return!1}}()?new VD(t):t}(Ko()).getInertBodyElement(s),z=function rc(e){return"content"in e&&function KD(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}(k)||k;return z?pm(e,t,n,r,h,D,M,z,i,u,0):0}function pm(e,t,n,r,i,o,s,u,h,D,M){let O=0,k=u.firstChild;for(;k;){const z=ia(e,n,1,null);switch(k.nodeType){case Node.ELEMENT_NODE:const ae=k,ge=ae.tagName.toLowerCase();if(tc.hasOwnProperty(ge)){hd(i,Bl,ge,h,z),e.data[z]=ge;const lt=ae.attributes;for(let Et=0;Et>>_r.SHIFT;let O=e[M];null===O&&(O=e[M]=(s&_r.COMMENT)===_r.COMMENT?i.createComment(u):rl(i,u)),D&&null!==n&&Co(i,n,O,r,!1)}})(i,h.create,M,u&&8&u.type?i[u.index]:null),wu(!0)}function gd(){wu(!1)}function vm(e,t,n){pd(e,t,n),gd()}function md(e){return function O0(e){e&&(pa|=1<0){const r=e.data[n];om(e,t,Array.isArray(r)?r:r.update,ri()-ga-1,pa)}pa=0,ga=0}(bt(),fe(),e+Ct)}function Dm(e,t={}){return function aw(e,t={}){let n=e;if(ew.test(e)){const r={},i=[mm];n=n.replace(tw,(o,s,u)=>{const h=s||u,D=r[h]||[];if(D.length||(h.split("|").forEach(ge=>{const Re=ge.match(sw),We=Re?parseInt(Re[1],10):mm,de=ow.test(ge);D.push([We,de,ge])}),r[h]=D),!D.length)throw new Error(`i18n postprocess: unmatched placeholder - ${h}`);const M=i[i.length-1];let O=0;for(let ge=0;get.hasOwnProperty(o)?`${i}${t[o]}${h}`:r),n=n.replace(rw,(r,i)=>t.hasOwnProperty(i)?t[i]:r),n=n.replace(iw,(r,i)=>{if(t.hasOwnProperty(i)){const o=t[i];if(!o.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${i}`);return o.shift()}return r})),n}(e,t)}function vd(e,t,n,r,i){if(e=Ee(e),Array.isArray(e))for(let o=0;o>20;if(Eo(e)||!e.multi){const z=new Us(D,i,ns),ae=Dd(h,t,i?M:M+k,O);-1===ae?(Ou(Ha(u,s),o,h),yd(o,e,t.length),t.push(h),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(z),s.push(z)):(n[ae]=z,s[ae]=z)}else{const z=Dd(h,t,M+k,O),ae=Dd(h,t,M,M+k),Re=ae>=0&&n[ae];if(i&&!Re||!i&&!(z>=0&&n[z])){Ou(Ha(u,s),o,h);const We=function hw(e,t,n,r,i){const o=new Us(e,n,ns);return o.multi=[],o.index=t,o.componentProviders=0,_m(o,i,r&&!n),o}(i?fw:dw,n.length,i,r,D);!i&&Re&&(n[ae].providerFactory=We),yd(o,e,t.length,0),t.push(h),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(We),s.push(We)}else yd(o,e,z>-1?z:ae,_m(n[i?ae:z],D,!i&&r));!i&&r&&Re&&n[ae].componentProviders++}}}function yd(e,t,n,r){const i=Eo(t),o=function n_(e){return!!e.useClass}(t);if(i||o){const h=(o?Ee(t.useClass):t).prototype.ngOnDestroy;if(h){const D=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const M=D.indexOf(n);-1===M?D.push(n,[r,h]):D[M+1].push(r,h)}else D.push(n,h)}}}function _m(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Dd(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function cw(e,t,n){const r=bt();if(r.firstCreatePass){const i=g(e);vd(n,r.data,r.blueprint,i,!0),vd(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Io{}class Em{}function pw(e,t){return new Cd(e,t??null,[])}class Cd extends Io{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new bp(this);const i=Qt(t);this._bootstrapComponents=ji(i.bootstrap),this._r3Injector=Uh(t,n,[{provide:Io,useValue:this},{provide:_l,useValue:this.componentFactoryResolver},...r],Xe(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 Ed extends Em{constructor(t){super(),this.moduleType=t}create(t){return new Cd(this.moduleType,t,[])}}class wm extends Io{constructor(t){super(),this.componentFactoryResolver=new bp(this),this.instance=null;const n=new Zo([...t.providers,{provide:Io,useValue:this},{provide:_l,useValue:this.componentFactoryResolver}],t.parent||pl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Mm(e,t,n=null){return new wm({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let mw=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Ch(0,n.type),i=r.length>0?Mm([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=he({token:e,providedIn:"environment",factory:()=>new e(ie(wi))})}return e})();function Sm(e){e.getStandaloneInjector=t=>t.get(mw).getOrCreateStandaloneInjector(e)}function Nm(e,t,n){const r=Un()+e,i=fe();return i[r]===pt?Ii(i,r,n?t.call(n):t()):function la(e,t){return e[t]}(i,r)}function Rm(e,t,n,r){return xm(fe(),Un(),e,t,n,r)}function ya(e,t){const n=e[t];return n===pt?void 0:n}function xm(e,t,n,r,i,o){const s=t+n;return tr(e,s,i)?Ii(e,s+1,o?r.call(o,i):r(i)):ya(e,s+1)}function Um(e,t){const n=bt();let r;const i=e+Ct;n.firstCreatePass?(r=function Rw(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=vi(r.type)),u=st(ns);try{const h=ja(!1),D=o();return ja(h),function vE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,fe(),i,D),D}finally{st(u)}}function $m(e,t,n){const r=e+Ct,i=fe(),o=ti(i,r);return Da(i,r)?xm(i,Un(),t,o.transform,n,o):o.transform(n)}function Bm(e,t,n,r){const i=e+Ct,o=fe(),s=ti(o,i);return Da(o,i)?function Fm(e,t,n,r,i,o,s){const u=t+n;return wo(e,u,i,o)?Ii(e,u+2,s?r.call(s,i,o):r(i,o)):ya(e,u+2)}(o,Un(),t,s.transform,n,r,s):s.transform(n,r)}function Da(e,t){return e[Fe].data[t].pure}function kw(){return this._results[Symbol.iterator]()}class Md{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Mi)}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=Md.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=kw)}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 r=this;r.dirty=!1;const i=function Hr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ty(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0&&(n[i-1][Pn]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=jw}return e})();const $w=_a,Bw=class extends $w{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function Vw(e,t,n,r){const i=t.tView,u=wl(e,i,n,4096&e[it]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);u[kr]=e[t.index];const D=e[Gn];return null!==D&&(u[Gn]=D.createEmbeddedView(i)),Bc(i,u,n),u}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new sa(i)}};function jw(){return zl(Tn(),fe())}function zl(e,t){return 4&e.type?new Bw(t,e,Qo(e,t)):null}let Kl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Yw}return e})();function Yw(){return Ym(Tn(),fe())}const Zw=Kl,Wm=class extends Zw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Qo(this._hostTNode,this._hostLView)}get injector(){return new lr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ga(this._hostTNode,this._hostLView);if(bu(t)){const n=Bs(t,this._hostLView),r=$s(t);return new lr(n[Fe].data[r+8],n)}return new lr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Km(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Dn}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const u=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(u,i,false),u}createComponent(t,n,r,i,o){const s=t&&!function Hs(e){return"function"==typeof e}(t);let u;if(s)u=n;else{const ge=n||{};u=ge.index,r=ge.injector,i=ge.projectableNodes,o=ge.environmentInjector||ge.ngModuleRef}const h=s?t:new aa(dt(t)),D=r||this.parentInjector;if(!o&&null==h.ngModule){const Re=(s?D:this.parentInjector).get(wi,null);Re&&(o=Re)}dt(h.componentType??{});const z=h.create(D,i,null,o);return this.insertImpl(z.hostView,u,false),z}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const i=t._lView;if(function Jd(e){return An(e[Ft])}(i)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const D=i[Ft],M=new Wm(D,D[fn],D[Ft]);M.detach(M.indexOf(t))}}const s=this._adjustIndex(n),u=this._lContainer;return Uw(u,i,s,!r),t.attachToViewContainerRef(),Ef(Sd(u),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Km(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ol(this._lContainer,n);r&&(Wa(Sd(this._lContainer),n),zu(r[Fe],r))}detach(t){const n=this._adjustIndex(t,-1),r=ol(this._lContainer,n);return r&&null!=Wa(Sd(this._lContainer),n)?new sa(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Km(e){return e[8]}function Sd(e){return e[8]||(e[8]=[])}function Ym(e,t){let n;const r=t[e.index];return An(r)?n=r:(n=gp(r,t,null,e),t[e.index]=n,Ml(t,n)),Zm(n,t,e,r),new Wm(n,e,t)}let Zm=function qm(e,t,n,r){if(e[ar])return;let i;i=8&n.type?Jt(r):function qw(e,t){const n=e[nt],r=n.createComment(""),i=Xt(t,e);return Co(n,sl(n,i),r,function wD(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[ar]=i};class Id{constructor(t){this.queryList=t,this.matches=null}clone(){return new Id(this.queryList)}setDirty(){this.queryList.setDirty()}}class bd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o0)r.push(s[u/2]);else{const D=o[u+1],M=t[-h];for(let O=Dn;O{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=ye(wv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=i();if(Qc(o))n.push(o);else if(eg(o)){const s=new Promise((u,h)=>{o.subscribe({complete:u,error:h})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Zl=new Ne("LocaleId",{providedIn:"root",factory:()=>ye(Zl,ct.Optional|ct.SkipSelf)||function SM(){return typeof $localize<"u"&&$localize.locale||ms}()}),IM=new Ne("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Sv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new N.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)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class AM{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let TM=(()=>{class e{compileModuleSync(n){return new Ed(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=ji(Qt(n).declarations).reduce((s,u)=>{const h=dt(u);return h&&s.push(new aa(h)),s},[]);return new AM(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Tv=new Ne(""),Ov=new Ne("");let Ud,JM=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ud||(function XM(e){Ud=e}(i),i.addToWindow(r)),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:()=>{$n.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(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.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,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!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,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(ie($n),ie(Pv),ie(Ov))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})(),Pv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}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,r=!0){return Ud?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ro=null;const Nv=new Ne("AllowMultipleToken"),$d=new Ne("PlatformDestroyListeners"),Bd=new Ne("appBootstrapListener");class tS{constructor(t,n){this.name=t,this.token=n}}function Fv(e,t,n=[]){const r=`Platform: ${t}`,i=new Ne(r);return(o=[])=>{let s=jd();if(!s||s.injector.get(Nv,!1)){const u=[...n,...o,{provide:i,useValue:!0}];e?e(u):function nS(e){if(ro&&!ro.get(Nv,!1))throw new De(400,!1);(function Rv(){!function E(e){w=e}(()=>{throw new De(600,!1)})})(),ro=e;const t=e.get(kv);(function xv(e){e.get(bh,null)?.forEach(n=>n())})(e)}(function Lv(e=[],t){return si.create({name:t,providers:[{provide:lc,useValue:"platform"},{provide:$d,useValue:new Set([()=>ro=null])},...e]})}(u,r))}return function iS(e){const t=jd();if(!t)throw new De(401,!1);return t}()}}function jd(){return ro?.get(kv)??null}let kv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function oS(e="zone.js",t){return"noop"===e?new $_:"zone.js"===e?new $n(t):e}(r?.ngZone,function Vv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function gw(e,t,n){return new Cd(e,t,n)}(n.moduleType,this.injector,function Hv(e){return[{provide:$n,useFactory:e},{provide:Qs,multi:!0,useFactory:()=>{const t=ye(aS,{optional:!0});return()=>t.initialize()}},{provide:jv,useFactory:sS},{provide:Gh,useFactory:zh}]}(()=>i)),s=o.injector.get(to,null);return i.runOutsideAngular(()=>{const u=i.onError.subscribe({next:h=>{s.handleError(h)}});o.onDestroy(()=>{Jl(this._modules,o),u.unsubscribe()})}),function Uv(e,t,n){try{const r=n();return Qc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const u=o.injector.get(Ld);return u.runInitializers(),u.donePromise.then(()=>(qg(o.injector.get(Zl,ms)||ms),this._moduleDoBootstrap(o),o))})})}bootstrapModule(n,r=[]){const i=$v({},r);return function QM(e,t,n){const r=new Ed(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(Ds);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new De(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new De(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get($d,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(ie(si))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function $v(e,t){return Array.isArray(t)?t.reduce($v,e):{...e,...t}}let Ds=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ye(jv),this.zoneIsStable=ye(Gh),this.componentTypes=[],this.components=[],this.isStable=ye(Sv).hasPendingTasks.pipe((0,ht.w)(n=>n?(0,V.of)(!1):this.zoneIsStable),(0,ze.x)(),Pe()),this._injector=ye(wi)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Ph;if(!this._injector.get(Ld).done)throw!i&&qn(n),new De(405,!1);let s;s=i?n:this._injector.get(_l).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const u=function eS(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Io),D=s.create(si.NULL,[],r||s.selector,u),M=D.location.nativeElement,O=D.injector.get(Tv,null);return O?.registerApplication(M),D.onDestroy(()=>{this.detachView(D.hostView),Jl(this.components,D),O?.unregisterApplication(M)}),this._loadComponent(D),D}tick(){if(this._runningTick)throw new De(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 r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Jl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Bd,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(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),()=>Jl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new De(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Jl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const jv=new Ne("",{providedIn:"root",factory:()=>ye(to).handleError.bind(void 0)});function sS(){const e=ye($n),t=ye(to);return n=>e.runOutsideAngular(()=>t.handleError(n))}let aS=(()=>{class e{constructor(){this.zone=ye($n),this.applicationRef=ye(Ds)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uS(){}let cS=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=dS}return e})();function dS(e){return function fS(e,t,n){if(_(e)&&!n){const r=Qn(e.index,t);return new sa(r,r)}return 47&e.type?new sa(t[Wt],t):null}(Tn(),fe(),16==(16&e))}class Kv{constructor(){}supports(t){return Al(t)}create(t){return new yS(t)}}const vS=(e,t)=>t;class yS{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||vS}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(i,u),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,u,s,i)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,s,i),r=!0),n=n._next,i++}),this.length=i;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,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new DS(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Yv),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._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 Yv),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 DS{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 _S{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 r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Yv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new _S,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.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 Zv(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._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 i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new ES(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_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(r=>n(t[r],r))}}class ES{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 Jv(){return new Kd([new Kv])}let Kd=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:Jv});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Jv()),deps:[[e,new Za,new Ya]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new De(901,!1)}}return e})();function Xv(){return new Yd([new qv])}let Yd=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:Xv});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Xv()),deps:[[e,new Za,new Ya]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new De(901,!1)}}return e})();const SS=Fv(null,"core",[]);let IS=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(ie(Ds))};static#t=this.\u0275mod=fi({type:e});static#n=this.\u0275inj=yt({})}return e})();function kS(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function US(e){const t=dt(e);if(!t)return null;const n=new aa(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}}}},6223:(Ue,oe,S)=>{S.d(oe,{EJ:()=>Mr,F:()=>ln,Fj:()=>Pe,JJ:()=>_e,JL:()=>Me,Kr:()=>Pn,On:()=>dn,Q7:()=>pr,UX:()=>Li,YN:()=>uo,_:()=>Pi,_Y:()=>hr,nD:()=>zn,nJ:()=>J,p4:()=>Yr,sg:()=>Fr,u:()=>qn,u5:()=>An,wV:()=>Jr});var l=S(6689),v=S(6814),ee=S(7715),Z=S(9315),j=S(7398);let B=(()=>{class _{constructor(g,b){this._renderer=g,this._elementRef=b,this.onChange=x=>{},this.onTouched=()=>{}}setProperty(g,b){this._renderer.setProperty(this._elementRef.nativeElement,g,b)}registerOnTouched(g){this.onTouched=g}registerOnChange(g){this.onChange=g}setDisabledState(g){this.setProperty("disabled",g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.Qsj),l.Y36(l.SBq))};static#t=this.\u0275dir=l.lG2({type:_})}return _})(),G=(()=>{class _ extends B{static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,features:[l.qOj]})}return _})();const A=new l.OlP("NgValueAccessor"),V={provide:A,useExisting:(0,l.Gpc)(()=>Pe),multi:!0},xe=new l.OlP("CompositionEventMode");let Pe=(()=>{class _ extends B{constructor(g,b,x){super(g,b),this._compositionMode=x,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ue(){const _=(0,v.q)()?(0,v.q)().getUserAgent():"";return/android (\d+)/.test(_.toLowerCase())}())}writeValue(g){this.setProperty("value",g??"")}_handleInput(g){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(g)}_compositionStart(){this._composing=!0}_compositionEnd(g){this._composing=!1,this._compositionMode&&this.onChange(g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(xe,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(b,x){1&b&&l.NdJ("input",function(Dt){return x._handleInput(Dt.target.value)})("blur",function(){return x.onTouched()})("compositionstart",function(){return x._compositionStart()})("compositionend",function(Dt){return x._compositionEnd(Dt.target.value)})},features:[l._Bn([V]),l.qOj]})}return _})();const ze=new l.OlP("NgValidators"),Le=new l.OlP("NgAsyncValidators");function $e(_){return function Ve(_){return null==_||("string"==typeof _||Array.isArray(_))&&0===_.length}(_.value)?{required:!0}:null}function De(_){return null}function Gt(_){return null!=_}function He(_){return(0,l.QGY)(_)?(0,ee.D)(_):_}function Qe(_){let C={};return _.forEach(g=>{C=null!=g?{...C,...g}:C}),0===Object.keys(C).length?null:C}function zt(_,C){return C.map(g=>g(_))}function sn(_){return _.map(C=>function Mt(_){return!_.validate}(C)?C:g=>C.validate(g))}function q(_){return null!=_?function Q(_){if(!_)return null;const C=_.filter(Gt);return 0==C.length?null:function(g){return Qe(zt(g,C))}}(sn(_)):null}function ne(_){return null!=_?function re(_){if(!_)return null;const C=_.filter(Gt);return 0==C.length?null:function(g){const b=zt(g,C).map(He);return(0,Z.D)(b).pipe((0,j.U)(Qe))}}(sn(_)):null}function me(_,C){return null===_?[C]:Array.isArray(_)?[..._,C]:[_,C]}function pe(_){return _._rawValidators}function qe(_){return _._rawAsyncValidators}function ut(_){return _?Array.isArray(_)?_:[_]:[]}function Lt(_,C){return Array.isArray(_)?_.includes(C):_===C}function ke(_,C){const g=ut(C);return ut(_).forEach(x=>{Lt(g,x)||g.push(x)}),g}function vt(_,C){return ut(C).filter(g=>!Lt(_,g))}class kt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(C){this._rawValidators=C||[],this._composedValidatorFn=q(this._rawValidators)}_setAsyncValidators(C){this._rawAsyncValidators=C||[],this._composedAsyncValidatorFn=ne(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(C){this._onDestroyCallbacks.push(C)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(C=>C()),this._onDestroyCallbacks=[]}reset(C=void 0){this.control&&this.control.reset(C)}hasError(C,g){return!!this.control&&this.control.hasError(C,g)}getError(C,g){return this.control?this.control.getError(C,g):null}}class rt extends kt{get formDirective(){return null}get path(){return null}}class At extends kt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Nt{constructor(C){this._cd=C}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let _e=(()=>{class _ extends Nt{constructor(g){super(g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(At,2))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(b,x){2&b&&l.ekj("ng-untouched",x.isUntouched)("ng-touched",x.isTouched)("ng-pristine",x.isPristine)("ng-dirty",x.isDirty)("ng-valid",x.isValid)("ng-invalid",x.isInvalid)("ng-pending",x.isPending)},features:[l.qOj]})}return _})(),Me=(()=>{class _ extends Nt{constructor(g){super(g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(rt,10))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(b,x){2&b&&l.ekj("ng-untouched",x.isUntouched)("ng-touched",x.isTouched)("ng-pristine",x.isPristine)("ng-dirty",x.isDirty)("ng-valid",x.isValid)("ng-invalid",x.isInvalid)("ng-pending",x.isPending)("ng-submitted",x.isSubmitted)},features:[l.qOj]})}return _})();const Bn="VALID",xt="INVALID",On="PENDING",tn="DISABLED";function Ne(_){return(nr(_)?_.validators:_)||null}function Yn(_,C){return(nr(C)?C.asyncValidators:_)||null}function nr(_){return null!=_&&!Array.isArray(_)&&"object"==typeof _}class Ti{constructor(C,g){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(C),this._assignAsyncValidators(g)}get validator(){return this._composedValidatorFn}set validator(C){this._rawValidators=this._composedValidatorFn=C}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(C){this._rawAsyncValidators=this._composedAsyncValidatorFn=C}get parent(){return this._parent}get valid(){return this.status===Bn}get invalid(){return this.status===xt}get pending(){return this.status==On}get disabled(){return this.status===tn}get enabled(){return this.status!==tn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(C){this._assignValidators(C)}setAsyncValidators(C){this._assignAsyncValidators(C)}addValidators(C){this.setValidators(ke(C,this._rawValidators))}addAsyncValidators(C){this.setAsyncValidators(ke(C,this._rawAsyncValidators))}removeValidators(C){this.setValidators(vt(C,this._rawValidators))}removeAsyncValidators(C){this.setAsyncValidators(vt(C,this._rawAsyncValidators))}hasValidator(C){return Lt(this._rawValidators,C)}hasAsyncValidator(C){return Lt(this._rawAsyncValidators,C)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(C={}){this.touched=!0,this._parent&&!C.onlySelf&&this._parent.markAsTouched(C)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(C=>C.markAllAsTouched())}markAsUntouched(C={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(g=>{g.markAsUntouched({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}markAsDirty(C={}){this.pristine=!1,this._parent&&!C.onlySelf&&this._parent.markAsDirty(C)}markAsPristine(C={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(g=>{g.markAsPristine({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}markAsPending(C={}){this.status=On,!1!==C.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!C.onlySelf&&this._parent.markAsPending(C)}disable(C={}){const g=this._parentMarkedDirty(C.onlySelf);this.status=tn,this.errors=null,this._forEachChild(b=>{b.disable({...C,onlySelf:!0})}),this._updateValue(),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...C,skipPristineCheck:g}),this._onDisabledChange.forEach(b=>b(!0))}enable(C={}){const g=this._parentMarkedDirty(C.onlySelf);this.status=Bn,this._forEachChild(b=>{b.enable({...C,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent}),this._updateAncestors({...C,skipPristineCheck:g}),this._onDisabledChange.forEach(b=>b(!1))}_updateAncestors(C){this._parent&&!C.onlySelf&&(this._parent.updateValueAndValidity(C),C.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(C){this._parent=C}getRawValue(){return this.value}updateValueAndValidity(C={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Bn||this.status===On)&&this._runAsyncValidator(C.emitEvent)),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!C.onlySelf&&this._parent.updateValueAndValidity(C)}_updateTreeValidity(C={emitEvent:!0}){this._forEachChild(g=>g._updateTreeValidity(C)),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?tn:Bn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(C){if(this.asyncValidator){this.status=On,this._hasOwnPendingAsyncValidator=!0;const g=He(this.asyncValidator(this));this._asyncValidationSubscription=g.subscribe(b=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(b,{emitEvent:C})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(C,g={}){this.errors=C,this._updateControlsErrors(!1!==g.emitEvent)}get(C){let g=C;return null==g||(Array.isArray(g)||(g=g.split(".")),0===g.length)?null:g.reduce((b,x)=>b&&b._find(x),this)}getError(C,g){const b=g?this.get(g):this;return b&&b.errors?b.errors[C]:null}hasError(C,g){return!!this.getError(C,g)}get root(){let C=this;for(;C._parent;)C=C._parent;return C}_updateControlsErrors(C){this.status=this._calculateStatus(),C&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(C)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?tn:this.errors?xt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(On)?On:this._anyControlsHaveStatus(xt)?xt:Bn}_anyControlsHaveStatus(C){return this._anyControls(g=>g.status===C)}_anyControlsDirty(){return this._anyControls(C=>C.dirty)}_anyControlsTouched(){return this._anyControls(C=>C.touched)}_updatePristine(C={}){this.pristine=!this._anyControlsDirty(),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}_updateTouched(C={}){this.touched=this._anyControlsTouched(),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}_registerOnCollectionChange(C){this._onCollectionChange=C}_setUpdateStrategy(C){nr(C)&&null!=C.updateOn&&(this._updateOn=C.updateOn)}_parentMarkedDirty(C){return!C&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(C){return null}_assignValidators(C){this._rawValidators=Array.isArray(C)?C.slice():C,this._composedValidatorFn=function Fn(_){return Array.isArray(_)?q(_):_||null}(this._rawValidators)}_assignAsyncValidators(C){this._rawAsyncValidators=Array.isArray(C)?C.slice():C,this._composedAsyncValidatorFn=function Sn(_){return Array.isArray(_)?ne(_):_||null}(this._rawAsyncValidators)}}class se extends Ti{constructor(C,g,b){super(Ne(g),Yn(b,g)),this.controls=C,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(C,g){return this.controls[C]?this.controls[C]:(this.controls[C]=g,g.setParent(this),g._registerOnCollectionChange(this._onCollectionChange),g)}addControl(C,g,b={}){this.registerControl(C,g),this.updateValueAndValidity({emitEvent:b.emitEvent}),this._onCollectionChange()}removeControl(C,g={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}setControl(C,g,b={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],g&&this.registerControl(C,g),this.updateValueAndValidity({emitEvent:b.emitEvent}),this._onCollectionChange()}contains(C){return this.controls.hasOwnProperty(C)&&this.controls[C].enabled}setValue(C,g={}){(function cr(_,C,g){_._forEachChild((b,x)=>{if(void 0===g[x])throw new l.vHH(1002,"")})})(this,0,C),Object.keys(C).forEach(b=>{(function rr(_,C,g){const b=_.controls;if(!(C?Object.keys(b):b).length)throw new l.vHH(1e3,"");if(!b[g])throw new l.vHH(1001,"")})(this,!0,b),this.controls[b].setValue(C[b],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(C,g={}){null!=C&&(Object.keys(C).forEach(b=>{const x=this.controls[b];x&&x.patchValue(C[b],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(C={},g={}){this._forEachChild((b,x)=>{b.reset(C?C[x]:null,{onlySelf:!0,emitEvent:g.emitEvent})}),this._updatePristine(g),this._updateTouched(g),this.updateValueAndValidity(g)}getRawValue(){return this._reduceChildren({},(C,g,b)=>(C[b]=g.getRawValue(),C))}_syncPendingControls(){let C=this._reduceChildren(!1,(g,b)=>!!b._syncPendingControls()||g);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){Object.keys(this.controls).forEach(g=>{const b=this.controls[g];b&&C(b,g)})}_setUpControls(){this._forEachChild(C=>{C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(C){for(const[g,b]of Object.entries(this.controls))if(this.contains(g)&&C(b))return!0;return!1}_reduceValue(){return this._reduceChildren({},(g,b,x)=>((b.enabled||this.disabled)&&(g[x]=b.value),g))}_reduceChildren(C,g){let b=C;return this._forEachChild((x,Ke)=>{b=g(b,x,Ke)}),b}_allControlsDisabled(){for(const C of Object.keys(this.controls))if(this.controls[C].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(C){return this.controls.hasOwnProperty(C)?this.controls[C]:null}}const J=se,Ae=new l.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Be}),Be="always";function wt(_,C){return[...C.path,_]}function _t(_,C,g=Be){Y(_,C),C.valueAccessor.writeValue(_.value),(_.disabled||"always"===g)&&C.valueAccessor.setDisabledState?.(_.disabled),function U(_,C){C.valueAccessor.registerOnChange(g=>{_._pendingValue=g,_._pendingChange=!0,_._pendingDirty=!0,"change"===_.updateOn&&Se(_,C)})}(_,C),function ye(_,C){const g=(b,x)=>{C.valueAccessor.writeValue(b),x&&C.viewToModelUpdate(b)};_.registerOnChange(g),C._registerOnDestroy(()=>{_._unregisterOnChange(g)})}(_,C),function ie(_,C){C.valueAccessor.registerOnTouched(()=>{_._pendingTouched=!0,"blur"===_.updateOn&&_._pendingChange&&Se(_,C),"submit"!==_.updateOn&&_.markAsTouched()})}(_,C),function Cn(_,C){if(C.valueAccessor.setDisabledState){const g=b=>{C.valueAccessor.setDisabledState(b)};_.registerOnDisabledChange(g),C._registerOnDestroy(()=>{_._unregisterOnDisabledChange(g)})}}(_,C)}function Yt(_,C,g=!0){const b=()=>{};C.valueAccessor&&(C.valueAccessor.registerOnChange(b),C.valueAccessor.registerOnTouched(b)),L(_,C),_&&(C._invokeOnDestroyCallbacks(),_._registerOnCollectionChange(()=>{}))}function yn(_,C){_.forEach(g=>{g.registerOnValidatorChange&&g.registerOnValidatorChange(C)})}function Y(_,C){const g=pe(_);null!==C.validator?_.setValidators(me(g,C.validator)):"function"==typeof g&&_.setValidators([g]);const b=qe(_);null!==C.asyncValidator?_.setAsyncValidators(me(b,C.asyncValidator)):"function"==typeof b&&_.setAsyncValidators([b]);const x=()=>_.updateValueAndValidity();yn(C._rawValidators,x),yn(C._rawAsyncValidators,x)}function L(_,C){let g=!1;if(null!==_){if(null!==C.validator){const x=pe(_);if(Array.isArray(x)&&x.length>0){const Ke=x.filter(Dt=>Dt!==C.validator);Ke.length!==x.length&&(g=!0,_.setValidators(Ke))}}if(null!==C.asyncValidator){const x=qe(_);if(Array.isArray(x)&&x.length>0){const Ke=x.filter(Dt=>Dt!==C.asyncValidator);Ke.length!==x.length&&(g=!0,_.setAsyncValidators(Ke))}}}const b=()=>{};return yn(C._rawValidators,b),yn(C._rawAsyncValidators,b),g}function Se(_,C){_._pendingDirty&&_.markAsDirty(),_.setValue(_._pendingValue,{emitModelToViewChange:!1}),C.viewToModelUpdate(_._pendingValue),_._pendingChange=!1}function be(_,C){Y(_,C)}function Hn(_,C){if(!_.hasOwnProperty("model"))return!1;const g=_.model;return!!g.isFirstChange()||!Object.is(C,g.currentValue)}function ft(_,C){_._syncPendingControls(),C.forEach(g=>{const b=g.control;"submit"===b.updateOn&&b._pendingChange&&(g.viewToModelUpdate(b._pendingValue),b._pendingChange=!1)})}function je(_,C){if(!C)return null;let g,b,x;return Array.isArray(C),C.forEach(Ke=>{Ke.constructor===Pe?g=Ke:function pn(_){return Object.getPrototypeOf(_.constructor)===G}(Ke)?b=Ke:x=Ke}),x||b||g||null}const rn={provide:rt,useExisting:(0,l.Gpc)(()=>ln)},Ln=(()=>Promise.resolve())();let ln=(()=>{class _ extends rt{constructor(g,b,x){super(),this.callSetDisabledState=x,this.submitted=!1,this._directives=new Set,this.ngSubmit=new l.vpe,this.form=new se({},q(g),ne(b))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(g){Ln.then(()=>{const b=this._findContainer(g.path);g.control=b.registerControl(g.name,g.control),_t(g.control,g,this.callSetDisabledState),g.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(g)})}getControl(g){return this.form.get(g.path)}removeControl(g){Ln.then(()=>{const b=this._findContainer(g.path);b&&b.removeControl(g.name),this._directives.delete(g)})}addFormGroup(g){Ln.then(()=>{const b=this._findContainer(g.path),x=new se({});be(x,g),b.registerControl(g.name,x),x.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(g){Ln.then(()=>{const b=this._findContainer(g.path);b&&b.removeControl(g.name)})}getFormGroup(g){return this.form.get(g.path)}updateModel(g,b){Ln.then(()=>{this.form.get(g.path).setValue(b)})}setValue(g){this.control.setValue(g)}onSubmit(g){return this.submitted=!0,ft(this.form,this._directives),this.ngSubmit.emit(g),"dialog"===g?.target?.method}onReset(){this.resetForm()}resetForm(g=void 0){this.form.reset(g),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(g){return g.pop(),g.length?this.form.get(g):this.form}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(ze,10),l.Y36(Le,10),l.Y36(Ae,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(b,x){1&b&&l.NdJ("submit",function(Dt){return x.onSubmit(Dt)})("reset",function(){return x.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([rn]),l.qOj]})}return _})();function ir(_,C){const g=_.indexOf(C);g>-1&&_.splice(g,1)}function Wr(_){return"object"==typeof _&&null!==_&&2===Object.keys(_).length&&"value"in _&&"disabled"in _}const Kr=class extends Ti{constructor(C=null,g,b){super(Ne(g),Yn(b,g)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(C),this._setUpdateStrategy(g),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nr(g)&&(g.nonNullable||g.initialValueIsDefault)&&(this.defaultValue=Wr(C)?C.value:C)}setValue(C,g={}){this.value=this._pendingValue=C,this._onChange.length&&!1!==g.emitModelToViewChange&&this._onChange.forEach(b=>b(this.value,!1!==g.emitViewToModelChange)),this.updateValueAndValidity(g)}patchValue(C,g={}){this.setValue(C,g)}reset(C=this.defaultValue,g={}){this._applyFormState(C),this.markAsPristine(g),this.markAsUntouched(g),this.setValue(this.value,g),this._pendingChange=!1}_updateValue(){}_anyControls(C){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(C){this._onChange.push(C)}_unregisterOnChange(C){ir(this._onChange,C)}registerOnDisabledChange(C){this._onDisabledChange.push(C)}_unregisterOnDisabledChange(C){ir(this._onDisabledChange,C)}_forEachChild(C){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(C){Wr(C)?(this.value=this._pendingValue=C.value,C.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=C}},Yr=Kr,ci={provide:At,useExisting:(0,l.Gpc)(()=>dn)},un=(()=>Promise.resolve())();let dn=(()=>{class _ extends At{constructor(g,b,x,Ke,Dt,vr){super(),this._changeDetectorRef=Dt,this.callSetDisabledState=vr,this.control=new Kr,this._registered=!1,this.name="",this.update=new l.vpe,this._parent=g,this._setValidators(b),this._setAsyncValidators(x),this.valueAccessor=je(0,Ke)}ngOnChanges(g){if(this._checkForErrors(),!this._registered||"name"in g){if(this._registered&&(this._checkName(),this.formDirective)){const b=g.name.previousValue;this.formDirective.removeControl({name:b,path:this._getPath(b)})}this._setUpControl()}"isDisabled"in g&&this._updateDisabled(g),Hn(g,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){_t(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(g){un.then(()=>{this.control.setValue(g,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(g){const b=g.isDisabled.currentValue,x=0!==b&&(0,l.VuI)(b);un.then(()=>{x&&!this.control.disabled?this.control.disable():!x&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(g){return this._parent?wt(g,this._parent):[g]}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(rt,9),l.Y36(ze,10),l.Y36(Le,10),l.Y36(A,10),l.Y36(l.sBO,8),l.Y36(Ae,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[l._Bn([ci]),l.qOj,l.TTD]})}return _})(),hr=(()=>{class _{static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return _})();const qr={provide:A,useExisting:(0,l.Gpc)(()=>Jr),multi:!0};let Jr=(()=>{class _ extends G{writeValue(g){this.setProperty("value",g??"")}registerOnChange(g){this.onChange=b=>{g(""==b?null:parseFloat(b))}}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(b,x){1&b&&l.NdJ("input",function(Dt){return x.onChange(Dt.target.value)})("blur",function(){return x.onTouched()})},features:[l._Bn([qr]),l.qOj]})}return _})();const oo={provide:A,useExisting:(0,l.Gpc)(()=>Pi),multi:!0};let Oi=(()=>{class _{static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({})}return _})(),so=(()=>{class _{constructor(){this._accessors=[]}add(g,b){this._accessors.push([g,b])}remove(g){for(let b=this._accessors.length-1;b>=0;--b)if(this._accessors[b][1]===g)return void this._accessors.splice(b,1)}select(g){this._accessors.forEach(b=>{this._isSameGroup(b,g)&&b[1]!==g&&b[1].fireUncheck(g.value)})}_isSameGroup(g,b){return!!g[0].control&&g[0]._parent===b._control._parent&&g[1].name===b.name}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275prov=l.Yz7({token:_,factory:_.\u0275fac,providedIn:Oi})}return _})(),Pi=(()=>{class _ extends G{constructor(g,b,x,Ke){super(g,b),this._registry=x,this._injector=Ke,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,l.f3M)(Ae,{optional:!0})??Be}ngOnInit(){this._control=this._injector.get(At),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(g){this._state=g===this.value,this.setProperty("checked",this._state)}registerOnChange(g){this._fn=g,this.onChange=()=>{g(this.value),this._registry.select(this)}}setDisabledState(g){(this.setDisabledStateFired||g||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",g),this.setDisabledStateFired=!0}fireUncheck(g){this.writeValue(g)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(so),l.Y36(l.zs3))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(b,x){1&b&&l.NdJ("change",function(){return x.onChange()})("blur",function(){return x.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[l._Bn([oo]),l.qOj]})}return _})();const Ni=new l.OlP("NgModelWithFormControlWarning"),fi={provide:rt,useExisting:(0,l.Gpc)(()=>Fr)};let Fr=(()=>{class _ extends rt{constructor(g,b,x){super(),this.callSetDisabledState=x,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new l.vpe,this._setValidators(g),this._setAsyncValidators(b)}ngOnChanges(g){this._checkFormPresent(),g.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(L(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(g){const b=this.form.get(g.path);return _t(b,g,this.callSetDisabledState),b.updateValueAndValidity({emitEvent:!1}),this.directives.push(g),b}getControl(g){return this.form.get(g.path)}removeControl(g){Yt(g.control||null,g,!1),function In(_,C){const g=_.indexOf(C);g>-1&&_.splice(g,1)}(this.directives,g)}addFormGroup(g){this._setUpFormContainer(g)}removeFormGroup(g){this._cleanUpFormContainer(g)}getFormGroup(g){return this.form.get(g.path)}addFormArray(g){this._setUpFormContainer(g)}removeFormArray(g){this._cleanUpFormContainer(g)}getFormArray(g){return this.form.get(g.path)}updateModel(g,b){this.form.get(g.path).setValue(b)}onSubmit(g){return this.submitted=!0,ft(this.form,this.directives),this.ngSubmit.emit(g),"dialog"===g?.target?.method}onReset(){this.resetForm()}resetForm(g=void 0){this.form.reset(g),this.submitted=!1}_updateDomValue(){this.directives.forEach(g=>{const b=g.control,x=this.form.get(g.path);b!==x&&(Yt(b||null,g),(_=>_ instanceof Kr)(x)&&(_t(x,g,this.callSetDisabledState),g.control=x))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(g){const b=this.form.get(g.path);be(b,g),b.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(g){if(this.form){const b=this.form.get(g.path);b&&function Ut(_,C){return L(_,C)}(b,g)&&b.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Y(this.form,this),this._oldForm&&L(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(ze,10),l.Y36(Le,10),l.Y36(Ae,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","formGroup",""]],hostBindings:function(b,x){1&b&&l.NdJ("submit",function(Dt){return x.onSubmit(Dt)})("reset",function(){return x.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([fi]),l.qOj,l.TTD]})}return _})();const gn={provide:At,useExisting:(0,l.Gpc)(()=>qn)};let qn=(()=>{class _ extends At{set isDisabled(g){}static#e=this._ngModelWarningSentOnce=!1;constructor(g,b,x,Ke,Dt){super(),this._ngModelWarningConfig=Dt,this._added=!1,this.name=null,this.update=new l.vpe,this._ngModelWarningSent=!1,this._parent=g,this._setValidators(b),this._setAsyncValidators(x),this.valueAccessor=je(0,Ke)}ngOnChanges(g){this._added||this._setUpControl(),Hn(g,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}get path(){return wt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(b){return new(b||_)(l.Y36(rt,13),l.Y36(ze,10),l.Y36(Le,10),l.Y36(A,10),l.Y36(Ni,8))};static#n=this.\u0275dir=l.lG2({type:_,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[l._Bn([gn]),l.qOj,l.TTD]})}return _})();const Qt={provide:A,useExisting:(0,l.Gpc)(()=>Mr),multi:!0};function Jn(_,C){return null==_?`${C}`:(C&&"object"==typeof C&&(C="Object"),`${_}: ${C}`.slice(0,50))}let Mr=(()=>{class _ extends G{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(g){this._compareWith=g}writeValue(g){this.value=g;const x=Jn(this._getOptionId(g),g);this.setProperty("value",x)}registerOnChange(g){this.onChange=b=>{this.value=this._getOptionValue(b),g(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(g){for(const b of this._optionMap.keys())if(this._compareWith(this._optionMap.get(b),g))return b;return null}_getOptionValue(g){const b=function Xr(_){return _.split(":")[0]}(g);return this._optionMap.has(b)?this._optionMap.get(b):g}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(b,x){1&b&&l.NdJ("change",function(Dt){return x.onChange(Dt.target.value)})("blur",function(){return x.onTouched()})},inputs:{compareWith:"compareWith"},features:[l._Bn([Qt]),l.qOj]})}return _})(),uo=(()=>{class _{constructor(g,b,x){this._element=g,this._renderer=b,this._select=x,this._select&&(this.id=this._select._registerOption())}set ngValue(g){null!=this._select&&(this._select._optionMap.set(this.id,g),this._setElementValue(Jn(this.id,g)),this._select.writeValue(this._select.value))}set value(g){this._setElementValue(g),this._select&&this._select.writeValue(this._select.value)}_setElementValue(g){this._renderer.setProperty(this._element.nativeElement,"value",g)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(Mr,9))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return _})();const Sr={provide:A,useExisting:(0,l.Gpc)(()=>Ft),multi:!0};function jt(_,C){return null==_?`${C}`:("string"==typeof C&&(C=`'${C}'`),C&&"object"==typeof C&&(C="Object"),`${_}: ${C}`.slice(0,50))}let Ft=(()=>{class _ extends G{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(g){this._compareWith=g}writeValue(g){let b;if(this.value=g,Array.isArray(g)){const x=g.map(Ke=>this._getOptionId(Ke));b=(Ke,Dt)=>{Ke._setSelected(x.indexOf(Dt.toString())>-1)}}else b=(x,Ke)=>{x._setSelected(!1)};this._optionMap.forEach(b)}registerOnChange(g){this.onChange=b=>{const x=[],Ke=b.selectedOptions;if(void 0!==Ke){const Dt=Ke;for(let vr=0;vr{class _{constructor(g,b,x){this._element=g,this._renderer=b,this._select=x,this._select&&(this.id=this._select._registerOption(this))}set ngValue(g){null!=this._select&&(this._value=g,this._setElementValue(jt(this.id,g)),this._select.writeValue(this._select.value))}set value(g){this._select?(this._value=g,this._setElementValue(jt(this.id,g)),this._select.writeValue(this._select.value)):this._setElementValue(g)}_setElementValue(g){this._renderer.setProperty(this._element.nativeElement,"value",g)}_setSelected(g){this._renderer.setProperty(this._element.nativeElement,"selected",g)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(Ft,9))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return _})();let Nn=(()=>{class _{constructor(){this._validator=De}ngOnChanges(g){if(this.inputName in g){const b=this.normalizeInput(g[this.inputName].currentValue);this._enabled=this.enabled(b),this._validator=this._enabled?this.createValidator(b):De,this._onChange&&this._onChange()}}validate(g){return this._validator(g)}registerOnValidatorChange(g){this._onChange=g}enabled(g){return null!=g}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275dir=l.lG2({type:_,features:[l.TTD]})}return _})();const gi={provide:ze,useExisting:(0,l.Gpc)(()=>pr),multi:!0};let pr=(()=>{class _ extends Nn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=l.VuI,this.createValidator=g=>$e}enabled(g){return g}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(b,x){2&b&&l.uIk("required",x._enabled?"":null)},inputs:{required:"required"},features:[l._Bn([gi]),l.qOj]})}return _})();const Ur={provide:ze,useExisting:(0,l.Gpc)(()=>zn),multi:!0};let zn=(()=>{class _ extends Nn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=g=>function Ir(_){return"number"==typeof _?_:parseInt(_,10)}(g),this.createValidator=g=>function Ze(_){return C=>function ht(_){return null!=_&&"number"==typeof _.length}(C.value)&&C.value.length>_?{maxlength:{requiredLength:_,actualLength:C.value.length}}:null}(g)}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(b,x){2&b&&l.uIk("maxlength",x._enabled?x.maxlength:null)},inputs:{maxlength:"maxlength"},features:[l._Bn([Ur]),l.qOj]})}return _})(),mi=(()=>{class _{static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({imports:[Oi]})}return _})(),An=(()=>{class _{static withConfig(g){return{ngModule:_,providers:[{provide:Ae,useValue:g.callSetDisabledState??Be}]}}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({imports:[mi]})}return _})(),Li=(()=>{class _{static withConfig(g){return{ngModule:_,providers:[{provide:Ni,useValue:g.warnOnNgModelWithFormControl??"always"},{provide:Ae,useValue:g.callSetDisabledState??Be}]}}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({imports:[mi]})}return _})()},6593:(Ue,oe,S)=>{S.d(oe,{Dx:()=>Oe,b2:()=>W,q6:()=>kt});var l=S(6689),v=S(6814);class ee extends v.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Z extends ee{static makeCurrent(){(0,v.HT)(new Z)}onAndCancel(J,F,H){return J.addEventListener(F,H),()=>{J.removeEventListener(F,H)}}dispatchEvent(J,F){J.dispatchEvent(F)}remove(J){J.parentNode&&J.parentNode.removeChild(J)}createElement(J,F){return(F=F||this.getDefaultDocument()).createElement(J)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(J){return J.nodeType===Node.ELEMENT_NODE}isShadowRoot(J){return J instanceof DocumentFragment}getGlobalEventTarget(J,F){return"window"===F?window:"document"===F?J:"body"===F?J.body:null}getBaseHref(J){const F=function B(){return j=j||document.querySelector("base"),j?j.getAttribute("href"):null}();return null==F?null:function A(se){G=G||document.createElement("a"),G.setAttribute("href",se);const J=G.pathname;return"/"===J.charAt(0)?J:`/${J}`}(F)}resetBaseElement(){j=null}getUserAgent(){return window.navigator.userAgent}getCookie(J){return(0,v.Mx)(document.cookie,J)}}let G,j=null,N=(()=>{class se{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(H){return new(H||se)};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const V=new l.OlP("EventManagerPlugins");let ue=(()=>{class se{constructor(F,H){this._zone=H,this._eventNameToPlugin=new Map,F.forEach(le=>{le.manager=this}),this._plugins=F.slice().reverse()}addEventListener(F,H,le){return this._findPluginFor(H).addEventListener(F,H,le)}getZone(){return this._zone}_findPluginFor(F){let H=this._eventNameToPlugin.get(F);if(H)return H;if(H=this._plugins.find(Ae=>Ae.supports(F)),!H)throw new l.vHH(5101,!1);return this._eventNameToPlugin.set(F,H),H}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(V),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();class xe{constructor(J){this._doc=J}}const Pe="ng-app-id";let Ve=(()=>{class se{constructor(F,H,le,Ae={}){this.doc=F,this.appId=H,this.nonce=le,this.platformId=Ae,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,v.PM)(Ae),this.resetHostNodes()}addStyles(F){for(const H of F)1===this.changeUsageCount(H,1)&&this.onStyleAdded(H)}removeStyles(F){for(const H of F)this.changeUsageCount(H,-1)<=0&&this.onStyleRemoved(H)}ngOnDestroy(){const F=this.styleNodesInDOM;F&&(F.forEach(H=>H.remove()),F.clear());for(const H of this.getAllStyles())this.onStyleRemoved(H);this.resetHostNodes()}addHost(F){this.hostNodes.add(F);for(const H of this.getAllStyles())this.addStyleToHost(F,H)}removeHost(F){this.hostNodes.delete(F)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(F){for(const H of this.hostNodes)this.addStyleToHost(H,F)}onStyleRemoved(F){const H=this.styleRef;H.get(F)?.elements?.forEach(le=>le.remove()),H.delete(F)}collectServerRenderedStyles(){const F=this.doc.head?.querySelectorAll(`style[${Pe}="${this.appId}"]`);if(F?.length){const H=new Map;return F.forEach(le=>{null!=le.textContent&&H.set(le.textContent,le)}),H}return null}changeUsageCount(F,H){const le=this.styleRef;if(le.has(F)){const Ae=le.get(F);return Ae.usage+=H,Ae.usage}return le.set(F,{usage:H,elements:[]}),H}getStyleElement(F,H){const le=this.styleNodesInDOM,Ae=le?.get(H);if(Ae?.parentNode===F)return le.delete(H),Ae.removeAttribute(Pe),Ae;{const Be=this.doc.createElement("style");return this.nonce&&Be.setAttribute("nonce",this.nonce),Be.textContent=H,this.platformIsServer&&Be.setAttribute(Pe,this.appId),Be}}addStyleToHost(F,H){const le=this.getStyleElement(F,H);F.appendChild(le);const Ae=this.styleRef,Be=Ae.get(H)?.elements;Be?Be.push(le):Ae.set(H,{elements:[le],usage:1})}resetHostNodes(){const F=this.hostNodes;F.clear(),F.add(this.doc.head)}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0),l.LFG(l.AFp),l.LFG(l.Ojb,8),l.LFG(l.Lbi))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const ht={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,Ce=new l.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Te(se,J){return J.map(F=>F.replace(ze,se))}let ve=(()=>{class se{constructor(F,H,le,Ae,Be,wt,_t,Yt=null){this.eventManager=F,this.sharedStylesHost=H,this.appId=le,this.removeStylesOnCompDestroy=Ae,this.doc=Be,this.platformId=wt,this.ngZone=_t,this.nonce=Yt,this.rendererByCompId=new Map,this.platformIsServer=(0,v.PM)(wt),this.defaultRenderer=new Ze(F,Be,_t,this.platformIsServer)}createRenderer(F,H){if(!F||!H)return this.defaultRenderer;this.platformIsServer&&H.encapsulation===l.ifc.ShadowDom&&(H={...H,encapsulation:l.ifc.Emulated});const le=this.getOrCreateRenderer(F,H);return le instanceof zt?le.applyToHost(F):le instanceof Qe&&le.applyStyles(),le}getOrCreateRenderer(F,H){const le=this.rendererByCompId;let Ae=le.get(H.id);if(!Ae){const Be=this.doc,wt=this.ngZone,_t=this.eventManager,Yt=this.sharedStylesHost,yn=this.removeStylesOnCompDestroy,Cn=this.platformIsServer;switch(H.encapsulation){case l.ifc.Emulated:Ae=new zt(_t,Yt,H,this.appId,yn,Be,wt,Cn);break;case l.ifc.ShadowDom:return new He(_t,Yt,F,H,Be,wt,this.nonce,Cn);default:Ae=new Qe(_t,Yt,H,yn,Be,wt,Cn)}le.set(H.id,Ae)}return Ae}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(ue),l.LFG(Ve),l.LFG(l.AFp),l.LFG(Ce),l.LFG(v.K0),l.LFG(l.Lbi),l.LFG(l.R0b),l.LFG(l.Ojb))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();class Ze{constructor(J,F,H,le){this.eventManager=J,this.doc=F,this.ngZone=H,this.platformIsServer=le,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(J,F){return F?this.doc.createElementNS(ht[F]||F,J):this.doc.createElement(J)}createComment(J){return this.doc.createComment(J)}createText(J){return this.doc.createTextNode(J)}appendChild(J,F){(Gt(J)?J.content:J).appendChild(F)}insertBefore(J,F,H){J&&(Gt(J)?J.content:J).insertBefore(F,H)}removeChild(J,F){J&&J.removeChild(F)}selectRootElement(J,F){let H="string"==typeof J?this.doc.querySelector(J):J;if(!H)throw new l.vHH(-5104,!1);return F||(H.textContent=""),H}parentNode(J){return J.parentNode}nextSibling(J){return J.nextSibling}setAttribute(J,F,H,le){if(le){F=le+":"+F;const Ae=ht[le];Ae?J.setAttributeNS(Ae,F,H):J.setAttribute(F,H)}else J.setAttribute(F,H)}removeAttribute(J,F,H){if(H){const le=ht[H];le?J.removeAttributeNS(le,F):J.removeAttribute(`${H}:${F}`)}else J.removeAttribute(F)}addClass(J,F){J.classList.add(F)}removeClass(J,F){J.classList.remove(F)}setStyle(J,F,H,le){le&(l.JOm.DashCase|l.JOm.Important)?J.style.setProperty(F,H,le&l.JOm.Important?"important":""):J.style[F]=H}removeStyle(J,F,H){H&l.JOm.DashCase?J.style.removeProperty(F):J.style[F]=""}setProperty(J,F,H){J[F]=H}setValue(J,F){J.nodeValue=F}listen(J,F,H){if("string"==typeof J&&!(J=(0,v.q)().getGlobalEventTarget(this.doc,J)))throw new Error(`Unsupported event target ${J} for event ${F}`);return this.eventManager.addEventListener(J,F,this.decoratePreventDefault(H))}decoratePreventDefault(J){return F=>{if("__ngUnwrap__"===F)return J;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>J(F)):J(F))&&F.preventDefault()}}}function Gt(se){return"TEMPLATE"===se.tagName&&void 0!==se.content}class He extends Ze{constructor(J,F,H,le,Ae,Be,wt,_t){super(J,Ae,Be,_t),this.sharedStylesHost=F,this.hostEl=H,this.shadowRoot=H.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Yt=Te(le.id,le.styles);for(const yn of Yt){const Cn=document.createElement("style");wt&&Cn.setAttribute("nonce",wt),Cn.textContent=yn,this.shadowRoot.appendChild(Cn)}}nodeOrShadowRoot(J){return J===this.hostEl?this.shadowRoot:J}appendChild(J,F){return super.appendChild(this.nodeOrShadowRoot(J),F)}insertBefore(J,F,H){return super.insertBefore(this.nodeOrShadowRoot(J),F,H)}removeChild(J,F){return super.removeChild(this.nodeOrShadowRoot(J),F)}parentNode(J){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(J)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qe extends Ze{constructor(J,F,H,le,Ae,Be,wt,_t){super(J,Ae,Be,wt),this.sharedStylesHost=F,this.removeStylesOnCompDestroy=le,this.styles=_t?Te(_t,H.styles):H.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class zt extends Qe{constructor(J,F,H,le,Ae,Be,wt,_t){const Yt=le+"-"+H.id;super(J,F,H,Ae,Be,wt,_t,Yt),this.contentAttr=function $e(se){return"_ngcontent-%COMP%".replace(ze,se)}(Yt),this.hostAttr=function Ee(se){return"_nghost-%COMP%".replace(ze,se)}(Yt)}applyToHost(J){this.applyStyles(),this.setAttribute(J,this.hostAttr,"")}createElement(J,F){const H=super.createElement(J,F);return super.setAttribute(H,this.contentAttr,""),H}}let Mt=(()=>{class se extends xe{constructor(F){super(F)}supports(F){return!0}addEventListener(F,H,le){return F.addEventListener(H,le,!1),()=>this.removeEventListener(F,H,le)}removeEventListener(F,H,le){return F.removeEventListener(H,le)}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const sn=["alt","control","meta","shift"],Q={"\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"},q={alt:se=>se.altKey,control:se=>se.ctrlKey,meta:se=>se.metaKey,shift:se=>se.shiftKey};let re=(()=>{class se extends xe{constructor(F){super(F)}supports(F){return null!=se.parseEventName(F)}addEventListener(F,H,le){const Ae=se.parseEventName(H),Be=se.eventCallback(Ae.fullKey,le,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,v.q)().onAndCancel(F,Ae.domEventName,Be))}static parseEventName(F){const H=F.toLowerCase().split("."),le=H.shift();if(0===H.length||"keydown"!==le&&"keyup"!==le)return null;const Ae=se._normalizeKey(H.pop());let Be="",wt=H.indexOf("code");if(wt>-1&&(H.splice(wt,1),Be="code."),sn.forEach(Yt=>{const yn=H.indexOf(Yt);yn>-1&&(H.splice(yn,1),Be+=Yt+".")}),Be+=Ae,0!=H.length||0===Ae.length)return null;const _t={};return _t.domEventName=le,_t.fullKey=Be,_t}static matchEventFullKeyCode(F,H){let le=Q[F.key]||F.key,Ae="";return H.indexOf("code.")>-1&&(le=F.code,Ae="code."),!(null==le||!le)&&(le=le.toLowerCase()," "===le?le="space":"."===le&&(le="dot"),sn.forEach(Be=>{Be!==le&&(0,q[Be])(F)&&(Ae+=Be+".")}),Ae+=le,Ae===H)}static eventCallback(F,H,le){return Ae=>{se.matchEventFullKeyCode(Ae,F)&&le.runGuarded(()=>H(Ae))}}static _normalizeKey(F){return"esc"===F?"escape":F}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const kt=(0,l.eFA)(l._c5,"browser",[{provide:l.Lbi,useValue:v.bD},{provide:l.g9A,useValue:function ut(){Z.makeCurrent()},multi:!0},{provide:v.K0,useFactory:function ke(){return(0,l.RDi)(document),document},deps:[]}]),rt=new l.OlP(""),At=[{provide:l.rWj,useClass:class T{addToWindow(J){l.dqk.getAngularTestability=(H,le=!0)=>{const Ae=J.findTestabilityInTree(H,le);if(null==Ae)throw new l.vHH(5103,!1);return Ae},l.dqk.getAllAngularTestabilities=()=>J.getAllTestabilities(),l.dqk.getAllAngularRootElements=()=>J.getAllRootElements(),l.dqk.frameworkStabilizers||(l.dqk.frameworkStabilizers=[]),l.dqk.frameworkStabilizers.push(H=>{const le=l.dqk.getAllAngularTestabilities();let Ae=le.length,Be=!1;const wt=function(_t){Be=Be||_t,Ae--,0==Ae&&H(Be)};le.forEach(_t=>{_t.whenStable(wt)})})}findTestabilityInTree(J,F,H){return null==F?null:J.getTestability(F)??(H?(0,v.q)().isShadowRoot(F)?this.findTestabilityInTree(J,F.host,!0):this.findTestabilityInTree(J,F.parentElement,!0):null)}},deps:[]},{provide:l.lri,useClass:l.dDg,deps:[l.R0b,l.eoX,l.rWj]},{provide:l.dDg,useClass:l.dDg,deps:[l.R0b,l.eoX,l.rWj]}],Nt=[{provide:l.zSh,useValue:"root"},{provide:l.qLn,useFactory:function Lt(){return new l.qLn},deps:[]},{provide:V,useClass:Mt,multi:!0,deps:[v.K0,l.R0b,l.Lbi]},{provide:V,useClass:re,multi:!0,deps:[v.K0]},ve,Ve,ue,{provide:l.FYo,useExisting:ve},{provide:v.JF,useClass:N,deps:[]},[]];let W=(()=>{class se{constructor(F){}static withServerTransition(F){return{ngModule:se,providers:[{provide:l.AFp,useValue:F.appId}]}}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(rt,12))};static#t=this.\u0275mod=l.oAB({type:se});static#n=this.\u0275inj=l.cJS({providers:[...Nt,...At],imports:[v.ez,l.hGG]})}return se})(),Oe=(()=>{class se{constructor(F){this._doc=F}getTitle(){return this._doc.title}setTitle(F){this._doc.title=F||""}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0))};static#t=this.\u0275prov=l.Yz7({token:se,factory:function(H){let le=null;return le=H?new H:function he(){return new Oe((0,l.LFG)(v.K0))}(),le},providedIn:"root"})}return se})();typeof window<"u"&&window},9919:(Ue,oe,S)=>{S.d(oe,{gz:()=>Sr,Eb:()=>di,gk:()=>dn,m2:()=>un,Q3:()=>qr,OD:()=>ci,F0:()=>Xt,rH:()=>ti,Od:()=>Qn,Bz:()=>jr,lC:()=>qt,R9:()=>Jr});var l=S(6689),v=S(5592),ee=S(4674),j=S(7715),B=S(2096),G=S(5619),A=S(7453),T=S(2737),N=S(7400),V=S(4564),ue=S(2714),xe=S(8251),Pe=S(7103);function Ve(...c){const f=(0,V.yG)(c),a=(0,V.jO)(c),{args:p,keys:y}=(0,A.D)(c);if(0===p.length)return(0,j.D)([],f);const I=new v.y(function ht(c,f,a=T.y){return p=>{ze(f,()=>{const{length:y}=c,I=new Array(y);let P=y,X=y;for(let K=0;K{const we=(0,j.D)(c[K],f);let at=!1;we.subscribe((0,xe.x)(p,Ht=>{I[K]=Ht,at||(at=!0,X--),X||p.next(a(I.slice()))},()=>{--P||p.complete()}))},p)},p)}}(p,f,y?P=>(0,ue.n)(y,P):T.y));return a?I.pipe((0,N.Z)(a)):I}function ze(c,f,a){c?(0,Pe.f)(a,c,f):f()}const mt=(0,S(2306).d)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"});var Xe=S(7537);function Ce(...c){return function Ie(){return(0,Xe.J)(1)}()((0,j.D)(c,(0,V.yG)(c)))}var $e=S(4829);function Ee(c){return new v.y(f=>{(0,$e.Xf)(c()).subscribe(f)})}var Te=S(8407),ve=S(8504),Ze=S(6232),Ye=S(7394),De=S(9360);function Gt(){return(0,De.e)((c,f)=>{let a=null;c._refCount++;const p=(0,xe.x)(f,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(a=null);const y=c._connection,I=a;a=null,y&&(!I||y===I)&&y.unsubscribe(),f.unsubscribe()});c.subscribe(p),p.closed||(a=c.connect())})}class He extends v.y{constructor(f,a){super(),this.source=f,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,De.A)(f)&&(this.lift=f.lift)}_subscribe(f){return this.getSubject().subscribe(f)}getSubject(){const f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:f}=this;this._subject=this._connection=null,f?.unsubscribe()}connect(){let f=this._connection;if(!f){f=this._connection=new Ye.w0;const a=this.getSubject();f.add(this.source.subscribe((0,xe.x)(a,void 0,()=>{this._teardown(),a.complete()},p=>{this._teardown(),a.error(p)},()=>this._teardown()))),f.closed&&(this._connection=null,f=Ye.w0.EMPTY)}return f}refCount(){return Gt()(this)}}var Qe=S(8645),zt=S(6814),Mt=S(7398),sn=S(4664),Q=S(8180),re=S(2181),ne=S(1631);function me(c){return(0,De.e)((f,a)=>{let p=!1;f.subscribe((0,xe.x)(a,y=>{p=!0,a.next(y)},()=>{p||a.next(c),a.complete()}))})}function pe(c=qe){return(0,De.e)((f,a)=>{let p=!1;f.subscribe((0,xe.x)(a,y=>{p=!0,a.next(y)},()=>p?a.complete():a.error(c())))})}function qe(){return new mt}function ut(c,f){const a=arguments.length>=2;return p=>p.pipe(c?(0,re.h)((y,I)=>c(y,I,p)):T.y,(0,Q.q)(1),a?me(f):pe(()=>new mt))}var Lt=S(6328);function ke(c,f,a){const p=(0,ee.m)(c)||f||a?{next:c,error:f,complete:a}:c;return p?(0,De.e)((y,I)=>{var P;null===(P=p.subscribe)||void 0===P||P.call(p);let X=!0;y.subscribe((0,xe.x)(I,K=>{var we;null===(we=p.next)||void 0===we||we.call(p,K),I.next(K)},()=>{var K;X=!1,null===(K=p.complete)||void 0===K||K.call(p),I.complete()},K=>{var we;X=!1,null===(we=p.error)||void 0===we||we.call(p,K),I.error(K)},()=>{var K,we;X&&(null===(K=p.unsubscribe)||void 0===K||K.call(p)),null===(we=p.finalize)||void 0===we||we.call(p)}))}):T.y}var vt=S(6306);function At(c){return c<=0?()=>Ze.E:(0,De.e)((f,a)=>{let p=[];f.subscribe((0,xe.x)(a,y=>{p.push(y),c{for(const y of p)a.next(y);a.complete()},void 0,()=>{p=null}))})}var Vt=S(4716),_e=S(2420),he=S(6593);const Oe="primary",yt=Symbol("RouteTitle");class Tt{constructor(f){this.params=f||{}}has(f){return Object.prototype.hasOwnProperty.call(this.params,f)}get(f){if(this.has(f)){const a=this.params[f];return Array.isArray(a)?a[0]:a}return null}getAll(f){if(this.has(f)){const a=this.params[f];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function Rt(c){return new Tt(c)}function Je(c,f,a){const p=a.path.split("/");if(p.length>c.length||"full"===a.pathMatch&&(f.hasChildren()||p.lengthp[I]===y)}return c===f}function Mn(c){return c.length>0?c[c.length-1]:null}function _n(c){return function Z(c){return!!c&&(c instanceof v.y||(0,ee.m)(c.lift)&&(0,ee.m)(c.subscribe))}(c)?c:(0,l.QGY)(c)?(0,j.D)(Promise.resolve(c)):(0,B.of)(c)}const vn={exact:function st(c,f,a){if(!Sn(c.segments,f.segments)||!On(c.segments,f.segments,a)||c.numberOfChildren!==f.numberOfChildren)return!1;for(const p in f.children)if(!c.children[p]||!st(c.children[p],f.children[p],a))return!1;return!0},subset:Bn},ct={exact:function ui(c,f){return mn(c,f)},subset:function zr(c,f){return Object.keys(f).length<=Object.keys(c).length&&Object.keys(f).every(a=>Kn(c[a],f[a]))},ignored:()=>!0};function Ot(c,f,a){return vn[a.paths](c.root,f.root,a.matrixParams)&&ct[a.queryParams](c.queryParams,f.queryParams)&&!("exact"===a.fragment&&c.fragment!==f.fragment)}function Bn(c,f,a){return xt(c,f,f.segments,a)}function xt(c,f,a,p){if(c.segments.length>a.length){const y=c.segments.slice(0,a.length);return!(!Sn(y,a)||f.hasChildren()||!On(y,a,p))}if(c.segments.length===a.length){if(!Sn(c.segments,a)||!On(c.segments,a,p))return!1;for(const y in f.children)if(!c.children[y]||!Bn(c.children[y],f.children[y],p))return!1;return!0}{const y=a.slice(0,c.segments.length),I=a.slice(c.segments.length);return!!(Sn(c.segments,y)&&On(c.segments,y,p)&&c.children[Oe])&&xt(c.children[Oe],f,I,p)}}function On(c,f,a){return f.every((p,y)=>ct[a](c[y].parameters,p.parameters))}class tn{constructor(f=new Ne([],{}),a={},p=null){this.root=f,this.queryParams=a,this.fragment=p}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Rt(this.queryParams)),this._queryParamMap}toString(){return Ti.serialize(this)}}class Ne{constructor(f,a){this.segments=f,this.children=a,this.parent=null,Object.values(a).forEach(p=>p.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return se(this)}}class Fn{constructor(f,a){this.path=f,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=Rt(this.parameters)),this._parameterMap}toString(){return _t(this)}}function Sn(c,f){return c.length===f.length&&c.every((a,p)=>a.path===f[p].path)}let rr=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return new cr},providedIn:"root"})}return c})();class cr{parse(f){const a=new Ut(f);return new tn(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(f){const a=`/${J(f.root,!0)}`,p=function yn(c){const f=Object.keys(c).map(a=>{const p=c[a];return Array.isArray(p)?p.map(y=>`${H(a)}=${H(y)}`).join("&"):`${H(a)}=${H(p)}`}).filter(a=>!!a);return f.length?`?${f.join("&")}`:""}(f.queryParams);return`${a}${p}${"string"==typeof f.fragment?`#${function le(c){return encodeURI(c)}(f.fragment)}`:""}`}}const Ti=new cr;function se(c){return c.segments.map(f=>_t(f)).join("/")}function J(c,f){if(!c.hasChildren())return se(c);if(f){const a=c.children[Oe]?J(c.children[Oe],!1):"",p=[];return Object.entries(c.children).forEach(([y,I])=>{y!==Oe&&p.push(`${y}:${J(I,!1)}`)}),p.length>0?`${a}(${p.join("//")})`:a}{const a=function nr(c,f){let a=[];return Object.entries(c.children).forEach(([p,y])=>{p===Oe&&(a=a.concat(f(y,p)))}),Object.entries(c.children).forEach(([p,y])=>{p!==Oe&&(a=a.concat(f(y,p)))}),a}(c,(p,y)=>y===Oe?[J(c.children[Oe],!1)]:[`${y}:${J(p,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[Oe]?`${se(c)}/${a[0]}`:`${se(c)}/(${a.join("//")})`}}function F(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function H(c){return F(c).replace(/%3B/gi,";")}function Ae(c){return F(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Be(c){return decodeURIComponent(c)}function wt(c){return Be(c.replace(/\+/g,"%20"))}function _t(c){return`${Ae(c.path)}${function Yt(c){return Object.keys(c).map(f=>`;${Ae(f)}=${Ae(c[f])}`).join("")}(c.parameters)}`}const Cn=/^[^\/()?;#]+/;function Y(c){const f=c.match(Cn);return f?f[0]:""}const L=/^[^\/()?;=#]+/,ie=/^[^=?&#]+/,ye=/^[^&#]+/;class Ut{constructor(f){this.url=f,this.remaining=f}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ne([],{}):new Ne([],this.parseChildren())}parseQueryParams(){const f={};if(this.consumeOptional("?"))do{this.parseQueryParam(f)}while(this.consumeOptional("&"));return f}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const f=[];for(this.peekStartsWith("(")||f.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),f.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let p={};return this.peekStartsWith("(")&&(p=this.parseParens(!1)),(f.length>0||Object.keys(a).length>0)&&(p[Oe]=new Ne(f,a)),p}parseSegment(){const f=Y(this.remaining);if(""===f&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(f),new Fn(Be(f),this.parseMatrixParams())}parseMatrixParams(){const f={};for(;this.consumeOptional(";");)this.parseParam(f);return f}parseParam(f){const a=function U(c){const f=c.match(L);return f?f[0]:""}(this.remaining);if(!a)return;this.capture(a);let p="";if(this.consumeOptional("=")){const y=Y(this.remaining);y&&(p=y,this.capture(p))}f[Be(a)]=Be(p)}parseQueryParam(f){const a=function Se(c){const f=c.match(ie);return f?f[0]:""}(this.remaining);if(!a)return;this.capture(a);let p="";if(this.consumeOptional("=")){const P=function be(c){const f=c.match(ye);return f?f[0]:""}(this.remaining);P&&(p=P,this.capture(p))}const y=wt(a),I=wt(p);if(f.hasOwnProperty(y)){let P=f[y];Array.isArray(P)||(P=[P],f[y]=P),P.push(I)}else f[y]=I}parseParens(f){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const p=Y(this.remaining),y=this.remaining[p.length];if("/"!==y&&")"!==y&&";"!==y)throw new l.vHH(4010,!1);let I;p.indexOf(":")>-1?(I=p.slice(0,p.indexOf(":")),this.capture(I),this.capture(":")):f&&(I=Oe);const P=this.parseChildren();a[I]=1===Object.keys(P).length?P[Oe]:new Ne([],P),this.consumeOptional("//")}return a}peekStartsWith(f){return this.remaining.startsWith(f)}consumeOptional(f){return!!this.peekStartsWith(f)&&(this.remaining=this.remaining.substring(f.length),!0)}capture(f){if(!this.consumeOptional(f))throw new l.vHH(4011,!1)}}function tt(c){return c.segments.length>0?new Ne([],{[Oe]:c}):c}function cn(c){const f={};for(const p of Object.keys(c.children)){const I=cn(c.children[p]);if(p===Oe&&0===I.segments.length&&I.hasChildren())for(const[P,X]of Object.entries(I.children))f[P]=X;else(I.segments.length>0||I.hasChildren())&&(f[p]=I)}return function jn(c){if(1===c.numberOfChildren&&c.children[Oe]){const f=c.children[Oe];return new Ne(c.segments.concat(f.segments),f.children)}return c}(new Ne(c.segments,f))}function an(c){return c instanceof tn}function Hn(c){let f;const y=tt(function a(I){const P={};for(const K of I.children){const we=a(K);P[K.outlet]=we}const X=new Ne(I.url,P);return I===c&&(f=X),X}(c.root));return f??y}function pn(c,f,a,p){let y=c;for(;y.parent;)y=y.parent;if(0===f.length)return In(y,y,y,a,p);const I=function Ln(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new rn(!0,0,c);let f=0,a=!1;const p=c.reduce((y,I,P)=>{if("object"==typeof I&&null!=I){if(I.outlets){const X={};return Object.entries(I.outlets).forEach(([K,we])=>{X[K]="string"==typeof we?we.split("/"):we}),[...y,{outlets:X}]}if(I.segmentPath)return[...y,I.segmentPath]}return"string"!=typeof I?[...y,I]:0===P?(I.split("/").forEach((X,K)=>{0==K&&"."===X||(0==K&&""===X?a=!0:".."===X?f++:""!=X&&y.push(X))}),y):[...y,I]},[]);return new rn(a,f,p)}(f);if(I.toRoot())return In(y,y,new Ne([],{}),a,p);const P=function ir(c,f,a){if(c.isAbsolute)return new ln(f,!0,0);if(!a)return new ln(f,!1,NaN);if(null===a.parent)return new ln(a,!0,0);const p=ft(c.commands[0])?0:1;return function Wr(c,f,a){let p=c,y=f,I=a;for(;I>y;){if(I-=y,p=p.parent,!p)throw new l.vHH(4005,!1);y=p.segments.length}return new ln(p,!1,y-I)}(a,a.segments.length-1+p,c.numberOfDoubleDots)}(I,y,c),X=P.processChildren?fr(P.segmentGroup,P.index,I.commands):Yr(P.segmentGroup,P.index,I.commands);return In(y,P.segmentGroup,X,a,p)}function ft(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function je(c){return"object"==typeof c&&null!=c&&c.outlets}function In(c,f,a,p,y){let P,I={};p&&Object.entries(p).forEach(([K,we])=>{I[K]=Array.isArray(we)?we.map(at=>`${at}`):`${we}`}),P=c===f?a:dr(c,f,a);const X=tt(cn(P));return new tn(X,I,y)}function dr(c,f,a){const p={};return Object.entries(c.children).forEach(([y,I])=>{p[y]=I===f?a:dr(I,f,a)}),new Ne(c.segments,p)}class rn{constructor(f,a,p){if(this.isAbsolute=f,this.numberOfDoubleDots=a,this.commands=p,f&&p.length>0&&ft(p[0]))throw new l.vHH(4003,!1);const y=p.find(je);if(y&&y!==Mn(p))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ln{constructor(f,a,p){this.segmentGroup=f,this.processChildren=a,this.index=p}}function Yr(c,f,a){if(c||(c=new Ne([],{})),0===c.segments.length&&c.hasChildren())return fr(c,f,a);const p=function xr(c,f,a){let p=0,y=f;const I={match:!1,pathIndex:0,commandIndex:0};for(;y=a.length)return I;const P=c.segments[y],X=a[p];if(je(X))break;const K=`${X}`,we=p0&&void 0===K)break;if(K&&we&&"object"==typeof we&&void 0===we.outlets){if(!Wi(K,we,P))return I;p+=2}else{if(!Wi(K,{},P))return I;p++}y++}return{match:!0,pathIndex:y,commandIndex:p}}(c,f,a),y=a.slice(p.commandIndex);if(p.match&&p.pathIndexI!==Oe)&&c.children[Oe]&&1===c.numberOfChildren&&0===c.children[Oe].segments.length){const I=fr(c.children[Oe],f,a);return new Ne(c.segments,I.children)}return Object.entries(p).forEach(([I,P])=>{"string"==typeof P&&(P=[P]),null!==P&&(y[I]=Yr(c.children[I],f,P))}),Object.entries(c.children).forEach(([I,P])=>{void 0===p[I]&&(y[I]=P)}),new Ne(c.segments,y)}}function wr(c,f,a){const p=c.segments.slice(0,f);let y=0;for(;y{"string"==typeof p&&(p=[p]),null!==p&&(f[a]=wr(new Ne([],{}),0,p))}),f}function io(c){const f={};return Object.entries(c).forEach(([a,p])=>f[a]=`${p}`),f}function Wi(c,f,a){return c==a.path&&mn(f,a.parameters)}const Zr="imperative";class Zn{constructor(f,a){this.id=f,this.url=a}}class ci extends Zn{constructor(f,a,p="imperative",y=null){super(f,a),this.type=0,this.navigationTrigger=p,this.restoredState=y}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class un extends Zn{constructor(f,a,p){super(f,a),this.urlAfterRedirects=p,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class dn extends Zn{constructor(f,a,p,y){super(f,a),this.reason=p,this.code=y,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class hr extends Zn{constructor(f,a,p,y){super(f,a),this.reason=p,this.code=y,this.type=16}}class qr extends Zn{constructor(f,a,p,y){super(f,a),this.error=p,this.target=y,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Jr extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oo extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ao extends Zn{constructor(f,a,p,y,I){super(f,a),this.urlAfterRedirects=p,this.state=y,this.shouldActivate=I,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Oi extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class so extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pi{constructor(f){this.route=f,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ao{constructor(f){this.route=f,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class di{constructor(f){this.snapshot=f,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ni{constructor(f){this.snapshot=f,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lo{constructor(f){this.snapshot=f,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ri{constructor(f){this.snapshot=f,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{constructor(f,a,p){this.routerEvent=f,this.position=a,this.anchor=p,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Fr{}class hi{constructor(f){this.url=f}}class Ki{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new dt,this.attachRef=null}}let dt=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(a,p){const y=this.getOrCreateContext(a);y.outlet=p,this.contexts.set(a,y)}onChildOutletDestroyed(a){const p=this.getContext(a);p&&(p.outlet=null,p.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let p=this.getContext(a);return p||(p=new Ki,this.contexts.set(a,p)),p}getContext(a){return this.contexts.get(a)||null}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class on{constructor(f){this._root=f}get root(){return this._root.value}parent(f){const a=this.pathFromRoot(f);return a.length>1?a[a.length-2]:null}children(f){const a=gn(f,this._root);return a?a.children.map(p=>p.value):[]}firstChild(f){const a=gn(f,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(f){const a=qn(f,this._root);return a.length<2?[]:a[a.length-2].children.map(y=>y.value).filter(y=>y!==f)}pathFromRoot(f){return qn(f,this._root).map(a=>a.value)}}function gn(c,f){if(c===f.value)return f;for(const a of f.children){const p=gn(c,a);if(p)return p}return null}function qn(c,f){if(c===f.value)return[f];for(const a of f.children){const p=qn(c,a);if(p.length)return p.unshift(f),p}return[]}class Qt{constructor(f,a){this.value=f,this.children=a}toString(){return`TreeNode(${this.value})`}}function Jn(c){const f={};return c&&c.children.forEach(a=>f[a.value.outlet]=a),f}class Xr extends on{constructor(f,a){super(f),this.snapshot=a,Pn(this,f)}toString(){return this.snapshot.toString()}}function Mr(c,f){const a=function uo(c,f){const P=new it([],{},{},"",{},Oe,f,null,{});return new Ft("",new Qt(P,[]))}(0,f),p=new G.X([new Fn("",{})]),y=new G.X({}),I=new G.X({}),P=new G.X({}),X=new G.X(""),K=new Sr(p,y,P,X,I,Oe,f,a.root);return K.snapshot=a.root,new Xr(new Qt(K,[]),a)}class Sr{constructor(f,a,p,y,I,P,X,K){this.urlSubject=f,this.paramsSubject=a,this.queryParamsSubject=p,this.fragmentSubject=y,this.dataSubject=I,this.outlet=P,this.component=X,this._futureSnapshot=K,this.title=this.dataSubject?.pipe((0,Mt.U)(we=>we[yt]))??(0,B.of)(void 0),this.url=f,this.params=a,this.queryParams=p,this.fragment=y,this.data=I}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,Mt.U)(f=>Rt(f)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Mt.U)(f=>Rt(f)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function jt(c,f="emptyOnly"){const a=c.pathFromRoot;let p=0;if("always"!==f)for(p=a.length-1;p>=1;){const y=a[p],I=a[p-1];if(y.routeConfig&&""===y.routeConfig.path)p--;else{if(I.component)break;p--}}return function Fe(c){return c.reduce((f,a)=>({params:{...f.params,...a.params},data:{...f.data,...a.data},resolve:{...a.data,...f.resolve,...a.routeConfig?.data,...a._resolvedData}}),{params:{},data:{},resolve:{}})}(a.slice(p))}class it{get title(){return this.data?.[yt]}constructor(f,a,p,y,I,P,X,K,we){this.url=f,this.params=a,this.queryParams=p,this.fragment=y,this.data=I,this.outlet=P,this.component=X,this.routeConfig=K,this._resolve=we}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=Rt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Rt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(p=>p.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ft extends on{constructor(f,a){super(a),this.url=f,Pn(this,a)}toString(){return Ir(this._root)}}function Pn(c,f){f.value._routerState=c,f.children.forEach(a=>Pn(c,a))}function Ir(c){const f=c.children.length>0?` { ${c.children.map(Ir).join(", ")} } `:"";return`${c.value}${f}`}function fn(c){if(c.snapshot){const f=c.snapshot,a=c._futureSnapshot;c.snapshot=a,mn(f.queryParams,a.queryParams)||c.queryParamsSubject.next(a.queryParams),f.fragment!==a.fragment&&c.fragmentSubject.next(a.fragment),mn(f.params,a.params)||c.paramsSubject.next(a.params),function et(c,f){if(c.length!==f.length)return!1;for(let a=0;amn(a.parameters,f[p].parameters))}(c.url,f.url);return a&&!(!c.parent!=!f.parent)&&(!c.parent||Nn(c.parent,f.parent))}let qt=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=Oe,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.parentContexts=(0,l.f3M)(dt),this.location=(0,l.f3M)(l.s_b),this.changeDetector=(0,l.f3M)(l.sBO),this.environmentInjector=(0,l.f3M)(l.lqb),this.inputBinder=(0,l.f3M)(sr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(a){if(a.name){const{firstChange:p,previousValue:y}=a.name;if(p)return;this.isTrackedInParentContexts(y)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(y)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(a){return this.parentContexts.getContext(a)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const a=this.parentContexts.getContext(this.name);a?.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,!1);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,p){this.activated=a,this._activatedRoute=p,this.location.insert(a.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,p){if(this.isActivated)throw new l.vHH(4013,!1);this._activatedRoute=a;const y=this.location,P=a.snapshot.component,X=this.parentContexts.getOrCreateContext(this.name).children,K=new or(a,X,y.injector);this.activated=y.createComponent(P,{index:y.length,injector:K,environmentInjector:p??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275dir=l.lG2({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[l.TTD]})}return c})();class or{constructor(f,a,p){this.route=f,this.childContexts=a,this.parent=p}get(f,a){return f===Sr?this.route:f===dt?this.childContexts:this.parent.get(f,a)}}const sr=new l.OlP("");let nt=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(a){this.unsubscribeFromRouteData(a),this.subscribeToRouteData(a)}unsubscribeFromRouteData(a){this.outletDataSubscriptions.get(a)?.unsubscribe(),this.outletDataSubscriptions.delete(a)}subscribeToRouteData(a){const{activatedRoute:p}=a,y=Ve([p.queryParams,p.params,p.data]).pipe((0,sn.w)(([I,P,X],K)=>(X={...I,...P,...X},0===K?(0,B.of)(X):Promise.resolve(X)))).subscribe(I=>{if(!a.isActivated||!a.activatedComponentRef||a.activatedRoute!==p||null===p.component)return void this.unsubscribeFromRouteData(a);const P=(0,l.qFp)(p.component);if(P)for(const{templateName:X}of P.inputs)a.activatedComponentRef.setInput(X,I[X]);else this.unsubscribeFromRouteData(a)});this.outletDataSubscriptions.set(a,y)}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac})}return c})();function Lr(c,f,a){if(a&&c.shouldReuseRoute(f.value,a.value.snapshot)){const p=a.value;p._futureSnapshot=f.value;const y=function pr(c,f,a){return f.children.map(p=>{for(const y of a.children)if(c.shouldReuseRoute(p.value,y.value.snapshot))return Lr(c,p,y);return Lr(c,p)})}(c,f,a);return new Qt(p,y)}{if(c.shouldAttach(f.value)){const I=c.retrieve(f.value);if(null!==I){const P=I.route;return P.value._futureSnapshot=f.value,P.children=f.children.map(X=>Lr(c,X)),P}}const p=function Wt(c){return new Sr(new G.X(c.url),new G.X(c.params),new G.X(c.queryParams),new G.X(c.fragment),new G.X(c.data),c.outlet,c.component,c)}(f.value),y=f.children.map(I=>Lr(c,I));return new Qt(p,y)}}const kr="ngNavigationCancelingError";function gr(c,f){const{redirectTo:a,navigationBehaviorOptions:p}=an(f)?{redirectTo:f,navigationBehaviorOptions:void 0}:f,y=Gn(!1,0,f);return y.url=a,y.navigationBehaviorOptions=p,y}function Gn(c,f,a){const p=new Error("NavigationCancelingError: "+(c||""));return p[kr]=!0,p.cancellationCode=f,a&&(p.url=a),p}function Ur(c){return c&&c[kr]}let zn=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275cmp=l.Xpm({type:c,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(p,y){1&p&&l._UZ(0,"router-outlet")},dependencies:[qt],encapsulation:2})}return c})();function $r(c){const f=c.children&&c.children.map($r),a=f?{...c,children:f}:{...c};return!a.component&&!a.loadComponent&&(f||a.loadChildren)&&a.outlet&&a.outlet!==Oe&&(a.component=zn),a}function bn(c){return c.outlet||Oe}function Fi(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let f=c.parent;f;f=f.parent){const a=f.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class Li{constructor(f,a,p,y,I){this.routeReuseStrategy=f,this.futureState=a,this.currState=p,this.forwardEvent=y,this.inputBindingEnabled=I}activate(f){const a=this.futureState._root,p=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,p,f),fn(this.futureState.root),this.activateChildRoutes(a,p,f)}deactivateChildRoutes(f,a,p){const y=Jn(a);f.children.forEach(I=>{const P=I.value.outlet;this.deactivateRoutes(I,y[P],p),delete y[P]}),Object.values(y).forEach(I=>{this.deactivateRouteAndItsChildren(I,p)})}deactivateRoutes(f,a,p){const y=f.value,I=a?a.value:null;if(y===I)if(y.component){const P=p.getContext(y.outlet);P&&this.deactivateChildRoutes(f,a,P.children)}else this.deactivateChildRoutes(f,a,p);else I&&this.deactivateRouteAndItsChildren(a,p)}deactivateRouteAndItsChildren(f,a){f.value.component&&this.routeReuseStrategy.shouldDetach(f.value.snapshot)?this.detachAndStoreRouteSubtree(f,a):this.deactivateRouteAndOutlet(f,a)}detachAndStoreRouteSubtree(f,a){const p=a.getContext(f.value.outlet),y=p&&f.value.component?p.children:a,I=Jn(f);for(const P of Object.keys(I))this.deactivateRouteAndItsChildren(I[P],y);if(p&&p.outlet){const P=p.outlet.detach(),X=p.children.onOutletDeactivated();this.routeReuseStrategy.store(f.value.snapshot,{componentRef:P,route:f,contexts:X})}}deactivateRouteAndOutlet(f,a){const p=a.getContext(f.value.outlet),y=p&&f.value.component?p.children:a,I=Jn(f);for(const P of Object.keys(I))this.deactivateRouteAndItsChildren(I[P],y);p&&(p.outlet&&(p.outlet.deactivate(),p.children.onOutletDeactivated()),p.attachRef=null,p.route=null)}activateChildRoutes(f,a,p){const y=Jn(a);f.children.forEach(I=>{this.activateRoutes(I,y[I.value.outlet],p),this.forwardEvent(new Ri(I.value.snapshot))}),f.children.length&&this.forwardEvent(new Ni(f.value.snapshot))}activateRoutes(f,a,p){const y=f.value,I=a?a.value:null;if(fn(y),y===I)if(y.component){const P=p.getOrCreateContext(y.outlet);this.activateChildRoutes(f,a,P.children)}else this.activateChildRoutes(f,a,p);else if(y.component){const P=p.getOrCreateContext(y.outlet);if(this.routeReuseStrategy.shouldAttach(y.snapshot)){const X=this.routeReuseStrategy.retrieve(y.snapshot);this.routeReuseStrategy.store(y.snapshot,null),P.children.onOutletReAttached(X.contexts),P.attachRef=X.componentRef,P.route=X.route.value,P.outlet&&P.outlet.attach(X.componentRef,X.route.value),fn(X.route.value),this.activateChildRoutes(f,null,P.children)}else{const X=Fi(y.snapshot);P.attachRef=null,P.route=y,P.injector=X,P.outlet&&P.outlet.activateWith(y,P.injector),this.activateChildRoutes(f,null,P.children)}}else this.activateChildRoutes(f,null,p)}}class _{constructor(f){this.path=f,this.route=this.path[this.path.length-1]}}class C{constructor(f,a){this.component=f,this.route=a}}function g(c,f,a){const p=c._root;return Ke(p,f?f._root:null,a,[p.value])}function x(c,f){const a=Symbol(),p=f.get(c,a);return p===a?"function"!=typeof c||(0,l.Z0I)(c)?f.get(c):c:p}function Ke(c,f,a,p,y={canDeactivateChecks:[],canActivateChecks:[]}){const I=Jn(f);return c.children.forEach(P=>{(function Dt(c,f,a,p,y={canDeactivateChecks:[],canActivateChecks:[]}){const I=c.value,P=f?f.value:null,X=a?a.getContext(c.value.outlet):null;if(P&&I.routeConfig===P.routeConfig){const K=function vr(c,f,a){if("function"==typeof a)return a(c,f);switch(a){case"pathParamsChange":return!Sn(c.url,f.url);case"pathParamsOrQueryParamsChange":return!Sn(c.url,f.url)||!mn(c.queryParams,f.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nn(c,f)||!mn(c.queryParams,f.queryParams);default:return!Nn(c,f)}}(P,I,I.routeConfig.runGuardsAndResolvers);K?y.canActivateChecks.push(new _(p)):(I.data=P.data,I._resolvedData=P._resolvedData),Ke(c,f,I.component?X?X.children:null:a,p,y),K&&X&&X.outlet&&X.outlet.isActivated&&y.canDeactivateChecks.push(new C(X.outlet.component,P))}else P&&br(f,X,y),y.canActivateChecks.push(new _(p)),Ke(c,null,I.component?X?X.children:null:a,p,y)})(P,I[P.value.outlet],a,p.concat([P.value]),y),delete I[P.value.outlet]}),Object.entries(I).forEach(([P,X])=>br(X,a.getContext(P),y)),y}function br(c,f,a){const p=Jn(c),y=c.value;Object.entries(p).forEach(([I,P])=>{br(P,y.component?f?f.children.getContext(I):null:f,a)}),a.canDeactivateChecks.push(new C(y.component&&f&&f.outlet&&f.outlet.isActivated?f.outlet.component:null,y))}function ei(c){return"function"==typeof c}function Cs(c){return c instanceof mt||"EmptyError"===c?.name}const ki=Symbol("INITIAL_VALUE");function Ar(){return(0,sn.w)(c=>Ve(c.map(f=>f.pipe((0,Q.q)(1),function q(...c){const f=(0,V.yG)(c);return(0,De.e)((a,p)=>{(f?Ce(c,a,f):Ce(c,a)).subscribe(p)})}(ki)))).pipe((0,Mt.U)(f=>{for(const a of f)if(!0!==a){if(a===ki)return ki;if(!1===a||a instanceof tn)return a}return!0}),(0,re.h)(f=>f!==ki),(0,Q.q)(1)))}function En(c){return(0,Te.z)(ke(f=>{if(an(f))throw gr(0,f)}),(0,Mt.U)(f=>!0===f))}class kn{constructor(f){this.segmentGroup=f||null}}class To{constructor(f){this.urlTree=f}}function yi(c){return(0,ve._)(new kn(c))}function Oo(c){return(0,ve._)(new To(c))}class As{constructor(f,a){this.urlSerializer=f,this.urlTree=a}noMatchError(f){return new l.vHH(4002,!1)}lineralizeSegments(f,a){let p=[],y=a.root;for(;;){if(p=p.concat(y.segments),0===y.numberOfChildren)return(0,B.of)(p);if(y.numberOfChildren>1||!y.children[Oe])return(0,ve._)(new l.vHH(4e3,!1));y=y.children[Oe]}}applyRedirectCommands(f,a,p){return this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),f,p)}applyRedirectCreateUrlTree(f,a,p,y){const I=this.createSegmentGroup(f,a.root,p,y);return new tn(I,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(f,a){const p={};return Object.entries(f).forEach(([y,I])=>{if("string"==typeof I&&I.startsWith(":")){const X=I.substring(1);p[y]=a[X]}else p[y]=I}),p}createSegmentGroup(f,a,p,y){const I=this.createSegments(f,a.segments,p,y);let P={};return Object.entries(a.children).forEach(([X,K])=>{P[X]=this.createSegmentGroup(f,K,p,y)}),new Ne(I,P)}createSegments(f,a,p,y){return a.map(I=>I.path.startsWith(":")?this.findPosParam(f,I,y):this.findOrReturn(I,p))}findPosParam(f,a,p){const y=p[a.path.substring(1)];if(!y)throw new l.vHH(4001,!1);return y}findOrReturn(f,a){let p=0;for(const y of a){if(y.path===f.path)return a.splice(p),y;p++}return f}}const Vi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function po(c,f,a,p,y){const I=go(c,f,a);return I.matched?(p=function mr(c,f){return c.providers&&!c._injector&&(c._injector=(0,l.MMx)(c.providers,f,`Route: ${c.path}`)),c._injector??f}(f,p),function fo(c,f,a,p){const y=f.canMatch;if(!y||0===y.length)return(0,B.of)(!0);const I=y.map(P=>{const X=x(P,c);return _n(function su(c){return c&&ei(c.canMatch)}(X)?X.canMatch(f,a):c.runInContext(()=>X(f,a)))});return(0,B.of)(I).pipe(Ar(),En())}(p,f,a).pipe((0,Mt.U)(P=>!0===P?I:{...Vi}))):(0,B.of)(I)}function go(c,f,a){if(""===f.path)return"full"===f.pathMatch&&(c.hasChildren()||a.length>0)?{...Vi}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const y=(f.matcher||Je)(a,c,f);if(!y)return{...Vi};const I={};Object.entries(y.posParams??{}).forEach(([X,K])=>{I[X]=K.path});const P=y.consumed.length>0?{...I,...y.consumed[y.consumed.length-1].parameters}:I;return{matched:!0,consumedSegments:y.consumed,remainingSegments:a.slice(y.consumed.length),parameters:P,positionalParamSegments:y.posParams??{}}}function Po(c,f,a,p){return a.length>0&&function Zi(c,f,a){return a.some(p=>qi(c,f,p)&&bn(p)!==Oe)}(c,a,p)?{segmentGroup:new Ne(f,mo(p,new Ne(a,c.children))),slicedSegments:[]}:0===a.length&&function Ui(c,f,a){return a.some(p=>qi(c,f,p))}(c,a,p)?{segmentGroup:new Ne(c.segments,Ts(c,0,a,p,c.children)),slicedSegments:a}:{segmentGroup:new Ne(c.segments,c.children),slicedSegments:a}}function Ts(c,f,a,p,y){const I={};for(const P of p)if(qi(c,a,P)&&!y[bn(P)]){const X=new Ne([],{});I[bn(P)]=X}return{...y,...I}}function mo(c,f){const a={};a[Oe]=f;for(const p of c)if(""===p.path&&bn(p)!==Oe){const y=new Ne([],{});a[bn(p)]=y}return a}function qi(c,f,a){return(!(c.hasChildren()||f.length>0)||"full"!==a.pathMatch)&&""===a.path}class Ji{constructor(f,a,p,y,I,P,X){this.injector=f,this.configLoader=a,this.rootComponentType=p,this.config=y,this.urlTree=I,this.paramsInheritanceStrategy=P,this.urlSerializer=X,this.allowRedirects=!0,this.applyRedirects=new As(this.urlSerializer,this.urlTree)}noMatchError(f){return new l.vHH(4002,!1)}recognize(){const f=Po(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,f,Oe).pipe((0,vt.K)(a=>{if(a instanceof To)return this.allowRedirects=!1,this.urlTree=a.urlTree,this.match(a.urlTree);throw a instanceof kn?this.noMatchError(a):a}),(0,Mt.U)(a=>{const p=new it([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Oe,this.rootComponentType,null,{}),y=new Qt(p,a),I=new Ft("",y),P=function nn(c,f,a=null,p=null){return pn(Hn(c),f,a,p)}(p,[],this.urlTree.queryParams,this.urlTree.fragment);return P.queryParams=this.urlTree.queryParams,I.url=this.urlSerializer.serialize(P),this.inheritParamsAndData(I._root),{state:I,tree:P}}))}match(f){return this.processSegmentGroup(this.injector,this.config,f.root,Oe).pipe((0,vt.K)(p=>{throw p instanceof kn?this.noMatchError(p):p}))}inheritParamsAndData(f){const a=f.value,p=jt(a,this.paramsInheritanceStrategy);a.params=Object.freeze(p.params),a.data=Object.freeze(p.data),f.children.forEach(y=>this.inheritParamsAndData(y))}processSegmentGroup(f,a,p,y){return 0===p.segments.length&&p.hasChildren()?this.processChildren(f,a,p):this.processSegment(f,a,p,p.segments,y,!0)}processChildren(f,a,p){const y=[];for(const I of Object.keys(p.children))"primary"===I?y.unshift(I):y.push(I);return(0,j.D)(y).pipe((0,Lt.b)(I=>{const P=p.children[I],X=function Dn(c,f){const a=c.filter(p=>bn(p)===f);return a.push(...c.filter(p=>bn(p)!==f)),a}(a,I);return this.processSegmentGroup(f,X,P,I)}),function rt(c,f){return(0,De.e)(function kt(c,f,a,p,y){return(I,P)=>{let X=a,K=f,we=0;I.subscribe((0,xe.x)(P,at=>{const Ht=we++;K=X?c(K,at,Ht):(X=!0,at),p&&P.next(K)},y&&(()=>{X&&P.next(K),P.complete()})))}}(c,f,arguments.length>=2,!0))}((I,P)=>(I.push(...P),I)),me(null),function Nt(c,f){const a=arguments.length>=2;return p=>p.pipe(c?(0,re.h)((y,I)=>c(y,I,p)):T.y,At(1),a?me(f):pe(()=>new mt))}(),(0,ne.z)(I=>{if(null===I)return yi(p);const P=w(I);return function Ia(c){c.sort((f,a)=>f.value.outlet===Oe?-1:a.value.outlet===Oe?1:f.value.outlet.localeCompare(a.value.outlet))}(P),(0,B.of)(P)}))}processSegment(f,a,p,y,I,P){return(0,j.D)(a).pipe((0,Lt.b)(X=>this.processSegmentAgainstRoute(X._injector??f,a,X,p,y,I,P).pipe((0,vt.K)(K=>{if(K instanceof kn)return(0,B.of)(null);throw K}))),ut(X=>!!X),(0,vt.K)(X=>{if(Cs(X))return function cu(c,f,a){return 0===f.length&&!c.children[a]}(p,y,I)?(0,B.of)([]):yi(p);throw X}))}processSegmentAgainstRoute(f,a,p,y,I,P,X){return function uu(c,f,a,p){return!!(bn(c)===p||p!==Oe&&qi(f,a,c))&&("**"===c.path||go(f,c,a).matched)}(p,y,I,P)?void 0===p.redirectTo?this.matchSegmentAgainstRoute(f,y,p,I,P,X):X&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(f,y,a,p,I,P):yi(y):yi(y)}expandSegmentAgainstRouteUsingRedirect(f,a,p,y,I,P){return"**"===y.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(f,p,y,P):this.expandRegularSegmentAgainstRouteUsingRedirect(f,a,p,y,I,P)}expandWildCardWithParamsAgainstRouteUsingRedirect(f,a,p,y){const I=this.applyRedirects.applyRedirectCommands([],p.redirectTo,{});return p.redirectTo.startsWith("/")?Oo(I):this.applyRedirects.lineralizeSegments(p,I).pipe((0,ne.z)(P=>{const X=new Ne(P,{});return this.processSegment(f,a,X,P,y,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(f,a,p,y,I,P){const{matched:X,consumedSegments:K,remainingSegments:we,positionalParamSegments:at}=go(a,y,I);if(!X)return yi(a);const Ht=this.applyRedirects.applyRedirectCommands(K,y.redirectTo,at);return y.redirectTo.startsWith("/")?Oo(Ht):this.applyRedirects.lineralizeSegments(y,Ht).pipe((0,ne.z)(St=>this.processSegment(f,p,a,St.concat(we),P,!1)))}matchSegmentAgainstRoute(f,a,p,y,I,P){let X;if("**"===p.path){const K=y.length>0?Mn(y).parameters:{},we=new it(y,K,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,E(p),bn(p),p.component??p._loadedComponent??null,p,R(p));X=(0,B.of)({snapshot:we,consumedSegments:[],remainingSegments:[]}),a.children={}}else X=po(a,p,y,f).pipe((0,Mt.U)(({matched:K,consumedSegments:we,remainingSegments:at,parameters:Ht})=>K?{snapshot:new it(we,Ht,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,E(p),bn(p),p.component??p._loadedComponent??null,p,R(p)),consumedSegments:we,remainingSegments:at}:null));return X.pipe((0,sn.w)(K=>null===K?yi(a):this.getChildConfig(f=p._injector??f,p,y).pipe((0,sn.w)(({routes:we})=>{const at=p._loadedInjector??f,{snapshot:Ht,consumedSegments:St,remainingSegments:ii}=K,{segmentGroup:Do,slicedSegments:wn}=Po(a,St,ii,we);if(0===wn.length&&Do.hasChildren())return this.processChildren(at,we,Do).pipe((0,Mt.U)(Kt=>null===Kt?null:[new Qt(Ht,Kt)]));if(0===we.length&&0===wn.length)return(0,B.of)([new Qt(Ht,[])]);const oi=bn(p)===I;return this.processSegment(at,we,Do,wn,oi?Oe:I,!0).pipe((0,Mt.U)(Kt=>[new Qt(Ht,Kt)]))}))))}getChildConfig(f,a,p){return a.children?(0,B.of)({routes:a.children,injector:f}):a.loadChildren?void 0!==a._loadedRoutes?(0,B.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function lu(c,f,a,p){const y=f.canLoad;if(void 0===y||0===y.length)return(0,B.of)(!0);const I=y.map(P=>{const X=x(P,c);return _n(function ru(c){return c&&ei(c.canLoad)}(X)?X.canLoad(f,a):c.runInContext(()=>X(f,a)))});return(0,B.of)(I).pipe(Ar(),En())}(f,a,p).pipe((0,ne.z)(y=>y?this.configLoader.loadChildren(f,a).pipe(ke(I=>{a._loadedRoutes=I.routes,a._loadedInjector=I.injector})):function ho(c){return(0,ve._)(Gn(!1,3))}())):(0,B.of)({routes:[],injector:f})}}function d(c){const f=c.value.routeConfig;return f&&""===f.path}function w(c){const f=[],a=new Set;for(const p of c){if(!d(p)){f.push(p);continue}const y=f.find(I=>p.value.routeConfig===I.value.routeConfig);void 0!==y?(y.children.push(...p.children),a.add(y)):f.push(p)}for(const p of a){const y=w(p.children);f.push(new Qt(p.value,y))}return f.filter(p=>!a.has(p))}function E(c){return c.data||{}}function R(c){return c.resolve||{}}function gt(c){return"string"==typeof c.title||null===c.title}function en(c){return(0,sn.w)(f=>{const a=c(f);return a?(0,j.D)(a).pipe((0,Mt.U)(()=>f)):(0,B.of)(f)})}const It=new l.OlP("ROUTES");let hn=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,l.f3M)(l.Sil)}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,B.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const p=_n(a.loadComponent()).pipe((0,Mt.U)(Di),ke(I=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=I}),(0,Vt.x)(()=>{this.componentLoaders.delete(a)})),y=new He(p,()=>new Qe.x).pipe(Gt());return this.componentLoaders.set(a,y),y}loadChildren(a,p){if(this.childrenLoaders.get(p))return this.childrenLoaders.get(p);if(p._loadedRoutes)return(0,B.of)({routes:p._loadedRoutes,injector:p._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(p);const I=function Tr(c,f,a,p){return _n(c.loadChildren()).pipe((0,Mt.U)(Di),(0,ne.z)(y=>y instanceof l.YKP||Array.isArray(y)?(0,B.of)(y):(0,j.D)(f.compileModuleAsync(y))),(0,Mt.U)(y=>{p&&p(c);let I,P,X=!1;return Array.isArray(y)?(P=y,!0):(I=y.create(a).injector,P=I.get(It,[],{optional:!0,self:!0}).flat()),{routes:P.map($r),injector:I}}))}(p,this.compiler,a,this.onLoadEndListener).pipe((0,Vt.x)(()=>{this.childrenLoaders.delete(p)})),P=new He(I,()=>new Qe.x).pipe(Gt());return this.childrenLoaders.set(p,P),P}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Di(c){return function Or(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let Vn=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Qe.x,this.transitionAbortSubject=new Qe.x,this.configLoader=(0,l.f3M)(hn),this.environmentInjector=(0,l.f3M)(l.lqb),this.urlSerializer=(0,l.f3M)(rr),this.rootContexts=(0,l.f3M)(dt),this.inputBindingEnabled=null!==(0,l.f3M)(sr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,B.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=y=>this.events.next(new ao(y)),this.configLoader.onLoadStartListener=y=>this.events.next(new Pi(y))}complete(){this.transitions?.complete()}handleNavigationRequest(a){const p=++this.navigationId;this.transitions?.next({...this.transitions.value,...a,id:p})}setupNavigations(a,p,y){return this.transitions=new G.X({id:0,currentUrlTree:p,currentRawUrl:p,currentBrowserUrl:p,extractedUrl:a.urlHandlingStrategy.extract(p),urlAfterRedirects:a.urlHandlingStrategy.extract(p),rawUrl:p,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Zr,restoredState:null,currentSnapshot:y.snapshot,targetSnapshot:null,currentRouterState:y,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,re.h)(I=>0!==I.id),(0,Mt.U)(I=>({...I,extractedUrl:a.urlHandlingStrategy.extract(I.rawUrl)})),(0,sn.w)(I=>{this.currentTransition=I;let P=!1,X=!1;return(0,B.of)(I).pipe(ke(K=>{this.currentNavigation={id:K.id,initialUrl:K.rawUrl,extractedUrl:K.extractedUrl,trigger:K.source,extras:K.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,sn.w)(K=>{const we=K.currentBrowserUrl.toString(),at=!a.navigated||K.extractedUrl.toString()!==we||we!==K.currentUrlTree.toString();if(!at&&"reload"!==(K.extras.onSameUrlNavigation??a.onSameUrlNavigation)){const St="";return this.events.next(new hr(K.id,this.urlSerializer.serialize(K.rawUrl),St,0)),K.resolve(null),Ze.E}if(a.urlHandlingStrategy.shouldProcessUrl(K.rawUrl))return(0,B.of)(K).pipe((0,sn.w)(St=>{const ii=this.transitions?.getValue();return this.events.next(new ci(St.id,this.urlSerializer.serialize(St.extractedUrl),St.source,St.restoredState)),ii!==this.transitions?.getValue()?Ze.E:Promise.resolve(St)}),function te(c,f,a,p,y,I){return(0,ne.z)(P=>function du(c,f,a,p,y,I,P="emptyOnly"){return new Ji(c,f,a,p,y,P,I).recognize()}(c,f,a,p,P.extractedUrl,y,I).pipe((0,Mt.U)(({state:X,tree:K})=>({...P,targetSnapshot:X,urlAfterRedirects:K}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,a.config,this.urlSerializer,a.paramsInheritanceStrategy),ke(St=>{I.targetSnapshot=St.targetSnapshot,I.urlAfterRedirects=St.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:St.urlAfterRedirects};const ii=new Jr(St.id,this.urlSerializer.serialize(St.extractedUrl),this.urlSerializer.serialize(St.urlAfterRedirects),St.targetSnapshot);this.events.next(ii)}));if(at&&a.urlHandlingStrategy.shouldProcessUrl(K.currentRawUrl)){const{id:St,extractedUrl:ii,source:Do,restoredState:wn,extras:oi}=K,Kt=new ci(St,this.urlSerializer.serialize(ii),Do,wn);this.events.next(Kt);const Mu=Mr(0,this.rootComponentType).snapshot;return this.currentTransition=I={...K,targetSnapshot:Mu,urlAfterRedirects:ii,extras:{...oi,skipLocationChange:!1,replaceUrl:!1}},(0,B.of)(I)}{const St="";return this.events.next(new hr(K.id,this.urlSerializer.serialize(K.extractedUrl),St,1)),K.resolve(null),Ze.E}}),ke(K=>{const we=new oo(K.id,this.urlSerializer.serialize(K.extractedUrl),this.urlSerializer.serialize(K.urlAfterRedirects),K.targetSnapshot);this.events.next(we)}),(0,Mt.U)(K=>(this.currentTransition=I={...K,guards:g(K.targetSnapshot,K.currentSnapshot,this.rootContexts)},I)),function Es(c,f){return(0,ne.z)(a=>{const{targetSnapshot:p,currentSnapshot:y,guards:{canActivateChecks:I,canDeactivateChecks:P}}=a;return 0===P.length&&0===I.length?(0,B.of)({...a,guardsResult:!0}):function ws(c,f,a,p){return(0,j.D)(c).pipe((0,ne.z)(y=>function Is(c,f,a,p,y){const I=f&&f.routeConfig?f.routeConfig.canDeactivate:null;if(!I||0===I.length)return(0,B.of)(!0);const P=I.map(X=>{const K=Fi(f)??y,we=x(X,K);return _n(function ou(c){return c&&ei(c.canDeactivate)}(we)?we.canDeactivate(c,f,a,p):K.runInContext(()=>we(c,f,a,p))).pipe(ut())});return(0,B.of)(P).pipe(Ar())}(y.component,y.route,a,f,p)),ut(y=>!0!==y,!0))}(P,p,y,c).pipe((0,ne.z)(X=>X&&function nu(c){return"boolean"==typeof c}(X)?function Ms(c,f,a,p){return(0,j.D)(f).pipe((0,Lt.b)(y=>Ce(function au(c,f){return null!==c&&f&&f(new di(c)),(0,B.of)(!0)}(y.route.parent,p),function Ss(c,f){return null!==c&&f&&f(new lo(c)),(0,B.of)(!0)}(y.route,p),function Br(c,f,a){const p=f[f.length-1],I=f.slice(0,f.length-1).reverse().map(P=>function b(c){const f=c.routeConfig?c.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:c,guards:f}:null}(P)).filter(P=>null!==P).map(P=>Ee(()=>{const X=P.guards.map(K=>{const we=Fi(P.node)??a,at=x(K,we);return _n(function iu(c){return c&&ei(c.canActivateChild)}(at)?at.canActivateChild(p,c):we.runInContext(()=>at(p,c))).pipe(ut())});return(0,B.of)(X).pipe(Ar())}));return(0,B.of)(I).pipe(Ar())}(c,y.path,a),function vi(c,f,a){const p=f.routeConfig?f.routeConfig.canActivate:null;if(!p||0===p.length)return(0,B.of)(!0);const y=p.map(I=>Ee(()=>{const P=Fi(f)??a,X=x(I,P);return _n(function wa(c){return c&&ei(c.canActivate)}(X)?X.canActivate(f,c):P.runInContext(()=>X(f,c))).pipe(ut())}));return(0,B.of)(y).pipe(Ar())}(c,y.route,a))),ut(y=>!0!==y,!0))}(p,I,c,f):(0,B.of)(X)),(0,Mt.U)(X=>({...a,guardsResult:X})))})}(this.environmentInjector,K=>this.events.next(K)),ke(K=>{if(I.guardsResult=K.guardsResult,an(K.guardsResult))throw gr(0,K.guardsResult);const we=new Ao(K.id,this.urlSerializer.serialize(K.extractedUrl),this.urlSerializer.serialize(K.urlAfterRedirects),K.targetSnapshot,!!K.guardsResult);this.events.next(we)}),(0,re.h)(K=>!!K.guardsResult||(this.cancelNavigationTransition(K,"",3),!1)),en(K=>{if(K.guards.canActivateChecks.length)return(0,B.of)(K).pipe(ke(we=>{const at=new Oi(we.id,this.urlSerializer.serialize(we.extractedUrl),this.urlSerializer.serialize(we.urlAfterRedirects),we.targetSnapshot);this.events.next(at)}),(0,sn.w)(we=>{let at=!1;return(0,B.of)(we).pipe(function ce(c,f){return(0,ne.z)(a=>{const{targetSnapshot:p,guards:{canActivateChecks:y}}=a;if(!y.length)return(0,B.of)(a);let I=0;return(0,j.D)(y).pipe((0,Lt.b)(P=>function Ge(c,f,a,p){const y=c.routeConfig,I=c._resolve;return void 0!==y?.title&&!gt(y)&&(I[yt]=y.title),function $t(c,f,a,p){const y=function Bt(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}(c);if(0===y.length)return(0,B.of)({});const I={};return(0,j.D)(y).pipe((0,ne.z)(P=>function Pt(c,f,a,p){const y=Fi(f)??p,I=x(c,y);return _n(I.resolve?I.resolve(f,a):y.runInContext(()=>I(f,a)))}(c[P],f,a,p).pipe(ut(),ke(X=>{I[P]=X}))),At(1),function W(c){return(0,Mt.U)(()=>c)}(I),(0,vt.K)(P=>Cs(P)?Ze.E:(0,ve._)(P)))}(I,c,f,p).pipe((0,Mt.U)(P=>(c._resolvedData=P,c.data=jt(c,a).resolve,y&>(y)&&(c.data[yt]=y.title),null)))}(P.route,p,c,f)),ke(()=>I++),At(1),(0,ne.z)(P=>I===y.length?(0,B.of)(a):Ze.E))})}(a.paramsInheritanceStrategy,this.environmentInjector),ke({next:()=>at=!0,complete:()=>{at||this.cancelNavigationTransition(we,"",2)}}))}),ke(we=>{const at=new so(we.id,this.urlSerializer.serialize(we.extractedUrl),this.urlSerializer.serialize(we.urlAfterRedirects),we.targetSnapshot);this.events.next(at)}))}),en(K=>{const we=at=>{const Ht=[];at.routeConfig?.loadComponent&&!at.routeConfig._loadedComponent&&Ht.push(this.configLoader.loadComponent(at.routeConfig).pipe(ke(St=>{at.component=St}),(0,Mt.U)(()=>{})));for(const St of at.children)Ht.push(...we(St));return Ht};return Ve(we(K.targetSnapshot.root)).pipe(me(),(0,Q.q)(1))}),en(()=>this.afterPreactivation()),(0,Mt.U)(K=>{const we=function gi(c,f,a){const p=Lr(c,f._root,a?a._root:void 0);return new Xr(p,f)}(a.routeReuseStrategy,K.targetSnapshot,K.currentRouterState);return this.currentTransition=I={...K,targetRouterState:we},I}),ke(()=>{this.events.next(new Fr)}),((c,f,a,p)=>(0,Mt.U)(y=>(new Li(f,y.targetRouterState,y.currentRouterState,a,p).activate(c),y)))(this.rootContexts,a.routeReuseStrategy,K=>this.events.next(K),this.inputBindingEnabled),(0,Q.q)(1),ke({next:K=>{P=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new un(K.id,this.urlSerializer.serialize(K.extractedUrl),this.urlSerializer.serialize(K.urlAfterRedirects))),a.titleStrategy?.updateTitle(K.targetRouterState.snapshot),K.resolve(!0)},complete:()=>{P=!0}}),function Me(c){return(0,De.e)((f,a)=>{(0,$e.Xf)(c).subscribe((0,xe.x)(a,()=>a.complete(),_e.Z)),!a.closed&&f.subscribe(a)})}(this.transitionAbortSubject.pipe(ke(K=>{throw K}))),(0,Vt.x)(()=>{P||X||this.cancelNavigationTransition(I,"",1),this.currentNavigation?.id===I.id&&(this.currentNavigation=null)}),(0,vt.K)(K=>{if(X=!0,Ur(K))this.events.next(new dn(I.id,this.urlSerializer.serialize(I.extractedUrl),K.message,K.cancellationCode)),function Vr(c){return Ur(c)&&an(c.url)}(K)?this.events.next(new hi(K.url)):I.resolve(!1);else{this.events.next(new qr(I.id,this.urlSerializer.serialize(I.extractedUrl),K,I.targetSnapshot??void 0));try{I.resolve(a.errorHandler(K))}catch(we){I.reject(we)}}return Ze.E}))}))}cancelNavigationTransition(a,p,y){const I=new dn(a.id,this.urlSerializer.serialize(a.extractedUrl),p,y);this.events.next(I),a.resolve(!1)}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function yr(c){return c!==Zr}let Pr=(()=>{class c{buildTitle(a){let p,y=a.root;for(;void 0!==y;)p=this.getResolvedTitleForRoute(y)??p,y=y.children.find(I=>I.outlet===Oe);return p}getResolvedTitleForRoute(a){return a.data[yt]}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return(0,l.f3M)(_i)},providedIn:"root"})}return c})(),_i=(()=>{class c extends Pr{constructor(a){super(),this.title=a}updateTitle(a){const p=this.buildTitle(a);void 0!==p&&this.title.setTitle(p)}static#e=this.\u0275fac=function(p){return new(p||c)(l.LFG(he.Dx))};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),fu=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return(0,l.f3M)(Aa)},providedIn:"root"})}return c})();class ba{shouldDetach(f){return!1}store(f,a){}shouldAttach(f){return!1}retrieve(f){return null}shouldReuseRoute(f,a){return f.routeConfig===a.routeConfig}}let Aa=(()=>{class c extends ba{static#e=this.\u0275fac=function(){let a;return function(y){return(a||(a=l.n5z(c)))(y||c)}}();static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const No=new l.OlP("",{providedIn:"root",factory:()=>({})});let Os=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return(0,l.f3M)(hu)},providedIn:"root"})}return c})(),hu=(()=>{class c{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,p){return a}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var Xn=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(Xn||{});function Ps(c,f){c.events.pipe((0,re.h)(a=>a instanceof un||a instanceof dn||a instanceof qr||a instanceof hr),(0,Mt.U)(a=>a instanceof un||a instanceof hr?Xn.COMPLETE:a instanceof dn&&(0===a.code||1===a.code)?Xn.REDIRECTING:Xn.FAILED),(0,re.h)(a=>a!==Xn.REDIRECTING),(0,Q.q)(1)).subscribe(()=>{f()})}function Ta(c){throw c}function Jt(c,f,a){return f.parse("/")}const Ns={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ro={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Xt=(()=>{class c{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,l.f3M)(l.c2e),this.isNgZoneEnabled=!1,this._events=new Qe.x,this.options=(0,l.f3M)(No,{optional:!0})||{},this.pendingTasks=(0,l.f3M)(l.HDt),this.errorHandler=this.options.errorHandler||Ta,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Jt,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,l.f3M)(Os),this.routeReuseStrategy=(0,l.f3M)(fu),this.titleStrategy=(0,l.f3M)(Pr),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,l.f3M)(It,{optional:!0})?.flat()??[],this.navigationTransitions=(0,l.f3M)(Vn),this.urlSerializer=(0,l.f3M)(rr),this.location=(0,l.f3M)(zt.Ye),this.componentInputBindingEnabled=!!(0,l.f3M)(sr,{optional:!0}),this.eventsSubscription=new Ye.w0,this.isNgZoneEnabled=(0,l.f3M)(l.R0b)instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new tn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Mr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(a=>{this.lastSuccessfulId=a.id,this.currentPageId=this.browserPageId},a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const a=this.navigationTransitions.events.subscribe(p=>{try{const{currentTransition:y}=this.navigationTransitions;if(null===y)return void(Rs(p)&&this._events.next(p));if(p instanceof ci)yr(y.source)&&(this.browserUrlTree=y.extractedUrl);else if(p instanceof hr)this.rawUrlTree=y.rawUrl;else if(p instanceof Jr){if("eager"===this.urlUpdateStrategy){if(!y.extras.skipLocationChange){const I=this.urlHandlingStrategy.merge(y.urlAfterRedirects,y.rawUrl);this.setBrowserUrl(I,y)}this.browserUrlTree=y.urlAfterRedirects}}else if(p instanceof Fr)this.currentUrlTree=y.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(y.urlAfterRedirects,y.rawUrl),this.routerState=y.targetRouterState,"deferred"===this.urlUpdateStrategy&&(y.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,y),this.browserUrlTree=y.urlAfterRedirects);else if(p instanceof dn)0!==p.code&&1!==p.code&&(this.navigated=!0),(3===p.code||2===p.code)&&this.restoreHistory(y);else if(p instanceof hi){const I=this.urlHandlingStrategy.merge(p.url,y.currentRawUrl),P={skipLocationChange:y.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yr(y.source)};this.scheduleNavigation(I,Zr,null,P,{resolve:y.resolve,reject:y.reject,promise:y.promise})}p instanceof qr&&this.restoreHistory(y,!0),p instanceof un&&(this.navigated=!0),Rs(p)&&this._events.next(p)}catch(y){this.navigationTransitions.transitionAbortSubject.next(y)}});this.eventsSubscription.add(a)}resetRootComponentType(a){this.routerState.root.component=a,this.navigationTransitions.rootComponentType=a}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const a=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Zr,a)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(a=>{const p="popstate"===a.type?"popstate":"hashchange";"popstate"===p&&setTimeout(()=>{this.navigateToSyncWithBrowser(a.url,p,a.state)},0)}))}navigateToSyncWithBrowser(a,p,y){const I={replaceUrl:!0},P=y?.navigationId?y:null;if(y){const K={...y};delete K.navigationId,delete K.\u0275routerPageId,0!==Object.keys(K).length&&(I.state=K)}const X=this.parseUrl(a);this.scheduleNavigation(X,p,P,I)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(a){this.config=a.map($r),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,this.eventsSubscription.unsubscribe()}createUrlTree(a,p={}){const{relativeTo:y,queryParams:I,fragment:P,queryParamsHandling:X,preserveFragment:K}=p,we=K?this.currentUrlTree.fragment:P;let Ht,at=null;switch(X){case"merge":at={...this.currentUrlTree.queryParams,...I};break;case"preserve":at=this.currentUrlTree.queryParams;break;default:at=I||null}null!==at&&(at=this.removeEmptyProps(at));try{Ht=Hn(y?y.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof a[0]||!a[0].startsWith("/"))&&(a=[]),Ht=this.currentUrlTree.root}return pn(Ht,a,at,we??null)}navigateByUrl(a,p={skipLocationChange:!1}){const y=an(a)?a:this.parseUrl(a),I=this.urlHandlingStrategy.merge(y,this.rawUrlTree);return this.scheduleNavigation(I,Zr,null,p)}navigate(a,p={skipLocationChange:!1}){return function pu(c){for(let f=0;f{const I=a[y];return null!=I&&(p[y]=I),p},{})}scheduleNavigation(a,p,y,I,P){if(this.disposed)return Promise.resolve(!1);let X,K,we;P?(X=P.resolve,K=P.reject,we=P.promise):we=new Promise((Ht,St)=>{X=Ht,K=St});const at=this.pendingTasks.add();return Ps(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(at))}),this.navigationTransitions.handleNavigationRequest({source:p,restoredState:y,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:a,extras:I,resolve:X,reject:K,promise:we,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),we.catch(Ht=>Promise.reject(Ht))}setBrowserUrl(a,p){const y=this.urlSerializer.serialize(a);if(this.location.isCurrentPathEqualTo(y)||p.extras.replaceUrl){const P={...p.extras.state,...this.generateNgRouterState(p.id,this.browserPageId)};this.location.replaceState(y,"",P)}else{const I={...p.extras.state,...this.generateNgRouterState(p.id,this.browserPageId+1)};this.location.go(y,"",I)}}restoreHistory(a,p=!1){if("computed"===this.canceledNavigationResolution){const I=this.currentPageId-this.browserPageId;0!==I?this.location.historyGo(I):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===I&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(p&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(a,p){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:p}:{navigationId:a}}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Rs(c){return!(c instanceof Fr||c instanceof hi)}let ti=(()=>{class c{constructor(a,p,y,I,P,X){this.router=a,this.route=p,this.tabIndexAttribute=y,this.renderer=I,this.el=P,this.locationStrategy=X,this.href=null,this.commands=null,this.onChanges=new Qe.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const K=P.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===K||"area"===K,this.isAnchorElement?this.subscription=a.events.subscribe(we=>{we instanceof un&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(a){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",a)}ngOnChanges(a){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(a){null!=a?(this.commands=Array.isArray(a)?a:[a],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(a,p,y,I,P){return!!(null===this.urlTree||this.isAnchorElement&&(0!==a||p||y||I||P||"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 a=null===this.href?null:(0,l.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",a)}applyAttributeValue(a,p){const y=this.renderer,I=this.el.nativeElement;null!==p?y.setAttribute(I,a,p):y.removeAttribute(I,a)}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})}static#e=this.\u0275fac=function(p){return new(p||c)(l.Y36(Xt),l.Y36(Sr),l.$8M("tabindex"),l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(zt.S$))};static#t=this.\u0275dir=l.lG2({type:c,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(p,y){1&p&&l.NdJ("click",function(P){return y.onClick(P.button,P.ctrlKey,P.shiftKey,P.altKey,P.metaKey)}),2&p&&l.uIk("target",y.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",l.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",l.VuI],replaceUrl:["replaceUrl","replaceUrl",l.VuI],routerLink:"routerLink"},standalone:!0,features:[l.Xq5,l.TTD]})}return c})(),Qn=(()=>{class c{get isActive(){return this._isActive}constructor(a,p,y,I,P){this.router=a,this.element=p,this.renderer=y,this.cdr=I,this.link=P,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new l.vpe,this.routerEventsSubscription=a.events.subscribe(X=>{X instanceof un&&this.update()})}ngAfterContentInit(){(0,B.of)(this.links.changes,(0,B.of)(null)).pipe((0,Xe.J)()).subscribe(a=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const a=[...this.links.toArray(),this.link].filter(p=>!!p).map(p=>p.onChanges);this.linkInputChangesSubscription=(0,j.D)(a).pipe((0,Xe.J)()).subscribe(p=>{this._isActive!==this.isLinkActive(this.router)(p)&&this.update()})}set routerLinkActive(a){const p=Array.isArray(a)?a:a.split(" ");this.classes=p.filter(y=>!!y)}ngOnChanges(a){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const a=this.hasActiveLinks();this._isActive!==a&&(this._isActive=a,this.cdr.markForCheck(),this.classes.forEach(p=>{a?this.renderer.addClass(this.element.nativeElement,p):this.renderer.removeClass(this.element.nativeElement,p)}),a&&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(a))})}isLinkActive(a){const p=function gu(c){return!!c.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return y=>!!y.urlTree&&a.isActive(y.urlTree,p)}hasActiveLinks(){const a=this.isLinkActive(this.router);return this.link&&a(this.link)||this.links.some(a)}static#e=this.\u0275fac=function(p){return new(p||c)(l.Y36(Xt),l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(l.sBO),l.Y36(ti,8))};static#t=this.\u0275dir=l.lG2({type:c,selectors:[["","routerLinkActive",""]],contentQueries:function(p,y,I){if(1&p&&l.Suo(I,ti,5),2&p){let P;l.iGM(P=l.CRH())&&(y.links=P)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[l.TTD]})}return c})();class Oa{}let Pa=(()=>{class c{constructor(a,p,y,I,P){this.router=a,this.injector=y,this.preloadingStrategy=I,this.loader=P}setUpPreloading(){this.subscription=this.router.events.pipe((0,re.h)(a=>a instanceof un),(0,Lt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,p){const y=[];for(const I of p){I.providers&&!I._injector&&(I._injector=(0,l.MMx)(I.providers,a,`Route: ${I.path}`));const P=I._injector??a,X=I._loadedInjector??P;(I.loadChildren&&!I._loadedRoutes&&void 0===I.canLoad||I.loadComponent&&!I._loadedComponent)&&y.push(this.preloadConfig(P,I)),(I.children||I._loadedRoutes)&&y.push(this.processRoutes(X,I.children??I._loadedRoutes))}return(0,j.D)(y).pipe((0,Xe.J)())}preloadConfig(a,p){return this.preloadingStrategy.preload(p,()=>{let y;y=p.loadChildren&&void 0===p.canLoad?this.loader.loadChildren(a,p):(0,B.of)(null);const I=y.pipe((0,ne.z)(P=>null===P?(0,B.of)(void 0):(p._loadedRoutes=P.routes,p._loadedInjector=P.injector,this.processRoutes(P.injector??a,P.routes))));if(p.loadComponent&&!p._loadedComponent){const P=this.loader.loadComponent(p);return(0,j.D)([I,P]).pipe((0,Xe.J)())}return I})}static#e=this.\u0275fac=function(p){return new(p||c)(l.LFG(Xt),l.LFG(l.Sil),l.LFG(l.lqb),l.LFG(Oa),l.LFG(hn))};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const xs=new l.OlP("");let Fs=(()=>{class c{constructor(a,p,y,I,P={}){this.urlSerializer=a,this.transitions=p,this.viewportScroller=y,this.zone=I,this.options=P,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},P.scrollPositionRestoration=P.scrollPositionRestoration||"disabled",P.anchorScrolling=P.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(a=>{a instanceof ci?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof un?(this.lastId=a.id,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.urlAfterRedirects).fragment)):a instanceof hr&&0===a.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof fi&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,p){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new fi(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,p))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(p){l.$Z()};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac})}return c})();function ni(c,f){return{\u0275kind:c,\u0275providers:f}}function Na(){const c=(0,l.f3M)(l.zs3);return f=>{const a=c.get(l.z2F);if(f!==a.components[0])return;const p=c.get(Xt),y=c.get(Ra);1===c.get(xo)&&p.initialNavigation(),c.get(xa,null,l.XFs.Optional)?.setUpPreloading(),c.get(xs,null,l.XFs.Optional)?.init(),p.resetRootComponentType(a.componentTypes[0]),y.closed||(y.next(),y.complete(),y.unsubscribe())}}const Ra=new l.OlP("",{factory:()=>new Qe.x}),xo=new l.OlP("",{providedIn:"root",factory:()=>1}),xa=new l.OlP("");function Du(c){return ni(0,[{provide:xa,useExisting:Pa},{provide:Oa,useExisting:c}])}const Tn=new l.OlP("ROUTER_FORROOT_GUARD"),La=[zt.Ye,{provide:rr,useClass:cr},Xt,dt,{provide:Sr,useFactory:function Ls(c){return c.routerState.root},deps:[Xt]},hn,[]];function vo(){return new l.PXZ("Router",Xt)}let jr=(()=>{class c{constructor(a){}static forRoot(a,p){return{ngModule:c,providers:[La,[],{provide:It,multi:!0,useValue:a},{provide:Tn,useFactory:tf,deps:[[Xt,new l.FiY,new l.tp0]]},{provide:No,useValue:p||{}},p?.useHash?{provide:zt.S$,useClass:zt.Do}:{provide:zt.S$,useClass:zt.b0},{provide:xs,useFactory:()=>{const c=(0,l.f3M)(zt.EM),f=(0,l.f3M)(l.R0b),a=(0,l.f3M)(No),p=(0,l.f3M)(Vn),y=(0,l.f3M)(rr);return a.scrollOffset&&c.setOffset(a.scrollOffset),new Fs(y,p,c,f,a)}},p?.preloadingStrategy?Du(p.preloadingStrategy).\u0275providers:[],{provide:l.PXZ,multi:!0,useFactory:vo},p?.initialNavigation?ka(p):[],p?.bindToComponentInputs?ni(8,[nt,{provide:sr,useExisting:nt}]).\u0275providers:[],[{provide:Un,useFactory:Na},{provide:l.tb,multi:!0,useExisting:Un}]]}}static forChild(a){return{ngModule:c,providers:[{provide:It,multi:!0,useValue:a}]}}static#e=this.\u0275fac=function(p){return new(p||c)(l.LFG(Tn,8))};static#t=this.\u0275mod=l.oAB({type:c});static#n=this.\u0275inj=l.cJS({})}return c})();function tf(c){return"guarded"}function ka(c){return["disabled"===c.initialNavigation?ni(3,[{provide:l.ip1,multi:!0,useFactory:()=>{const f=(0,l.f3M)(Xt);return()=>{f.setUpLocationChangeListener()}}},{provide:xo,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?ni(2,[{provide:xo,useValue:0},{provide:l.ip1,multi:!0,deps:[l.zs3],useFactory:f=>{const a=f.get(zt.V_,Promise.resolve());return()=>a.then(()=>new Promise(p=>{const y=f.get(Xt),I=f.get(Ra);Ps(y,()=>{p(!0)}),f.get(Vn).afterPreactivation=()=>(p(!0),I.closed?(0,B.of)(void 0):I),y.initialNavigation()}))}}]).\u0275providers:[]]}const Un=new l.OlP("")},7582:(Ue,oe,S)=>{function ue(Q,q,re,ne){return new(re||(re=Promise))(function(pe,qe){function ut(vt){try{ke(ne.next(vt))}catch(kt){qe(kt)}}function Lt(vt){try{ke(ne.throw(vt))}catch(kt){qe(kt)}}function ke(vt){vt.done?pe(vt.value):function me(pe){return pe instanceof re?pe:new re(function(qe){qe(pe)})}(vt.value).then(ut,Lt)}ke((ne=ne.apply(Q,q||[])).next())})}function Ie(Q){return this instanceof Ie?(this.v=Q,this):new Ie(Q)}function Ce(Q,q,re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,ne=re.apply(Q,q||[]),pe=[];return me={},qe("next"),qe("throw"),qe("return"),me[Symbol.asyncIterator]=function(){return this},me;function qe(rt){ne[rt]&&(me[rt]=function(At){return new Promise(function(Nt,W){pe.push([rt,At,Nt,W])>1||ut(rt,At)})})}function ut(rt,At){try{!function Lt(rt){rt.value instanceof Ie?Promise.resolve(rt.value.v).then(ke,vt):kt(pe[0][2],rt)}(ne[rt](At))}catch(Nt){kt(pe[0][3],Nt)}}function ke(rt){ut("next",rt)}function vt(rt){ut("throw",rt)}function kt(rt,At){rt(At),pe.shift(),pe.length&&ut(pe[0][0],pe[0][1])}}function Ee(Q){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var re,q=Q[Symbol.asyncIterator];return q?q.call(Q):(Q=function ht(Q){var q="function"==typeof Symbol&&Symbol.iterator,re=q&&Q[q],ne=0;if(re)return re.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&ne>=Q.length&&(Q=void 0),{value:Q&&Q[ne++],done:!Q}}};throw new TypeError(q?"Object is not iterable.":"Symbol.iterator is not defined.")}(Q),re={},ne("next"),ne("throw"),ne("return"),re[Symbol.asyncIterator]=function(){return this},re);function ne(pe){re[pe]=Q[pe]&&function(qe){return new Promise(function(ut,Lt){!function me(pe,qe,ut,Lt){Promise.resolve(Lt).then(function(ke){pe({value:ke,done:ut})},qe)}(ut,Lt,(qe=Q[pe](qe)).done,qe.value)})}}}S.d(oe,{FC:()=>Ce,KL:()=>Ee,mG:()=>ue,qq:()=>Ie}),"function"==typeof SuppressedError&&SuppressedError}},Ue=>{Ue(Ue.s=2320)}]); \ No newline at end of file diff --git a/cmd/edgex-ui-server/static/web/zh/index.html b/cmd/edgex-ui-server/static/web/zh/index.html index 915500b9..b3b1a2c2 100644 --- a/cmd/edgex-ui-server/static/web/zh/index.html +++ b/cmd/edgex-ui-server/static/web/zh/index.html @@ -30,5 +30,5 @@ - + diff --git a/cmd/edgex-ui-server/static/web/zh/main.2b2519a8a9927790.js b/cmd/edgex-ui-server/static/web/zh/main.2b2519a8a9927790.js new file mode 100644 index 00000000..5b7dc692 --- /dev/null +++ b/cmd/edgex-ui-server/static/web/zh/main.2b2519a8a9927790.js @@ -0,0 +1,3 @@ +globalThis.$localize=Object.assign(globalThis.$localize || {},{locale:"zh"}); +"use strict";(function(global){global.ng=global.ng||{};global.ng.common=global.ng.common||{};global.ng.common.locales=global.ng.common.locales||{};const u=undefined;function plural(val){const n=val;return 5}global.ng.common.locales["zh"]=["zh",[["\u4E0A\u5348","\u4E0B\u5348"],u,u],u,[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"]],u,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]],u,[["\u516C\u5143\u524D","\u516C\u5143"],u,u],0,[6,0],["y/M/d","y\u5E74M\u6708d\u65E5",u,"y\u5E74M\u6708d\u65E5EEEE"],["HH:mm","HH:mm:ss","z HH:mm:ss","zzzz HH:mm:ss"],["{1} {0}",u,u,u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"CNY","\xA5","\u4EBA\u6C11\u5E01",{"AUD":["AU$","$"],"BYN":[u,"\u0440."],"CNY":["\xA5"],"ILR":["ILS"],"JPY":["JP\xA5","\xA5"],"KRW":["\uFFE6","\u20A9"],"PHP":[u,"\u20B1"],"RUR":[u,"\u0440."],"TWD":["NT$"],"USD":["US$","$"],"XXX":[]},"ltr",plural,[[["\u5348\u591C","\u65E9\u4E0A","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"],u,["\u5348\u591C","\u6E05\u6668","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"]],[["\u5348\u591C","\u65E9\u4E0A","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"],u,u],["00:00",["05:00","08:00"],["08:00","12:00"],["12:00","13:00"],["13:00","19:00"],["19:00","24:00"],["00:00","05:00"]]]]})(typeof globalThis!=="undefined"&&globalThis||typeof global!=="undefined"&&global||typeof window!=="undefined"&&window);; +"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([[179],{2560:(Ue,oe,S)=>{S.d(oe,{a:()=>Z});var l=S(6689),v=S(9919),ee=S(2333);let Z=(()=>{class j{constructor(G,A){this.router=G,this.authSvc=A}canActivate(G,A){return this.checkLogin(A.url)}canActivateChild(G,A){return this.canActivate(G,A)}canLoad(G){return this.checkLogin(`/${G.path}`)}checkLogin(G){return!(this.authSvc.isSecureMode&&!this.authSvc.isGatewayLoggedIn&&!this.authSvc.isAclLoggedIn)||this.router.parseUrl("/login")}static#e=this.\u0275fac=function(A){return new(A||j)(l.LFG(v.F0),l.LFG(ee.e))};static#t=this.\u0275prov=l.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},3685:(Ue,oe,S)=>{S.d(oe,{e:()=>ee});var l=S(6689);let ee=(()=>{class Z{constructor(){this.messages=[]}success(B="operation",G){this.messages.push({class:"alert alert-success shadow rounded alert-dismissible fade show",content:`${B} success! ${G||""}`})}errors(B){this.messages.push({class:"alert alert-danger shadow rounded alert-dismissible fade show",content:B})}clear(){this.messages.shift()}static#e=this.\u0275fac=function(G){return new(G||Z)};static#t=this.\u0275prov=l.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})()},2333:(Ue,oe,S)=>{S.d(oe,{e:()=>Z});var l=S(6689),v=S(9862),ee=S(8027);let Z=(()=>{class j{constructor(G,A){this.http=G,this.errorSvc=A,this.gatewayToken=null,this.aclToken=null,this.isGatewayLoggedIn=!1,this.isAclLoggedIn=!1,this.redirectUrl=null,this.isSecureMode=!1}tokenValidate(G){return this.http.get(G)}setGatewayToken(G){this.gatewayToken=G||"",window.sessionStorage.setItem("EdgeX_Gateway_Token",this.gatewayToken)}setAclToken(G){this.aclToken=G||"",window.sessionStorage.setItem("EdgeX_ACL_Token",this.aclToken)}getGatewayToken(){if(this.gatewayToken)return this.gatewayToken;let G=window.sessionStorage.getItem("EdgeX_Gateway_Token");return G&&(this.gatewayToken=G),this.gatewayToken}getAclToken(){if(this.aclToken)return this.aclToken;let G=window.sessionStorage.getItem("EdgeX_ACL_Token");return G&&(this.aclToken=G),this.aclToken}static#e=this.\u0275fac=function(A){return new(A||j)(l.LFG(v.eN),l.LFG(ee.T))};static#t=this.\u0275prov=l.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},2848:(Ue,oe,S)=>{S.d(oe,{D:()=>j});var l=S(6306),v=S(6689),ee=S(9862),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/core-data",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.endpointHealthUrl=`${this.urlPrefix}/ping`,this.eventCountUrl=`${this.urlPrefix}/event/count`,this.readingCountUrl=`${this.urlPrefix}/reading/count`,this.allEventsUrl=`${this.urlPrefix}/event/all`,this.allReadingsUrl=`${this.urlPrefix}/reading/all`,this.associatedEventsByDeviceNameUrl=`${this.urlPrefix}/event/device/name/`,this.associatedReadinsByDeviceNameUrl=`${this.urlPrefix}/reading/device/name/`}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}endpointHealth(){return this.http.get(`${this.endpointHealthUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}eventCount(){return this.http.get(`${this.eventCountUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}readingCount(){return this.http.get(`${this.readingCountUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}allEventsPagination(A,T){return this.http.get(`${this.allEventsUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}allReadingsPagination(A,T){return this.http.get(`${this.allReadingsUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}allAssocaitedReadingsByDeviceNamePagination(A,T){return this.http.get(`${this.associatedEventsByDeviceNameUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}allAssocaitedEventsByDeviceNamePagination(A,T){return this.http.get(`${this.associatedReadinsByDeviceNameUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}static#e=this.\u0275fac=function(T){return new(T||B)(v.LFG(ee.eN),v.LFG(Z.T))};static#t=this.\u0275prov=v.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},8027:(Ue,oe,S)=>{S.d(oe,{T:()=>Z});var l=S(8504),v=S(6689),ee=S(3685);let Z=(()=>{class j{constructor(G){this.msgSvc=G}handleErrorForAPI(G){let A=Object.prototype.toString.call(G);if("[object Array]"===A){if(!G[0].statusCode.toString().startsWith("20"))return this.msgSvc.errors(`code: ${G[0].statusCode}, message: ${G[0].message}`),!0}else if("[object Object]"===A&&!G.statusCode.toString().startsWith("20"))return this.msgSvc.errors(`code: ${G.statusCode}, message: ${G.message}`),!0;return!1}handleError(G){return G.error instanceof ErrorEvent?this.msgSvc.errors(`'An error occurred:', ${G.error.message}`):"[object Object]"===Object.prototype.toString.call(G.error)?this.msgSvc.errors(`code: ${G.error.statusCode} , message: ${G.error.message}`):"[object String]"===Object.prototype.toString.call(G.error)?this.msgSvc.errors(`code: ${G.status} , message: ${G.error}`):this.msgSvc.errors(`code: ${G.status} , message: ${G.message}`),(0,l._)(`Backend returned code ${G.status}, body was: ${G.error.message}`)}static#e=this.\u0275fac=function(A){return new(A||j)(v.LFG(ee.e))};static#t=this.\u0275prov=v.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},5167:(Ue,oe,S)=>{S.d(oe,{D:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/core-metadata",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.devicesListUrl=`${this.urlPrefix}/device/all`,this.addOneDeviceUrl=`${this.urlPrefix}/device`,this.updateOneDeviceUrl=`${this.urlPrefix}/device`,this.deleteOneDeviceByIdUrl=`${this.urlPrefix}/device/Id`,this.deleteOneDeviceByNameUrl=`${this.urlPrefix}/device/name`,this.findDeviceByNameUrl=`${this.urlPrefix}/device/name`,this.findDeviceByIdUrl=`${this.urlPrefix}/device/id`,this.findDevicesByServiceIdUrl=`${this.urlPrefix}/device/service/id`,this.findDevicesByServiceNameUrl=`${this.urlPrefix}/device/service/name`,this.findDevicesByProfileIdUrl=`${this.urlPrefix}/device/profile/id`,this.findDevicesByProfileNameUrl=`${this.urlPrefix}/device/profile/name`,this.deviceServicesListUrl=`${this.urlPrefix}/deviceservice/all`,this.updateDeviceServiceUrl=`${this.urlPrefix}/deviceservice`,this.findDeviceServiceByIdUrl=`${this.urlPrefix}/deviceservice/id`,this.findDeviceServiceByNameUrl=`${this.urlPrefix}/deviceservice/name`,this.deviceProfilesListUrl=`${this.urlPrefix}/deviceprofile/all`,this.findProfilesByIdUrl=`${this.urlPrefix}/deviceprofile`,this.findProfilesByNameUrl=`${this.urlPrefix}/deviceprofile/name`,this.updateDeviceProfileUrl=`${this.urlPrefix}/deviceprofile`,this.uploadProfileYamlFileUrl=`${this.urlPrefix}/deviceprofile/uploadfile`,this.uploadProfileYamlContentUrl=`${this.urlPrefix}/deviceprofile/upload`,this.deviceProfileYamlUrl=`${this.urlPrefix}/deviceprofile/yaml`,this.deleteProfileByIdUrl=`${this.urlPrefix}/deviceprofile/id`,this.deleteProfileByNamedUrl=`${this.urlPrefix}/deviceprofile/name`,this.provisionWatcherListUrl=`${this.urlPrefix}/provisionwatcher/all`,this.addOneProvisionWatcherUrl=`${this.urlPrefix}/provisionwatcher`,this.deleteOneProvisionWatcherByNameUrl=`${this.urlPrefix}/provisionwatcher/name`,this.findProvisionWatcherByNameUrl=`${this.urlPrefix}/provisionwatcher/name`,this.updateOneProvisionWatcherUrl=`${this.urlPrefix}/provisionwatcher`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allDevices(){return this.http.get(`${this.devicesListUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allDevicesPagination(A,T){return this.http.get(`${this.devicesListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addDevice(A){let T=`${this.addOneDeviceUrl}`;return A.apiVersion="v3",this.http.post(T,JSON.stringify([{apiVersion:"v3",device:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}deleteOneDeviceByName(A){return this.http.delete(`${this.deleteOneDeviceByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteOneDeviceById(A){return this.http.delete(`${this.deleteOneDeviceByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateDevice(A){return this.http.patch(`${this.updateOneDeviceUrl}`,JSON.stringify([{apiVersion:"v3",device:A}]),{headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findDeviceByName(A){return this.http.get(`${this.findDeviceByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDeviceById(A){return this.http.get(`${this.findDeviceByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevicesByServiceId(A){return this.http.get(`${this.findDevicesByServiceIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevicesByServiceName(A,T,N){return this.http.get(`${this.findDevicesByServiceNameUrl}/${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findDevicesByProfileId(A){return this.http.get(`${this.findDevicesByProfileIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevicesByProfileName(A,T,N){return this.http.get(`${this.findDevicesByProfileNameUrl}/${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}allDeviceServices(){return this.http.get(`${this.deviceServicesListUrl}?offset=0&limit=-1`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findAllDeviceServicesPagination(A,T){return this.http.get(`${this.deviceServicesListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateDeviceService(A){return this.http.patch(`${this.updateDeviceServiceUrl}`,JSON.stringify([{apiVersion:"v3",service:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findDevcieServiceById(A){return this.http.get(`${this.findDeviceServiceByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevcieServiceByName(A){return this.http.get(`${this.findDeviceServiceByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allDeviceProfoles(){return this.http.get(`${this.deviceProfilesListUrl}?offset=0&limit=-1`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allDeviceProfolesPagination(A,T){return this.http.get(`${this.deviceProfilesListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addProfileYamlByNameViaUIBackend(A){return this.http.request("POST","/api/v3/profile/yaml",{body:A,responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allProvisionWatchers(){return this.http.get(`${this.provisionWatcherListUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allProvisionWatchersPagination(A,T){return this.http.get(`${this.provisionWatcherListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addProvisionWatcher(A){let T=`${this.addOneProvisionWatcherUrl}`;return A.apiVersion="v3",this.http.post(T,JSON.stringify([{apiVersion:"v3",provisionWatcher:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}deleteOneProvisionWatcherByName(A){return this.http.delete(`${this.deleteOneProvisionWatcherByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProvisionWatcherByName(A){return this.http.get(`${this.findProvisionWatcherByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateProvisionWatcher(A){return this.http.patch(`${this.updateOneProvisionWatcherUrl}`,JSON.stringify([{apiVersion:"v3",provisionWatcher:A}]),{headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findProfileById(A){return this.http.get(`${this.findProfilesByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProfileByName(A){return this.http.get(`${this.findProfilesByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProfileYamlByNameViaUIBackend(A){return this.http.request("GET","/api/v3/profile/yaml/name/"+A,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}uploadProfileYamlFile(A){return this.http.request("POST",`${this.uploadProfileYamlFileUrl}`,{body:A,responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateDeviceProfile(A){return this.http.put(`${this.updateDeviceProfileUrl}`,A,this.httpPostOrPutJSONOptions).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateProfileYamlContentViaUIBackend(A){return this.http.put("/api/v3/profile/yaml",A,{headers:new l.WM({"Content-Type":"text/plain; charset=utf-8"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}uploadProfileYamlContent(A){return this.http.request("POST",`${this.uploadProfileYamlContentUrl}`,{body:A,responseType:"text",headers:new l.WM({"Content-Type":"text/plain; charset=utf-8"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProfileYamlById(A){return this.http.request("GET",`${this.deviceProfileYamlUrl}/${A}`,{responseType:"text"})}deleteProfileById(A){return this.http.delete(`${this.deleteProfileByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteProfileByName(A){return this.http.delete(`${this.deleteProfileByNamedUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},5425:(Ue,oe,S)=>{S.d(oe,{T:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/support-notifications",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.findNotificationByCategoryUrl=`${this.urlPrefix}/notification/category/`,this.findNotificationByLabelUrl=`${this.urlPrefix}/notification/label/`,this.findNotificationByStatusUrl=`${this.urlPrefix}/notification/status/`,this.findNotificationByStartEndUrl=`${this.urlPrefix}/notification/start/`,this.deleteNotificationByIdUrl=`${this.urlPrefix}/notification/id/`,this.deleteNotificationByAgeAndStatusUrl=`${this.urlPrefix}/notification/age/`,this.cleanupNotificationByAgeUrl=`${this.urlPrefix}/cleanup/age/`,this.cleanupNotificationAllUrl=`${this.urlPrefix}/cleanup`,this.findAllSubscriptionsPaginationUrl=`${this.urlPrefix}/subscription/all`,this.findAllSubscriptionsByCategoryPaginationUrl=`${this.urlPrefix}/subscription/category/`,this.findAllSubscriptionsByLabelPaginationUrl=`${this.urlPrefix}/subscription/label/`,this.findAllSubscriptionsByReceiverPaginationUrl=`${this.urlPrefix}/subscription/receiver/`,this.findOneSubscriptionsByNameUrl=`${this.urlPrefix}/subscription/name/`,this.addOneSubscriptionUrl=`${this.urlPrefix}/subscription`,this.updateOneSubscriptionUrl=`${this.urlPrefix}/subscription`,this.deleteOneSubscriptionByNameUrl=`${this.urlPrefix}/subscription/name/`,this.httpPostOrPutOrPatchJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findNotificationsByCategoryPagination(A,T,N){return this.http.get(`${this.findNotificationByCategoryUrl}${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findNotificationsByLabelPagination(A,T,N){return this.http.get(`${this.findNotificationByLabelUrl}${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findNotificationsByStatusPagination(A,T,N){return this.http.get(`${this.findNotificationByStatusUrl}${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findNotificationsByStartEndPagination(A,T,N,V){return this.http.get(`${this.findNotificationByStartEndUrl}${N}/end/${V}?offset=${A}&limit=${T}`).pipe((0,v.K)(xe=>this.errorSvc.handleError(xe)))}deleteNotificationByAgeAndStatus(A){return this.http.delete(`${this.deleteNotificationByAgeAndStatusUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteNotificationById(A){return this.http.delete(`${this.deleteNotificationByIdUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}cleanupNotificationByAge(A){return this.http.delete(`${this.cleanupNotificationByAgeUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}cleanupNotificationAll(){return this.http.delete(`${this.cleanupNotificationAllUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findAllSubscriptionPagination(A,T){return this.http.get(`${this.findAllSubscriptionsPaginationUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findOneSubscriptionByName(A){return this.http.get(`${this.findOneSubscriptionsByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}addOneSubscription(A){return this.http.post(`${this.addOneSubscriptionUrl}`,JSON.stringify([{apiVersion:"v3",subscription:A}]),this.httpPostOrPutOrPatchJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateOneSubscription(A){return this.http.patch(`${this.updateOneSubscriptionUrl}`,JSON.stringify([{apiVersion:"v3",subscription:A}]),this.httpPostOrPutOrPatchJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}deleteOneSubscriptionByName(A){return this.http.delete(`${this.deleteOneSubscriptionByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},8411:(Ue,oe,S)=>{S.d(oe,{r:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.version="/api/v3",this.pingUrl=`${this.version}/registrycenter/ping`,this.appSvcDeployConfigUrl=`${this.version}/registrycenter/deploy`,this.appSvcGetConfigUrl=`${this.version}/registrycenter/config`,this.appSvcAllUrl=`${this.version}/registrycenter/service/all`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.pingUrl}`)}getAppSvcConfigBySvcKey(A){return this.http.get(`${this.appSvcGetConfigUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deployToConsul(A,T){return this.http.post(`${this.appSvcDeployConfigUrl}/${T}`,JSON.stringify(A),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}getAllAppSvc(){return this.http.get(`${this.appSvcAllUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},2303:(Ue,oe,S)=>{S.d(oe,{n:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/rules-engine",this.version="",this.pingUrl=`${this.endpoint}${this.version}/ping`,this.streamUrl=`${this.endpoint}${this.version}/streams`,this.ruleUrl=`${this.endpoint}${this.version}/rules`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.pingUrl}`)}addStream(A){return this.http.request("POST",`${this.streamUrl}`,{body:A,responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteOneStreamById(A){return this.http.delete(`${this.streamUrl}/${A}`,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateStream(A,T){return this.http.request("PUT",`${this.streamUrl}/${T}`,{body:A,responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findStreamByName(A){return this.http.get(`${this.streamUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allStreams(){return this.http.get(`${this.streamUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}addRule(A){return this.http.request("POST",`${this.ruleUrl}`,{body:JSON.stringify(A),responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteOneRuleById(A){return this.http.delete(`${this.ruleUrl}/${A}`,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateRule(A){return this.http.request("PUT",`${this.ruleUrl}/${A.id}`,{body:JSON.stringify(A),responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findRuleById(A){return this.http.get(`${this.ruleUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allRules(){return this.http.get(`${this.ruleUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}getRuleStatusMetricsById(A){return this.http.get(`${this.ruleUrl}/${A}/status`,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}getRuleTopoById(A){return this.http.get(`${this.ruleUrl}/${A}/topo`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}executeRuleCommand(A,T){return this.http.post(`${this.ruleUrl}/${A}/${T}`,null,{responseType:"text"}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},4458:(Ue,oe,S)=>{S.d(oe,{G:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/support-scheduler",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.intervalListUrl=`${this.urlPrefix}/interval/all`,this.addOneIntervalUrl=`${this.urlPrefix}/interval`,this.updateOneIntervalUrl=`${this.urlPrefix}/interval`,this.findOneIntervalByNameUrl=`${this.urlPrefix}/interval/name/`,this.deleteOneIntervalByNameUrl=`${this.urlPrefix}/interval/name/`,this.intervalActionListUrl=`${this.urlPrefix}/intervalaction/all`,this.addOneIntervalActionUrl=`${this.urlPrefix}/intervalaction`,this.updateOneIntervaActionlUrl=`${this.urlPrefix}/intervalaction`,this.findOneIntervalActionByNameUrl=`${this.urlPrefix}/intervalaction/name/`,this.deleteOneIntervalActionByNameUrl=`${this.urlPrefix}/intervalaction/name/`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findAllIntervalsPagination(A,T){return this.http.get(`${this.intervalListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addInterval(A){return this.http.post(`${this.addOneIntervalUrl}`,JSON.stringify([{apiVersion:"v3",interval:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateInterval(A){return this.http.patch(`${this.updateOneIntervalUrl}`,JSON.stringify([{apiVersion:"v3",interval:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findIntervalByName(A){return this.http.get(`${this.findOneIntervalByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteIntervalByName(A){return this.http.delete(`${this.deleteOneIntervalByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findAllIntervalActionsPagination(A,T){return this.http.get(`${this.intervalActionListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addIntervalAction(A){return this.http.post(`${this.addOneIntervalActionUrl}`,JSON.stringify([{apiVersion:"v3",action:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateIntervalAction(A){return this.http.patch(`${this.updateOneIntervaActionlUrl}`,JSON.stringify([{apiVersion:"v3",action:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findIntervalActionByName(A){return this.http.get(`${this.findOneIntervalActionByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteIntervalActionByName(A){return this.http.delete(`${this.deleteOneIntervalActionByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},1742:(Ue,oe,S)=>{S.d(oe,{J:()=>B});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027),j=S(8411);let B=(()=>{class G{constructor(T,N,V){this.http=T,this.errorSvc=N,this.registrySvc=V,this.endpoint="/sys-mgmt-agent",this.version2="/api/v3",this.urlPrefix=`${this.endpoint}${this.version2}`,this.pingUrl="/ping",this.allRegisteredSvcUrl="/api/v3/registrycenter/service/all",this.configUrl=`${this.urlPrefix}/system/config`,this.metricsUrl=`${this.urlPrefix}/system/metrics`,this.healthUrl=`${this.urlPrefix}/system/health`,this.operationUrl=`${this.urlPrefix}/system/operation`,this.httpPostOrPutOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getRegisteredServiceAll(){return this.registrySvc.getAllAppSvc()}getConfigBySvcName(T){return this.http.get(`${this.configUrl}?services=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}getMetricsBySvcName(T){return this.http.get(`${this.metricsUrl}?services=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}getAllSvcHealth(T){return this.http.get(`${this.healthUrl}?services=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}operate(T){return this.http.post(`${this.operationUrl}`,JSON.stringify(T),this.httpPostOrPutOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}startV2(T){return this.operate([{apiVersion:"v3",serviceName:T,action:"start"}])}stopV2(T){return this.operate([{apiVersion:"v3",serviceName:T,action:"stop"}])}restartV2(T){return this.operate([{apiVersion:"v3",serviceName:T,action:"restart"}])}static#e=this.\u0275fac=function(N){return new(N||G)(ee.LFG(l.eN),ee.LFG(Z.T),ee.LFG(j.r))};static#t=this.\u0275prov=ee.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})()},2320:(Ue,oe,S)=>{var l=S(6593),v=S(6689),ee=S(9862),Z=S(6223),j=S(6814),B=S(9919),G=S(2560),A=S(6306),T=S(8504),N=S(8027);let V=(()=>{class W{constructor(ye,Me){this.http=ye,this.errorSvc=Me,this.endpoint="",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.secureModeUrl=`${this.urlPrefix}/auth/securemode`}getSecureMode(){return this.http.get(`${this.secureModeUrl}`,{responseType:"text"}).pipe((0,A.K)(Me=>this.errorSvc.handleError(Me)))}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.LFG(ee.eN),v.LFG(N.T))};static#t=this.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();var ue=S(2333);let xe=(()=>{class W{constructor(ye,Me,he,Oe,yt){this.initSvc=ye,this.errorSvc=Me,this.authSvc=he,this.router=Oe,this.route=yt}ngOnInit(){this.initializor()}initializor(){this.environmentCheck()}environmentCheck(){this.progressMsg="environment checking",this.initSvc.getSecureMode().subscribe(ye=>{"secure"===ye?(this.authSvc.isSecureMode=!0,this.tokenValidate()):(this.authSvc.isSecureMode=!1,this.navigateToHome())})}tokenValidate(){this.progressMsg="access token validating",this.authSvc.tokenValidate("/core-metadata/api/v3/ping").pipe((0,A.K)(ye=>(this.authSvc.isGatewayLoggedIn=!1,this.router.navigate(["/login"],{relativeTo:this.route}),(0,T._)(ye)))).subscribe(()=>{this.authSvc.isGatewayLoggedIn=!0,this.navigateToHome()})}navigateToHome(){this.router.navigate(["/dashboard"],{relativeTo:this.route})}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(V),v.Y36(N.T),v.Y36(ue.e),v.Y36(B.F0),v.Y36(B.gz))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-initializer"]],decls:16,vars:1,consts:[[1,"init","text-center","bg-dark"],[1,"init-progress"],["role","status",1,"spinner-grow","text-success"],[1,"sr-only"],["role","status",1,"spinner-grow","text-danger"],["role","status",1,"spinner-grow","text-warning"],["role","status",1,"spinner-grow","text-info"],[1,"text-light"]],template:function(Me,he){1&Me&&(v.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"span",3),v._uU(4,"Loading..."),v.qZA()(),v.TgZ(5,"div",4)(6,"span",3),v._uU(7,"Loading..."),v.qZA()(),v.TgZ(8,"div",5)(9,"span",3),v._uU(10,"Loading..."),v.qZA()(),v.TgZ(11,"div",6)(12,"span",3),v._uU(13,"Loading..."),v.qZA()(),v.TgZ(14,"p",7),v._uU(15),v.qZA()()()),2&Me&&(v.xp6(15),v.hij("",he.progressMsg,"..."))},styles:[".init[_ngcontent-%COMP%]{position:fixed;inset:0 0 -100px;z-index:999}.init-progress[_ngcontent-%COMP%]{position:absolute;left:0;right:0;top:45%}"]})}return W})();var Pe=S(2096),Ve=S(2848),ht=S(5167),ze=S(5425),Le=S(4458),mt=S(2303),Xe=S(1742),Ie=S(8411);function Ce(W,Vt){if(1&W&&(v.TgZ(0,"p",6),v._UZ(1,"span",7),v._uU(2),v.qZA()),2&W){const ye=v.oxw();v.xp6(2),v.hij(" The ",ye.svcName," service is inaccessible!!! please try again later! ")}}const Ee=[{path:"dashboard",canLoad:[G.a],loadChildren:()=>S.e(489).then(S.bind(S,2489)).then(W=>W.DashboardModule)},{path:"metadata",canLoad:[G.a],loadChildren:()=>S.e(649).then(S.bind(S,2649)).then(W=>W.MetadataModule)},{path:"core-data",canLoad:[G.a],loadChildren:()=>S.e(432).then(S.bind(S,3432)).then(W=>W.CoreDataModule)},{path:"notifications",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(875),S.e(744)]).then(S.bind(S,9744)).then(W=>W.NotificationsModule)},{path:"scheduler",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(875),S.e(934),S.e(806)]).then(S.bind(S,7246)).then(W=>W.SchedulerModule)},{path:"rule-engine",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(649),S.e(326),S.e(934),S.e(342)]).then(S.bind(S,8342)).then(W=>W.RuleEngineModule)},{path:"app-service",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(649),S.e(326),S.e(79)]).then(S.bind(S,3079)).then(W=>W.AppServiceModule)},{path:"initializer",component:xe},{path:"svc-unavailable",component:(()=>{class W{constructor(ye,Me,he,Oe,yt,Tt,Rt,Je,et){this.router=ye,this.route=Me,this.coredataSvc=he,this.metadataSvc=Oe,this.notiSvc=yt,this.schedulerSvc=Tt,this.ruleSvc=Rt,this.systemSvc=Je,this.registrySvc=et,this.refresgMsg=!1,this.refreshBtnDisable=!1}ngOnInit(){this.route.queryParams.subscribe(ye=>{this.svcName=ye.svcName,this.routerPath=ye.routerPath})}refresh(){this.refreshBtnDisable=!0,this.ping().pipe((0,A.K)(ye=>(this.refresgMsg=!0,window.setTimeout(()=>{this.refresgMsg=!1,this.refreshBtnDisable=!1},3e3),(0,T._)(()=>"Something bad happened; please try again later.")))).subscribe(()=>this.router.navigate([`${this.routerPath}`]))}ping(){switch(this.svcName){case"core data":return this.coredataSvc.ping();case"metadata":return this.metadataSvc.ping();case"scheduler":return this.schedulerSvc.ping();case"notification":return this.notiSvc.ping();case"rule engine":return this.ruleSvc.ping();case"system agent":return this.systemSvc.ping();case"registry center":return this.registrySvc.ping();default:return(0,Pe.of)()}}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(B.F0),v.Y36(B.gz),v.Y36(Ve.D),v.Y36(ht.D),v.Y36(ze.T),v.Y36(Le.G),v.Y36(mt.n),v.Y36(Xe.J),v.Y36(Ie.r))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-service-unavailable"]],decls:11,vars:5,consts:[["class","alert alert-danger","role","alert",4,"ngIf"],[1,"jumbotron"],[1,"display-5"],[1,"lead"],[1,"my-4"],["role","button",1,"btn","btn-primary","btn-sm",3,"disabled","click"],["role","alert",1,"alert","alert-danger"],[1,"fa","fa-warning"]],template:function(Me,he){1&Me&&(v.YNc(0,Ce,3,1,"p",0),v.TgZ(1,"div",1)(2,"h2",2),v._uU(3),v.qZA(),v.TgZ(4,"p",3),v._uU(5),v.qZA(),v._UZ(6,"hr",4),v.TgZ(7,"p"),v._uU(8,"EdgeXFoundry uses a microservices architecture, each service is running independently, please make sure that the current service is already running, if you have manually started the service, click the Refresh button."),v.qZA(),v.TgZ(9,"button",5),v.NdJ("click",function(){return he.refresh()}),v._uU(10,"Refresh"),v.qZA()()),2&Me&&(v.Q6J("ngIf",he.refresgMsg),v.xp6(3),v.hij("Oops!!! ",he.svcName," service is unavailable!"),v.xp6(2),v.AsE("This could be a network reason, or it could be that the ",he.svcName," microservice is not running, make sure there is no network problem or that the ",he.svcName," service is already running!"),v.xp6(4),v.Q6J("disabled",he.refreshBtnDisable))},dependencies:[j.O5],styles:[".btn[disabled][_ngcontent-%COMP%]:hover{cursor:not-allowed}"]})}return W})()}];let Te=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W});static#n=this.\u0275inj=v.cJS({imports:[B.Bz.forRoot(Ee,{useHash:!0}),B.Bz]})}return W})();var ve=S(2181),Ze=S(3685);function Ye(W,Vt){if(1&W){const ye=v.EpF();v.TgZ(0,"div")(1,"div",3)(2,"span",4),v.NdJ("click",function(){const Oe=v.CHM(ye).$implicit,yt=v.oxw(2);return v.KtG(yt.close(Oe))}),v.TgZ(3,"span",5),v._uU(4,"\xd7"),v.qZA()(),v.TgZ(5,"div"),v._uU(6),v.qZA()()()}if(2&W){const ye=Vt.$implicit;v.xp6(1),v.Tol(ye.class),v.xp6(5),v.hij(" ",ye.content," ")}}function _e(W,Vt){if(1&W&&(v.TgZ(0,"div",1),v.YNc(1,Ye,7,3,"div",2),v.qZA()),2&W){const ye=v.oxw();v.xp6(1),v.Q6J("ngForOf",ye.messageService.messages)}}let Gt=(()=>{class W{constructor(ye){this.messageService=ye}ngOnInit(){}close(ye){this.messageService.messages.splice(this.messageService.messages.indexOf(ye),1)}ngOnDestroy(){this.timer&&clearInterval(this.timer)}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(Ze.e))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-message"]],decls:1,vars:1,consts:[["class","position-fixed overflow-hidden text-break","style","top: 10px; right: 0;min-width: 300px; max-width: 300px;z-index: 999;",4,"ngIf"],[1,"position-fixed","overflow-hidden","text-break",2,"top","10px","right","0","min-width","300px","max-width","300px","z-index","999"],[4,"ngFor","ngForOf"],["role","alert"],["type","button","aria-label","Close",1,"btn","btn-lg","close",3,"click"],["aria-hidden","true"]],template:function(Me,he){1&Me&&v.YNc(0,_e,2,1,"div",0),2&Me&&v.Q6J("ngIf",he.messageService.messages.length)},dependencies:[j.sg,j.O5]})}return W})();function He(W,Vt){if(1&W&&(v.TgZ(0,"a",49),v._uU(1),v.qZA()),2&W){const ye=v.oxw().$implicit,Me=v.oxw();v.s9C("routerLink",Me.navChainMap.get(ye)),v.xp6(1),v.hij(" ",Me.pathFormat(ye)," ")}}function Qe(W,Vt){if(1&W&&(v.TgZ(0,"span",50),v._uU(1),v.qZA()),2&W){const ye=v.oxw().$implicit,Me=v.oxw();v.xp6(1),v.hij(" ",Me.pathFormat(ye)," ")}}function zt(W,Vt){1&W&&(v.TgZ(0,"span"),v._uU(1,">"),v.qZA())}function Mt(W,Vt){if(1&W&&(v.TgZ(0,"h6",35),v.YNc(1,He,2,2,"a",47),v.YNc(2,Qe,2,1,"span",48),v.YNc(3,zt,2,0,"span",46),v.qZA()),2&W){const ye=Vt.index,Me=v.oxw();v.xp6(1),v.Q6J("ngIf",ye!==Me.navChain.length-1),v.xp6(1),v.Q6J("ngIf",ye==Me.navChain.length-1),v.xp6(1),v.Q6J("ngIf",ye!==Me.navChain.length-1)}}function sn(W,Vt){1&W&&(v.TgZ(0,"div",51)(1,"div"),v._UZ(2,"span",52),v.TgZ(3,"span"),v._uU(4,"Loading..."),v.qZA()()())}function Q(W,Vt){1&W&&v._UZ(0,"router-outlet")}const q=function(){return{exact:!1}};let re=(()=>{class W{constructor(ye,Me){this.activatedRoute=ye,this.router=Me,this.title="EdgeX Console",this.isSelected=!1,this.toggleClass="",this.shrink=!1,this.shrinkSidebarOnly=!1,this.shrinkCenterNo=!1,this.navChainMap=new Map,this.navChainCache=[],this.navChain=[],this.currentNav="",this.loading=!1,this.navRecognized=Me.events.pipe((0,ve.h)(he=>he instanceof B.R9)),this.navStart=Me.events.pipe((0,ve.h)(he=>he instanceof B.OD)),this.navEnd=Me.events.pipe((0,ve.h)(he=>he instanceof B.m2)),this.childStart=Me.events.pipe((0,ve.h)(he=>he instanceof B.Eb))}ngOnInit(){this.router.events.subscribe(ye=>{ye instanceof B.OD&&(this.loading=!0),(ye instanceof B.m2||ye instanceof B.gk||ye instanceof B.Q3)&&(this.loading=!1)}),this.navEnd.subscribe(ye=>{this.navChainCache=[],this.navChainMap=new Map,this.currentNav=ye.urlAfterRedirects.split("?")[0].split("/").pop(),this.navChain=ye.urlAfterRedirects.split("?")[0].split("/"),this.navChain.shift();let Me=this;this.navChain.map(Oe=>Oe).reverse().forEach(function(Oe,yt){let Je=Me.navChain.map(et=>et).reverse().slice(yt).reverse().join("/");Me.navChainCache.push("/"+Je),Me.navChainMap.set(Oe,"/"+Je)}),this.navChainCache.reverse()}),$(window).resize(()=>{this.shrinkCenterNo=!1,this.shrink=document.body.clientWidth<1340}),this.router.navigate(["/initializer"],{relativeTo:this.activatedRoute})}pathFormat(ye){let Me=ye.split("-");return Me.forEach((he,Oe)=>{Me[Oe]=he.charAt(0).toUpperCase()+he.substring(1)}),Me.join(" ")}sideBarToggle(){this.shrink?(document.body.clientWidth<1340&&(this.shrinkCenterNo=!0),this.shrink=!1):(document.body.clientWidth<1340&&(this.shrinkCenterNo=!1),this.shrink=!0)}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(B.gz),v.Y36(B.F0))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-root"]],decls:60,vars:44,consts:function(){let ye,Me,he,Oe,yt,Tt,Rt,Je;return ye="\u4EEA\u8868\u76D8",Me="\u8BBE\u5907\u7BA1\u7406",he="\u6570\u636E\u4E2D\u5FC3",Oe="\u4EFB\u52A1\u8C03\u5EA6",yt="\u901A\u77E5\u670D\u52A1",Tt="\u89C4\u5219\u5F15\u64CE",Rt="\u5E94\u7528\u670D\u52A1",Je="\u4E2D\u6587\u7B80\u4F53",[[1,"container-fluid"],[1,"row"],[1,"px-0"],[1,"sidebar-center","font-weight-bold","text-white","vh-100"],[1,"sidebar-header","p-2"],["src","assets/img/bg_x.png","width","35","height","34","alt","","loading","lazy",1,"mt-2"],[1,"float-right","mt-3","mr-2"],["role","button",1,"fa","fa-navicon","fa-lg","text-light",3,"click"],[1,"overflow-hidden"],[1,"nav","flex-column"],["data-testid","menu-item-dashboard","routerLink","/dashboard","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-tachometer","fa-fw","mr-5"],["data-testid","menu-item-dashboard-text"],ye,["routerLink","/metadata","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-cubes","fa-fw","mr-5"],Me,["routerLink","/core-data","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-database","fa-fw","mr-5"],he,["routerLink","/scheduler","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-clock-o","fa-fw","mr-5"],Oe,["routerLink","/notifications","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-envelope","fa-fw","mr-5"],yt,["routerLink","/rule-engine","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-sliders","fa-fw","mr-5"],Tt,["routerLink","/app-service","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-cloud-upload","fa-fw","mr-5"],Rt,[1,"col-12"],[1,"bg-light","center-header","px-3","pt-2","font-weight-bold"],[1,"nav-router","mw-100","align-middle"],[1,"d-inline"],[1,"dropdown","float-right"],["id","dropdownLangLink","type","button","data-toggle","dropdown","aria-haspopup","true","aria-expanded","false",1,"btn","btn-secondary","btn-sm","dropdown-toggle"],Je,["aria-labelledby","dropdownLangLink",1,"dropdown-menu","dropdown-menu-sm","dropdown-menu-right"],["href","/",1,"dropdown-item"],["href","/zh",1,"dropdown-item"],[1,"mw-100","align-middle","mt-1"],["class","d-inline",4,"ngFor","ngForOf"],[1,"center-center","p-3"],["class","text-center","style","margin-top: 20%;",4,"ngIf"],[4,"ngIf"],["class","text-decoration-none d-inline",3,"routerLink",4,"ngIf"],["class","text-decoration-none d-inline",4,"ngIf"],[1,"text-decoration-none","d-inline",3,"routerLink"],[1,"text-decoration-none","d-inline"],[1,"text-center",2,"margin-top","20%"],["role","status","aria-hidden","true",1,"spinner-border","mr-2"]]},template:function(Me,he){1&Me&&(v._UZ(0,"app-message"),v.TgZ(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),v._UZ(6,"img",5),v.TgZ(7,"p",6)(8,"i",7),v.NdJ("click",function(){return he.sideBarToggle()}),v.qZA()()(),v.TgZ(9,"div",8)(10,"nav",9)(11,"a",10),v._UZ(12,"i",11),v.TgZ(13,"span",12),v.SDv(14,13),v.qZA()(),v.TgZ(15,"a",14),v._UZ(16,"i",15),v.TgZ(17,"span"),v.SDv(18,16),v.qZA()(),v.TgZ(19,"a",17),v._UZ(20,"i",18),v.TgZ(21,"span"),v.SDv(22,19),v.qZA()(),v.TgZ(23,"a",20),v._UZ(24,"i",21),v.TgZ(25,"span"),v.SDv(26,22),v.qZA()(),v.TgZ(27,"a",23),v._UZ(28,"i",24),v.TgZ(29,"span"),v.SDv(30,25),v.qZA()(),v.TgZ(31,"a",26),v._UZ(32,"i",27),v.TgZ(33,"span"),v.SDv(34,28),v.qZA()(),v.TgZ(35,"a",29),v._UZ(36,"i",30),v.TgZ(37,"span"),v.SDv(38,31),v.qZA()()()()()(),v.TgZ(39,"div",32)(40,"div")(41,"nav",33)(42,"div",34)(43,"h4",35),v._uU(44),v.qZA(),v.TgZ(45,"div",36)(46,"button",37)(47,"span"),v.SDv(48,38),v.qZA()(),v.TgZ(49,"div",39)(50,"a",40),v._uU(51,"English"),v.qZA(),v.TgZ(52,"a",41),v._uU(53,"\u4e2d\u6587\u7b80\u4f53"),v.qZA()()()(),v.TgZ(54,"div",42)(55,"div",35),v.YNc(56,Mt,4,3,"h6",43),v.qZA()()(),v.TgZ(57,"div",44),v.YNc(58,sn,5,0,"div",45),v.YNc(59,Q,1,0,"router-outlet",46),v.qZA()()()()()),2&Me&&(v.xp6(3),v.ekj("sidebar-shrink",he.shrink)("sidebar",!he.shrink),v.xp6(3),v.ekj("d-none",he.shrink),v.xp6(5),v.Q6J("routerLinkActiveOptions",v.DdM(37,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(38,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(39,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(40,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(41,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(42,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(43,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(3),v.ekj("center-shrink",he.shrink)("center-no-shrink",he.shrinkCenterNo)("center",!he.shrink),v.xp6(4),v.Oqu(he.pathFormat(he.currentNav)),v.xp6(12),v.Q6J("ngForOf",he.navChain),v.xp6(2),v.Q6J("ngIf",he.loading),v.xp6(1),v.Q6J("ngIf",!he.loading))},dependencies:[j.sg,j.O5,B.lC,B.rH,B.Od,Gt],styles:[".sidebar[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:250px;z-index:10}.sidebar-shrink[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:45px;z-index:10}.sidebar-center[_ngcontent-%COMP%]{background-color:#2d2848e6!important}.sidebar-header[_ngcontent-%COMP%]{background-color:#2d2848!important;height:65px}.active-link[_ngcontent-%COMP%], .sidebar-center[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover{color:#922c48;background-color:#922c4866!important}.center[_ngcontent-%COMP%]{position:absolute;left:250px;right:0}.center-shrink[_ngcontent-%COMP%], .center-no-shrink[_ngcontent-%COMP%]{position:absolute;left:45px;right:0}.center-header[_ngcontent-%COMP%]{height:65px}"]})}return W})();var ne=S(7398),me=S(9315);function pe(W,Vt){1&W&&(v.TgZ(0,"button",22),v._UZ(1,"span",23),v.TgZ(2,"span"),v._uU(3,"Loading..."),v.qZA()())}function qe(W,Vt){if(1&W){const ye=v.EpF();v.TgZ(0,"button",24),v.NdJ("click",function(){v.CHM(ye);const he=v.oxw();return v.KtG(he.login())}),v.TgZ(1,"span"),v.SDv(2,25),v.qZA()()}}const Lt=[{path:"login",component:(()=>{class W{constructor(ye,Me,he,Oe){this.authSvc=ye,this.errorSvc=Me,this.router=he,this.route=Oe,this.loading=!1,this.gatewayToken=null,this.gatewayTokenIsValid=!1,this.aclToken=null,this.aclTokenIsValid=!1,this.userInputAdded=!1,this.loginAttempted=!1,this.serviceName="",this.routerPath=""}ngOnInit(){this.gatewayToken=this.authSvc.getGatewayToken()||"",this.aclToken=this.authSvc.getAclToken()||"",this.gatewayTokenIsValid=this.authSvc.isGatewayLoggedIn,this.aclTokenIsValid=this.authSvc.isAclLoggedIn;const ye=this.route.snapshot.queryParams;this.serviceName=ye.svcName,this.routerPath=ye.routerPath,(!this.routerPath||this.routerPath?.length<1)&&(this.routerPath="/dashboard")}get showGatewayTokenFields(){return""===this.gatewayToken&&!this.loginAttempted}get showAclTokenFields(){return""===this.aclToken&&!this.loginAttempted}get isGatewayTokenInvalid(){return!this.gatewayTokenIsValid&&this.loginAttempted}get isAclTokenInvalid(){return!this.aclTokenIsValid&&this.loginAttempted&&"registry center"===this.serviceName}login(){this.loading=!0,this.loginAttempted=!0,this.authSvc.setGatewayToken(this.gatewayToken),this.authSvc.setAclToken(this.aclToken);const ye=this.authSvc.tokenValidate("/core-metadata/api/v3/ping").pipe((0,ne.U)(he=>{this.authSvc.isGatewayLoggedIn=!0,this.gatewayTokenIsValid=!0}),(0,A.K)(he=>(this.authSvc.isGatewayLoggedIn=!1,this.gatewayToken=null,this.gatewayTokenIsValid=!1,(0,Pe.of)(null)))),Me=this.authSvc.tokenValidate("/api/v3/registrycenter/ping").pipe((0,ne.U)(he=>{this.authSvc.isAclLoggedIn=!0,this.aclTokenIsValid=!0}),(0,A.K)(he=>(this.authSvc.isAclLoggedIn=!1,this.aclToken=null,this.aclTokenIsValid=!1,(0,Pe.of)(null))));(0,me.D)([ye,Me]).pipe((0,A.K)(he=>(this.router.navigate(["/login"],{relativeTo:this.route}),[]))).subscribe(he=>{this.loading=!1,"registry center"===this.serviceName?this.authSvc.isAclLoggedIn&&this.router.navigate([this.routerPath],{relativeTo:this.route}):this.authSvc.isGatewayLoggedIn&&this.router.navigate([this.routerPath],{relativeTo:this.route})})}renderPopoverComponent(){$('[data-toggle="popover"]').popover({trigger:"hover"})}onInput(){this.userInputAdded=!0}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(ue.e),v.Y36(N.T),v.Y36(B.F0),v.Y36(B.gz))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-login"]],decls:30,vars:8,consts:function(){let ye,Me,he,Oe,yt,Tt,Rt;return ye="\u4F7F\u7528token\u4EE4\u724C\u767B\u5F55EdgeXFoundry",Me="Gateway Token",he="the gateway token is invalid!",Oe="ACL Token [optional]",yt="the ACL token is invalid!",Tt="\u5982\u4F55\u83B7\u53D6access token\uFF1F",Rt="\u767B\u5F55",[[1,"login","bg-dark"],[1,"card","login-form"],[1,"card-header"],ye,[1,"card-body","bg-light","shadow"],[1,""],[1,"form-group"],["for","gatewayToken",1,"col-form-label"],[1,"mr-1"],Me,["type","password","id","gatewayToken","name","gatewayToken",1,"form-control",3,"ngModel","ngModelChange"],[1,"invalid-feedback"],he,["for","aclToken",1,"col-form-label"],Oe,["type","password","id","aclToken","name","aclToken",1,"form-control",3,"ngModel","ngModelChange"],yt,["class","btn btn-success btn-sm w-100","type","button","disabled","",4,"ngIf"],["type","button","class","btn btn-success btn-sm w-100",3,"click",4,"ngIf"],[1,"mt-2"],["href","https://docs.edgexfoundry.org/3.0/security/Ch-Authenticating/#how-to-make-authenticated-edgex-calls","target","_blank",1,"text-decoration-none"],Tt,["type","button","disabled","",1,"btn","btn-success","btn-sm","w-100"],["role","status","aria-hidden","true",1,"spinner-grow","spinner-grow-sm"],["type","button",1,"btn","btn-success","btn-sm","w-100",3,"click"],Rt]},template:function(Me,he){1&Me&&(v.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),v.SDv(4,3),v.qZA()(),v.TgZ(5,"div",4)(6,"form",5)(7,"div",6)(8,"label",7)(9,"span",8),v.SDv(10,9),v.qZA()(),v.TgZ(11,"div",5)(12,"input",10),v.NdJ("ngModelChange",function(yt){return he.gatewayToken=yt})("ngModelChange",function(){return he.onInput()}),v.qZA(),v.TgZ(13,"div",11)(14,"small"),v.SDv(15,12),v.qZA()()(),v.TgZ(16,"label",13)(17,"span",8),v.SDv(18,14),v.qZA()(),v.TgZ(19,"div",5)(20,"input",15),v.NdJ("ngModelChange",function(yt){return he.aclToken=yt})("ngModelChange",function(){return he.onInput()}),v.qZA(),v.TgZ(21,"div",11)(22,"small"),v.SDv(23,16),v.qZA()()()(),v.YNc(24,pe,4,0,"button",17),v.YNc(25,qe,3,0,"button",18),v.TgZ(26,"div",19)(27,"a",20)(28,"small"),v.SDv(29,21),v.qZA()()()()()()()),2&Me&&(v.xp6(12),v.ekj("is-invalid",he.isGatewayTokenInvalid),v.Q6J("ngModel",he.gatewayToken),v.xp6(8),v.ekj("is-invalid",he.isAclTokenInvalid),v.Q6J("ngModel",he.aclToken),v.xp6(4),v.Q6J("ngIf",he.loading),v.xp6(1),v.Q6J("ngIf",!he.loading))},dependencies:[j.O5,Z._Y,Z.Fj,Z.JJ,Z.JL,Z.On,Z.F],styles:[".login[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:999}.login-form[_ngcontent-%COMP%]{position:absolute;left:0;right:0;top:40%;width:350px;margin:auto}"]})}return W})()}];let ke=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W});static#n=this.\u0275inj=v.cJS({imports:[B.Bz.forChild(Lt),B.Bz]})}return W})(),vt=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W});static#n=this.\u0275inj=v.cJS({imports:[j.ez,Z.u5,ke]})}return W})();const rt=[{provide:ee.TP,useClass:(()=>{class W{constructor(ye){this.authSvc=ye}intercept(ye,Me){let he=ye.headers.set("X-Requested-With","XMLHttpRequest");if(this.authSvc.isSecureMode){let yt=`Bearer ${this.authSvc.getGatewayToken()}`,Tt=`${this.authSvc.getAclToken()}`;he=ye.headers.set("X-Requested-With","XMLHttpRequest").set("Authorization",yt).set("X-Consul-Token",Tt)}const Oe=ye.clone({headers:he});return Me.handle(Oe)}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.LFG(ue.e))};static#t=this.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),multi:!0}];let At=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W,bootstrap:[re]});static#n=this.\u0275inj=v.cJS({providers:[rt],imports:[l.b2,j.ez,Z.u5,ee.JF,Te,vt]})}return W})();(0,v.G48)(),l.q6().bootstrapModule(At).catch(W=>console.error(W))},5619:(Ue,oe,S)=>{S.d(oe,{X:()=>v});var l=S(8645);class v extends l.x{constructor(Z){super(),this._value=Z}get value(){return this.getValue()}_subscribe(Z){const j=super._subscribe(Z);return!j.closed&&Z.next(this._value),j}getValue(){const{hasError:Z,thrownError:j,_value:B}=this;if(Z)throw j;return this._throwIfClosed(),B}next(Z){super.next(this._value=Z)}}},5592:(Ue,oe,S)=>{S.d(oe,{y:()=>A});var l=S(305),v=S(7394),ee=S(4850),Z=S(8407),j=S(2653),B=S(4674),G=S(1441);let A=(()=>{class ue{constructor(Pe){Pe&&(this._subscribe=Pe)}lift(Pe){const Ve=new ue;return Ve.source=this,Ve.operator=Pe,Ve}subscribe(Pe,Ve,ht){const ze=function V(ue){return ue&&ue instanceof l.Lv||function N(ue){return ue&&(0,B.m)(ue.next)&&(0,B.m)(ue.error)&&(0,B.m)(ue.complete)}(ue)&&(0,v.Nn)(ue)}(Pe)?Pe:new l.Hp(Pe,Ve,ht);return(0,G.x)(()=>{const{operator:Le,source:mt}=this;ze.add(Le?Le.call(ze,mt):mt?this._subscribe(ze):this._trySubscribe(ze))}),ze}_trySubscribe(Pe){try{return this._subscribe(Pe)}catch(Ve){Pe.error(Ve)}}forEach(Pe,Ve){return new(Ve=T(Ve))((ht,ze)=>{const Le=new l.Hp({next:mt=>{try{Pe(mt)}catch(Xe){ze(Xe),Le.unsubscribe()}},error:ze,complete:ht});this.subscribe(Le)})}_subscribe(Pe){var Ve;return null===(Ve=this.source)||void 0===Ve?void 0:Ve.subscribe(Pe)}[ee.L](){return this}pipe(...Pe){return(0,Z.U)(Pe)(this)}toPromise(Pe){return new(Pe=T(Pe))((Ve,ht)=>{let ze;this.subscribe(Le=>ze=Le,Le=>ht(Le),()=>Ve(ze))})}}return ue.create=xe=>new ue(xe),ue})();function T(ue){var xe;return null!==(xe=ue??j.config.Promise)&&void 0!==xe?xe:Promise}},8645:(Ue,oe,S)=>{S.d(oe,{x:()=>G});var l=S(5592),v=S(7394);const Z=(0,S(2306).d)(T=>function(){T(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var j=S(9039),B=S(1441);let G=(()=>{class T extends l.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(V){const ue=new A(this,this);return ue.operator=V,ue}_throwIfClosed(){if(this.closed)throw new Z}next(V){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ue of this.currentObservers)ue.next(V)}})}error(V){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=V;const{observers:ue}=this;for(;ue.length;)ue.shift().error(V)}})}complete(){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:V}=this;for(;V.length;)V.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var V;return(null===(V=this.observers)||void 0===V?void 0:V.length)>0}_trySubscribe(V){return this._throwIfClosed(),super._trySubscribe(V)}_subscribe(V){return this._throwIfClosed(),this._checkFinalizedStatuses(V),this._innerSubscribe(V)}_innerSubscribe(V){const{hasError:ue,isStopped:xe,observers:Pe}=this;return ue||xe?v.Lc:(this.currentObservers=null,Pe.push(V),new v.w0(()=>{this.currentObservers=null,(0,j.P)(Pe,V)}))}_checkFinalizedStatuses(V){const{hasError:ue,thrownError:xe,isStopped:Pe}=this;ue?V.error(xe):Pe&&V.complete()}asObservable(){const V=new l.y;return V.source=this,V}}return T.create=(N,V)=>new A(N,V),T})();class A extends G{constructor(N,V){super(),this.destination=N,this.source=V}next(N){var V,ue;null===(ue=null===(V=this.destination)||void 0===V?void 0:V.next)||void 0===ue||ue.call(V,N)}error(N){var V,ue;null===(ue=null===(V=this.destination)||void 0===V?void 0:V.error)||void 0===ue||ue.call(V,N)}complete(){var N,V;null===(V=null===(N=this.destination)||void 0===N?void 0:N.complete)||void 0===V||V.call(N)}_subscribe(N){var V,ue;return null!==(ue=null===(V=this.source)||void 0===V?void 0:V.subscribe(N))&&void 0!==ue?ue:v.Lc}}},305:(Ue,oe,S)=>{S.d(oe,{Hp:()=>ht,Lv:()=>ue});var l=S(4674),v=S(7394),ee=S(2653),Z=S(3894),j=S(2420);const B=T("C",void 0,void 0);function T(Ie,Ce,$e){return{kind:Ie,value:Ce,error:$e}}var N=S(7599),V=S(1441);class ue extends v.w0{constructor(Ce){super(),this.isStopped=!1,Ce?(this.destination=Ce,(0,v.Nn)(Ce)&&Ce.add(this)):this.destination=Xe}static create(Ce,$e,Ee){return new ht(Ce,$e,Ee)}next(Ce){this.isStopped?mt(function A(Ie){return T("N",Ie,void 0)}(Ce),this):this._next(Ce)}error(Ce){this.isStopped?mt(function G(Ie){return T("E",void 0,Ie)}(Ce),this):(this.isStopped=!0,this._error(Ce))}complete(){this.isStopped?mt(B,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ce){this.destination.next(Ce)}_error(Ce){try{this.destination.error(Ce)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const xe=Function.prototype.bind;function Pe(Ie,Ce){return xe.call(Ie,Ce)}class Ve{constructor(Ce){this.partialObserver=Ce}next(Ce){const{partialObserver:$e}=this;if($e.next)try{$e.next(Ce)}catch(Ee){ze(Ee)}}error(Ce){const{partialObserver:$e}=this;if($e.error)try{$e.error(Ce)}catch(Ee){ze(Ee)}else ze(Ce)}complete(){const{partialObserver:Ce}=this;if(Ce.complete)try{Ce.complete()}catch($e){ze($e)}}}class ht extends ue{constructor(Ce,$e,Ee){let Te;if(super(),(0,l.m)(Ce)||!Ce)Te={next:Ce??void 0,error:$e??void 0,complete:Ee??void 0};else{let ve;this&&ee.config.useDeprecatedNextContext?(ve=Object.create(Ce),ve.unsubscribe=()=>this.unsubscribe(),Te={next:Ce.next&&Pe(Ce.next,ve),error:Ce.error&&Pe(Ce.error,ve),complete:Ce.complete&&Pe(Ce.complete,ve)}):Te=Ce}this.destination=new Ve(Te)}}function ze(Ie){ee.config.useDeprecatedSynchronousErrorHandling?(0,V.O)(Ie):(0,Z.h)(Ie)}function mt(Ie,Ce){const{onStoppedNotification:$e}=ee.config;$e&&N.z.setTimeout(()=>$e(Ie,Ce))}const Xe={closed:!0,next:j.Z,error:function Le(Ie){throw Ie},complete:j.Z}},7394:(Ue,oe,S)=>{S.d(oe,{Lc:()=>B,w0:()=>j,Nn:()=>G});var l=S(4674);const ee=(0,S(2306).d)(T=>function(V){T(this),this.message=V?`${V.length} errors occurred during unsubscription:\n${V.map((ue,xe)=>`${xe+1}) ${ue.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=V});var Z=S(9039);class j{constructor(N){this.initialTeardown=N,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let N;if(!this.closed){this.closed=!0;const{_parentage:V}=this;if(V)if(this._parentage=null,Array.isArray(V))for(const Pe of V)Pe.remove(this);else V.remove(this);const{initialTeardown:ue}=this;if((0,l.m)(ue))try{ue()}catch(Pe){N=Pe instanceof ee?Pe.errors:[Pe]}const{_finalizers:xe}=this;if(xe){this._finalizers=null;for(const Pe of xe)try{A(Pe)}catch(Ve){N=N??[],Ve instanceof ee?N=[...N,...Ve.errors]:N.push(Ve)}}if(N)throw new ee(N)}}add(N){var V;if(N&&N!==this)if(this.closed)A(N);else{if(N instanceof j){if(N.closed||N._hasParent(this))return;N._addParent(this)}(this._finalizers=null!==(V=this._finalizers)&&void 0!==V?V:[]).push(N)}}_hasParent(N){const{_parentage:V}=this;return V===N||Array.isArray(V)&&V.includes(N)}_addParent(N){const{_parentage:V}=this;this._parentage=Array.isArray(V)?(V.push(N),V):V?[V,N]:N}_removeParent(N){const{_parentage:V}=this;V===N?this._parentage=null:Array.isArray(V)&&(0,Z.P)(V,N)}remove(N){const{_finalizers:V}=this;V&&(0,Z.P)(V,N),N instanceof j&&N._removeParent(this)}}j.EMPTY=(()=>{const T=new j;return T.closed=!0,T})();const B=j.EMPTY;function G(T){return T instanceof j||T&&"closed"in T&&(0,l.m)(T.remove)&&(0,l.m)(T.add)&&(0,l.m)(T.unsubscribe)}function A(T){(0,l.m)(T)?T():T.unsubscribe()}},2653:(Ue,oe,S)=>{S.d(oe,{config:()=>l});const l={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6232:(Ue,oe,S)=>{S.d(oe,{E:()=>v});const v=new(S(5592).y)(j=>j.complete())},9315:(Ue,oe,S)=>{S.d(oe,{D:()=>A});var l=S(5592),v=S(7453),ee=S(4829),Z=S(4564),j=S(8251),B=S(7400),G=S(2714);function A(...T){const N=(0,Z.jO)(T),{args:V,keys:ue}=(0,v.D)(T),xe=new l.y(Pe=>{const{length:Ve}=V;if(!Ve)return void Pe.complete();const ht=new Array(Ve);let ze=Ve,Le=Ve;for(let mt=0;mt{Xe||(Xe=!0,Le--),ht[mt]=Ie},()=>ze--,void 0,()=>{(!ze||!Xe)&&(Le||Pe.next(ue?(0,G.n)(ue,ht):ht),Pe.complete())}))}});return N?xe.pipe((0,B.Z)(N)):xe}},7715:(Ue,oe,S)=>{S.d(oe,{D:()=>Ee});var l=S(4829),v=S(7103),ee=S(9360),Z=S(8251);function j(Te,ve=0){return(0,ee.e)((Ze,Ye)=>{Ze.subscribe((0,Z.x)(Ye,_e=>(0,v.f)(Ye,Te,()=>Ye.next(_e),ve),()=>(0,v.f)(Ye,Te,()=>Ye.complete(),ve),_e=>(0,v.f)(Ye,Te,()=>Ye.error(_e),ve)))})}function B(Te,ve=0){return(0,ee.e)((Ze,Ye)=>{Ye.add(Te.schedule(()=>Ze.subscribe(Ye),ve))})}var T=S(5592),V=S(4971),ue=S(4674);function Pe(Te,ve){if(!Te)throw new Error("Iterable cannot be null");return new T.y(Ze=>{(0,v.f)(Ze,ve,()=>{const Ye=Te[Symbol.asyncIterator]();(0,v.f)(Ze,ve,()=>{Ye.next().then(_e=>{_e.done?Ze.complete():Ze.next(_e.value)})},0,!0)})})}var Ve=S(8382),ht=S(4026),ze=S(4266),Le=S(3664),mt=S(5726),Xe=S(9853),Ie=S(541);function Ee(Te,ve){return ve?function $e(Te,ve){if(null!=Te){if((0,Ve.c)(Te))return function G(Te,ve){return(0,l.Xf)(Te).pipe(B(ve),j(ve))}(Te,ve);if((0,ze.z)(Te))return function N(Te,ve){return new T.y(Ze=>{let Ye=0;return ve.schedule(function(){Ye===Te.length?Ze.complete():(Ze.next(Te[Ye++]),Ze.closed||this.schedule())})})}(Te,ve);if((0,ht.t)(Te))return function A(Te,ve){return(0,l.Xf)(Te).pipe(B(ve),j(ve))}(Te,ve);if((0,mt.D)(Te))return Pe(Te,ve);if((0,Le.T)(Te))return function xe(Te,ve){return new T.y(Ze=>{let Ye;return(0,v.f)(Ze,ve,()=>{Ye=Te[V.h](),(0,v.f)(Ze,ve,()=>{let _e,Gt;try{({value:_e,done:Gt}=Ye.next())}catch(He){return void Ze.error(He)}Gt?Ze.complete():Ze.next(_e)},0,!0)}),()=>(0,ue.m)(Ye?.return)&&Ye.return()})}(Te,ve);if((0,Ie.L)(Te))return function Ce(Te,ve){return Pe((0,Ie.Q)(Te),ve)}(Te,ve)}throw(0,Xe.z)(Te)}(Te,ve):(0,l.Xf)(Te)}},4829:(Ue,oe,S)=>{S.d(oe,{Xf:()=>xe});var l=S(7582),v=S(4266),ee=S(4026),Z=S(5592),j=S(8382),B=S(5726),G=S(9853),A=S(3664),T=S(541),N=S(4674),V=S(3894),ue=S(4850);function xe(Ie){if(Ie instanceof Z.y)return Ie;if(null!=Ie){if((0,j.c)(Ie))return function Pe(Ie){return new Z.y(Ce=>{const $e=Ie[ue.L]();if((0,N.m)($e.subscribe))return $e.subscribe(Ce);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ie);if((0,v.z)(Ie))return function Ve(Ie){return new Z.y(Ce=>{for(let $e=0;$e{Ie.then($e=>{Ce.closed||(Ce.next($e),Ce.complete())},$e=>Ce.error($e)).then(null,V.h)})}(Ie);if((0,B.D)(Ie))return Le(Ie);if((0,A.T)(Ie))return function ze(Ie){return new Z.y(Ce=>{for(const $e of Ie)if(Ce.next($e),Ce.closed)return;Ce.complete()})}(Ie);if((0,T.L)(Ie))return function mt(Ie){return Le((0,T.Q)(Ie))}(Ie)}throw(0,G.z)(Ie)}function Le(Ie){return new Z.y(Ce=>{(function Xe(Ie,Ce){var $e,Ee,Te,ve;return(0,l.mG)(this,void 0,void 0,function*(){try{for($e=(0,l.KL)(Ie);!(Ee=yield $e.next()).done;)if(Ce.next(Ee.value),Ce.closed)return}catch(Ze){Te={error:Ze}}finally{try{Ee&&!Ee.done&&(ve=$e.return)&&(yield ve.call($e))}finally{if(Te)throw Te.error}}Ce.complete()})})(Ie,Ce).catch($e=>Ce.error($e))})}},2096:(Ue,oe,S)=>{S.d(oe,{of:()=>ee});var l=S(4564),v=S(7715);function ee(...Z){const j=(0,l.yG)(Z);return(0,v.D)(Z,j)}},8504:(Ue,oe,S)=>{S.d(oe,{_:()=>ee});var l=S(5592),v=S(4674);function ee(Z,j){const B=(0,v.m)(Z)?Z:()=>Z,G=A=>A.error(B());return new l.y(j?A=>j.schedule(G,0,A):G)}},8251:(Ue,oe,S)=>{S.d(oe,{x:()=>v});var l=S(305);function v(Z,j,B,G,A){return new ee(Z,j,B,G,A)}class ee extends l.Lv{constructor(j,B,G,A,T,N){super(j),this.onFinalize=T,this.shouldUnsubscribe=N,this._next=B?function(V){try{B(V)}catch(ue){j.error(ue)}}:super._next,this._error=A?function(V){try{A(V)}catch(ue){j.error(ue)}finally{this.unsubscribe()}}:super._error,this._complete=G?function(){try{G()}catch(V){j.error(V)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var j;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:B}=this;super.unsubscribe(),!B&&(null===(j=this.onFinalize)||void 0===j||j.call(this))}}}},6306:(Ue,oe,S)=>{S.d(oe,{K:()=>Z});var l=S(4829),v=S(8251),ee=S(9360);function Z(j){return(0,ee.e)((B,G)=>{let N,A=null,T=!1;A=B.subscribe((0,v.x)(G,void 0,void 0,V=>{N=(0,l.Xf)(j(V,Z(j)(B))),A?(A.unsubscribe(),A=null,N.subscribe(G)):T=!0})),T&&(A.unsubscribe(),A=null,N.subscribe(G))})}},6328:(Ue,oe,S)=>{S.d(oe,{b:()=>ee});var l=S(1631),v=S(4674);function ee(Z,j){return(0,v.m)(j)?(0,l.z)(Z,j,1):(0,l.z)(Z,1)}},3997:(Ue,oe,S)=>{S.d(oe,{x:()=>Z});var l=S(2737),v=S(9360),ee=S(8251);function Z(B,G=l.y){return B=B??j,(0,v.e)((A,T)=>{let N,V=!0;A.subscribe((0,ee.x)(T,ue=>{const xe=G(ue);(V||!B(N,xe))&&(V=!1,N=xe,T.next(ue))}))})}function j(B,G){return B===G}},2181:(Ue,oe,S)=>{S.d(oe,{h:()=>ee});var l=S(9360),v=S(8251);function ee(Z,j){return(0,l.e)((B,G)=>{let A=0;B.subscribe((0,v.x)(G,T=>Z.call(j,T,A++)&&G.next(T)))})}},4716:(Ue,oe,S)=>{S.d(oe,{x:()=>v});var l=S(9360);function v(ee){return(0,l.e)((Z,j)=>{try{Z.subscribe(j)}finally{j.add(ee)}})}},7398:(Ue,oe,S)=>{S.d(oe,{U:()=>ee});var l=S(9360),v=S(8251);function ee(Z,j){return(0,l.e)((B,G)=>{let A=0;B.subscribe((0,v.x)(G,T=>{G.next(Z.call(j,T,A++))}))})}},7537:(Ue,oe,S)=>{S.d(oe,{J:()=>ee});var l=S(1631),v=S(2737);function ee(Z=1/0){return(0,l.z)(v.y,Z)}},1631:(Ue,oe,S)=>{S.d(oe,{z:()=>A});var l=S(7398),v=S(4829),ee=S(9360),Z=S(7103),j=S(8251),G=S(4674);function A(T,N,V=1/0){return(0,G.m)(N)?A((ue,xe)=>(0,l.U)((Pe,Ve)=>N(ue,Pe,xe,Ve))((0,v.Xf)(T(ue,xe))),V):("number"==typeof N&&(V=N),(0,ee.e)((ue,xe)=>function B(T,N,V,ue,xe,Pe,Ve,ht){const ze=[];let Le=0,mt=0,Xe=!1;const Ie=()=>{Xe&&!ze.length&&!Le&&N.complete()},Ce=Ee=>Le{Pe&&N.next(Ee),Le++;let Te=!1;(0,v.Xf)(V(Ee,mt++)).subscribe((0,j.x)(N,ve=>{xe?.(ve),Pe?Ce(ve):N.next(ve)},()=>{Te=!0},void 0,()=>{if(Te)try{for(Le--;ze.length&&Le$e(ve)):$e(ve)}Ie()}catch(ve){N.error(ve)}}))};return T.subscribe((0,j.x)(N,Ce,()=>{Xe=!0,Ie()})),()=>{ht?.()}}(ue,xe,T,V)))}},4664:(Ue,oe,S)=>{S.d(oe,{w:()=>Z});var l=S(4829),v=S(9360),ee=S(8251);function Z(j,B){return(0,v.e)((G,A)=>{let T=null,N=0,V=!1;const ue=()=>V&&!T&&A.complete();G.subscribe((0,ee.x)(A,xe=>{T?.unsubscribe();let Pe=0;const Ve=N++;(0,l.Xf)(j(xe,Ve)).subscribe(T=(0,ee.x)(A,ht=>A.next(B?B(xe,ht,Ve,Pe++):ht),()=>{T=null,ue()}))},()=>{V=!0,ue()}))})}},8180:(Ue,oe,S)=>{S.d(oe,{q:()=>Z});var l=S(6232),v=S(9360),ee=S(8251);function Z(j){return j<=0?()=>l.E:(0,v.e)((B,G)=>{let A=0;B.subscribe((0,ee.x)(G,T=>{++A<=j&&(G.next(T),j<=A&&G.complete())}))})}},7599:(Ue,oe,S)=>{S.d(oe,{z:()=>l});const l={setTimeout(v,ee,...Z){const{delegate:j}=l;return j?.setTimeout?j.setTimeout(v,ee,...Z):setTimeout(v,ee,...Z)},clearTimeout(v){const{delegate:ee}=l;return(ee?.clearTimeout||clearTimeout)(v)},delegate:void 0}},4971:(Ue,oe,S)=>{S.d(oe,{h:()=>v});const v=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Ue,oe,S)=>{S.d(oe,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},4564:(Ue,oe,S)=>{S.d(oe,{_6:()=>B,jO:()=>Z,yG:()=>j});var l=S(4674);function ee(G){return G[G.length-1]}function Z(G){return(0,l.m)(ee(G))?G.pop():void 0}function j(G){return function v(G){return G&&(0,l.m)(G.schedule)}(ee(G))?G.pop():void 0}function B(G,A){return"number"==typeof ee(G)?G.pop():A}},7453:(Ue,oe,S)=>{S.d(oe,{D:()=>j});const{isArray:l}=Array,{getPrototypeOf:v,prototype:ee,keys:Z}=Object;function j(G){if(1===G.length){const A=G[0];if(l(A))return{args:A,keys:null};if(function B(G){return G&&"object"==typeof G&&v(G)===ee}(A)){const T=Z(A);return{args:T.map(N=>A[N]),keys:T}}}return{args:G,keys:null}}},9039:(Ue,oe,S)=>{function l(v,ee){if(v){const Z=v.indexOf(ee);0<=Z&&v.splice(Z,1)}}S.d(oe,{P:()=>l})},2306:(Ue,oe,S)=>{function l(v){const Z=v(j=>{Error.call(j),j.stack=(new Error).stack});return Z.prototype=Object.create(Error.prototype),Z.prototype.constructor=Z,Z}S.d(oe,{d:()=>l})},2714:(Ue,oe,S)=>{function l(v,ee){return v.reduce((Z,j,B)=>(Z[j]=ee[B],Z),{})}S.d(oe,{n:()=>l})},1441:(Ue,oe,S)=>{S.d(oe,{O:()=>Z,x:()=>ee});var l=S(2653);let v=null;function ee(j){if(l.config.useDeprecatedSynchronousErrorHandling){const B=!v;if(B&&(v={errorThrown:!1,error:null}),j(),B){const{errorThrown:G,error:A}=v;if(v=null,G)throw A}}else j()}function Z(j){l.config.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=j)}},7103:(Ue,oe,S)=>{function l(v,ee,Z,j=0,B=!1){const G=ee.schedule(function(){Z(),B?v.add(this.schedule(null,j)):this.unsubscribe()},j);if(v.add(G),!B)return G}S.d(oe,{f:()=>l})},2737:(Ue,oe,S)=>{function l(v){return v}S.d(oe,{y:()=>l})},4266:(Ue,oe,S)=>{S.d(oe,{z:()=>l});const l=v=>v&&"number"==typeof v.length&&"function"!=typeof v},5726:(Ue,oe,S)=>{S.d(oe,{D:()=>v});var l=S(4674);function v(ee){return Symbol.asyncIterator&&(0,l.m)(ee?.[Symbol.asyncIterator])}},4674:(Ue,oe,S)=>{function l(v){return"function"==typeof v}S.d(oe,{m:()=>l})},8382:(Ue,oe,S)=>{S.d(oe,{c:()=>ee});var l=S(4850),v=S(4674);function ee(Z){return(0,v.m)(Z[l.L])}},3664:(Ue,oe,S)=>{S.d(oe,{T:()=>ee});var l=S(4971),v=S(4674);function ee(Z){return(0,v.m)(Z?.[l.h])}},4026:(Ue,oe,S)=>{S.d(oe,{t:()=>v});var l=S(4674);function v(ee){return(0,l.m)(ee?.then)}},541:(Ue,oe,S)=>{S.d(oe,{L:()=>Z,Q:()=>ee});var l=S(7582),v=S(4674);function ee(j){return(0,l.FC)(this,arguments,function*(){const G=j.getReader();try{for(;;){const{value:A,done:T}=yield(0,l.qq)(G.read());if(T)return yield(0,l.qq)(void 0);yield yield(0,l.qq)(A)}}finally{G.releaseLock()}})}function Z(j){return(0,v.m)(j?.getReader)}},9360:(Ue,oe,S)=>{S.d(oe,{A:()=>v,e:()=>ee});var l=S(4674);function v(Z){return(0,l.m)(Z?.lift)}function ee(Z){return j=>{if(v(j))return j.lift(function(B){try{return Z(B,this)}catch(G){this.error(G)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Ue,oe,S)=>{S.d(oe,{Z:()=>Z});var l=S(7398);const{isArray:v}=Array;function Z(j){return(0,l.U)(B=>function ee(j,B){return v(B)?j(...B):j(B)}(j,B))}},2420:(Ue,oe,S)=>{function l(){}S.d(oe,{Z:()=>l})},8407:(Ue,oe,S)=>{S.d(oe,{U:()=>ee,z:()=>v});var l=S(2737);function v(...Z){return ee(Z)}function ee(Z){return 0===Z.length?l.y:1===Z.length?Z[0]:function(B){return Z.reduce((G,A)=>A(G),B)}}},3894:(Ue,oe,S)=>{S.d(oe,{h:()=>ee});var l=S(2653),v=S(7599);function ee(Z){v.z.setTimeout(()=>{const{onUnhandledError:j}=l.config;if(!j)throw Z;j(Z)})}},9853:(Ue,oe,S)=>{function l(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}S.d(oe,{z:()=>l})},6814:(Ue,oe,S)=>{S.d(oe,{Do:()=>ht,ED:()=>zi,EM:()=>or,HT:()=>Z,JF:()=>Lr,K0:()=>B,Mx:()=>Hn,O5:()=>Wr,PM:()=>Ir,RF:()=>xr,S$:()=>xe,Ts:()=>pi,V_:()=>A,Ye:()=>ze,b0:()=>Ve,bD:()=>jt,ez:()=>Sr,mk:()=>je,n9:()=>wr,q:()=>ee,sg:()=>Ln,uU:()=>Ri,w_:()=>j});var l=S(6689);let v=null;function ee(){return v}function Z(d){v||(v=d)}class j{}const B=new l.OlP("DocumentToken");let G=(()=>{class d{historyGo(m){throw new Error("Not implemented")}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275prov=l.Yz7({token:d,factory:function(){return(0,l.f3M)(T)},providedIn:"platform"})}return d})();const A=new l.OlP("Location Initialized");let T=(()=>{class d extends G{constructor(){super(),this._doc=(0,l.f3M)(B),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ee().getBaseHref(this._doc)}onPopState(m){const E=ee().getGlobalEventTarget(this._doc,"window");return E.addEventListener("popstate",m,!1),()=>E.removeEventListener("popstate",m)}onHashChange(m){const E=ee().getGlobalEventTarget(this._doc,"window");return E.addEventListener("hashchange",m,!1),()=>E.removeEventListener("hashchange",m)}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(m){this._location.pathname=m}pushState(m,E,R){this._history.pushState(m,E,R)}replaceState(m,E,R){this._history.replaceState(m,E,R)}forward(){this._history.forward()}back(){this._history.back()}historyGo(m=0){this._history.go(m)}getState(){return this._history.state}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275prov=l.Yz7({token:d,factory:function(){return new d},providedIn:"platform"})}return d})();function N(d,w){if(0==d.length)return w;if(0==w.length)return d;let m=0;return d.endsWith("/")&&m++,w.startsWith("/")&&m++,2==m?d+w.substring(1):1==m?d+w:d+"/"+w}function V(d){const w=d.match(/#|\?|$/),m=w&&w.index||d.length;return d.slice(0,m-("/"===d[m-1]?1:0))+d.slice(m)}function ue(d){return d&&"?"!==d[0]?"?"+d:d}let xe=(()=>{class d{historyGo(m){throw new Error("Not implemented")}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275prov=l.Yz7({token:d,factory:function(){return(0,l.f3M)(Ve)},providedIn:"root"})}return d})();const Pe=new l.OlP("appBaseHref");let Ve=(()=>{class d extends xe{constructor(m,E){super(),this._platformLocation=m,this._removeListenerFns=[],this._baseHref=E??this._platformLocation.getBaseHrefFromDOM()??(0,l.f3M)(B).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}prepareExternalUrl(m){return N(this._baseHref,m)}path(m=!1){const E=this._platformLocation.pathname+ue(this._platformLocation.search),R=this._platformLocation.hash;return R&&m?`${E}${R}`:E}pushState(m,E,R,te){const ce=this.prepareExternalUrl(R+ue(te));this._platformLocation.pushState(m,E,ce)}replaceState(m,E,R,te){const ce=this.prepareExternalUrl(R+ue(te));this._platformLocation.replaceState(m,E,ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}static#e=this.\u0275fac=function(E){return new(E||d)(l.LFG(G),l.LFG(Pe,8))};static#t=this.\u0275prov=l.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})(),ht=(()=>{class d extends xe{constructor(m,E){super(),this._platformLocation=m,this._baseHref="",this._removeListenerFns=[],null!=E&&(this._baseHref=E)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}path(m=!1){let E=this._platformLocation.hash;return null==E&&(E="#"),E.length>0?E.substring(1):E}prepareExternalUrl(m){const E=N(this._baseHref,m);return E.length>0?"#"+E:E}pushState(m,E,R,te){let ce=this.prepareExternalUrl(R+ue(te));0==ce.length&&(ce=this._platformLocation.pathname),this._platformLocation.pushState(m,E,ce)}replaceState(m,E,R,te){let ce=this.prepareExternalUrl(R+ue(te));0==ce.length&&(ce=this._platformLocation.pathname),this._platformLocation.replaceState(m,E,ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}static#e=this.\u0275fac=function(E){return new(E||d)(l.LFG(G),l.LFG(Pe,8))};static#t=this.\u0275prov=l.Yz7({token:d,factory:d.\u0275fac})}return d})(),ze=(()=>{class d{constructor(m){this._subject=new l.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=m;const E=this._locationStrategy.getBaseHref();this._basePath=function Ie(d){if(new RegExp("^(https?:)?//").test(d)){const[,m]=d.split(/\/\/[^\/]+/);return m}return d}(V(Xe(E))),this._locationStrategy.onPopState(R=>{this._subject.emit({url:this.path(!0),pop:!0,state:R.state,type:R.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(m=!1){return this.normalize(this._locationStrategy.path(m))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(m,E=""){return this.path()==this.normalize(m+ue(E))}normalize(m){return d.stripTrailingSlash(function mt(d,w){if(!d||!w.startsWith(d))return w;const m=w.substring(d.length);return""===m||["/",";","?","#"].includes(m[0])?m:w}(this._basePath,Xe(m)))}prepareExternalUrl(m){return m&&"/"!==m[0]&&(m="/"+m),this._locationStrategy.prepareExternalUrl(m)}go(m,E="",R=null){this._locationStrategy.pushState(R,"",m,E),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+ue(E)),R)}replaceState(m,E="",R=null){this._locationStrategy.replaceState(R,"",m,E),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+ue(E)),R)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(m=0){this._locationStrategy.historyGo?.(m)}onUrlChange(m){return this._urlChangeListeners.push(m),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(E=>{this._notifyUrlChangeListeners(E.url,E.state)})),()=>{const E=this._urlChangeListeners.indexOf(m);this._urlChangeListeners.splice(E,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(m="",E){this._urlChangeListeners.forEach(R=>R(m,E))}subscribe(m,E,R){return this._subject.subscribe({next:m,error:E,complete:R})}static#e=this.normalizeQueryParams=ue;static#t=this.joinWithSlash=N;static#n=this.stripTrailingSlash=V;static#r=this.\u0275fac=function(E){return new(E||d)(l.LFG(xe))};static#i=this.\u0275prov=l.Yz7({token:d,factory:function(){return function Le(){return new ze((0,l.LFG)(xe))}()},providedIn:"root"})}return d})();function Xe(d){return d.replace(/\/index.html$/,"")}var Te=function(d){return d[d.Format=0]="Format",d[d.Standalone=1]="Standalone",d}(Te||{}),ve=function(d){return d[d.Narrow=0]="Narrow",d[d.Abbreviated=1]="Abbreviated",d[d.Wide=2]="Wide",d[d.Short=3]="Short",d}(ve||{}),Ze=function(d){return d[d.Short=0]="Short",d[d.Medium=1]="Medium",d[d.Long=2]="Long",d[d.Full=3]="Full",d}(Ze||{}),Ye=function(d){return d[d.Decimal=0]="Decimal",d[d.Group=1]="Group",d[d.List=2]="List",d[d.PercentSign=3]="PercentSign",d[d.PlusSign=4]="PlusSign",d[d.MinusSign=5]="MinusSign",d[d.Exponential=6]="Exponential",d[d.SuperscriptingExponent=7]="SuperscriptingExponent",d[d.PerMille=8]="PerMille",d[d.Infinity=9]="Infinity",d[d.NaN=10]="NaN",d[d.TimeSeparator=11]="TimeSeparator",d[d.CurrencyDecimal=12]="CurrencyDecimal",d[d.CurrencyGroup=13]="CurrencyGroup",d}(Ye||{});function q(d,w){return W((0,l.cg1)(d)[l.wAp.DateFormat],w)}function re(d,w){return W((0,l.cg1)(d)[l.wAp.TimeFormat],w)}function ne(d,w){return W((0,l.cg1)(d)[l.wAp.DateTimeFormat],w)}function me(d,w){const m=(0,l.cg1)(d),E=m[l.wAp.NumberSymbols][w];if(typeof E>"u"){if(w===Ye.CurrencyDecimal)return m[l.wAp.NumberSymbols][Ye.Decimal];if(w===Ye.CurrencyGroup)return m[l.wAp.NumberSymbols][Ye.Group]}return E}function kt(d){if(!d[l.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${d[l.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function W(d,w){for(let m=w;m>-1;m--)if(typeof d[m]<"u")return d[m];throw new Error("Locale data API: locale data undefined")}function Vt(d){const[w,m]=d.split(":");return{hours:+w,minutes:+m}}const Oe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,yt={},Tt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Rt=function(d){return d[d.Short=0]="Short",d[d.ShortGMT=1]="ShortGMT",d[d.Long=2]="Long",d[d.Extended=3]="Extended",d}(Rt||{}),Je=function(d){return d[d.FullYear=0]="FullYear",d[d.Month=1]="Month",d[d.Date=2]="Date",d[d.Hours=3]="Hours",d[d.Minutes=4]="Minutes",d[d.Seconds=5]="Seconds",d[d.FractionalSeconds=6]="FractionalSeconds",d[d.Day=7]="Day",d}(Je||{}),et=function(d){return d[d.DayPeriods=0]="DayPeriods",d[d.Days=1]="Days",d[d.Months=2]="Months",d[d.Eras=3]="Eras",d}(et||{});function mn(d,w,m,E){let R=function se(d){if(F(d))return d;if("number"==typeof d&&!isNaN(d))return new Date(d);if("string"==typeof d){if(d=d.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(d)){const[R,te=1,ce=1]=d.split("-").map(Ge=>+Ge);return Kn(R,te-1,ce)}const m=parseFloat(d);if(!isNaN(d-m))return new Date(m);let E;if(E=d.match(Oe))return function J(d){const w=new Date(0);let m=0,E=0;const R=d[8]?w.setUTCFullYear:w.setFullYear,te=d[8]?w.setUTCHours:w.setHours;d[9]&&(m=Number(d[9]+d[10]),E=Number(d[9]+d[11])),R.call(w,Number(d[1]),Number(d[2])-1,Number(d[3]));const ce=Number(d[4]||0)-m,Ge=Number(d[5]||0)-E,$t=Number(d[6]||0),Bt=Math.floor(1e3*parseFloat("0."+(d[7]||0)));return te.call(w,ce,Ge,$t,Bt),w}(E)}const w=new Date(d);if(!F(w))throw new Error(`Unable to convert "${d}" into a date`);return w}(d);w=Mn(m,w)||w;let Ge,ce=[];for(;w;){if(Ge=Tt.exec(w),!Ge){ce.push(w);break}{ce=ce.concat(Ge.slice(1));const Pt=ce.pop();if(!Pt)break;w=Pt}}let $t=R.getTimezoneOffset();E&&($t=rr(E,$t),R=function Ti(d,w,m){const E=m?-1:1,R=d.getTimezoneOffset();return function cr(d,w){return(d=new Date(d.getTime())).setMinutes(d.getMinutes()+w),d}(d,E*(rr(w,R)-R))}(R,E,!0));let Bt="";return ce.forEach(Pt=>{const gt=function nr(d){if(Sn[d])return Sn[d];let w;switch(d){case"G":case"GG":case"GGG":w=st(et.Eras,ve.Abbreviated);break;case"GGGG":w=st(et.Eras,ve.Wide);break;case"GGGGG":w=st(et.Eras,ve.Narrow);break;case"y":w=Ot(Je.FullYear,1,0,!1,!0);break;case"yy":w=Ot(Je.FullYear,2,0,!0,!0);break;case"yyy":w=Ot(Je.FullYear,3,0,!1,!0);break;case"yyyy":w=Ot(Je.FullYear,4,0,!1,!0);break;case"Y":w=Yn(1);break;case"YY":w=Yn(2,!0);break;case"YYY":w=Yn(3);break;case"YYYY":w=Yn(4);break;case"M":case"L":w=Ot(Je.Month,1,1);break;case"MM":case"LL":w=Ot(Je.Month,2,1);break;case"MMM":w=st(et.Months,ve.Abbreviated);break;case"MMMM":w=st(et.Months,ve.Wide);break;case"MMMMM":w=st(et.Months,ve.Narrow);break;case"LLL":w=st(et.Months,ve.Abbreviated,Te.Standalone);break;case"LLLL":w=st(et.Months,ve.Wide,Te.Standalone);break;case"LLLLL":w=st(et.Months,ve.Narrow,Te.Standalone);break;case"w":w=Fn(1);break;case"ww":w=Fn(2);break;case"W":w=Fn(1,!0);break;case"d":w=Ot(Je.Date,1);break;case"dd":w=Ot(Je.Date,2);break;case"c":case"cc":w=Ot(Je.Day,1);break;case"ccc":w=st(et.Days,ve.Abbreviated,Te.Standalone);break;case"cccc":w=st(et.Days,ve.Wide,Te.Standalone);break;case"ccccc":w=st(et.Days,ve.Narrow,Te.Standalone);break;case"cccccc":w=st(et.Days,ve.Short,Te.Standalone);break;case"E":case"EE":case"EEE":w=st(et.Days,ve.Abbreviated);break;case"EEEE":w=st(et.Days,ve.Wide);break;case"EEEEE":w=st(et.Days,ve.Narrow);break;case"EEEEEE":w=st(et.Days,ve.Short);break;case"a":case"aa":case"aaa":w=st(et.DayPeriods,ve.Abbreviated);break;case"aaaa":w=st(et.DayPeriods,ve.Wide);break;case"aaaaa":w=st(et.DayPeriods,ve.Narrow);break;case"b":case"bb":case"bbb":w=st(et.DayPeriods,ve.Abbreviated,Te.Standalone,!0);break;case"bbbb":w=st(et.DayPeriods,ve.Wide,Te.Standalone,!0);break;case"bbbbb":w=st(et.DayPeriods,ve.Narrow,Te.Standalone,!0);break;case"B":case"BB":case"BBB":w=st(et.DayPeriods,ve.Abbreviated,Te.Format,!0);break;case"BBBB":w=st(et.DayPeriods,ve.Wide,Te.Format,!0);break;case"BBBBB":w=st(et.DayPeriods,ve.Narrow,Te.Format,!0);break;case"h":w=Ot(Je.Hours,1,-12);break;case"hh":w=Ot(Je.Hours,2,-12);break;case"H":w=Ot(Je.Hours,1);break;case"HH":w=Ot(Je.Hours,2);break;case"m":w=Ot(Je.Minutes,1);break;case"mm":w=Ot(Je.Minutes,2);break;case"s":w=Ot(Je.Seconds,1);break;case"ss":w=Ot(Je.Seconds,2);break;case"S":w=Ot(Je.FractionalSeconds,1);break;case"SS":w=Ot(Je.FractionalSeconds,2);break;case"SSS":w=Ot(Je.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":w=Bn(Rt.Short);break;case"ZZZZZ":w=Bn(Rt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":w=Bn(Rt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":w=Bn(Rt.Long);break;default:return null}return Sn[d]=w,w}(Pt);Bt+=gt?gt(R,m,$t):"''"===Pt?"'":Pt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Bt}function Kn(d,w,m){const E=new Date(0);return E.setFullYear(d,w,m),E.setHours(0,0,0),E}function Mn(d,w){const m=function Gt(d){return(0,l.cg1)(d)[l.wAp.LocaleId]}(d);if(yt[m]=yt[m]||{},yt[m][w])return yt[m][w];let E="";switch(w){case"shortDate":E=q(d,Ze.Short);break;case"mediumDate":E=q(d,Ze.Medium);break;case"longDate":E=q(d,Ze.Long);break;case"fullDate":E=q(d,Ze.Full);break;case"shortTime":E=re(d,Ze.Short);break;case"mediumTime":E=re(d,Ze.Medium);break;case"longTime":E=re(d,Ze.Long);break;case"fullTime":E=re(d,Ze.Full);break;case"short":const R=Mn(d,"shortTime"),te=Mn(d,"shortDate");E=_n(ne(d,Ze.Short),[R,te]);break;case"medium":const ce=Mn(d,"mediumTime"),Ge=Mn(d,"mediumDate");E=_n(ne(d,Ze.Medium),[ce,Ge]);break;case"long":const $t=Mn(d,"longTime"),Bt=Mn(d,"longDate");E=_n(ne(d,Ze.Long),[$t,Bt]);break;case"full":const Pt=Mn(d,"fullTime"),gt=Mn(d,"fullDate");E=_n(ne(d,Ze.Full),[Pt,gt])}return E&&(yt[m][w]=E),E}function _n(d,w){return w&&(d=d.replace(/\{([^}]+)}/g,function(m,E){return null!=w&&E in w?w[E]:m})),d}function vn(d,w,m="-",E,R){let te="";(d<0||R&&d<=0)&&(R?d=1-d:(d=-d,te=m));let ce=String(d);for(;ce.length0||Ge>-m)&&(Ge+=m),d===Je.Hours)0===Ge&&-12===m&&(Ge=12);else if(d===Je.FractionalSeconds)return function ct(d,w){return vn(d,3).substring(0,w)}(Ge,w);const $t=me(ce,Ye.MinusSign);return vn(Ge,w,$t,E,R)}}function st(d,w,m=Te.Format,E=!1){return function(R,te){return function zr(d,w,m,E,R,te){switch(m){case et.Months:return function zt(d,w,m){const E=(0,l.cg1)(d),te=W([E[l.wAp.MonthsFormat],E[l.wAp.MonthsStandalone]],w);return W(te,m)}(w,R,E)[d.getMonth()];case et.Days:return function Qe(d,w,m){const E=(0,l.cg1)(d),te=W([E[l.wAp.DaysFormat],E[l.wAp.DaysStandalone]],w);return W(te,m)}(w,R,E)[d.getDay()];case et.DayPeriods:const ce=d.getHours(),Ge=d.getMinutes();if(te){const Bt=function rt(d){const w=(0,l.cg1)(d);return kt(w),(w[l.wAp.ExtraData][2]||[]).map(E=>"string"==typeof E?Vt(E):[Vt(E[0]),Vt(E[1])])}(w),Pt=function At(d,w,m){const E=(0,l.cg1)(d);kt(E);const te=W([E[l.wAp.ExtraData][0],E[l.wAp.ExtraData][1]],w)||[];return W(te,m)||[]}(w,R,E),gt=Bt.findIndex(en=>{if(Array.isArray(en)){const[It,hn]=en,Tr=ce>=It.hours&&Ge>=It.minutes,Or=ce0?Math.floor(R/60):Math.ceil(R/60);switch(d){case Rt.Short:return(R>=0?"+":"")+vn(ce,2,te)+vn(Math.abs(R%60),2,te);case Rt.ShortGMT:return"GMT"+(R>=0?"+":"")+vn(ce,1,te);case Rt.Long:return"GMT"+(R>=0?"+":"")+vn(ce,2,te)+":"+vn(Math.abs(R%60),2,te);case Rt.Extended:return 0===E?"Z":(R>=0?"+":"")+vn(ce,2,te)+":"+vn(Math.abs(R%60),2,te);default:throw new Error(`Unknown zone width "${d}"`)}}}const xt=0,On=4;function Ne(d){return Kn(d.getFullYear(),d.getMonth(),d.getDate()+(On-d.getDay()))}function Fn(d,w=!1){return function(m,E){let R;if(w){const te=new Date(m.getFullYear(),m.getMonth(),1).getDay()-1,ce=m.getDate();R=1+Math.floor((ce+te)/7)}else{const te=Ne(m),ce=function tn(d){const w=Kn(d,xt,1).getDay();return Kn(d,0,1+(w<=On?On:On+7)-w)}(te.getFullYear()),Ge=te.getTime()-ce.getTime();R=1+Math.round(Ge/6048e5)}return vn(R,d,me(E,Ye.MinusSign))}}function Yn(d,w=!1){return function(m,E){return vn(Ne(m).getFullYear(),d,me(E,Ye.MinusSign),w)}}const Sn={};function rr(d,w){d=d.replace(/:/g,"");const m=Date.parse("Jan 01, 1970 00:00:00 "+d)/6e4;return isNaN(m)?w:m}function F(d){return d instanceof Date&&!isNaN(d.valueOf())}function Hn(d,w){w=encodeURIComponent(w);for(const m of d.split(";")){const E=m.indexOf("="),[R,te]=-1==E?[m,""]:[m.slice(0,E),m.slice(E+1)];if(R.trim()===w)return decodeURIComponent(te)}return null}const pn=/\s+/,ft=[];let je=(()=>{class d{constructor(m,E,R,te){this._iterableDiffers=m,this._keyValueDiffers=E,this._ngEl=R,this._renderer=te,this.initialClasses=ft,this.stateMap=new Map}set klass(m){this.initialClasses=null!=m?m.trim().split(pn):ft}set ngClass(m){this.rawClass="string"==typeof m?m.trim().split(pn):m}ngDoCheck(){for(const E of this.initialClasses)this._updateState(E,!0);const m=this.rawClass;if(Array.isArray(m)||m instanceof Set)for(const E of m)this._updateState(E,!0);else if(null!=m)for(const E of Object.keys(m))this._updateState(E,!!m[E]);this._applyStateDiff()}_updateState(m,E){const R=this.stateMap.get(m);void 0!==R?(R.enabled!==E&&(R.changed=!0,R.enabled=E),R.touched=!0):this.stateMap.set(m,{enabled:E,changed:!0,touched:!0})}_applyStateDiff(){for(const m of this.stateMap){const E=m[0],R=m[1];R.changed?(this._toggleClass(E,R.enabled),R.changed=!1):R.touched||(R.enabled&&this._toggleClass(E,!1),this.stateMap.delete(E)),R.touched=!1}}_toggleClass(m,E){(m=m.trim()).length>0&&m.split(pn).forEach(R=>{E?this._renderer.addClass(this._ngEl.nativeElement,R):this._renderer.removeClass(this._ngEl.nativeElement,R)})}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.ZZ4),l.Y36(l.aQg),l.Y36(l.SBq),l.Y36(l.Qsj))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return d})();class rn{constructor(w,m,E,R){this.$implicit=w,this.ngForOf=m,this.index=E,this.count=R}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ln=(()=>{class d{set ngForOf(m){this._ngForOf=m,this._ngForOfDirty=!0}set ngForTrackBy(m){this._trackByFn=m}get ngForTrackBy(){return this._trackByFn}constructor(m,E,R){this._viewContainer=m,this._template=E,this._differs=R,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(m){m&&(this._template=m)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const m=this._ngForOf;!this._differ&&m&&(this._differ=this._differs.find(m).create(this.ngForTrackBy))}if(this._differ){const m=this._differ.diff(this._ngForOf);m&&this._applyChanges(m)}}_applyChanges(m){const E=this._viewContainer;m.forEachOperation((R,te,ce)=>{if(null==R.previousIndex)E.createEmbeddedView(this._template,new rn(R.item,this._ngForOf,-1,-1),null===ce?void 0:ce);else if(null==ce)E.remove(null===te?void 0:te);else if(null!==te){const Ge=E.get(te);E.move(Ge,ce),ln(Ge,R)}});for(let R=0,te=E.length;R{ln(E.get(R.currentIndex),R)})}static ngTemplateContextGuard(m,E){return!0}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return d})();function ln(d,w){d.context.$implicit=w.item}let Wr=(()=>{class d{constructor(m,E){this._viewContainer=m,this._context=new Kr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=E}set ngIf(m){this._context.$implicit=this._context.ngIf=m,this._updateView()}set ngIfThen(m){Yr("ngIfThen",m),this._thenTemplateRef=m,this._thenViewRef=null,this._updateView()}set ngIfElse(m){Yr("ngIfElse",m),this._elseTemplateRef=m,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(m,E){return!0}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return d})();class Kr{constructor(){this.$implicit=null,this.ngIf=null}}function Yr(d,w){if(w&&!w.createEmbeddedView)throw new Error(`${d} must be a TemplateRef, but received '${(0,l.AaK)(w)}'.`)}class fr{constructor(w,m){this._viewContainerRef=w,this._templateRef=m,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(w){w&&!this._created?this.create():!w&&this._created&&this.destroy()}}let xr=(()=>{class d{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(m){this._ngSwitch=m,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(m){this._defaultViews.push(m)}_matchCase(m){const E=m==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||E,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),E}_updateDefaultCases(m){if(this._defaultViews.length>0&&m!==this._defaultUsed){this._defaultUsed=m;for(const E of this._defaultViews)E.enforceState(m)}}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return d})(),wr=(()=>{class d{constructor(m,E,R){this.ngSwitch=R,R._addCase(),this._view=new fr(m,E)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(xr,9))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return d})(),zi=(()=>{class d{constructor(m,E,R){R._addDefault(new fr(m,E))}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(xr,9))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return d})();const Ni=new l.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),lo=new l.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Ri=(()=>{class d{constructor(m,E,R){this.locale=m,this.defaultTimezone=E,this.defaultOptions=R}transform(m,E,R,te){if(null==m||""===m||m!=m)return null;try{return mn(m,E??this.defaultOptions?.dateFormat??"mediumDate",te||this.locale,R??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ce){throw function dn(d,w){return new l.vHH(2100,!1)}()}}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.soG,16),l.Y36(Ni,24),l.Y36(lo,24))};static#t=this.\u0275pipe=l.Yjl({name:"date",type:d,pure:!0,standalone:!0})}return d})(),pi=(()=>{class d{transform(m){return JSON.stringify(m,null,2)}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275pipe=l.Yjl({name:"json",type:d,pure:!1,standalone:!0})}return d})(),Sr=(()=>{class d{static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275mod=l.oAB({type:d});static#n=this.\u0275inj=l.cJS({})}return d})();const jt="browser",Fe="server";function Ir(d){return d===Fe}let or=(()=>{class d{static#e=this.\u0275prov=(0,l.Yz7)({token:d,providedIn:"root",factory:()=>new sr((0,l.LFG)(B),window)})}return d})();class sr{constructor(w,m){this.document=w,this.window=m,this.offset=()=>[0,0]}setOffset(w){this.offset=Array.isArray(w)?()=>w:w}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(w){this.supportsScrolling()&&this.window.scrollTo(w[0],w[1])}scrollToAnchor(w){if(!this.supportsScrolling())return;const m=function nt(d,w){const m=d.getElementById(w)||d.getElementsByName(w)[0];if(m)return m;if("function"==typeof d.createTreeWalker&&d.body&&"function"==typeof d.body.attachShadow){const E=d.createTreeWalker(d.body,NodeFilter.SHOW_ELEMENT);let R=E.currentNode;for(;R;){const te=R.shadowRoot;if(te){const ce=te.getElementById(w)||te.querySelector(`[name="${w}"]`);if(ce)return ce}R=E.nextNode()}}return null}(this.document,w);m&&(this.scrollToElement(m),m.focus())}setHistoryScrollRestoration(w){this.supportsScrolling()&&(this.window.history.scrollRestoration=w)}scrollToElement(w){const m=w.getBoundingClientRect(),E=m.left+this.window.pageXOffset,R=m.top+this.window.pageYOffset,te=this.offset();this.window.scrollTo(E-te[0],R-te[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Lr{}},9862:(Ue,oe,S)=>{S.d(oe,{JF:()=>H,TP:()=>kt,WM:()=>xe,eN:()=>Q});var l=S(6689),v=S(2096),ee=S(7715),Z=S(5592),j=S(6328),B=S(2181),G=S(7398),A=S(4716),T=S(4664),N=S(6814);class V{}class ue{}class xe{constructor(L){this.normalizedNames=new Map,this.lazyUpdate=null,L?"string"==typeof L?this.lazyInit=()=>{this.headers=new Map,L.split("\n").forEach(U=>{const ie=U.indexOf(":");if(ie>0){const Se=U.slice(0,ie),De=Se.toLowerCase(),be=U.slice(ie+1).trim();this.maybeSetNormalizedName(Se,De),this.headers.has(De)?this.headers.get(De).push(be):this.headers.set(De,[be])}})}:typeof Headers<"u"&&L instanceof Headers?(this.headers=new Map,L.forEach((U,ie)=>{this.setHeaderEntries(ie,U)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(L).forEach(([U,ie])=>{this.setHeaderEntries(U,ie)})}:this.headers=new Map}has(L){return this.init(),this.headers.has(L.toLowerCase())}get(L){this.init();const U=this.headers.get(L.toLowerCase());return U&&U.length>0?U[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(L){return this.init(),this.headers.get(L.toLowerCase())||null}append(L,U){return this.clone({name:L,value:U,op:"a"})}set(L,U){return this.clone({name:L,value:U,op:"s"})}delete(L,U){return this.clone({name:L,value:U,op:"d"})}maybeSetNormalizedName(L,U){this.normalizedNames.has(U)||this.normalizedNames.set(U,L)}init(){this.lazyInit&&(this.lazyInit instanceof xe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(L=>this.applyUpdate(L)),this.lazyUpdate=null))}copyFrom(L){L.init(),Array.from(L.headers.keys()).forEach(U=>{this.headers.set(U,L.headers.get(U)),this.normalizedNames.set(U,L.normalizedNames.get(U))})}clone(L){const U=new xe;return U.lazyInit=this.lazyInit&&this.lazyInit instanceof xe?this.lazyInit:this,U.lazyUpdate=(this.lazyUpdate||[]).concat([L]),U}applyUpdate(L){const U=L.name.toLowerCase();switch(L.op){case"a":case"s":let ie=L.value;if("string"==typeof ie&&(ie=[ie]),0===ie.length)return;this.maybeSetNormalizedName(L.name,U);const Se=("a"===L.op?this.headers.get(U):void 0)||[];Se.push(...ie),this.headers.set(U,Se);break;case"d":const De=L.value;if(De){let be=this.headers.get(U);if(!be)return;be=be.filter(Ut=>-1===De.indexOf(Ut)),0===be.length?(this.headers.delete(U),this.normalizedNames.delete(U)):this.headers.set(U,be)}else this.headers.delete(U),this.normalizedNames.delete(U)}}setHeaderEntries(L,U){const ie=(Array.isArray(U)?U:[U]).map(De=>De.toString()),Se=L.toLowerCase();this.headers.set(Se,ie),this.maybeSetNormalizedName(L,Se)}forEach(L){this.init(),Array.from(this.normalizedNames.keys()).forEach(U=>L(this.normalizedNames.get(U),this.headers.get(U)))}}class Ve{encodeKey(L){return mt(L)}encodeValue(L){return mt(L)}decodeKey(L){return decodeURIComponent(L)}decodeValue(L){return decodeURIComponent(L)}}const ze=/%(\d[a-f0-9])/gi,Le={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function mt(Y){return encodeURIComponent(Y).replace(ze,(L,U)=>Le[U]??L)}function Xe(Y){return`${Y}`}class Ie{constructor(L={}){if(this.updates=null,this.cloneFrom=null,this.encoder=L.encoder||new Ve,L.fromString){if(L.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ht(Y,L){const U=new Map;return Y.length>0&&Y.replace(/^\?/,"").split("&").forEach(Se=>{const De=Se.indexOf("="),[be,Ut]=-1==De?[L.decodeKey(Se),""]:[L.decodeKey(Se.slice(0,De)),L.decodeValue(Se.slice(De+1))],tt=U.get(be)||[];tt.push(Ut),U.set(be,tt)}),U}(L.fromString,this.encoder)}else L.fromObject?(this.map=new Map,Object.keys(L.fromObject).forEach(U=>{const ie=L.fromObject[U],Se=Array.isArray(ie)?ie.map(Xe):[Xe(ie)];this.map.set(U,Se)})):this.map=null}has(L){return this.init(),this.map.has(L)}get(L){this.init();const U=this.map.get(L);return U?U[0]:null}getAll(L){return this.init(),this.map.get(L)||null}keys(){return this.init(),Array.from(this.map.keys())}append(L,U){return this.clone({param:L,value:U,op:"a"})}appendAll(L){const U=[];return Object.keys(L).forEach(ie=>{const Se=L[ie];Array.isArray(Se)?Se.forEach(De=>{U.push({param:ie,value:De,op:"a"})}):U.push({param:ie,value:Se,op:"a"})}),this.clone(U)}set(L,U){return this.clone({param:L,value:U,op:"s"})}delete(L,U){return this.clone({param:L,value:U,op:"d"})}toString(){return this.init(),this.keys().map(L=>{const U=this.encoder.encodeKey(L);return this.map.get(L).map(ie=>U+"="+this.encoder.encodeValue(ie)).join("&")}).filter(L=>""!==L).join("&")}clone(L){const U=new Ie({encoder:this.encoder});return U.cloneFrom=this.cloneFrom||this,U.updates=(this.updates||[]).concat(L),U}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(L=>this.map.set(L,this.cloneFrom.map.get(L))),this.updates.forEach(L=>{switch(L.op){case"a":case"s":const U=("a"===L.op?this.map.get(L.param):void 0)||[];U.push(Xe(L.value)),this.map.set(L.param,U);break;case"d":if(void 0===L.value){this.map.delete(L.param);break}{let ie=this.map.get(L.param)||[];const Se=ie.indexOf(Xe(L.value));-1!==Se&&ie.splice(Se,1),ie.length>0?this.map.set(L.param,ie):this.map.delete(L.param)}}}),this.cloneFrom=this.updates=null)}}class $e{constructor(){this.map=new Map}set(L,U){return this.map.set(L,U),this}get(L){return this.map.has(L)||this.map.set(L,L.defaultValue()),this.map.get(L)}delete(L){return this.map.delete(L),this}has(L){return this.map.has(L)}keys(){return this.map.keys()}}function Te(Y){return typeof ArrayBuffer<"u"&&Y instanceof ArrayBuffer}function ve(Y){return typeof Blob<"u"&&Y instanceof Blob}function Ze(Y){return typeof FormData<"u"&&Y instanceof FormData}class _e{constructor(L,U,ie,Se){let De;if(this.url=U,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=L.toUpperCase(),function Ee(Y){switch(Y){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Se?(this.body=void 0!==ie?ie:null,De=Se):De=ie,De&&(this.reportProgress=!!De.reportProgress,this.withCredentials=!!De.withCredentials,De.responseType&&(this.responseType=De.responseType),De.headers&&(this.headers=De.headers),De.context&&(this.context=De.context),De.params&&(this.params=De.params)),this.headers||(this.headers=new xe),this.context||(this.context=new $e),this.params){const be=this.params.toString();if(0===be.length)this.urlWithParams=U;else{const Ut=U.indexOf("?");this.urlWithParams=U+(-1===Ut?"?":Utan.set(nn,L.setHeaders[nn]),tt)),L.setParams&&(cn=Object.keys(L.setParams).reduce((an,nn)=>an.set(nn,L.setParams[nn]),cn)),new _e(U,ie,De,{params:cn,headers:tt,context:jn,reportProgress:Ut,responseType:Se,withCredentials:be})}}var Gt=function(Y){return Y[Y.Sent=0]="Sent",Y[Y.UploadProgress=1]="UploadProgress",Y[Y.ResponseHeader=2]="ResponseHeader",Y[Y.DownloadProgress=3]="DownloadProgress",Y[Y.Response=4]="Response",Y[Y.User=5]="User",Y}(Gt||{});class He{constructor(L,U=200,ie="OK"){this.headers=L.headers||new xe,this.status=void 0!==L.status?L.status:U,this.statusText=L.statusText||ie,this.url=L.url||null,this.ok=this.status>=200&&this.status<300}}class Qe extends He{constructor(L={}){super(L),this.type=Gt.ResponseHeader}clone(L={}){return new Qe({headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class zt extends He{constructor(L={}){super(L),this.type=Gt.Response,this.body=void 0!==L.body?L.body:null}clone(L={}){return new zt({body:void 0!==L.body?L.body:this.body,headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class Mt extends He{constructor(L){super(L,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${L.url||"(unknown url)"}`:`Http failure response for ${L.url||"(unknown url)"}: ${L.status} ${L.statusText}`,this.error=L.error||null}}function sn(Y,L){return{body:L,headers:Y.headers,context:Y.context,observe:Y.observe,params:Y.params,reportProgress:Y.reportProgress,responseType:Y.responseType,withCredentials:Y.withCredentials}}let Q=(()=>{class Y{constructor(U){this.handler=U}request(U,ie,Se={}){let De;if(U instanceof _e)De=U;else{let tt,cn;tt=Se.headers instanceof xe?Se.headers:new xe(Se.headers),Se.params&&(cn=Se.params instanceof Ie?Se.params:new Ie({fromObject:Se.params})),De=new _e(U,ie,void 0!==Se.body?Se.body:null,{headers:tt,context:Se.context,params:cn,reportProgress:Se.reportProgress,responseType:Se.responseType||"json",withCredentials:Se.withCredentials})}const be=(0,v.of)(De).pipe((0,j.b)(tt=>this.handler.handle(tt)));if(U instanceof _e||"events"===Se.observe)return be;const Ut=be.pipe((0,B.h)(tt=>tt instanceof zt));switch(Se.observe||"body"){case"body":switch(De.responseType){case"arraybuffer":return Ut.pipe((0,G.U)(tt=>{if(null!==tt.body&&!(tt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return tt.body}));case"blob":return Ut.pipe((0,G.U)(tt=>{if(null!==tt.body&&!(tt.body instanceof Blob))throw new Error("Response is not a Blob.");return tt.body}));case"text":return Ut.pipe((0,G.U)(tt=>{if(null!==tt.body&&"string"!=typeof tt.body)throw new Error("Response is not a string.");return tt.body}));default:return Ut.pipe((0,G.U)(tt=>tt.body))}case"response":return Ut;default:throw new Error(`Unreachable: unhandled observe type ${Se.observe}}`)}}delete(U,ie={}){return this.request("DELETE",U,ie)}get(U,ie={}){return this.request("GET",U,ie)}head(U,ie={}){return this.request("HEAD",U,ie)}jsonp(U,ie){return this.request("JSONP",U,{params:(new Ie).append(ie,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(U,ie={}){return this.request("OPTIONS",U,ie)}patch(U,ie,Se={}){return this.request("PATCH",U,sn(Se,ie))}post(U,ie,Se={}){return this.request("POST",U,sn(Se,ie))}put(U,ie,Se={}){return this.request("PUT",U,sn(Se,ie))}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(V))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();function Lt(Y,L){return L(Y)}function ke(Y,L){return(U,ie)=>L.intercept(U,{handle:Se=>Y(Se,ie)})}const kt=new l.OlP(""),rt=new l.OlP(""),At=new l.OlP("");function Nt(){let Y=null;return(L,U)=>{null===Y&&(Y=((0,l.f3M)(kt,{optional:!0})??[]).reduceRight(ke,Lt));const ie=(0,l.f3M)(l.HDt),Se=ie.add();return Y(L,U).pipe((0,A.x)(()=>ie.remove(Se)))}}let W=(()=>{class Y extends V{constructor(U,ie){super(),this.backend=U,this.injector=ie,this.chain=null,this.pendingTasks=(0,l.f3M)(l.HDt)}handle(U){if(null===this.chain){const Se=Array.from(new Set([...this.injector.get(rt),...this.injector.get(At,[])]));this.chain=Se.reduceRight((De,be)=>function vt(Y,L,U){return(ie,Se)=>U.runInContext(()=>L(ie,De=>Y(De,Se)))}(De,be,this.injector),Lt)}const ie=this.pendingTasks.add();return this.chain(U,Se=>this.backend.handle(Se)).pipe((0,A.x)(()=>this.pendingTasks.remove(ie)))}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(ue),l.LFG(l.lqb))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();const Kn=/^\)\]\}',?\n/;let _n=(()=>{class Y{constructor(U){this.xhrFactory=U}handle(U){if("JSONP"===U.method)throw new l.vHH(-2800,!1);const ie=this.xhrFactory;return(ie.\u0275loadImpl?(0,ee.D)(ie.\u0275loadImpl()):(0,v.of)(null)).pipe((0,T.w)(()=>new Z.y(De=>{const be=ie.build();if(be.open(U.method,U.urlWithParams),U.withCredentials&&(be.withCredentials=!0),U.headers.forEach((ft,je)=>be.setRequestHeader(ft,je.join(","))),U.headers.has("Accept")||be.setRequestHeader("Accept","application/json, text/plain, */*"),!U.headers.has("Content-Type")){const ft=U.detectContentTypeHeader();null!==ft&&be.setRequestHeader("Content-Type",ft)}if(U.responseType){const ft=U.responseType.toLowerCase();be.responseType="json"!==ft?ft:"text"}const Ut=U.serializeBody();let tt=null;const cn=()=>{if(null!==tt)return tt;const ft=be.statusText||"OK",je=new xe(be.getAllResponseHeaders()),In=function Mn(Y){return"responseURL"in Y&&Y.responseURL?Y.responseURL:/^X-Request-URL:/m.test(Y.getAllResponseHeaders())?Y.getResponseHeader("X-Request-URL"):null}(be)||U.url;return tt=new Qe({headers:je,status:be.status,statusText:ft,url:In}),tt},jn=()=>{let{headers:ft,status:je,statusText:In,url:dr}=cn(),rn=null;204!==je&&(rn=typeof be.response>"u"?be.responseText:be.response),0===je&&(je=rn?200:0);let Ln=je>=200&&je<300;if("json"===U.responseType&&"string"==typeof rn){const ln=rn;rn=rn.replace(Kn,"");try{rn=""!==rn?JSON.parse(rn):null}catch(ir){rn=ln,Ln&&(Ln=!1,rn={error:ir,text:rn})}}Ln?(De.next(new zt({body:rn,headers:ft,status:je,statusText:In,url:dr||void 0})),De.complete()):De.error(new Mt({error:rn,headers:ft,status:je,statusText:In,url:dr||void 0}))},an=ft=>{const{url:je}=cn(),In=new Mt({error:ft,status:be.status||0,statusText:be.statusText||"Unknown Error",url:je||void 0});De.error(In)};let nn=!1;const Hn=ft=>{nn||(De.next(cn()),nn=!0);let je={type:Gt.DownloadProgress,loaded:ft.loaded};ft.lengthComputable&&(je.total=ft.total),"text"===U.responseType&&be.responseText&&(je.partialText=be.responseText),De.next(je)},pn=ft=>{let je={type:Gt.UploadProgress,loaded:ft.loaded};ft.lengthComputable&&(je.total=ft.total),De.next(je)};return be.addEventListener("load",jn),be.addEventListener("error",an),be.addEventListener("timeout",an),be.addEventListener("abort",an),U.reportProgress&&(be.addEventListener("progress",Hn),null!==Ut&&be.upload&&be.upload.addEventListener("progress",pn)),be.send(Ut),De.next({type:Gt.Sent}),()=>{be.removeEventListener("error",an),be.removeEventListener("abort",an),be.removeEventListener("load",jn),be.removeEventListener("timeout",an),U.reportProgress&&(be.removeEventListener("progress",Hn),null!==Ut&&be.upload&&be.upload.removeEventListener("progress",pn)),be.readyState!==be.DONE&&be.abort()}})))}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(N.JF))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();const vn=new l.OlP("XSRF_ENABLED"),Ot=new l.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),st=new l.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class zr{}let Bn=(()=>{class Y{constructor(U,ie,Se){this.doc=U,this.platform=ie,this.cookieName=Se,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const U=this.doc.cookie||"";return U!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,N.Mx)(U,this.cookieName),this.lastCookieString=U),this.lastToken}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(N.K0),l.LFG(l.Lbi),l.LFG(Ot))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();function xt(Y,L){const U=Y.url.toLowerCase();if(!(0,l.f3M)(vn)||"GET"===Y.method||"HEAD"===Y.method||U.startsWith("http://")||U.startsWith("https://"))return L(Y);const ie=(0,l.f3M)(zr).getToken(),Se=(0,l.f3M)(st);return null!=ie&&!Y.headers.has(Se)&&(Y=Y.clone({headers:Y.headers.set(Se,ie)})),L(Y)}var tn=function(Y){return Y[Y.Interceptors=0]="Interceptors",Y[Y.LegacyInterceptors=1]="LegacyInterceptors",Y[Y.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Y[Y.NoXsrfProtection=3]="NoXsrfProtection",Y[Y.JsonpSupport=4]="JsonpSupport",Y[Y.RequestsMadeViaParent=5]="RequestsMadeViaParent",Y[Y.Fetch=6]="Fetch",Y}(tn||{});function Fn(...Y){const L=[Q,_n,W,{provide:V,useExisting:W},{provide:ue,useExisting:_n},{provide:rt,useValue:xt,multi:!0},{provide:vn,useValue:!0},{provide:zr,useClass:Bn}];for(const U of Y)L.push(...U.\u0275providers);return(0,l.MR2)(L)}const Sn=new l.OlP("LEGACY_INTERCEPTOR_FN");function nr(){return function Ne(Y,L){return{\u0275kind:Y,\u0275providers:L}}(tn.LegacyInterceptors,[{provide:Sn,useFactory:Nt},{provide:rt,useExisting:Sn,multi:!0}])}let H=(()=>{class Y{static#e=this.\u0275fac=function(ie){return new(ie||Y)};static#t=this.\u0275mod=l.oAB({type:Y});static#n=this.\u0275inj=l.cJS({providers:[Fn(nr())]})}return Y})()},6689:(Ue,oe,S)=>{S.d(oe,{tb:()=>Bd,AFp:()=>Ih,ip1:()=>wv,hGG:()=>IS,z2F:()=>Ds,Ojb:()=>c_,sBO:()=>cS,Sil:()=>TM,EJc:()=>IM,Xts:()=>Qs,SBq:()=>na,lqb:()=>wi,qLn:()=>to,vpe:()=>Mi,XFs:()=>ct,OlP:()=>Ne,zs3:()=>si,ZZ4:()=>Kd,aQg:()=>Yd,soG:()=>Zl,YKP:()=>Em,h0i:()=>Io,PXZ:()=>tS,R0b:()=>$n,FiY:()=>Ya,Lbi:()=>fc,g9A:()=>bh,Qsj:()=>S_,FYo:()=>Rh,JOm:()=>nl,tp0:()=>Za,Rgc:()=>_a,dDg:()=>JM,eoX:()=>Pv,GfV:()=>xh,s_b:()=>Kl,ifc:()=>pn,VuI:()=>kS,MMx:()=>Mm,Lck:()=>pw,eFA:()=>Fv,G48:()=>uS,Gpc:()=>$e,f3M:()=>De,$WT:()=>qn,MR2:()=>oc,_c5:()=>SS,qFp:()=>US,rg0:()=>It,c2e:()=>Mv,zSh:()=>lc,HDt:()=>Sv,wAp:()=>gs,vHH:()=>_e,lri:()=>Tv,rWj:()=>Ov,cg1:()=>dd,kL8:()=>Kg,dqk:()=>xt,Z0I:()=>Rt,eJc:()=>Pd,QGY:()=>Qc,F4k:()=>eg,RDi:()=>PD,AaK:()=>Xe,qOj:()=>jc,Xq5:()=>Rp,TTD:()=>yr,_Bn:()=>Cm,jDz:()=>Sm,xp6:()=>ip,uIk:()=>Gc,Tol:()=>_g,ekj:()=>ad,Suo:()=>tv,Xpm:()=>di,lG2:()=>pi,Yz7:()=>he,cJS:()=>yt,oAB:()=>fi,Yjl:()=>Ki,Y36:()=>ns,_UZ:()=>Xc,BQk:()=>Ll,ynx:()=>Fl,qZA:()=>xl,TgZ:()=>Rl,EpF:()=>Qp,n5z:()=>Df,SDv:()=>vm,QtT:()=>ym,N_p:()=>gd,pQV:()=>md,Zx4:()=>Dm,tHW:()=>pd,LFG:()=>ie,$8M:()=>Nu,$Z:()=>sp,NdJ:()=>ed,CRH:()=>nv,oxw:()=>og,ALo:()=>Um,lcZ:()=>$m,xi3:()=>Bm,Q6J:()=>qc,s9C:()=>td,MGl:()=>kl,hYB:()=>nd,DdM:()=>Nm,VKq:()=>Rm,iGM:()=>Qm,MAs:()=>Zp,KtG:()=>_u,CHM:()=>Fa,P3R:()=>yh,Udp:()=>sd,YNc:()=>Wp,W1O:()=>sv,_uU:()=>bg,Oqu:()=>ud,hij:()=>$l,AsE:()=>cd,Gf:()=>ev});var l=S(8645),v=S(7394),ee=S(5592),Z=S(7537),j=S(4829),B=S(6232),G=S(4564),A=S(7715),N=S(5619),V=S(2096),ue=S(305),xe=S(9360);function Pe(e={}){const{connector:t=(()=>new l.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,u,h,D=0,M=!1,O=!1;const k=()=>{u?.unsubscribe(),u=void 0},z=()=>{k(),s=h=void 0,M=O=!1},ae=()=>{const ge=s;z(),ge?.unsubscribe()};return(0,xe.e)((ge,Re)=>{D++,!O&&!M&&k();const We=h=h??t();Re.add(()=>{D--,0===D&&!O&&!M&&(u=Ve(ae,i))}),We.subscribe(Re),!s&&D>0&&(s=new ue.Hp({next:de=>We.next(de),error:de=>{O=!0,k(),u=Ve(z,n,de),We.error(de)},complete:()=>{M=!0,k(),u=Ve(z,r),We.complete()}}),(0,j.Xf)(ge).subscribe(s))})(o)}}function Ve(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new ue.Hp({next:()=>{r.unsubscribe(),e()}});return(0,j.Xf)(t(...n)).subscribe(r)}var ht=S(4664),ze=S(3997);function Le(e){for(let t in e)if(e[t]===Le)return t;throw Error("Could not find renamed property on target object.")}function mt(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Xe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Xe).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 Ie(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ce=Le({__forward_ref__:Le});function $e(e){return e.__forward_ref__=$e,e.toString=function(){return Xe(this())},e}function Ee(e){return Te(e)?e():e}function Te(e){return"function"==typeof e&&e.hasOwnProperty(Ce)&&e.__forward_ref__===$e}function ve(e){return e&&!!e.\u0275providers}const Ye="https://g.co/ng/security#xss";class _e extends Error{constructor(t,n){super(function Gt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function He(e){return"string"==typeof e?e:null==e?"":String(e)}function Q(e,t){throw new _e(-201,!1)}function W(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function he(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Tt(e){return Je(e,Kn)||Je(e,_n)}function Rt(e){return null!==Tt(e)}function Je(e,t){return e.hasOwnProperty(t)?e[t]:null}function mn(e){return e&&(e.hasOwnProperty(Mn)||e.hasOwnProperty(vn))?e[Mn]:null}const Kn=Le({\u0275prov:Le}),Mn=Le({\u0275inj:Le}),_n=Le({ngInjectableDef:Le}),vn=Le({ngInjectorDef:Le});var ct=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}(ct||{});let Ot;function st(e){const t=Ot;return Ot=e,t}function zr(e,t,n){const r=Tt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ct.Optional?null:void 0!==t?t:void Q(Xe(e))}const xt=globalThis;class Ne{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=he({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const le={},Ae="__NG_DI_FLAG__",Be="ngTempTokenPath",_t=/\n/gm,yn="__source";let Cn;function L(e){const t=Cn;return Cn=e,t}function U(e,t=ct.Default){if(void 0===Cn)throw new _e(-203,!1);return null===Cn?zr(e,void 0,t):Cn.get(e,t&ct.Optional?null:void 0,t)}function ie(e,t=ct.Default){return(function ui(){return Ot}()||U)(Ee(e),t)}function De(e,t=ct.Default){return ie(e,be(t))}function be(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ut(e){const t=[];for(let n=0;nt){s=o-1;break}}}for(;oo?"":i[O+1].toLowerCase();const z=8&r?k:null;if(z&&-1!==Kr(z,D,0)||2&r&&D!==k){if(un(r))return!1;s=!0}}}}else{if(!s&&!un(r)&&!un(h))return!1;if(s&&un(h))continue;s=!1,r=h|1&r}}return un(r)||s}function un(e){return 0==(1&e)}function dn(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+u+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!un(s)&&(t+=Oi(o,i),i=""),r=s,o=o||!un(r);n++}return""!==i&&(t+=Oi(o,i)),t}function di(e){return nn(()=>{const t=Jn(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Hn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||pn.Emulated,styles:e.styles||je,_:null,schemas:e.schemas||null,tView:null,id:""};Xr(n);const r=e.dependencies;return n.directiveDefs=Mr(r,!1),n.pipeDefs=Mr(r,!0),n.id=function Sr(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 i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function lo(e){return dt(e)||on(e)}function Ri(e){return null!==e}function fi(e){return nn(()=>({type:e.type,bootstrap:e.bootstrap||je,declarations:e.declarations||je,imports:e.imports||je,exports:e.exports||je,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hi(e,t){if(null==e)return ft;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}function pi(e){return nn(()=>{const t=Jn(e);return Xr(t),t})}function Ki(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 dt(e){return e[In]||null}function on(e){return e[dr]||null}function gn(e){return e[rn]||null}function qn(e){const t=dt(e)||on(e)||gn(e);return null!==t&&t.standalone}function Qt(e,t){const n=e[Ln]||null;if(!n&&!0===t)throw new Error(`Type ${Xe(e)} does not have '\u0275mod' property.`);return n}function Jn(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||ft,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||je,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hi(e.inputs,t),outputs:hi(e.outputs)}}function Xr(e){e.features?.forEach(t=>t(e))}function Mr(e,t){if(!e)return null;const n=t?gn:lo;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Ri)}const jt=0,Fe=1,it=2,Ft=3,Pn=4,Ir=5,fn=6,Nn=7,qt=8,or=9,sr=10,nt=11,gi=12,Lr=13,pr=14,Wt=15,kr=16,gr=17,Gn=18,Vr=19,Ur=20,zn=21,mr=22,Qr=23,xi=24,Ct=25,mi=1,co=2,ar=7,$r=9,Dn=11;function Wn(e){return Array.isArray(e)&&"object"==typeof e[mi]}function An(e){return Array.isArray(e)&&!0===e[mi]}function Li(e){return 0!=(4&e.flags)}function _(e){return e.componentOffset>-1}function C(e){return 1==(1&e.flags)}function g(e){return!!e.template}function b(e){return 0!=(512&e[it])}function vi(e,t){return e.hasOwnProperty(ln)?e[ln]:null}let En=null,fo=!1;function kn(e){const t=En;return En=e,t}const To={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Oo(e){if(!Zi(e)||e.dirty){if(!e.producerMustRecompute(e)&&!go(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function As(e){e.dirty=!0,function bs(e){if(void 0===e.liveConsumerNode)return;const t=fo;fo=!0;try{for(const n of e.liveConsumerNode)n.dirty||As(n)}finally{fo=t}}(e),e.consumerMarkedDirty?.(e)}function Vi(e){return e&&(e.nextProducerIndex=0),kn(e)}function po(e,t){if(kn(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Zi(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function go(e){Ui(e);for(let t=0;t0}function Ui(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let w=null;function It(e){const t=kn(null);try{return e()}finally{kn(t)}}const Tr=()=>{},Or=(()=>({...To,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Tr}))();class Vn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function yr(){return Pr}function Pr(e){return e.type.prototype.ngOnChanges&&(e.setInput=fu),_i}function _i(){const e=Aa(this),t=e?.current;if(t){const n=e.previous;if(n===ft)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fu(e,t,n,r){const i=this.declaredInputs[n],o=Aa(e)||function No(e,t){return e[ba]=t}(e,{previous:ft,current:null}),s=o.current||(o.current={}),u=o.previous,h=u[i];s[i]=new Vn(h&&h.currentValue,t,u===ft),e[r]=t}yr.ngInherit=!0;const ba="__ngSimpleChanges__";function Aa(e){return e[ba]||null}const Xn=function(e,t,n){};function Jt(e){for(;Array.isArray(e);)e=e[jt];return e}function Ro(e,t){return Jt(t[e])}function Xt(e,t){return Jt(t[e.index])}function Rs(e,t){return e.data[t]}function ti(e,t){return e[t]}function Qn(e,t){const n=t[e];return Wn(n)?n:n[jt]}function $i(e,t){return null==t?null:e[t]}function Pa(e){e[gr]=0}function xs(e){1024&e[it]||(e[it]|=1024,mu(e,1))}function Fs(e){1024&e[it]&&(e[it]&=-1025,mu(e,-1))}function mu(e,t){let n=e[Ft];if(null===n)return;n[Ir]+=t;let r=n;for(n=n[Ft];null!==n&&(1===t&&1===r[Ir]||-1===t&&0===r[Ir]);)n[Ir]+=t,r=n,n=n[Ft]}const ot={lFrame:we(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function xo(){return ot.bindingsEnabled}function fe(){return ot.lFrame.lView}function bt(){return ot.lFrame.tView}function Fa(e){return ot.lFrame.contextLView=e,e[qt]}function _u(e){return ot.lFrame.contextLView=null,e}function Tn(){let e=La();for(;null!==e&&64===e.type;)e=e.parent;return e}function La(){return ot.lFrame.currentTNode}function vo(){const e=ot.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function jr(e,t){const n=ot.lFrame;n.currentTNode=e,n.isParent=t}function ks(){return ot.lFrame.isParent}function Vs(){ot.lFrame.isParent=!1}function Un(){const e=ot.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ri(){return ot.lFrame.bindingIndex}function yo(){return ot.lFrame.bindingIndex++}function Ci(e){const t=ot.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function wu(e){ot.lFrame.inI18n=e}function rf(e,t){const n=ot.lFrame;n.bindingIndex=n.bindingRootIndex=e,f(t)}function f(e){ot.lFrame.currentDirectiveIndex=e}function p(){return ot.lFrame.currentQueryIndex}function y(e){ot.lFrame.currentQueryIndex=e}function I(e){const t=e[Fe];return 2===t.type?t.declTNode:1===t.type?e[fn]:null}function P(e,t,n){if(n&ct.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&ct.Host||(i=I(o),null===i||(o=o[pr],10&i.type))););if(null===i)return!1;t=i,e=o}const r=ot.lFrame=K();return r.currentTNode=t,r.lView=e,!0}function X(e){const t=K(),n=e[Fe];ot.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function K(){const e=ot.lFrame,t=null===e?null:e.child;return null===t?we(e):t}function we(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 at(){const e=ot.lFrame;return ot.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ht=at;function St(){const e=at();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 wn(){return ot.lFrame.selectedIndex}function oi(e){ot.lFrame.selectedIndex=e}function Kt(){const e=ot.lFrame;return Rs(e.tView,e.selectedIndex)}let af=!0;function Va(){return af}function Qi(e){af=e}function Ua(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[gr]+=65536),(u>13>16&&(3&e[it])===t&&(e[it]+=8192,uf(u,o)):uf(u,o)}const Fo=-1;class Us{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function bu(e){return e!==Fo}function $s(e){return 32767&e}function Bs(e,t){let n=function my(e){return e>>16}(e),r=t;for(;n>0;)r=r[pr],n--;return r}let Au=!0;function ja(e){const t=Au;return Au=e,t}const cf=255,df=5;let vy=0;const Ei={};function Ha(e,t){const n=ff(e,t);if(-1!==n)return n;const r=t[Fe];r.firstCreatePass&&(e.injectorIndex=t.length,Tu(r.data,e),Tu(t,null),Tu(r.blueprint,null));const i=Ga(e,t),o=e.injectorIndex;if(bu(i)){const s=$s(i),u=Bs(i,t),h=u[Fe].data;for(let D=0;D<8;D++)t[o+D]=u[s+D]|h[s+D]}return t[o+8]=i,o}function Tu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ff(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ga(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=_f(i),null===r)return Fo;if(n++,i=i[pr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Fo}function Ou(e,t,n){!function yy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ir)&&(r=n[ir]),null==r&&(r=n[ir]=vy++);const i=r&cf;t.data[e+(i>>df)]|=1<=0?t&cf:wy:t}(n);if("function"==typeof o){if(!P(t,e,r))return r&ct.Host?hf(i,0,r):pf(t,n,r,i);try{let s;if(s=o(r),null!=s||r&ct.Optional)return s;Q()}finally{Ht()}}else if("number"==typeof o){let s=null,u=ff(e,t),h=Fo,D=r&ct.Host?t[Wt][fn]:null;for((-1===u||r&ct.SkipSelf)&&(h=-1===u?Ga(e,t):t[u+8],h!==Fo&&yf(r,!1)?(s=t[Fe],u=$s(h),t=Bs(h,t)):u=-1);-1!==u;){const M=t[Fe];if(vf(o,u,M.data)){const O=_y(u,t,n,s,r,D);if(O!==Ei)return O}h=t[u+8],h!==Fo&&yf(r,t[Fe].data[u+8]===D)&&vf(o,u,t)?(s=M,u=$s(h),t=Bs(h,t)):u=-1}}return i}function _y(e,t,n,r,i,o){const s=t[Fe],u=s.data[e+8],M=za(u,s,n,null==r?_(u)&&Au:r!=s&&0!=(3&u.type),i&ct.Host&&o===u);return null!==M?_o(t,s,M,u):Ei}function za(e,t,n,r,i){const o=e.providerIndexes,s=t.data,u=1048575&o,h=e.directiveStart,M=o>>20,k=i?u+M:e.directiveEnd;for(let z=r?u:u+M;z=h&&ae.type===n)return z}if(i){const z=s[h];if(z&&g(z)&&z.type===n)return h}return null}function _o(e,t,n,r){let i=e[n];const o=t.data;if(function hy(e){return e instanceof Us}(i)){const s=i;s.resolving&&function zt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _e(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Qe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():He(e)}(o[n]));const u=ja(s.canSeeViewProviders);s.resolving=!0;const D=s.injectImpl?st(s.injectImpl):null;P(e,r,ct.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function dy(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=Pr(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==D&&st(D),ja(u),s.resolving=!1,Ht()}}return i}function vf(e,t,n){return!!(n[t+(e>>df)]&1<{const t=e.prototype.constructor,n=t[ln]||Pu(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[ln]||Pu(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Pu(e){return Te(e)?()=>{const t=Pu(Ee(e));return t&&t()}:vi(e)}function _f(e){const t=e[Fe],n=t.type;return 2===n?t.declTNode:1===n?e[fn]:null}function Nu(e){return function Dy(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{const r=function Ru(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return u.annotation=s,u;function u(h,D,M){const O=h.hasOwnProperty(ko)?h[ko]:Object.defineProperty(h,ko,{value:[]})[ko];for(;O.length<=M;)O.push(null);return(O[M]=O[M]||[]).push(s),h}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Bo(e,t){e.forEach(n=>Array.isArray(n)?Bo(n,t):t(n))}function Ef(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nr(e,t,n){let r=jo(e,t);return r>=0?e[1|r]=n:(r=~r,function Py(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function xu(e,t){const n=jo(e,t);if(n>=0)return e[1|n]}function jo(e,t){return function wf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<t?i=o:r=o+1}return~(i<|^->||--!>|)/g,eD="\u200b$1\u200b";const Uu=new Map;let tD=0;const Bu="__ngContext__";function er(e,t){Wn(t)?(e[Bu]=t[Vr],function rD(e){Uu.set(e[Vr],e)}(t)):e[Bu]=t}let ju;function Hu(e,t){return ju(e,t)}function Ks(e){const t=e[Ft];return An(t)?t[Ft]:t}function Hf(e){return zf(e[gi])}function Gf(e){return zf(e[Pn])}function zf(e){for(;null!==e&&!An(e);)e=e[Pn];return e}function zo(e,t,n,r,i){if(null!=r){let o,s=!1;An(r)?o=r:Wn(r)&&(s=!0,r=r[jt]);const u=Jt(r);0===e&&null!==n?null==i?Zf(t,n,u):Co(t,n,u,i||null,!0):1===e&&null!==n?Co(t,n,u,i||null,!0):2===e?ll(t,u,s):3===e&&t.destroyNode(u),null!=o&&function SD(e,t,n,r,i){const o=n[ar];o!==Jt(n)&&zo(t,e,r,o,i);for(let u=Dn;ut.replace(Qy,eD))}(t))}function il(e,t,n){return e.createElement(t,n)}function Kf(e,t){const n=e[$r],r=n.indexOf(t);Fs(t),n.splice(r,1)}function ol(e,t){if(e.length<=Dn)return;const n=Dn+t,r=e[n];if(r){const i=r[kr];null!==i&&i!==e&&Kf(i,r),t>0&&(e[n-1][Pn]=r[Pn]);const o=Wa(e,Dn+t);!function pD(e,t){Zs(e,t,t[nt],2,null,null),t[jt]=null,t[fn]=null}(r[Fe],r);const s=o[Gn];null!==s&&s.detachView(o[Fe]),r[Ft]=null,r[Pn]=null,r[it]&=-129}return r}function zu(e,t){if(!(256&t[it])){const n=t[nt];t[Qr]&&Po(t[Qr]),t[xi]&&Po(t[xi]),n.destroyNode&&Zs(e,t,n,3,null,null),function vD(e){let t=e[gi];if(!t)return Wu(e[Fe],e);for(;t;){let n=null;if(Wn(t))n=t[gi];else{const r=t[Dn];r&&(n=r)}if(!n){for(;t&&!t[Pn]&&t!==e;)Wn(t)&&Wu(t[Fe],t),t=t[Ft];null===t&&(t=e),Wn(t)&&Wu(t[Fe],t),n=t&&t[Pn]}t=n}}(t)}}function Wu(e,t){if(!(256&t[it])){t[it]&=-129,t[it]|=256,function CD(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[Nn]=null);const i=t[zn];if(null!==i){t[zn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===pn.None||o===pn.Emulated)return null}return Xt(r,n)}}function Co(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Zf(e,t,n){e.appendChild(t,n)}function qf(e,t,n,r,i){null!==r?Co(e,t,n,r,i):Zf(e,t,n)}function sl(e,t){return e.parentNode(t)}function Xf(e,t,n){return 40&e.type?Xt(e,n):null}let Yu,ul,Xu,cl,Qf=Xf;function eh(e,t){Qf=e,Yu=t}function al(e,t,n,r){const i=function Ku(e,t,n){return Yf(e,t.parent,n)}(e,r,t),o=t[nt],u=function Jf(e,t,n){return Qf(e,t,n)}(r.parent||t[fn],r,t);if(null!=i)if(Array.isArray(n))for(let h=0;he,createScript:e=>e,createScriptURL:e=>e})}catch{}return ul}()?.createHTML(e)||e}function PD(e){Xu=e}function Ko(){if(void 0!==Xu)return Xu;if(typeof document<"u")return document;throw new _e(210,!1)}function lh(e){return function Qu(){if(void 0===cl&&(cl=null,xt.trustedTypes))try{cl=xt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return cl}()?.createScriptURL(e)||e}class uh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ye})`}}function eo(e){return e instanceof uh?e.changingThisBreaksApplicationSecurity:e}function qs(e,t){const n=function kD(e){return e instanceof uh&&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 ${Ye})`)}return n===t}class VD{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Wo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class UD{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Wo(t),n}}const BD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ec(e){return(e=String(e)).match(BD)?e:"unsafe:"+e}function Bi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Js(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const dh=Bi("area,br,col,hr,img,wbr"),fh=Bi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hh=Bi("rp,rt"),tc=Js(dh,Js(fh,Bi("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")),Js(hh,Bi("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")),Js(hh,fh)),nc=Bi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ph=Js(nc,Bi("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"),Bi("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"));var Yo=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}(Yo||{});function mh(e){const t=Xs();return t?t.sanitize(Yo.URL,e)||"":qs(e,"URL")?eo(e):ec(He(e))}function vh(e){const t=Xs();if(t)return lh(t.sanitize(Yo.RESOURCE_URL,e)||"");if(qs(e,"ResourceURL"))return lh(eo(e));throw new _e(904,!1)}function yh(e,t,n){return function QD(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?vh:mh}(t,n)(e)}function Xs(){const e=fe();return e&&e[sr].sanitizer}const Qs=new Ne("ENVIRONMENT_INITIALIZER"),Dh=new Ne("INJECTOR",-1),_h=new Ne("INJECTOR_DEF_TYPES");class ic{get(t,n=le){if(n===le){const r=new Error(`NullInjectorError: No provider for ${Xe(t)}!`);throw r.name="NullInjectorError",r}return n}}function oc(e){return{\u0275providers:e}}function e_(...e){return{\u0275providers:Ch(0,e),\u0275fromNgModule:!0}}function Ch(e,...t){const n=[],r=new Set;let i;const o=s=>{n.push(s)};return Bo(t,s=>{const u=s;fl(u,o,[],r)&&(i||=[],i.push(u))}),void 0!==i&&Eh(i,o),n}function Eh(e,t){for(let n=0;n{t(o,r)})}}function fl(e,t,n,r){if(!(e=Ee(e)))return!1;let i=null,o=mn(e);const s=!o&&dt(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const h=e.ngModule;if(o=mn(h),!o)return!1;i=h}const u=r.has(i);if(s){if(u)return!1;if(r.add(i),s.dependencies){const h="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const D of h)fl(D,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!u){let D;r.add(i);try{Bo(o.imports,M=>{fl(M,t,n,r)&&(D||=[],D.push(M))})}finally{}void 0!==D&&Eh(D,t)}if(!u){const D=vi(i)||(()=>new i);t({provide:i,useFactory:D,deps:je},i),t({provide:_h,useValue:i,multi:!0},i),t({provide:Qs,useValue:()=>ie(i),multi:!0},i)}const h=o.providers;if(null!=h&&!u){const D=e;sc(h,M=>{t(M,D)})}}}return i!==e&&void 0!==e.providers}function sc(e,t){for(let n of e)ve(n)&&(n=n.\u0275providers),Array.isArray(n)?sc(n,t):t(n)}const t_=Le({provide:String,useValue:Le});function ac(e){return null!==e&&"object"==typeof e&&t_ in e}function Eo(e){return"function"==typeof e}const lc=new Ne("Set Injector scope."),hl={},r_={};let uc;function pl(){return void 0===uc&&(uc=new ic),uc}class wi{}class Zo extends wi{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,dc(t,s=>this.processProvider(s)),this.records.set(Dh,qo(void 0,this)),i.has("environment")&&this.records.set(wi,qo(void 0,this));const o=this.records.get(lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(_h.multi,je,ct.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=L(this),r=st(void 0);try{return t()}finally{L(n),st(r)}}get(t,n=le,r=ct.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Wr))return t[Wr](this);r=be(r);const o=L(this),s=st(void 0);try{if(!(r&ct.SkipSelf)){let h=this.records.get(t);if(void 0===h){const D=function l_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ne}(t)&&Tt(t);h=D&&this.injectableDefInScope(D)?qo(cc(t),hl):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&ct.Self?pl():this.parent).get(t,n=r&ct.Optional&&n===le?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[Be]=u[Be]||[]).unshift(Xe(t)),o)throw u;return function jn(e,t,n,r){const i=e[Be];throw t[yn]&&i.unshift(t[yn]),e.message=function an(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Xe(t);if(Array.isArray(t))i=t.map(Xe).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let u=t[s];o.push(s+":"+("string"==typeof u?JSON.stringify(u):Xe(u)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(_t,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Be]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{st(s),L(o)}}resolveInjectorInitializers(){const t=L(this),n=st(void 0);try{const i=this.get(Qs.multi,je,ct.Self);for(const o of i)o()}finally{L(t),st(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Xe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _e(205,!1)}processProvider(t){let n=Eo(t=Ee(t))?t:Ee(t&&t.provide);const r=function o_(e){return ac(e)?qo(void 0,e.useValue):qo(Sh(e),hl)}(t);if(Eo(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=qo(void 0,hl,!0),i.factory=()=>Ut(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===hl&&(n.value=r_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function a_(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=Ee(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 cc(e){const t=Tt(e),n=null!==t?t.factory:vi(e);if(null!==n)return n;if(e instanceof Ne)throw new _e(204,!1);if(e instanceof Function)return function i_(e){const t=e.length;if(t>0)throw function Gs(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new _e(204,!1)}function Sh(e,t,n){let r;if(Eo(e)){const i=Ee(e);return vi(i)||cc(i)}if(ac(e))r=()=>Ee(e.useValue);else if(function Mh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ut(e.deps||[]));else if(function wh(e){return!(!e||!e.useExisting)}(e))r=()=>ie(Ee(e.useExisting));else{const i=Ee(e&&(e.useClass||e.provide));if(!function s_(e){return!!e.deps}(e))return vi(i)||cc(i);r=()=>new i(...Ut(e.deps))}return r}function qo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function dc(e,t){for(const n of e)Array.isArray(n)?dc(n,t):n&&ve(n)?dc(n.\u0275providers,t):t(n)}const Ih=new Ne("AppId",{providedIn:"root",factory:()=>u_}),u_="ng",bh=new Ne("Platform Initializer"),fc=new Ne("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),c_=new Ne("CSP nonce",{providedIn:"root",factory:()=>Ko().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ah=(e,t,n)=>null;function _c(e,t,n=!1){return Ah(e,t,n)}class __{}class Ph{}class E_{resolveComponentFactory(t){throw function C_(e){const t=Error(`No component factory found for ${Xe(e)}.`);return t.ngComponent=e,t}(t)}}let _l=(()=>{class e{static#e=this.NULL=new E_}return e})();function w_(){return Qo(Tn(),fe())}function Qo(e,t){return new na(Xt(e,t))}let na=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=w_}return e})();function M_(e){return e instanceof na?e.nativeElement:e}class Rh{}let S_=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function I_(){const e=fe(),n=Qn(Tn().index,e);return(Wn(n)?n:e)[nt]}()}return e})(),b_=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>null})}return e})();class xh{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 xh("16.2.12"),wc={};function Vh(e,t=null,n=null,r){const i=Uh(e,t,n,r);return i.resolveInjectorInitializers(),i}function Uh(e,t=null,n=null,r,i=new Set){const o=[n||je,e_(e)];return r=r||("object"==typeof e?void 0:Xe(e)),new Zo(o,t||pl(),r||null,i)}let si=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=le;static#t=this.NULL=new ic;static create(n,r){if(Array.isArray(n))return Vh({name:""},r,n,"");{const i=n.name??"";return Vh({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=he({token:e,providedIn:"any",factory:()=>ie(Dh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Sc(e){return e.ngOriginalError}class to{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&&Sc(t);for(;n&&Sc(n);)n=Sc(n);return n||null}}function bc(e){return t=>{setTimeout(e,void 0,t)}}const Mi=class F_ extends l.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const h=t;i=h.next?.bind(h),o=h.error?.bind(h),s=h.complete?.bind(h)}this.__isAsync&&(o=bc(o),i&&(i=bc(i)),s&&(s=bc(s)));const u=super.subscribe({next:i,error:o,complete:s});return t instanceof v.w0&&t.add(u),u}};function Bh(...e){}class $n{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mi(!1),this.onMicrotaskEmpty=new Mi(!1),this.onStable=new Mi(!1),this.onError=new Mi(!1),typeof Zone>"u")throw new _e(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function L_(){const e="function"==typeof xt.requestAnimationFrame;let t=xt[e?"requestAnimationFrame":"setTimeout"],n=xt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function U_(e){const t=()=>{!function V_(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(xt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Tc(e),e.isCheckStableRunning=!0,Ac(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Tc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,u)=>{if(function B_(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(u))return n.invokeTask(i,o,s,u);try{return jh(e),n.invokeTask(i,o,s,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Hh(e)}},onInvoke:(n,r,i,o,s,u,h)=>{try{return jh(e),n.invoke(i,o,s,u,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hh(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Tc(e),Ac(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!$n.isInAngularZone())throw new _e(909,!1)}static assertNotInAngularZone(){if($n.isInAngularZone())throw new _e(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,k_,Bh,Bh);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const k_={};function Ac(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 Tc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function jh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hh(e){e._nesting--,Ac(e)}class $_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mi,this.onMicrotaskEmpty=new Mi,this.onStable=new Mi,this.onError=new Mi}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const Gh=new Ne("",{providedIn:"root",factory:zh});function zh(){const e=De($n);let t=!0;return function T(...e){const t=(0,G.yG)(e),n=(0,G._6)(e,1/0),r=e;return r.length?1===r.length?(0,j.Xf)(r[0]):(0,Z.J)(n)((0,A.D)(r,t)):B.E}(new ee.y(i=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(t),i.complete()})}),new ee.y(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{$n.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,i.next(!0))})})});const s=e.onUnstable.subscribe(()=>{$n.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(Pe()))}function ji(e){return e instanceof Function?e():e}let Oc=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>new e})}return e})();function ra(e){for(;e;){e[it]|=64;const t=Ks(e);if(b(e)&&!t)return e;e=t}return null}const qh=new Ne("",{providedIn:"root",factory:()=>!1});let El=null;function ep(e,t){return e[t]??rp()}function tp(e,t){const n=rp();n.producerNode?.length&&(e[t]=El,n.lView=e,El=np())}const J_={...To,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ra(e.lView)},lView:null};function np(){return Object.create(J_)}function rp(){return El??=np(),El}const pt={};function ip(e){op(bt(),fe(),wn()+e,!1)}function op(e,t,n,r){if(!r)if(3==(3&t[it])){const o=e.preOrderCheckHooks;null!==o&&$a(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Ba(t,o,0,n)}oi(n)}function ns(e,t=ct.Default){const n=fe();return null===n?ie(e,t):gf(Tn(),n,Ee(e),t)}function sp(){throw new Error("invalid")}function wl(e,t,n,r,i,o,s,u,h,D,M){const O=t.blueprint.slice();return O[jt]=i,O[it]=140|r,(null!==D||e&&2048&e[it])&&(O[it]|=2048),Pa(O),O[Ft]=O[pr]=e,O[qt]=n,O[sr]=s||e&&e[sr],O[nt]=u||e&&e[nt],O[or]=h||e&&e[or]||null,O[fn]=o,O[Vr]=function nD(){return tD++}(),O[mr]=M,O[Ur]=D,O[Wt]=2==t.type?e[Wt]:O,O}function rs(e,t,n,r,i){let o=e.data[t];if(null===o)o=Pc(e,t,n,r,i),function nf(){return ot.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=vo();o.injectorIndex=null===s?-1:s.injectorIndex}return jr(o,!0),o}function Pc(e,t,n,r,i){const o=La(),s=ks(),h=e.data[t]=function oC(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,u=0;return function Xi(){return null!==ot.skipHydrationRootTNode}()&&(u|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:i,attrs:o,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,s?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=h),null!==o&&(s?null==o.child&&null!==h.parent&&(o.child=h):null===o.next&&(o.next=h,h.prev=o)),h}function ia(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;oCt&&op(e,t,Ct,!1),Xn(u?2:0,i);const D=u?o:null,M=Vi(D);try{null!==D&&(D.dirty=!1),n(r,i)}finally{po(D,M)}}finally{u&&null===t[Qr]&&tp(t,Qr),oi(s),Xn(u?3:1,i)}}function Nc(e,t,n){if(Li(t)){const r=kn(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;snull;function cp(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const o=e[i];null===r?dp(n,t,i,o):r.hasOwnProperty(i)&&dp(n,t,r[i],o)}return n}function dp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Rr(e,t,n,r,i,o,s,u){const h=Xt(t,n);let M,D=t.inputs;!u&&null!=D&&(M=D[r])?($c(e,n,M,r,i),_(t)&&function lC(e,t){const n=Qn(t,e);16&n[it]||(n[it]|=64)}(n,t.index)):3&t.type&&(r=function aC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,t.value||"",r):i,o.setProperty(h,r,i))}function Lc(e,t,n,r){if(xo()){const i=null===r?null:{"":-1},o=function pC(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(n,r,o)}}(e,t,r,ia(e,n,i.hostVars,pt),i)}function Vc(e,t,n,r,i,o,s){if(null==o)e.removeAttribute(t,i,n);else{const u=null==s?He(o):s(o,r||"",i);e.setAttribute(t,i,u,n)}}function _C(e,t,n,r,i,o){const s=o[t];if(null!==s)for(let u=0;u{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,i){const o=typeof Zone>"u"?null:Zone.current,s=function hn(e,t,n){const r=Object.create(Or);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=s=>{r.cleanupFn=s};return r.ref={notify:()=>As(r),run:()=>{if(r.dirty=!1,r.hasRun&&!go(r))return;r.hasRun=!0;const s=Vi(r);try{r.cleanupFn(),r.cleanupFn=Tr,r.fn(i)}finally{po(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(n,D=>{this.all.has(D)&&this.queue.set(D,o)},i);let u;this.all.add(s),s.notify();const h=()=>{s.cleanup(),u?.(),this.all.delete(s),this.queue.delete(s)};return u=r?.onDestroy(h),{destroy:h}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>new e})}return e})();function Sl(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s0){Mp(e,1);const i=n.components;null!==i&&Ip(e,i,1)}}function Ip(e,t,n){for(let r=0;r-1&&(ol(t,r),Wa(n,r))}this._attachedToViewContainer=!1}zu(this._lView[Fe],this._lView)}onDestroy(t){!function Ls(e,t){if(256==(256&e[it]))throw new _e(911,!1);null===e[zn]&&(e[zn]=[]),e[zn].push(t)}(this._lView,t)}markForCheck(){ra(this._cdRefInjectingView||this._lView)}detach(){this._lView[it]&=-129}reattach(){this._lView[it]|=128}detectChanges(){Il(this._lView[Fe],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _e(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function mD(e,t){Zs(e,t,t[nt],2,null,null)}(this._lView[Fe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _e(902,!1);this._appRef=t}}class TC extends sa{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Il(t[Fe],t,t[qt],!1)}checkNoChanges(){}get context(){return null}}class bp extends _l{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=dt(t);return new aa(n,this.ngModule)}}function Ap(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class PC{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=be(r);const i=this.injector.get(t,wc,r);return i!==wc||n===wc?i:this.parentInjector.get(t,n,r)}}class aa extends Ph{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Ap(t.inputs);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return Ap(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(so).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof wi?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new PC(t,o):t,u=s.get(Rh,null);if(null===u)throw new _e(407,!1);const O={rendererFactory:u,sanitizer:s.get(b_,null),effectManager:s.get(Cp,null),afterRenderEventManager:s.get(Oc,null)},k=u.createRenderer(null,this.componentDef),z=this.componentDef.selectors[0][0]||"div",ae=r?function eC(e,t,n,r){const o=r.get(qh,!1)||n===pn.ShadowDom,s=e.selectRootElement(t,o);return function tC(e){up(e)}(s),s}(k,r,this.componentDef.encapsulation,s):il(k,z,function OC(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(z)),We=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let de=null;null!==ae&&(de=_c(ae,s,!0));const lt=Fc(0,null,null,1,0,null,null,null,null,null,null),Et=wl(null,lt,null,We,null,null,O,k,s,null,de);let Zt,Er;X(Et);try{const Gi=this.componentDef;let _s,qd=null;Gi.findHostDirectiveDefs?(_s=[],qd=new Map,Gi.findHostDirectiveDefs(Gi,_s,qd),_s.push(Gi)):_s=[Gi];const $S=function RC(e,t){const n=e[Fe],r=Ct;return e[r]=t,rs(n,r,2,"#host",null)}(Et,ae),BS=function xC(e,t,n,r,i,o,s){const u=i[Fe];!function FC(e,t,n,r){for(const i of e)t.mergedAttrs=wr(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Sl(t,t.mergedAttrs,!0),null!==n&&oh(r,n,t))}(r,e,t,s);let h=null;null!==t&&(h=_c(t,i[or]));const D=o.rendererFactory.createRenderer(t,n);let M=16;n.signals?M=4096:n.onPush&&(M=64);const O=wl(i,lp(n),null,M,i[e.index],e,o,D,null,null,h);return u.firstCreatePass&&kc(u,e,r.length-1),Ml(i,O),i[e.index]=O}($S,ae,Gi,_s,Et,O,k);Er=Rs(lt,Ct),ae&&function kC(e,t,n,r){if(r)Yr(e,n,["ng-version",A_.full]);else{const{attrs:i,classes:o}=function ao(e){const t=[],n=[];let r=1,i=2;for(;r0&&ih(e,n,o.join(" "))}}(k,Gi,ae,r),void 0!==n&&function VC(e,t,n){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=wr(i.hostAttrs,n=wr(n,i.hostAttrs))}}(r)}function bl(e){return e===ft?{}:e===je?[]:e}function BC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function jC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function HC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Rp(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}e.inputTransforms=n}function Al(e){return!!Hc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Hc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ii(e,t,n){return e[t]=n}function tr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function wo(e,t,n,r){const i=tr(e,t,n);return tr(e,t+1,r)||i}function Gc(e,t,n,r){const i=fe();return tr(i,yo(),t)&&(bt(),function Si(e,t,n,r,i,o){const s=Xt(e,t);Vc(t[nt],s,o,e.value,n,r,i)}(Kt(),i,e,t,n,r)),Gc}function os(e,t,n,r){return tr(e,yo(),n)?t+He(n)+r:pt}function ss(e,t,n,r,i,o){const u=wo(e,ri(),n,i);return Ci(2),u?t+He(n)+r+He(i)+o:pt}function Wp(e,t,n,r,i,o,s,u){const h=fe(),D=bt(),M=e+Ct,O=D.firstCreatePass?function pE(e,t,n,r,i,o,s,u,h){const D=t.consts,M=rs(t,e,4,s||null,$i(D,u));Lc(t,n,M,$i(D,h)),Ua(t,M);const O=M.tView=Fc(2,M,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,D,null);return null!==t.queries&&(t.queries.template(t,M),O.queries=t.queries.embeddedTView(M)),M}(M,D,h,t,n,r,i,o,s):D.data[M];jr(O,!1);const k=Kp(D,h,O,e);Va()&&al(D,h,k,O),er(k,h),Ml(h,h[M]=gp(k,h,k,O)),C(O)&&Rc(D,h,O),null!=s&&xc(h,O,u)}let Kp=function Yp(e,t,n,r){return Qi(!0),t[nt].createComment("")};function Zp(e){return ti(function Cu(){return ot.lFrame.contextLView}(),Ct+e)}function qc(e,t,n){const r=fe();return tr(r,yo(),t)&&Rr(bt(),Kt(),r,e,t,r[nt],n,!1),qc}function Jc(e,t,n,r,i){const s=i?"class":"style";$c(e,n,t.inputs[s],s,r)}function Rl(e,t,n,r){const i=fe(),o=bt(),s=Ct+e,u=i[nt],h=o.firstCreatePass?function yE(e,t,n,r,i,o){const s=t.consts,h=rs(t,e,2,r,$i(s,i));return Lc(t,n,h,$i(s,o)),null!==h.attrs&&Sl(h,h.attrs,!1),null!==h.mergedAttrs&&Sl(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(s,o,i,t,n,r):o.data[s],D=qp(o,i,h,u,t,e);i[s]=D;const M=C(h);return jr(h,!0),oh(u,D,h),32!=(32&h.flags)&&Va()&&al(o,i,D,h),0===function Xd(){return ot.lFrame.elementDepthCount}()&&er(D,i),function Na(){ot.lFrame.elementDepthCount++}(),M&&(Rc(o,i,h),Nc(o,h,i)),null!==r&&xc(i,h),Rl}function xl(){let e=Tn();ks()?Vs():(e=e.parent,jr(e,!1));const t=e;(function yu(e){return ot.skipHydrationRootTNode===e})(t)&&function ef(){ot.skipHydrationRootTNode=null}(),function Ra(){ot.lFrame.elementDepthCount--}();const n=bt();return n.firstCreatePass&&(Ua(n,e),Li(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function py(e){return 0!=(8&e.flags)}(t)&&Jc(n,t,fe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function gy(e){return 0!=(16&e.flags)}(t)&&Jc(n,t,fe(),t.stylesWithoutHost,!1),xl}function Xc(e,t,n,r){return Rl(e,t,n,r),xl(),Xc}let qp=(e,t,n,r,i,o)=>(Qi(!0),il(r,i,function sf(){return ot.lFrame.currentNamespace}()));function Fl(e,t,n){const r=fe(),i=bt(),o=e+Ct,s=i.firstCreatePass?function CE(e,t,n,r,i){const o=t.consts,s=$i(o,r),u=rs(t,e,8,"ng-container",s);return null!==s&&Sl(u,s,!0),Lc(t,n,u,$i(o,i)),null!==t.queries&&t.queries.elementStart(t,u),u}(o,i,r,t,n):i.data[o];jr(s,!0);const u=Xp(i,r,s,e);return r[o]=u,Va()&&al(i,r,u,s),er(u,r),C(s)&&(Rc(i,r,s),Nc(i,s,r)),null!=n&&xc(r,s),Fl}function Ll(){let e=Tn();const t=bt();return ks()?Vs():(e=e.parent,jr(e,!1)),t.firstCreatePass&&(Ua(t,e),Li(e)&&t.queries.elementEnd(e)),Ll}let Xp=(e,t,n,r)=>(Qi(!0),Gu(t[nt],""));function Qp(){return fe()}function Qc(e){return!!e&&"function"==typeof e.then}function eg(e){return!!e&&"function"==typeof e.subscribe}function ed(e,t,n,r){const i=fe(),o=bt(),s=Tn();return function ng(e,t,n,r,i,o,s){const u=C(r),D=e.firstCreatePass&&yp(e),M=t[qt],O=vp(t);let k=!0;if(3&r.type||s){const ge=Xt(r,t),Re=s?s(ge):ge,We=O.length,de=s?Et=>s(Jt(Et[r.index])):r.index;let lt=null;if(!s&&u&&(lt=function ME(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;oh?u[h]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==lt)(lt.__ngLastListenerFn__||lt).__ngNextListenerFn__=o,lt.__ngLastListenerFn__=o,k=!1;else{o=ig(r,t,M,o,!1);const Et=n.listen(Re,i,o);O.push(o,Et),D&&D.push(i,de,We,We+1)}}else o=ig(r,t,M,o,!1);const z=r.outputs;let ae;if(k&&null!==z&&(ae=z[i])){const ge=ae.length;if(ge)for(let Re=0;Re-1?Qn(e.index,t):t);let h=rg(t,n,r,s),D=o.__ngNextListenerFn__;for(;D;)h=rg(t,n,D,s)&&h,D=D.__ngNextListenerFn__;return i&&!1===h&&s.preventDefault(),h}}function og(e=1){return function ii(e){return(ot.lFrame.contextLView=function Do(e,t){for(;e>0;)t=t[pr],e--;return t}(e,ot.lFrame.contextLView))[qt]}(e)}function td(e,t,n){return kl(e,"",t,"",n),td}function kl(e,t,n,r,i){const o=fe(),s=os(o,t,n,r);return s!==pt&&Rr(bt(),Kt(),o,e,s,o[nt],i,!1),kl}function nd(e,t,n,r,i,o,s){const u=fe(),h=ss(u,t,n,r,i,o);return h!==pt&&Rr(bt(),Kt(),u,e,h,u[nt],s,!1),nd}function Vl(e,t){return e<<17|t<<2}function no(e){return e>>17&32767}function rd(e){return 2|e}function Mo(e){return(131068&e)>>2}function id(e,t){return-131069&e|t<<2}function od(e){return 1|e}function hg(e,t,n,r,i){const o=e[n+1],s=null===t;let u=r?no(o):Mo(o),h=!1;for(;0!==u&&(!1===h||s);){const M=e[u+1];RE(e[u],t)&&(h=!0,e[u+1]=r?od(M):rd(M)),u=r?no(M):Mo(M)}h&&(e[n+1]=r?rd(o):od(o))}function RE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&jo(e,t)>=0}const xn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function pg(e){return e.substring(xn.key,xn.keyEnd)}function gg(e,t){const n=xn.textEnd;return n===t?-1:(t=xn.keyEnd=function kE(e,t,n){for(;t32;)t++;return t}(e,xn.key=t,n),hs(e,t,n))}function hs(e,t,n){for(;t=0;n=gg(t,n))Nr(e,pg(t),!0)}function ai(e,t,n,r){const i=fe(),o=bt(),s=Ci(2);o.firstUpdatePass&&Eg(o,e,s,r),t!==pt&&tr(i,s,t)&&Mg(o,o.data[wn()],i,i[nt],e,i[s+1]=function YE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Xe(eo(e)))),e}(t,n),r,s)}function Cg(e,t){return t>=e.expandoStartIndex}function Eg(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[wn()],s=Cg(e,n);Ig(o,r)&&null===t&&!s&&(t=!1),t=function BE(e,t,n,r){const i=function a(e){const t=ot.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=fa(n=ld(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=ld(i,e,t,n,r),null===o){let h=function jE(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Mo(r))return e[no(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=ld(null,e,t,h[1],r),h=fa(h,t.attrs,r),function HE(e,t,n,r){e[no(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else o=function GE(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(D=!0)):M=n,i)if(0!==h){const k=no(e[u+1]);e[r+1]=Vl(k,u),0!==k&&(e[k+1]=id(e[k+1],r)),e[u+1]=function TE(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=Vl(u,0),0!==u&&(e[u+1]=id(e[u+1],r)),u=r;else e[r+1]=Vl(h,0),0===u?u=r:e[h+1]=id(e[h+1],r),h=r;D&&(e[r+1]=rd(e[r+1])),hg(e,M,r,!0),hg(e,M,r,!1),function NE(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&jo(o,t)>=0&&(n[r+1]=od(n[r+1]))}(t,M,e,r,o),s=Vl(u,h),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function ld(e,t,n,r,i){let o=null;const s=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u0;){const h=e[i],D=Array.isArray(h),M=D?h[1]:h,O=null===M;let k=n[i+1];k===pt&&(k=O?je:void 0);let z=O?xu(k,r):M===r?k:void 0;if(D&&!Ul(z)&&(z=xu(h,r)),Ul(z)&&(u=z,s))return u;const ae=e[i+1];i=s?no(ae):Mo(ae)}if(null!==t){let h=o?t.residualClasses:t.residualStyles;null!=h&&(u=xu(h,r))}return u}function Ul(e){return void 0!==e}function Ig(e,t){return 0!=(e.flags&(t?8:16))}function bg(e,t=""){const n=fe(),r=bt(),i=e+Ct,o=r.firstCreatePass?rs(r,i,1,t,null):r.data[i],s=Ag(r,n,o,t,e);n[i]=s,Va()&&al(r,n,s,o),jr(o,!1)}let Ag=(e,t,n,r,i)=>(Qi(!0),rl(t[nt],r));function ud(e){return $l("",e,""),ud}function $l(e,t,n){const r=fe(),i=os(r,e,t,n);return i!==pt&&Hi(r,wn(),i),$l}function cd(e,t,n,r,i){const o=fe(),s=ss(o,e,t,n,r,i);return s!==pt&&Hi(o,wn(),s),cd}const So=void 0;var v0=["en",[["a","p"],["AM","PM"],So],[["AM","PM"],So,So],[["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"]],So,[["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"]],So,[["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}",So,"{1} 'at' {0}",So],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function m0(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ps={};function dd(e){const t=function y0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Yg(t);if(n)return n;const r=t.split("-")[0];if(n=Yg(r),n)return n;if("en"===r)return v0;throw new _e(701,!1)}function Kg(e){return dd(e)[gs.PluralCase]}function Yg(e){return e in ps||(ps[e]=xt.ng&&xt.ng.common&&xt.ng.common.locales&&xt.ng.common.locales[e]),ps[e]}var gs=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}(gs||{});const D0=["zero","one","two","few","many"],ms="en-US",Bl={marker:"element"},jl={marker:"ICU"};var _r=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(_r||{});let Zg=ms;function qg(e){(function Nt(e,t){null==e&&W(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Zg=e.toLowerCase().replace(/_/g,"-"))}function Jg(e,t,n){const r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?Xf(e,0,n):Jt(n[i])}function Xg(e,t,n,r,i){const o=t.insertBeforeIndex;if(Array.isArray(o)){let s=r,u=null;if(3&t.type||(u=s,s=i),null!==s&&-1===t.componentOffset)for(let h=1;h1)for(let n=e.length-2;n>=0;n--){const r=e[n];em(r)||w0(r,t)&&null===M0(r)&&S0(r,t.index)}}function em(e){return!(64&e.type)}function w0(e,t){return em(t)||e.index>t.index}function M0(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function S0(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(eh(Jg,Xg),e.insertBeforeIndex=t)}function ha(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function A0(e,t,n){const r=Pc(e,n,64,null,null);return Qg(t,r),r}function Hl(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function tm(e){return e>>>17}function nm(e){return(131070&e)>>>1}let pa=0,ga=0;function im(e,t,n,r){const i=n[nt];let s,o=null;for(let u=0;u>>1,n),null,null,z,ae,null)}else switch(h){case jl:const D=t[++u],M=t[++u];null===n[M]&&er(n[M]=Gu(i,D),n);break;case Bl:const O=t[++u],k=t[++u];null===n[k]&&er(n[k]=il(i,O,null),n)}}}function om(e,t,n,r,i){for(let o=0;o>>2;switch(3&M){case 1:const k=n[++D],z=n[++D],ae=e.data[O];"string"==typeof ae?Vc(t[nt],t[O],null,ae,k,h,z):Rr(e,ae,t,k,h,t[nt],z,!1);break;case 0:const ge=t[O];null!==ge&&Wf(t[nt],ge,h);break;case 2:R0(e,ha(e,O),t,h);break;case 3:sm(e,ha(e,O),r,t)}}}}else{const h=n[o+1];if(h>0&&3==(3&h)){const M=ha(e,h>>>2);t[M.currentCaseLViewIndex]<0&&sm(e,M,r,t)}}o+=u}}function sm(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(null!==i){let o=pa;i<0&&(i=r[t.currentCaseLViewIndex]=~i,o=-1),om(e,r,t.update[i],n,o)}}function R0(e,t,n,r){const i=function x0(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function _0(e,t){const n=Kg(t)(parseInt(e,10)),r=D0[n];return void 0!==r?r:"other"}(t,function E0(){return Zg}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Hl(t,n)!==i&&(am(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const s=n[t.anchorIdx];s&&im(e,t.create[i],n,s)}}function am(e,t,n){let r=Hl(t,n);if(null!==r){const i=t.remove[r];for(let o=0;o0){const u=Ro(s,n);null!==u&&ll(n[nt],u)}else am(e,ha(e,~s),n)}}}function F0(){const e=[];let n,r,t=-1;function o(u,h){t=0;const D=Hl(u,h);r=null!==D?u.remove[D]:je}function s(){if(t0?n[u]:(e.push(t,r),o(n[Fe].data[~u],n),s())}return 0===e.length?null:(r=e.pop(),t=e.pop(),s())}return function i(u,h){for(n=h;e.length;)e.pop();return o(u.value,h),s}}const Gl=/\ufffd(\d+):?\d*\ufffd/gi,k0=/\ufffd(\d+)\ufffd/,um=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ma="\ufffd",V0=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,U0=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,$0=/\uE500/g;function cm(e,t,n,r,i,o,s){const u=ia(e,r,1,null);let h=u<<_r.SHIFT,D=vo();t===D&&(D=null),null===D&&(h|=_r.APPEND_EAGERLY),s&&(h|=_r.COMMENT,function dD(e){void 0===ju&&(ju=e())}(F0)),i.push(h,null===o?"":o);const M=Pc(e,u,s?32:1,null===o?"":o,null);Qg(n,M);const O=M.index;return jr(M,!1),null!==D&&t!==D&&function b0(e,t){let n=e.insertBeforeIndex;null===n?(eh(Jg,Xg),n=e.insertBeforeIndex=[null,t]):(function pe(e,t,n){e!=t&&W(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(D,O),M}function H0(e,t,n,r,i,o,s){const u=s.match(Gl),h=cm(e,t,n,o,r,u?null:s,!1);u&&va(i,s,h.index,null,0,null)}function va(e,t,n,r,i,o){const s=e.length,u=s+1;e.push(null,null);const h=s+2,D=t.split(Gl);let M=0;for(let O=0;On.length&&n.push(h)}return{type:r,mainBinding:i,cases:t,values:n}}function fd(e){if(!e)return[];let t=0;const n=[],r=[],i=/[{}]/g;let o;for(i.lastIndex=0;o=i.exec(e);){const u=o.index;if("}"==o[0]){if(n.pop(),0==n.length){const h=e.substring(t,u);um.test(h)?r.push(Y0(h)):r.push(h),t=u+1}}else{if(0==n.length){const h=e.substring(t,u);r.push(h),t=u+1}n.push("{")}}const s=e.substring(t);return r.push(s),r}function Z0(e,t,n,r,i,o,s,u){const h=[],D=[],M=[];t.cases.push(o),t.create.push(h),t.remove.push(D),t.update.push(M);const k=function ch(e){const t=new UD(e);return function $D(){try{return!!(new window.DOMParser).parseFromString(Wo(""),"text/html")}catch{return!1}}()?new VD(t):t}(Ko()).getInertBodyElement(s),z=function rc(e){return"content"in e&&function KD(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}(k)||k;return z?pm(e,t,n,r,h,D,M,z,i,u,0):0}function pm(e,t,n,r,i,o,s,u,h,D,M){let O=0,k=u.firstChild;for(;k;){const z=ia(e,n,1,null);switch(k.nodeType){case Node.ELEMENT_NODE:const ae=k,ge=ae.tagName.toLowerCase();if(tc.hasOwnProperty(ge)){hd(i,Bl,ge,h,z),e.data[z]=ge;const lt=ae.attributes;for(let Et=0;Et>>_r.SHIFT;let O=e[M];null===O&&(O=e[M]=(s&_r.COMMENT)===_r.COMMENT?i.createComment(u):rl(i,u)),D&&null!==n&&Co(i,n,O,r,!1)}})(i,h.create,M,u&&8&u.type?i[u.index]:null),wu(!0)}function gd(){wu(!1)}function vm(e,t,n){pd(e,t,n),gd()}function md(e){return function O0(e){e&&(pa|=1<0){const r=e.data[n];om(e,t,Array.isArray(r)?r:r.update,ri()-ga-1,pa)}pa=0,ga=0}(bt(),fe(),e+Ct)}function Dm(e,t={}){return function aw(e,t={}){let n=e;if(ew.test(e)){const r={},i=[mm];n=n.replace(tw,(o,s,u)=>{const h=s||u,D=r[h]||[];if(D.length||(h.split("|").forEach(ge=>{const Re=ge.match(sw),We=Re?parseInt(Re[1],10):mm,de=ow.test(ge);D.push([We,de,ge])}),r[h]=D),!D.length)throw new Error(`i18n postprocess: unmatched placeholder - ${h}`);const M=i[i.length-1];let O=0;for(let ge=0;get.hasOwnProperty(o)?`${i}${t[o]}${h}`:r),n=n.replace(rw,(r,i)=>t.hasOwnProperty(i)?t[i]:r),n=n.replace(iw,(r,i)=>{if(t.hasOwnProperty(i)){const o=t[i];if(!o.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${i}`);return o.shift()}return r})),n}(e,t)}function vd(e,t,n,r,i){if(e=Ee(e),Array.isArray(e))for(let o=0;o>20;if(Eo(e)||!e.multi){const z=new Us(D,i,ns),ae=Dd(h,t,i?M:M+k,O);-1===ae?(Ou(Ha(u,s),o,h),yd(o,e,t.length),t.push(h),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(z),s.push(z)):(n[ae]=z,s[ae]=z)}else{const z=Dd(h,t,M+k,O),ae=Dd(h,t,M,M+k),Re=ae>=0&&n[ae];if(i&&!Re||!i&&!(z>=0&&n[z])){Ou(Ha(u,s),o,h);const We=function hw(e,t,n,r,i){const o=new Us(e,n,ns);return o.multi=[],o.index=t,o.componentProviders=0,_m(o,i,r&&!n),o}(i?fw:dw,n.length,i,r,D);!i&&Re&&(n[ae].providerFactory=We),yd(o,e,t.length,0),t.push(h),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(We),s.push(We)}else yd(o,e,z>-1?z:ae,_m(n[i?ae:z],D,!i&&r));!i&&r&&Re&&n[ae].componentProviders++}}}function yd(e,t,n,r){const i=Eo(t),o=function n_(e){return!!e.useClass}(t);if(i||o){const h=(o?Ee(t.useClass):t).prototype.ngOnDestroy;if(h){const D=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const M=D.indexOf(n);-1===M?D.push(n,[r,h]):D[M+1].push(r,h)}else D.push(n,h)}}}function _m(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Dd(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function cw(e,t,n){const r=bt();if(r.firstCreatePass){const i=g(e);vd(n,r.data,r.blueprint,i,!0),vd(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Io{}class Em{}function pw(e,t){return new Cd(e,t??null,[])}class Cd extends Io{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new bp(this);const i=Qt(t);this._bootstrapComponents=ji(i.bootstrap),this._r3Injector=Uh(t,n,[{provide:Io,useValue:this},{provide:_l,useValue:this.componentFactoryResolver},...r],Xe(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 Ed extends Em{constructor(t){super(),this.moduleType=t}create(t){return new Cd(this.moduleType,t,[])}}class wm extends Io{constructor(t){super(),this.componentFactoryResolver=new bp(this),this.instance=null;const n=new Zo([...t.providers,{provide:Io,useValue:this},{provide:_l,useValue:this.componentFactoryResolver}],t.parent||pl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Mm(e,t,n=null){return new wm({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let mw=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Ch(0,n.type),i=r.length>0?Mm([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=he({token:e,providedIn:"environment",factory:()=>new e(ie(wi))})}return e})();function Sm(e){e.getStandaloneInjector=t=>t.get(mw).getOrCreateStandaloneInjector(e)}function Nm(e,t,n){const r=Un()+e,i=fe();return i[r]===pt?Ii(i,r,n?t.call(n):t()):function la(e,t){return e[t]}(i,r)}function Rm(e,t,n,r){return xm(fe(),Un(),e,t,n,r)}function ya(e,t){const n=e[t];return n===pt?void 0:n}function xm(e,t,n,r,i,o){const s=t+n;return tr(e,s,i)?Ii(e,s+1,o?r.call(o,i):r(i)):ya(e,s+1)}function Um(e,t){const n=bt();let r;const i=e+Ct;n.firstCreatePass?(r=function Rw(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=vi(r.type)),u=st(ns);try{const h=ja(!1),D=o();return ja(h),function vE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,fe(),i,D),D}finally{st(u)}}function $m(e,t,n){const r=e+Ct,i=fe(),o=ti(i,r);return Da(i,r)?xm(i,Un(),t,o.transform,n,o):o.transform(n)}function Bm(e,t,n,r){const i=e+Ct,o=fe(),s=ti(o,i);return Da(o,i)?function Fm(e,t,n,r,i,o,s){const u=t+n;return wo(e,u,i,o)?Ii(e,u+2,s?r.call(s,i,o):r(i,o)):ya(e,u+2)}(o,Un(),t,s.transform,n,r,s):s.transform(n,r)}function Da(e,t){return e[Fe].data[t].pure}function kw(){return this._results[Symbol.iterator]()}class Md{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Mi)}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=Md.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=kw)}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 r=this;r.dirty=!1;const i=function Hr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ty(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0&&(n[i-1][Pn]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=jw}return e})();const $w=_a,Bw=class extends $w{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function Vw(e,t,n,r){const i=t.tView,u=wl(e,i,n,4096&e[it]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);u[kr]=e[t.index];const D=e[Gn];return null!==D&&(u[Gn]=D.createEmbeddedView(i)),Bc(i,u,n),u}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new sa(i)}};function jw(){return zl(Tn(),fe())}function zl(e,t){return 4&e.type?new Bw(t,e,Qo(e,t)):null}let Kl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Yw}return e})();function Yw(){return Ym(Tn(),fe())}const Zw=Kl,Wm=class extends Zw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Qo(this._hostTNode,this._hostLView)}get injector(){return new lr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ga(this._hostTNode,this._hostLView);if(bu(t)){const n=Bs(t,this._hostLView),r=$s(t);return new lr(n[Fe].data[r+8],n)}return new lr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Km(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Dn}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const u=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(u,i,false),u}createComponent(t,n,r,i,o){const s=t&&!function Hs(e){return"function"==typeof e}(t);let u;if(s)u=n;else{const ge=n||{};u=ge.index,r=ge.injector,i=ge.projectableNodes,o=ge.environmentInjector||ge.ngModuleRef}const h=s?t:new aa(dt(t)),D=r||this.parentInjector;if(!o&&null==h.ngModule){const Re=(s?D:this.parentInjector).get(wi,null);Re&&(o=Re)}dt(h.componentType??{});const z=h.create(D,i,null,o);return this.insertImpl(z.hostView,u,false),z}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const i=t._lView;if(function Jd(e){return An(e[Ft])}(i)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const D=i[Ft],M=new Wm(D,D[fn],D[Ft]);M.detach(M.indexOf(t))}}const s=this._adjustIndex(n),u=this._lContainer;return Uw(u,i,s,!r),t.attachToViewContainerRef(),Ef(Sd(u),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Km(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ol(this._lContainer,n);r&&(Wa(Sd(this._lContainer),n),zu(r[Fe],r))}detach(t){const n=this._adjustIndex(t,-1),r=ol(this._lContainer,n);return r&&null!=Wa(Sd(this._lContainer),n)?new sa(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Km(e){return e[8]}function Sd(e){return e[8]||(e[8]=[])}function Ym(e,t){let n;const r=t[e.index];return An(r)?n=r:(n=gp(r,t,null,e),t[e.index]=n,Ml(t,n)),Zm(n,t,e,r),new Wm(n,e,t)}let Zm=function qm(e,t,n,r){if(e[ar])return;let i;i=8&n.type?Jt(r):function qw(e,t){const n=e[nt],r=n.createComment(""),i=Xt(t,e);return Co(n,sl(n,i),r,function wD(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[ar]=i};class Id{constructor(t){this.queryList=t,this.matches=null}clone(){return new Id(this.queryList)}setDirty(){this.queryList.setDirty()}}class bd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o0)r.push(s[u/2]);else{const D=o[u+1],M=t[-h];for(let O=Dn;O{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=De(wv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=i();if(Qc(o))n.push(o);else if(eg(o)){const s=new Promise((u,h)=>{o.subscribe({complete:u,error:h})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Zl=new Ne("LocaleId",{providedIn:"root",factory:()=>De(Zl,ct.Optional|ct.SkipSelf)||function SM(){return typeof $localize<"u"&&$localize.locale||ms}()}),IM=new Ne("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Sv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new N.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)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class AM{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let TM=(()=>{class e{compileModuleSync(n){return new Ed(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=ji(Qt(n).declarations).reduce((s,u)=>{const h=dt(u);return h&&s.push(new aa(h)),s},[]);return new AM(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Tv=new Ne(""),Ov=new Ne("");let Ud,JM=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ud||(function XM(e){Ud=e}(i),i.addToWindow(r)),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:()=>{$n.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(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.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,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!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,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(ie($n),ie(Pv),ie(Ov))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})(),Pv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}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,r=!0){return Ud?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ro=null;const Nv=new Ne("AllowMultipleToken"),$d=new Ne("PlatformDestroyListeners"),Bd=new Ne("appBootstrapListener");class tS{constructor(t,n){this.name=t,this.token=n}}function Fv(e,t,n=[]){const r=`Platform: ${t}`,i=new Ne(r);return(o=[])=>{let s=jd();if(!s||s.injector.get(Nv,!1)){const u=[...n,...o,{provide:i,useValue:!0}];e?e(u):function nS(e){if(ro&&!ro.get(Nv,!1))throw new _e(400,!1);(function Rv(){!function E(e){w=e}(()=>{throw new _e(600,!1)})})(),ro=e;const t=e.get(kv);(function xv(e){e.get(bh,null)?.forEach(n=>n())})(e)}(function Lv(e=[],t){return si.create({name:t,providers:[{provide:lc,useValue:"platform"},{provide:$d,useValue:new Set([()=>ro=null])},...e]})}(u,r))}return function iS(e){const t=jd();if(!t)throw new _e(401,!1);return t}()}}function jd(){return ro?.get(kv)??null}let kv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function oS(e="zone.js",t){return"noop"===e?new $_:"zone.js"===e?new $n(t):e}(r?.ngZone,function Vv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function gw(e,t,n){return new Cd(e,t,n)}(n.moduleType,this.injector,function Hv(e){return[{provide:$n,useFactory:e},{provide:Qs,multi:!0,useFactory:()=>{const t=De(aS,{optional:!0});return()=>t.initialize()}},{provide:jv,useFactory:sS},{provide:Gh,useFactory:zh}]}(()=>i)),s=o.injector.get(to,null);return i.runOutsideAngular(()=>{const u=i.onError.subscribe({next:h=>{s.handleError(h)}});o.onDestroy(()=>{Jl(this._modules,o),u.unsubscribe()})}),function Uv(e,t,n){try{const r=n();return Qc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const u=o.injector.get(Ld);return u.runInitializers(),u.donePromise.then(()=>(qg(o.injector.get(Zl,ms)||ms),this._moduleDoBootstrap(o),o))})})}bootstrapModule(n,r=[]){const i=$v({},r);return function QM(e,t,n){const r=new Ed(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(Ds);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new _e(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _e(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get($d,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(ie(si))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function $v(e,t){return Array.isArray(t)?t.reduce($v,e):{...e,...t}}let Ds=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=De(jv),this.zoneIsStable=De(Gh),this.componentTypes=[],this.components=[],this.isStable=De(Sv).hasPendingTasks.pipe((0,ht.w)(n=>n?(0,V.of)(!1):this.zoneIsStable),(0,ze.x)(),Pe()),this._injector=De(wi)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Ph;if(!this._injector.get(Ld).done)throw!i&&qn(n),new _e(405,!1);let s;s=i?n:this._injector.get(_l).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const u=function eS(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Io),D=s.create(si.NULL,[],r||s.selector,u),M=D.location.nativeElement,O=D.injector.get(Tv,null);return O?.registerApplication(M),D.onDestroy(()=>{this.detachView(D.hostView),Jl(this.components,D),O?.unregisterApplication(M)}),this._loadComponent(D),D}tick(){if(this._runningTick)throw new _e(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 r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Jl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Bd,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(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),()=>Jl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _e(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Jl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const jv=new Ne("",{providedIn:"root",factory:()=>De(to).handleError.bind(void 0)});function sS(){const e=De($n),t=De(to);return n=>e.runOutsideAngular(()=>t.handleError(n))}let aS=(()=>{class e{constructor(){this.zone=De($n),this.applicationRef=De(Ds)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uS(){}let cS=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=dS}return e})();function dS(e){return function fS(e,t,n){if(_(e)&&!n){const r=Qn(e.index,t);return new sa(r,r)}return 47&e.type?new sa(t[Wt],t):null}(Tn(),fe(),16==(16&e))}class Kv{constructor(){}supports(t){return Al(t)}create(t){return new yS(t)}}const vS=(e,t)=>t;class yS{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||vS}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(i,u),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,u,s,i)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,s,i),r=!0),n=n._next,i++}),this.length=i;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,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new DS(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Yv),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._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 Yv),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 DS{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 _S{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 r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Yv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new _S,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.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 Zv(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._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 i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new ES(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_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(r=>n(t[r],r))}}class ES{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 Jv(){return new Kd([new Kv])}let Kd=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:Jv});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Jv()),deps:[[e,new Za,new Ya]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new _e(901,!1)}}return e})();function Xv(){return new Yd([new qv])}let Yd=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:Xv});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Xv()),deps:[[e,new Za,new Ya]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new _e(901,!1)}}return e})();const SS=Fv(null,"core",[]);let IS=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(ie(Ds))};static#t=this.\u0275mod=fi({type:e});static#n=this.\u0275inj=yt({})}return e})();function kS(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function US(e){const t=dt(e);if(!t)return null;const n=new aa(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}}}},6223:(Ue,oe,S)=>{S.d(oe,{EJ:()=>Mr,F:()=>ln,Fj:()=>Pe,JJ:()=>ye,JL:()=>Me,Kr:()=>Pn,On:()=>dn,Q7:()=>pr,UX:()=>Li,YN:()=>uo,_:()=>Pi,_Y:()=>hr,nD:()=>zn,nJ:()=>J,p4:()=>Yr,sg:()=>Fr,u:()=>qn,u5:()=>An,wV:()=>Jr});var l=S(6689),v=S(6814),ee=S(7715),Z=S(9315),j=S(7398);let B=(()=>{class _{constructor(g,b){this._renderer=g,this._elementRef=b,this.onChange=x=>{},this.onTouched=()=>{}}setProperty(g,b){this._renderer.setProperty(this._elementRef.nativeElement,g,b)}registerOnTouched(g){this.onTouched=g}registerOnChange(g){this.onChange=g}setDisabledState(g){this.setProperty("disabled",g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.Qsj),l.Y36(l.SBq))};static#t=this.\u0275dir=l.lG2({type:_})}return _})(),G=(()=>{class _ extends B{static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,features:[l.qOj]})}return _})();const A=new l.OlP("NgValueAccessor"),V={provide:A,useExisting:(0,l.Gpc)(()=>Pe),multi:!0},xe=new l.OlP("CompositionEventMode");let Pe=(()=>{class _ extends B{constructor(g,b,x){super(g,b),this._compositionMode=x,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ue(){const _=(0,v.q)()?(0,v.q)().getUserAgent():"";return/android (\d+)/.test(_.toLowerCase())}())}writeValue(g){this.setProperty("value",g??"")}_handleInput(g){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(g)}_compositionStart(){this._composing=!0}_compositionEnd(g){this._composing=!1,this._compositionMode&&this.onChange(g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(xe,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(b,x){1&b&&l.NdJ("input",function(Dt){return x._handleInput(Dt.target.value)})("blur",function(){return x.onTouched()})("compositionstart",function(){return x._compositionStart()})("compositionend",function(Dt){return x._compositionEnd(Dt.target.value)})},features:[l._Bn([V]),l.qOj]})}return _})();const ze=new l.OlP("NgValidators"),Le=new l.OlP("NgAsyncValidators");function $e(_){return function Ve(_){return null==_||("string"==typeof _||Array.isArray(_))&&0===_.length}(_.value)?{required:!0}:null}function _e(_){return null}function Gt(_){return null!=_}function He(_){return(0,l.QGY)(_)?(0,ee.D)(_):_}function Qe(_){let C={};return _.forEach(g=>{C=null!=g?{...C,...g}:C}),0===Object.keys(C).length?null:C}function zt(_,C){return C.map(g=>g(_))}function sn(_){return _.map(C=>function Mt(_){return!_.validate}(C)?C:g=>C.validate(g))}function q(_){return null!=_?function Q(_){if(!_)return null;const C=_.filter(Gt);return 0==C.length?null:function(g){return Qe(zt(g,C))}}(sn(_)):null}function ne(_){return null!=_?function re(_){if(!_)return null;const C=_.filter(Gt);return 0==C.length?null:function(g){const b=zt(g,C).map(He);return(0,Z.D)(b).pipe((0,j.U)(Qe))}}(sn(_)):null}function me(_,C){return null===_?[C]:Array.isArray(_)?[..._,C]:[_,C]}function pe(_){return _._rawValidators}function qe(_){return _._rawAsyncValidators}function ut(_){return _?Array.isArray(_)?_:[_]:[]}function Lt(_,C){return Array.isArray(_)?_.includes(C):_===C}function ke(_,C){const g=ut(C);return ut(_).forEach(x=>{Lt(g,x)||g.push(x)}),g}function vt(_,C){return ut(C).filter(g=>!Lt(_,g))}class kt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(C){this._rawValidators=C||[],this._composedValidatorFn=q(this._rawValidators)}_setAsyncValidators(C){this._rawAsyncValidators=C||[],this._composedAsyncValidatorFn=ne(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(C){this._onDestroyCallbacks.push(C)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(C=>C()),this._onDestroyCallbacks=[]}reset(C=void 0){this.control&&this.control.reset(C)}hasError(C,g){return!!this.control&&this.control.hasError(C,g)}getError(C,g){return this.control?this.control.getError(C,g):null}}class rt extends kt{get formDirective(){return null}get path(){return null}}class At extends kt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Nt{constructor(C){this._cd=C}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ye=(()=>{class _ extends Nt{constructor(g){super(g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(At,2))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(b,x){2&b&&l.ekj("ng-untouched",x.isUntouched)("ng-touched",x.isTouched)("ng-pristine",x.isPristine)("ng-dirty",x.isDirty)("ng-valid",x.isValid)("ng-invalid",x.isInvalid)("ng-pending",x.isPending)},features:[l.qOj]})}return _})(),Me=(()=>{class _ extends Nt{constructor(g){super(g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(rt,10))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(b,x){2&b&&l.ekj("ng-untouched",x.isUntouched)("ng-touched",x.isTouched)("ng-pristine",x.isPristine)("ng-dirty",x.isDirty)("ng-valid",x.isValid)("ng-invalid",x.isInvalid)("ng-pending",x.isPending)("ng-submitted",x.isSubmitted)},features:[l.qOj]})}return _})();const Bn="VALID",xt="INVALID",On="PENDING",tn="DISABLED";function Ne(_){return(nr(_)?_.validators:_)||null}function Yn(_,C){return(nr(C)?C.asyncValidators:_)||null}function nr(_){return null!=_&&!Array.isArray(_)&&"object"==typeof _}class Ti{constructor(C,g){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(C),this._assignAsyncValidators(g)}get validator(){return this._composedValidatorFn}set validator(C){this._rawValidators=this._composedValidatorFn=C}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(C){this._rawAsyncValidators=this._composedAsyncValidatorFn=C}get parent(){return this._parent}get valid(){return this.status===Bn}get invalid(){return this.status===xt}get pending(){return this.status==On}get disabled(){return this.status===tn}get enabled(){return this.status!==tn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(C){this._assignValidators(C)}setAsyncValidators(C){this._assignAsyncValidators(C)}addValidators(C){this.setValidators(ke(C,this._rawValidators))}addAsyncValidators(C){this.setAsyncValidators(ke(C,this._rawAsyncValidators))}removeValidators(C){this.setValidators(vt(C,this._rawValidators))}removeAsyncValidators(C){this.setAsyncValidators(vt(C,this._rawAsyncValidators))}hasValidator(C){return Lt(this._rawValidators,C)}hasAsyncValidator(C){return Lt(this._rawAsyncValidators,C)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(C={}){this.touched=!0,this._parent&&!C.onlySelf&&this._parent.markAsTouched(C)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(C=>C.markAllAsTouched())}markAsUntouched(C={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(g=>{g.markAsUntouched({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}markAsDirty(C={}){this.pristine=!1,this._parent&&!C.onlySelf&&this._parent.markAsDirty(C)}markAsPristine(C={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(g=>{g.markAsPristine({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}markAsPending(C={}){this.status=On,!1!==C.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!C.onlySelf&&this._parent.markAsPending(C)}disable(C={}){const g=this._parentMarkedDirty(C.onlySelf);this.status=tn,this.errors=null,this._forEachChild(b=>{b.disable({...C,onlySelf:!0})}),this._updateValue(),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...C,skipPristineCheck:g}),this._onDisabledChange.forEach(b=>b(!0))}enable(C={}){const g=this._parentMarkedDirty(C.onlySelf);this.status=Bn,this._forEachChild(b=>{b.enable({...C,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent}),this._updateAncestors({...C,skipPristineCheck:g}),this._onDisabledChange.forEach(b=>b(!1))}_updateAncestors(C){this._parent&&!C.onlySelf&&(this._parent.updateValueAndValidity(C),C.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(C){this._parent=C}getRawValue(){return this.value}updateValueAndValidity(C={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Bn||this.status===On)&&this._runAsyncValidator(C.emitEvent)),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!C.onlySelf&&this._parent.updateValueAndValidity(C)}_updateTreeValidity(C={emitEvent:!0}){this._forEachChild(g=>g._updateTreeValidity(C)),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?tn:Bn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(C){if(this.asyncValidator){this.status=On,this._hasOwnPendingAsyncValidator=!0;const g=He(this.asyncValidator(this));this._asyncValidationSubscription=g.subscribe(b=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(b,{emitEvent:C})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(C,g={}){this.errors=C,this._updateControlsErrors(!1!==g.emitEvent)}get(C){let g=C;return null==g||(Array.isArray(g)||(g=g.split(".")),0===g.length)?null:g.reduce((b,x)=>b&&b._find(x),this)}getError(C,g){const b=g?this.get(g):this;return b&&b.errors?b.errors[C]:null}hasError(C,g){return!!this.getError(C,g)}get root(){let C=this;for(;C._parent;)C=C._parent;return C}_updateControlsErrors(C){this.status=this._calculateStatus(),C&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(C)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?tn:this.errors?xt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(On)?On:this._anyControlsHaveStatus(xt)?xt:Bn}_anyControlsHaveStatus(C){return this._anyControls(g=>g.status===C)}_anyControlsDirty(){return this._anyControls(C=>C.dirty)}_anyControlsTouched(){return this._anyControls(C=>C.touched)}_updatePristine(C={}){this.pristine=!this._anyControlsDirty(),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}_updateTouched(C={}){this.touched=this._anyControlsTouched(),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}_registerOnCollectionChange(C){this._onCollectionChange=C}_setUpdateStrategy(C){nr(C)&&null!=C.updateOn&&(this._updateOn=C.updateOn)}_parentMarkedDirty(C){return!C&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(C){return null}_assignValidators(C){this._rawValidators=Array.isArray(C)?C.slice():C,this._composedValidatorFn=function Fn(_){return Array.isArray(_)?q(_):_||null}(this._rawValidators)}_assignAsyncValidators(C){this._rawAsyncValidators=Array.isArray(C)?C.slice():C,this._composedAsyncValidatorFn=function Sn(_){return Array.isArray(_)?ne(_):_||null}(this._rawAsyncValidators)}}class se extends Ti{constructor(C,g,b){super(Ne(g),Yn(b,g)),this.controls=C,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(C,g){return this.controls[C]?this.controls[C]:(this.controls[C]=g,g.setParent(this),g._registerOnCollectionChange(this._onCollectionChange),g)}addControl(C,g,b={}){this.registerControl(C,g),this.updateValueAndValidity({emitEvent:b.emitEvent}),this._onCollectionChange()}removeControl(C,g={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}setControl(C,g,b={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],g&&this.registerControl(C,g),this.updateValueAndValidity({emitEvent:b.emitEvent}),this._onCollectionChange()}contains(C){return this.controls.hasOwnProperty(C)&&this.controls[C].enabled}setValue(C,g={}){(function cr(_,C,g){_._forEachChild((b,x)=>{if(void 0===g[x])throw new l.vHH(1002,"")})})(this,0,C),Object.keys(C).forEach(b=>{(function rr(_,C,g){const b=_.controls;if(!(C?Object.keys(b):b).length)throw new l.vHH(1e3,"");if(!b[g])throw new l.vHH(1001,"")})(this,!0,b),this.controls[b].setValue(C[b],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(C,g={}){null!=C&&(Object.keys(C).forEach(b=>{const x=this.controls[b];x&&x.patchValue(C[b],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(C={},g={}){this._forEachChild((b,x)=>{b.reset(C?C[x]:null,{onlySelf:!0,emitEvent:g.emitEvent})}),this._updatePristine(g),this._updateTouched(g),this.updateValueAndValidity(g)}getRawValue(){return this._reduceChildren({},(C,g,b)=>(C[b]=g.getRawValue(),C))}_syncPendingControls(){let C=this._reduceChildren(!1,(g,b)=>!!b._syncPendingControls()||g);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){Object.keys(this.controls).forEach(g=>{const b=this.controls[g];b&&C(b,g)})}_setUpControls(){this._forEachChild(C=>{C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(C){for(const[g,b]of Object.entries(this.controls))if(this.contains(g)&&C(b))return!0;return!1}_reduceValue(){return this._reduceChildren({},(g,b,x)=>((b.enabled||this.disabled)&&(g[x]=b.value),g))}_reduceChildren(C,g){let b=C;return this._forEachChild((x,Ke)=>{b=g(b,x,Ke)}),b}_allControlsDisabled(){for(const C of Object.keys(this.controls))if(this.controls[C].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(C){return this.controls.hasOwnProperty(C)?this.controls[C]:null}}const J=se,Ae=new l.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Be}),Be="always";function wt(_,C){return[...C.path,_]}function _t(_,C,g=Be){Y(_,C),C.valueAccessor.writeValue(_.value),(_.disabled||"always"===g)&&C.valueAccessor.setDisabledState?.(_.disabled),function U(_,C){C.valueAccessor.registerOnChange(g=>{_._pendingValue=g,_._pendingChange=!0,_._pendingDirty=!0,"change"===_.updateOn&&Se(_,C)})}(_,C),function De(_,C){const g=(b,x)=>{C.valueAccessor.writeValue(b),x&&C.viewToModelUpdate(b)};_.registerOnChange(g),C._registerOnDestroy(()=>{_._unregisterOnChange(g)})}(_,C),function ie(_,C){C.valueAccessor.registerOnTouched(()=>{_._pendingTouched=!0,"blur"===_.updateOn&&_._pendingChange&&Se(_,C),"submit"!==_.updateOn&&_.markAsTouched()})}(_,C),function Cn(_,C){if(C.valueAccessor.setDisabledState){const g=b=>{C.valueAccessor.setDisabledState(b)};_.registerOnDisabledChange(g),C._registerOnDestroy(()=>{_._unregisterOnDisabledChange(g)})}}(_,C)}function Yt(_,C,g=!0){const b=()=>{};C.valueAccessor&&(C.valueAccessor.registerOnChange(b),C.valueAccessor.registerOnTouched(b)),L(_,C),_&&(C._invokeOnDestroyCallbacks(),_._registerOnCollectionChange(()=>{}))}function yn(_,C){_.forEach(g=>{g.registerOnValidatorChange&&g.registerOnValidatorChange(C)})}function Y(_,C){const g=pe(_);null!==C.validator?_.setValidators(me(g,C.validator)):"function"==typeof g&&_.setValidators([g]);const b=qe(_);null!==C.asyncValidator?_.setAsyncValidators(me(b,C.asyncValidator)):"function"==typeof b&&_.setAsyncValidators([b]);const x=()=>_.updateValueAndValidity();yn(C._rawValidators,x),yn(C._rawAsyncValidators,x)}function L(_,C){let g=!1;if(null!==_){if(null!==C.validator){const x=pe(_);if(Array.isArray(x)&&x.length>0){const Ke=x.filter(Dt=>Dt!==C.validator);Ke.length!==x.length&&(g=!0,_.setValidators(Ke))}}if(null!==C.asyncValidator){const x=qe(_);if(Array.isArray(x)&&x.length>0){const Ke=x.filter(Dt=>Dt!==C.asyncValidator);Ke.length!==x.length&&(g=!0,_.setAsyncValidators(Ke))}}}const b=()=>{};return yn(C._rawValidators,b),yn(C._rawAsyncValidators,b),g}function Se(_,C){_._pendingDirty&&_.markAsDirty(),_.setValue(_._pendingValue,{emitModelToViewChange:!1}),C.viewToModelUpdate(_._pendingValue),_._pendingChange=!1}function be(_,C){Y(_,C)}function Hn(_,C){if(!_.hasOwnProperty("model"))return!1;const g=_.model;return!!g.isFirstChange()||!Object.is(C,g.currentValue)}function ft(_,C){_._syncPendingControls(),C.forEach(g=>{const b=g.control;"submit"===b.updateOn&&b._pendingChange&&(g.viewToModelUpdate(b._pendingValue),b._pendingChange=!1)})}function je(_,C){if(!C)return null;let g,b,x;return Array.isArray(C),C.forEach(Ke=>{Ke.constructor===Pe?g=Ke:function pn(_){return Object.getPrototypeOf(_.constructor)===G}(Ke)?b=Ke:x=Ke}),x||b||g||null}const rn={provide:rt,useExisting:(0,l.Gpc)(()=>ln)},Ln=(()=>Promise.resolve())();let ln=(()=>{class _ extends rt{constructor(g,b,x){super(),this.callSetDisabledState=x,this.submitted=!1,this._directives=new Set,this.ngSubmit=new l.vpe,this.form=new se({},q(g),ne(b))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(g){Ln.then(()=>{const b=this._findContainer(g.path);g.control=b.registerControl(g.name,g.control),_t(g.control,g,this.callSetDisabledState),g.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(g)})}getControl(g){return this.form.get(g.path)}removeControl(g){Ln.then(()=>{const b=this._findContainer(g.path);b&&b.removeControl(g.name),this._directives.delete(g)})}addFormGroup(g){Ln.then(()=>{const b=this._findContainer(g.path),x=new se({});be(x,g),b.registerControl(g.name,x),x.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(g){Ln.then(()=>{const b=this._findContainer(g.path);b&&b.removeControl(g.name)})}getFormGroup(g){return this.form.get(g.path)}updateModel(g,b){Ln.then(()=>{this.form.get(g.path).setValue(b)})}setValue(g){this.control.setValue(g)}onSubmit(g){return this.submitted=!0,ft(this.form,this._directives),this.ngSubmit.emit(g),"dialog"===g?.target?.method}onReset(){this.resetForm()}resetForm(g=void 0){this.form.reset(g),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(g){return g.pop(),g.length?this.form.get(g):this.form}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(ze,10),l.Y36(Le,10),l.Y36(Ae,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(b,x){1&b&&l.NdJ("submit",function(Dt){return x.onSubmit(Dt)})("reset",function(){return x.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([rn]),l.qOj]})}return _})();function ir(_,C){const g=_.indexOf(C);g>-1&&_.splice(g,1)}function Wr(_){return"object"==typeof _&&null!==_&&2===Object.keys(_).length&&"value"in _&&"disabled"in _}const Kr=class extends Ti{constructor(C=null,g,b){super(Ne(g),Yn(b,g)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(C),this._setUpdateStrategy(g),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nr(g)&&(g.nonNullable||g.initialValueIsDefault)&&(this.defaultValue=Wr(C)?C.value:C)}setValue(C,g={}){this.value=this._pendingValue=C,this._onChange.length&&!1!==g.emitModelToViewChange&&this._onChange.forEach(b=>b(this.value,!1!==g.emitViewToModelChange)),this.updateValueAndValidity(g)}patchValue(C,g={}){this.setValue(C,g)}reset(C=this.defaultValue,g={}){this._applyFormState(C),this.markAsPristine(g),this.markAsUntouched(g),this.setValue(this.value,g),this._pendingChange=!1}_updateValue(){}_anyControls(C){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(C){this._onChange.push(C)}_unregisterOnChange(C){ir(this._onChange,C)}registerOnDisabledChange(C){this._onDisabledChange.push(C)}_unregisterOnDisabledChange(C){ir(this._onDisabledChange,C)}_forEachChild(C){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(C){Wr(C)?(this.value=this._pendingValue=C.value,C.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=C}},Yr=Kr,ci={provide:At,useExisting:(0,l.Gpc)(()=>dn)},un=(()=>Promise.resolve())();let dn=(()=>{class _ extends At{constructor(g,b,x,Ke,Dt,vr){super(),this._changeDetectorRef=Dt,this.callSetDisabledState=vr,this.control=new Kr,this._registered=!1,this.name="",this.update=new l.vpe,this._parent=g,this._setValidators(b),this._setAsyncValidators(x),this.valueAccessor=je(0,Ke)}ngOnChanges(g){if(this._checkForErrors(),!this._registered||"name"in g){if(this._registered&&(this._checkName(),this.formDirective)){const b=g.name.previousValue;this.formDirective.removeControl({name:b,path:this._getPath(b)})}this._setUpControl()}"isDisabled"in g&&this._updateDisabled(g),Hn(g,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){_t(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(g){un.then(()=>{this.control.setValue(g,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(g){const b=g.isDisabled.currentValue,x=0!==b&&(0,l.VuI)(b);un.then(()=>{x&&!this.control.disabled?this.control.disable():!x&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(g){return this._parent?wt(g,this._parent):[g]}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(rt,9),l.Y36(ze,10),l.Y36(Le,10),l.Y36(A,10),l.Y36(l.sBO,8),l.Y36(Ae,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[l._Bn([ci]),l.qOj,l.TTD]})}return _})(),hr=(()=>{class _{static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return _})();const qr={provide:A,useExisting:(0,l.Gpc)(()=>Jr),multi:!0};let Jr=(()=>{class _ extends G{writeValue(g){this.setProperty("value",g??"")}registerOnChange(g){this.onChange=b=>{g(""==b?null:parseFloat(b))}}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(b,x){1&b&&l.NdJ("input",function(Dt){return x.onChange(Dt.target.value)})("blur",function(){return x.onTouched()})},features:[l._Bn([qr]),l.qOj]})}return _})();const oo={provide:A,useExisting:(0,l.Gpc)(()=>Pi),multi:!0};let Oi=(()=>{class _{static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({})}return _})(),so=(()=>{class _{constructor(){this._accessors=[]}add(g,b){this._accessors.push([g,b])}remove(g){for(let b=this._accessors.length-1;b>=0;--b)if(this._accessors[b][1]===g)return void this._accessors.splice(b,1)}select(g){this._accessors.forEach(b=>{this._isSameGroup(b,g)&&b[1]!==g&&b[1].fireUncheck(g.value)})}_isSameGroup(g,b){return!!g[0].control&&g[0]._parent===b._control._parent&&g[1].name===b.name}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275prov=l.Yz7({token:_,factory:_.\u0275fac,providedIn:Oi})}return _})(),Pi=(()=>{class _ extends G{constructor(g,b,x,Ke){super(g,b),this._registry=x,this._injector=Ke,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,l.f3M)(Ae,{optional:!0})??Be}ngOnInit(){this._control=this._injector.get(At),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(g){this._state=g===this.value,this.setProperty("checked",this._state)}registerOnChange(g){this._fn=g,this.onChange=()=>{g(this.value),this._registry.select(this)}}setDisabledState(g){(this.setDisabledStateFired||g||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",g),this.setDisabledStateFired=!0}fireUncheck(g){this.writeValue(g)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(so),l.Y36(l.zs3))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(b,x){1&b&&l.NdJ("change",function(){return x.onChange()})("blur",function(){return x.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[l._Bn([oo]),l.qOj]})}return _})();const Ni=new l.OlP("NgModelWithFormControlWarning"),fi={provide:rt,useExisting:(0,l.Gpc)(()=>Fr)};let Fr=(()=>{class _ extends rt{constructor(g,b,x){super(),this.callSetDisabledState=x,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new l.vpe,this._setValidators(g),this._setAsyncValidators(b)}ngOnChanges(g){this._checkFormPresent(),g.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(L(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(g){const b=this.form.get(g.path);return _t(b,g,this.callSetDisabledState),b.updateValueAndValidity({emitEvent:!1}),this.directives.push(g),b}getControl(g){return this.form.get(g.path)}removeControl(g){Yt(g.control||null,g,!1),function In(_,C){const g=_.indexOf(C);g>-1&&_.splice(g,1)}(this.directives,g)}addFormGroup(g){this._setUpFormContainer(g)}removeFormGroup(g){this._cleanUpFormContainer(g)}getFormGroup(g){return this.form.get(g.path)}addFormArray(g){this._setUpFormContainer(g)}removeFormArray(g){this._cleanUpFormContainer(g)}getFormArray(g){return this.form.get(g.path)}updateModel(g,b){this.form.get(g.path).setValue(b)}onSubmit(g){return this.submitted=!0,ft(this.form,this.directives),this.ngSubmit.emit(g),"dialog"===g?.target?.method}onReset(){this.resetForm()}resetForm(g=void 0){this.form.reset(g),this.submitted=!1}_updateDomValue(){this.directives.forEach(g=>{const b=g.control,x=this.form.get(g.path);b!==x&&(Yt(b||null,g),(_=>_ instanceof Kr)(x)&&(_t(x,g,this.callSetDisabledState),g.control=x))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(g){const b=this.form.get(g.path);be(b,g),b.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(g){if(this.form){const b=this.form.get(g.path);b&&function Ut(_,C){return L(_,C)}(b,g)&&b.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Y(this.form,this),this._oldForm&&L(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(ze,10),l.Y36(Le,10),l.Y36(Ae,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","formGroup",""]],hostBindings:function(b,x){1&b&&l.NdJ("submit",function(Dt){return x.onSubmit(Dt)})("reset",function(){return x.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([fi]),l.qOj,l.TTD]})}return _})();const gn={provide:At,useExisting:(0,l.Gpc)(()=>qn)};let qn=(()=>{class _ extends At{set isDisabled(g){}static#e=this._ngModelWarningSentOnce=!1;constructor(g,b,x,Ke,Dt){super(),this._ngModelWarningConfig=Dt,this._added=!1,this.name=null,this.update=new l.vpe,this._ngModelWarningSent=!1,this._parent=g,this._setValidators(b),this._setAsyncValidators(x),this.valueAccessor=je(0,Ke)}ngOnChanges(g){this._added||this._setUpControl(),Hn(g,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}get path(){return wt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(b){return new(b||_)(l.Y36(rt,13),l.Y36(ze,10),l.Y36(Le,10),l.Y36(A,10),l.Y36(Ni,8))};static#n=this.\u0275dir=l.lG2({type:_,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[l._Bn([gn]),l.qOj,l.TTD]})}return _})();const Qt={provide:A,useExisting:(0,l.Gpc)(()=>Mr),multi:!0};function Jn(_,C){return null==_?`${C}`:(C&&"object"==typeof C&&(C="Object"),`${_}: ${C}`.slice(0,50))}let Mr=(()=>{class _ extends G{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(g){this._compareWith=g}writeValue(g){this.value=g;const x=Jn(this._getOptionId(g),g);this.setProperty("value",x)}registerOnChange(g){this.onChange=b=>{this.value=this._getOptionValue(b),g(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(g){for(const b of this._optionMap.keys())if(this._compareWith(this._optionMap.get(b),g))return b;return null}_getOptionValue(g){const b=function Xr(_){return _.split(":")[0]}(g);return this._optionMap.has(b)?this._optionMap.get(b):g}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(b,x){1&b&&l.NdJ("change",function(Dt){return x.onChange(Dt.target.value)})("blur",function(){return x.onTouched()})},inputs:{compareWith:"compareWith"},features:[l._Bn([Qt]),l.qOj]})}return _})(),uo=(()=>{class _{constructor(g,b,x){this._element=g,this._renderer=b,this._select=x,this._select&&(this.id=this._select._registerOption())}set ngValue(g){null!=this._select&&(this._select._optionMap.set(this.id,g),this._setElementValue(Jn(this.id,g)),this._select.writeValue(this._select.value))}set value(g){this._setElementValue(g),this._select&&this._select.writeValue(this._select.value)}_setElementValue(g){this._renderer.setProperty(this._element.nativeElement,"value",g)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(Mr,9))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return _})();const Sr={provide:A,useExisting:(0,l.Gpc)(()=>Ft),multi:!0};function jt(_,C){return null==_?`${C}`:("string"==typeof C&&(C=`'${C}'`),C&&"object"==typeof C&&(C="Object"),`${_}: ${C}`.slice(0,50))}let Ft=(()=>{class _ extends G{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(g){this._compareWith=g}writeValue(g){let b;if(this.value=g,Array.isArray(g)){const x=g.map(Ke=>this._getOptionId(Ke));b=(Ke,Dt)=>{Ke._setSelected(x.indexOf(Dt.toString())>-1)}}else b=(x,Ke)=>{x._setSelected(!1)};this._optionMap.forEach(b)}registerOnChange(g){this.onChange=b=>{const x=[],Ke=b.selectedOptions;if(void 0!==Ke){const Dt=Ke;for(let vr=0;vr{class _{constructor(g,b,x){this._element=g,this._renderer=b,this._select=x,this._select&&(this.id=this._select._registerOption(this))}set ngValue(g){null!=this._select&&(this._value=g,this._setElementValue(jt(this.id,g)),this._select.writeValue(this._select.value))}set value(g){this._select?(this._value=g,this._setElementValue(jt(this.id,g)),this._select.writeValue(this._select.value)):this._setElementValue(g)}_setElementValue(g){this._renderer.setProperty(this._element.nativeElement,"value",g)}_setSelected(g){this._renderer.setProperty(this._element.nativeElement,"selected",g)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(Ft,9))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return _})();let Nn=(()=>{class _{constructor(){this._validator=_e}ngOnChanges(g){if(this.inputName in g){const b=this.normalizeInput(g[this.inputName].currentValue);this._enabled=this.enabled(b),this._validator=this._enabled?this.createValidator(b):_e,this._onChange&&this._onChange()}}validate(g){return this._validator(g)}registerOnValidatorChange(g){this._onChange=g}enabled(g){return null!=g}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275dir=l.lG2({type:_,features:[l.TTD]})}return _})();const gi={provide:ze,useExisting:(0,l.Gpc)(()=>pr),multi:!0};let pr=(()=>{class _ extends Nn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=l.VuI,this.createValidator=g=>$e}enabled(g){return g}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(b,x){2&b&&l.uIk("required",x._enabled?"":null)},inputs:{required:"required"},features:[l._Bn([gi]),l.qOj]})}return _})();const Ur={provide:ze,useExisting:(0,l.Gpc)(()=>zn),multi:!0};let zn=(()=>{class _ extends Nn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=g=>function Ir(_){return"number"==typeof _?_:parseInt(_,10)}(g),this.createValidator=g=>function Ze(_){return C=>function ht(_){return null!=_&&"number"==typeof _.length}(C.value)&&C.value.length>_?{maxlength:{requiredLength:_,actualLength:C.value.length}}:null}(g)}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(b,x){2&b&&l.uIk("maxlength",x._enabled?x.maxlength:null)},inputs:{maxlength:"maxlength"},features:[l._Bn([Ur]),l.qOj]})}return _})(),mi=(()=>{class _{static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({imports:[Oi]})}return _})(),An=(()=>{class _{static withConfig(g){return{ngModule:_,providers:[{provide:Ae,useValue:g.callSetDisabledState??Be}]}}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({imports:[mi]})}return _})(),Li=(()=>{class _{static withConfig(g){return{ngModule:_,providers:[{provide:Ni,useValue:g.warnOnNgModelWithFormControl??"always"},{provide:Ae,useValue:g.callSetDisabledState??Be}]}}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({imports:[mi]})}return _})()},6593:(Ue,oe,S)=>{S.d(oe,{Dx:()=>Oe,b2:()=>W,q6:()=>kt});var l=S(6689),v=S(6814);class ee extends v.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Z extends ee{static makeCurrent(){(0,v.HT)(new Z)}onAndCancel(J,F,H){return J.addEventListener(F,H),()=>{J.removeEventListener(F,H)}}dispatchEvent(J,F){J.dispatchEvent(F)}remove(J){J.parentNode&&J.parentNode.removeChild(J)}createElement(J,F){return(F=F||this.getDefaultDocument()).createElement(J)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(J){return J.nodeType===Node.ELEMENT_NODE}isShadowRoot(J){return J instanceof DocumentFragment}getGlobalEventTarget(J,F){return"window"===F?window:"document"===F?J:"body"===F?J.body:null}getBaseHref(J){const F=function B(){return j=j||document.querySelector("base"),j?j.getAttribute("href"):null}();return null==F?null:function A(se){G=G||document.createElement("a"),G.setAttribute("href",se);const J=G.pathname;return"/"===J.charAt(0)?J:`/${J}`}(F)}resetBaseElement(){j=null}getUserAgent(){return window.navigator.userAgent}getCookie(J){return(0,v.Mx)(document.cookie,J)}}let G,j=null,N=(()=>{class se{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(H){return new(H||se)};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const V=new l.OlP("EventManagerPlugins");let ue=(()=>{class se{constructor(F,H){this._zone=H,this._eventNameToPlugin=new Map,F.forEach(le=>{le.manager=this}),this._plugins=F.slice().reverse()}addEventListener(F,H,le){return this._findPluginFor(H).addEventListener(F,H,le)}getZone(){return this._zone}_findPluginFor(F){let H=this._eventNameToPlugin.get(F);if(H)return H;if(H=this._plugins.find(Ae=>Ae.supports(F)),!H)throw new l.vHH(5101,!1);return this._eventNameToPlugin.set(F,H),H}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(V),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();class xe{constructor(J){this._doc=J}}const Pe="ng-app-id";let Ve=(()=>{class se{constructor(F,H,le,Ae={}){this.doc=F,this.appId=H,this.nonce=le,this.platformId=Ae,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,v.PM)(Ae),this.resetHostNodes()}addStyles(F){for(const H of F)1===this.changeUsageCount(H,1)&&this.onStyleAdded(H)}removeStyles(F){for(const H of F)this.changeUsageCount(H,-1)<=0&&this.onStyleRemoved(H)}ngOnDestroy(){const F=this.styleNodesInDOM;F&&(F.forEach(H=>H.remove()),F.clear());for(const H of this.getAllStyles())this.onStyleRemoved(H);this.resetHostNodes()}addHost(F){this.hostNodes.add(F);for(const H of this.getAllStyles())this.addStyleToHost(F,H)}removeHost(F){this.hostNodes.delete(F)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(F){for(const H of this.hostNodes)this.addStyleToHost(H,F)}onStyleRemoved(F){const H=this.styleRef;H.get(F)?.elements?.forEach(le=>le.remove()),H.delete(F)}collectServerRenderedStyles(){const F=this.doc.head?.querySelectorAll(`style[${Pe}="${this.appId}"]`);if(F?.length){const H=new Map;return F.forEach(le=>{null!=le.textContent&&H.set(le.textContent,le)}),H}return null}changeUsageCount(F,H){const le=this.styleRef;if(le.has(F)){const Ae=le.get(F);return Ae.usage+=H,Ae.usage}return le.set(F,{usage:H,elements:[]}),H}getStyleElement(F,H){const le=this.styleNodesInDOM,Ae=le?.get(H);if(Ae?.parentNode===F)return le.delete(H),Ae.removeAttribute(Pe),Ae;{const Be=this.doc.createElement("style");return this.nonce&&Be.setAttribute("nonce",this.nonce),Be.textContent=H,this.platformIsServer&&Be.setAttribute(Pe,this.appId),Be}}addStyleToHost(F,H){const le=this.getStyleElement(F,H);F.appendChild(le);const Ae=this.styleRef,Be=Ae.get(H)?.elements;Be?Be.push(le):Ae.set(H,{elements:[le],usage:1})}resetHostNodes(){const F=this.hostNodes;F.clear(),F.add(this.doc.head)}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0),l.LFG(l.AFp),l.LFG(l.Ojb,8),l.LFG(l.Lbi))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const ht={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,Ce=new l.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Te(se,J){return J.map(F=>F.replace(ze,se))}let ve=(()=>{class se{constructor(F,H,le,Ae,Be,wt,_t,Yt=null){this.eventManager=F,this.sharedStylesHost=H,this.appId=le,this.removeStylesOnCompDestroy=Ae,this.doc=Be,this.platformId=wt,this.ngZone=_t,this.nonce=Yt,this.rendererByCompId=new Map,this.platformIsServer=(0,v.PM)(wt),this.defaultRenderer=new Ze(F,Be,_t,this.platformIsServer)}createRenderer(F,H){if(!F||!H)return this.defaultRenderer;this.platformIsServer&&H.encapsulation===l.ifc.ShadowDom&&(H={...H,encapsulation:l.ifc.Emulated});const le=this.getOrCreateRenderer(F,H);return le instanceof zt?le.applyToHost(F):le instanceof Qe&&le.applyStyles(),le}getOrCreateRenderer(F,H){const le=this.rendererByCompId;let Ae=le.get(H.id);if(!Ae){const Be=this.doc,wt=this.ngZone,_t=this.eventManager,Yt=this.sharedStylesHost,yn=this.removeStylesOnCompDestroy,Cn=this.platformIsServer;switch(H.encapsulation){case l.ifc.Emulated:Ae=new zt(_t,Yt,H,this.appId,yn,Be,wt,Cn);break;case l.ifc.ShadowDom:return new He(_t,Yt,F,H,Be,wt,this.nonce,Cn);default:Ae=new Qe(_t,Yt,H,yn,Be,wt,Cn)}le.set(H.id,Ae)}return Ae}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(ue),l.LFG(Ve),l.LFG(l.AFp),l.LFG(Ce),l.LFG(v.K0),l.LFG(l.Lbi),l.LFG(l.R0b),l.LFG(l.Ojb))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();class Ze{constructor(J,F,H,le){this.eventManager=J,this.doc=F,this.ngZone=H,this.platformIsServer=le,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(J,F){return F?this.doc.createElementNS(ht[F]||F,J):this.doc.createElement(J)}createComment(J){return this.doc.createComment(J)}createText(J){return this.doc.createTextNode(J)}appendChild(J,F){(Gt(J)?J.content:J).appendChild(F)}insertBefore(J,F,H){J&&(Gt(J)?J.content:J).insertBefore(F,H)}removeChild(J,F){J&&J.removeChild(F)}selectRootElement(J,F){let H="string"==typeof J?this.doc.querySelector(J):J;if(!H)throw new l.vHH(-5104,!1);return F||(H.textContent=""),H}parentNode(J){return J.parentNode}nextSibling(J){return J.nextSibling}setAttribute(J,F,H,le){if(le){F=le+":"+F;const Ae=ht[le];Ae?J.setAttributeNS(Ae,F,H):J.setAttribute(F,H)}else J.setAttribute(F,H)}removeAttribute(J,F,H){if(H){const le=ht[H];le?J.removeAttributeNS(le,F):J.removeAttribute(`${H}:${F}`)}else J.removeAttribute(F)}addClass(J,F){J.classList.add(F)}removeClass(J,F){J.classList.remove(F)}setStyle(J,F,H,le){le&(l.JOm.DashCase|l.JOm.Important)?J.style.setProperty(F,H,le&l.JOm.Important?"important":""):J.style[F]=H}removeStyle(J,F,H){H&l.JOm.DashCase?J.style.removeProperty(F):J.style[F]=""}setProperty(J,F,H){J[F]=H}setValue(J,F){J.nodeValue=F}listen(J,F,H){if("string"==typeof J&&!(J=(0,v.q)().getGlobalEventTarget(this.doc,J)))throw new Error(`Unsupported event target ${J} for event ${F}`);return this.eventManager.addEventListener(J,F,this.decoratePreventDefault(H))}decoratePreventDefault(J){return F=>{if("__ngUnwrap__"===F)return J;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>J(F)):J(F))&&F.preventDefault()}}}function Gt(se){return"TEMPLATE"===se.tagName&&void 0!==se.content}class He extends Ze{constructor(J,F,H,le,Ae,Be,wt,_t){super(J,Ae,Be,_t),this.sharedStylesHost=F,this.hostEl=H,this.shadowRoot=H.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Yt=Te(le.id,le.styles);for(const yn of Yt){const Cn=document.createElement("style");wt&&Cn.setAttribute("nonce",wt),Cn.textContent=yn,this.shadowRoot.appendChild(Cn)}}nodeOrShadowRoot(J){return J===this.hostEl?this.shadowRoot:J}appendChild(J,F){return super.appendChild(this.nodeOrShadowRoot(J),F)}insertBefore(J,F,H){return super.insertBefore(this.nodeOrShadowRoot(J),F,H)}removeChild(J,F){return super.removeChild(this.nodeOrShadowRoot(J),F)}parentNode(J){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(J)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qe extends Ze{constructor(J,F,H,le,Ae,Be,wt,_t){super(J,Ae,Be,wt),this.sharedStylesHost=F,this.removeStylesOnCompDestroy=le,this.styles=_t?Te(_t,H.styles):H.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class zt extends Qe{constructor(J,F,H,le,Ae,Be,wt,_t){const Yt=le+"-"+H.id;super(J,F,H,Ae,Be,wt,_t,Yt),this.contentAttr=function $e(se){return"_ngcontent-%COMP%".replace(ze,se)}(Yt),this.hostAttr=function Ee(se){return"_nghost-%COMP%".replace(ze,se)}(Yt)}applyToHost(J){this.applyStyles(),this.setAttribute(J,this.hostAttr,"")}createElement(J,F){const H=super.createElement(J,F);return super.setAttribute(H,this.contentAttr,""),H}}let Mt=(()=>{class se extends xe{constructor(F){super(F)}supports(F){return!0}addEventListener(F,H,le){return F.addEventListener(H,le,!1),()=>this.removeEventListener(F,H,le)}removeEventListener(F,H,le){return F.removeEventListener(H,le)}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const sn=["alt","control","meta","shift"],Q={"\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"},q={alt:se=>se.altKey,control:se=>se.ctrlKey,meta:se=>se.metaKey,shift:se=>se.shiftKey};let re=(()=>{class se extends xe{constructor(F){super(F)}supports(F){return null!=se.parseEventName(F)}addEventListener(F,H,le){const Ae=se.parseEventName(H),Be=se.eventCallback(Ae.fullKey,le,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,v.q)().onAndCancel(F,Ae.domEventName,Be))}static parseEventName(F){const H=F.toLowerCase().split("."),le=H.shift();if(0===H.length||"keydown"!==le&&"keyup"!==le)return null;const Ae=se._normalizeKey(H.pop());let Be="",wt=H.indexOf("code");if(wt>-1&&(H.splice(wt,1),Be="code."),sn.forEach(Yt=>{const yn=H.indexOf(Yt);yn>-1&&(H.splice(yn,1),Be+=Yt+".")}),Be+=Ae,0!=H.length||0===Ae.length)return null;const _t={};return _t.domEventName=le,_t.fullKey=Be,_t}static matchEventFullKeyCode(F,H){let le=Q[F.key]||F.key,Ae="";return H.indexOf("code.")>-1&&(le=F.code,Ae="code."),!(null==le||!le)&&(le=le.toLowerCase()," "===le?le="space":"."===le&&(le="dot"),sn.forEach(Be=>{Be!==le&&(0,q[Be])(F)&&(Ae+=Be+".")}),Ae+=le,Ae===H)}static eventCallback(F,H,le){return Ae=>{se.matchEventFullKeyCode(Ae,F)&&le.runGuarded(()=>H(Ae))}}static _normalizeKey(F){return"esc"===F?"escape":F}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const kt=(0,l.eFA)(l._c5,"browser",[{provide:l.Lbi,useValue:v.bD},{provide:l.g9A,useValue:function ut(){Z.makeCurrent()},multi:!0},{provide:v.K0,useFactory:function ke(){return(0,l.RDi)(document),document},deps:[]}]),rt=new l.OlP(""),At=[{provide:l.rWj,useClass:class T{addToWindow(J){l.dqk.getAngularTestability=(H,le=!0)=>{const Ae=J.findTestabilityInTree(H,le);if(null==Ae)throw new l.vHH(5103,!1);return Ae},l.dqk.getAllAngularTestabilities=()=>J.getAllTestabilities(),l.dqk.getAllAngularRootElements=()=>J.getAllRootElements(),l.dqk.frameworkStabilizers||(l.dqk.frameworkStabilizers=[]),l.dqk.frameworkStabilizers.push(H=>{const le=l.dqk.getAllAngularTestabilities();let Ae=le.length,Be=!1;const wt=function(_t){Be=Be||_t,Ae--,0==Ae&&H(Be)};le.forEach(_t=>{_t.whenStable(wt)})})}findTestabilityInTree(J,F,H){return null==F?null:J.getTestability(F)??(H?(0,v.q)().isShadowRoot(F)?this.findTestabilityInTree(J,F.host,!0):this.findTestabilityInTree(J,F.parentElement,!0):null)}},deps:[]},{provide:l.lri,useClass:l.dDg,deps:[l.R0b,l.eoX,l.rWj]},{provide:l.dDg,useClass:l.dDg,deps:[l.R0b,l.eoX,l.rWj]}],Nt=[{provide:l.zSh,useValue:"root"},{provide:l.qLn,useFactory:function Lt(){return new l.qLn},deps:[]},{provide:V,useClass:Mt,multi:!0,deps:[v.K0,l.R0b,l.Lbi]},{provide:V,useClass:re,multi:!0,deps:[v.K0]},ve,Ve,ue,{provide:l.FYo,useExisting:ve},{provide:v.JF,useClass:N,deps:[]},[]];let W=(()=>{class se{constructor(F){}static withServerTransition(F){return{ngModule:se,providers:[{provide:l.AFp,useValue:F.appId}]}}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(rt,12))};static#t=this.\u0275mod=l.oAB({type:se});static#n=this.\u0275inj=l.cJS({providers:[...Nt,...At],imports:[v.ez,l.hGG]})}return se})(),Oe=(()=>{class se{constructor(F){this._doc=F}getTitle(){return this._doc.title}setTitle(F){this._doc.title=F||""}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0))};static#t=this.\u0275prov=l.Yz7({token:se,factory:function(H){let le=null;return le=H?new H:function he(){return new Oe((0,l.LFG)(v.K0))}(),le},providedIn:"root"})}return se})();typeof window<"u"&&window},9919:(Ue,oe,S)=>{S.d(oe,{gz:()=>Sr,Eb:()=>di,gk:()=>dn,m2:()=>un,Q3:()=>qr,OD:()=>ci,F0:()=>Xt,rH:()=>ti,Od:()=>Qn,Bz:()=>jr,lC:()=>qt,R9:()=>Jr});var l=S(6689),v=S(5592),ee=S(4674),j=S(7715),B=S(2096),G=S(5619),A=S(7453),T=S(2737),N=S(7400),V=S(4564),ue=S(2714),xe=S(8251),Pe=S(7103);function Ve(...c){const f=(0,V.yG)(c),a=(0,V.jO)(c),{args:p,keys:y}=(0,A.D)(c);if(0===p.length)return(0,j.D)([],f);const I=new v.y(function ht(c,f,a=T.y){return p=>{ze(f,()=>{const{length:y}=c,I=new Array(y);let P=y,X=y;for(let K=0;K{const we=(0,j.D)(c[K],f);let at=!1;we.subscribe((0,xe.x)(p,Ht=>{I[K]=Ht,at||(at=!0,X--),X||p.next(a(I.slice()))},()=>{--P||p.complete()}))},p)},p)}}(p,f,y?P=>(0,ue.n)(y,P):T.y));return a?I.pipe((0,N.Z)(a)):I}function ze(c,f,a){c?(0,Pe.f)(a,c,f):f()}const mt=(0,S(2306).d)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"});var Xe=S(7537);function Ce(...c){return function Ie(){return(0,Xe.J)(1)}()((0,j.D)(c,(0,V.yG)(c)))}var $e=S(4829);function Ee(c){return new v.y(f=>{(0,$e.Xf)(c()).subscribe(f)})}var Te=S(8407),ve=S(8504),Ze=S(6232),Ye=S(7394),_e=S(9360);function Gt(){return(0,_e.e)((c,f)=>{let a=null;c._refCount++;const p=(0,xe.x)(f,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(a=null);const y=c._connection,I=a;a=null,y&&(!I||y===I)&&y.unsubscribe(),f.unsubscribe()});c.subscribe(p),p.closed||(a=c.connect())})}class He extends v.y{constructor(f,a){super(),this.source=f,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,_e.A)(f)&&(this.lift=f.lift)}_subscribe(f){return this.getSubject().subscribe(f)}getSubject(){const f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:f}=this;this._subject=this._connection=null,f?.unsubscribe()}connect(){let f=this._connection;if(!f){f=this._connection=new Ye.w0;const a=this.getSubject();f.add(this.source.subscribe((0,xe.x)(a,void 0,()=>{this._teardown(),a.complete()},p=>{this._teardown(),a.error(p)},()=>this._teardown()))),f.closed&&(this._connection=null,f=Ye.w0.EMPTY)}return f}refCount(){return Gt()(this)}}var Qe=S(8645),zt=S(6814),Mt=S(7398),sn=S(4664),Q=S(8180),re=S(2181),ne=S(1631);function me(c){return(0,_e.e)((f,a)=>{let p=!1;f.subscribe((0,xe.x)(a,y=>{p=!0,a.next(y)},()=>{p||a.next(c),a.complete()}))})}function pe(c=qe){return(0,_e.e)((f,a)=>{let p=!1;f.subscribe((0,xe.x)(a,y=>{p=!0,a.next(y)},()=>p?a.complete():a.error(c())))})}function qe(){return new mt}function ut(c,f){const a=arguments.length>=2;return p=>p.pipe(c?(0,re.h)((y,I)=>c(y,I,p)):T.y,(0,Q.q)(1),a?me(f):pe(()=>new mt))}var Lt=S(6328);function ke(c,f,a){const p=(0,ee.m)(c)||f||a?{next:c,error:f,complete:a}:c;return p?(0,_e.e)((y,I)=>{var P;null===(P=p.subscribe)||void 0===P||P.call(p);let X=!0;y.subscribe((0,xe.x)(I,K=>{var we;null===(we=p.next)||void 0===we||we.call(p,K),I.next(K)},()=>{var K;X=!1,null===(K=p.complete)||void 0===K||K.call(p),I.complete()},K=>{var we;X=!1,null===(we=p.error)||void 0===we||we.call(p,K),I.error(K)},()=>{var K,we;X&&(null===(K=p.unsubscribe)||void 0===K||K.call(p)),null===(we=p.finalize)||void 0===we||we.call(p)}))}):T.y}var vt=S(6306);function At(c){return c<=0?()=>Ze.E:(0,_e.e)((f,a)=>{let p=[];f.subscribe((0,xe.x)(a,y=>{p.push(y),c{for(const y of p)a.next(y);a.complete()},void 0,()=>{p=null}))})}var Vt=S(4716),ye=S(2420),he=S(6593);const Oe="primary",yt=Symbol("RouteTitle");class Tt{constructor(f){this.params=f||{}}has(f){return Object.prototype.hasOwnProperty.call(this.params,f)}get(f){if(this.has(f)){const a=this.params[f];return Array.isArray(a)?a[0]:a}return null}getAll(f){if(this.has(f)){const a=this.params[f];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function Rt(c){return new Tt(c)}function Je(c,f,a){const p=a.path.split("/");if(p.length>c.length||"full"===a.pathMatch&&(f.hasChildren()||p.lengthp[I]===y)}return c===f}function Mn(c){return c.length>0?c[c.length-1]:null}function _n(c){return function Z(c){return!!c&&(c instanceof v.y||(0,ee.m)(c.lift)&&(0,ee.m)(c.subscribe))}(c)?c:(0,l.QGY)(c)?(0,j.D)(Promise.resolve(c)):(0,B.of)(c)}const vn={exact:function st(c,f,a){if(!Sn(c.segments,f.segments)||!On(c.segments,f.segments,a)||c.numberOfChildren!==f.numberOfChildren)return!1;for(const p in f.children)if(!c.children[p]||!st(c.children[p],f.children[p],a))return!1;return!0},subset:Bn},ct={exact:function ui(c,f){return mn(c,f)},subset:function zr(c,f){return Object.keys(f).length<=Object.keys(c).length&&Object.keys(f).every(a=>Kn(c[a],f[a]))},ignored:()=>!0};function Ot(c,f,a){return vn[a.paths](c.root,f.root,a.matrixParams)&&ct[a.queryParams](c.queryParams,f.queryParams)&&!("exact"===a.fragment&&c.fragment!==f.fragment)}function Bn(c,f,a){return xt(c,f,f.segments,a)}function xt(c,f,a,p){if(c.segments.length>a.length){const y=c.segments.slice(0,a.length);return!(!Sn(y,a)||f.hasChildren()||!On(y,a,p))}if(c.segments.length===a.length){if(!Sn(c.segments,a)||!On(c.segments,a,p))return!1;for(const y in f.children)if(!c.children[y]||!Bn(c.children[y],f.children[y],p))return!1;return!0}{const y=a.slice(0,c.segments.length),I=a.slice(c.segments.length);return!!(Sn(c.segments,y)&&On(c.segments,y,p)&&c.children[Oe])&&xt(c.children[Oe],f,I,p)}}function On(c,f,a){return f.every((p,y)=>ct[a](c[y].parameters,p.parameters))}class tn{constructor(f=new Ne([],{}),a={},p=null){this.root=f,this.queryParams=a,this.fragment=p}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Rt(this.queryParams)),this._queryParamMap}toString(){return Ti.serialize(this)}}class Ne{constructor(f,a){this.segments=f,this.children=a,this.parent=null,Object.values(a).forEach(p=>p.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return se(this)}}class Fn{constructor(f,a){this.path=f,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=Rt(this.parameters)),this._parameterMap}toString(){return _t(this)}}function Sn(c,f){return c.length===f.length&&c.every((a,p)=>a.path===f[p].path)}let rr=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return new cr},providedIn:"root"})}return c})();class cr{parse(f){const a=new Ut(f);return new tn(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(f){const a=`/${J(f.root,!0)}`,p=function yn(c){const f=Object.keys(c).map(a=>{const p=c[a];return Array.isArray(p)?p.map(y=>`${H(a)}=${H(y)}`).join("&"):`${H(a)}=${H(p)}`}).filter(a=>!!a);return f.length?`?${f.join("&")}`:""}(f.queryParams);return`${a}${p}${"string"==typeof f.fragment?`#${function le(c){return encodeURI(c)}(f.fragment)}`:""}`}}const Ti=new cr;function se(c){return c.segments.map(f=>_t(f)).join("/")}function J(c,f){if(!c.hasChildren())return se(c);if(f){const a=c.children[Oe]?J(c.children[Oe],!1):"",p=[];return Object.entries(c.children).forEach(([y,I])=>{y!==Oe&&p.push(`${y}:${J(I,!1)}`)}),p.length>0?`${a}(${p.join("//")})`:a}{const a=function nr(c,f){let a=[];return Object.entries(c.children).forEach(([p,y])=>{p===Oe&&(a=a.concat(f(y,p)))}),Object.entries(c.children).forEach(([p,y])=>{p!==Oe&&(a=a.concat(f(y,p)))}),a}(c,(p,y)=>y===Oe?[J(c.children[Oe],!1)]:[`${y}:${J(p,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[Oe]?`${se(c)}/${a[0]}`:`${se(c)}/(${a.join("//")})`}}function F(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function H(c){return F(c).replace(/%3B/gi,";")}function Ae(c){return F(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Be(c){return decodeURIComponent(c)}function wt(c){return Be(c.replace(/\+/g,"%20"))}function _t(c){return`${Ae(c.path)}${function Yt(c){return Object.keys(c).map(f=>`;${Ae(f)}=${Ae(c[f])}`).join("")}(c.parameters)}`}const Cn=/^[^\/()?;#]+/;function Y(c){const f=c.match(Cn);return f?f[0]:""}const L=/^[^\/()?;=#]+/,ie=/^[^=?&#]+/,De=/^[^&#]+/;class Ut{constructor(f){this.url=f,this.remaining=f}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ne([],{}):new Ne([],this.parseChildren())}parseQueryParams(){const f={};if(this.consumeOptional("?"))do{this.parseQueryParam(f)}while(this.consumeOptional("&"));return f}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const f=[];for(this.peekStartsWith("(")||f.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),f.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let p={};return this.peekStartsWith("(")&&(p=this.parseParens(!1)),(f.length>0||Object.keys(a).length>0)&&(p[Oe]=new Ne(f,a)),p}parseSegment(){const f=Y(this.remaining);if(""===f&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(f),new Fn(Be(f),this.parseMatrixParams())}parseMatrixParams(){const f={};for(;this.consumeOptional(";");)this.parseParam(f);return f}parseParam(f){const a=function U(c){const f=c.match(L);return f?f[0]:""}(this.remaining);if(!a)return;this.capture(a);let p="";if(this.consumeOptional("=")){const y=Y(this.remaining);y&&(p=y,this.capture(p))}f[Be(a)]=Be(p)}parseQueryParam(f){const a=function Se(c){const f=c.match(ie);return f?f[0]:""}(this.remaining);if(!a)return;this.capture(a);let p="";if(this.consumeOptional("=")){const P=function be(c){const f=c.match(De);return f?f[0]:""}(this.remaining);P&&(p=P,this.capture(p))}const y=wt(a),I=wt(p);if(f.hasOwnProperty(y)){let P=f[y];Array.isArray(P)||(P=[P],f[y]=P),P.push(I)}else f[y]=I}parseParens(f){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const p=Y(this.remaining),y=this.remaining[p.length];if("/"!==y&&")"!==y&&";"!==y)throw new l.vHH(4010,!1);let I;p.indexOf(":")>-1?(I=p.slice(0,p.indexOf(":")),this.capture(I),this.capture(":")):f&&(I=Oe);const P=this.parseChildren();a[I]=1===Object.keys(P).length?P[Oe]:new Ne([],P),this.consumeOptional("//")}return a}peekStartsWith(f){return this.remaining.startsWith(f)}consumeOptional(f){return!!this.peekStartsWith(f)&&(this.remaining=this.remaining.substring(f.length),!0)}capture(f){if(!this.consumeOptional(f))throw new l.vHH(4011,!1)}}function tt(c){return c.segments.length>0?new Ne([],{[Oe]:c}):c}function cn(c){const f={};for(const p of Object.keys(c.children)){const I=cn(c.children[p]);if(p===Oe&&0===I.segments.length&&I.hasChildren())for(const[P,X]of Object.entries(I.children))f[P]=X;else(I.segments.length>0||I.hasChildren())&&(f[p]=I)}return function jn(c){if(1===c.numberOfChildren&&c.children[Oe]){const f=c.children[Oe];return new Ne(c.segments.concat(f.segments),f.children)}return c}(new Ne(c.segments,f))}function an(c){return c instanceof tn}function Hn(c){let f;const y=tt(function a(I){const P={};for(const K of I.children){const we=a(K);P[K.outlet]=we}const X=new Ne(I.url,P);return I===c&&(f=X),X}(c.root));return f??y}function pn(c,f,a,p){let y=c;for(;y.parent;)y=y.parent;if(0===f.length)return In(y,y,y,a,p);const I=function Ln(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new rn(!0,0,c);let f=0,a=!1;const p=c.reduce((y,I,P)=>{if("object"==typeof I&&null!=I){if(I.outlets){const X={};return Object.entries(I.outlets).forEach(([K,we])=>{X[K]="string"==typeof we?we.split("/"):we}),[...y,{outlets:X}]}if(I.segmentPath)return[...y,I.segmentPath]}return"string"!=typeof I?[...y,I]:0===P?(I.split("/").forEach((X,K)=>{0==K&&"."===X||(0==K&&""===X?a=!0:".."===X?f++:""!=X&&y.push(X))}),y):[...y,I]},[]);return new rn(a,f,p)}(f);if(I.toRoot())return In(y,y,new Ne([],{}),a,p);const P=function ir(c,f,a){if(c.isAbsolute)return new ln(f,!0,0);if(!a)return new ln(f,!1,NaN);if(null===a.parent)return new ln(a,!0,0);const p=ft(c.commands[0])?0:1;return function Wr(c,f,a){let p=c,y=f,I=a;for(;I>y;){if(I-=y,p=p.parent,!p)throw new l.vHH(4005,!1);y=p.segments.length}return new ln(p,!1,y-I)}(a,a.segments.length-1+p,c.numberOfDoubleDots)}(I,y,c),X=P.processChildren?fr(P.segmentGroup,P.index,I.commands):Yr(P.segmentGroup,P.index,I.commands);return In(y,P.segmentGroup,X,a,p)}function ft(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function je(c){return"object"==typeof c&&null!=c&&c.outlets}function In(c,f,a,p,y){let P,I={};p&&Object.entries(p).forEach(([K,we])=>{I[K]=Array.isArray(we)?we.map(at=>`${at}`):`${we}`}),P=c===f?a:dr(c,f,a);const X=tt(cn(P));return new tn(X,I,y)}function dr(c,f,a){const p={};return Object.entries(c.children).forEach(([y,I])=>{p[y]=I===f?a:dr(I,f,a)}),new Ne(c.segments,p)}class rn{constructor(f,a,p){if(this.isAbsolute=f,this.numberOfDoubleDots=a,this.commands=p,f&&p.length>0&&ft(p[0]))throw new l.vHH(4003,!1);const y=p.find(je);if(y&&y!==Mn(p))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ln{constructor(f,a,p){this.segmentGroup=f,this.processChildren=a,this.index=p}}function Yr(c,f,a){if(c||(c=new Ne([],{})),0===c.segments.length&&c.hasChildren())return fr(c,f,a);const p=function xr(c,f,a){let p=0,y=f;const I={match:!1,pathIndex:0,commandIndex:0};for(;y=a.length)return I;const P=c.segments[y],X=a[p];if(je(X))break;const K=`${X}`,we=p0&&void 0===K)break;if(K&&we&&"object"==typeof we&&void 0===we.outlets){if(!Wi(K,we,P))return I;p+=2}else{if(!Wi(K,{},P))return I;p++}y++}return{match:!0,pathIndex:y,commandIndex:p}}(c,f,a),y=a.slice(p.commandIndex);if(p.match&&p.pathIndexI!==Oe)&&c.children[Oe]&&1===c.numberOfChildren&&0===c.children[Oe].segments.length){const I=fr(c.children[Oe],f,a);return new Ne(c.segments,I.children)}return Object.entries(p).forEach(([I,P])=>{"string"==typeof P&&(P=[P]),null!==P&&(y[I]=Yr(c.children[I],f,P))}),Object.entries(c.children).forEach(([I,P])=>{void 0===p[I]&&(y[I]=P)}),new Ne(c.segments,y)}}function wr(c,f,a){const p=c.segments.slice(0,f);let y=0;for(;y{"string"==typeof p&&(p=[p]),null!==p&&(f[a]=wr(new Ne([],{}),0,p))}),f}function io(c){const f={};return Object.entries(c).forEach(([a,p])=>f[a]=`${p}`),f}function Wi(c,f,a){return c==a.path&&mn(f,a.parameters)}const Zr="imperative";class Zn{constructor(f,a){this.id=f,this.url=a}}class ci extends Zn{constructor(f,a,p="imperative",y=null){super(f,a),this.type=0,this.navigationTrigger=p,this.restoredState=y}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class un extends Zn{constructor(f,a,p){super(f,a),this.urlAfterRedirects=p,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class dn extends Zn{constructor(f,a,p,y){super(f,a),this.reason=p,this.code=y,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class hr extends Zn{constructor(f,a,p,y){super(f,a),this.reason=p,this.code=y,this.type=16}}class qr extends Zn{constructor(f,a,p,y){super(f,a),this.error=p,this.target=y,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Jr extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oo extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ao extends Zn{constructor(f,a,p,y,I){super(f,a),this.urlAfterRedirects=p,this.state=y,this.shouldActivate=I,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Oi extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class so extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pi{constructor(f){this.route=f,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ao{constructor(f){this.route=f,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class di{constructor(f){this.snapshot=f,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ni{constructor(f){this.snapshot=f,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lo{constructor(f){this.snapshot=f,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ri{constructor(f){this.snapshot=f,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{constructor(f,a,p){this.routerEvent=f,this.position=a,this.anchor=p,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Fr{}class hi{constructor(f){this.url=f}}class Ki{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new dt,this.attachRef=null}}let dt=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(a,p){const y=this.getOrCreateContext(a);y.outlet=p,this.contexts.set(a,y)}onChildOutletDestroyed(a){const p=this.getContext(a);p&&(p.outlet=null,p.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let p=this.getContext(a);return p||(p=new Ki,this.contexts.set(a,p)),p}getContext(a){return this.contexts.get(a)||null}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class on{constructor(f){this._root=f}get root(){return this._root.value}parent(f){const a=this.pathFromRoot(f);return a.length>1?a[a.length-2]:null}children(f){const a=gn(f,this._root);return a?a.children.map(p=>p.value):[]}firstChild(f){const a=gn(f,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(f){const a=qn(f,this._root);return a.length<2?[]:a[a.length-2].children.map(y=>y.value).filter(y=>y!==f)}pathFromRoot(f){return qn(f,this._root).map(a=>a.value)}}function gn(c,f){if(c===f.value)return f;for(const a of f.children){const p=gn(c,a);if(p)return p}return null}function qn(c,f){if(c===f.value)return[f];for(const a of f.children){const p=qn(c,a);if(p.length)return p.unshift(f),p}return[]}class Qt{constructor(f,a){this.value=f,this.children=a}toString(){return`TreeNode(${this.value})`}}function Jn(c){const f={};return c&&c.children.forEach(a=>f[a.value.outlet]=a),f}class Xr extends on{constructor(f,a){super(f),this.snapshot=a,Pn(this,f)}toString(){return this.snapshot.toString()}}function Mr(c,f){const a=function uo(c,f){const P=new it([],{},{},"",{},Oe,f,null,{});return new Ft("",new Qt(P,[]))}(0,f),p=new G.X([new Fn("",{})]),y=new G.X({}),I=new G.X({}),P=new G.X({}),X=new G.X(""),K=new Sr(p,y,P,X,I,Oe,f,a.root);return K.snapshot=a.root,new Xr(new Qt(K,[]),a)}class Sr{constructor(f,a,p,y,I,P,X,K){this.urlSubject=f,this.paramsSubject=a,this.queryParamsSubject=p,this.fragmentSubject=y,this.dataSubject=I,this.outlet=P,this.component=X,this._futureSnapshot=K,this.title=this.dataSubject?.pipe((0,Mt.U)(we=>we[yt]))??(0,B.of)(void 0),this.url=f,this.params=a,this.queryParams=p,this.fragment=y,this.data=I}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,Mt.U)(f=>Rt(f)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Mt.U)(f=>Rt(f)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function jt(c,f="emptyOnly"){const a=c.pathFromRoot;let p=0;if("always"!==f)for(p=a.length-1;p>=1;){const y=a[p],I=a[p-1];if(y.routeConfig&&""===y.routeConfig.path)p--;else{if(I.component)break;p--}}return function Fe(c){return c.reduce((f,a)=>({params:{...f.params,...a.params},data:{...f.data,...a.data},resolve:{...a.data,...f.resolve,...a.routeConfig?.data,...a._resolvedData}}),{params:{},data:{},resolve:{}})}(a.slice(p))}class it{get title(){return this.data?.[yt]}constructor(f,a,p,y,I,P,X,K,we){this.url=f,this.params=a,this.queryParams=p,this.fragment=y,this.data=I,this.outlet=P,this.component=X,this.routeConfig=K,this._resolve=we}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=Rt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Rt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(p=>p.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ft extends on{constructor(f,a){super(a),this.url=f,Pn(this,a)}toString(){return Ir(this._root)}}function Pn(c,f){f.value._routerState=c,f.children.forEach(a=>Pn(c,a))}function Ir(c){const f=c.children.length>0?` { ${c.children.map(Ir).join(", ")} } `:"";return`${c.value}${f}`}function fn(c){if(c.snapshot){const f=c.snapshot,a=c._futureSnapshot;c.snapshot=a,mn(f.queryParams,a.queryParams)||c.queryParamsSubject.next(a.queryParams),f.fragment!==a.fragment&&c.fragmentSubject.next(a.fragment),mn(f.params,a.params)||c.paramsSubject.next(a.params),function et(c,f){if(c.length!==f.length)return!1;for(let a=0;amn(a.parameters,f[p].parameters))}(c.url,f.url);return a&&!(!c.parent!=!f.parent)&&(!c.parent||Nn(c.parent,f.parent))}let qt=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=Oe,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.parentContexts=(0,l.f3M)(dt),this.location=(0,l.f3M)(l.s_b),this.changeDetector=(0,l.f3M)(l.sBO),this.environmentInjector=(0,l.f3M)(l.lqb),this.inputBinder=(0,l.f3M)(sr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(a){if(a.name){const{firstChange:p,previousValue:y}=a.name;if(p)return;this.isTrackedInParentContexts(y)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(y)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(a){return this.parentContexts.getContext(a)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const a=this.parentContexts.getContext(this.name);a?.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,!1);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,p){this.activated=a,this._activatedRoute=p,this.location.insert(a.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,p){if(this.isActivated)throw new l.vHH(4013,!1);this._activatedRoute=a;const y=this.location,P=a.snapshot.component,X=this.parentContexts.getOrCreateContext(this.name).children,K=new or(a,X,y.injector);this.activated=y.createComponent(P,{index:y.length,injector:K,environmentInjector:p??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275dir=l.lG2({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[l.TTD]})}return c})();class or{constructor(f,a,p){this.route=f,this.childContexts=a,this.parent=p}get(f,a){return f===Sr?this.route:f===dt?this.childContexts:this.parent.get(f,a)}}const sr=new l.OlP("");let nt=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(a){this.unsubscribeFromRouteData(a),this.subscribeToRouteData(a)}unsubscribeFromRouteData(a){this.outletDataSubscriptions.get(a)?.unsubscribe(),this.outletDataSubscriptions.delete(a)}subscribeToRouteData(a){const{activatedRoute:p}=a,y=Ve([p.queryParams,p.params,p.data]).pipe((0,sn.w)(([I,P,X],K)=>(X={...I,...P,...X},0===K?(0,B.of)(X):Promise.resolve(X)))).subscribe(I=>{if(!a.isActivated||!a.activatedComponentRef||a.activatedRoute!==p||null===p.component)return void this.unsubscribeFromRouteData(a);const P=(0,l.qFp)(p.component);if(P)for(const{templateName:X}of P.inputs)a.activatedComponentRef.setInput(X,I[X]);else this.unsubscribeFromRouteData(a)});this.outletDataSubscriptions.set(a,y)}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac})}return c})();function Lr(c,f,a){if(a&&c.shouldReuseRoute(f.value,a.value.snapshot)){const p=a.value;p._futureSnapshot=f.value;const y=function pr(c,f,a){return f.children.map(p=>{for(const y of a.children)if(c.shouldReuseRoute(p.value,y.value.snapshot))return Lr(c,p,y);return Lr(c,p)})}(c,f,a);return new Qt(p,y)}{if(c.shouldAttach(f.value)){const I=c.retrieve(f.value);if(null!==I){const P=I.route;return P.value._futureSnapshot=f.value,P.children=f.children.map(X=>Lr(c,X)),P}}const p=function Wt(c){return new Sr(new G.X(c.url),new G.X(c.params),new G.X(c.queryParams),new G.X(c.fragment),new G.X(c.data),c.outlet,c.component,c)}(f.value),y=f.children.map(I=>Lr(c,I));return new Qt(p,y)}}const kr="ngNavigationCancelingError";function gr(c,f){const{redirectTo:a,navigationBehaviorOptions:p}=an(f)?{redirectTo:f,navigationBehaviorOptions:void 0}:f,y=Gn(!1,0,f);return y.url=a,y.navigationBehaviorOptions=p,y}function Gn(c,f,a){const p=new Error("NavigationCancelingError: "+(c||""));return p[kr]=!0,p.cancellationCode=f,a&&(p.url=a),p}function Ur(c){return c&&c[kr]}let zn=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275cmp=l.Xpm({type:c,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(p,y){1&p&&l._UZ(0,"router-outlet")},dependencies:[qt],encapsulation:2})}return c})();function $r(c){const f=c.children&&c.children.map($r),a=f?{...c,children:f}:{...c};return!a.component&&!a.loadComponent&&(f||a.loadChildren)&&a.outlet&&a.outlet!==Oe&&(a.component=zn),a}function bn(c){return c.outlet||Oe}function Fi(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let f=c.parent;f;f=f.parent){const a=f.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class Li{constructor(f,a,p,y,I){this.routeReuseStrategy=f,this.futureState=a,this.currState=p,this.forwardEvent=y,this.inputBindingEnabled=I}activate(f){const a=this.futureState._root,p=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,p,f),fn(this.futureState.root),this.activateChildRoutes(a,p,f)}deactivateChildRoutes(f,a,p){const y=Jn(a);f.children.forEach(I=>{const P=I.value.outlet;this.deactivateRoutes(I,y[P],p),delete y[P]}),Object.values(y).forEach(I=>{this.deactivateRouteAndItsChildren(I,p)})}deactivateRoutes(f,a,p){const y=f.value,I=a?a.value:null;if(y===I)if(y.component){const P=p.getContext(y.outlet);P&&this.deactivateChildRoutes(f,a,P.children)}else this.deactivateChildRoutes(f,a,p);else I&&this.deactivateRouteAndItsChildren(a,p)}deactivateRouteAndItsChildren(f,a){f.value.component&&this.routeReuseStrategy.shouldDetach(f.value.snapshot)?this.detachAndStoreRouteSubtree(f,a):this.deactivateRouteAndOutlet(f,a)}detachAndStoreRouteSubtree(f,a){const p=a.getContext(f.value.outlet),y=p&&f.value.component?p.children:a,I=Jn(f);for(const P of Object.keys(I))this.deactivateRouteAndItsChildren(I[P],y);if(p&&p.outlet){const P=p.outlet.detach(),X=p.children.onOutletDeactivated();this.routeReuseStrategy.store(f.value.snapshot,{componentRef:P,route:f,contexts:X})}}deactivateRouteAndOutlet(f,a){const p=a.getContext(f.value.outlet),y=p&&f.value.component?p.children:a,I=Jn(f);for(const P of Object.keys(I))this.deactivateRouteAndItsChildren(I[P],y);p&&(p.outlet&&(p.outlet.deactivate(),p.children.onOutletDeactivated()),p.attachRef=null,p.route=null)}activateChildRoutes(f,a,p){const y=Jn(a);f.children.forEach(I=>{this.activateRoutes(I,y[I.value.outlet],p),this.forwardEvent(new Ri(I.value.snapshot))}),f.children.length&&this.forwardEvent(new Ni(f.value.snapshot))}activateRoutes(f,a,p){const y=f.value,I=a?a.value:null;if(fn(y),y===I)if(y.component){const P=p.getOrCreateContext(y.outlet);this.activateChildRoutes(f,a,P.children)}else this.activateChildRoutes(f,a,p);else if(y.component){const P=p.getOrCreateContext(y.outlet);if(this.routeReuseStrategy.shouldAttach(y.snapshot)){const X=this.routeReuseStrategy.retrieve(y.snapshot);this.routeReuseStrategy.store(y.snapshot,null),P.children.onOutletReAttached(X.contexts),P.attachRef=X.componentRef,P.route=X.route.value,P.outlet&&P.outlet.attach(X.componentRef,X.route.value),fn(X.route.value),this.activateChildRoutes(f,null,P.children)}else{const X=Fi(y.snapshot);P.attachRef=null,P.route=y,P.injector=X,P.outlet&&P.outlet.activateWith(y,P.injector),this.activateChildRoutes(f,null,P.children)}}else this.activateChildRoutes(f,null,p)}}class _{constructor(f){this.path=f,this.route=this.path[this.path.length-1]}}class C{constructor(f,a){this.component=f,this.route=a}}function g(c,f,a){const p=c._root;return Ke(p,f?f._root:null,a,[p.value])}function x(c,f){const a=Symbol(),p=f.get(c,a);return p===a?"function"!=typeof c||(0,l.Z0I)(c)?f.get(c):c:p}function Ke(c,f,a,p,y={canDeactivateChecks:[],canActivateChecks:[]}){const I=Jn(f);return c.children.forEach(P=>{(function Dt(c,f,a,p,y={canDeactivateChecks:[],canActivateChecks:[]}){const I=c.value,P=f?f.value:null,X=a?a.getContext(c.value.outlet):null;if(P&&I.routeConfig===P.routeConfig){const K=function vr(c,f,a){if("function"==typeof a)return a(c,f);switch(a){case"pathParamsChange":return!Sn(c.url,f.url);case"pathParamsOrQueryParamsChange":return!Sn(c.url,f.url)||!mn(c.queryParams,f.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nn(c,f)||!mn(c.queryParams,f.queryParams);default:return!Nn(c,f)}}(P,I,I.routeConfig.runGuardsAndResolvers);K?y.canActivateChecks.push(new _(p)):(I.data=P.data,I._resolvedData=P._resolvedData),Ke(c,f,I.component?X?X.children:null:a,p,y),K&&X&&X.outlet&&X.outlet.isActivated&&y.canDeactivateChecks.push(new C(X.outlet.component,P))}else P&&br(f,X,y),y.canActivateChecks.push(new _(p)),Ke(c,null,I.component?X?X.children:null:a,p,y)})(P,I[P.value.outlet],a,p.concat([P.value]),y),delete I[P.value.outlet]}),Object.entries(I).forEach(([P,X])=>br(X,a.getContext(P),y)),y}function br(c,f,a){const p=Jn(c),y=c.value;Object.entries(p).forEach(([I,P])=>{br(P,y.component?f?f.children.getContext(I):null:f,a)}),a.canDeactivateChecks.push(new C(y.component&&f&&f.outlet&&f.outlet.isActivated?f.outlet.component:null,y))}function ei(c){return"function"==typeof c}function Cs(c){return c instanceof mt||"EmptyError"===c?.name}const ki=Symbol("INITIAL_VALUE");function Ar(){return(0,sn.w)(c=>Ve(c.map(f=>f.pipe((0,Q.q)(1),function q(...c){const f=(0,V.yG)(c);return(0,_e.e)((a,p)=>{(f?Ce(c,a,f):Ce(c,a)).subscribe(p)})}(ki)))).pipe((0,Mt.U)(f=>{for(const a of f)if(!0!==a){if(a===ki)return ki;if(!1===a||a instanceof tn)return a}return!0}),(0,re.h)(f=>f!==ki),(0,Q.q)(1)))}function En(c){return(0,Te.z)(ke(f=>{if(an(f))throw gr(0,f)}),(0,Mt.U)(f=>!0===f))}class kn{constructor(f){this.segmentGroup=f||null}}class To{constructor(f){this.urlTree=f}}function yi(c){return(0,ve._)(new kn(c))}function Oo(c){return(0,ve._)(new To(c))}class As{constructor(f,a){this.urlSerializer=f,this.urlTree=a}noMatchError(f){return new l.vHH(4002,!1)}lineralizeSegments(f,a){let p=[],y=a.root;for(;;){if(p=p.concat(y.segments),0===y.numberOfChildren)return(0,B.of)(p);if(y.numberOfChildren>1||!y.children[Oe])return(0,ve._)(new l.vHH(4e3,!1));y=y.children[Oe]}}applyRedirectCommands(f,a,p){return this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),f,p)}applyRedirectCreateUrlTree(f,a,p,y){const I=this.createSegmentGroup(f,a.root,p,y);return new tn(I,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(f,a){const p={};return Object.entries(f).forEach(([y,I])=>{if("string"==typeof I&&I.startsWith(":")){const X=I.substring(1);p[y]=a[X]}else p[y]=I}),p}createSegmentGroup(f,a,p,y){const I=this.createSegments(f,a.segments,p,y);let P={};return Object.entries(a.children).forEach(([X,K])=>{P[X]=this.createSegmentGroup(f,K,p,y)}),new Ne(I,P)}createSegments(f,a,p,y){return a.map(I=>I.path.startsWith(":")?this.findPosParam(f,I,y):this.findOrReturn(I,p))}findPosParam(f,a,p){const y=p[a.path.substring(1)];if(!y)throw new l.vHH(4001,!1);return y}findOrReturn(f,a){let p=0;for(const y of a){if(y.path===f.path)return a.splice(p),y;p++}return f}}const Vi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function po(c,f,a,p,y){const I=go(c,f,a);return I.matched?(p=function mr(c,f){return c.providers&&!c._injector&&(c._injector=(0,l.MMx)(c.providers,f,`Route: ${c.path}`)),c._injector??f}(f,p),function fo(c,f,a,p){const y=f.canMatch;if(!y||0===y.length)return(0,B.of)(!0);const I=y.map(P=>{const X=x(P,c);return _n(function su(c){return c&&ei(c.canMatch)}(X)?X.canMatch(f,a):c.runInContext(()=>X(f,a)))});return(0,B.of)(I).pipe(Ar(),En())}(p,f,a).pipe((0,Mt.U)(P=>!0===P?I:{...Vi}))):(0,B.of)(I)}function go(c,f,a){if(""===f.path)return"full"===f.pathMatch&&(c.hasChildren()||a.length>0)?{...Vi}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const y=(f.matcher||Je)(a,c,f);if(!y)return{...Vi};const I={};Object.entries(y.posParams??{}).forEach(([X,K])=>{I[X]=K.path});const P=y.consumed.length>0?{...I,...y.consumed[y.consumed.length-1].parameters}:I;return{matched:!0,consumedSegments:y.consumed,remainingSegments:a.slice(y.consumed.length),parameters:P,positionalParamSegments:y.posParams??{}}}function Po(c,f,a,p){return a.length>0&&function Zi(c,f,a){return a.some(p=>qi(c,f,p)&&bn(p)!==Oe)}(c,a,p)?{segmentGroup:new Ne(f,mo(p,new Ne(a,c.children))),slicedSegments:[]}:0===a.length&&function Ui(c,f,a){return a.some(p=>qi(c,f,p))}(c,a,p)?{segmentGroup:new Ne(c.segments,Ts(c,0,a,p,c.children)),slicedSegments:a}:{segmentGroup:new Ne(c.segments,c.children),slicedSegments:a}}function Ts(c,f,a,p,y){const I={};for(const P of p)if(qi(c,a,P)&&!y[bn(P)]){const X=new Ne([],{});I[bn(P)]=X}return{...y,...I}}function mo(c,f){const a={};a[Oe]=f;for(const p of c)if(""===p.path&&bn(p)!==Oe){const y=new Ne([],{});a[bn(p)]=y}return a}function qi(c,f,a){return(!(c.hasChildren()||f.length>0)||"full"!==a.pathMatch)&&""===a.path}class Ji{constructor(f,a,p,y,I,P,X){this.injector=f,this.configLoader=a,this.rootComponentType=p,this.config=y,this.urlTree=I,this.paramsInheritanceStrategy=P,this.urlSerializer=X,this.allowRedirects=!0,this.applyRedirects=new As(this.urlSerializer,this.urlTree)}noMatchError(f){return new l.vHH(4002,!1)}recognize(){const f=Po(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,f,Oe).pipe((0,vt.K)(a=>{if(a instanceof To)return this.allowRedirects=!1,this.urlTree=a.urlTree,this.match(a.urlTree);throw a instanceof kn?this.noMatchError(a):a}),(0,Mt.U)(a=>{const p=new it([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Oe,this.rootComponentType,null,{}),y=new Qt(p,a),I=new Ft("",y),P=function nn(c,f,a=null,p=null){return pn(Hn(c),f,a,p)}(p,[],this.urlTree.queryParams,this.urlTree.fragment);return P.queryParams=this.urlTree.queryParams,I.url=this.urlSerializer.serialize(P),this.inheritParamsAndData(I._root),{state:I,tree:P}}))}match(f){return this.processSegmentGroup(this.injector,this.config,f.root,Oe).pipe((0,vt.K)(p=>{throw p instanceof kn?this.noMatchError(p):p}))}inheritParamsAndData(f){const a=f.value,p=jt(a,this.paramsInheritanceStrategy);a.params=Object.freeze(p.params),a.data=Object.freeze(p.data),f.children.forEach(y=>this.inheritParamsAndData(y))}processSegmentGroup(f,a,p,y){return 0===p.segments.length&&p.hasChildren()?this.processChildren(f,a,p):this.processSegment(f,a,p,p.segments,y,!0)}processChildren(f,a,p){const y=[];for(const I of Object.keys(p.children))"primary"===I?y.unshift(I):y.push(I);return(0,j.D)(y).pipe((0,Lt.b)(I=>{const P=p.children[I],X=function Dn(c,f){const a=c.filter(p=>bn(p)===f);return a.push(...c.filter(p=>bn(p)!==f)),a}(a,I);return this.processSegmentGroup(f,X,P,I)}),function rt(c,f){return(0,_e.e)(function kt(c,f,a,p,y){return(I,P)=>{let X=a,K=f,we=0;I.subscribe((0,xe.x)(P,at=>{const Ht=we++;K=X?c(K,at,Ht):(X=!0,at),p&&P.next(K)},y&&(()=>{X&&P.next(K),P.complete()})))}}(c,f,arguments.length>=2,!0))}((I,P)=>(I.push(...P),I)),me(null),function Nt(c,f){const a=arguments.length>=2;return p=>p.pipe(c?(0,re.h)((y,I)=>c(y,I,p)):T.y,At(1),a?me(f):pe(()=>new mt))}(),(0,ne.z)(I=>{if(null===I)return yi(p);const P=w(I);return function Ia(c){c.sort((f,a)=>f.value.outlet===Oe?-1:a.value.outlet===Oe?1:f.value.outlet.localeCompare(a.value.outlet))}(P),(0,B.of)(P)}))}processSegment(f,a,p,y,I,P){return(0,j.D)(a).pipe((0,Lt.b)(X=>this.processSegmentAgainstRoute(X._injector??f,a,X,p,y,I,P).pipe((0,vt.K)(K=>{if(K instanceof kn)return(0,B.of)(null);throw K}))),ut(X=>!!X),(0,vt.K)(X=>{if(Cs(X))return function cu(c,f,a){return 0===f.length&&!c.children[a]}(p,y,I)?(0,B.of)([]):yi(p);throw X}))}processSegmentAgainstRoute(f,a,p,y,I,P,X){return function uu(c,f,a,p){return!!(bn(c)===p||p!==Oe&&qi(f,a,c))&&("**"===c.path||go(f,c,a).matched)}(p,y,I,P)?void 0===p.redirectTo?this.matchSegmentAgainstRoute(f,y,p,I,P,X):X&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(f,y,a,p,I,P):yi(y):yi(y)}expandSegmentAgainstRouteUsingRedirect(f,a,p,y,I,P){return"**"===y.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(f,p,y,P):this.expandRegularSegmentAgainstRouteUsingRedirect(f,a,p,y,I,P)}expandWildCardWithParamsAgainstRouteUsingRedirect(f,a,p,y){const I=this.applyRedirects.applyRedirectCommands([],p.redirectTo,{});return p.redirectTo.startsWith("/")?Oo(I):this.applyRedirects.lineralizeSegments(p,I).pipe((0,ne.z)(P=>{const X=new Ne(P,{});return this.processSegment(f,a,X,P,y,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(f,a,p,y,I,P){const{matched:X,consumedSegments:K,remainingSegments:we,positionalParamSegments:at}=go(a,y,I);if(!X)return yi(a);const Ht=this.applyRedirects.applyRedirectCommands(K,y.redirectTo,at);return y.redirectTo.startsWith("/")?Oo(Ht):this.applyRedirects.lineralizeSegments(y,Ht).pipe((0,ne.z)(St=>this.processSegment(f,p,a,St.concat(we),P,!1)))}matchSegmentAgainstRoute(f,a,p,y,I,P){let X;if("**"===p.path){const K=y.length>0?Mn(y).parameters:{},we=new it(y,K,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,E(p),bn(p),p.component??p._loadedComponent??null,p,R(p));X=(0,B.of)({snapshot:we,consumedSegments:[],remainingSegments:[]}),a.children={}}else X=po(a,p,y,f).pipe((0,Mt.U)(({matched:K,consumedSegments:we,remainingSegments:at,parameters:Ht})=>K?{snapshot:new it(we,Ht,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,E(p),bn(p),p.component??p._loadedComponent??null,p,R(p)),consumedSegments:we,remainingSegments:at}:null));return X.pipe((0,sn.w)(K=>null===K?yi(a):this.getChildConfig(f=p._injector??f,p,y).pipe((0,sn.w)(({routes:we})=>{const at=p._loadedInjector??f,{snapshot:Ht,consumedSegments:St,remainingSegments:ii}=K,{segmentGroup:Do,slicedSegments:wn}=Po(a,St,ii,we);if(0===wn.length&&Do.hasChildren())return this.processChildren(at,we,Do).pipe((0,Mt.U)(Kt=>null===Kt?null:[new Qt(Ht,Kt)]));if(0===we.length&&0===wn.length)return(0,B.of)([new Qt(Ht,[])]);const oi=bn(p)===I;return this.processSegment(at,we,Do,wn,oi?Oe:I,!0).pipe((0,Mt.U)(Kt=>[new Qt(Ht,Kt)]))}))))}getChildConfig(f,a,p){return a.children?(0,B.of)({routes:a.children,injector:f}):a.loadChildren?void 0!==a._loadedRoutes?(0,B.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function lu(c,f,a,p){const y=f.canLoad;if(void 0===y||0===y.length)return(0,B.of)(!0);const I=y.map(P=>{const X=x(P,c);return _n(function ru(c){return c&&ei(c.canLoad)}(X)?X.canLoad(f,a):c.runInContext(()=>X(f,a)))});return(0,B.of)(I).pipe(Ar(),En())}(f,a,p).pipe((0,ne.z)(y=>y?this.configLoader.loadChildren(f,a).pipe(ke(I=>{a._loadedRoutes=I.routes,a._loadedInjector=I.injector})):function ho(c){return(0,ve._)(Gn(!1,3))}())):(0,B.of)({routes:[],injector:f})}}function d(c){const f=c.value.routeConfig;return f&&""===f.path}function w(c){const f=[],a=new Set;for(const p of c){if(!d(p)){f.push(p);continue}const y=f.find(I=>p.value.routeConfig===I.value.routeConfig);void 0!==y?(y.children.push(...p.children),a.add(y)):f.push(p)}for(const p of a){const y=w(p.children);f.push(new Qt(p.value,y))}return f.filter(p=>!a.has(p))}function E(c){return c.data||{}}function R(c){return c.resolve||{}}function gt(c){return"string"==typeof c.title||null===c.title}function en(c){return(0,sn.w)(f=>{const a=c(f);return a?(0,j.D)(a).pipe((0,Mt.U)(()=>f)):(0,B.of)(f)})}const It=new l.OlP("ROUTES");let hn=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,l.f3M)(l.Sil)}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,B.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const p=_n(a.loadComponent()).pipe((0,Mt.U)(Di),ke(I=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=I}),(0,Vt.x)(()=>{this.componentLoaders.delete(a)})),y=new He(p,()=>new Qe.x).pipe(Gt());return this.componentLoaders.set(a,y),y}loadChildren(a,p){if(this.childrenLoaders.get(p))return this.childrenLoaders.get(p);if(p._loadedRoutes)return(0,B.of)({routes:p._loadedRoutes,injector:p._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(p);const I=function Tr(c,f,a,p){return _n(c.loadChildren()).pipe((0,Mt.U)(Di),(0,ne.z)(y=>y instanceof l.YKP||Array.isArray(y)?(0,B.of)(y):(0,j.D)(f.compileModuleAsync(y))),(0,Mt.U)(y=>{p&&p(c);let I,P,X=!1;return Array.isArray(y)?(P=y,!0):(I=y.create(a).injector,P=I.get(It,[],{optional:!0,self:!0}).flat()),{routes:P.map($r),injector:I}}))}(p,this.compiler,a,this.onLoadEndListener).pipe((0,Vt.x)(()=>{this.childrenLoaders.delete(p)})),P=new He(I,()=>new Qe.x).pipe(Gt());return this.childrenLoaders.set(p,P),P}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Di(c){return function Or(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let Vn=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Qe.x,this.transitionAbortSubject=new Qe.x,this.configLoader=(0,l.f3M)(hn),this.environmentInjector=(0,l.f3M)(l.lqb),this.urlSerializer=(0,l.f3M)(rr),this.rootContexts=(0,l.f3M)(dt),this.inputBindingEnabled=null!==(0,l.f3M)(sr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,B.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=y=>this.events.next(new ao(y)),this.configLoader.onLoadStartListener=y=>this.events.next(new Pi(y))}complete(){this.transitions?.complete()}handleNavigationRequest(a){const p=++this.navigationId;this.transitions?.next({...this.transitions.value,...a,id:p})}setupNavigations(a,p,y){return this.transitions=new G.X({id:0,currentUrlTree:p,currentRawUrl:p,currentBrowserUrl:p,extractedUrl:a.urlHandlingStrategy.extract(p),urlAfterRedirects:a.urlHandlingStrategy.extract(p),rawUrl:p,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Zr,restoredState:null,currentSnapshot:y.snapshot,targetSnapshot:null,currentRouterState:y,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,re.h)(I=>0!==I.id),(0,Mt.U)(I=>({...I,extractedUrl:a.urlHandlingStrategy.extract(I.rawUrl)})),(0,sn.w)(I=>{this.currentTransition=I;let P=!1,X=!1;return(0,B.of)(I).pipe(ke(K=>{this.currentNavigation={id:K.id,initialUrl:K.rawUrl,extractedUrl:K.extractedUrl,trigger:K.source,extras:K.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,sn.w)(K=>{const we=K.currentBrowserUrl.toString(),at=!a.navigated||K.extractedUrl.toString()!==we||we!==K.currentUrlTree.toString();if(!at&&"reload"!==(K.extras.onSameUrlNavigation??a.onSameUrlNavigation)){const St="";return this.events.next(new hr(K.id,this.urlSerializer.serialize(K.rawUrl),St,0)),K.resolve(null),Ze.E}if(a.urlHandlingStrategy.shouldProcessUrl(K.rawUrl))return(0,B.of)(K).pipe((0,sn.w)(St=>{const ii=this.transitions?.getValue();return this.events.next(new ci(St.id,this.urlSerializer.serialize(St.extractedUrl),St.source,St.restoredState)),ii!==this.transitions?.getValue()?Ze.E:Promise.resolve(St)}),function te(c,f,a,p,y,I){return(0,ne.z)(P=>function du(c,f,a,p,y,I,P="emptyOnly"){return new Ji(c,f,a,p,y,P,I).recognize()}(c,f,a,p,P.extractedUrl,y,I).pipe((0,Mt.U)(({state:X,tree:K})=>({...P,targetSnapshot:X,urlAfterRedirects:K}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,a.config,this.urlSerializer,a.paramsInheritanceStrategy),ke(St=>{I.targetSnapshot=St.targetSnapshot,I.urlAfterRedirects=St.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:St.urlAfterRedirects};const ii=new Jr(St.id,this.urlSerializer.serialize(St.extractedUrl),this.urlSerializer.serialize(St.urlAfterRedirects),St.targetSnapshot);this.events.next(ii)}));if(at&&a.urlHandlingStrategy.shouldProcessUrl(K.currentRawUrl)){const{id:St,extractedUrl:ii,source:Do,restoredState:wn,extras:oi}=K,Kt=new ci(St,this.urlSerializer.serialize(ii),Do,wn);this.events.next(Kt);const Mu=Mr(0,this.rootComponentType).snapshot;return this.currentTransition=I={...K,targetSnapshot:Mu,urlAfterRedirects:ii,extras:{...oi,skipLocationChange:!1,replaceUrl:!1}},(0,B.of)(I)}{const St="";return this.events.next(new hr(K.id,this.urlSerializer.serialize(K.extractedUrl),St,1)),K.resolve(null),Ze.E}}),ke(K=>{const we=new oo(K.id,this.urlSerializer.serialize(K.extractedUrl),this.urlSerializer.serialize(K.urlAfterRedirects),K.targetSnapshot);this.events.next(we)}),(0,Mt.U)(K=>(this.currentTransition=I={...K,guards:g(K.targetSnapshot,K.currentSnapshot,this.rootContexts)},I)),function Es(c,f){return(0,ne.z)(a=>{const{targetSnapshot:p,currentSnapshot:y,guards:{canActivateChecks:I,canDeactivateChecks:P}}=a;return 0===P.length&&0===I.length?(0,B.of)({...a,guardsResult:!0}):function ws(c,f,a,p){return(0,j.D)(c).pipe((0,ne.z)(y=>function Is(c,f,a,p,y){const I=f&&f.routeConfig?f.routeConfig.canDeactivate:null;if(!I||0===I.length)return(0,B.of)(!0);const P=I.map(X=>{const K=Fi(f)??y,we=x(X,K);return _n(function ou(c){return c&&ei(c.canDeactivate)}(we)?we.canDeactivate(c,f,a,p):K.runInContext(()=>we(c,f,a,p))).pipe(ut())});return(0,B.of)(P).pipe(Ar())}(y.component,y.route,a,f,p)),ut(y=>!0!==y,!0))}(P,p,y,c).pipe((0,ne.z)(X=>X&&function nu(c){return"boolean"==typeof c}(X)?function Ms(c,f,a,p){return(0,j.D)(f).pipe((0,Lt.b)(y=>Ce(function au(c,f){return null!==c&&f&&f(new di(c)),(0,B.of)(!0)}(y.route.parent,p),function Ss(c,f){return null!==c&&f&&f(new lo(c)),(0,B.of)(!0)}(y.route,p),function Br(c,f,a){const p=f[f.length-1],I=f.slice(0,f.length-1).reverse().map(P=>function b(c){const f=c.routeConfig?c.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:c,guards:f}:null}(P)).filter(P=>null!==P).map(P=>Ee(()=>{const X=P.guards.map(K=>{const we=Fi(P.node)??a,at=x(K,we);return _n(function iu(c){return c&&ei(c.canActivateChild)}(at)?at.canActivateChild(p,c):we.runInContext(()=>at(p,c))).pipe(ut())});return(0,B.of)(X).pipe(Ar())}));return(0,B.of)(I).pipe(Ar())}(c,y.path,a),function vi(c,f,a){const p=f.routeConfig?f.routeConfig.canActivate:null;if(!p||0===p.length)return(0,B.of)(!0);const y=p.map(I=>Ee(()=>{const P=Fi(f)??a,X=x(I,P);return _n(function wa(c){return c&&ei(c.canActivate)}(X)?X.canActivate(f,c):P.runInContext(()=>X(f,c))).pipe(ut())}));return(0,B.of)(y).pipe(Ar())}(c,y.route,a))),ut(y=>!0!==y,!0))}(p,I,c,f):(0,B.of)(X)),(0,Mt.U)(X=>({...a,guardsResult:X})))})}(this.environmentInjector,K=>this.events.next(K)),ke(K=>{if(I.guardsResult=K.guardsResult,an(K.guardsResult))throw gr(0,K.guardsResult);const we=new Ao(K.id,this.urlSerializer.serialize(K.extractedUrl),this.urlSerializer.serialize(K.urlAfterRedirects),K.targetSnapshot,!!K.guardsResult);this.events.next(we)}),(0,re.h)(K=>!!K.guardsResult||(this.cancelNavigationTransition(K,"",3),!1)),en(K=>{if(K.guards.canActivateChecks.length)return(0,B.of)(K).pipe(ke(we=>{const at=new Oi(we.id,this.urlSerializer.serialize(we.extractedUrl),this.urlSerializer.serialize(we.urlAfterRedirects),we.targetSnapshot);this.events.next(at)}),(0,sn.w)(we=>{let at=!1;return(0,B.of)(we).pipe(function ce(c,f){return(0,ne.z)(a=>{const{targetSnapshot:p,guards:{canActivateChecks:y}}=a;if(!y.length)return(0,B.of)(a);let I=0;return(0,j.D)(y).pipe((0,Lt.b)(P=>function Ge(c,f,a,p){const y=c.routeConfig,I=c._resolve;return void 0!==y?.title&&!gt(y)&&(I[yt]=y.title),function $t(c,f,a,p){const y=function Bt(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}(c);if(0===y.length)return(0,B.of)({});const I={};return(0,j.D)(y).pipe((0,ne.z)(P=>function Pt(c,f,a,p){const y=Fi(f)??p,I=x(c,y);return _n(I.resolve?I.resolve(f,a):y.runInContext(()=>I(f,a)))}(c[P],f,a,p).pipe(ut(),ke(X=>{I[P]=X}))),At(1),function W(c){return(0,Mt.U)(()=>c)}(I),(0,vt.K)(P=>Cs(P)?Ze.E:(0,ve._)(P)))}(I,c,f,p).pipe((0,Mt.U)(P=>(c._resolvedData=P,c.data=jt(c,a).resolve,y&>(y)&&(c.data[yt]=y.title),null)))}(P.route,p,c,f)),ke(()=>I++),At(1),(0,ne.z)(P=>I===y.length?(0,B.of)(a):Ze.E))})}(a.paramsInheritanceStrategy,this.environmentInjector),ke({next:()=>at=!0,complete:()=>{at||this.cancelNavigationTransition(we,"",2)}}))}),ke(we=>{const at=new so(we.id,this.urlSerializer.serialize(we.extractedUrl),this.urlSerializer.serialize(we.urlAfterRedirects),we.targetSnapshot);this.events.next(at)}))}),en(K=>{const we=at=>{const Ht=[];at.routeConfig?.loadComponent&&!at.routeConfig._loadedComponent&&Ht.push(this.configLoader.loadComponent(at.routeConfig).pipe(ke(St=>{at.component=St}),(0,Mt.U)(()=>{})));for(const St of at.children)Ht.push(...we(St));return Ht};return Ve(we(K.targetSnapshot.root)).pipe(me(),(0,Q.q)(1))}),en(()=>this.afterPreactivation()),(0,Mt.U)(K=>{const we=function gi(c,f,a){const p=Lr(c,f._root,a?a._root:void 0);return new Xr(p,f)}(a.routeReuseStrategy,K.targetSnapshot,K.currentRouterState);return this.currentTransition=I={...K,targetRouterState:we},I}),ke(()=>{this.events.next(new Fr)}),((c,f,a,p)=>(0,Mt.U)(y=>(new Li(f,y.targetRouterState,y.currentRouterState,a,p).activate(c),y)))(this.rootContexts,a.routeReuseStrategy,K=>this.events.next(K),this.inputBindingEnabled),(0,Q.q)(1),ke({next:K=>{P=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new un(K.id,this.urlSerializer.serialize(K.extractedUrl),this.urlSerializer.serialize(K.urlAfterRedirects))),a.titleStrategy?.updateTitle(K.targetRouterState.snapshot),K.resolve(!0)},complete:()=>{P=!0}}),function Me(c){return(0,_e.e)((f,a)=>{(0,$e.Xf)(c).subscribe((0,xe.x)(a,()=>a.complete(),ye.Z)),!a.closed&&f.subscribe(a)})}(this.transitionAbortSubject.pipe(ke(K=>{throw K}))),(0,Vt.x)(()=>{P||X||this.cancelNavigationTransition(I,"",1),this.currentNavigation?.id===I.id&&(this.currentNavigation=null)}),(0,vt.K)(K=>{if(X=!0,Ur(K))this.events.next(new dn(I.id,this.urlSerializer.serialize(I.extractedUrl),K.message,K.cancellationCode)),function Vr(c){return Ur(c)&&an(c.url)}(K)?this.events.next(new hi(K.url)):I.resolve(!1);else{this.events.next(new qr(I.id,this.urlSerializer.serialize(I.extractedUrl),K,I.targetSnapshot??void 0));try{I.resolve(a.errorHandler(K))}catch(we){I.reject(we)}}return Ze.E}))}))}cancelNavigationTransition(a,p,y){const I=new dn(a.id,this.urlSerializer.serialize(a.extractedUrl),p,y);this.events.next(I),a.resolve(!1)}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function yr(c){return c!==Zr}let Pr=(()=>{class c{buildTitle(a){let p,y=a.root;for(;void 0!==y;)p=this.getResolvedTitleForRoute(y)??p,y=y.children.find(I=>I.outlet===Oe);return p}getResolvedTitleForRoute(a){return a.data[yt]}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return(0,l.f3M)(_i)},providedIn:"root"})}return c})(),_i=(()=>{class c extends Pr{constructor(a){super(),this.title=a}updateTitle(a){const p=this.buildTitle(a);void 0!==p&&this.title.setTitle(p)}static#e=this.\u0275fac=function(p){return new(p||c)(l.LFG(he.Dx))};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),fu=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return(0,l.f3M)(Aa)},providedIn:"root"})}return c})();class ba{shouldDetach(f){return!1}store(f,a){}shouldAttach(f){return!1}retrieve(f){return null}shouldReuseRoute(f,a){return f.routeConfig===a.routeConfig}}let Aa=(()=>{class c extends ba{static#e=this.\u0275fac=function(){let a;return function(y){return(a||(a=l.n5z(c)))(y||c)}}();static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const No=new l.OlP("",{providedIn:"root",factory:()=>({})});let Os=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return(0,l.f3M)(hu)},providedIn:"root"})}return c})(),hu=(()=>{class c{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,p){return a}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var Xn=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(Xn||{});function Ps(c,f){c.events.pipe((0,re.h)(a=>a instanceof un||a instanceof dn||a instanceof qr||a instanceof hr),(0,Mt.U)(a=>a instanceof un||a instanceof hr?Xn.COMPLETE:a instanceof dn&&(0===a.code||1===a.code)?Xn.REDIRECTING:Xn.FAILED),(0,re.h)(a=>a!==Xn.REDIRECTING),(0,Q.q)(1)).subscribe(()=>{f()})}function Ta(c){throw c}function Jt(c,f,a){return f.parse("/")}const Ns={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ro={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Xt=(()=>{class c{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,l.f3M)(l.c2e),this.isNgZoneEnabled=!1,this._events=new Qe.x,this.options=(0,l.f3M)(No,{optional:!0})||{},this.pendingTasks=(0,l.f3M)(l.HDt),this.errorHandler=this.options.errorHandler||Ta,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Jt,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,l.f3M)(Os),this.routeReuseStrategy=(0,l.f3M)(fu),this.titleStrategy=(0,l.f3M)(Pr),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,l.f3M)(It,{optional:!0})?.flat()??[],this.navigationTransitions=(0,l.f3M)(Vn),this.urlSerializer=(0,l.f3M)(rr),this.location=(0,l.f3M)(zt.Ye),this.componentInputBindingEnabled=!!(0,l.f3M)(sr,{optional:!0}),this.eventsSubscription=new Ye.w0,this.isNgZoneEnabled=(0,l.f3M)(l.R0b)instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new tn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Mr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(a=>{this.lastSuccessfulId=a.id,this.currentPageId=this.browserPageId},a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const a=this.navigationTransitions.events.subscribe(p=>{try{const{currentTransition:y}=this.navigationTransitions;if(null===y)return void(Rs(p)&&this._events.next(p));if(p instanceof ci)yr(y.source)&&(this.browserUrlTree=y.extractedUrl);else if(p instanceof hr)this.rawUrlTree=y.rawUrl;else if(p instanceof Jr){if("eager"===this.urlUpdateStrategy){if(!y.extras.skipLocationChange){const I=this.urlHandlingStrategy.merge(y.urlAfterRedirects,y.rawUrl);this.setBrowserUrl(I,y)}this.browserUrlTree=y.urlAfterRedirects}}else if(p instanceof Fr)this.currentUrlTree=y.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(y.urlAfterRedirects,y.rawUrl),this.routerState=y.targetRouterState,"deferred"===this.urlUpdateStrategy&&(y.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,y),this.browserUrlTree=y.urlAfterRedirects);else if(p instanceof dn)0!==p.code&&1!==p.code&&(this.navigated=!0),(3===p.code||2===p.code)&&this.restoreHistory(y);else if(p instanceof hi){const I=this.urlHandlingStrategy.merge(p.url,y.currentRawUrl),P={skipLocationChange:y.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yr(y.source)};this.scheduleNavigation(I,Zr,null,P,{resolve:y.resolve,reject:y.reject,promise:y.promise})}p instanceof qr&&this.restoreHistory(y,!0),p instanceof un&&(this.navigated=!0),Rs(p)&&this._events.next(p)}catch(y){this.navigationTransitions.transitionAbortSubject.next(y)}});this.eventsSubscription.add(a)}resetRootComponentType(a){this.routerState.root.component=a,this.navigationTransitions.rootComponentType=a}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const a=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Zr,a)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(a=>{const p="popstate"===a.type?"popstate":"hashchange";"popstate"===p&&setTimeout(()=>{this.navigateToSyncWithBrowser(a.url,p,a.state)},0)}))}navigateToSyncWithBrowser(a,p,y){const I={replaceUrl:!0},P=y?.navigationId?y:null;if(y){const K={...y};delete K.navigationId,delete K.\u0275routerPageId,0!==Object.keys(K).length&&(I.state=K)}const X=this.parseUrl(a);this.scheduleNavigation(X,p,P,I)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(a){this.config=a.map($r),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,this.eventsSubscription.unsubscribe()}createUrlTree(a,p={}){const{relativeTo:y,queryParams:I,fragment:P,queryParamsHandling:X,preserveFragment:K}=p,we=K?this.currentUrlTree.fragment:P;let Ht,at=null;switch(X){case"merge":at={...this.currentUrlTree.queryParams,...I};break;case"preserve":at=this.currentUrlTree.queryParams;break;default:at=I||null}null!==at&&(at=this.removeEmptyProps(at));try{Ht=Hn(y?y.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof a[0]||!a[0].startsWith("/"))&&(a=[]),Ht=this.currentUrlTree.root}return pn(Ht,a,at,we??null)}navigateByUrl(a,p={skipLocationChange:!1}){const y=an(a)?a:this.parseUrl(a),I=this.urlHandlingStrategy.merge(y,this.rawUrlTree);return this.scheduleNavigation(I,Zr,null,p)}navigate(a,p={skipLocationChange:!1}){return function pu(c){for(let f=0;f{const I=a[y];return null!=I&&(p[y]=I),p},{})}scheduleNavigation(a,p,y,I,P){if(this.disposed)return Promise.resolve(!1);let X,K,we;P?(X=P.resolve,K=P.reject,we=P.promise):we=new Promise((Ht,St)=>{X=Ht,K=St});const at=this.pendingTasks.add();return Ps(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(at))}),this.navigationTransitions.handleNavigationRequest({source:p,restoredState:y,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:a,extras:I,resolve:X,reject:K,promise:we,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),we.catch(Ht=>Promise.reject(Ht))}setBrowserUrl(a,p){const y=this.urlSerializer.serialize(a);if(this.location.isCurrentPathEqualTo(y)||p.extras.replaceUrl){const P={...p.extras.state,...this.generateNgRouterState(p.id,this.browserPageId)};this.location.replaceState(y,"",P)}else{const I={...p.extras.state,...this.generateNgRouterState(p.id,this.browserPageId+1)};this.location.go(y,"",I)}}restoreHistory(a,p=!1){if("computed"===this.canceledNavigationResolution){const I=this.currentPageId-this.browserPageId;0!==I?this.location.historyGo(I):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===I&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(p&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(a,p){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:p}:{navigationId:a}}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Rs(c){return!(c instanceof Fr||c instanceof hi)}let ti=(()=>{class c{constructor(a,p,y,I,P,X){this.router=a,this.route=p,this.tabIndexAttribute=y,this.renderer=I,this.el=P,this.locationStrategy=X,this.href=null,this.commands=null,this.onChanges=new Qe.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const K=P.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===K||"area"===K,this.isAnchorElement?this.subscription=a.events.subscribe(we=>{we instanceof un&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(a){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",a)}ngOnChanges(a){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(a){null!=a?(this.commands=Array.isArray(a)?a:[a],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(a,p,y,I,P){return!!(null===this.urlTree||this.isAnchorElement&&(0!==a||p||y||I||P||"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 a=null===this.href?null:(0,l.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",a)}applyAttributeValue(a,p){const y=this.renderer,I=this.el.nativeElement;null!==p?y.setAttribute(I,a,p):y.removeAttribute(I,a)}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})}static#e=this.\u0275fac=function(p){return new(p||c)(l.Y36(Xt),l.Y36(Sr),l.$8M("tabindex"),l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(zt.S$))};static#t=this.\u0275dir=l.lG2({type:c,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(p,y){1&p&&l.NdJ("click",function(P){return y.onClick(P.button,P.ctrlKey,P.shiftKey,P.altKey,P.metaKey)}),2&p&&l.uIk("target",y.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",l.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",l.VuI],replaceUrl:["replaceUrl","replaceUrl",l.VuI],routerLink:"routerLink"},standalone:!0,features:[l.Xq5,l.TTD]})}return c})(),Qn=(()=>{class c{get isActive(){return this._isActive}constructor(a,p,y,I,P){this.router=a,this.element=p,this.renderer=y,this.cdr=I,this.link=P,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new l.vpe,this.routerEventsSubscription=a.events.subscribe(X=>{X instanceof un&&this.update()})}ngAfterContentInit(){(0,B.of)(this.links.changes,(0,B.of)(null)).pipe((0,Xe.J)()).subscribe(a=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const a=[...this.links.toArray(),this.link].filter(p=>!!p).map(p=>p.onChanges);this.linkInputChangesSubscription=(0,j.D)(a).pipe((0,Xe.J)()).subscribe(p=>{this._isActive!==this.isLinkActive(this.router)(p)&&this.update()})}set routerLinkActive(a){const p=Array.isArray(a)?a:a.split(" ");this.classes=p.filter(y=>!!y)}ngOnChanges(a){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const a=this.hasActiveLinks();this._isActive!==a&&(this._isActive=a,this.cdr.markForCheck(),this.classes.forEach(p=>{a?this.renderer.addClass(this.element.nativeElement,p):this.renderer.removeClass(this.element.nativeElement,p)}),a&&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(a))})}isLinkActive(a){const p=function gu(c){return!!c.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return y=>!!y.urlTree&&a.isActive(y.urlTree,p)}hasActiveLinks(){const a=this.isLinkActive(this.router);return this.link&&a(this.link)||this.links.some(a)}static#e=this.\u0275fac=function(p){return new(p||c)(l.Y36(Xt),l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(l.sBO),l.Y36(ti,8))};static#t=this.\u0275dir=l.lG2({type:c,selectors:[["","routerLinkActive",""]],contentQueries:function(p,y,I){if(1&p&&l.Suo(I,ti,5),2&p){let P;l.iGM(P=l.CRH())&&(y.links=P)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[l.TTD]})}return c})();class Oa{}let Pa=(()=>{class c{constructor(a,p,y,I,P){this.router=a,this.injector=y,this.preloadingStrategy=I,this.loader=P}setUpPreloading(){this.subscription=this.router.events.pipe((0,re.h)(a=>a instanceof un),(0,Lt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,p){const y=[];for(const I of p){I.providers&&!I._injector&&(I._injector=(0,l.MMx)(I.providers,a,`Route: ${I.path}`));const P=I._injector??a,X=I._loadedInjector??P;(I.loadChildren&&!I._loadedRoutes&&void 0===I.canLoad||I.loadComponent&&!I._loadedComponent)&&y.push(this.preloadConfig(P,I)),(I.children||I._loadedRoutes)&&y.push(this.processRoutes(X,I.children??I._loadedRoutes))}return(0,j.D)(y).pipe((0,Xe.J)())}preloadConfig(a,p){return this.preloadingStrategy.preload(p,()=>{let y;y=p.loadChildren&&void 0===p.canLoad?this.loader.loadChildren(a,p):(0,B.of)(null);const I=y.pipe((0,ne.z)(P=>null===P?(0,B.of)(void 0):(p._loadedRoutes=P.routes,p._loadedInjector=P.injector,this.processRoutes(P.injector??a,P.routes))));if(p.loadComponent&&!p._loadedComponent){const P=this.loader.loadComponent(p);return(0,j.D)([I,P]).pipe((0,Xe.J)())}return I})}static#e=this.\u0275fac=function(p){return new(p||c)(l.LFG(Xt),l.LFG(l.Sil),l.LFG(l.lqb),l.LFG(Oa),l.LFG(hn))};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const xs=new l.OlP("");let Fs=(()=>{class c{constructor(a,p,y,I,P={}){this.urlSerializer=a,this.transitions=p,this.viewportScroller=y,this.zone=I,this.options=P,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},P.scrollPositionRestoration=P.scrollPositionRestoration||"disabled",P.anchorScrolling=P.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(a=>{a instanceof ci?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof un?(this.lastId=a.id,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.urlAfterRedirects).fragment)):a instanceof hr&&0===a.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof fi&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,p){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new fi(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,p))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(p){l.$Z()};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac})}return c})();function ni(c,f){return{\u0275kind:c,\u0275providers:f}}function Na(){const c=(0,l.f3M)(l.zs3);return f=>{const a=c.get(l.z2F);if(f!==a.components[0])return;const p=c.get(Xt),y=c.get(Ra);1===c.get(xo)&&p.initialNavigation(),c.get(xa,null,l.XFs.Optional)?.setUpPreloading(),c.get(xs,null,l.XFs.Optional)?.init(),p.resetRootComponentType(a.componentTypes[0]),y.closed||(y.next(),y.complete(),y.unsubscribe())}}const Ra=new l.OlP("",{factory:()=>new Qe.x}),xo=new l.OlP("",{providedIn:"root",factory:()=>1}),xa=new l.OlP("");function Du(c){return ni(0,[{provide:xa,useExisting:Pa},{provide:Oa,useExisting:c}])}const Tn=new l.OlP("ROUTER_FORROOT_GUARD"),La=[zt.Ye,{provide:rr,useClass:cr},Xt,dt,{provide:Sr,useFactory:function Ls(c){return c.routerState.root},deps:[Xt]},hn,[]];function vo(){return new l.PXZ("Router",Xt)}let jr=(()=>{class c{constructor(a){}static forRoot(a,p){return{ngModule:c,providers:[La,[],{provide:It,multi:!0,useValue:a},{provide:Tn,useFactory:tf,deps:[[Xt,new l.FiY,new l.tp0]]},{provide:No,useValue:p||{}},p?.useHash?{provide:zt.S$,useClass:zt.Do}:{provide:zt.S$,useClass:zt.b0},{provide:xs,useFactory:()=>{const c=(0,l.f3M)(zt.EM),f=(0,l.f3M)(l.R0b),a=(0,l.f3M)(No),p=(0,l.f3M)(Vn),y=(0,l.f3M)(rr);return a.scrollOffset&&c.setOffset(a.scrollOffset),new Fs(y,p,c,f,a)}},p?.preloadingStrategy?Du(p.preloadingStrategy).\u0275providers:[],{provide:l.PXZ,multi:!0,useFactory:vo},p?.initialNavigation?ka(p):[],p?.bindToComponentInputs?ni(8,[nt,{provide:sr,useExisting:nt}]).\u0275providers:[],[{provide:Un,useFactory:Na},{provide:l.tb,multi:!0,useExisting:Un}]]}}static forChild(a){return{ngModule:c,providers:[{provide:It,multi:!0,useValue:a}]}}static#e=this.\u0275fac=function(p){return new(p||c)(l.LFG(Tn,8))};static#t=this.\u0275mod=l.oAB({type:c});static#n=this.\u0275inj=l.cJS({})}return c})();function tf(c){return"guarded"}function ka(c){return["disabled"===c.initialNavigation?ni(3,[{provide:l.ip1,multi:!0,useFactory:()=>{const f=(0,l.f3M)(Xt);return()=>{f.setUpLocationChangeListener()}}},{provide:xo,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?ni(2,[{provide:xo,useValue:0},{provide:l.ip1,multi:!0,deps:[l.zs3],useFactory:f=>{const a=f.get(zt.V_,Promise.resolve());return()=>a.then(()=>new Promise(p=>{const y=f.get(Xt),I=f.get(Ra);Ps(y,()=>{p(!0)}),f.get(Vn).afterPreactivation=()=>(p(!0),I.closed?(0,B.of)(void 0):I),y.initialNavigation()}))}}]).\u0275providers:[]]}const Un=new l.OlP("")},7582:(Ue,oe,S)=>{function ue(Q,q,re,ne){return new(re||(re=Promise))(function(pe,qe){function ut(vt){try{ke(ne.next(vt))}catch(kt){qe(kt)}}function Lt(vt){try{ke(ne.throw(vt))}catch(kt){qe(kt)}}function ke(vt){vt.done?pe(vt.value):function me(pe){return pe instanceof re?pe:new re(function(qe){qe(pe)})}(vt.value).then(ut,Lt)}ke((ne=ne.apply(Q,q||[])).next())})}function Ie(Q){return this instanceof Ie?(this.v=Q,this):new Ie(Q)}function Ce(Q,q,re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,ne=re.apply(Q,q||[]),pe=[];return me={},qe("next"),qe("throw"),qe("return"),me[Symbol.asyncIterator]=function(){return this},me;function qe(rt){ne[rt]&&(me[rt]=function(At){return new Promise(function(Nt,W){pe.push([rt,At,Nt,W])>1||ut(rt,At)})})}function ut(rt,At){try{!function Lt(rt){rt.value instanceof Ie?Promise.resolve(rt.value.v).then(ke,vt):kt(pe[0][2],rt)}(ne[rt](At))}catch(Nt){kt(pe[0][3],Nt)}}function ke(rt){ut("next",rt)}function vt(rt){ut("throw",rt)}function kt(rt,At){rt(At),pe.shift(),pe.length&&ut(pe[0][0],pe[0][1])}}function Ee(Q){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var re,q=Q[Symbol.asyncIterator];return q?q.call(Q):(Q=function ht(Q){var q="function"==typeof Symbol&&Symbol.iterator,re=q&&Q[q],ne=0;if(re)return re.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&ne>=Q.length&&(Q=void 0),{value:Q&&Q[ne++],done:!Q}}};throw new TypeError(q?"Object is not iterable.":"Symbol.iterator is not defined.")}(Q),re={},ne("next"),ne("throw"),ne("return"),re[Symbol.asyncIterator]=function(){return this},re);function ne(pe){re[pe]=Q[pe]&&function(qe){return new Promise(function(ut,Lt){!function me(pe,qe,ut,Lt){Promise.resolve(Lt).then(function(ke){pe({value:ke,done:ut})},qe)}(ut,Lt,(qe=Q[pe](qe)).done,qe.value)})}}}S.d(oe,{FC:()=>Ce,KL:()=>Ee,mG:()=>ue,qq:()=>Ie}),"function"==typeof SuppressedError&&SuppressedError}},Ue=>{Ue(Ue.s=2320)}]); \ No newline at end of file diff --git a/cmd/edgex-ui-server/static/web/zh/main.92b1e211fff9272b.js b/cmd/edgex-ui-server/static/web/zh/main.92b1e211fff9272b.js deleted file mode 100644 index 3611947e..00000000 --- a/cmd/edgex-ui-server/static/web/zh/main.92b1e211fff9272b.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.$localize=Object.assign(globalThis.$localize || {},{locale:"zh"}); -"use strict";(function(global){global.ng=global.ng||{};global.ng.common=global.ng.common||{};global.ng.common.locales=global.ng.common.locales||{};const u=undefined;function plural(val){const n=val;return 5}global.ng.common.locales["zh"]=["zh",[["\u4E0A\u5348","\u4E0B\u5348"],u,u],u,[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"]],u,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]],u,[["\u516C\u5143\u524D","\u516C\u5143"],u,u],0,[6,0],["y/M/d","y\u5E74M\u6708d\u65E5",u,"y\u5E74M\u6708d\u65E5EEEE"],["HH:mm","HH:mm:ss","z HH:mm:ss","zzzz HH:mm:ss"],["{1} {0}",u,u,u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"CNY","\xA5","\u4EBA\u6C11\u5E01",{"AUD":["AU$","$"],"BYN":[u,"\u0440."],"CNY":["\xA5"],"ILR":["ILS"],"JPY":["JP\xA5","\xA5"],"KRW":["\uFFE6","\u20A9"],"PHP":[u,"\u20B1"],"RUR":[u,"\u0440."],"TWD":["NT$"],"USD":["US$","$"],"XXX":[]},"ltr",plural,[[["\u5348\u591C","\u65E9\u4E0A","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"],u,["\u5348\u591C","\u6E05\u6668","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"]],[["\u5348\u591C","\u65E9\u4E0A","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"],u,u],["00:00",["05:00","08:00"],["08:00","12:00"],["12:00","13:00"],["13:00","19:00"],["19:00","24:00"],["00:00","05:00"]]]]})(typeof globalThis!=="undefined"&&globalThis||typeof global!=="undefined"&&global||typeof window!=="undefined"&&window);; -"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([[179],{2560:(Ue,oe,S)=>{S.d(oe,{a:()=>Z});var l=S(6689),v=S(9919),ee=S(2333);let Z=(()=>{class j{constructor(G,A){this.router=G,this.authSvc=A}canActivate(G,A){return this.checkLogin(A.url)}canActivateChild(G,A){return this.canActivate(G,A)}canLoad(G){return this.checkLogin(`/${G.path}`)}checkLogin(G){return!!(!this.authSvc.isSecureMode||this.authSvc.isLoggedIn&&this.authSvc.isRegistryLoggedIn)||this.router.parseUrl("/login")}static#e=this.\u0275fac=function(A){return new(A||j)(l.LFG(v.F0),l.LFG(ee.e))};static#t=this.\u0275prov=l.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},3685:(Ue,oe,S)=>{S.d(oe,{e:()=>ee});var l=S(6689);let ee=(()=>{class Z{constructor(){this.messages=[]}success(B="operation",G){this.messages.push({class:"alert alert-success shadow rounded alert-dismissible fade show",content:`${B} success! ${G||""}`})}errors(B){this.messages.push({class:"alert alert-danger shadow rounded alert-dismissible fade show",content:B})}clear(){this.messages.shift()}static#e=this.\u0275fac=function(G){return new(G||Z)};static#t=this.\u0275prov=l.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})()},2333:(Ue,oe,S)=>{S.d(oe,{e:()=>Z});var l=S(6689),v=S(9862),ee=S(8027);let Z=(()=>{class j{constructor(G,A){this.http=G,this.errorSvc=A,this.accessToken=null,this.registryToken=null,this.isLoggedIn=!1,this.isRegistryLoggedIn=!1,this.redirectUrl=null,this.isSecureMode=!1}tokenValidate(G){return console.debug("testing : "+G),this.http.get(G)}setAccessToken(G){this.accessToken=G,window.sessionStorage.setItem("EdgeX_Access_Token",this.accessToken)}setRegistryToken(G){this.registryToken=G,window.sessionStorage.setItem("EdgeX_Registry_Token",this.registryToken)}getAccessToken(){if(this.accessToken)return this.accessToken;let G=window.sessionStorage.getItem("EdgeX_Access_Token");return G&&(this.accessToken=G),this.accessToken}getRegistryAccessToken(){if(this.registryToken)return this.registryToken;let G=window.sessionStorage.getItem("EdgeX_Registry_Token");return G&&(this.registryToken=G),this.registryToken}static#e=this.\u0275fac=function(A){return new(A||j)(l.LFG(v.eN),l.LFG(ee.T))};static#t=this.\u0275prov=l.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},2848:(Ue,oe,S)=>{S.d(oe,{D:()=>j});var l=S(6306),v=S(6689),ee=S(9862),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/core-data",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.endpointHealthUrl=`${this.urlPrefix}/ping`,this.eventCountUrl=`${this.urlPrefix}/event/count`,this.readingCountUrl=`${this.urlPrefix}/reading/count`,this.allEventsUrl=`${this.urlPrefix}/event/all`,this.allReadingsUrl=`${this.urlPrefix}/reading/all`,this.associatedEventsByDeviceNameUrl=`${this.urlPrefix}/event/device/name/`,this.associatedReadinsByDeviceNameUrl=`${this.urlPrefix}/reading/device/name/`}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}endpointHealth(){return this.http.get(`${this.endpointHealthUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}eventCount(){return this.http.get(`${this.eventCountUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}readingCount(){return this.http.get(`${this.readingCountUrl}`).pipe((0,l.K)(T=>this.errorSvc.handleError(T)))}allEventsPagination(A,T){return this.http.get(`${this.allEventsUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}allReadingsPagination(A,T){return this.http.get(`${this.allReadingsUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}allAssocaitedReadingsByDeviceNamePagination(A,T){return this.http.get(`${this.associatedEventsByDeviceNameUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}allAssocaitedEventsByDeviceNamePagination(A,T){return this.http.get(`${this.associatedReadinsByDeviceNameUrl}?offset=${A}&limit=${T}`).pipe((0,l.K)(V=>this.errorSvc.handleError(V)))}static#e=this.\u0275fac=function(T){return new(T||B)(v.LFG(ee.eN),v.LFG(Z.T))};static#t=this.\u0275prov=v.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},8027:(Ue,oe,S)=>{S.d(oe,{T:()=>Z});var l=S(8504),v=S(6689),ee=S(3685);let Z=(()=>{class j{constructor(G){this.msgSvc=G}handleErrorForAPI(G){let A=Object.prototype.toString.call(G);if("[object Array]"===A){if(!G[0].statusCode.toString().startsWith("20"))return this.msgSvc.errors(`code: ${G[0].statusCode}, message: ${G[0].message}`),!0}else if("[object Object]"===A&&!G.statusCode.toString().startsWith("20"))return this.msgSvc.errors(`code: ${G.statusCode}, message: ${G.message}`),!0;return!1}handleError(G){return G.error instanceof ErrorEvent?this.msgSvc.errors(`'An error occurred:', ${G.error.message}`):"[object Object]"===Object.prototype.toString.call(G.error)?this.msgSvc.errors(`code: ${G.error.statusCode} , message: ${G.error.message}`):"[object String]"===Object.prototype.toString.call(G.error)?this.msgSvc.errors(`code: ${G.status} , message: ${G.error}`):this.msgSvc.errors(`code: ${G.status} , message: ${G.message}`),(0,l._)(`Backend returned code ${G.status}, body was: ${G.error.message}`)}static#e=this.\u0275fac=function(A){return new(A||j)(v.LFG(ee.e))};static#t=this.\u0275prov=v.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},5167:(Ue,oe,S)=>{S.d(oe,{D:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/core-metadata",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.devicesListUrl=`${this.urlPrefix}/device/all`,this.addOneDeviceUrl=`${this.urlPrefix}/device`,this.updateOneDeviceUrl=`${this.urlPrefix}/device`,this.deleteOneDeviceByIdUrl=`${this.urlPrefix}/device/Id`,this.deleteOneDeviceByNameUrl=`${this.urlPrefix}/device/name`,this.findDeviceByNameUrl=`${this.urlPrefix}/device/name`,this.findDeviceByIdUrl=`${this.urlPrefix}/device/id`,this.findDevicesByServiceIdUrl=`${this.urlPrefix}/device/service/id`,this.findDevicesByServiceNameUrl=`${this.urlPrefix}/device/service/name`,this.findDevicesByProfileIdUrl=`${this.urlPrefix}/device/profile/id`,this.findDevicesByProfileNameUrl=`${this.urlPrefix}/device/profile/name`,this.deviceServicesListUrl=`${this.urlPrefix}/deviceservice/all`,this.updateDeviceServiceUrl=`${this.urlPrefix}/deviceservice`,this.findDeviceServiceByIdUrl=`${this.urlPrefix}/deviceservice/id`,this.findDeviceServiceByNameUrl=`${this.urlPrefix}/deviceservice/name`,this.deviceProfilesListUrl=`${this.urlPrefix}/deviceprofile/all`,this.findProfilesByIdUrl=`${this.urlPrefix}/deviceprofile`,this.findProfilesByNameUrl=`${this.urlPrefix}/deviceprofile/name`,this.updateDeviceProfileUrl=`${this.urlPrefix}/deviceprofile`,this.uploadProfileYamlFileUrl=`${this.urlPrefix}/deviceprofile/uploadfile`,this.uploadProfileYamlContentUrl=`${this.urlPrefix}/deviceprofile/upload`,this.deviceProfileYamlUrl=`${this.urlPrefix}/deviceprofile/yaml`,this.deleteProfileByIdUrl=`${this.urlPrefix}/deviceprofile/id`,this.deleteProfileByNamedUrl=`${this.urlPrefix}/deviceprofile/name`,this.provisionWatcherListUrl=`${this.urlPrefix}/provisionwatcher/all`,this.addOneProvisionWatcherUrl=`${this.urlPrefix}/provisionwatcher`,this.deleteOneProvisionWatcherByNameUrl=`${this.urlPrefix}/provisionwatcher/name`,this.findProvisionWatcherByNameUrl=`${this.urlPrefix}/provisionwatcher/name`,this.updateOneProvisionWatcherUrl=`${this.urlPrefix}/provisionwatcher`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allDevices(){return this.http.get(`${this.devicesListUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allDevicesPagination(A,T){return this.http.get(`${this.devicesListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addDevice(A){let T=`${this.addOneDeviceUrl}`;return A.apiVersion="v3",this.http.post(T,JSON.stringify([{apiVersion:"v3",device:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}deleteOneDeviceByName(A){return this.http.delete(`${this.deleteOneDeviceByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteOneDeviceById(A){return this.http.delete(`${this.deleteOneDeviceByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateDevice(A){return this.http.patch(`${this.updateOneDeviceUrl}`,JSON.stringify([{apiVersion:"v3",device:A}]),{headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findDeviceByName(A){return this.http.get(`${this.findDeviceByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDeviceById(A){return this.http.get(`${this.findDeviceByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevicesByServiceId(A){return this.http.get(`${this.findDevicesByServiceIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevicesByServiceName(A,T,N){return this.http.get(`${this.findDevicesByServiceNameUrl}/${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findDevicesByProfileId(A){return this.http.get(`${this.findDevicesByProfileIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevicesByProfileName(A,T,N){return this.http.get(`${this.findDevicesByProfileNameUrl}/${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}allDeviceServices(){return this.http.get(`${this.deviceServicesListUrl}?offset=0&limit=-1`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findAllDeviceServicesPagination(A,T){return this.http.get(`${this.deviceServicesListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateDeviceService(A){return this.http.patch(`${this.updateDeviceServiceUrl}`,JSON.stringify([{apiVersion:"v3",service:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findDevcieServiceById(A){return this.http.get(`${this.findDeviceServiceByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findDevcieServiceByName(A){return this.http.get(`${this.findDeviceServiceByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allDeviceProfoles(){return this.http.get(`${this.deviceProfilesListUrl}?offset=0&limit=-1`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allDeviceProfolesPagination(A,T){return this.http.get(`${this.deviceProfilesListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addProfileYamlByNameViaUIBackend(A){return this.http.request("POST","/api/v3/profile/yaml",{body:A,responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allProvisionWatchers(){return this.http.get(`${this.provisionWatcherListUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}allProvisionWatchersPagination(A,T){return this.http.get(`${this.provisionWatcherListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addProvisionWatcher(A){let T=`${this.addOneProvisionWatcherUrl}`;return A.apiVersion="v3",this.http.post(T,JSON.stringify([{apiVersion:"v3",provisionWatcher:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}deleteOneProvisionWatcherByName(A){return this.http.delete(`${this.deleteOneProvisionWatcherByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProvisionWatcherByName(A){return this.http.get(`${this.findProvisionWatcherByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateProvisionWatcher(A){return this.http.patch(`${this.updateOneProvisionWatcherUrl}`,JSON.stringify([{apiVersion:"v3",provisionWatcher:A}]),{headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findProfileById(A){return this.http.get(`${this.findProfilesByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProfileByName(A){return this.http.get(`${this.findProfilesByNameUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProfileYamlByNameViaUIBackend(A){return this.http.request("GET","/api/v3/profile/yaml/name/"+A,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}uploadProfileYamlFile(A){return this.http.request("POST",`${this.uploadProfileYamlFileUrl}`,{body:A,responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateDeviceProfile(A){return this.http.put(`${this.updateDeviceProfileUrl}`,A,this.httpPostOrPutJSONOptions).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateProfileYamlContentViaUIBackend(A){return this.http.put("/api/v3/profile/yaml",A,{headers:new l.WM({"Content-Type":"text/plain; charset=utf-8"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}uploadProfileYamlContent(A){return this.http.request("POST",`${this.uploadProfileYamlContentUrl}`,{body:A,responseType:"text",headers:new l.WM({"Content-Type":"text/plain; charset=utf-8"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findProfileYamlById(A){return this.http.request("GET",`${this.deviceProfileYamlUrl}/${A}`,{responseType:"text"})}deleteProfileById(A){return this.http.delete(`${this.deleteProfileByIdUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteProfileByName(A){return this.http.delete(`${this.deleteProfileByNamedUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},5425:(Ue,oe,S)=>{S.d(oe,{T:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/support-notifications",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.findNotificationByCategoryUrl=`${this.urlPrefix}/notification/category/`,this.findNotificationByLabelUrl=`${this.urlPrefix}/notification/label/`,this.findNotificationByStatusUrl=`${this.urlPrefix}/notification/status/`,this.findNotificationByStartEndUrl=`${this.urlPrefix}/notification/start/`,this.deleteNotificationByIdUrl=`${this.urlPrefix}/notification/id/`,this.deleteNotificationByAgeAndStatusUrl=`${this.urlPrefix}/notification/age/`,this.cleanupNotificationByAgeUrl=`${this.urlPrefix}/cleanup/age/`,this.cleanupNotificationAllUrl=`${this.urlPrefix}/cleanup`,this.findAllSubscriptionsPaginationUrl=`${this.urlPrefix}/subscription/all`,this.findAllSubscriptionsByCategoryPaginationUrl=`${this.urlPrefix}/subscription/category/`,this.findAllSubscriptionsByLabelPaginationUrl=`${this.urlPrefix}/subscription/label/`,this.findAllSubscriptionsByReceiverPaginationUrl=`${this.urlPrefix}/subscription/receiver/`,this.findOneSubscriptionsByNameUrl=`${this.urlPrefix}/subscription/name/`,this.addOneSubscriptionUrl=`${this.urlPrefix}/subscription`,this.updateOneSubscriptionUrl=`${this.urlPrefix}/subscription`,this.deleteOneSubscriptionByNameUrl=`${this.urlPrefix}/subscription/name/`,this.httpPostOrPutOrPatchJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findNotificationsByCategoryPagination(A,T,N){return this.http.get(`${this.findNotificationByCategoryUrl}${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findNotificationsByLabelPagination(A,T,N){return this.http.get(`${this.findNotificationByLabelUrl}${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findNotificationsByStatusPagination(A,T,N){return this.http.get(`${this.findNotificationByStatusUrl}${N}?offset=${A}&limit=${T}`).pipe((0,v.K)(ue=>this.errorSvc.handleError(ue)))}findNotificationsByStartEndPagination(A,T,N,V){return this.http.get(`${this.findNotificationByStartEndUrl}${N}/end/${V}?offset=${A}&limit=${T}`).pipe((0,v.K)(xe=>this.errorSvc.handleError(xe)))}deleteNotificationByAgeAndStatus(A){return this.http.delete(`${this.deleteNotificationByAgeAndStatusUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteNotificationById(A){return this.http.delete(`${this.deleteNotificationByIdUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}cleanupNotificationByAge(A){return this.http.delete(`${this.cleanupNotificationByAgeUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}cleanupNotificationAll(){return this.http.delete(`${this.cleanupNotificationAllUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findAllSubscriptionPagination(A,T){return this.http.get(`${this.findAllSubscriptionsPaginationUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findOneSubscriptionByName(A){return this.http.get(`${this.findOneSubscriptionsByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}addOneSubscription(A){return this.http.post(`${this.addOneSubscriptionUrl}`,JSON.stringify([{apiVersion:"v3",subscription:A}]),this.httpPostOrPutOrPatchJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateOneSubscription(A){return this.http.patch(`${this.updateOneSubscriptionUrl}`,JSON.stringify([{apiVersion:"v3",subscription:A}]),this.httpPostOrPutOrPatchJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}deleteOneSubscriptionByName(A){return this.http.delete(`${this.deleteOneSubscriptionByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},8411:(Ue,oe,S)=>{S.d(oe,{r:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.version="/api/v3",this.pingUrl=`${this.version}/registrycenter/ping`,this.appSvcDeployConfigUrl=`${this.version}/registrycenter/deploy`,this.appSvcGetConfigUrl=`${this.version}/registrycenter/config`,this.appSvcAllUrl=`${this.version}/registrycenter/service/all`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.pingUrl}`)}getAppSvcConfigBySvcKey(A){return this.http.get(`${this.appSvcGetConfigUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deployToConsul(A,T){return this.http.post(`${this.appSvcDeployConfigUrl}/${T}`,JSON.stringify(A),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}getAllAppSvc(){return this.http.get(`${this.appSvcAllUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},2303:(Ue,oe,S)=>{S.d(oe,{n:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/rules-engine",this.version="",this.pingUrl=`${this.endpoint}${this.version}/ping`,this.streamUrl=`${this.endpoint}${this.version}/streams`,this.ruleUrl=`${this.endpoint}${this.version}/rules`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.pingUrl}`)}addStream(A){return this.http.request("POST",`${this.streamUrl}`,{body:A,responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteOneStreamById(A){return this.http.delete(`${this.streamUrl}/${A}`,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateStream(A,T){return this.http.request("PUT",`${this.streamUrl}/${T}`,{body:A,responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findStreamByName(A){return this.http.get(`${this.streamUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allStreams(){return this.http.get(`${this.streamUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}addRule(A){return this.http.request("POST",`${this.ruleUrl}`,{body:JSON.stringify(A),responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteOneRuleById(A){return this.http.delete(`${this.ruleUrl}/${A}`,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}updateRule(A){return this.http.request("PUT",`${this.ruleUrl}/${A.id}`,{body:JSON.stringify(A),responseType:"text",headers:new l.WM({"Content-type":"application/json"})}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findRuleById(A){return this.http.get(`${this.ruleUrl}/${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}allRules(){return this.http.get(`${this.ruleUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}getRuleStatusMetricsById(A){return this.http.get(`${this.ruleUrl}/${A}/status`,{responseType:"text"}).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}getRuleTopoById(A){return this.http.get(`${this.ruleUrl}/${A}/topo`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}executeRuleCommand(A,T){return this.http.post(`${this.ruleUrl}/${A}/${T}`,null,{responseType:"text"}).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},4458:(Ue,oe,S)=>{S.d(oe,{G:()=>j});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027);let j=(()=>{class B{constructor(A,T){this.http=A,this.errorSvc=T,this.endpoint="/support-scheduler",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.pingUrl="/ping",this.configUrl="/config",this.intervalListUrl=`${this.urlPrefix}/interval/all`,this.addOneIntervalUrl=`${this.urlPrefix}/interval`,this.updateOneIntervalUrl=`${this.urlPrefix}/interval`,this.findOneIntervalByNameUrl=`${this.urlPrefix}/interval/name/`,this.deleteOneIntervalByNameUrl=`${this.urlPrefix}/interval/name/`,this.intervalActionListUrl=`${this.urlPrefix}/intervalaction/all`,this.addOneIntervalActionUrl=`${this.urlPrefix}/intervalaction`,this.updateOneIntervaActionlUrl=`${this.urlPrefix}/intervalaction`,this.findOneIntervalActionByNameUrl=`${this.urlPrefix}/intervalaction/name/`,this.deleteOneIntervalActionByNameUrl=`${this.urlPrefix}/intervalaction/name/`,this.httpPostOrPutJSONOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getConfig(){return this.http.get(`${this.urlPrefix}${this.configUrl}`).pipe((0,v.K)(T=>this.errorSvc.handleError(T)))}findAllIntervalsPagination(A,T){return this.http.get(`${this.intervalListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addInterval(A){return this.http.post(`${this.addOneIntervalUrl}`,JSON.stringify([{apiVersion:"v3",interval:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateInterval(A){return this.http.patch(`${this.updateOneIntervalUrl}`,JSON.stringify([{apiVersion:"v3",interval:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findIntervalByName(A){return this.http.get(`${this.findOneIntervalByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteIntervalByName(A){return this.http.delete(`${this.deleteOneIntervalByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}findAllIntervalActionsPagination(A,T){return this.http.get(`${this.intervalActionListUrl}?offset=${A}&limit=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}addIntervalAction(A){return this.http.post(`${this.addOneIntervalActionUrl}`,JSON.stringify([{apiVersion:"v3",action:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}updateIntervalAction(A){return this.http.patch(`${this.updateOneIntervaActionlUrl}`,JSON.stringify([{apiVersion:"v3",action:A}]),this.httpPostOrPutJSONOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}findIntervalActionByName(A){return this.http.get(`${this.findOneIntervalActionByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}deleteIntervalActionByName(A){return this.http.delete(`${this.deleteOneIntervalActionByNameUrl}${A}`).pipe((0,v.K)(N=>this.errorSvc.handleError(N)))}static#e=this.\u0275fac=function(T){return new(T||B)(ee.LFG(l.eN),ee.LFG(Z.T))};static#t=this.\u0275prov=ee.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},1742:(Ue,oe,S)=>{S.d(oe,{J:()=>B});var l=S(9862),v=S(6306),ee=S(6689),Z=S(8027),j=S(8411);let B=(()=>{class G{constructor(T,N,V){this.http=T,this.errorSvc=N,this.registrySvc=V,this.endpoint="/sys-mgmt-agent",this.version2="/api/v3",this.urlPrefix=`${this.endpoint}${this.version2}`,this.pingUrl="/ping",this.allRegisteredSvcUrl="/api/v3/registrycenter/service/all",this.configUrl=`${this.urlPrefix}/system/config`,this.metricsUrl=`${this.urlPrefix}/system/metrics`,this.healthUrl=`${this.urlPrefix}/system/health`,this.operationUrl=`${this.urlPrefix}/system/operation`,this.httpPostOrPutOptions={headers:new l.WM({"Content-type":"application/json"})}}ping(){return this.http.get(`${this.urlPrefix}${this.pingUrl}`)}getRegisteredServiceAll(){return this.registrySvc.getAllAppSvc()}getConfigBySvcName(T){return this.http.get(`${this.configUrl}?services=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}getMetricsBySvcName(T){return this.http.get(`${this.metricsUrl}?services=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}getAllSvcHealth(T){return this.http.get(`${this.healthUrl}?services=${T}`).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}operate(T){return this.http.post(`${this.operationUrl}`,JSON.stringify(T),this.httpPostOrPutOptions).pipe((0,v.K)(V=>this.errorSvc.handleError(V)))}startV2(T){return this.operate([{apiVersion:"v3",serviceName:T,action:"start"}])}stopV2(T){return this.operate([{apiVersion:"v3",serviceName:T,action:"stop"}])}restartV2(T){return this.operate([{apiVersion:"v3",serviceName:T,action:"restart"}])}static#e=this.\u0275fac=function(N){return new(N||G)(ee.LFG(l.eN),ee.LFG(Z.T),ee.LFG(j.r))};static#t=this.\u0275prov=ee.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})()},2320:(Ue,oe,S)=>{var l=S(6593),v=S(6689),ee=S(9862),Z=S(6223),j=S(6814),B=S(9919),G=S(2560),A=S(6306),T=S(8504),N=S(8027);let V=(()=>{class W{constructor(_e,Me){this.http=_e,this.errorSvc=Me,this.endpoint="",this.version="/api/v3",this.urlPrefix=`${this.endpoint}${this.version}`,this.secureModeUrl=`${this.urlPrefix}/auth/securemode`}getSecureMode(){return this.http.get(`${this.secureModeUrl}`,{responseType:"text"}).pipe((0,A.K)(Me=>this.errorSvc.handleError(Me)))}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.LFG(ee.eN),v.LFG(N.T))};static#t=this.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();var ue=S(2333);let xe=(()=>{class W{constructor(_e,Me,he,Oe,yt){this.initSvc=_e,this.errorSvc=Me,this.authSvc=he,this.router=Oe,this.route=yt}ngOnInit(){this.initializor()}initializor(){this.environmentCheck()}environmentCheck(){this.progressMsg="environment checking",this.initSvc.getSecureMode().subscribe(_e=>{"secure"===_e?(this.authSvc.isSecureMode=!0,this.tokenValidate()):(this.authSvc.isSecureMode=!1,this.navigateToHome())})}tokenValidate(){this.progressMsg="access token validating",this.authSvc.tokenValidate("/core-metadata/api/v3/ping").pipe((0,A.K)(_e=>(this.authSvc.isLoggedIn=!1,this.router.navigate(["/login"],{relativeTo:this.route}),(0,T._)(_e)))).subscribe(()=>{this.authSvc.isLoggedIn=!0,this.navigateToHome()})}navigateToHome(){this.router.navigate(["/dashboard"],{relativeTo:this.route})}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(V),v.Y36(N.T),v.Y36(ue.e),v.Y36(B.F0),v.Y36(B.gz))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-initializer"]],decls:16,vars:1,consts:[[1,"init","text-center","bg-dark"],[1,"init-progress"],["role","status",1,"spinner-grow","text-success"],[1,"sr-only"],["role","status",1,"spinner-grow","text-danger"],["role","status",1,"spinner-grow","text-warning"],["role","status",1,"spinner-grow","text-info"],[1,"text-light"]],template:function(Me,he){1&Me&&(v.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"span",3),v._uU(4,"Loading..."),v.qZA()(),v.TgZ(5,"div",4)(6,"span",3),v._uU(7,"Loading..."),v.qZA()(),v.TgZ(8,"div",5)(9,"span",3),v._uU(10,"Loading..."),v.qZA()(),v.TgZ(11,"div",6)(12,"span",3),v._uU(13,"Loading..."),v.qZA()(),v.TgZ(14,"p",7),v._uU(15),v.qZA()()()),2&Me&&(v.xp6(15),v.hij("",he.progressMsg,"..."))},styles:[".init[_ngcontent-%COMP%]{position:fixed;inset:0 0 -100px;z-index:999}.init-progress[_ngcontent-%COMP%]{position:absolute;left:0;right:0;top:45%}"]})}return W})();var Pe=S(2096),Ve=S(2848),ht=S(5167),ze=S(5425),Le=S(4458),mt=S(2303),Xe=S(1742),Ie=S(8411);function Ce(W,Vt){if(1&W&&(v.TgZ(0,"p",6),v._UZ(1,"span",7),v._uU(2),v.qZA()),2&W){const _e=v.oxw();v.xp6(2),v.hij(" The ",_e.svcName," service is inaccessible!!! please try again later! ")}}const Ee=[{path:"dashboard",canLoad:[G.a],loadChildren:()=>S.e(489).then(S.bind(S,2489)).then(W=>W.DashboardModule)},{path:"metadata",canLoad:[G.a],loadChildren:()=>S.e(649).then(S.bind(S,2649)).then(W=>W.MetadataModule)},{path:"core-data",canLoad:[G.a],loadChildren:()=>S.e(432).then(S.bind(S,3432)).then(W=>W.CoreDataModule)},{path:"notifications",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(875),S.e(744)]).then(S.bind(S,9744)).then(W=>W.NotificationsModule)},{path:"scheduler",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(875),S.e(934),S.e(806)]).then(S.bind(S,7246)).then(W=>W.SchedulerModule)},{path:"rule-engine",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(649),S.e(326),S.e(934),S.e(342)]).then(S.bind(S,8342)).then(W=>W.RuleEngineModule)},{path:"app-service",canLoad:[G.a],loadChildren:()=>Promise.all([S.e(649),S.e(326),S.e(79)]).then(S.bind(S,3079)).then(W=>W.AppServiceModule)},{path:"initializer",component:xe},{path:"svc-unavailable",component:(()=>{class W{constructor(_e,Me,he,Oe,yt,Tt,Rt,Je,et){this.router=_e,this.route=Me,this.coredataSvc=he,this.metadataSvc=Oe,this.notiSvc=yt,this.schedulerSvc=Tt,this.ruleSvc=Rt,this.systemSvc=Je,this.registrySvc=et,this.refresgMsg=!1,this.refreshBtnDisable=!1}ngOnInit(){this.route.queryParams.subscribe(_e=>{this.svcName=_e.svcName,this.routerPath=_e.routerPath})}refresh(){this.refreshBtnDisable=!0,this.ping().pipe((0,A.K)(_e=>(this.refresgMsg=!0,window.setTimeout(()=>{this.refresgMsg=!1,this.refreshBtnDisable=!1},3e3),(0,T._)(()=>"Something bad happened; please try again later.")))).subscribe(()=>this.router.navigate([`${this.routerPath}`]))}ping(){switch(this.svcName){case"core data":return this.coredataSvc.ping();case"metadata":return this.metadataSvc.ping();case"scheduler":return this.schedulerSvc.ping();case"notification":return this.notiSvc.ping();case"rule engine":return this.ruleSvc.ping();case"system agent":return this.systemSvc.ping();case"registry center":return this.registrySvc.ping();default:return(0,Pe.of)()}}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(B.F0),v.Y36(B.gz),v.Y36(Ve.D),v.Y36(ht.D),v.Y36(ze.T),v.Y36(Le.G),v.Y36(mt.n),v.Y36(Xe.J),v.Y36(Ie.r))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-service-unavailable"]],decls:11,vars:5,consts:[["class","alert alert-danger","role","alert",4,"ngIf"],[1,"jumbotron"],[1,"display-5"],[1,"lead"],[1,"my-4"],["role","button",1,"btn","btn-primary","btn-sm",3,"disabled","click"],["role","alert",1,"alert","alert-danger"],[1,"fa","fa-warning"]],template:function(Me,he){1&Me&&(v.YNc(0,Ce,3,1,"p",0),v.TgZ(1,"div",1)(2,"h2",2),v._uU(3),v.qZA(),v.TgZ(4,"p",3),v._uU(5),v.qZA(),v._UZ(6,"hr",4),v.TgZ(7,"p"),v._uU(8,"EdgeXFoundry uses a microservices architecture, each service is running independently, please make sure that the current service is already running, if you have manually started the service, click the Refresh button."),v.qZA(),v.TgZ(9,"button",5),v.NdJ("click",function(){return he.refresh()}),v._uU(10,"Refresh"),v.qZA()()),2&Me&&(v.Q6J("ngIf",he.refresgMsg),v.xp6(3),v.hij("Oops!!! ",he.svcName," service is unavailable!"),v.xp6(2),v.AsE("This could be a network reason, or it could be that the ",he.svcName," microservice is not running, make sure there is no network problem or that the ",he.svcName," service is already running!"),v.xp6(4),v.Q6J("disabled",he.refreshBtnDisable))},dependencies:[j.O5],styles:[".btn[disabled][_ngcontent-%COMP%]:hover{cursor:not-allowed}"]})}return W})()}];let Te=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W});static#n=this.\u0275inj=v.cJS({imports:[B.Bz.forRoot(Ee,{useHash:!0}),B.Bz]})}return W})();var ve=S(2181),Ze=S(3685);function Ye(W,Vt){if(1&W){const _e=v.EpF();v.TgZ(0,"div")(1,"div",3)(2,"span",4),v.NdJ("click",function(){const Oe=v.CHM(_e).$implicit,yt=v.oxw(2);return v.KtG(yt.close(Oe))}),v.TgZ(3,"span",5),v._uU(4,"\xd7"),v.qZA()(),v.TgZ(5,"div"),v._uU(6),v.qZA()()()}if(2&W){const _e=Vt.$implicit;v.xp6(1),v.Tol(_e.class),v.xp6(5),v.hij(" ",_e.content," ")}}function De(W,Vt){if(1&W&&(v.TgZ(0,"div",1),v.YNc(1,Ye,7,3,"div",2),v.qZA()),2&W){const _e=v.oxw();v.xp6(1),v.Q6J("ngForOf",_e.messageService.messages)}}let Gt=(()=>{class W{constructor(_e){this.messageService=_e}ngOnInit(){}close(_e){this.messageService.messages.splice(this.messageService.messages.indexOf(_e),1)}ngOnDestroy(){this.timer&&clearInterval(this.timer)}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(Ze.e))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-message"]],decls:1,vars:1,consts:[["class","position-fixed overflow-hidden text-break","style","top: 10px; right: 0;min-width: 300px; max-width: 300px;z-index: 999;",4,"ngIf"],[1,"position-fixed","overflow-hidden","text-break",2,"top","10px","right","0","min-width","300px","max-width","300px","z-index","999"],[4,"ngFor","ngForOf"],["role","alert"],["type","button","aria-label","Close",1,"btn","btn-lg","close",3,"click"],["aria-hidden","true"]],template:function(Me,he){1&Me&&v.YNc(0,De,2,1,"div",0),2&Me&&v.Q6J("ngIf",he.messageService.messages.length)},dependencies:[j.sg,j.O5]})}return W})();function He(W,Vt){if(1&W&&(v.TgZ(0,"a",49),v._uU(1),v.qZA()),2&W){const _e=v.oxw().$implicit,Me=v.oxw();v.s9C("routerLink",Me.navChainMap.get(_e)),v.xp6(1),v.hij(" ",Me.pathFormat(_e)," ")}}function Qe(W,Vt){if(1&W&&(v.TgZ(0,"span",50),v._uU(1),v.qZA()),2&W){const _e=v.oxw().$implicit,Me=v.oxw();v.xp6(1),v.hij(" ",Me.pathFormat(_e)," ")}}function zt(W,Vt){1&W&&(v.TgZ(0,"span"),v._uU(1,">"),v.qZA())}function Mt(W,Vt){if(1&W&&(v.TgZ(0,"h6",35),v.YNc(1,He,2,2,"a",47),v.YNc(2,Qe,2,1,"span",48),v.YNc(3,zt,2,0,"span",46),v.qZA()),2&W){const _e=Vt.index,Me=v.oxw();v.xp6(1),v.Q6J("ngIf",_e!==Me.navChain.length-1),v.xp6(1),v.Q6J("ngIf",_e==Me.navChain.length-1),v.xp6(1),v.Q6J("ngIf",_e!==Me.navChain.length-1)}}function sn(W,Vt){1&W&&(v.TgZ(0,"div",51)(1,"div"),v._UZ(2,"span",52),v.TgZ(3,"span"),v._uU(4,"Loading..."),v.qZA()()())}function Q(W,Vt){1&W&&v._UZ(0,"router-outlet")}const q=function(){return{exact:!1}};let re=(()=>{class W{constructor(_e,Me){this.activatedRoute=_e,this.router=Me,this.title="EdgeX Console",this.isSelected=!1,this.toggleClass="",this.shrink=!1,this.shrinkSidebarOnly=!1,this.shrinkCenterNo=!1,this.navChainMap=new Map,this.navChainCache=[],this.navChain=[],this.currentNav="",this.loading=!1,this.navRecognized=Me.events.pipe((0,ve.h)(he=>he instanceof B.R9)),this.navStart=Me.events.pipe((0,ve.h)(he=>he instanceof B.OD)),this.navEnd=Me.events.pipe((0,ve.h)(he=>he instanceof B.m2)),this.childStart=Me.events.pipe((0,ve.h)(he=>he instanceof B.Eb))}ngOnInit(){this.router.events.subscribe(_e=>{_e instanceof B.OD&&(this.loading=!0),(_e instanceof B.m2||_e instanceof B.gk||_e instanceof B.Q3)&&(this.loading=!1)}),this.navEnd.subscribe(_e=>{this.navChainCache=[],this.navChainMap=new Map,this.currentNav=_e.urlAfterRedirects.split("?")[0].split("/").pop(),this.navChain=_e.urlAfterRedirects.split("?")[0].split("/"),this.navChain.shift();let Me=this;this.navChain.map(Oe=>Oe).reverse().forEach(function(Oe,yt){let Je=Me.navChain.map(et=>et).reverse().slice(yt).reverse().join("/");Me.navChainCache.push("/"+Je),Me.navChainMap.set(Oe,"/"+Je)}),this.navChainCache.reverse()}),$(window).resize(()=>{this.shrinkCenterNo=!1,this.shrink=document.body.clientWidth<1340}),this.router.navigate(["/initializer"],{relativeTo:this.activatedRoute})}pathFormat(_e){let Me=_e.split("-");return Me.forEach((he,Oe)=>{Me[Oe]=he.charAt(0).toUpperCase()+he.substring(1)}),Me.join(" ")}sideBarToggle(){this.shrink?(document.body.clientWidth<1340&&(this.shrinkCenterNo=!0),this.shrink=!1):(document.body.clientWidth<1340&&(this.shrinkCenterNo=!1),this.shrink=!0)}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(B.gz),v.Y36(B.F0))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-root"]],decls:60,vars:44,consts:function(){let _e,Me,he,Oe,yt,Tt,Rt,Je;return _e="\u4EEA\u8868\u76D8",Me="\u8BBE\u5907\u7BA1\u7406",he="\u6570\u636E\u4E2D\u5FC3",Oe="\u4EFB\u52A1\u8C03\u5EA6",yt="\u901A\u77E5\u670D\u52A1",Tt="\u89C4\u5219\u5F15\u64CE",Rt="\u5E94\u7528\u670D\u52A1",Je="\u4E2D\u6587\u7B80\u4F53",[[1,"container-fluid"],[1,"row"],[1,"px-0"],[1,"sidebar-center","font-weight-bold","text-white","vh-100"],[1,"sidebar-header","p-2"],["src","assets/img/bg_x.png","width","35","height","34","alt","","loading","lazy",1,"mt-2"],[1,"float-right","mt-3","mr-2"],["role","button",1,"fa","fa-navicon","fa-lg","text-light",3,"click"],[1,"overflow-hidden"],[1,"nav","flex-column"],["data-testid","menu-item-dashboard","routerLink","/dashboard","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-tachometer","fa-fw","mr-5"],["data-testid","menu-item-dashboard-text"],_e,["routerLink","/metadata","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-cubes","fa-fw","mr-5"],Me,["routerLink","/core-data","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-database","fa-fw","mr-5"],he,["routerLink","/scheduler","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-clock-o","fa-fw","mr-5"],Oe,["routerLink","/notifications","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-envelope","fa-fw","mr-5"],yt,["routerLink","/rule-engine","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-sliders","fa-fw","mr-5"],Tt,["routerLink","/app-service","routerLinkActive","active-link",1,"nav-link","text-light",3,"routerLinkActiveOptions"],[1,"fa","fa-cloud-upload","fa-fw","mr-5"],Rt,[1,"col-12"],[1,"bg-light","center-header","px-3","pt-2","font-weight-bold"],[1,"nav-router","mw-100","align-middle"],[1,"d-inline"],[1,"dropdown","float-right"],["id","dropdownLangLink","type","button","data-toggle","dropdown","aria-haspopup","true","aria-expanded","false",1,"btn","btn-secondary","btn-sm","dropdown-toggle"],Je,["aria-labelledby","dropdownLangLink",1,"dropdown-menu","dropdown-menu-sm","dropdown-menu-right"],["href","/",1,"dropdown-item"],["href","/zh",1,"dropdown-item"],[1,"mw-100","align-middle","mt-1"],["class","d-inline",4,"ngFor","ngForOf"],[1,"center-center","p-3"],["class","text-center","style","margin-top: 20%;",4,"ngIf"],[4,"ngIf"],["class","text-decoration-none d-inline",3,"routerLink",4,"ngIf"],["class","text-decoration-none d-inline",4,"ngIf"],[1,"text-decoration-none","d-inline",3,"routerLink"],[1,"text-decoration-none","d-inline"],[1,"text-center",2,"margin-top","20%"],["role","status","aria-hidden","true",1,"spinner-border","mr-2"]]},template:function(Me,he){1&Me&&(v._UZ(0,"app-message"),v.TgZ(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),v._UZ(6,"img",5),v.TgZ(7,"p",6)(8,"i",7),v.NdJ("click",function(){return he.sideBarToggle()}),v.qZA()()(),v.TgZ(9,"div",8)(10,"nav",9)(11,"a",10),v._UZ(12,"i",11),v.TgZ(13,"span",12),v.SDv(14,13),v.qZA()(),v.TgZ(15,"a",14),v._UZ(16,"i",15),v.TgZ(17,"span"),v.SDv(18,16),v.qZA()(),v.TgZ(19,"a",17),v._UZ(20,"i",18),v.TgZ(21,"span"),v.SDv(22,19),v.qZA()(),v.TgZ(23,"a",20),v._UZ(24,"i",21),v.TgZ(25,"span"),v.SDv(26,22),v.qZA()(),v.TgZ(27,"a",23),v._UZ(28,"i",24),v.TgZ(29,"span"),v.SDv(30,25),v.qZA()(),v.TgZ(31,"a",26),v._UZ(32,"i",27),v.TgZ(33,"span"),v.SDv(34,28),v.qZA()(),v.TgZ(35,"a",29),v._UZ(36,"i",30),v.TgZ(37,"span"),v.SDv(38,31),v.qZA()()()()()(),v.TgZ(39,"div",32)(40,"div")(41,"nav",33)(42,"div",34)(43,"h4",35),v._uU(44),v.qZA(),v.TgZ(45,"div",36)(46,"button",37)(47,"span"),v.SDv(48,38),v.qZA()(),v.TgZ(49,"div",39)(50,"a",40),v._uU(51,"English"),v.qZA(),v.TgZ(52,"a",41),v._uU(53,"\u4e2d\u6587\u7b80\u4f53"),v.qZA()()()(),v.TgZ(54,"div",42)(55,"div",35),v.YNc(56,Mt,4,3,"h6",43),v.qZA()()(),v.TgZ(57,"div",44),v.YNc(58,sn,5,0,"div",45),v.YNc(59,Q,1,0,"router-outlet",46),v.qZA()()()()()),2&Me&&(v.xp6(3),v.ekj("sidebar-shrink",he.shrink)("sidebar",!he.shrink),v.xp6(3),v.ekj("d-none",he.shrink),v.xp6(5),v.Q6J("routerLinkActiveOptions",v.DdM(37,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(38,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(39,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(40,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(41,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(42,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(2),v.Q6J("routerLinkActiveOptions",v.DdM(43,q)),v.xp6(2),v.ekj("d-none",he.shrink),v.xp6(3),v.ekj("center-shrink",he.shrink)("center-no-shrink",he.shrinkCenterNo)("center",!he.shrink),v.xp6(4),v.Oqu(he.pathFormat(he.currentNav)),v.xp6(12),v.Q6J("ngForOf",he.navChain),v.xp6(2),v.Q6J("ngIf",he.loading),v.xp6(1),v.Q6J("ngIf",!he.loading))},dependencies:[j.sg,j.O5,B.lC,B.rH,B.Od,Gt],styles:[".sidebar[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:250px;z-index:10}.sidebar-shrink[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:45px;z-index:10}.sidebar-center[_ngcontent-%COMP%]{background-color:#2d2848e6!important}.sidebar-header[_ngcontent-%COMP%]{background-color:#2d2848!important;height:65px}.active-link[_ngcontent-%COMP%], .sidebar-center[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover{color:#922c48;background-color:#922c4866!important}.center[_ngcontent-%COMP%]{position:absolute;left:250px;right:0}.center-shrink[_ngcontent-%COMP%], .center-no-shrink[_ngcontent-%COMP%]{position:absolute;left:45px;right:0}.center-header[_ngcontent-%COMP%]{height:65px}"]})}return W})();var ne=S(7398),me=S(9315);function pe(W,Vt){1&W&&(v.TgZ(0,"button",22),v._UZ(1,"span",23),v.TgZ(2,"span"),v._uU(3,"Loading..."),v.qZA()())}function qe(W,Vt){if(1&W){const _e=v.EpF();v.TgZ(0,"button",24),v.NdJ("click",function(){v.CHM(_e);const he=v.oxw();return v.KtG(he.login())}),v.TgZ(1,"span"),v.SDv(2,25),v.qZA()()}}const Lt=[{path:"login",component:(()=>{class W{constructor(_e,Me,he,Oe){this.authSvc=_e,this.errorSvc=Me,this.router=he,this.route=Oe,this.loading=!1,this.accessToken=null,this.accessTokenIsValid=!0,this.registryToken=null,this.registryTokenIsValid=!0}ngOnInit(){}login(){this.loading=!0,this.authSvc.setAccessToken(this.accessToken),this.authSvc.setRegistryToken(this.registryToken);const _e=this.authSvc.tokenValidate("/core-metadata/api/v3/ping").pipe((0,ne.U)(he=>{this.authSvc.isLoggedIn=!0,this.accessTokenIsValid=!0}),(0,A.K)(he=>(this.authSvc.isLoggedIn=!1,this.accessToken=null,this.accessTokenIsValid=!1,(0,Pe.of)(null)))),Me=this.authSvc.tokenValidate("/api/v3/registrycenter/ping").pipe((0,ne.U)(he=>{this.authSvc.isRegistryLoggedIn=!0,this.registryTokenIsValid=!0}),(0,A.K)(he=>(this.authSvc.isRegistryLoggedIn=!1,this.registryToken=null,this.registryTokenIsValid=!1,(0,Pe.of)(null))));(0,me.D)([_e,Me]).pipe((0,A.K)(he=>(this.router.navigate(["/login"],{relativeTo:this.route}),[]))).subscribe(he=>{this.loading=!1,this.authSvc.isLoggedIn&&this.authSvc.isRegistryLoggedIn&&this.router.navigate(["/dashboard"],{relativeTo:this.route})})}renderPopoverComponent(){$('[data-toggle="popover"]').popover({trigger:"hover"})}onInput(){this.accessTokenIsValid=!0,this.registryTokenIsValid=!0}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.Y36(ue.e),v.Y36(N.T),v.Y36(B.F0),v.Y36(B.gz))};static#t=this.\u0275cmp=v.Xpm({type:W,selectors:[["app-login"]],decls:30,vars:8,consts:function(){let _e,Me,he,Oe,yt,Tt,Rt;return _e="\u4F7F\u7528token\u4EE4\u724C\u767B\u5F55EdgeXFoundry",Me="Gateway Token",he="the gateway token is invalid!",Oe="ACL Token",yt="the registry token is invalid!",Tt="\u5982\u4F55\u83B7\u53D6access token\uFF1F",Rt="\u767B\u5F55",[[1,"login","bg-dark"],[1,"card","login-form"],[1,"card-header"],_e,[1,"card-body","bg-light","shadow"],[1,""],[1,"form-group"],["for","accessToken",1,"col-form-label"],[1,"mr-1"],Me,["type","password","id","accessToken","name","accessToken",1,"form-control",3,"ngModel","ngModelChange"],[1,"invalid-feedback"],he,["for","registryToken",1,"col-form-label"],Oe,["type","password","id","registryToken","name","registryToken",1,"form-control",3,"ngModel","ngModelChange"],yt,["class","btn btn-success btn-sm w-100","type","button","disabled","",4,"ngIf"],["type","button","class","btn btn-success btn-sm w-100",3,"click",4,"ngIf"],[1,"mt-2"],["href","https://docs.edgexfoundry.org/3.0/security/Ch-Authenticating/#how-to-make-authenticated-edgex-calls","target","_blank",1,"text-decoration-none"],Tt,["type","button","disabled","",1,"btn","btn-success","btn-sm","w-100"],["role","status","aria-hidden","true",1,"spinner-grow","spinner-grow-sm"],["type","button",1,"btn","btn-success","btn-sm","w-100",3,"click"],Rt]},template:function(Me,he){1&Me&&(v.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),v.SDv(4,3),v.qZA()(),v.TgZ(5,"div",4)(6,"form",5)(7,"div",6)(8,"label",7)(9,"span",8),v.SDv(10,9),v.qZA()(),v.TgZ(11,"div",5)(12,"input",10),v.NdJ("ngModelChange",function(yt){return he.accessToken=yt})("ngModelChange",function(){return he.onInput()}),v.qZA(),v.TgZ(13,"div",11)(14,"small"),v.SDv(15,12),v.qZA()()(),v.TgZ(16,"label",13)(17,"span",8),v.SDv(18,14),v.qZA()(),v.TgZ(19,"div",5)(20,"input",15),v.NdJ("ngModelChange",function(yt){return he.registryToken=yt})("ngModelChange",function(){return he.onInput()}),v.qZA(),v.TgZ(21,"div",11)(22,"small"),v.SDv(23,16),v.qZA()()()(),v.YNc(24,pe,4,0,"button",17),v.YNc(25,qe,3,0,"button",18),v.TgZ(26,"div",19)(27,"a",20)(28,"small"),v.SDv(29,21),v.qZA()()()()()()()),2&Me&&(v.xp6(12),v.ekj("is-invalid",!he.accessTokenIsValid),v.Q6J("ngModel",he.accessToken),v.xp6(8),v.ekj("is-invalid",!he.registryTokenIsValid),v.Q6J("ngModel",he.registryToken),v.xp6(4),v.Q6J("ngIf",he.loading),v.xp6(1),v.Q6J("ngIf",!he.loading))},dependencies:[j.O5,Z._Y,Z.Fj,Z.JJ,Z.JL,Z.On,Z.F],styles:[".login[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:999}.login-form[_ngcontent-%COMP%]{position:absolute;left:0;right:0;top:40%;width:350px;margin:auto}"]})}return W})()}];let ke=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W});static#n=this.\u0275inj=v.cJS({imports:[B.Bz.forChild(Lt),B.Bz]})}return W})(),vt=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W});static#n=this.\u0275inj=v.cJS({imports:[j.ez,Z.u5,ke]})}return W})();const rt=[{provide:ee.TP,useClass:(()=>{class W{constructor(_e){this.authSvc=_e}intercept(_e,Me){let he=_e.headers.set("X-Requested-With","XMLHttpRequest");if(this.authSvc.isSecureMode){let yt=`Bearer ${this.authSvc.getAccessToken()}`,Tt=`${this.authSvc.getRegistryAccessToken()}`;he=_e.headers.set("X-Requested-With","XMLHttpRequest").set("Authorization",yt).set("X-Consul-Token",Tt)}const Oe=_e.clone({headers:he});return Me.handle(Oe)}static#e=this.\u0275fac=function(Me){return new(Me||W)(v.LFG(ue.e))};static#t=this.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),multi:!0}];let At=(()=>{class W{static#e=this.\u0275fac=function(Me){return new(Me||W)};static#t=this.\u0275mod=v.oAB({type:W,bootstrap:[re]});static#n=this.\u0275inj=v.cJS({providers:[rt],imports:[l.b2,j.ez,Z.u5,ee.JF,Te,vt]})}return W})();(0,v.G48)(),l.q6().bootstrapModule(At).catch(W=>console.error(W))},5619:(Ue,oe,S)=>{S.d(oe,{X:()=>v});var l=S(8645);class v extends l.x{constructor(Z){super(),this._value=Z}get value(){return this.getValue()}_subscribe(Z){const j=super._subscribe(Z);return!j.closed&&Z.next(this._value),j}getValue(){const{hasError:Z,thrownError:j,_value:B}=this;if(Z)throw j;return this._throwIfClosed(),B}next(Z){super.next(this._value=Z)}}},5592:(Ue,oe,S)=>{S.d(oe,{y:()=>A});var l=S(305),v=S(7394),ee=S(4850),Z=S(8407),j=S(2653),B=S(4674),G=S(1441);let A=(()=>{class ue{constructor(Pe){Pe&&(this._subscribe=Pe)}lift(Pe){const Ve=new ue;return Ve.source=this,Ve.operator=Pe,Ve}subscribe(Pe,Ve,ht){const ze=function V(ue){return ue&&ue instanceof l.Lv||function N(ue){return ue&&(0,B.m)(ue.next)&&(0,B.m)(ue.error)&&(0,B.m)(ue.complete)}(ue)&&(0,v.Nn)(ue)}(Pe)?Pe:new l.Hp(Pe,Ve,ht);return(0,G.x)(()=>{const{operator:Le,source:mt}=this;ze.add(Le?Le.call(ze,mt):mt?this._subscribe(ze):this._trySubscribe(ze))}),ze}_trySubscribe(Pe){try{return this._subscribe(Pe)}catch(Ve){Pe.error(Ve)}}forEach(Pe,Ve){return new(Ve=T(Ve))((ht,ze)=>{const Le=new l.Hp({next:mt=>{try{Pe(mt)}catch(Xe){ze(Xe),Le.unsubscribe()}},error:ze,complete:ht});this.subscribe(Le)})}_subscribe(Pe){var Ve;return null===(Ve=this.source)||void 0===Ve?void 0:Ve.subscribe(Pe)}[ee.L](){return this}pipe(...Pe){return(0,Z.U)(Pe)(this)}toPromise(Pe){return new(Pe=T(Pe))((Ve,ht)=>{let ze;this.subscribe(Le=>ze=Le,Le=>ht(Le),()=>Ve(ze))})}}return ue.create=xe=>new ue(xe),ue})();function T(ue){var xe;return null!==(xe=ue??j.config.Promise)&&void 0!==xe?xe:Promise}},8645:(Ue,oe,S)=>{S.d(oe,{x:()=>G});var l=S(5592),v=S(7394);const Z=(0,S(2306).d)(T=>function(){T(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var j=S(9039),B=S(1441);let G=(()=>{class T extends l.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(V){const ue=new A(this,this);return ue.operator=V,ue}_throwIfClosed(){if(this.closed)throw new Z}next(V){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ue of this.currentObservers)ue.next(V)}})}error(V){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=V;const{observers:ue}=this;for(;ue.length;)ue.shift().error(V)}})}complete(){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:V}=this;for(;V.length;)V.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var V;return(null===(V=this.observers)||void 0===V?void 0:V.length)>0}_trySubscribe(V){return this._throwIfClosed(),super._trySubscribe(V)}_subscribe(V){return this._throwIfClosed(),this._checkFinalizedStatuses(V),this._innerSubscribe(V)}_innerSubscribe(V){const{hasError:ue,isStopped:xe,observers:Pe}=this;return ue||xe?v.Lc:(this.currentObservers=null,Pe.push(V),new v.w0(()=>{this.currentObservers=null,(0,j.P)(Pe,V)}))}_checkFinalizedStatuses(V){const{hasError:ue,thrownError:xe,isStopped:Pe}=this;ue?V.error(xe):Pe&&V.complete()}asObservable(){const V=new l.y;return V.source=this,V}}return T.create=(N,V)=>new A(N,V),T})();class A extends G{constructor(N,V){super(),this.destination=N,this.source=V}next(N){var V,ue;null===(ue=null===(V=this.destination)||void 0===V?void 0:V.next)||void 0===ue||ue.call(V,N)}error(N){var V,ue;null===(ue=null===(V=this.destination)||void 0===V?void 0:V.error)||void 0===ue||ue.call(V,N)}complete(){var N,V;null===(V=null===(N=this.destination)||void 0===N?void 0:N.complete)||void 0===V||V.call(N)}_subscribe(N){var V,ue;return null!==(ue=null===(V=this.source)||void 0===V?void 0:V.subscribe(N))&&void 0!==ue?ue:v.Lc}}},305:(Ue,oe,S)=>{S.d(oe,{Hp:()=>ht,Lv:()=>ue});var l=S(4674),v=S(7394),ee=S(2653),Z=S(3894),j=S(2420);const B=T("C",void 0,void 0);function T(Ie,Ce,$e){return{kind:Ie,value:Ce,error:$e}}var N=S(7599),V=S(1441);class ue extends v.w0{constructor(Ce){super(),this.isStopped=!1,Ce?(this.destination=Ce,(0,v.Nn)(Ce)&&Ce.add(this)):this.destination=Xe}static create(Ce,$e,Ee){return new ht(Ce,$e,Ee)}next(Ce){this.isStopped?mt(function A(Ie){return T("N",Ie,void 0)}(Ce),this):this._next(Ce)}error(Ce){this.isStopped?mt(function G(Ie){return T("E",void 0,Ie)}(Ce),this):(this.isStopped=!0,this._error(Ce))}complete(){this.isStopped?mt(B,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ce){this.destination.next(Ce)}_error(Ce){try{this.destination.error(Ce)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const xe=Function.prototype.bind;function Pe(Ie,Ce){return xe.call(Ie,Ce)}class Ve{constructor(Ce){this.partialObserver=Ce}next(Ce){const{partialObserver:$e}=this;if($e.next)try{$e.next(Ce)}catch(Ee){ze(Ee)}}error(Ce){const{partialObserver:$e}=this;if($e.error)try{$e.error(Ce)}catch(Ee){ze(Ee)}else ze(Ce)}complete(){const{partialObserver:Ce}=this;if(Ce.complete)try{Ce.complete()}catch($e){ze($e)}}}class ht extends ue{constructor(Ce,$e,Ee){let Te;if(super(),(0,l.m)(Ce)||!Ce)Te={next:Ce??void 0,error:$e??void 0,complete:Ee??void 0};else{let ve;this&&ee.config.useDeprecatedNextContext?(ve=Object.create(Ce),ve.unsubscribe=()=>this.unsubscribe(),Te={next:Ce.next&&Pe(Ce.next,ve),error:Ce.error&&Pe(Ce.error,ve),complete:Ce.complete&&Pe(Ce.complete,ve)}):Te=Ce}this.destination=new Ve(Te)}}function ze(Ie){ee.config.useDeprecatedSynchronousErrorHandling?(0,V.O)(Ie):(0,Z.h)(Ie)}function mt(Ie,Ce){const{onStoppedNotification:$e}=ee.config;$e&&N.z.setTimeout(()=>$e(Ie,Ce))}const Xe={closed:!0,next:j.Z,error:function Le(Ie){throw Ie},complete:j.Z}},7394:(Ue,oe,S)=>{S.d(oe,{Lc:()=>B,w0:()=>j,Nn:()=>G});var l=S(4674);const ee=(0,S(2306).d)(T=>function(V){T(this),this.message=V?`${V.length} errors occurred during unsubscription:\n${V.map((ue,xe)=>`${xe+1}) ${ue.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=V});var Z=S(9039);class j{constructor(N){this.initialTeardown=N,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let N;if(!this.closed){this.closed=!0;const{_parentage:V}=this;if(V)if(this._parentage=null,Array.isArray(V))for(const Pe of V)Pe.remove(this);else V.remove(this);const{initialTeardown:ue}=this;if((0,l.m)(ue))try{ue()}catch(Pe){N=Pe instanceof ee?Pe.errors:[Pe]}const{_finalizers:xe}=this;if(xe){this._finalizers=null;for(const Pe of xe)try{A(Pe)}catch(Ve){N=N??[],Ve instanceof ee?N=[...N,...Ve.errors]:N.push(Ve)}}if(N)throw new ee(N)}}add(N){var V;if(N&&N!==this)if(this.closed)A(N);else{if(N instanceof j){if(N.closed||N._hasParent(this))return;N._addParent(this)}(this._finalizers=null!==(V=this._finalizers)&&void 0!==V?V:[]).push(N)}}_hasParent(N){const{_parentage:V}=this;return V===N||Array.isArray(V)&&V.includes(N)}_addParent(N){const{_parentage:V}=this;this._parentage=Array.isArray(V)?(V.push(N),V):V?[V,N]:N}_removeParent(N){const{_parentage:V}=this;V===N?this._parentage=null:Array.isArray(V)&&(0,Z.P)(V,N)}remove(N){const{_finalizers:V}=this;V&&(0,Z.P)(V,N),N instanceof j&&N._removeParent(this)}}j.EMPTY=(()=>{const T=new j;return T.closed=!0,T})();const B=j.EMPTY;function G(T){return T instanceof j||T&&"closed"in T&&(0,l.m)(T.remove)&&(0,l.m)(T.add)&&(0,l.m)(T.unsubscribe)}function A(T){(0,l.m)(T)?T():T.unsubscribe()}},2653:(Ue,oe,S)=>{S.d(oe,{config:()=>l});const l={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6232:(Ue,oe,S)=>{S.d(oe,{E:()=>v});const v=new(S(5592).y)(j=>j.complete())},9315:(Ue,oe,S)=>{S.d(oe,{D:()=>A});var l=S(5592),v=S(7453),ee=S(4829),Z=S(4564),j=S(8251),B=S(7400),G=S(2714);function A(...T){const N=(0,Z.jO)(T),{args:V,keys:ue}=(0,v.D)(T),xe=new l.y(Pe=>{const{length:Ve}=V;if(!Ve)return void Pe.complete();const ht=new Array(Ve);let ze=Ve,Le=Ve;for(let mt=0;mt{Xe||(Xe=!0,Le--),ht[mt]=Ie},()=>ze--,void 0,()=>{(!ze||!Xe)&&(Le||Pe.next(ue?(0,G.n)(ue,ht):ht),Pe.complete())}))}});return N?xe.pipe((0,B.Z)(N)):xe}},7715:(Ue,oe,S)=>{S.d(oe,{D:()=>Ee});var l=S(4829),v=S(7103),ee=S(9360),Z=S(8251);function j(Te,ve=0){return(0,ee.e)((Ze,Ye)=>{Ze.subscribe((0,Z.x)(Ye,De=>(0,v.f)(Ye,Te,()=>Ye.next(De),ve),()=>(0,v.f)(Ye,Te,()=>Ye.complete(),ve),De=>(0,v.f)(Ye,Te,()=>Ye.error(De),ve)))})}function B(Te,ve=0){return(0,ee.e)((Ze,Ye)=>{Ye.add(Te.schedule(()=>Ze.subscribe(Ye),ve))})}var T=S(5592),V=S(4971),ue=S(4674);function Pe(Te,ve){if(!Te)throw new Error("Iterable cannot be null");return new T.y(Ze=>{(0,v.f)(Ze,ve,()=>{const Ye=Te[Symbol.asyncIterator]();(0,v.f)(Ze,ve,()=>{Ye.next().then(De=>{De.done?Ze.complete():Ze.next(De.value)})},0,!0)})})}var Ve=S(8382),ht=S(4026),ze=S(4266),Le=S(3664),mt=S(5726),Xe=S(9853),Ie=S(541);function Ee(Te,ve){return ve?function $e(Te,ve){if(null!=Te){if((0,Ve.c)(Te))return function G(Te,ve){return(0,l.Xf)(Te).pipe(B(ve),j(ve))}(Te,ve);if((0,ze.z)(Te))return function N(Te,ve){return new T.y(Ze=>{let Ye=0;return ve.schedule(function(){Ye===Te.length?Ze.complete():(Ze.next(Te[Ye++]),Ze.closed||this.schedule())})})}(Te,ve);if((0,ht.t)(Te))return function A(Te,ve){return(0,l.Xf)(Te).pipe(B(ve),j(ve))}(Te,ve);if((0,mt.D)(Te))return Pe(Te,ve);if((0,Le.T)(Te))return function xe(Te,ve){return new T.y(Ze=>{let Ye;return(0,v.f)(Ze,ve,()=>{Ye=Te[V.h](),(0,v.f)(Ze,ve,()=>{let De,Gt;try{({value:De,done:Gt}=Ye.next())}catch(He){return void Ze.error(He)}Gt?Ze.complete():Ze.next(De)},0,!0)}),()=>(0,ue.m)(Ye?.return)&&Ye.return()})}(Te,ve);if((0,Ie.L)(Te))return function Ce(Te,ve){return Pe((0,Ie.Q)(Te),ve)}(Te,ve)}throw(0,Xe.z)(Te)}(Te,ve):(0,l.Xf)(Te)}},4829:(Ue,oe,S)=>{S.d(oe,{Xf:()=>xe});var l=S(7582),v=S(4266),ee=S(4026),Z=S(5592),j=S(8382),B=S(5726),G=S(9853),A=S(3664),T=S(541),N=S(4674),V=S(3894),ue=S(4850);function xe(Ie){if(Ie instanceof Z.y)return Ie;if(null!=Ie){if((0,j.c)(Ie))return function Pe(Ie){return new Z.y(Ce=>{const $e=Ie[ue.L]();if((0,N.m)($e.subscribe))return $e.subscribe(Ce);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ie);if((0,v.z)(Ie))return function Ve(Ie){return new Z.y(Ce=>{for(let $e=0;$e{Ie.then($e=>{Ce.closed||(Ce.next($e),Ce.complete())},$e=>Ce.error($e)).then(null,V.h)})}(Ie);if((0,B.D)(Ie))return Le(Ie);if((0,A.T)(Ie))return function ze(Ie){return new Z.y(Ce=>{for(const $e of Ie)if(Ce.next($e),Ce.closed)return;Ce.complete()})}(Ie);if((0,T.L)(Ie))return function mt(Ie){return Le((0,T.Q)(Ie))}(Ie)}throw(0,G.z)(Ie)}function Le(Ie){return new Z.y(Ce=>{(function Xe(Ie,Ce){var $e,Ee,Te,ve;return(0,l.mG)(this,void 0,void 0,function*(){try{for($e=(0,l.KL)(Ie);!(Ee=yield $e.next()).done;)if(Ce.next(Ee.value),Ce.closed)return}catch(Ze){Te={error:Ze}}finally{try{Ee&&!Ee.done&&(ve=$e.return)&&(yield ve.call($e))}finally{if(Te)throw Te.error}}Ce.complete()})})(Ie,Ce).catch($e=>Ce.error($e))})}},2096:(Ue,oe,S)=>{S.d(oe,{of:()=>ee});var l=S(4564),v=S(7715);function ee(...Z){const j=(0,l.yG)(Z);return(0,v.D)(Z,j)}},8504:(Ue,oe,S)=>{S.d(oe,{_:()=>ee});var l=S(5592),v=S(4674);function ee(Z,j){const B=(0,v.m)(Z)?Z:()=>Z,G=A=>A.error(B());return new l.y(j?A=>j.schedule(G,0,A):G)}},8251:(Ue,oe,S)=>{S.d(oe,{x:()=>v});var l=S(305);function v(Z,j,B,G,A){return new ee(Z,j,B,G,A)}class ee extends l.Lv{constructor(j,B,G,A,T,N){super(j),this.onFinalize=T,this.shouldUnsubscribe=N,this._next=B?function(V){try{B(V)}catch(ue){j.error(ue)}}:super._next,this._error=A?function(V){try{A(V)}catch(ue){j.error(ue)}finally{this.unsubscribe()}}:super._error,this._complete=G?function(){try{G()}catch(V){j.error(V)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var j;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:B}=this;super.unsubscribe(),!B&&(null===(j=this.onFinalize)||void 0===j||j.call(this))}}}},6306:(Ue,oe,S)=>{S.d(oe,{K:()=>Z});var l=S(4829),v=S(8251),ee=S(9360);function Z(j){return(0,ee.e)((B,G)=>{let N,A=null,T=!1;A=B.subscribe((0,v.x)(G,void 0,void 0,V=>{N=(0,l.Xf)(j(V,Z(j)(B))),A?(A.unsubscribe(),A=null,N.subscribe(G)):T=!0})),T&&(A.unsubscribe(),A=null,N.subscribe(G))})}},6328:(Ue,oe,S)=>{S.d(oe,{b:()=>ee});var l=S(1631),v=S(4674);function ee(Z,j){return(0,v.m)(j)?(0,l.z)(Z,j,1):(0,l.z)(Z,1)}},3997:(Ue,oe,S)=>{S.d(oe,{x:()=>Z});var l=S(2737),v=S(9360),ee=S(8251);function Z(B,G=l.y){return B=B??j,(0,v.e)((A,T)=>{let N,V=!0;A.subscribe((0,ee.x)(T,ue=>{const xe=G(ue);(V||!B(N,xe))&&(V=!1,N=xe,T.next(ue))}))})}function j(B,G){return B===G}},2181:(Ue,oe,S)=>{S.d(oe,{h:()=>ee});var l=S(9360),v=S(8251);function ee(Z,j){return(0,l.e)((B,G)=>{let A=0;B.subscribe((0,v.x)(G,T=>Z.call(j,T,A++)&&G.next(T)))})}},4716:(Ue,oe,S)=>{S.d(oe,{x:()=>v});var l=S(9360);function v(ee){return(0,l.e)((Z,j)=>{try{Z.subscribe(j)}finally{j.add(ee)}})}},7398:(Ue,oe,S)=>{S.d(oe,{U:()=>ee});var l=S(9360),v=S(8251);function ee(Z,j){return(0,l.e)((B,G)=>{let A=0;B.subscribe((0,v.x)(G,T=>{G.next(Z.call(j,T,A++))}))})}},7537:(Ue,oe,S)=>{S.d(oe,{J:()=>ee});var l=S(1631),v=S(2737);function ee(Z=1/0){return(0,l.z)(v.y,Z)}},1631:(Ue,oe,S)=>{S.d(oe,{z:()=>A});var l=S(7398),v=S(4829),ee=S(9360),Z=S(7103),j=S(8251),G=S(4674);function A(T,N,V=1/0){return(0,G.m)(N)?A((ue,xe)=>(0,l.U)((Pe,Ve)=>N(ue,Pe,xe,Ve))((0,v.Xf)(T(ue,xe))),V):("number"==typeof N&&(V=N),(0,ee.e)((ue,xe)=>function B(T,N,V,ue,xe,Pe,Ve,ht){const ze=[];let Le=0,mt=0,Xe=!1;const Ie=()=>{Xe&&!ze.length&&!Le&&N.complete()},Ce=Ee=>Le{Pe&&N.next(Ee),Le++;let Te=!1;(0,v.Xf)(V(Ee,mt++)).subscribe((0,j.x)(N,ve=>{xe?.(ve),Pe?Ce(ve):N.next(ve)},()=>{Te=!0},void 0,()=>{if(Te)try{for(Le--;ze.length&&Le$e(ve)):$e(ve)}Ie()}catch(ve){N.error(ve)}}))};return T.subscribe((0,j.x)(N,Ce,()=>{Xe=!0,Ie()})),()=>{ht?.()}}(ue,xe,T,V)))}},4664:(Ue,oe,S)=>{S.d(oe,{w:()=>Z});var l=S(4829),v=S(9360),ee=S(8251);function Z(j,B){return(0,v.e)((G,A)=>{let T=null,N=0,V=!1;const ue=()=>V&&!T&&A.complete();G.subscribe((0,ee.x)(A,xe=>{T?.unsubscribe();let Pe=0;const Ve=N++;(0,l.Xf)(j(xe,Ve)).subscribe(T=(0,ee.x)(A,ht=>A.next(B?B(xe,ht,Ve,Pe++):ht),()=>{T=null,ue()}))},()=>{V=!0,ue()}))})}},8180:(Ue,oe,S)=>{S.d(oe,{q:()=>Z});var l=S(6232),v=S(9360),ee=S(8251);function Z(j){return j<=0?()=>l.E:(0,v.e)((B,G)=>{let A=0;B.subscribe((0,ee.x)(G,T=>{++A<=j&&(G.next(T),j<=A&&G.complete())}))})}},7599:(Ue,oe,S)=>{S.d(oe,{z:()=>l});const l={setTimeout(v,ee,...Z){const{delegate:j}=l;return j?.setTimeout?j.setTimeout(v,ee,...Z):setTimeout(v,ee,...Z)},clearTimeout(v){const{delegate:ee}=l;return(ee?.clearTimeout||clearTimeout)(v)},delegate:void 0}},4971:(Ue,oe,S)=>{S.d(oe,{h:()=>v});const v=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Ue,oe,S)=>{S.d(oe,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},4564:(Ue,oe,S)=>{S.d(oe,{_6:()=>B,jO:()=>Z,yG:()=>j});var l=S(4674);function ee(G){return G[G.length-1]}function Z(G){return(0,l.m)(ee(G))?G.pop():void 0}function j(G){return function v(G){return G&&(0,l.m)(G.schedule)}(ee(G))?G.pop():void 0}function B(G,A){return"number"==typeof ee(G)?G.pop():A}},7453:(Ue,oe,S)=>{S.d(oe,{D:()=>j});const{isArray:l}=Array,{getPrototypeOf:v,prototype:ee,keys:Z}=Object;function j(G){if(1===G.length){const A=G[0];if(l(A))return{args:A,keys:null};if(function B(G){return G&&"object"==typeof G&&v(G)===ee}(A)){const T=Z(A);return{args:T.map(N=>A[N]),keys:T}}}return{args:G,keys:null}}},9039:(Ue,oe,S)=>{function l(v,ee){if(v){const Z=v.indexOf(ee);0<=Z&&v.splice(Z,1)}}S.d(oe,{P:()=>l})},2306:(Ue,oe,S)=>{function l(v){const Z=v(j=>{Error.call(j),j.stack=(new Error).stack});return Z.prototype=Object.create(Error.prototype),Z.prototype.constructor=Z,Z}S.d(oe,{d:()=>l})},2714:(Ue,oe,S)=>{function l(v,ee){return v.reduce((Z,j,B)=>(Z[j]=ee[B],Z),{})}S.d(oe,{n:()=>l})},1441:(Ue,oe,S)=>{S.d(oe,{O:()=>Z,x:()=>ee});var l=S(2653);let v=null;function ee(j){if(l.config.useDeprecatedSynchronousErrorHandling){const B=!v;if(B&&(v={errorThrown:!1,error:null}),j(),B){const{errorThrown:G,error:A}=v;if(v=null,G)throw A}}else j()}function Z(j){l.config.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=j)}},7103:(Ue,oe,S)=>{function l(v,ee,Z,j=0,B=!1){const G=ee.schedule(function(){Z(),B?v.add(this.schedule(null,j)):this.unsubscribe()},j);if(v.add(G),!B)return G}S.d(oe,{f:()=>l})},2737:(Ue,oe,S)=>{function l(v){return v}S.d(oe,{y:()=>l})},4266:(Ue,oe,S)=>{S.d(oe,{z:()=>l});const l=v=>v&&"number"==typeof v.length&&"function"!=typeof v},5726:(Ue,oe,S)=>{S.d(oe,{D:()=>v});var l=S(4674);function v(ee){return Symbol.asyncIterator&&(0,l.m)(ee?.[Symbol.asyncIterator])}},4674:(Ue,oe,S)=>{function l(v){return"function"==typeof v}S.d(oe,{m:()=>l})},8382:(Ue,oe,S)=>{S.d(oe,{c:()=>ee});var l=S(4850),v=S(4674);function ee(Z){return(0,v.m)(Z[l.L])}},3664:(Ue,oe,S)=>{S.d(oe,{T:()=>ee});var l=S(4971),v=S(4674);function ee(Z){return(0,v.m)(Z?.[l.h])}},4026:(Ue,oe,S)=>{S.d(oe,{t:()=>v});var l=S(4674);function v(ee){return(0,l.m)(ee?.then)}},541:(Ue,oe,S)=>{S.d(oe,{L:()=>Z,Q:()=>ee});var l=S(7582),v=S(4674);function ee(j){return(0,l.FC)(this,arguments,function*(){const G=j.getReader();try{for(;;){const{value:A,done:T}=yield(0,l.qq)(G.read());if(T)return yield(0,l.qq)(void 0);yield yield(0,l.qq)(A)}}finally{G.releaseLock()}})}function Z(j){return(0,v.m)(j?.getReader)}},9360:(Ue,oe,S)=>{S.d(oe,{A:()=>v,e:()=>ee});var l=S(4674);function v(Z){return(0,l.m)(Z?.lift)}function ee(Z){return j=>{if(v(j))return j.lift(function(B){try{return Z(B,this)}catch(G){this.error(G)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Ue,oe,S)=>{S.d(oe,{Z:()=>Z});var l=S(7398);const{isArray:v}=Array;function Z(j){return(0,l.U)(B=>function ee(j,B){return v(B)?j(...B):j(B)}(j,B))}},2420:(Ue,oe,S)=>{function l(){}S.d(oe,{Z:()=>l})},8407:(Ue,oe,S)=>{S.d(oe,{U:()=>ee,z:()=>v});var l=S(2737);function v(...Z){return ee(Z)}function ee(Z){return 0===Z.length?l.y:1===Z.length?Z[0]:function(B){return Z.reduce((G,A)=>A(G),B)}}},3894:(Ue,oe,S)=>{S.d(oe,{h:()=>ee});var l=S(2653),v=S(7599);function ee(Z){v.z.setTimeout(()=>{const{onUnhandledError:j}=l.config;if(!j)throw Z;j(Z)})}},9853:(Ue,oe,S)=>{function l(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}S.d(oe,{z:()=>l})},6814:(Ue,oe,S)=>{S.d(oe,{Do:()=>ht,ED:()=>zi,EM:()=>or,HT:()=>Z,JF:()=>Lr,K0:()=>B,Mx:()=>Hn,O5:()=>Wr,PM:()=>Ir,RF:()=>xr,S$:()=>xe,Ts:()=>pi,V_:()=>A,Ye:()=>ze,b0:()=>Ve,bD:()=>jt,ez:()=>Sr,mk:()=>je,n9:()=>wr,q:()=>ee,sg:()=>Ln,uU:()=>Ri,w_:()=>j});var l=S(6689);let v=null;function ee(){return v}function Z(d){v||(v=d)}class j{}const B=new l.OlP("DocumentToken");let G=(()=>{class d{historyGo(m){throw new Error("Not implemented")}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275prov=l.Yz7({token:d,factory:function(){return(0,l.f3M)(T)},providedIn:"platform"})}return d})();const A=new l.OlP("Location Initialized");let T=(()=>{class d extends G{constructor(){super(),this._doc=(0,l.f3M)(B),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ee().getBaseHref(this._doc)}onPopState(m){const E=ee().getGlobalEventTarget(this._doc,"window");return E.addEventListener("popstate",m,!1),()=>E.removeEventListener("popstate",m)}onHashChange(m){const E=ee().getGlobalEventTarget(this._doc,"window");return E.addEventListener("hashchange",m,!1),()=>E.removeEventListener("hashchange",m)}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(m){this._location.pathname=m}pushState(m,E,R){this._history.pushState(m,E,R)}replaceState(m,E,R){this._history.replaceState(m,E,R)}forward(){this._history.forward()}back(){this._history.back()}historyGo(m=0){this._history.go(m)}getState(){return this._history.state}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275prov=l.Yz7({token:d,factory:function(){return new d},providedIn:"platform"})}return d})();function N(d,w){if(0==d.length)return w;if(0==w.length)return d;let m=0;return d.endsWith("/")&&m++,w.startsWith("/")&&m++,2==m?d+w.substring(1):1==m?d+w:d+"/"+w}function V(d){const w=d.match(/#|\?|$/),m=w&&w.index||d.length;return d.slice(0,m-("/"===d[m-1]?1:0))+d.slice(m)}function ue(d){return d&&"?"!==d[0]?"?"+d:d}let xe=(()=>{class d{historyGo(m){throw new Error("Not implemented")}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275prov=l.Yz7({token:d,factory:function(){return(0,l.f3M)(Ve)},providedIn:"root"})}return d})();const Pe=new l.OlP("appBaseHref");let Ve=(()=>{class d extends xe{constructor(m,E){super(),this._platformLocation=m,this._removeListenerFns=[],this._baseHref=E??this._platformLocation.getBaseHrefFromDOM()??(0,l.f3M)(B).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}prepareExternalUrl(m){return N(this._baseHref,m)}path(m=!1){const E=this._platformLocation.pathname+ue(this._platformLocation.search),R=this._platformLocation.hash;return R&&m?`${E}${R}`:E}pushState(m,E,R,te){const ce=this.prepareExternalUrl(R+ue(te));this._platformLocation.pushState(m,E,ce)}replaceState(m,E,R,te){const ce=this.prepareExternalUrl(R+ue(te));this._platformLocation.replaceState(m,E,ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}static#e=this.\u0275fac=function(E){return new(E||d)(l.LFG(G),l.LFG(Pe,8))};static#t=this.\u0275prov=l.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})(),ht=(()=>{class d extends xe{constructor(m,E){super(),this._platformLocation=m,this._baseHref="",this._removeListenerFns=[],null!=E&&(this._baseHref=E)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}path(m=!1){let E=this._platformLocation.hash;return null==E&&(E="#"),E.length>0?E.substring(1):E}prepareExternalUrl(m){const E=N(this._baseHref,m);return E.length>0?"#"+E:E}pushState(m,E,R,te){let ce=this.prepareExternalUrl(R+ue(te));0==ce.length&&(ce=this._platformLocation.pathname),this._platformLocation.pushState(m,E,ce)}replaceState(m,E,R,te){let ce=this.prepareExternalUrl(R+ue(te));0==ce.length&&(ce=this._platformLocation.pathname),this._platformLocation.replaceState(m,E,ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}static#e=this.\u0275fac=function(E){return new(E||d)(l.LFG(G),l.LFG(Pe,8))};static#t=this.\u0275prov=l.Yz7({token:d,factory:d.\u0275fac})}return d})(),ze=(()=>{class d{constructor(m){this._subject=new l.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=m;const E=this._locationStrategy.getBaseHref();this._basePath=function Ie(d){if(new RegExp("^(https?:)?//").test(d)){const[,m]=d.split(/\/\/[^\/]+/);return m}return d}(V(Xe(E))),this._locationStrategy.onPopState(R=>{this._subject.emit({url:this.path(!0),pop:!0,state:R.state,type:R.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(m=!1){return this.normalize(this._locationStrategy.path(m))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(m,E=""){return this.path()==this.normalize(m+ue(E))}normalize(m){return d.stripTrailingSlash(function mt(d,w){if(!d||!w.startsWith(d))return w;const m=w.substring(d.length);return""===m||["/",";","?","#"].includes(m[0])?m:w}(this._basePath,Xe(m)))}prepareExternalUrl(m){return m&&"/"!==m[0]&&(m="/"+m),this._locationStrategy.prepareExternalUrl(m)}go(m,E="",R=null){this._locationStrategy.pushState(R,"",m,E),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+ue(E)),R)}replaceState(m,E="",R=null){this._locationStrategy.replaceState(R,"",m,E),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+ue(E)),R)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(m=0){this._locationStrategy.historyGo?.(m)}onUrlChange(m){return this._urlChangeListeners.push(m),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(E=>{this._notifyUrlChangeListeners(E.url,E.state)})),()=>{const E=this._urlChangeListeners.indexOf(m);this._urlChangeListeners.splice(E,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(m="",E){this._urlChangeListeners.forEach(R=>R(m,E))}subscribe(m,E,R){return this._subject.subscribe({next:m,error:E,complete:R})}static#e=this.normalizeQueryParams=ue;static#t=this.joinWithSlash=N;static#n=this.stripTrailingSlash=V;static#r=this.\u0275fac=function(E){return new(E||d)(l.LFG(xe))};static#i=this.\u0275prov=l.Yz7({token:d,factory:function(){return function Le(){return new ze((0,l.LFG)(xe))}()},providedIn:"root"})}return d})();function Xe(d){return d.replace(/\/index.html$/,"")}var Te=function(d){return d[d.Format=0]="Format",d[d.Standalone=1]="Standalone",d}(Te||{}),ve=function(d){return d[d.Narrow=0]="Narrow",d[d.Abbreviated=1]="Abbreviated",d[d.Wide=2]="Wide",d[d.Short=3]="Short",d}(ve||{}),Ze=function(d){return d[d.Short=0]="Short",d[d.Medium=1]="Medium",d[d.Long=2]="Long",d[d.Full=3]="Full",d}(Ze||{}),Ye=function(d){return d[d.Decimal=0]="Decimal",d[d.Group=1]="Group",d[d.List=2]="List",d[d.PercentSign=3]="PercentSign",d[d.PlusSign=4]="PlusSign",d[d.MinusSign=5]="MinusSign",d[d.Exponential=6]="Exponential",d[d.SuperscriptingExponent=7]="SuperscriptingExponent",d[d.PerMille=8]="PerMille",d[d.Infinity=9]="Infinity",d[d.NaN=10]="NaN",d[d.TimeSeparator=11]="TimeSeparator",d[d.CurrencyDecimal=12]="CurrencyDecimal",d[d.CurrencyGroup=13]="CurrencyGroup",d}(Ye||{});function q(d,w){return W((0,l.cg1)(d)[l.wAp.DateFormat],w)}function re(d,w){return W((0,l.cg1)(d)[l.wAp.TimeFormat],w)}function ne(d,w){return W((0,l.cg1)(d)[l.wAp.DateTimeFormat],w)}function me(d,w){const m=(0,l.cg1)(d),E=m[l.wAp.NumberSymbols][w];if(typeof E>"u"){if(w===Ye.CurrencyDecimal)return m[l.wAp.NumberSymbols][Ye.Decimal];if(w===Ye.CurrencyGroup)return m[l.wAp.NumberSymbols][Ye.Group]}return E}function kt(d){if(!d[l.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${d[l.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function W(d,w){for(let m=w;m>-1;m--)if(typeof d[m]<"u")return d[m];throw new Error("Locale data API: locale data undefined")}function Vt(d){const[w,m]=d.split(":");return{hours:+w,minutes:+m}}const Oe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,yt={},Tt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Rt=function(d){return d[d.Short=0]="Short",d[d.ShortGMT=1]="ShortGMT",d[d.Long=2]="Long",d[d.Extended=3]="Extended",d}(Rt||{}),Je=function(d){return d[d.FullYear=0]="FullYear",d[d.Month=1]="Month",d[d.Date=2]="Date",d[d.Hours=3]="Hours",d[d.Minutes=4]="Minutes",d[d.Seconds=5]="Seconds",d[d.FractionalSeconds=6]="FractionalSeconds",d[d.Day=7]="Day",d}(Je||{}),et=function(d){return d[d.DayPeriods=0]="DayPeriods",d[d.Days=1]="Days",d[d.Months=2]="Months",d[d.Eras=3]="Eras",d}(et||{});function mn(d,w,m,E){let R=function se(d){if(F(d))return d;if("number"==typeof d&&!isNaN(d))return new Date(d);if("string"==typeof d){if(d=d.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(d)){const[R,te=1,ce=1]=d.split("-").map(Ge=>+Ge);return Kn(R,te-1,ce)}const m=parseFloat(d);if(!isNaN(d-m))return new Date(m);let E;if(E=d.match(Oe))return function J(d){const w=new Date(0);let m=0,E=0;const R=d[8]?w.setUTCFullYear:w.setFullYear,te=d[8]?w.setUTCHours:w.setHours;d[9]&&(m=Number(d[9]+d[10]),E=Number(d[9]+d[11])),R.call(w,Number(d[1]),Number(d[2])-1,Number(d[3]));const ce=Number(d[4]||0)-m,Ge=Number(d[5]||0)-E,$t=Number(d[6]||0),Bt=Math.floor(1e3*parseFloat("0."+(d[7]||0)));return te.call(w,ce,Ge,$t,Bt),w}(E)}const w=new Date(d);if(!F(w))throw new Error(`Unable to convert "${d}" into a date`);return w}(d);w=Mn(m,w)||w;let Ge,ce=[];for(;w;){if(Ge=Tt.exec(w),!Ge){ce.push(w);break}{ce=ce.concat(Ge.slice(1));const Pt=ce.pop();if(!Pt)break;w=Pt}}let $t=R.getTimezoneOffset();E&&($t=rr(E,$t),R=function Ti(d,w,m){const E=m?-1:1,R=d.getTimezoneOffset();return function cr(d,w){return(d=new Date(d.getTime())).setMinutes(d.getMinutes()+w),d}(d,E*(rr(w,R)-R))}(R,E,!0));let Bt="";return ce.forEach(Pt=>{const gt=function nr(d){if(Sn[d])return Sn[d];let w;switch(d){case"G":case"GG":case"GGG":w=st(et.Eras,ve.Abbreviated);break;case"GGGG":w=st(et.Eras,ve.Wide);break;case"GGGGG":w=st(et.Eras,ve.Narrow);break;case"y":w=Ot(Je.FullYear,1,0,!1,!0);break;case"yy":w=Ot(Je.FullYear,2,0,!0,!0);break;case"yyy":w=Ot(Je.FullYear,3,0,!1,!0);break;case"yyyy":w=Ot(Je.FullYear,4,0,!1,!0);break;case"Y":w=Yn(1);break;case"YY":w=Yn(2,!0);break;case"YYY":w=Yn(3);break;case"YYYY":w=Yn(4);break;case"M":case"L":w=Ot(Je.Month,1,1);break;case"MM":case"LL":w=Ot(Je.Month,2,1);break;case"MMM":w=st(et.Months,ve.Abbreviated);break;case"MMMM":w=st(et.Months,ve.Wide);break;case"MMMMM":w=st(et.Months,ve.Narrow);break;case"LLL":w=st(et.Months,ve.Abbreviated,Te.Standalone);break;case"LLLL":w=st(et.Months,ve.Wide,Te.Standalone);break;case"LLLLL":w=st(et.Months,ve.Narrow,Te.Standalone);break;case"w":w=Fn(1);break;case"ww":w=Fn(2);break;case"W":w=Fn(1,!0);break;case"d":w=Ot(Je.Date,1);break;case"dd":w=Ot(Je.Date,2);break;case"c":case"cc":w=Ot(Je.Day,1);break;case"ccc":w=st(et.Days,ve.Abbreviated,Te.Standalone);break;case"cccc":w=st(et.Days,ve.Wide,Te.Standalone);break;case"ccccc":w=st(et.Days,ve.Narrow,Te.Standalone);break;case"cccccc":w=st(et.Days,ve.Short,Te.Standalone);break;case"E":case"EE":case"EEE":w=st(et.Days,ve.Abbreviated);break;case"EEEE":w=st(et.Days,ve.Wide);break;case"EEEEE":w=st(et.Days,ve.Narrow);break;case"EEEEEE":w=st(et.Days,ve.Short);break;case"a":case"aa":case"aaa":w=st(et.DayPeriods,ve.Abbreviated);break;case"aaaa":w=st(et.DayPeriods,ve.Wide);break;case"aaaaa":w=st(et.DayPeriods,ve.Narrow);break;case"b":case"bb":case"bbb":w=st(et.DayPeriods,ve.Abbreviated,Te.Standalone,!0);break;case"bbbb":w=st(et.DayPeriods,ve.Wide,Te.Standalone,!0);break;case"bbbbb":w=st(et.DayPeriods,ve.Narrow,Te.Standalone,!0);break;case"B":case"BB":case"BBB":w=st(et.DayPeriods,ve.Abbreviated,Te.Format,!0);break;case"BBBB":w=st(et.DayPeriods,ve.Wide,Te.Format,!0);break;case"BBBBB":w=st(et.DayPeriods,ve.Narrow,Te.Format,!0);break;case"h":w=Ot(Je.Hours,1,-12);break;case"hh":w=Ot(Je.Hours,2,-12);break;case"H":w=Ot(Je.Hours,1);break;case"HH":w=Ot(Je.Hours,2);break;case"m":w=Ot(Je.Minutes,1);break;case"mm":w=Ot(Je.Minutes,2);break;case"s":w=Ot(Je.Seconds,1);break;case"ss":w=Ot(Je.Seconds,2);break;case"S":w=Ot(Je.FractionalSeconds,1);break;case"SS":w=Ot(Je.FractionalSeconds,2);break;case"SSS":w=Ot(Je.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":w=Bn(Rt.Short);break;case"ZZZZZ":w=Bn(Rt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":w=Bn(Rt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":w=Bn(Rt.Long);break;default:return null}return Sn[d]=w,w}(Pt);Bt+=gt?gt(R,m,$t):"''"===Pt?"'":Pt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Bt}function Kn(d,w,m){const E=new Date(0);return E.setFullYear(d,w,m),E.setHours(0,0,0),E}function Mn(d,w){const m=function Gt(d){return(0,l.cg1)(d)[l.wAp.LocaleId]}(d);if(yt[m]=yt[m]||{},yt[m][w])return yt[m][w];let E="";switch(w){case"shortDate":E=q(d,Ze.Short);break;case"mediumDate":E=q(d,Ze.Medium);break;case"longDate":E=q(d,Ze.Long);break;case"fullDate":E=q(d,Ze.Full);break;case"shortTime":E=re(d,Ze.Short);break;case"mediumTime":E=re(d,Ze.Medium);break;case"longTime":E=re(d,Ze.Long);break;case"fullTime":E=re(d,Ze.Full);break;case"short":const R=Mn(d,"shortTime"),te=Mn(d,"shortDate");E=_n(ne(d,Ze.Short),[R,te]);break;case"medium":const ce=Mn(d,"mediumTime"),Ge=Mn(d,"mediumDate");E=_n(ne(d,Ze.Medium),[ce,Ge]);break;case"long":const $t=Mn(d,"longTime"),Bt=Mn(d,"longDate");E=_n(ne(d,Ze.Long),[$t,Bt]);break;case"full":const Pt=Mn(d,"fullTime"),gt=Mn(d,"fullDate");E=_n(ne(d,Ze.Full),[Pt,gt])}return E&&(yt[m][w]=E),E}function _n(d,w){return w&&(d=d.replace(/\{([^}]+)}/g,function(m,E){return null!=w&&E in w?w[E]:m})),d}function vn(d,w,m="-",E,R){let te="";(d<0||R&&d<=0)&&(R?d=1-d:(d=-d,te=m));let ce=String(d);for(;ce.length0||Ge>-m)&&(Ge+=m),d===Je.Hours)0===Ge&&-12===m&&(Ge=12);else if(d===Je.FractionalSeconds)return function ct(d,w){return vn(d,3).substring(0,w)}(Ge,w);const $t=me(ce,Ye.MinusSign);return vn(Ge,w,$t,E,R)}}function st(d,w,m=Te.Format,E=!1){return function(R,te){return function zr(d,w,m,E,R,te){switch(m){case et.Months:return function zt(d,w,m){const E=(0,l.cg1)(d),te=W([E[l.wAp.MonthsFormat],E[l.wAp.MonthsStandalone]],w);return W(te,m)}(w,R,E)[d.getMonth()];case et.Days:return function Qe(d,w,m){const E=(0,l.cg1)(d),te=W([E[l.wAp.DaysFormat],E[l.wAp.DaysStandalone]],w);return W(te,m)}(w,R,E)[d.getDay()];case et.DayPeriods:const ce=d.getHours(),Ge=d.getMinutes();if(te){const Bt=function rt(d){const w=(0,l.cg1)(d);return kt(w),(w[l.wAp.ExtraData][2]||[]).map(E=>"string"==typeof E?Vt(E):[Vt(E[0]),Vt(E[1])])}(w),Pt=function At(d,w,m){const E=(0,l.cg1)(d);kt(E);const te=W([E[l.wAp.ExtraData][0],E[l.wAp.ExtraData][1]],w)||[];return W(te,m)||[]}(w,R,E),gt=Bt.findIndex(en=>{if(Array.isArray(en)){const[It,hn]=en,Tr=ce>=It.hours&&Ge>=It.minutes,Or=ce0?Math.floor(R/60):Math.ceil(R/60);switch(d){case Rt.Short:return(R>=0?"+":"")+vn(ce,2,te)+vn(Math.abs(R%60),2,te);case Rt.ShortGMT:return"GMT"+(R>=0?"+":"")+vn(ce,1,te);case Rt.Long:return"GMT"+(R>=0?"+":"")+vn(ce,2,te)+":"+vn(Math.abs(R%60),2,te);case Rt.Extended:return 0===E?"Z":(R>=0?"+":"")+vn(ce,2,te)+":"+vn(Math.abs(R%60),2,te);default:throw new Error(`Unknown zone width "${d}"`)}}}const xt=0,On=4;function Ne(d){return Kn(d.getFullYear(),d.getMonth(),d.getDate()+(On-d.getDay()))}function Fn(d,w=!1){return function(m,E){let R;if(w){const te=new Date(m.getFullYear(),m.getMonth(),1).getDay()-1,ce=m.getDate();R=1+Math.floor((ce+te)/7)}else{const te=Ne(m),ce=function tn(d){const w=Kn(d,xt,1).getDay();return Kn(d,0,1+(w<=On?On:On+7)-w)}(te.getFullYear()),Ge=te.getTime()-ce.getTime();R=1+Math.round(Ge/6048e5)}return vn(R,d,me(E,Ye.MinusSign))}}function Yn(d,w=!1){return function(m,E){return vn(Ne(m).getFullYear(),d,me(E,Ye.MinusSign),w)}}const Sn={};function rr(d,w){d=d.replace(/:/g,"");const m=Date.parse("Jan 01, 1970 00:00:00 "+d)/6e4;return isNaN(m)?w:m}function F(d){return d instanceof Date&&!isNaN(d.valueOf())}function Hn(d,w){w=encodeURIComponent(w);for(const m of d.split(";")){const E=m.indexOf("="),[R,te]=-1==E?[m,""]:[m.slice(0,E),m.slice(E+1)];if(R.trim()===w)return decodeURIComponent(te)}return null}const pn=/\s+/,ft=[];let je=(()=>{class d{constructor(m,E,R,te){this._iterableDiffers=m,this._keyValueDiffers=E,this._ngEl=R,this._renderer=te,this.initialClasses=ft,this.stateMap=new Map}set klass(m){this.initialClasses=null!=m?m.trim().split(pn):ft}set ngClass(m){this.rawClass="string"==typeof m?m.trim().split(pn):m}ngDoCheck(){for(const E of this.initialClasses)this._updateState(E,!0);const m=this.rawClass;if(Array.isArray(m)||m instanceof Set)for(const E of m)this._updateState(E,!0);else if(null!=m)for(const E of Object.keys(m))this._updateState(E,!!m[E]);this._applyStateDiff()}_updateState(m,E){const R=this.stateMap.get(m);void 0!==R?(R.enabled!==E&&(R.changed=!0,R.enabled=E),R.touched=!0):this.stateMap.set(m,{enabled:E,changed:!0,touched:!0})}_applyStateDiff(){for(const m of this.stateMap){const E=m[0],R=m[1];R.changed?(this._toggleClass(E,R.enabled),R.changed=!1):R.touched||(R.enabled&&this._toggleClass(E,!1),this.stateMap.delete(E)),R.touched=!1}}_toggleClass(m,E){(m=m.trim()).length>0&&m.split(pn).forEach(R=>{E?this._renderer.addClass(this._ngEl.nativeElement,R):this._renderer.removeClass(this._ngEl.nativeElement,R)})}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.ZZ4),l.Y36(l.aQg),l.Y36(l.SBq),l.Y36(l.Qsj))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return d})();class rn{constructor(w,m,E,R){this.$implicit=w,this.ngForOf=m,this.index=E,this.count=R}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ln=(()=>{class d{set ngForOf(m){this._ngForOf=m,this._ngForOfDirty=!0}set ngForTrackBy(m){this._trackByFn=m}get ngForTrackBy(){return this._trackByFn}constructor(m,E,R){this._viewContainer=m,this._template=E,this._differs=R,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(m){m&&(this._template=m)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const m=this._ngForOf;!this._differ&&m&&(this._differ=this._differs.find(m).create(this.ngForTrackBy))}if(this._differ){const m=this._differ.diff(this._ngForOf);m&&this._applyChanges(m)}}_applyChanges(m){const E=this._viewContainer;m.forEachOperation((R,te,ce)=>{if(null==R.previousIndex)E.createEmbeddedView(this._template,new rn(R.item,this._ngForOf,-1,-1),null===ce?void 0:ce);else if(null==ce)E.remove(null===te?void 0:te);else if(null!==te){const Ge=E.get(te);E.move(Ge,ce),ln(Ge,R)}});for(let R=0,te=E.length;R{ln(E.get(R.currentIndex),R)})}static ngTemplateContextGuard(m,E){return!0}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return d})();function ln(d,w){d.context.$implicit=w.item}let Wr=(()=>{class d{constructor(m,E){this._viewContainer=m,this._context=new Kr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=E}set ngIf(m){this._context.$implicit=this._context.ngIf=m,this._updateView()}set ngIfThen(m){Yr("ngIfThen",m),this._thenTemplateRef=m,this._thenViewRef=null,this._updateView()}set ngIfElse(m){Yr("ngIfElse",m),this._elseTemplateRef=m,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(m,E){return!0}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return d})();class Kr{constructor(){this.$implicit=null,this.ngIf=null}}function Yr(d,w){if(w&&!w.createEmbeddedView)throw new Error(`${d} must be a TemplateRef, but received '${(0,l.AaK)(w)}'.`)}class fr{constructor(w,m){this._viewContainerRef=w,this._templateRef=m,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(w){w&&!this._created?this.create():!w&&this._created&&this.destroy()}}let xr=(()=>{class d{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(m){this._ngSwitch=m,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(m){this._defaultViews.push(m)}_matchCase(m){const E=m==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||E,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),E}_updateDefaultCases(m){if(this._defaultViews.length>0&&m!==this._defaultUsed){this._defaultUsed=m;for(const E of this._defaultViews)E.enforceState(m)}}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return d})(),wr=(()=>{class d{constructor(m,E,R){this.ngSwitch=R,R._addCase(),this._view=new fr(m,E)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(xr,9))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return d})(),zi=(()=>{class d{constructor(m,E,R){R._addDefault(new fr(m,E))}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(xr,9))};static#t=this.\u0275dir=l.lG2({type:d,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return d})();const Ni=new l.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),lo=new l.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Ri=(()=>{class d{constructor(m,E,R){this.locale=m,this.defaultTimezone=E,this.defaultOptions=R}transform(m,E,R,te){if(null==m||""===m||m!=m)return null;try{return mn(m,E??this.defaultOptions?.dateFormat??"mediumDate",te||this.locale,R??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ce){throw function dn(d,w){return new l.vHH(2100,!1)}()}}static#e=this.\u0275fac=function(E){return new(E||d)(l.Y36(l.soG,16),l.Y36(Ni,24),l.Y36(lo,24))};static#t=this.\u0275pipe=l.Yjl({name:"date",type:d,pure:!0,standalone:!0})}return d})(),pi=(()=>{class d{transform(m){return JSON.stringify(m,null,2)}static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275pipe=l.Yjl({name:"json",type:d,pure:!1,standalone:!0})}return d})(),Sr=(()=>{class d{static#e=this.\u0275fac=function(E){return new(E||d)};static#t=this.\u0275mod=l.oAB({type:d});static#n=this.\u0275inj=l.cJS({})}return d})();const jt="browser",Fe="server";function Ir(d){return d===Fe}let or=(()=>{class d{static#e=this.\u0275prov=(0,l.Yz7)({token:d,providedIn:"root",factory:()=>new sr((0,l.LFG)(B),window)})}return d})();class sr{constructor(w,m){this.document=w,this.window=m,this.offset=()=>[0,0]}setOffset(w){this.offset=Array.isArray(w)?()=>w:w}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(w){this.supportsScrolling()&&this.window.scrollTo(w[0],w[1])}scrollToAnchor(w){if(!this.supportsScrolling())return;const m=function nt(d,w){const m=d.getElementById(w)||d.getElementsByName(w)[0];if(m)return m;if("function"==typeof d.createTreeWalker&&d.body&&"function"==typeof d.body.attachShadow){const E=d.createTreeWalker(d.body,NodeFilter.SHOW_ELEMENT);let R=E.currentNode;for(;R;){const te=R.shadowRoot;if(te){const ce=te.getElementById(w)||te.querySelector(`[name="${w}"]`);if(ce)return ce}R=E.nextNode()}}return null}(this.document,w);m&&(this.scrollToElement(m),m.focus())}setHistoryScrollRestoration(w){this.supportsScrolling()&&(this.window.history.scrollRestoration=w)}scrollToElement(w){const m=w.getBoundingClientRect(),E=m.left+this.window.pageXOffset,R=m.top+this.window.pageYOffset,te=this.offset();this.window.scrollTo(E-te[0],R-te[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Lr{}},9862:(Ue,oe,S)=>{S.d(oe,{JF:()=>H,TP:()=>kt,WM:()=>xe,eN:()=>Q});var l=S(6689),v=S(2096),ee=S(7715),Z=S(5592),j=S(6328),B=S(2181),G=S(7398),A=S(4716),T=S(4664),N=S(6814);class V{}class ue{}class xe{constructor(L){this.normalizedNames=new Map,this.lazyUpdate=null,L?"string"==typeof L?this.lazyInit=()=>{this.headers=new Map,L.split("\n").forEach(U=>{const ie=U.indexOf(":");if(ie>0){const Se=U.slice(0,ie),ye=Se.toLowerCase(),be=U.slice(ie+1).trim();this.maybeSetNormalizedName(Se,ye),this.headers.has(ye)?this.headers.get(ye).push(be):this.headers.set(ye,[be])}})}:typeof Headers<"u"&&L instanceof Headers?(this.headers=new Map,L.forEach((U,ie)=>{this.setHeaderEntries(ie,U)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(L).forEach(([U,ie])=>{this.setHeaderEntries(U,ie)})}:this.headers=new Map}has(L){return this.init(),this.headers.has(L.toLowerCase())}get(L){this.init();const U=this.headers.get(L.toLowerCase());return U&&U.length>0?U[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(L){return this.init(),this.headers.get(L.toLowerCase())||null}append(L,U){return this.clone({name:L,value:U,op:"a"})}set(L,U){return this.clone({name:L,value:U,op:"s"})}delete(L,U){return this.clone({name:L,value:U,op:"d"})}maybeSetNormalizedName(L,U){this.normalizedNames.has(U)||this.normalizedNames.set(U,L)}init(){this.lazyInit&&(this.lazyInit instanceof xe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(L=>this.applyUpdate(L)),this.lazyUpdate=null))}copyFrom(L){L.init(),Array.from(L.headers.keys()).forEach(U=>{this.headers.set(U,L.headers.get(U)),this.normalizedNames.set(U,L.normalizedNames.get(U))})}clone(L){const U=new xe;return U.lazyInit=this.lazyInit&&this.lazyInit instanceof xe?this.lazyInit:this,U.lazyUpdate=(this.lazyUpdate||[]).concat([L]),U}applyUpdate(L){const U=L.name.toLowerCase();switch(L.op){case"a":case"s":let ie=L.value;if("string"==typeof ie&&(ie=[ie]),0===ie.length)return;this.maybeSetNormalizedName(L.name,U);const Se=("a"===L.op?this.headers.get(U):void 0)||[];Se.push(...ie),this.headers.set(U,Se);break;case"d":const ye=L.value;if(ye){let be=this.headers.get(U);if(!be)return;be=be.filter(Ut=>-1===ye.indexOf(Ut)),0===be.length?(this.headers.delete(U),this.normalizedNames.delete(U)):this.headers.set(U,be)}else this.headers.delete(U),this.normalizedNames.delete(U)}}setHeaderEntries(L,U){const ie=(Array.isArray(U)?U:[U]).map(ye=>ye.toString()),Se=L.toLowerCase();this.headers.set(Se,ie),this.maybeSetNormalizedName(L,Se)}forEach(L){this.init(),Array.from(this.normalizedNames.keys()).forEach(U=>L(this.normalizedNames.get(U),this.headers.get(U)))}}class Ve{encodeKey(L){return mt(L)}encodeValue(L){return mt(L)}decodeKey(L){return decodeURIComponent(L)}decodeValue(L){return decodeURIComponent(L)}}const ze=/%(\d[a-f0-9])/gi,Le={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function mt(Y){return encodeURIComponent(Y).replace(ze,(L,U)=>Le[U]??L)}function Xe(Y){return`${Y}`}class Ie{constructor(L={}){if(this.updates=null,this.cloneFrom=null,this.encoder=L.encoder||new Ve,L.fromString){if(L.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ht(Y,L){const U=new Map;return Y.length>0&&Y.replace(/^\?/,"").split("&").forEach(Se=>{const ye=Se.indexOf("="),[be,Ut]=-1==ye?[L.decodeKey(Se),""]:[L.decodeKey(Se.slice(0,ye)),L.decodeValue(Se.slice(ye+1))],tt=U.get(be)||[];tt.push(Ut),U.set(be,tt)}),U}(L.fromString,this.encoder)}else L.fromObject?(this.map=new Map,Object.keys(L.fromObject).forEach(U=>{const ie=L.fromObject[U],Se=Array.isArray(ie)?ie.map(Xe):[Xe(ie)];this.map.set(U,Se)})):this.map=null}has(L){return this.init(),this.map.has(L)}get(L){this.init();const U=this.map.get(L);return U?U[0]:null}getAll(L){return this.init(),this.map.get(L)||null}keys(){return this.init(),Array.from(this.map.keys())}append(L,U){return this.clone({param:L,value:U,op:"a"})}appendAll(L){const U=[];return Object.keys(L).forEach(ie=>{const Se=L[ie];Array.isArray(Se)?Se.forEach(ye=>{U.push({param:ie,value:ye,op:"a"})}):U.push({param:ie,value:Se,op:"a"})}),this.clone(U)}set(L,U){return this.clone({param:L,value:U,op:"s"})}delete(L,U){return this.clone({param:L,value:U,op:"d"})}toString(){return this.init(),this.keys().map(L=>{const U=this.encoder.encodeKey(L);return this.map.get(L).map(ie=>U+"="+this.encoder.encodeValue(ie)).join("&")}).filter(L=>""!==L).join("&")}clone(L){const U=new Ie({encoder:this.encoder});return U.cloneFrom=this.cloneFrom||this,U.updates=(this.updates||[]).concat(L),U}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(L=>this.map.set(L,this.cloneFrom.map.get(L))),this.updates.forEach(L=>{switch(L.op){case"a":case"s":const U=("a"===L.op?this.map.get(L.param):void 0)||[];U.push(Xe(L.value)),this.map.set(L.param,U);break;case"d":if(void 0===L.value){this.map.delete(L.param);break}{let ie=this.map.get(L.param)||[];const Se=ie.indexOf(Xe(L.value));-1!==Se&&ie.splice(Se,1),ie.length>0?this.map.set(L.param,ie):this.map.delete(L.param)}}}),this.cloneFrom=this.updates=null)}}class $e{constructor(){this.map=new Map}set(L,U){return this.map.set(L,U),this}get(L){return this.map.has(L)||this.map.set(L,L.defaultValue()),this.map.get(L)}delete(L){return this.map.delete(L),this}has(L){return this.map.has(L)}keys(){return this.map.keys()}}function Te(Y){return typeof ArrayBuffer<"u"&&Y instanceof ArrayBuffer}function ve(Y){return typeof Blob<"u"&&Y instanceof Blob}function Ze(Y){return typeof FormData<"u"&&Y instanceof FormData}class De{constructor(L,U,ie,Se){let ye;if(this.url=U,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=L.toUpperCase(),function Ee(Y){switch(Y){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Se?(this.body=void 0!==ie?ie:null,ye=Se):ye=ie,ye&&(this.reportProgress=!!ye.reportProgress,this.withCredentials=!!ye.withCredentials,ye.responseType&&(this.responseType=ye.responseType),ye.headers&&(this.headers=ye.headers),ye.context&&(this.context=ye.context),ye.params&&(this.params=ye.params)),this.headers||(this.headers=new xe),this.context||(this.context=new $e),this.params){const be=this.params.toString();if(0===be.length)this.urlWithParams=U;else{const Ut=U.indexOf("?");this.urlWithParams=U+(-1===Ut?"?":Utan.set(nn,L.setHeaders[nn]),tt)),L.setParams&&(cn=Object.keys(L.setParams).reduce((an,nn)=>an.set(nn,L.setParams[nn]),cn)),new De(U,ie,ye,{params:cn,headers:tt,context:jn,reportProgress:Ut,responseType:Se,withCredentials:be})}}var Gt=function(Y){return Y[Y.Sent=0]="Sent",Y[Y.UploadProgress=1]="UploadProgress",Y[Y.ResponseHeader=2]="ResponseHeader",Y[Y.DownloadProgress=3]="DownloadProgress",Y[Y.Response=4]="Response",Y[Y.User=5]="User",Y}(Gt||{});class He{constructor(L,U=200,ie="OK"){this.headers=L.headers||new xe,this.status=void 0!==L.status?L.status:U,this.statusText=L.statusText||ie,this.url=L.url||null,this.ok=this.status>=200&&this.status<300}}class Qe extends He{constructor(L={}){super(L),this.type=Gt.ResponseHeader}clone(L={}){return new Qe({headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class zt extends He{constructor(L={}){super(L),this.type=Gt.Response,this.body=void 0!==L.body?L.body:null}clone(L={}){return new zt({body:void 0!==L.body?L.body:this.body,headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class Mt extends He{constructor(L){super(L,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${L.url||"(unknown url)"}`:`Http failure response for ${L.url||"(unknown url)"}: ${L.status} ${L.statusText}`,this.error=L.error||null}}function sn(Y,L){return{body:L,headers:Y.headers,context:Y.context,observe:Y.observe,params:Y.params,reportProgress:Y.reportProgress,responseType:Y.responseType,withCredentials:Y.withCredentials}}let Q=(()=>{class Y{constructor(U){this.handler=U}request(U,ie,Se={}){let ye;if(U instanceof De)ye=U;else{let tt,cn;tt=Se.headers instanceof xe?Se.headers:new xe(Se.headers),Se.params&&(cn=Se.params instanceof Ie?Se.params:new Ie({fromObject:Se.params})),ye=new De(U,ie,void 0!==Se.body?Se.body:null,{headers:tt,context:Se.context,params:cn,reportProgress:Se.reportProgress,responseType:Se.responseType||"json",withCredentials:Se.withCredentials})}const be=(0,v.of)(ye).pipe((0,j.b)(tt=>this.handler.handle(tt)));if(U instanceof De||"events"===Se.observe)return be;const Ut=be.pipe((0,B.h)(tt=>tt instanceof zt));switch(Se.observe||"body"){case"body":switch(ye.responseType){case"arraybuffer":return Ut.pipe((0,G.U)(tt=>{if(null!==tt.body&&!(tt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return tt.body}));case"blob":return Ut.pipe((0,G.U)(tt=>{if(null!==tt.body&&!(tt.body instanceof Blob))throw new Error("Response is not a Blob.");return tt.body}));case"text":return Ut.pipe((0,G.U)(tt=>{if(null!==tt.body&&"string"!=typeof tt.body)throw new Error("Response is not a string.");return tt.body}));default:return Ut.pipe((0,G.U)(tt=>tt.body))}case"response":return Ut;default:throw new Error(`Unreachable: unhandled observe type ${Se.observe}}`)}}delete(U,ie={}){return this.request("DELETE",U,ie)}get(U,ie={}){return this.request("GET",U,ie)}head(U,ie={}){return this.request("HEAD",U,ie)}jsonp(U,ie){return this.request("JSONP",U,{params:(new Ie).append(ie,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(U,ie={}){return this.request("OPTIONS",U,ie)}patch(U,ie,Se={}){return this.request("PATCH",U,sn(Se,ie))}post(U,ie,Se={}){return this.request("POST",U,sn(Se,ie))}put(U,ie,Se={}){return this.request("PUT",U,sn(Se,ie))}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(V))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();function Lt(Y,L){return L(Y)}function ke(Y,L){return(U,ie)=>L.intercept(U,{handle:Se=>Y(Se,ie)})}const kt=new l.OlP(""),rt=new l.OlP(""),At=new l.OlP("");function Nt(){let Y=null;return(L,U)=>{null===Y&&(Y=((0,l.f3M)(kt,{optional:!0})??[]).reduceRight(ke,Lt));const ie=(0,l.f3M)(l.HDt),Se=ie.add();return Y(L,U).pipe((0,A.x)(()=>ie.remove(Se)))}}let W=(()=>{class Y extends V{constructor(U,ie){super(),this.backend=U,this.injector=ie,this.chain=null,this.pendingTasks=(0,l.f3M)(l.HDt)}handle(U){if(null===this.chain){const Se=Array.from(new Set([...this.injector.get(rt),...this.injector.get(At,[])]));this.chain=Se.reduceRight((ye,be)=>function vt(Y,L,U){return(ie,Se)=>U.runInContext(()=>L(ie,ye=>Y(ye,Se)))}(ye,be,this.injector),Lt)}const ie=this.pendingTasks.add();return this.chain(U,Se=>this.backend.handle(Se)).pipe((0,A.x)(()=>this.pendingTasks.remove(ie)))}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(ue),l.LFG(l.lqb))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();const Kn=/^\)\]\}',?\n/;let _n=(()=>{class Y{constructor(U){this.xhrFactory=U}handle(U){if("JSONP"===U.method)throw new l.vHH(-2800,!1);const ie=this.xhrFactory;return(ie.\u0275loadImpl?(0,ee.D)(ie.\u0275loadImpl()):(0,v.of)(null)).pipe((0,T.w)(()=>new Z.y(ye=>{const be=ie.build();if(be.open(U.method,U.urlWithParams),U.withCredentials&&(be.withCredentials=!0),U.headers.forEach((ft,je)=>be.setRequestHeader(ft,je.join(","))),U.headers.has("Accept")||be.setRequestHeader("Accept","application/json, text/plain, */*"),!U.headers.has("Content-Type")){const ft=U.detectContentTypeHeader();null!==ft&&be.setRequestHeader("Content-Type",ft)}if(U.responseType){const ft=U.responseType.toLowerCase();be.responseType="json"!==ft?ft:"text"}const Ut=U.serializeBody();let tt=null;const cn=()=>{if(null!==tt)return tt;const ft=be.statusText||"OK",je=new xe(be.getAllResponseHeaders()),In=function Mn(Y){return"responseURL"in Y&&Y.responseURL?Y.responseURL:/^X-Request-URL:/m.test(Y.getAllResponseHeaders())?Y.getResponseHeader("X-Request-URL"):null}(be)||U.url;return tt=new Qe({headers:je,status:be.status,statusText:ft,url:In}),tt},jn=()=>{let{headers:ft,status:je,statusText:In,url:dr}=cn(),rn=null;204!==je&&(rn=typeof be.response>"u"?be.responseText:be.response),0===je&&(je=rn?200:0);let Ln=je>=200&&je<300;if("json"===U.responseType&&"string"==typeof rn){const ln=rn;rn=rn.replace(Kn,"");try{rn=""!==rn?JSON.parse(rn):null}catch(ir){rn=ln,Ln&&(Ln=!1,rn={error:ir,text:rn})}}Ln?(ye.next(new zt({body:rn,headers:ft,status:je,statusText:In,url:dr||void 0})),ye.complete()):ye.error(new Mt({error:rn,headers:ft,status:je,statusText:In,url:dr||void 0}))},an=ft=>{const{url:je}=cn(),In=new Mt({error:ft,status:be.status||0,statusText:be.statusText||"Unknown Error",url:je||void 0});ye.error(In)};let nn=!1;const Hn=ft=>{nn||(ye.next(cn()),nn=!0);let je={type:Gt.DownloadProgress,loaded:ft.loaded};ft.lengthComputable&&(je.total=ft.total),"text"===U.responseType&&be.responseText&&(je.partialText=be.responseText),ye.next(je)},pn=ft=>{let je={type:Gt.UploadProgress,loaded:ft.loaded};ft.lengthComputable&&(je.total=ft.total),ye.next(je)};return be.addEventListener("load",jn),be.addEventListener("error",an),be.addEventListener("timeout",an),be.addEventListener("abort",an),U.reportProgress&&(be.addEventListener("progress",Hn),null!==Ut&&be.upload&&be.upload.addEventListener("progress",pn)),be.send(Ut),ye.next({type:Gt.Sent}),()=>{be.removeEventListener("error",an),be.removeEventListener("abort",an),be.removeEventListener("load",jn),be.removeEventListener("timeout",an),U.reportProgress&&(be.removeEventListener("progress",Hn),null!==Ut&&be.upload&&be.upload.removeEventListener("progress",pn)),be.readyState!==be.DONE&&be.abort()}})))}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(N.JF))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();const vn=new l.OlP("XSRF_ENABLED"),Ot=new l.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),st=new l.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class zr{}let Bn=(()=>{class Y{constructor(U,ie,Se){this.doc=U,this.platform=ie,this.cookieName=Se,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const U=this.doc.cookie||"";return U!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,N.Mx)(U,this.cookieName),this.lastCookieString=U),this.lastToken}static#e=this.\u0275fac=function(ie){return new(ie||Y)(l.LFG(N.K0),l.LFG(l.Lbi),l.LFG(Ot))};static#t=this.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();function xt(Y,L){const U=Y.url.toLowerCase();if(!(0,l.f3M)(vn)||"GET"===Y.method||"HEAD"===Y.method||U.startsWith("http://")||U.startsWith("https://"))return L(Y);const ie=(0,l.f3M)(zr).getToken(),Se=(0,l.f3M)(st);return null!=ie&&!Y.headers.has(Se)&&(Y=Y.clone({headers:Y.headers.set(Se,ie)})),L(Y)}var tn=function(Y){return Y[Y.Interceptors=0]="Interceptors",Y[Y.LegacyInterceptors=1]="LegacyInterceptors",Y[Y.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Y[Y.NoXsrfProtection=3]="NoXsrfProtection",Y[Y.JsonpSupport=4]="JsonpSupport",Y[Y.RequestsMadeViaParent=5]="RequestsMadeViaParent",Y[Y.Fetch=6]="Fetch",Y}(tn||{});function Fn(...Y){const L=[Q,_n,W,{provide:V,useExisting:W},{provide:ue,useExisting:_n},{provide:rt,useValue:xt,multi:!0},{provide:vn,useValue:!0},{provide:zr,useClass:Bn}];for(const U of Y)L.push(...U.\u0275providers);return(0,l.MR2)(L)}const Sn=new l.OlP("LEGACY_INTERCEPTOR_FN");function nr(){return function Ne(Y,L){return{\u0275kind:Y,\u0275providers:L}}(tn.LegacyInterceptors,[{provide:Sn,useFactory:Nt},{provide:rt,useExisting:Sn,multi:!0}])}let H=(()=>{class Y{static#e=this.\u0275fac=function(ie){return new(ie||Y)};static#t=this.\u0275mod=l.oAB({type:Y});static#n=this.\u0275inj=l.cJS({providers:[Fn(nr())]})}return Y})()},6689:(Ue,oe,S)=>{S.d(oe,{tb:()=>Bd,AFp:()=>Ih,ip1:()=>wv,hGG:()=>IS,z2F:()=>Ds,Ojb:()=>c_,sBO:()=>cS,Sil:()=>TM,EJc:()=>IM,Xts:()=>Qs,SBq:()=>na,lqb:()=>wi,qLn:()=>to,vpe:()=>Mi,XFs:()=>ct,OlP:()=>Ne,zs3:()=>si,ZZ4:()=>Kd,aQg:()=>Yd,soG:()=>Zl,YKP:()=>Em,h0i:()=>Io,PXZ:()=>tS,R0b:()=>$n,FiY:()=>Ya,Lbi:()=>fc,g9A:()=>bh,Qsj:()=>S_,FYo:()=>Rh,JOm:()=>nl,tp0:()=>Za,Rgc:()=>_a,dDg:()=>JM,eoX:()=>Pv,GfV:()=>xh,s_b:()=>Kl,ifc:()=>pn,VuI:()=>kS,MMx:()=>Mm,Lck:()=>pw,eFA:()=>Fv,G48:()=>uS,Gpc:()=>$e,f3M:()=>ye,$WT:()=>qn,MR2:()=>oc,_c5:()=>SS,qFp:()=>US,rg0:()=>It,c2e:()=>Mv,zSh:()=>lc,HDt:()=>Sv,wAp:()=>gs,vHH:()=>De,lri:()=>Tv,rWj:()=>Ov,cg1:()=>dd,kL8:()=>Kg,dqk:()=>xt,Z0I:()=>Rt,eJc:()=>Pd,QGY:()=>Qc,F4k:()=>eg,RDi:()=>PD,AaK:()=>Xe,qOj:()=>jc,Xq5:()=>Rp,TTD:()=>yr,_Bn:()=>Cm,jDz:()=>Sm,xp6:()=>ip,uIk:()=>Gc,Tol:()=>_g,ekj:()=>ad,Suo:()=>tv,Xpm:()=>di,lG2:()=>pi,Yz7:()=>he,cJS:()=>yt,oAB:()=>fi,Yjl:()=>Ki,Y36:()=>ns,_UZ:()=>Xc,BQk:()=>Ll,ynx:()=>Fl,qZA:()=>xl,TgZ:()=>Rl,EpF:()=>Qp,n5z:()=>Df,SDv:()=>vm,QtT:()=>ym,N_p:()=>gd,pQV:()=>md,Zx4:()=>Dm,tHW:()=>pd,LFG:()=>ie,$8M:()=>Nu,$Z:()=>sp,NdJ:()=>ed,CRH:()=>nv,oxw:()=>og,ALo:()=>Um,lcZ:()=>$m,xi3:()=>Bm,Q6J:()=>qc,s9C:()=>td,MGl:()=>kl,hYB:()=>nd,DdM:()=>Nm,VKq:()=>Rm,iGM:()=>Qm,MAs:()=>Zp,KtG:()=>_u,CHM:()=>Fa,P3R:()=>yh,Udp:()=>sd,YNc:()=>Wp,W1O:()=>sv,_uU:()=>bg,Oqu:()=>ud,hij:()=>$l,AsE:()=>cd,Gf:()=>ev});var l=S(8645),v=S(7394),ee=S(5592),Z=S(7537),j=S(4829),B=S(6232),G=S(4564),A=S(7715),N=S(5619),V=S(2096),ue=S(305),xe=S(9360);function Pe(e={}){const{connector:t=(()=>new l.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,u,h,D=0,M=!1,O=!1;const k=()=>{u?.unsubscribe(),u=void 0},z=()=>{k(),s=h=void 0,M=O=!1},ae=()=>{const ge=s;z(),ge?.unsubscribe()};return(0,xe.e)((ge,Re)=>{D++,!O&&!M&&k();const We=h=h??t();Re.add(()=>{D--,0===D&&!O&&!M&&(u=Ve(ae,i))}),We.subscribe(Re),!s&&D>0&&(s=new ue.Hp({next:de=>We.next(de),error:de=>{O=!0,k(),u=Ve(z,n,de),We.error(de)},complete:()=>{M=!0,k(),u=Ve(z,r),We.complete()}}),(0,j.Xf)(ge).subscribe(s))})(o)}}function Ve(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new ue.Hp({next:()=>{r.unsubscribe(),e()}});return(0,j.Xf)(t(...n)).subscribe(r)}var ht=S(4664),ze=S(3997);function Le(e){for(let t in e)if(e[t]===Le)return t;throw Error("Could not find renamed property on target object.")}function mt(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Xe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Xe).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 Ie(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ce=Le({__forward_ref__:Le});function $e(e){return e.__forward_ref__=$e,e.toString=function(){return Xe(this())},e}function Ee(e){return Te(e)?e():e}function Te(e){return"function"==typeof e&&e.hasOwnProperty(Ce)&&e.__forward_ref__===$e}function ve(e){return e&&!!e.\u0275providers}const Ye="https://g.co/ng/security#xss";class De extends Error{constructor(t,n){super(function Gt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function He(e){return"string"==typeof e?e:null==e?"":String(e)}function Q(e,t){throw new De(-201,!1)}function W(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function he(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Tt(e){return Je(e,Kn)||Je(e,_n)}function Rt(e){return null!==Tt(e)}function Je(e,t){return e.hasOwnProperty(t)?e[t]:null}function mn(e){return e&&(e.hasOwnProperty(Mn)||e.hasOwnProperty(vn))?e[Mn]:null}const Kn=Le({\u0275prov:Le}),Mn=Le({\u0275inj:Le}),_n=Le({ngInjectableDef:Le}),vn=Le({ngInjectorDef:Le});var ct=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}(ct||{});let Ot;function st(e){const t=Ot;return Ot=e,t}function zr(e,t,n){const r=Tt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ct.Optional?null:void 0!==t?t:void Q(Xe(e))}const xt=globalThis;class Ne{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=he({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const le={},Ae="__NG_DI_FLAG__",Be="ngTempTokenPath",_t=/\n/gm,yn="__source";let Cn;function L(e){const t=Cn;return Cn=e,t}function U(e,t=ct.Default){if(void 0===Cn)throw new De(-203,!1);return null===Cn?zr(e,void 0,t):Cn.get(e,t&ct.Optional?null:void 0,t)}function ie(e,t=ct.Default){return(function ui(){return Ot}()||U)(Ee(e),t)}function ye(e,t=ct.Default){return ie(e,be(t))}function be(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ut(e){const t=[];for(let n=0;nt){s=o-1;break}}}for(;oo?"":i[O+1].toLowerCase();const z=8&r?k:null;if(z&&-1!==Kr(z,D,0)||2&r&&D!==k){if(un(r))return!1;s=!0}}}}else{if(!s&&!un(r)&&!un(h))return!1;if(s&&un(h))continue;s=!1,r=h|1&r}}return un(r)||s}function un(e){return 0==(1&e)}function dn(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+u+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!un(s)&&(t+=Oi(o,i),i=""),r=s,o=o||!un(r);n++}return""!==i&&(t+=Oi(o,i)),t}function di(e){return nn(()=>{const t=Jn(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Hn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||pn.Emulated,styles:e.styles||je,_:null,schemas:e.schemas||null,tView:null,id:""};Xr(n);const r=e.dependencies;return n.directiveDefs=Mr(r,!1),n.pipeDefs=Mr(r,!0),n.id=function Sr(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 i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function lo(e){return dt(e)||on(e)}function Ri(e){return null!==e}function fi(e){return nn(()=>({type:e.type,bootstrap:e.bootstrap||je,declarations:e.declarations||je,imports:e.imports||je,exports:e.exports||je,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hi(e,t){if(null==e)return ft;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}function pi(e){return nn(()=>{const t=Jn(e);return Xr(t),t})}function Ki(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 dt(e){return e[In]||null}function on(e){return e[dr]||null}function gn(e){return e[rn]||null}function qn(e){const t=dt(e)||on(e)||gn(e);return null!==t&&t.standalone}function Qt(e,t){const n=e[Ln]||null;if(!n&&!0===t)throw new Error(`Type ${Xe(e)} does not have '\u0275mod' property.`);return n}function Jn(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||ft,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||je,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hi(e.inputs,t),outputs:hi(e.outputs)}}function Xr(e){e.features?.forEach(t=>t(e))}function Mr(e,t){if(!e)return null;const n=t?gn:lo;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Ri)}const jt=0,Fe=1,it=2,Ft=3,Pn=4,Ir=5,fn=6,Nn=7,qt=8,or=9,sr=10,nt=11,gi=12,Lr=13,pr=14,Wt=15,kr=16,gr=17,Gn=18,Vr=19,Ur=20,zn=21,mr=22,Qr=23,xi=24,Ct=25,mi=1,co=2,ar=7,$r=9,Dn=11;function Wn(e){return Array.isArray(e)&&"object"==typeof e[mi]}function An(e){return Array.isArray(e)&&!0===e[mi]}function Li(e){return 0!=(4&e.flags)}function _(e){return e.componentOffset>-1}function C(e){return 1==(1&e.flags)}function g(e){return!!e.template}function b(e){return 0!=(512&e[it])}function vi(e,t){return e.hasOwnProperty(ln)?e[ln]:null}let En=null,fo=!1;function kn(e){const t=En;return En=e,t}const To={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Oo(e){if(!Zi(e)||e.dirty){if(!e.producerMustRecompute(e)&&!go(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function As(e){e.dirty=!0,function bs(e){if(void 0===e.liveConsumerNode)return;const t=fo;fo=!0;try{for(const n of e.liveConsumerNode)n.dirty||As(n)}finally{fo=t}}(e),e.consumerMarkedDirty?.(e)}function Vi(e){return e&&(e.nextProducerIndex=0),kn(e)}function po(e,t){if(kn(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Zi(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function go(e){Ui(e);for(let t=0;t0}function Ui(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let w=null;function It(e){const t=kn(null);try{return e()}finally{kn(t)}}const Tr=()=>{},Or=(()=>({...To,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Tr}))();class Vn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function yr(){return Pr}function Pr(e){return e.type.prototype.ngOnChanges&&(e.setInput=fu),_i}function _i(){const e=Aa(this),t=e?.current;if(t){const n=e.previous;if(n===ft)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fu(e,t,n,r){const i=this.declaredInputs[n],o=Aa(e)||function No(e,t){return e[ba]=t}(e,{previous:ft,current:null}),s=o.current||(o.current={}),u=o.previous,h=u[i];s[i]=new Vn(h&&h.currentValue,t,u===ft),e[r]=t}yr.ngInherit=!0;const ba="__ngSimpleChanges__";function Aa(e){return e[ba]||null}const Xn=function(e,t,n){};function Jt(e){for(;Array.isArray(e);)e=e[jt];return e}function Ro(e,t){return Jt(t[e])}function Xt(e,t){return Jt(t[e.index])}function Rs(e,t){return e.data[t]}function ti(e,t){return e[t]}function Qn(e,t){const n=t[e];return Wn(n)?n:n[jt]}function $i(e,t){return null==t?null:e[t]}function Pa(e){e[gr]=0}function xs(e){1024&e[it]||(e[it]|=1024,mu(e,1))}function Fs(e){1024&e[it]&&(e[it]&=-1025,mu(e,-1))}function mu(e,t){let n=e[Ft];if(null===n)return;n[Ir]+=t;let r=n;for(n=n[Ft];null!==n&&(1===t&&1===r[Ir]||-1===t&&0===r[Ir]);)n[Ir]+=t,r=n,n=n[Ft]}const ot={lFrame:we(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function xo(){return ot.bindingsEnabled}function fe(){return ot.lFrame.lView}function bt(){return ot.lFrame.tView}function Fa(e){return ot.lFrame.contextLView=e,e[qt]}function _u(e){return ot.lFrame.contextLView=null,e}function Tn(){let e=La();for(;null!==e&&64===e.type;)e=e.parent;return e}function La(){return ot.lFrame.currentTNode}function vo(){const e=ot.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function jr(e,t){const n=ot.lFrame;n.currentTNode=e,n.isParent=t}function ks(){return ot.lFrame.isParent}function Vs(){ot.lFrame.isParent=!1}function Un(){const e=ot.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ri(){return ot.lFrame.bindingIndex}function yo(){return ot.lFrame.bindingIndex++}function Ci(e){const t=ot.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function wu(e){ot.lFrame.inI18n=e}function rf(e,t){const n=ot.lFrame;n.bindingIndex=n.bindingRootIndex=e,f(t)}function f(e){ot.lFrame.currentDirectiveIndex=e}function p(){return ot.lFrame.currentQueryIndex}function y(e){ot.lFrame.currentQueryIndex=e}function I(e){const t=e[Fe];return 2===t.type?t.declTNode:1===t.type?e[fn]:null}function P(e,t,n){if(n&ct.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&ct.Host||(i=I(o),null===i||(o=o[pr],10&i.type))););if(null===i)return!1;t=i,e=o}const r=ot.lFrame=K();return r.currentTNode=t,r.lView=e,!0}function X(e){const t=K(),n=e[Fe];ot.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function K(){const e=ot.lFrame,t=null===e?null:e.child;return null===t?we(e):t}function we(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 at(){const e=ot.lFrame;return ot.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ht=at;function St(){const e=at();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 wn(){return ot.lFrame.selectedIndex}function oi(e){ot.lFrame.selectedIndex=e}function Kt(){const e=ot.lFrame;return Rs(e.tView,e.selectedIndex)}let af=!0;function Va(){return af}function Qi(e){af=e}function Ua(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[gr]+=65536),(u>13>16&&(3&e[it])===t&&(e[it]+=8192,uf(u,o)):uf(u,o)}const Fo=-1;class Us{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function bu(e){return e!==Fo}function $s(e){return 32767&e}function Bs(e,t){let n=function my(e){return e>>16}(e),r=t;for(;n>0;)r=r[pr],n--;return r}let Au=!0;function ja(e){const t=Au;return Au=e,t}const cf=255,df=5;let vy=0;const Ei={};function Ha(e,t){const n=ff(e,t);if(-1!==n)return n;const r=t[Fe];r.firstCreatePass&&(e.injectorIndex=t.length,Tu(r.data,e),Tu(t,null),Tu(r.blueprint,null));const i=Ga(e,t),o=e.injectorIndex;if(bu(i)){const s=$s(i),u=Bs(i,t),h=u[Fe].data;for(let D=0;D<8;D++)t[o+D]=u[s+D]|h[s+D]}return t[o+8]=i,o}function Tu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ff(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ga(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=_f(i),null===r)return Fo;if(n++,i=i[pr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Fo}function Ou(e,t,n){!function yy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ir)&&(r=n[ir]),null==r&&(r=n[ir]=vy++);const i=r&cf;t.data[e+(i>>df)]|=1<=0?t&cf:wy:t}(n);if("function"==typeof o){if(!P(t,e,r))return r&ct.Host?hf(i,0,r):pf(t,n,r,i);try{let s;if(s=o(r),null!=s||r&ct.Optional)return s;Q()}finally{Ht()}}else if("number"==typeof o){let s=null,u=ff(e,t),h=Fo,D=r&ct.Host?t[Wt][fn]:null;for((-1===u||r&ct.SkipSelf)&&(h=-1===u?Ga(e,t):t[u+8],h!==Fo&&yf(r,!1)?(s=t[Fe],u=$s(h),t=Bs(h,t)):u=-1);-1!==u;){const M=t[Fe];if(vf(o,u,M.data)){const O=_y(u,t,n,s,r,D);if(O!==Ei)return O}h=t[u+8],h!==Fo&&yf(r,t[Fe].data[u+8]===D)&&vf(o,u,t)?(s=M,u=$s(h),t=Bs(h,t)):u=-1}}return i}function _y(e,t,n,r,i,o){const s=t[Fe],u=s.data[e+8],M=za(u,s,n,null==r?_(u)&&Au:r!=s&&0!=(3&u.type),i&ct.Host&&o===u);return null!==M?_o(t,s,M,u):Ei}function za(e,t,n,r,i){const o=e.providerIndexes,s=t.data,u=1048575&o,h=e.directiveStart,M=o>>20,k=i?u+M:e.directiveEnd;for(let z=r?u:u+M;z=h&&ae.type===n)return z}if(i){const z=s[h];if(z&&g(z)&&z.type===n)return h}return null}function _o(e,t,n,r){let i=e[n];const o=t.data;if(function hy(e){return e instanceof Us}(i)){const s=i;s.resolving&&function zt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new De(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Qe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():He(e)}(o[n]));const u=ja(s.canSeeViewProviders);s.resolving=!0;const D=s.injectImpl?st(s.injectImpl):null;P(e,r,ct.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function dy(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=Pr(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==D&&st(D),ja(u),s.resolving=!1,Ht()}}return i}function vf(e,t,n){return!!(n[t+(e>>df)]&1<{const t=e.prototype.constructor,n=t[ln]||Pu(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[ln]||Pu(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Pu(e){return Te(e)?()=>{const t=Pu(Ee(e));return t&&t()}:vi(e)}function _f(e){const t=e[Fe],n=t.type;return 2===n?t.declTNode:1===n?e[fn]:null}function Nu(e){return function Dy(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{const r=function Ru(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return u.annotation=s,u;function u(h,D,M){const O=h.hasOwnProperty(ko)?h[ko]:Object.defineProperty(h,ko,{value:[]})[ko];for(;O.length<=M;)O.push(null);return(O[M]=O[M]||[]).push(s),h}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Bo(e,t){e.forEach(n=>Array.isArray(n)?Bo(n,t):t(n))}function Ef(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nr(e,t,n){let r=jo(e,t);return r>=0?e[1|r]=n:(r=~r,function Py(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function xu(e,t){const n=jo(e,t);if(n>=0)return e[1|n]}function jo(e,t){return function wf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<t?i=o:r=o+1}return~(i<|^->||--!>|)/g,eD="\u200b$1\u200b";const Uu=new Map;let tD=0;const Bu="__ngContext__";function er(e,t){Wn(t)?(e[Bu]=t[Vr],function rD(e){Uu.set(e[Vr],e)}(t)):e[Bu]=t}let ju;function Hu(e,t){return ju(e,t)}function Ks(e){const t=e[Ft];return An(t)?t[Ft]:t}function Hf(e){return zf(e[gi])}function Gf(e){return zf(e[Pn])}function zf(e){for(;null!==e&&!An(e);)e=e[Pn];return e}function zo(e,t,n,r,i){if(null!=r){let o,s=!1;An(r)?o=r:Wn(r)&&(s=!0,r=r[jt]);const u=Jt(r);0===e&&null!==n?null==i?Zf(t,n,u):Co(t,n,u,i||null,!0):1===e&&null!==n?Co(t,n,u,i||null,!0):2===e?ll(t,u,s):3===e&&t.destroyNode(u),null!=o&&function SD(e,t,n,r,i){const o=n[ar];o!==Jt(n)&&zo(t,e,r,o,i);for(let u=Dn;ut.replace(Qy,eD))}(t))}function il(e,t,n){return e.createElement(t,n)}function Kf(e,t){const n=e[$r],r=n.indexOf(t);Fs(t),n.splice(r,1)}function ol(e,t){if(e.length<=Dn)return;const n=Dn+t,r=e[n];if(r){const i=r[kr];null!==i&&i!==e&&Kf(i,r),t>0&&(e[n-1][Pn]=r[Pn]);const o=Wa(e,Dn+t);!function pD(e,t){Zs(e,t,t[nt],2,null,null),t[jt]=null,t[fn]=null}(r[Fe],r);const s=o[Gn];null!==s&&s.detachView(o[Fe]),r[Ft]=null,r[Pn]=null,r[it]&=-129}return r}function zu(e,t){if(!(256&t[it])){const n=t[nt];t[Qr]&&Po(t[Qr]),t[xi]&&Po(t[xi]),n.destroyNode&&Zs(e,t,n,3,null,null),function vD(e){let t=e[gi];if(!t)return Wu(e[Fe],e);for(;t;){let n=null;if(Wn(t))n=t[gi];else{const r=t[Dn];r&&(n=r)}if(!n){for(;t&&!t[Pn]&&t!==e;)Wn(t)&&Wu(t[Fe],t),t=t[Ft];null===t&&(t=e),Wn(t)&&Wu(t[Fe],t),n=t&&t[Pn]}t=n}}(t)}}function Wu(e,t){if(!(256&t[it])){t[it]&=-129,t[it]|=256,function CD(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[Nn]=null);const i=t[zn];if(null!==i){t[zn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===pn.None||o===pn.Emulated)return null}return Xt(r,n)}}function Co(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Zf(e,t,n){e.appendChild(t,n)}function qf(e,t,n,r,i){null!==r?Co(e,t,n,r,i):Zf(e,t,n)}function sl(e,t){return e.parentNode(t)}function Xf(e,t,n){return 40&e.type?Xt(e,n):null}let Yu,ul,Xu,cl,Qf=Xf;function eh(e,t){Qf=e,Yu=t}function al(e,t,n,r){const i=function Ku(e,t,n){return Yf(e,t.parent,n)}(e,r,t),o=t[nt],u=function Jf(e,t,n){return Qf(e,t,n)}(r.parent||t[fn],r,t);if(null!=i)if(Array.isArray(n))for(let h=0;he,createScript:e=>e,createScriptURL:e=>e})}catch{}return ul}()?.createHTML(e)||e}function PD(e){Xu=e}function Ko(){if(void 0!==Xu)return Xu;if(typeof document<"u")return document;throw new De(210,!1)}function lh(e){return function Qu(){if(void 0===cl&&(cl=null,xt.trustedTypes))try{cl=xt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return cl}()?.createScriptURL(e)||e}class uh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ye})`}}function eo(e){return e instanceof uh?e.changingThisBreaksApplicationSecurity:e}function qs(e,t){const n=function kD(e){return e instanceof uh&&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 ${Ye})`)}return n===t}class VD{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Wo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class UD{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Wo(t),n}}const BD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ec(e){return(e=String(e)).match(BD)?e:"unsafe:"+e}function Bi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Js(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const dh=Bi("area,br,col,hr,img,wbr"),fh=Bi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hh=Bi("rp,rt"),tc=Js(dh,Js(fh,Bi("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")),Js(hh,Bi("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")),Js(hh,fh)),nc=Bi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ph=Js(nc,Bi("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"),Bi("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"));var Yo=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}(Yo||{});function mh(e){const t=Xs();return t?t.sanitize(Yo.URL,e)||"":qs(e,"URL")?eo(e):ec(He(e))}function vh(e){const t=Xs();if(t)return lh(t.sanitize(Yo.RESOURCE_URL,e)||"");if(qs(e,"ResourceURL"))return lh(eo(e));throw new De(904,!1)}function yh(e,t,n){return function QD(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?vh:mh}(t,n)(e)}function Xs(){const e=fe();return e&&e[sr].sanitizer}const Qs=new Ne("ENVIRONMENT_INITIALIZER"),Dh=new Ne("INJECTOR",-1),_h=new Ne("INJECTOR_DEF_TYPES");class ic{get(t,n=le){if(n===le){const r=new Error(`NullInjectorError: No provider for ${Xe(t)}!`);throw r.name="NullInjectorError",r}return n}}function oc(e){return{\u0275providers:e}}function e_(...e){return{\u0275providers:Ch(0,e),\u0275fromNgModule:!0}}function Ch(e,...t){const n=[],r=new Set;let i;const o=s=>{n.push(s)};return Bo(t,s=>{const u=s;fl(u,o,[],r)&&(i||=[],i.push(u))}),void 0!==i&&Eh(i,o),n}function Eh(e,t){for(let n=0;n{t(o,r)})}}function fl(e,t,n,r){if(!(e=Ee(e)))return!1;let i=null,o=mn(e);const s=!o&&dt(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const h=e.ngModule;if(o=mn(h),!o)return!1;i=h}const u=r.has(i);if(s){if(u)return!1;if(r.add(i),s.dependencies){const h="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const D of h)fl(D,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!u){let D;r.add(i);try{Bo(o.imports,M=>{fl(M,t,n,r)&&(D||=[],D.push(M))})}finally{}void 0!==D&&Eh(D,t)}if(!u){const D=vi(i)||(()=>new i);t({provide:i,useFactory:D,deps:je},i),t({provide:_h,useValue:i,multi:!0},i),t({provide:Qs,useValue:()=>ie(i),multi:!0},i)}const h=o.providers;if(null!=h&&!u){const D=e;sc(h,M=>{t(M,D)})}}}return i!==e&&void 0!==e.providers}function sc(e,t){for(let n of e)ve(n)&&(n=n.\u0275providers),Array.isArray(n)?sc(n,t):t(n)}const t_=Le({provide:String,useValue:Le});function ac(e){return null!==e&&"object"==typeof e&&t_ in e}function Eo(e){return"function"==typeof e}const lc=new Ne("Set Injector scope."),hl={},r_={};let uc;function pl(){return void 0===uc&&(uc=new ic),uc}class wi{}class Zo extends wi{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,dc(t,s=>this.processProvider(s)),this.records.set(Dh,qo(void 0,this)),i.has("environment")&&this.records.set(wi,qo(void 0,this));const o=this.records.get(lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(_h.multi,je,ct.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=L(this),r=st(void 0);try{return t()}finally{L(n),st(r)}}get(t,n=le,r=ct.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Wr))return t[Wr](this);r=be(r);const o=L(this),s=st(void 0);try{if(!(r&ct.SkipSelf)){let h=this.records.get(t);if(void 0===h){const D=function l_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ne}(t)&&Tt(t);h=D&&this.injectableDefInScope(D)?qo(cc(t),hl):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&ct.Self?pl():this.parent).get(t,n=r&ct.Optional&&n===le?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[Be]=u[Be]||[]).unshift(Xe(t)),o)throw u;return function jn(e,t,n,r){const i=e[Be];throw t[yn]&&i.unshift(t[yn]),e.message=function an(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Xe(t);if(Array.isArray(t))i=t.map(Xe).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let u=t[s];o.push(s+":"+("string"==typeof u?JSON.stringify(u):Xe(u)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(_t,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Be]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{st(s),L(o)}}resolveInjectorInitializers(){const t=L(this),n=st(void 0);try{const i=this.get(Qs.multi,je,ct.Self);for(const o of i)o()}finally{L(t),st(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Xe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new De(205,!1)}processProvider(t){let n=Eo(t=Ee(t))?t:Ee(t&&t.provide);const r=function o_(e){return ac(e)?qo(void 0,e.useValue):qo(Sh(e),hl)}(t);if(Eo(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=qo(void 0,hl,!0),i.factory=()=>Ut(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===hl&&(n.value=r_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function a_(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=Ee(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 cc(e){const t=Tt(e),n=null!==t?t.factory:vi(e);if(null!==n)return n;if(e instanceof Ne)throw new De(204,!1);if(e instanceof Function)return function i_(e){const t=e.length;if(t>0)throw function Gs(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new De(204,!1)}function Sh(e,t,n){let r;if(Eo(e)){const i=Ee(e);return vi(i)||cc(i)}if(ac(e))r=()=>Ee(e.useValue);else if(function Mh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ut(e.deps||[]));else if(function wh(e){return!(!e||!e.useExisting)}(e))r=()=>ie(Ee(e.useExisting));else{const i=Ee(e&&(e.useClass||e.provide));if(!function s_(e){return!!e.deps}(e))return vi(i)||cc(i);r=()=>new i(...Ut(e.deps))}return r}function qo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function dc(e,t){for(const n of e)Array.isArray(n)?dc(n,t):n&&ve(n)?dc(n.\u0275providers,t):t(n)}const Ih=new Ne("AppId",{providedIn:"root",factory:()=>u_}),u_="ng",bh=new Ne("Platform Initializer"),fc=new Ne("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),c_=new Ne("CSP nonce",{providedIn:"root",factory:()=>Ko().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ah=(e,t,n)=>null;function _c(e,t,n=!1){return Ah(e,t,n)}class __{}class Ph{}class E_{resolveComponentFactory(t){throw function C_(e){const t=Error(`No component factory found for ${Xe(e)}.`);return t.ngComponent=e,t}(t)}}let _l=(()=>{class e{static#e=this.NULL=new E_}return e})();function w_(){return Qo(Tn(),fe())}function Qo(e,t){return new na(Xt(e,t))}let na=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=w_}return e})();function M_(e){return e instanceof na?e.nativeElement:e}class Rh{}let S_=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function I_(){const e=fe(),n=Qn(Tn().index,e);return(Wn(n)?n:e)[nt]}()}return e})(),b_=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>null})}return e})();class xh{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 xh("16.2.12"),wc={};function Vh(e,t=null,n=null,r){const i=Uh(e,t,n,r);return i.resolveInjectorInitializers(),i}function Uh(e,t=null,n=null,r,i=new Set){const o=[n||je,e_(e)];return r=r||("object"==typeof e?void 0:Xe(e)),new Zo(o,t||pl(),r||null,i)}let si=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=le;static#t=this.NULL=new ic;static create(n,r){if(Array.isArray(n))return Vh({name:""},r,n,"");{const i=n.name??"";return Vh({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=he({token:e,providedIn:"any",factory:()=>ie(Dh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Sc(e){return e.ngOriginalError}class to{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&&Sc(t);for(;n&&Sc(n);)n=Sc(n);return n||null}}function bc(e){return t=>{setTimeout(e,void 0,t)}}const Mi=class F_ extends l.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const h=t;i=h.next?.bind(h),o=h.error?.bind(h),s=h.complete?.bind(h)}this.__isAsync&&(o=bc(o),i&&(i=bc(i)),s&&(s=bc(s)));const u=super.subscribe({next:i,error:o,complete:s});return t instanceof v.w0&&t.add(u),u}};function Bh(...e){}class $n{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mi(!1),this.onMicrotaskEmpty=new Mi(!1),this.onStable=new Mi(!1),this.onError=new Mi(!1),typeof Zone>"u")throw new De(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function L_(){const e="function"==typeof xt.requestAnimationFrame;let t=xt[e?"requestAnimationFrame":"setTimeout"],n=xt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function U_(e){const t=()=>{!function V_(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(xt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Tc(e),e.isCheckStableRunning=!0,Ac(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Tc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,u)=>{if(function B_(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(u))return n.invokeTask(i,o,s,u);try{return jh(e),n.invokeTask(i,o,s,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Hh(e)}},onInvoke:(n,r,i,o,s,u,h)=>{try{return jh(e),n.invoke(i,o,s,u,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hh(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Tc(e),Ac(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!$n.isInAngularZone())throw new De(909,!1)}static assertNotInAngularZone(){if($n.isInAngularZone())throw new De(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,k_,Bh,Bh);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const k_={};function Ac(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 Tc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function jh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hh(e){e._nesting--,Ac(e)}class $_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mi,this.onMicrotaskEmpty=new Mi,this.onStable=new Mi,this.onError=new Mi}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const Gh=new Ne("",{providedIn:"root",factory:zh});function zh(){const e=ye($n);let t=!0;return function T(...e){const t=(0,G.yG)(e),n=(0,G._6)(e,1/0),r=e;return r.length?1===r.length?(0,j.Xf)(r[0]):(0,Z.J)(n)((0,A.D)(r,t)):B.E}(new ee.y(i=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(t),i.complete()})}),new ee.y(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{$n.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,i.next(!0))})})});const s=e.onUnstable.subscribe(()=>{$n.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(Pe()))}function ji(e){return e instanceof Function?e():e}let Oc=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>new e})}return e})();function ra(e){for(;e;){e[it]|=64;const t=Ks(e);if(b(e)&&!t)return e;e=t}return null}const qh=new Ne("",{providedIn:"root",factory:()=>!1});let El=null;function ep(e,t){return e[t]??rp()}function tp(e,t){const n=rp();n.producerNode?.length&&(e[t]=El,n.lView=e,El=np())}const J_={...To,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ra(e.lView)},lView:null};function np(){return Object.create(J_)}function rp(){return El??=np(),El}const pt={};function ip(e){op(bt(),fe(),wn()+e,!1)}function op(e,t,n,r){if(!r)if(3==(3&t[it])){const o=e.preOrderCheckHooks;null!==o&&$a(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Ba(t,o,0,n)}oi(n)}function ns(e,t=ct.Default){const n=fe();return null===n?ie(e,t):gf(Tn(),n,Ee(e),t)}function sp(){throw new Error("invalid")}function wl(e,t,n,r,i,o,s,u,h,D,M){const O=t.blueprint.slice();return O[jt]=i,O[it]=140|r,(null!==D||e&&2048&e[it])&&(O[it]|=2048),Pa(O),O[Ft]=O[pr]=e,O[qt]=n,O[sr]=s||e&&e[sr],O[nt]=u||e&&e[nt],O[or]=h||e&&e[or]||null,O[fn]=o,O[Vr]=function nD(){return tD++}(),O[mr]=M,O[Ur]=D,O[Wt]=2==t.type?e[Wt]:O,O}function rs(e,t,n,r,i){let o=e.data[t];if(null===o)o=Pc(e,t,n,r,i),function nf(){return ot.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=vo();o.injectorIndex=null===s?-1:s.injectorIndex}return jr(o,!0),o}function Pc(e,t,n,r,i){const o=La(),s=ks(),h=e.data[t]=function oC(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,u=0;return function Xi(){return null!==ot.skipHydrationRootTNode}()&&(u|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:i,attrs:o,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,s?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=h),null!==o&&(s?null==o.child&&null!==h.parent&&(o.child=h):null===o.next&&(o.next=h,h.prev=o)),h}function ia(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;oCt&&op(e,t,Ct,!1),Xn(u?2:0,i);const D=u?o:null,M=Vi(D);try{null!==D&&(D.dirty=!1),n(r,i)}finally{po(D,M)}}finally{u&&null===t[Qr]&&tp(t,Qr),oi(s),Xn(u?3:1,i)}}function Nc(e,t,n){if(Li(t)){const r=kn(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;snull;function cp(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const o=e[i];null===r?dp(n,t,i,o):r.hasOwnProperty(i)&&dp(n,t,r[i],o)}return n}function dp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Rr(e,t,n,r,i,o,s,u){const h=Xt(t,n);let M,D=t.inputs;!u&&null!=D&&(M=D[r])?($c(e,n,M,r,i),_(t)&&function lC(e,t){const n=Qn(t,e);16&n[it]||(n[it]|=64)}(n,t.index)):3&t.type&&(r=function aC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,t.value||"",r):i,o.setProperty(h,r,i))}function Lc(e,t,n,r){if(xo()){const i=null===r?null:{"":-1},o=function pC(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(n,r,o)}}(e,t,r,ia(e,n,i.hostVars,pt),i)}function Vc(e,t,n,r,i,o,s){if(null==o)e.removeAttribute(t,i,n);else{const u=null==s?He(o):s(o,r||"",i);e.setAttribute(t,i,u,n)}}function _C(e,t,n,r,i,o){const s=o[t];if(null!==s)for(let u=0;u{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,i){const o=typeof Zone>"u"?null:Zone.current,s=function hn(e,t,n){const r=Object.create(Or);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=s=>{r.cleanupFn=s};return r.ref={notify:()=>As(r),run:()=>{if(r.dirty=!1,r.hasRun&&!go(r))return;r.hasRun=!0;const s=Vi(r);try{r.cleanupFn(),r.cleanupFn=Tr,r.fn(i)}finally{po(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(n,D=>{this.all.has(D)&&this.queue.set(D,o)},i);let u;this.all.add(s),s.notify();const h=()=>{s.cleanup(),u?.(),this.all.delete(s),this.queue.delete(s)};return u=r?.onDestroy(h),{destroy:h}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>new e})}return e})();function Sl(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s0){Mp(e,1);const i=n.components;null!==i&&Ip(e,i,1)}}function Ip(e,t,n){for(let r=0;r-1&&(ol(t,r),Wa(n,r))}this._attachedToViewContainer=!1}zu(this._lView[Fe],this._lView)}onDestroy(t){!function Ls(e,t){if(256==(256&e[it]))throw new De(911,!1);null===e[zn]&&(e[zn]=[]),e[zn].push(t)}(this._lView,t)}markForCheck(){ra(this._cdRefInjectingView||this._lView)}detach(){this._lView[it]&=-129}reattach(){this._lView[it]|=128}detectChanges(){Il(this._lView[Fe],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new De(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function mD(e,t){Zs(e,t,t[nt],2,null,null)}(this._lView[Fe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new De(902,!1);this._appRef=t}}class TC extends sa{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Il(t[Fe],t,t[qt],!1)}checkNoChanges(){}get context(){return null}}class bp extends _l{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=dt(t);return new aa(n,this.ngModule)}}function Ap(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class PC{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=be(r);const i=this.injector.get(t,wc,r);return i!==wc||n===wc?i:this.parentInjector.get(t,n,r)}}class aa extends Ph{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Ap(t.inputs);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return Ap(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(so).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof wi?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new PC(t,o):t,u=s.get(Rh,null);if(null===u)throw new De(407,!1);const O={rendererFactory:u,sanitizer:s.get(b_,null),effectManager:s.get(Cp,null),afterRenderEventManager:s.get(Oc,null)},k=u.createRenderer(null,this.componentDef),z=this.componentDef.selectors[0][0]||"div",ae=r?function eC(e,t,n,r){const o=r.get(qh,!1)||n===pn.ShadowDom,s=e.selectRootElement(t,o);return function tC(e){up(e)}(s),s}(k,r,this.componentDef.encapsulation,s):il(k,z,function OC(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(z)),We=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let de=null;null!==ae&&(de=_c(ae,s,!0));const lt=Fc(0,null,null,1,0,null,null,null,null,null,null),Et=wl(null,lt,null,We,null,null,O,k,s,null,de);let Zt,Er;X(Et);try{const Gi=this.componentDef;let _s,qd=null;Gi.findHostDirectiveDefs?(_s=[],qd=new Map,Gi.findHostDirectiveDefs(Gi,_s,qd),_s.push(Gi)):_s=[Gi];const $S=function RC(e,t){const n=e[Fe],r=Ct;return e[r]=t,rs(n,r,2,"#host",null)}(Et,ae),BS=function xC(e,t,n,r,i,o,s){const u=i[Fe];!function FC(e,t,n,r){for(const i of e)t.mergedAttrs=wr(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Sl(t,t.mergedAttrs,!0),null!==n&&oh(r,n,t))}(r,e,t,s);let h=null;null!==t&&(h=_c(t,i[or]));const D=o.rendererFactory.createRenderer(t,n);let M=16;n.signals?M=4096:n.onPush&&(M=64);const O=wl(i,lp(n),null,M,i[e.index],e,o,D,null,null,h);return u.firstCreatePass&&kc(u,e,r.length-1),Ml(i,O),i[e.index]=O}($S,ae,Gi,_s,Et,O,k);Er=Rs(lt,Ct),ae&&function kC(e,t,n,r){if(r)Yr(e,n,["ng-version",A_.full]);else{const{attrs:i,classes:o}=function ao(e){const t=[],n=[];let r=1,i=2;for(;r0&&ih(e,n,o.join(" "))}}(k,Gi,ae,r),void 0!==n&&function VC(e,t,n){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=wr(i.hostAttrs,n=wr(n,i.hostAttrs))}}(r)}function bl(e){return e===ft?{}:e===je?[]:e}function BC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function jC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function HC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Rp(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}e.inputTransforms=n}function Al(e){return!!Hc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Hc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ii(e,t,n){return e[t]=n}function tr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function wo(e,t,n,r){const i=tr(e,t,n);return tr(e,t+1,r)||i}function Gc(e,t,n,r){const i=fe();return tr(i,yo(),t)&&(bt(),function Si(e,t,n,r,i,o){const s=Xt(e,t);Vc(t[nt],s,o,e.value,n,r,i)}(Kt(),i,e,t,n,r)),Gc}function os(e,t,n,r){return tr(e,yo(),n)?t+He(n)+r:pt}function ss(e,t,n,r,i,o){const u=wo(e,ri(),n,i);return Ci(2),u?t+He(n)+r+He(i)+o:pt}function Wp(e,t,n,r,i,o,s,u){const h=fe(),D=bt(),M=e+Ct,O=D.firstCreatePass?function pE(e,t,n,r,i,o,s,u,h){const D=t.consts,M=rs(t,e,4,s||null,$i(D,u));Lc(t,n,M,$i(D,h)),Ua(t,M);const O=M.tView=Fc(2,M,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,D,null);return null!==t.queries&&(t.queries.template(t,M),O.queries=t.queries.embeddedTView(M)),M}(M,D,h,t,n,r,i,o,s):D.data[M];jr(O,!1);const k=Kp(D,h,O,e);Va()&&al(D,h,k,O),er(k,h),Ml(h,h[M]=gp(k,h,k,O)),C(O)&&Rc(D,h,O),null!=s&&xc(h,O,u)}let Kp=function Yp(e,t,n,r){return Qi(!0),t[nt].createComment("")};function Zp(e){return ti(function Cu(){return ot.lFrame.contextLView}(),Ct+e)}function qc(e,t,n){const r=fe();return tr(r,yo(),t)&&Rr(bt(),Kt(),r,e,t,r[nt],n,!1),qc}function Jc(e,t,n,r,i){const s=i?"class":"style";$c(e,n,t.inputs[s],s,r)}function Rl(e,t,n,r){const i=fe(),o=bt(),s=Ct+e,u=i[nt],h=o.firstCreatePass?function yE(e,t,n,r,i,o){const s=t.consts,h=rs(t,e,2,r,$i(s,i));return Lc(t,n,h,$i(s,o)),null!==h.attrs&&Sl(h,h.attrs,!1),null!==h.mergedAttrs&&Sl(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(s,o,i,t,n,r):o.data[s],D=qp(o,i,h,u,t,e);i[s]=D;const M=C(h);return jr(h,!0),oh(u,D,h),32!=(32&h.flags)&&Va()&&al(o,i,D,h),0===function Xd(){return ot.lFrame.elementDepthCount}()&&er(D,i),function Na(){ot.lFrame.elementDepthCount++}(),M&&(Rc(o,i,h),Nc(o,h,i)),null!==r&&xc(i,h),Rl}function xl(){let e=Tn();ks()?Vs():(e=e.parent,jr(e,!1));const t=e;(function yu(e){return ot.skipHydrationRootTNode===e})(t)&&function ef(){ot.skipHydrationRootTNode=null}(),function Ra(){ot.lFrame.elementDepthCount--}();const n=bt();return n.firstCreatePass&&(Ua(n,e),Li(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function py(e){return 0!=(8&e.flags)}(t)&&Jc(n,t,fe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function gy(e){return 0!=(16&e.flags)}(t)&&Jc(n,t,fe(),t.stylesWithoutHost,!1),xl}function Xc(e,t,n,r){return Rl(e,t,n,r),xl(),Xc}let qp=(e,t,n,r,i,o)=>(Qi(!0),il(r,i,function sf(){return ot.lFrame.currentNamespace}()));function Fl(e,t,n){const r=fe(),i=bt(),o=e+Ct,s=i.firstCreatePass?function CE(e,t,n,r,i){const o=t.consts,s=$i(o,r),u=rs(t,e,8,"ng-container",s);return null!==s&&Sl(u,s,!0),Lc(t,n,u,$i(o,i)),null!==t.queries&&t.queries.elementStart(t,u),u}(o,i,r,t,n):i.data[o];jr(s,!0);const u=Xp(i,r,s,e);return r[o]=u,Va()&&al(i,r,u,s),er(u,r),C(s)&&(Rc(i,r,s),Nc(i,s,r)),null!=n&&xc(r,s),Fl}function Ll(){let e=Tn();const t=bt();return ks()?Vs():(e=e.parent,jr(e,!1)),t.firstCreatePass&&(Ua(t,e),Li(e)&&t.queries.elementEnd(e)),Ll}let Xp=(e,t,n,r)=>(Qi(!0),Gu(t[nt],""));function Qp(){return fe()}function Qc(e){return!!e&&"function"==typeof e.then}function eg(e){return!!e&&"function"==typeof e.subscribe}function ed(e,t,n,r){const i=fe(),o=bt(),s=Tn();return function ng(e,t,n,r,i,o,s){const u=C(r),D=e.firstCreatePass&&yp(e),M=t[qt],O=vp(t);let k=!0;if(3&r.type||s){const ge=Xt(r,t),Re=s?s(ge):ge,We=O.length,de=s?Et=>s(Jt(Et[r.index])):r.index;let lt=null;if(!s&&u&&(lt=function ME(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;oh?u[h]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==lt)(lt.__ngLastListenerFn__||lt).__ngNextListenerFn__=o,lt.__ngLastListenerFn__=o,k=!1;else{o=ig(r,t,M,o,!1);const Et=n.listen(Re,i,o);O.push(o,Et),D&&D.push(i,de,We,We+1)}}else o=ig(r,t,M,o,!1);const z=r.outputs;let ae;if(k&&null!==z&&(ae=z[i])){const ge=ae.length;if(ge)for(let Re=0;Re-1?Qn(e.index,t):t);let h=rg(t,n,r,s),D=o.__ngNextListenerFn__;for(;D;)h=rg(t,n,D,s)&&h,D=D.__ngNextListenerFn__;return i&&!1===h&&s.preventDefault(),h}}function og(e=1){return function ii(e){return(ot.lFrame.contextLView=function Do(e,t){for(;e>0;)t=t[pr],e--;return t}(e,ot.lFrame.contextLView))[qt]}(e)}function td(e,t,n){return kl(e,"",t,"",n),td}function kl(e,t,n,r,i){const o=fe(),s=os(o,t,n,r);return s!==pt&&Rr(bt(),Kt(),o,e,s,o[nt],i,!1),kl}function nd(e,t,n,r,i,o,s){const u=fe(),h=ss(u,t,n,r,i,o);return h!==pt&&Rr(bt(),Kt(),u,e,h,u[nt],s,!1),nd}function Vl(e,t){return e<<17|t<<2}function no(e){return e>>17&32767}function rd(e){return 2|e}function Mo(e){return(131068&e)>>2}function id(e,t){return-131069&e|t<<2}function od(e){return 1|e}function hg(e,t,n,r,i){const o=e[n+1],s=null===t;let u=r?no(o):Mo(o),h=!1;for(;0!==u&&(!1===h||s);){const M=e[u+1];RE(e[u],t)&&(h=!0,e[u+1]=r?od(M):rd(M)),u=r?no(M):Mo(M)}h&&(e[n+1]=r?rd(o):od(o))}function RE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&jo(e,t)>=0}const xn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function pg(e){return e.substring(xn.key,xn.keyEnd)}function gg(e,t){const n=xn.textEnd;return n===t?-1:(t=xn.keyEnd=function kE(e,t,n){for(;t32;)t++;return t}(e,xn.key=t,n),hs(e,t,n))}function hs(e,t,n){for(;t=0;n=gg(t,n))Nr(e,pg(t),!0)}function ai(e,t,n,r){const i=fe(),o=bt(),s=Ci(2);o.firstUpdatePass&&Eg(o,e,s,r),t!==pt&&tr(i,s,t)&&Mg(o,o.data[wn()],i,i[nt],e,i[s+1]=function YE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Xe(eo(e)))),e}(t,n),r,s)}function Cg(e,t){return t>=e.expandoStartIndex}function Eg(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[wn()],s=Cg(e,n);Ig(o,r)&&null===t&&!s&&(t=!1),t=function BE(e,t,n,r){const i=function a(e){const t=ot.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=fa(n=ld(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=ld(i,e,t,n,r),null===o){let h=function jE(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Mo(r))return e[no(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=ld(null,e,t,h[1],r),h=fa(h,t.attrs,r),function HE(e,t,n,r){e[no(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else o=function GE(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(D=!0)):M=n,i)if(0!==h){const k=no(e[u+1]);e[r+1]=Vl(k,u),0!==k&&(e[k+1]=id(e[k+1],r)),e[u+1]=function TE(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=Vl(u,0),0!==u&&(e[u+1]=id(e[u+1],r)),u=r;else e[r+1]=Vl(h,0),0===u?u=r:e[h+1]=id(e[h+1],r),h=r;D&&(e[r+1]=rd(e[r+1])),hg(e,M,r,!0),hg(e,M,r,!1),function NE(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&jo(o,t)>=0&&(n[r+1]=od(n[r+1]))}(t,M,e,r,o),s=Vl(u,h),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function ld(e,t,n,r,i){let o=null;const s=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u0;){const h=e[i],D=Array.isArray(h),M=D?h[1]:h,O=null===M;let k=n[i+1];k===pt&&(k=O?je:void 0);let z=O?xu(k,r):M===r?k:void 0;if(D&&!Ul(z)&&(z=xu(h,r)),Ul(z)&&(u=z,s))return u;const ae=e[i+1];i=s?no(ae):Mo(ae)}if(null!==t){let h=o?t.residualClasses:t.residualStyles;null!=h&&(u=xu(h,r))}return u}function Ul(e){return void 0!==e}function Ig(e,t){return 0!=(e.flags&(t?8:16))}function bg(e,t=""){const n=fe(),r=bt(),i=e+Ct,o=r.firstCreatePass?rs(r,i,1,t,null):r.data[i],s=Ag(r,n,o,t,e);n[i]=s,Va()&&al(r,n,s,o),jr(o,!1)}let Ag=(e,t,n,r,i)=>(Qi(!0),rl(t[nt],r));function ud(e){return $l("",e,""),ud}function $l(e,t,n){const r=fe(),i=os(r,e,t,n);return i!==pt&&Hi(r,wn(),i),$l}function cd(e,t,n,r,i){const o=fe(),s=ss(o,e,t,n,r,i);return s!==pt&&Hi(o,wn(),s),cd}const So=void 0;var v0=["en",[["a","p"],["AM","PM"],So],[["AM","PM"],So,So],[["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"]],So,[["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"]],So,[["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}",So,"{1} 'at' {0}",So],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function m0(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ps={};function dd(e){const t=function y0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Yg(t);if(n)return n;const r=t.split("-")[0];if(n=Yg(r),n)return n;if("en"===r)return v0;throw new De(701,!1)}function Kg(e){return dd(e)[gs.PluralCase]}function Yg(e){return e in ps||(ps[e]=xt.ng&&xt.ng.common&&xt.ng.common.locales&&xt.ng.common.locales[e]),ps[e]}var gs=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}(gs||{});const D0=["zero","one","two","few","many"],ms="en-US",Bl={marker:"element"},jl={marker:"ICU"};var _r=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(_r||{});let Zg=ms;function qg(e){(function Nt(e,t){null==e&&W(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Zg=e.toLowerCase().replace(/_/g,"-"))}function Jg(e,t,n){const r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?Xf(e,0,n):Jt(n[i])}function Xg(e,t,n,r,i){const o=t.insertBeforeIndex;if(Array.isArray(o)){let s=r,u=null;if(3&t.type||(u=s,s=i),null!==s&&-1===t.componentOffset)for(let h=1;h1)for(let n=e.length-2;n>=0;n--){const r=e[n];em(r)||w0(r,t)&&null===M0(r)&&S0(r,t.index)}}function em(e){return!(64&e.type)}function w0(e,t){return em(t)||e.index>t.index}function M0(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function S0(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(eh(Jg,Xg),e.insertBeforeIndex=t)}function ha(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function A0(e,t,n){const r=Pc(e,n,64,null,null);return Qg(t,r),r}function Hl(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function tm(e){return e>>>17}function nm(e){return(131070&e)>>>1}let pa=0,ga=0;function im(e,t,n,r){const i=n[nt];let s,o=null;for(let u=0;u>>1,n),null,null,z,ae,null)}else switch(h){case jl:const D=t[++u],M=t[++u];null===n[M]&&er(n[M]=Gu(i,D),n);break;case Bl:const O=t[++u],k=t[++u];null===n[k]&&er(n[k]=il(i,O,null),n)}}}function om(e,t,n,r,i){for(let o=0;o>>2;switch(3&M){case 1:const k=n[++D],z=n[++D],ae=e.data[O];"string"==typeof ae?Vc(t[nt],t[O],null,ae,k,h,z):Rr(e,ae,t,k,h,t[nt],z,!1);break;case 0:const ge=t[O];null!==ge&&Wf(t[nt],ge,h);break;case 2:R0(e,ha(e,O),t,h);break;case 3:sm(e,ha(e,O),r,t)}}}}else{const h=n[o+1];if(h>0&&3==(3&h)){const M=ha(e,h>>>2);t[M.currentCaseLViewIndex]<0&&sm(e,M,r,t)}}o+=u}}function sm(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(null!==i){let o=pa;i<0&&(i=r[t.currentCaseLViewIndex]=~i,o=-1),om(e,r,t.update[i],n,o)}}function R0(e,t,n,r){const i=function x0(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function _0(e,t){const n=Kg(t)(parseInt(e,10)),r=D0[n];return void 0!==r?r:"other"}(t,function E0(){return Zg}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Hl(t,n)!==i&&(am(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const s=n[t.anchorIdx];s&&im(e,t.create[i],n,s)}}function am(e,t,n){let r=Hl(t,n);if(null!==r){const i=t.remove[r];for(let o=0;o0){const u=Ro(s,n);null!==u&&ll(n[nt],u)}else am(e,ha(e,~s),n)}}}function F0(){const e=[];let n,r,t=-1;function o(u,h){t=0;const D=Hl(u,h);r=null!==D?u.remove[D]:je}function s(){if(t0?n[u]:(e.push(t,r),o(n[Fe].data[~u],n),s())}return 0===e.length?null:(r=e.pop(),t=e.pop(),s())}return function i(u,h){for(n=h;e.length;)e.pop();return o(u.value,h),s}}const Gl=/\ufffd(\d+):?\d*\ufffd/gi,k0=/\ufffd(\d+)\ufffd/,um=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ma="\ufffd",V0=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,U0=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,$0=/\uE500/g;function cm(e,t,n,r,i,o,s){const u=ia(e,r,1,null);let h=u<<_r.SHIFT,D=vo();t===D&&(D=null),null===D&&(h|=_r.APPEND_EAGERLY),s&&(h|=_r.COMMENT,function dD(e){void 0===ju&&(ju=e())}(F0)),i.push(h,null===o?"":o);const M=Pc(e,u,s?32:1,null===o?"":o,null);Qg(n,M);const O=M.index;return jr(M,!1),null!==D&&t!==D&&function b0(e,t){let n=e.insertBeforeIndex;null===n?(eh(Jg,Xg),n=e.insertBeforeIndex=[null,t]):(function pe(e,t,n){e!=t&&W(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(D,O),M}function H0(e,t,n,r,i,o,s){const u=s.match(Gl),h=cm(e,t,n,o,r,u?null:s,!1);u&&va(i,s,h.index,null,0,null)}function va(e,t,n,r,i,o){const s=e.length,u=s+1;e.push(null,null);const h=s+2,D=t.split(Gl);let M=0;for(let O=0;On.length&&n.push(h)}return{type:r,mainBinding:i,cases:t,values:n}}function fd(e){if(!e)return[];let t=0;const n=[],r=[],i=/[{}]/g;let o;for(i.lastIndex=0;o=i.exec(e);){const u=o.index;if("}"==o[0]){if(n.pop(),0==n.length){const h=e.substring(t,u);um.test(h)?r.push(Y0(h)):r.push(h),t=u+1}}else{if(0==n.length){const h=e.substring(t,u);r.push(h),t=u+1}n.push("{")}}const s=e.substring(t);return r.push(s),r}function Z0(e,t,n,r,i,o,s,u){const h=[],D=[],M=[];t.cases.push(o),t.create.push(h),t.remove.push(D),t.update.push(M);const k=function ch(e){const t=new UD(e);return function $D(){try{return!!(new window.DOMParser).parseFromString(Wo(""),"text/html")}catch{return!1}}()?new VD(t):t}(Ko()).getInertBodyElement(s),z=function rc(e){return"content"in e&&function KD(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}(k)||k;return z?pm(e,t,n,r,h,D,M,z,i,u,0):0}function pm(e,t,n,r,i,o,s,u,h,D,M){let O=0,k=u.firstChild;for(;k;){const z=ia(e,n,1,null);switch(k.nodeType){case Node.ELEMENT_NODE:const ae=k,ge=ae.tagName.toLowerCase();if(tc.hasOwnProperty(ge)){hd(i,Bl,ge,h,z),e.data[z]=ge;const lt=ae.attributes;for(let Et=0;Et>>_r.SHIFT;let O=e[M];null===O&&(O=e[M]=(s&_r.COMMENT)===_r.COMMENT?i.createComment(u):rl(i,u)),D&&null!==n&&Co(i,n,O,r,!1)}})(i,h.create,M,u&&8&u.type?i[u.index]:null),wu(!0)}function gd(){wu(!1)}function vm(e,t,n){pd(e,t,n),gd()}function md(e){return function O0(e){e&&(pa|=1<0){const r=e.data[n];om(e,t,Array.isArray(r)?r:r.update,ri()-ga-1,pa)}pa=0,ga=0}(bt(),fe(),e+Ct)}function Dm(e,t={}){return function aw(e,t={}){let n=e;if(ew.test(e)){const r={},i=[mm];n=n.replace(tw,(o,s,u)=>{const h=s||u,D=r[h]||[];if(D.length||(h.split("|").forEach(ge=>{const Re=ge.match(sw),We=Re?parseInt(Re[1],10):mm,de=ow.test(ge);D.push([We,de,ge])}),r[h]=D),!D.length)throw new Error(`i18n postprocess: unmatched placeholder - ${h}`);const M=i[i.length-1];let O=0;for(let ge=0;get.hasOwnProperty(o)?`${i}${t[o]}${h}`:r),n=n.replace(rw,(r,i)=>t.hasOwnProperty(i)?t[i]:r),n=n.replace(iw,(r,i)=>{if(t.hasOwnProperty(i)){const o=t[i];if(!o.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${i}`);return o.shift()}return r})),n}(e,t)}function vd(e,t,n,r,i){if(e=Ee(e),Array.isArray(e))for(let o=0;o>20;if(Eo(e)||!e.multi){const z=new Us(D,i,ns),ae=Dd(h,t,i?M:M+k,O);-1===ae?(Ou(Ha(u,s),o,h),yd(o,e,t.length),t.push(h),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(z),s.push(z)):(n[ae]=z,s[ae]=z)}else{const z=Dd(h,t,M+k,O),ae=Dd(h,t,M,M+k),Re=ae>=0&&n[ae];if(i&&!Re||!i&&!(z>=0&&n[z])){Ou(Ha(u,s),o,h);const We=function hw(e,t,n,r,i){const o=new Us(e,n,ns);return o.multi=[],o.index=t,o.componentProviders=0,_m(o,i,r&&!n),o}(i?fw:dw,n.length,i,r,D);!i&&Re&&(n[ae].providerFactory=We),yd(o,e,t.length,0),t.push(h),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(We),s.push(We)}else yd(o,e,z>-1?z:ae,_m(n[i?ae:z],D,!i&&r));!i&&r&&Re&&n[ae].componentProviders++}}}function yd(e,t,n,r){const i=Eo(t),o=function n_(e){return!!e.useClass}(t);if(i||o){const h=(o?Ee(t.useClass):t).prototype.ngOnDestroy;if(h){const D=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const M=D.indexOf(n);-1===M?D.push(n,[r,h]):D[M+1].push(r,h)}else D.push(n,h)}}}function _m(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Dd(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function cw(e,t,n){const r=bt();if(r.firstCreatePass){const i=g(e);vd(n,r.data,r.blueprint,i,!0),vd(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Io{}class Em{}function pw(e,t){return new Cd(e,t??null,[])}class Cd extends Io{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new bp(this);const i=Qt(t);this._bootstrapComponents=ji(i.bootstrap),this._r3Injector=Uh(t,n,[{provide:Io,useValue:this},{provide:_l,useValue:this.componentFactoryResolver},...r],Xe(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 Ed extends Em{constructor(t){super(),this.moduleType=t}create(t){return new Cd(this.moduleType,t,[])}}class wm extends Io{constructor(t){super(),this.componentFactoryResolver=new bp(this),this.instance=null;const n=new Zo([...t.providers,{provide:Io,useValue:this},{provide:_l,useValue:this.componentFactoryResolver}],t.parent||pl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Mm(e,t,n=null){return new wm({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let mw=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Ch(0,n.type),i=r.length>0?Mm([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=he({token:e,providedIn:"environment",factory:()=>new e(ie(wi))})}return e})();function Sm(e){e.getStandaloneInjector=t=>t.get(mw).getOrCreateStandaloneInjector(e)}function Nm(e,t,n){const r=Un()+e,i=fe();return i[r]===pt?Ii(i,r,n?t.call(n):t()):function la(e,t){return e[t]}(i,r)}function Rm(e,t,n,r){return xm(fe(),Un(),e,t,n,r)}function ya(e,t){const n=e[t];return n===pt?void 0:n}function xm(e,t,n,r,i,o){const s=t+n;return tr(e,s,i)?Ii(e,s+1,o?r.call(o,i):r(i)):ya(e,s+1)}function Um(e,t){const n=bt();let r;const i=e+Ct;n.firstCreatePass?(r=function Rw(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=vi(r.type)),u=st(ns);try{const h=ja(!1),D=o();return ja(h),function vE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,fe(),i,D),D}finally{st(u)}}function $m(e,t,n){const r=e+Ct,i=fe(),o=ti(i,r);return Da(i,r)?xm(i,Un(),t,o.transform,n,o):o.transform(n)}function Bm(e,t,n,r){const i=e+Ct,o=fe(),s=ti(o,i);return Da(o,i)?function Fm(e,t,n,r,i,o,s){const u=t+n;return wo(e,u,i,o)?Ii(e,u+2,s?r.call(s,i,o):r(i,o)):ya(e,u+2)}(o,Un(),t,s.transform,n,r,s):s.transform(n,r)}function Da(e,t){return e[Fe].data[t].pure}function kw(){return this._results[Symbol.iterator]()}class Md{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Mi)}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=Md.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=kw)}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 r=this;r.dirty=!1;const i=function Hr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ty(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0&&(n[i-1][Pn]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=jw}return e})();const $w=_a,Bw=class extends $w{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function Vw(e,t,n,r){const i=t.tView,u=wl(e,i,n,4096&e[it]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);u[kr]=e[t.index];const D=e[Gn];return null!==D&&(u[Gn]=D.createEmbeddedView(i)),Bc(i,u,n),u}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new sa(i)}};function jw(){return zl(Tn(),fe())}function zl(e,t){return 4&e.type?new Bw(t,e,Qo(e,t)):null}let Kl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Yw}return e})();function Yw(){return Ym(Tn(),fe())}const Zw=Kl,Wm=class extends Zw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Qo(this._hostTNode,this._hostLView)}get injector(){return new lr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ga(this._hostTNode,this._hostLView);if(bu(t)){const n=Bs(t,this._hostLView),r=$s(t);return new lr(n[Fe].data[r+8],n)}return new lr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Km(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Dn}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const u=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(u,i,false),u}createComponent(t,n,r,i,o){const s=t&&!function Hs(e){return"function"==typeof e}(t);let u;if(s)u=n;else{const ge=n||{};u=ge.index,r=ge.injector,i=ge.projectableNodes,o=ge.environmentInjector||ge.ngModuleRef}const h=s?t:new aa(dt(t)),D=r||this.parentInjector;if(!o&&null==h.ngModule){const Re=(s?D:this.parentInjector).get(wi,null);Re&&(o=Re)}dt(h.componentType??{});const z=h.create(D,i,null,o);return this.insertImpl(z.hostView,u,false),z}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const i=t._lView;if(function Jd(e){return An(e[Ft])}(i)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const D=i[Ft],M=new Wm(D,D[fn],D[Ft]);M.detach(M.indexOf(t))}}const s=this._adjustIndex(n),u=this._lContainer;return Uw(u,i,s,!r),t.attachToViewContainerRef(),Ef(Sd(u),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Km(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ol(this._lContainer,n);r&&(Wa(Sd(this._lContainer),n),zu(r[Fe],r))}detach(t){const n=this._adjustIndex(t,-1),r=ol(this._lContainer,n);return r&&null!=Wa(Sd(this._lContainer),n)?new sa(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Km(e){return e[8]}function Sd(e){return e[8]||(e[8]=[])}function Ym(e,t){let n;const r=t[e.index];return An(r)?n=r:(n=gp(r,t,null,e),t[e.index]=n,Ml(t,n)),Zm(n,t,e,r),new Wm(n,e,t)}let Zm=function qm(e,t,n,r){if(e[ar])return;let i;i=8&n.type?Jt(r):function qw(e,t){const n=e[nt],r=n.createComment(""),i=Xt(t,e);return Co(n,sl(n,i),r,function wD(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[ar]=i};class Id{constructor(t){this.queryList=t,this.matches=null}clone(){return new Id(this.queryList)}setDirty(){this.queryList.setDirty()}}class bd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o0)r.push(s[u/2]);else{const D=o[u+1],M=t[-h];for(let O=Dn;O{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=ye(wv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=i();if(Qc(o))n.push(o);else if(eg(o)){const s=new Promise((u,h)=>{o.subscribe({complete:u,error:h})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Zl=new Ne("LocaleId",{providedIn:"root",factory:()=>ye(Zl,ct.Optional|ct.SkipSelf)||function SM(){return typeof $localize<"u"&&$localize.locale||ms}()}),IM=new Ne("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Sv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new N.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)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class AM{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let TM=(()=>{class e{compileModuleSync(n){return new Ed(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=ji(Qt(n).declarations).reduce((s,u)=>{const h=dt(u);return h&&s.push(new aa(h)),s},[]);return new AM(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Tv=new Ne(""),Ov=new Ne("");let Ud,JM=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ud||(function XM(e){Ud=e}(i),i.addToWindow(r)),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:()=>{$n.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(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.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,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!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,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(ie($n),ie(Pv),ie(Ov))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})(),Pv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}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,r=!0){return Ud?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ro=null;const Nv=new Ne("AllowMultipleToken"),$d=new Ne("PlatformDestroyListeners"),Bd=new Ne("appBootstrapListener");class tS{constructor(t,n){this.name=t,this.token=n}}function Fv(e,t,n=[]){const r=`Platform: ${t}`,i=new Ne(r);return(o=[])=>{let s=jd();if(!s||s.injector.get(Nv,!1)){const u=[...n,...o,{provide:i,useValue:!0}];e?e(u):function nS(e){if(ro&&!ro.get(Nv,!1))throw new De(400,!1);(function Rv(){!function E(e){w=e}(()=>{throw new De(600,!1)})})(),ro=e;const t=e.get(kv);(function xv(e){e.get(bh,null)?.forEach(n=>n())})(e)}(function Lv(e=[],t){return si.create({name:t,providers:[{provide:lc,useValue:"platform"},{provide:$d,useValue:new Set([()=>ro=null])},...e]})}(u,r))}return function iS(e){const t=jd();if(!t)throw new De(401,!1);return t}()}}function jd(){return ro?.get(kv)??null}let kv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function oS(e="zone.js",t){return"noop"===e?new $_:"zone.js"===e?new $n(t):e}(r?.ngZone,function Vv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function gw(e,t,n){return new Cd(e,t,n)}(n.moduleType,this.injector,function Hv(e){return[{provide:$n,useFactory:e},{provide:Qs,multi:!0,useFactory:()=>{const t=ye(aS,{optional:!0});return()=>t.initialize()}},{provide:jv,useFactory:sS},{provide:Gh,useFactory:zh}]}(()=>i)),s=o.injector.get(to,null);return i.runOutsideAngular(()=>{const u=i.onError.subscribe({next:h=>{s.handleError(h)}});o.onDestroy(()=>{Jl(this._modules,o),u.unsubscribe()})}),function Uv(e,t,n){try{const r=n();return Qc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const u=o.injector.get(Ld);return u.runInitializers(),u.donePromise.then(()=>(qg(o.injector.get(Zl,ms)||ms),this._moduleDoBootstrap(o),o))})})}bootstrapModule(n,r=[]){const i=$v({},r);return function QM(e,t,n){const r=new Ed(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(Ds);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new De(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new De(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get($d,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(ie(si))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function $v(e,t){return Array.isArray(t)?t.reduce($v,e):{...e,...t}}let Ds=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ye(jv),this.zoneIsStable=ye(Gh),this.componentTypes=[],this.components=[],this.isStable=ye(Sv).hasPendingTasks.pipe((0,ht.w)(n=>n?(0,V.of)(!1):this.zoneIsStable),(0,ze.x)(),Pe()),this._injector=ye(wi)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Ph;if(!this._injector.get(Ld).done)throw!i&&qn(n),new De(405,!1);let s;s=i?n:this._injector.get(_l).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const u=function eS(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Io),D=s.create(si.NULL,[],r||s.selector,u),M=D.location.nativeElement,O=D.injector.get(Tv,null);return O?.registerApplication(M),D.onDestroy(()=>{this.detachView(D.hostView),Jl(this.components,D),O?.unregisterApplication(M)}),this._loadComponent(D),D}tick(){if(this._runningTick)throw new De(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 r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Jl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Bd,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(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),()=>Jl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new De(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Jl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const jv=new Ne("",{providedIn:"root",factory:()=>ye(to).handleError.bind(void 0)});function sS(){const e=ye($n),t=ye(to);return n=>e.runOutsideAngular(()=>t.handleError(n))}let aS=(()=>{class e{constructor(){this.zone=ye($n),this.applicationRef=ye(Ds)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uS(){}let cS=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=dS}return e})();function dS(e){return function fS(e,t,n){if(_(e)&&!n){const r=Qn(e.index,t);return new sa(r,r)}return 47&e.type?new sa(t[Wt],t):null}(Tn(),fe(),16==(16&e))}class Kv{constructor(){}supports(t){return Al(t)}create(t){return new yS(t)}}const vS=(e,t)=>t;class yS{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||vS}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(i,u),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,u,s,i)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,s,i),r=!0),n=n._next,i++}),this.length=i;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,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new DS(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Yv),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._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 Yv),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 DS{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 _S{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 r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Yv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new _S,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.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 Zv(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._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 i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new ES(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_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(r=>n(t[r],r))}}class ES{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 Jv(){return new Kd([new Kv])}let Kd=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:Jv});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Jv()),deps:[[e,new Za,new Ya]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new De(901,!1)}}return e})();function Xv(){return new Yd([new qv])}let Yd=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:Xv});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Xv()),deps:[[e,new Za,new Ya]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new De(901,!1)}}return e})();const SS=Fv(null,"core",[]);let IS=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(ie(Ds))};static#t=this.\u0275mod=fi({type:e});static#n=this.\u0275inj=yt({})}return e})();function kS(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function US(e){const t=dt(e);if(!t)return null;const n=new aa(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}}}},6223:(Ue,oe,S)=>{S.d(oe,{EJ:()=>Mr,F:()=>ln,Fj:()=>Pe,JJ:()=>_e,JL:()=>Me,Kr:()=>Pn,On:()=>dn,Q7:()=>pr,UX:()=>Li,YN:()=>uo,_:()=>Pi,_Y:()=>hr,nD:()=>zn,nJ:()=>J,p4:()=>Yr,sg:()=>Fr,u:()=>qn,u5:()=>An,wV:()=>Jr});var l=S(6689),v=S(6814),ee=S(7715),Z=S(9315),j=S(7398);let B=(()=>{class _{constructor(g,b){this._renderer=g,this._elementRef=b,this.onChange=x=>{},this.onTouched=()=>{}}setProperty(g,b){this._renderer.setProperty(this._elementRef.nativeElement,g,b)}registerOnTouched(g){this.onTouched=g}registerOnChange(g){this.onChange=g}setDisabledState(g){this.setProperty("disabled",g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.Qsj),l.Y36(l.SBq))};static#t=this.\u0275dir=l.lG2({type:_})}return _})(),G=(()=>{class _ extends B{static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,features:[l.qOj]})}return _})();const A=new l.OlP("NgValueAccessor"),V={provide:A,useExisting:(0,l.Gpc)(()=>Pe),multi:!0},xe=new l.OlP("CompositionEventMode");let Pe=(()=>{class _ extends B{constructor(g,b,x){super(g,b),this._compositionMode=x,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ue(){const _=(0,v.q)()?(0,v.q)().getUserAgent():"";return/android (\d+)/.test(_.toLowerCase())}())}writeValue(g){this.setProperty("value",g??"")}_handleInput(g){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(g)}_compositionStart(){this._composing=!0}_compositionEnd(g){this._composing=!1,this._compositionMode&&this.onChange(g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(xe,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(b,x){1&b&&l.NdJ("input",function(Dt){return x._handleInput(Dt.target.value)})("blur",function(){return x.onTouched()})("compositionstart",function(){return x._compositionStart()})("compositionend",function(Dt){return x._compositionEnd(Dt.target.value)})},features:[l._Bn([V]),l.qOj]})}return _})();const ze=new l.OlP("NgValidators"),Le=new l.OlP("NgAsyncValidators");function $e(_){return function Ve(_){return null==_||("string"==typeof _||Array.isArray(_))&&0===_.length}(_.value)?{required:!0}:null}function De(_){return null}function Gt(_){return null!=_}function He(_){return(0,l.QGY)(_)?(0,ee.D)(_):_}function Qe(_){let C={};return _.forEach(g=>{C=null!=g?{...C,...g}:C}),0===Object.keys(C).length?null:C}function zt(_,C){return C.map(g=>g(_))}function sn(_){return _.map(C=>function Mt(_){return!_.validate}(C)?C:g=>C.validate(g))}function q(_){return null!=_?function Q(_){if(!_)return null;const C=_.filter(Gt);return 0==C.length?null:function(g){return Qe(zt(g,C))}}(sn(_)):null}function ne(_){return null!=_?function re(_){if(!_)return null;const C=_.filter(Gt);return 0==C.length?null:function(g){const b=zt(g,C).map(He);return(0,Z.D)(b).pipe((0,j.U)(Qe))}}(sn(_)):null}function me(_,C){return null===_?[C]:Array.isArray(_)?[..._,C]:[_,C]}function pe(_){return _._rawValidators}function qe(_){return _._rawAsyncValidators}function ut(_){return _?Array.isArray(_)?_:[_]:[]}function Lt(_,C){return Array.isArray(_)?_.includes(C):_===C}function ke(_,C){const g=ut(C);return ut(_).forEach(x=>{Lt(g,x)||g.push(x)}),g}function vt(_,C){return ut(C).filter(g=>!Lt(_,g))}class kt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(C){this._rawValidators=C||[],this._composedValidatorFn=q(this._rawValidators)}_setAsyncValidators(C){this._rawAsyncValidators=C||[],this._composedAsyncValidatorFn=ne(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(C){this._onDestroyCallbacks.push(C)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(C=>C()),this._onDestroyCallbacks=[]}reset(C=void 0){this.control&&this.control.reset(C)}hasError(C,g){return!!this.control&&this.control.hasError(C,g)}getError(C,g){return this.control?this.control.getError(C,g):null}}class rt extends kt{get formDirective(){return null}get path(){return null}}class At extends kt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Nt{constructor(C){this._cd=C}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let _e=(()=>{class _ extends Nt{constructor(g){super(g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(At,2))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(b,x){2&b&&l.ekj("ng-untouched",x.isUntouched)("ng-touched",x.isTouched)("ng-pristine",x.isPristine)("ng-dirty",x.isDirty)("ng-valid",x.isValid)("ng-invalid",x.isInvalid)("ng-pending",x.isPending)},features:[l.qOj]})}return _})(),Me=(()=>{class _ extends Nt{constructor(g){super(g)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(rt,10))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(b,x){2&b&&l.ekj("ng-untouched",x.isUntouched)("ng-touched",x.isTouched)("ng-pristine",x.isPristine)("ng-dirty",x.isDirty)("ng-valid",x.isValid)("ng-invalid",x.isInvalid)("ng-pending",x.isPending)("ng-submitted",x.isSubmitted)},features:[l.qOj]})}return _})();const Bn="VALID",xt="INVALID",On="PENDING",tn="DISABLED";function Ne(_){return(nr(_)?_.validators:_)||null}function Yn(_,C){return(nr(C)?C.asyncValidators:_)||null}function nr(_){return null!=_&&!Array.isArray(_)&&"object"==typeof _}class Ti{constructor(C,g){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(C),this._assignAsyncValidators(g)}get validator(){return this._composedValidatorFn}set validator(C){this._rawValidators=this._composedValidatorFn=C}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(C){this._rawAsyncValidators=this._composedAsyncValidatorFn=C}get parent(){return this._parent}get valid(){return this.status===Bn}get invalid(){return this.status===xt}get pending(){return this.status==On}get disabled(){return this.status===tn}get enabled(){return this.status!==tn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(C){this._assignValidators(C)}setAsyncValidators(C){this._assignAsyncValidators(C)}addValidators(C){this.setValidators(ke(C,this._rawValidators))}addAsyncValidators(C){this.setAsyncValidators(ke(C,this._rawAsyncValidators))}removeValidators(C){this.setValidators(vt(C,this._rawValidators))}removeAsyncValidators(C){this.setAsyncValidators(vt(C,this._rawAsyncValidators))}hasValidator(C){return Lt(this._rawValidators,C)}hasAsyncValidator(C){return Lt(this._rawAsyncValidators,C)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(C={}){this.touched=!0,this._parent&&!C.onlySelf&&this._parent.markAsTouched(C)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(C=>C.markAllAsTouched())}markAsUntouched(C={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(g=>{g.markAsUntouched({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}markAsDirty(C={}){this.pristine=!1,this._parent&&!C.onlySelf&&this._parent.markAsDirty(C)}markAsPristine(C={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(g=>{g.markAsPristine({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}markAsPending(C={}){this.status=On,!1!==C.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!C.onlySelf&&this._parent.markAsPending(C)}disable(C={}){const g=this._parentMarkedDirty(C.onlySelf);this.status=tn,this.errors=null,this._forEachChild(b=>{b.disable({...C,onlySelf:!0})}),this._updateValue(),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...C,skipPristineCheck:g}),this._onDisabledChange.forEach(b=>b(!0))}enable(C={}){const g=this._parentMarkedDirty(C.onlySelf);this.status=Bn,this._forEachChild(b=>{b.enable({...C,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent}),this._updateAncestors({...C,skipPristineCheck:g}),this._onDisabledChange.forEach(b=>b(!1))}_updateAncestors(C){this._parent&&!C.onlySelf&&(this._parent.updateValueAndValidity(C),C.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(C){this._parent=C}getRawValue(){return this.value}updateValueAndValidity(C={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Bn||this.status===On)&&this._runAsyncValidator(C.emitEvent)),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!C.onlySelf&&this._parent.updateValueAndValidity(C)}_updateTreeValidity(C={emitEvent:!0}){this._forEachChild(g=>g._updateTreeValidity(C)),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?tn:Bn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(C){if(this.asyncValidator){this.status=On,this._hasOwnPendingAsyncValidator=!0;const g=He(this.asyncValidator(this));this._asyncValidationSubscription=g.subscribe(b=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(b,{emitEvent:C})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(C,g={}){this.errors=C,this._updateControlsErrors(!1!==g.emitEvent)}get(C){let g=C;return null==g||(Array.isArray(g)||(g=g.split(".")),0===g.length)?null:g.reduce((b,x)=>b&&b._find(x),this)}getError(C,g){const b=g?this.get(g):this;return b&&b.errors?b.errors[C]:null}hasError(C,g){return!!this.getError(C,g)}get root(){let C=this;for(;C._parent;)C=C._parent;return C}_updateControlsErrors(C){this.status=this._calculateStatus(),C&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(C)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?tn:this.errors?xt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(On)?On:this._anyControlsHaveStatus(xt)?xt:Bn}_anyControlsHaveStatus(C){return this._anyControls(g=>g.status===C)}_anyControlsDirty(){return this._anyControls(C=>C.dirty)}_anyControlsTouched(){return this._anyControls(C=>C.touched)}_updatePristine(C={}){this.pristine=!this._anyControlsDirty(),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}_updateTouched(C={}){this.touched=this._anyControlsTouched(),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}_registerOnCollectionChange(C){this._onCollectionChange=C}_setUpdateStrategy(C){nr(C)&&null!=C.updateOn&&(this._updateOn=C.updateOn)}_parentMarkedDirty(C){return!C&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(C){return null}_assignValidators(C){this._rawValidators=Array.isArray(C)?C.slice():C,this._composedValidatorFn=function Fn(_){return Array.isArray(_)?q(_):_||null}(this._rawValidators)}_assignAsyncValidators(C){this._rawAsyncValidators=Array.isArray(C)?C.slice():C,this._composedAsyncValidatorFn=function Sn(_){return Array.isArray(_)?ne(_):_||null}(this._rawAsyncValidators)}}class se extends Ti{constructor(C,g,b){super(Ne(g),Yn(b,g)),this.controls=C,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(C,g){return this.controls[C]?this.controls[C]:(this.controls[C]=g,g.setParent(this),g._registerOnCollectionChange(this._onCollectionChange),g)}addControl(C,g,b={}){this.registerControl(C,g),this.updateValueAndValidity({emitEvent:b.emitEvent}),this._onCollectionChange()}removeControl(C,g={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}setControl(C,g,b={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],g&&this.registerControl(C,g),this.updateValueAndValidity({emitEvent:b.emitEvent}),this._onCollectionChange()}contains(C){return this.controls.hasOwnProperty(C)&&this.controls[C].enabled}setValue(C,g={}){(function cr(_,C,g){_._forEachChild((b,x)=>{if(void 0===g[x])throw new l.vHH(1002,"")})})(this,0,C),Object.keys(C).forEach(b=>{(function rr(_,C,g){const b=_.controls;if(!(C?Object.keys(b):b).length)throw new l.vHH(1e3,"");if(!b[g])throw new l.vHH(1001,"")})(this,!0,b),this.controls[b].setValue(C[b],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(C,g={}){null!=C&&(Object.keys(C).forEach(b=>{const x=this.controls[b];x&&x.patchValue(C[b],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(C={},g={}){this._forEachChild((b,x)=>{b.reset(C?C[x]:null,{onlySelf:!0,emitEvent:g.emitEvent})}),this._updatePristine(g),this._updateTouched(g),this.updateValueAndValidity(g)}getRawValue(){return this._reduceChildren({},(C,g,b)=>(C[b]=g.getRawValue(),C))}_syncPendingControls(){let C=this._reduceChildren(!1,(g,b)=>!!b._syncPendingControls()||g);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){Object.keys(this.controls).forEach(g=>{const b=this.controls[g];b&&C(b,g)})}_setUpControls(){this._forEachChild(C=>{C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(C){for(const[g,b]of Object.entries(this.controls))if(this.contains(g)&&C(b))return!0;return!1}_reduceValue(){return this._reduceChildren({},(g,b,x)=>((b.enabled||this.disabled)&&(g[x]=b.value),g))}_reduceChildren(C,g){let b=C;return this._forEachChild((x,Ke)=>{b=g(b,x,Ke)}),b}_allControlsDisabled(){for(const C of Object.keys(this.controls))if(this.controls[C].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(C){return this.controls.hasOwnProperty(C)?this.controls[C]:null}}const J=se,Ae=new l.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Be}),Be="always";function wt(_,C){return[...C.path,_]}function _t(_,C,g=Be){Y(_,C),C.valueAccessor.writeValue(_.value),(_.disabled||"always"===g)&&C.valueAccessor.setDisabledState?.(_.disabled),function U(_,C){C.valueAccessor.registerOnChange(g=>{_._pendingValue=g,_._pendingChange=!0,_._pendingDirty=!0,"change"===_.updateOn&&Se(_,C)})}(_,C),function ye(_,C){const g=(b,x)=>{C.valueAccessor.writeValue(b),x&&C.viewToModelUpdate(b)};_.registerOnChange(g),C._registerOnDestroy(()=>{_._unregisterOnChange(g)})}(_,C),function ie(_,C){C.valueAccessor.registerOnTouched(()=>{_._pendingTouched=!0,"blur"===_.updateOn&&_._pendingChange&&Se(_,C),"submit"!==_.updateOn&&_.markAsTouched()})}(_,C),function Cn(_,C){if(C.valueAccessor.setDisabledState){const g=b=>{C.valueAccessor.setDisabledState(b)};_.registerOnDisabledChange(g),C._registerOnDestroy(()=>{_._unregisterOnDisabledChange(g)})}}(_,C)}function Yt(_,C,g=!0){const b=()=>{};C.valueAccessor&&(C.valueAccessor.registerOnChange(b),C.valueAccessor.registerOnTouched(b)),L(_,C),_&&(C._invokeOnDestroyCallbacks(),_._registerOnCollectionChange(()=>{}))}function yn(_,C){_.forEach(g=>{g.registerOnValidatorChange&&g.registerOnValidatorChange(C)})}function Y(_,C){const g=pe(_);null!==C.validator?_.setValidators(me(g,C.validator)):"function"==typeof g&&_.setValidators([g]);const b=qe(_);null!==C.asyncValidator?_.setAsyncValidators(me(b,C.asyncValidator)):"function"==typeof b&&_.setAsyncValidators([b]);const x=()=>_.updateValueAndValidity();yn(C._rawValidators,x),yn(C._rawAsyncValidators,x)}function L(_,C){let g=!1;if(null!==_){if(null!==C.validator){const x=pe(_);if(Array.isArray(x)&&x.length>0){const Ke=x.filter(Dt=>Dt!==C.validator);Ke.length!==x.length&&(g=!0,_.setValidators(Ke))}}if(null!==C.asyncValidator){const x=qe(_);if(Array.isArray(x)&&x.length>0){const Ke=x.filter(Dt=>Dt!==C.asyncValidator);Ke.length!==x.length&&(g=!0,_.setAsyncValidators(Ke))}}}const b=()=>{};return yn(C._rawValidators,b),yn(C._rawAsyncValidators,b),g}function Se(_,C){_._pendingDirty&&_.markAsDirty(),_.setValue(_._pendingValue,{emitModelToViewChange:!1}),C.viewToModelUpdate(_._pendingValue),_._pendingChange=!1}function be(_,C){Y(_,C)}function Hn(_,C){if(!_.hasOwnProperty("model"))return!1;const g=_.model;return!!g.isFirstChange()||!Object.is(C,g.currentValue)}function ft(_,C){_._syncPendingControls(),C.forEach(g=>{const b=g.control;"submit"===b.updateOn&&b._pendingChange&&(g.viewToModelUpdate(b._pendingValue),b._pendingChange=!1)})}function je(_,C){if(!C)return null;let g,b,x;return Array.isArray(C),C.forEach(Ke=>{Ke.constructor===Pe?g=Ke:function pn(_){return Object.getPrototypeOf(_.constructor)===G}(Ke)?b=Ke:x=Ke}),x||b||g||null}const rn={provide:rt,useExisting:(0,l.Gpc)(()=>ln)},Ln=(()=>Promise.resolve())();let ln=(()=>{class _ extends rt{constructor(g,b,x){super(),this.callSetDisabledState=x,this.submitted=!1,this._directives=new Set,this.ngSubmit=new l.vpe,this.form=new se({},q(g),ne(b))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(g){Ln.then(()=>{const b=this._findContainer(g.path);g.control=b.registerControl(g.name,g.control),_t(g.control,g,this.callSetDisabledState),g.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(g)})}getControl(g){return this.form.get(g.path)}removeControl(g){Ln.then(()=>{const b=this._findContainer(g.path);b&&b.removeControl(g.name),this._directives.delete(g)})}addFormGroup(g){Ln.then(()=>{const b=this._findContainer(g.path),x=new se({});be(x,g),b.registerControl(g.name,x),x.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(g){Ln.then(()=>{const b=this._findContainer(g.path);b&&b.removeControl(g.name)})}getFormGroup(g){return this.form.get(g.path)}updateModel(g,b){Ln.then(()=>{this.form.get(g.path).setValue(b)})}setValue(g){this.control.setValue(g)}onSubmit(g){return this.submitted=!0,ft(this.form,this._directives),this.ngSubmit.emit(g),"dialog"===g?.target?.method}onReset(){this.resetForm()}resetForm(g=void 0){this.form.reset(g),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(g){return g.pop(),g.length?this.form.get(g):this.form}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(ze,10),l.Y36(Le,10),l.Y36(Ae,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(b,x){1&b&&l.NdJ("submit",function(Dt){return x.onSubmit(Dt)})("reset",function(){return x.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([rn]),l.qOj]})}return _})();function ir(_,C){const g=_.indexOf(C);g>-1&&_.splice(g,1)}function Wr(_){return"object"==typeof _&&null!==_&&2===Object.keys(_).length&&"value"in _&&"disabled"in _}const Kr=class extends Ti{constructor(C=null,g,b){super(Ne(g),Yn(b,g)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(C),this._setUpdateStrategy(g),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nr(g)&&(g.nonNullable||g.initialValueIsDefault)&&(this.defaultValue=Wr(C)?C.value:C)}setValue(C,g={}){this.value=this._pendingValue=C,this._onChange.length&&!1!==g.emitModelToViewChange&&this._onChange.forEach(b=>b(this.value,!1!==g.emitViewToModelChange)),this.updateValueAndValidity(g)}patchValue(C,g={}){this.setValue(C,g)}reset(C=this.defaultValue,g={}){this._applyFormState(C),this.markAsPristine(g),this.markAsUntouched(g),this.setValue(this.value,g),this._pendingChange=!1}_updateValue(){}_anyControls(C){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(C){this._onChange.push(C)}_unregisterOnChange(C){ir(this._onChange,C)}registerOnDisabledChange(C){this._onDisabledChange.push(C)}_unregisterOnDisabledChange(C){ir(this._onDisabledChange,C)}_forEachChild(C){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(C){Wr(C)?(this.value=this._pendingValue=C.value,C.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=C}},Yr=Kr,ci={provide:At,useExisting:(0,l.Gpc)(()=>dn)},un=(()=>Promise.resolve())();let dn=(()=>{class _ extends At{constructor(g,b,x,Ke,Dt,vr){super(),this._changeDetectorRef=Dt,this.callSetDisabledState=vr,this.control=new Kr,this._registered=!1,this.name="",this.update=new l.vpe,this._parent=g,this._setValidators(b),this._setAsyncValidators(x),this.valueAccessor=je(0,Ke)}ngOnChanges(g){if(this._checkForErrors(),!this._registered||"name"in g){if(this._registered&&(this._checkName(),this.formDirective)){const b=g.name.previousValue;this.formDirective.removeControl({name:b,path:this._getPath(b)})}this._setUpControl()}"isDisabled"in g&&this._updateDisabled(g),Hn(g,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){_t(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(g){un.then(()=>{this.control.setValue(g,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(g){const b=g.isDisabled.currentValue,x=0!==b&&(0,l.VuI)(b);un.then(()=>{x&&!this.control.disabled?this.control.disable():!x&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(g){return this._parent?wt(g,this._parent):[g]}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(rt,9),l.Y36(ze,10),l.Y36(Le,10),l.Y36(A,10),l.Y36(l.sBO,8),l.Y36(Ae,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[l._Bn([ci]),l.qOj,l.TTD]})}return _})(),hr=(()=>{class _{static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return _})();const qr={provide:A,useExisting:(0,l.Gpc)(()=>Jr),multi:!0};let Jr=(()=>{class _ extends G{writeValue(g){this.setProperty("value",g??"")}registerOnChange(g){this.onChange=b=>{g(""==b?null:parseFloat(b))}}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(b,x){1&b&&l.NdJ("input",function(Dt){return x.onChange(Dt.target.value)})("blur",function(){return x.onTouched()})},features:[l._Bn([qr]),l.qOj]})}return _})();const oo={provide:A,useExisting:(0,l.Gpc)(()=>Pi),multi:!0};let Oi=(()=>{class _{static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({})}return _})(),so=(()=>{class _{constructor(){this._accessors=[]}add(g,b){this._accessors.push([g,b])}remove(g){for(let b=this._accessors.length-1;b>=0;--b)if(this._accessors[b][1]===g)return void this._accessors.splice(b,1)}select(g){this._accessors.forEach(b=>{this._isSameGroup(b,g)&&b[1]!==g&&b[1].fireUncheck(g.value)})}_isSameGroup(g,b){return!!g[0].control&&g[0]._parent===b._control._parent&&g[1].name===b.name}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275prov=l.Yz7({token:_,factory:_.\u0275fac,providedIn:Oi})}return _})(),Pi=(()=>{class _ extends G{constructor(g,b,x,Ke){super(g,b),this._registry=x,this._injector=Ke,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,l.f3M)(Ae,{optional:!0})??Be}ngOnInit(){this._control=this._injector.get(At),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(g){this._state=g===this.value,this.setProperty("checked",this._state)}registerOnChange(g){this._fn=g,this.onChange=()=>{g(this.value),this._registry.select(this)}}setDisabledState(g){(this.setDisabledStateFired||g||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",g),this.setDisabledStateFired=!0}fireUncheck(g){this.writeValue(g)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(so),l.Y36(l.zs3))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(b,x){1&b&&l.NdJ("change",function(){return x.onChange()})("blur",function(){return x.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[l._Bn([oo]),l.qOj]})}return _})();const Ni=new l.OlP("NgModelWithFormControlWarning"),fi={provide:rt,useExisting:(0,l.Gpc)(()=>Fr)};let Fr=(()=>{class _ extends rt{constructor(g,b,x){super(),this.callSetDisabledState=x,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new l.vpe,this._setValidators(g),this._setAsyncValidators(b)}ngOnChanges(g){this._checkFormPresent(),g.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(L(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(g){const b=this.form.get(g.path);return _t(b,g,this.callSetDisabledState),b.updateValueAndValidity({emitEvent:!1}),this.directives.push(g),b}getControl(g){return this.form.get(g.path)}removeControl(g){Yt(g.control||null,g,!1),function In(_,C){const g=_.indexOf(C);g>-1&&_.splice(g,1)}(this.directives,g)}addFormGroup(g){this._setUpFormContainer(g)}removeFormGroup(g){this._cleanUpFormContainer(g)}getFormGroup(g){return this.form.get(g.path)}addFormArray(g){this._setUpFormContainer(g)}removeFormArray(g){this._cleanUpFormContainer(g)}getFormArray(g){return this.form.get(g.path)}updateModel(g,b){this.form.get(g.path).setValue(b)}onSubmit(g){return this.submitted=!0,ft(this.form,this.directives),this.ngSubmit.emit(g),"dialog"===g?.target?.method}onReset(){this.resetForm()}resetForm(g=void 0){this.form.reset(g),this.submitted=!1}_updateDomValue(){this.directives.forEach(g=>{const b=g.control,x=this.form.get(g.path);b!==x&&(Yt(b||null,g),(_=>_ instanceof Kr)(x)&&(_t(x,g,this.callSetDisabledState),g.control=x))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(g){const b=this.form.get(g.path);be(b,g),b.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(g){if(this.form){const b=this.form.get(g.path);b&&function Ut(_,C){return L(_,C)}(b,g)&&b.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Y(this.form,this),this._oldForm&&L(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(ze,10),l.Y36(Le,10),l.Y36(Ae,8))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","formGroup",""]],hostBindings:function(b,x){1&b&&l.NdJ("submit",function(Dt){return x.onSubmit(Dt)})("reset",function(){return x.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([fi]),l.qOj,l.TTD]})}return _})();const gn={provide:At,useExisting:(0,l.Gpc)(()=>qn)};let qn=(()=>{class _ extends At{set isDisabled(g){}static#e=this._ngModelWarningSentOnce=!1;constructor(g,b,x,Ke,Dt){super(),this._ngModelWarningConfig=Dt,this._added=!1,this.name=null,this.update=new l.vpe,this._ngModelWarningSent=!1,this._parent=g,this._setValidators(b),this._setAsyncValidators(x),this.valueAccessor=je(0,Ke)}ngOnChanges(g){this._added||this._setUpControl(),Hn(g,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}get path(){return wt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(b){return new(b||_)(l.Y36(rt,13),l.Y36(ze,10),l.Y36(Le,10),l.Y36(A,10),l.Y36(Ni,8))};static#n=this.\u0275dir=l.lG2({type:_,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[l._Bn([gn]),l.qOj,l.TTD]})}return _})();const Qt={provide:A,useExisting:(0,l.Gpc)(()=>Mr),multi:!0};function Jn(_,C){return null==_?`${C}`:(C&&"object"==typeof C&&(C="Object"),`${_}: ${C}`.slice(0,50))}let Mr=(()=>{class _ extends G{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(g){this._compareWith=g}writeValue(g){this.value=g;const x=Jn(this._getOptionId(g),g);this.setProperty("value",x)}registerOnChange(g){this.onChange=b=>{this.value=this._getOptionValue(b),g(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(g){for(const b of this._optionMap.keys())if(this._compareWith(this._optionMap.get(b),g))return b;return null}_getOptionValue(g){const b=function Xr(_){return _.split(":")[0]}(g);return this._optionMap.has(b)?this._optionMap.get(b):g}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(b,x){1&b&&l.NdJ("change",function(Dt){return x.onChange(Dt.target.value)})("blur",function(){return x.onTouched()})},inputs:{compareWith:"compareWith"},features:[l._Bn([Qt]),l.qOj]})}return _})(),uo=(()=>{class _{constructor(g,b,x){this._element=g,this._renderer=b,this._select=x,this._select&&(this.id=this._select._registerOption())}set ngValue(g){null!=this._select&&(this._select._optionMap.set(this.id,g),this._setElementValue(Jn(this.id,g)),this._select.writeValue(this._select.value))}set value(g){this._setElementValue(g),this._select&&this._select.writeValue(this._select.value)}_setElementValue(g){this._renderer.setProperty(this._element.nativeElement,"value",g)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(Mr,9))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return _})();const Sr={provide:A,useExisting:(0,l.Gpc)(()=>Ft),multi:!0};function jt(_,C){return null==_?`${C}`:("string"==typeof C&&(C=`'${C}'`),C&&"object"==typeof C&&(C="Object"),`${_}: ${C}`.slice(0,50))}let Ft=(()=>{class _ extends G{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(g){this._compareWith=g}writeValue(g){let b;if(this.value=g,Array.isArray(g)){const x=g.map(Ke=>this._getOptionId(Ke));b=(Ke,Dt)=>{Ke._setSelected(x.indexOf(Dt.toString())>-1)}}else b=(x,Ke)=>{x._setSelected(!1)};this._optionMap.forEach(b)}registerOnChange(g){this.onChange=b=>{const x=[],Ke=b.selectedOptions;if(void 0!==Ke){const Dt=Ke;for(let vr=0;vr{class _{constructor(g,b,x){this._element=g,this._renderer=b,this._select=x,this._select&&(this.id=this._select._registerOption(this))}set ngValue(g){null!=this._select&&(this._value=g,this._setElementValue(jt(this.id,g)),this._select.writeValue(this._select.value))}set value(g){this._select?(this._value=g,this._setElementValue(jt(this.id,g)),this._select.writeValue(this._select.value)):this._setElementValue(g)}_setElementValue(g){this._renderer.setProperty(this._element.nativeElement,"value",g)}_setSelected(g){this._renderer.setProperty(this._element.nativeElement,"selected",g)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(b){return new(b||_)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(Ft,9))};static#t=this.\u0275dir=l.lG2({type:_,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return _})();let Nn=(()=>{class _{constructor(){this._validator=De}ngOnChanges(g){if(this.inputName in g){const b=this.normalizeInput(g[this.inputName].currentValue);this._enabled=this.enabled(b),this._validator=this._enabled?this.createValidator(b):De,this._onChange&&this._onChange()}}validate(g){return this._validator(g)}registerOnValidatorChange(g){this._onChange=g}enabled(g){return null!=g}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275dir=l.lG2({type:_,features:[l.TTD]})}return _})();const gi={provide:ze,useExisting:(0,l.Gpc)(()=>pr),multi:!0};let pr=(()=>{class _ extends Nn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=l.VuI,this.createValidator=g=>$e}enabled(g){return g}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(b,x){2&b&&l.uIk("required",x._enabled?"":null)},inputs:{required:"required"},features:[l._Bn([gi]),l.qOj]})}return _})();const Ur={provide:ze,useExisting:(0,l.Gpc)(()=>zn),multi:!0};let zn=(()=>{class _ extends Nn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=g=>function Ir(_){return"number"==typeof _?_:parseInt(_,10)}(g),this.createValidator=g=>function Ze(_){return C=>function ht(_){return null!=_&&"number"==typeof _.length}(C.value)&&C.value.length>_?{maxlength:{requiredLength:_,actualLength:C.value.length}}:null}(g)}static#e=this.\u0275fac=function(){let g;return function(x){return(g||(g=l.n5z(_)))(x||_)}}();static#t=this.\u0275dir=l.lG2({type:_,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(b,x){2&b&&l.uIk("maxlength",x._enabled?x.maxlength:null)},inputs:{maxlength:"maxlength"},features:[l._Bn([Ur]),l.qOj]})}return _})(),mi=(()=>{class _{static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({imports:[Oi]})}return _})(),An=(()=>{class _{static withConfig(g){return{ngModule:_,providers:[{provide:Ae,useValue:g.callSetDisabledState??Be}]}}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({imports:[mi]})}return _})(),Li=(()=>{class _{static withConfig(g){return{ngModule:_,providers:[{provide:Ni,useValue:g.warnOnNgModelWithFormControl??"always"},{provide:Ae,useValue:g.callSetDisabledState??Be}]}}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275mod=l.oAB({type:_});static#n=this.\u0275inj=l.cJS({imports:[mi]})}return _})()},6593:(Ue,oe,S)=>{S.d(oe,{Dx:()=>Oe,b2:()=>W,q6:()=>kt});var l=S(6689),v=S(6814);class ee extends v.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Z extends ee{static makeCurrent(){(0,v.HT)(new Z)}onAndCancel(J,F,H){return J.addEventListener(F,H),()=>{J.removeEventListener(F,H)}}dispatchEvent(J,F){J.dispatchEvent(F)}remove(J){J.parentNode&&J.parentNode.removeChild(J)}createElement(J,F){return(F=F||this.getDefaultDocument()).createElement(J)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(J){return J.nodeType===Node.ELEMENT_NODE}isShadowRoot(J){return J instanceof DocumentFragment}getGlobalEventTarget(J,F){return"window"===F?window:"document"===F?J:"body"===F?J.body:null}getBaseHref(J){const F=function B(){return j=j||document.querySelector("base"),j?j.getAttribute("href"):null}();return null==F?null:function A(se){G=G||document.createElement("a"),G.setAttribute("href",se);const J=G.pathname;return"/"===J.charAt(0)?J:`/${J}`}(F)}resetBaseElement(){j=null}getUserAgent(){return window.navigator.userAgent}getCookie(J){return(0,v.Mx)(document.cookie,J)}}let G,j=null,N=(()=>{class se{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(H){return new(H||se)};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const V=new l.OlP("EventManagerPlugins");let ue=(()=>{class se{constructor(F,H){this._zone=H,this._eventNameToPlugin=new Map,F.forEach(le=>{le.manager=this}),this._plugins=F.slice().reverse()}addEventListener(F,H,le){return this._findPluginFor(H).addEventListener(F,H,le)}getZone(){return this._zone}_findPluginFor(F){let H=this._eventNameToPlugin.get(F);if(H)return H;if(H=this._plugins.find(Ae=>Ae.supports(F)),!H)throw new l.vHH(5101,!1);return this._eventNameToPlugin.set(F,H),H}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(V),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();class xe{constructor(J){this._doc=J}}const Pe="ng-app-id";let Ve=(()=>{class se{constructor(F,H,le,Ae={}){this.doc=F,this.appId=H,this.nonce=le,this.platformId=Ae,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,v.PM)(Ae),this.resetHostNodes()}addStyles(F){for(const H of F)1===this.changeUsageCount(H,1)&&this.onStyleAdded(H)}removeStyles(F){for(const H of F)this.changeUsageCount(H,-1)<=0&&this.onStyleRemoved(H)}ngOnDestroy(){const F=this.styleNodesInDOM;F&&(F.forEach(H=>H.remove()),F.clear());for(const H of this.getAllStyles())this.onStyleRemoved(H);this.resetHostNodes()}addHost(F){this.hostNodes.add(F);for(const H of this.getAllStyles())this.addStyleToHost(F,H)}removeHost(F){this.hostNodes.delete(F)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(F){for(const H of this.hostNodes)this.addStyleToHost(H,F)}onStyleRemoved(F){const H=this.styleRef;H.get(F)?.elements?.forEach(le=>le.remove()),H.delete(F)}collectServerRenderedStyles(){const F=this.doc.head?.querySelectorAll(`style[${Pe}="${this.appId}"]`);if(F?.length){const H=new Map;return F.forEach(le=>{null!=le.textContent&&H.set(le.textContent,le)}),H}return null}changeUsageCount(F,H){const le=this.styleRef;if(le.has(F)){const Ae=le.get(F);return Ae.usage+=H,Ae.usage}return le.set(F,{usage:H,elements:[]}),H}getStyleElement(F,H){const le=this.styleNodesInDOM,Ae=le?.get(H);if(Ae?.parentNode===F)return le.delete(H),Ae.removeAttribute(Pe),Ae;{const Be=this.doc.createElement("style");return this.nonce&&Be.setAttribute("nonce",this.nonce),Be.textContent=H,this.platformIsServer&&Be.setAttribute(Pe,this.appId),Be}}addStyleToHost(F,H){const le=this.getStyleElement(F,H);F.appendChild(le);const Ae=this.styleRef,Be=Ae.get(H)?.elements;Be?Be.push(le):Ae.set(H,{elements:[le],usage:1})}resetHostNodes(){const F=this.hostNodes;F.clear(),F.add(this.doc.head)}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0),l.LFG(l.AFp),l.LFG(l.Ojb,8),l.LFG(l.Lbi))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const ht={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,Ce=new l.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Te(se,J){return J.map(F=>F.replace(ze,se))}let ve=(()=>{class se{constructor(F,H,le,Ae,Be,wt,_t,Yt=null){this.eventManager=F,this.sharedStylesHost=H,this.appId=le,this.removeStylesOnCompDestroy=Ae,this.doc=Be,this.platformId=wt,this.ngZone=_t,this.nonce=Yt,this.rendererByCompId=new Map,this.platformIsServer=(0,v.PM)(wt),this.defaultRenderer=new Ze(F,Be,_t,this.platformIsServer)}createRenderer(F,H){if(!F||!H)return this.defaultRenderer;this.platformIsServer&&H.encapsulation===l.ifc.ShadowDom&&(H={...H,encapsulation:l.ifc.Emulated});const le=this.getOrCreateRenderer(F,H);return le instanceof zt?le.applyToHost(F):le instanceof Qe&&le.applyStyles(),le}getOrCreateRenderer(F,H){const le=this.rendererByCompId;let Ae=le.get(H.id);if(!Ae){const Be=this.doc,wt=this.ngZone,_t=this.eventManager,Yt=this.sharedStylesHost,yn=this.removeStylesOnCompDestroy,Cn=this.platformIsServer;switch(H.encapsulation){case l.ifc.Emulated:Ae=new zt(_t,Yt,H,this.appId,yn,Be,wt,Cn);break;case l.ifc.ShadowDom:return new He(_t,Yt,F,H,Be,wt,this.nonce,Cn);default:Ae=new Qe(_t,Yt,H,yn,Be,wt,Cn)}le.set(H.id,Ae)}return Ae}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(ue),l.LFG(Ve),l.LFG(l.AFp),l.LFG(Ce),l.LFG(v.K0),l.LFG(l.Lbi),l.LFG(l.R0b),l.LFG(l.Ojb))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();class Ze{constructor(J,F,H,le){this.eventManager=J,this.doc=F,this.ngZone=H,this.platformIsServer=le,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(J,F){return F?this.doc.createElementNS(ht[F]||F,J):this.doc.createElement(J)}createComment(J){return this.doc.createComment(J)}createText(J){return this.doc.createTextNode(J)}appendChild(J,F){(Gt(J)?J.content:J).appendChild(F)}insertBefore(J,F,H){J&&(Gt(J)?J.content:J).insertBefore(F,H)}removeChild(J,F){J&&J.removeChild(F)}selectRootElement(J,F){let H="string"==typeof J?this.doc.querySelector(J):J;if(!H)throw new l.vHH(-5104,!1);return F||(H.textContent=""),H}parentNode(J){return J.parentNode}nextSibling(J){return J.nextSibling}setAttribute(J,F,H,le){if(le){F=le+":"+F;const Ae=ht[le];Ae?J.setAttributeNS(Ae,F,H):J.setAttribute(F,H)}else J.setAttribute(F,H)}removeAttribute(J,F,H){if(H){const le=ht[H];le?J.removeAttributeNS(le,F):J.removeAttribute(`${H}:${F}`)}else J.removeAttribute(F)}addClass(J,F){J.classList.add(F)}removeClass(J,F){J.classList.remove(F)}setStyle(J,F,H,le){le&(l.JOm.DashCase|l.JOm.Important)?J.style.setProperty(F,H,le&l.JOm.Important?"important":""):J.style[F]=H}removeStyle(J,F,H){H&l.JOm.DashCase?J.style.removeProperty(F):J.style[F]=""}setProperty(J,F,H){J[F]=H}setValue(J,F){J.nodeValue=F}listen(J,F,H){if("string"==typeof J&&!(J=(0,v.q)().getGlobalEventTarget(this.doc,J)))throw new Error(`Unsupported event target ${J} for event ${F}`);return this.eventManager.addEventListener(J,F,this.decoratePreventDefault(H))}decoratePreventDefault(J){return F=>{if("__ngUnwrap__"===F)return J;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>J(F)):J(F))&&F.preventDefault()}}}function Gt(se){return"TEMPLATE"===se.tagName&&void 0!==se.content}class He extends Ze{constructor(J,F,H,le,Ae,Be,wt,_t){super(J,Ae,Be,_t),this.sharedStylesHost=F,this.hostEl=H,this.shadowRoot=H.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Yt=Te(le.id,le.styles);for(const yn of Yt){const Cn=document.createElement("style");wt&&Cn.setAttribute("nonce",wt),Cn.textContent=yn,this.shadowRoot.appendChild(Cn)}}nodeOrShadowRoot(J){return J===this.hostEl?this.shadowRoot:J}appendChild(J,F){return super.appendChild(this.nodeOrShadowRoot(J),F)}insertBefore(J,F,H){return super.insertBefore(this.nodeOrShadowRoot(J),F,H)}removeChild(J,F){return super.removeChild(this.nodeOrShadowRoot(J),F)}parentNode(J){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(J)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qe extends Ze{constructor(J,F,H,le,Ae,Be,wt,_t){super(J,Ae,Be,wt),this.sharedStylesHost=F,this.removeStylesOnCompDestroy=le,this.styles=_t?Te(_t,H.styles):H.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class zt extends Qe{constructor(J,F,H,le,Ae,Be,wt,_t){const Yt=le+"-"+H.id;super(J,F,H,Ae,Be,wt,_t,Yt),this.contentAttr=function $e(se){return"_ngcontent-%COMP%".replace(ze,se)}(Yt),this.hostAttr=function Ee(se){return"_nghost-%COMP%".replace(ze,se)}(Yt)}applyToHost(J){this.applyStyles(),this.setAttribute(J,this.hostAttr,"")}createElement(J,F){const H=super.createElement(J,F);return super.setAttribute(H,this.contentAttr,""),H}}let Mt=(()=>{class se extends xe{constructor(F){super(F)}supports(F){return!0}addEventListener(F,H,le){return F.addEventListener(H,le,!1),()=>this.removeEventListener(F,H,le)}removeEventListener(F,H,le){return F.removeEventListener(H,le)}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const sn=["alt","control","meta","shift"],Q={"\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"},q={alt:se=>se.altKey,control:se=>se.ctrlKey,meta:se=>se.metaKey,shift:se=>se.shiftKey};let re=(()=>{class se extends xe{constructor(F){super(F)}supports(F){return null!=se.parseEventName(F)}addEventListener(F,H,le){const Ae=se.parseEventName(H),Be=se.eventCallback(Ae.fullKey,le,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,v.q)().onAndCancel(F,Ae.domEventName,Be))}static parseEventName(F){const H=F.toLowerCase().split("."),le=H.shift();if(0===H.length||"keydown"!==le&&"keyup"!==le)return null;const Ae=se._normalizeKey(H.pop());let Be="",wt=H.indexOf("code");if(wt>-1&&(H.splice(wt,1),Be="code."),sn.forEach(Yt=>{const yn=H.indexOf(Yt);yn>-1&&(H.splice(yn,1),Be+=Yt+".")}),Be+=Ae,0!=H.length||0===Ae.length)return null;const _t={};return _t.domEventName=le,_t.fullKey=Be,_t}static matchEventFullKeyCode(F,H){let le=Q[F.key]||F.key,Ae="";return H.indexOf("code.")>-1&&(le=F.code,Ae="code."),!(null==le||!le)&&(le=le.toLowerCase()," "===le?le="space":"."===le&&(le="dot"),sn.forEach(Be=>{Be!==le&&(0,q[Be])(F)&&(Ae+=Be+".")}),Ae+=le,Ae===H)}static eventCallback(F,H,le){return Ae=>{se.matchEventFullKeyCode(Ae,F)&&le.runGuarded(()=>H(Ae))}}static _normalizeKey(F){return"esc"===F?"escape":F}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0))};static#t=this.\u0275prov=l.Yz7({token:se,factory:se.\u0275fac})}return se})();const kt=(0,l.eFA)(l._c5,"browser",[{provide:l.Lbi,useValue:v.bD},{provide:l.g9A,useValue:function ut(){Z.makeCurrent()},multi:!0},{provide:v.K0,useFactory:function ke(){return(0,l.RDi)(document),document},deps:[]}]),rt=new l.OlP(""),At=[{provide:l.rWj,useClass:class T{addToWindow(J){l.dqk.getAngularTestability=(H,le=!0)=>{const Ae=J.findTestabilityInTree(H,le);if(null==Ae)throw new l.vHH(5103,!1);return Ae},l.dqk.getAllAngularTestabilities=()=>J.getAllTestabilities(),l.dqk.getAllAngularRootElements=()=>J.getAllRootElements(),l.dqk.frameworkStabilizers||(l.dqk.frameworkStabilizers=[]),l.dqk.frameworkStabilizers.push(H=>{const le=l.dqk.getAllAngularTestabilities();let Ae=le.length,Be=!1;const wt=function(_t){Be=Be||_t,Ae--,0==Ae&&H(Be)};le.forEach(_t=>{_t.whenStable(wt)})})}findTestabilityInTree(J,F,H){return null==F?null:J.getTestability(F)??(H?(0,v.q)().isShadowRoot(F)?this.findTestabilityInTree(J,F.host,!0):this.findTestabilityInTree(J,F.parentElement,!0):null)}},deps:[]},{provide:l.lri,useClass:l.dDg,deps:[l.R0b,l.eoX,l.rWj]},{provide:l.dDg,useClass:l.dDg,deps:[l.R0b,l.eoX,l.rWj]}],Nt=[{provide:l.zSh,useValue:"root"},{provide:l.qLn,useFactory:function Lt(){return new l.qLn},deps:[]},{provide:V,useClass:Mt,multi:!0,deps:[v.K0,l.R0b,l.Lbi]},{provide:V,useClass:re,multi:!0,deps:[v.K0]},ve,Ve,ue,{provide:l.FYo,useExisting:ve},{provide:v.JF,useClass:N,deps:[]},[]];let W=(()=>{class se{constructor(F){}static withServerTransition(F){return{ngModule:se,providers:[{provide:l.AFp,useValue:F.appId}]}}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(rt,12))};static#t=this.\u0275mod=l.oAB({type:se});static#n=this.\u0275inj=l.cJS({providers:[...Nt,...At],imports:[v.ez,l.hGG]})}return se})(),Oe=(()=>{class se{constructor(F){this._doc=F}getTitle(){return this._doc.title}setTitle(F){this._doc.title=F||""}static#e=this.\u0275fac=function(H){return new(H||se)(l.LFG(v.K0))};static#t=this.\u0275prov=l.Yz7({token:se,factory:function(H){let le=null;return le=H?new H:function he(){return new Oe((0,l.LFG)(v.K0))}(),le},providedIn:"root"})}return se})();typeof window<"u"&&window},9919:(Ue,oe,S)=>{S.d(oe,{gz:()=>Sr,Eb:()=>di,gk:()=>dn,m2:()=>un,Q3:()=>qr,OD:()=>ci,F0:()=>Xt,rH:()=>ti,Od:()=>Qn,Bz:()=>jr,lC:()=>qt,R9:()=>Jr});var l=S(6689),v=S(5592),ee=S(4674),j=S(7715),B=S(2096),G=S(5619),A=S(7453),T=S(2737),N=S(7400),V=S(4564),ue=S(2714),xe=S(8251),Pe=S(7103);function Ve(...c){const f=(0,V.yG)(c),a=(0,V.jO)(c),{args:p,keys:y}=(0,A.D)(c);if(0===p.length)return(0,j.D)([],f);const I=new v.y(function ht(c,f,a=T.y){return p=>{ze(f,()=>{const{length:y}=c,I=new Array(y);let P=y,X=y;for(let K=0;K{const we=(0,j.D)(c[K],f);let at=!1;we.subscribe((0,xe.x)(p,Ht=>{I[K]=Ht,at||(at=!0,X--),X||p.next(a(I.slice()))},()=>{--P||p.complete()}))},p)},p)}}(p,f,y?P=>(0,ue.n)(y,P):T.y));return a?I.pipe((0,N.Z)(a)):I}function ze(c,f,a){c?(0,Pe.f)(a,c,f):f()}const mt=(0,S(2306).d)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"});var Xe=S(7537);function Ce(...c){return function Ie(){return(0,Xe.J)(1)}()((0,j.D)(c,(0,V.yG)(c)))}var $e=S(4829);function Ee(c){return new v.y(f=>{(0,$e.Xf)(c()).subscribe(f)})}var Te=S(8407),ve=S(8504),Ze=S(6232),Ye=S(7394),De=S(9360);function Gt(){return(0,De.e)((c,f)=>{let a=null;c._refCount++;const p=(0,xe.x)(f,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(a=null);const y=c._connection,I=a;a=null,y&&(!I||y===I)&&y.unsubscribe(),f.unsubscribe()});c.subscribe(p),p.closed||(a=c.connect())})}class He extends v.y{constructor(f,a){super(),this.source=f,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,De.A)(f)&&(this.lift=f.lift)}_subscribe(f){return this.getSubject().subscribe(f)}getSubject(){const f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:f}=this;this._subject=this._connection=null,f?.unsubscribe()}connect(){let f=this._connection;if(!f){f=this._connection=new Ye.w0;const a=this.getSubject();f.add(this.source.subscribe((0,xe.x)(a,void 0,()=>{this._teardown(),a.complete()},p=>{this._teardown(),a.error(p)},()=>this._teardown()))),f.closed&&(this._connection=null,f=Ye.w0.EMPTY)}return f}refCount(){return Gt()(this)}}var Qe=S(8645),zt=S(6814),Mt=S(7398),sn=S(4664),Q=S(8180),re=S(2181),ne=S(1631);function me(c){return(0,De.e)((f,a)=>{let p=!1;f.subscribe((0,xe.x)(a,y=>{p=!0,a.next(y)},()=>{p||a.next(c),a.complete()}))})}function pe(c=qe){return(0,De.e)((f,a)=>{let p=!1;f.subscribe((0,xe.x)(a,y=>{p=!0,a.next(y)},()=>p?a.complete():a.error(c())))})}function qe(){return new mt}function ut(c,f){const a=arguments.length>=2;return p=>p.pipe(c?(0,re.h)((y,I)=>c(y,I,p)):T.y,(0,Q.q)(1),a?me(f):pe(()=>new mt))}var Lt=S(6328);function ke(c,f,a){const p=(0,ee.m)(c)||f||a?{next:c,error:f,complete:a}:c;return p?(0,De.e)((y,I)=>{var P;null===(P=p.subscribe)||void 0===P||P.call(p);let X=!0;y.subscribe((0,xe.x)(I,K=>{var we;null===(we=p.next)||void 0===we||we.call(p,K),I.next(K)},()=>{var K;X=!1,null===(K=p.complete)||void 0===K||K.call(p),I.complete()},K=>{var we;X=!1,null===(we=p.error)||void 0===we||we.call(p,K),I.error(K)},()=>{var K,we;X&&(null===(K=p.unsubscribe)||void 0===K||K.call(p)),null===(we=p.finalize)||void 0===we||we.call(p)}))}):T.y}var vt=S(6306);function At(c){return c<=0?()=>Ze.E:(0,De.e)((f,a)=>{let p=[];f.subscribe((0,xe.x)(a,y=>{p.push(y),c{for(const y of p)a.next(y);a.complete()},void 0,()=>{p=null}))})}var Vt=S(4716),_e=S(2420),he=S(6593);const Oe="primary",yt=Symbol("RouteTitle");class Tt{constructor(f){this.params=f||{}}has(f){return Object.prototype.hasOwnProperty.call(this.params,f)}get(f){if(this.has(f)){const a=this.params[f];return Array.isArray(a)?a[0]:a}return null}getAll(f){if(this.has(f)){const a=this.params[f];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function Rt(c){return new Tt(c)}function Je(c,f,a){const p=a.path.split("/");if(p.length>c.length||"full"===a.pathMatch&&(f.hasChildren()||p.lengthp[I]===y)}return c===f}function Mn(c){return c.length>0?c[c.length-1]:null}function _n(c){return function Z(c){return!!c&&(c instanceof v.y||(0,ee.m)(c.lift)&&(0,ee.m)(c.subscribe))}(c)?c:(0,l.QGY)(c)?(0,j.D)(Promise.resolve(c)):(0,B.of)(c)}const vn={exact:function st(c,f,a){if(!Sn(c.segments,f.segments)||!On(c.segments,f.segments,a)||c.numberOfChildren!==f.numberOfChildren)return!1;for(const p in f.children)if(!c.children[p]||!st(c.children[p],f.children[p],a))return!1;return!0},subset:Bn},ct={exact:function ui(c,f){return mn(c,f)},subset:function zr(c,f){return Object.keys(f).length<=Object.keys(c).length&&Object.keys(f).every(a=>Kn(c[a],f[a]))},ignored:()=>!0};function Ot(c,f,a){return vn[a.paths](c.root,f.root,a.matrixParams)&&ct[a.queryParams](c.queryParams,f.queryParams)&&!("exact"===a.fragment&&c.fragment!==f.fragment)}function Bn(c,f,a){return xt(c,f,f.segments,a)}function xt(c,f,a,p){if(c.segments.length>a.length){const y=c.segments.slice(0,a.length);return!(!Sn(y,a)||f.hasChildren()||!On(y,a,p))}if(c.segments.length===a.length){if(!Sn(c.segments,a)||!On(c.segments,a,p))return!1;for(const y in f.children)if(!c.children[y]||!Bn(c.children[y],f.children[y],p))return!1;return!0}{const y=a.slice(0,c.segments.length),I=a.slice(c.segments.length);return!!(Sn(c.segments,y)&&On(c.segments,y,p)&&c.children[Oe])&&xt(c.children[Oe],f,I,p)}}function On(c,f,a){return f.every((p,y)=>ct[a](c[y].parameters,p.parameters))}class tn{constructor(f=new Ne([],{}),a={},p=null){this.root=f,this.queryParams=a,this.fragment=p}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Rt(this.queryParams)),this._queryParamMap}toString(){return Ti.serialize(this)}}class Ne{constructor(f,a){this.segments=f,this.children=a,this.parent=null,Object.values(a).forEach(p=>p.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return se(this)}}class Fn{constructor(f,a){this.path=f,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=Rt(this.parameters)),this._parameterMap}toString(){return _t(this)}}function Sn(c,f){return c.length===f.length&&c.every((a,p)=>a.path===f[p].path)}let rr=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return new cr},providedIn:"root"})}return c})();class cr{parse(f){const a=new Ut(f);return new tn(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(f){const a=`/${J(f.root,!0)}`,p=function yn(c){const f=Object.keys(c).map(a=>{const p=c[a];return Array.isArray(p)?p.map(y=>`${H(a)}=${H(y)}`).join("&"):`${H(a)}=${H(p)}`}).filter(a=>!!a);return f.length?`?${f.join("&")}`:""}(f.queryParams);return`${a}${p}${"string"==typeof f.fragment?`#${function le(c){return encodeURI(c)}(f.fragment)}`:""}`}}const Ti=new cr;function se(c){return c.segments.map(f=>_t(f)).join("/")}function J(c,f){if(!c.hasChildren())return se(c);if(f){const a=c.children[Oe]?J(c.children[Oe],!1):"",p=[];return Object.entries(c.children).forEach(([y,I])=>{y!==Oe&&p.push(`${y}:${J(I,!1)}`)}),p.length>0?`${a}(${p.join("//")})`:a}{const a=function nr(c,f){let a=[];return Object.entries(c.children).forEach(([p,y])=>{p===Oe&&(a=a.concat(f(y,p)))}),Object.entries(c.children).forEach(([p,y])=>{p!==Oe&&(a=a.concat(f(y,p)))}),a}(c,(p,y)=>y===Oe?[J(c.children[Oe],!1)]:[`${y}:${J(p,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[Oe]?`${se(c)}/${a[0]}`:`${se(c)}/(${a.join("//")})`}}function F(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function H(c){return F(c).replace(/%3B/gi,";")}function Ae(c){return F(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Be(c){return decodeURIComponent(c)}function wt(c){return Be(c.replace(/\+/g,"%20"))}function _t(c){return`${Ae(c.path)}${function Yt(c){return Object.keys(c).map(f=>`;${Ae(f)}=${Ae(c[f])}`).join("")}(c.parameters)}`}const Cn=/^[^\/()?;#]+/;function Y(c){const f=c.match(Cn);return f?f[0]:""}const L=/^[^\/()?;=#]+/,ie=/^[^=?&#]+/,ye=/^[^&#]+/;class Ut{constructor(f){this.url=f,this.remaining=f}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ne([],{}):new Ne([],this.parseChildren())}parseQueryParams(){const f={};if(this.consumeOptional("?"))do{this.parseQueryParam(f)}while(this.consumeOptional("&"));return f}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const f=[];for(this.peekStartsWith("(")||f.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),f.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let p={};return this.peekStartsWith("(")&&(p=this.parseParens(!1)),(f.length>0||Object.keys(a).length>0)&&(p[Oe]=new Ne(f,a)),p}parseSegment(){const f=Y(this.remaining);if(""===f&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(f),new Fn(Be(f),this.parseMatrixParams())}parseMatrixParams(){const f={};for(;this.consumeOptional(";");)this.parseParam(f);return f}parseParam(f){const a=function U(c){const f=c.match(L);return f?f[0]:""}(this.remaining);if(!a)return;this.capture(a);let p="";if(this.consumeOptional("=")){const y=Y(this.remaining);y&&(p=y,this.capture(p))}f[Be(a)]=Be(p)}parseQueryParam(f){const a=function Se(c){const f=c.match(ie);return f?f[0]:""}(this.remaining);if(!a)return;this.capture(a);let p="";if(this.consumeOptional("=")){const P=function be(c){const f=c.match(ye);return f?f[0]:""}(this.remaining);P&&(p=P,this.capture(p))}const y=wt(a),I=wt(p);if(f.hasOwnProperty(y)){let P=f[y];Array.isArray(P)||(P=[P],f[y]=P),P.push(I)}else f[y]=I}parseParens(f){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const p=Y(this.remaining),y=this.remaining[p.length];if("/"!==y&&")"!==y&&";"!==y)throw new l.vHH(4010,!1);let I;p.indexOf(":")>-1?(I=p.slice(0,p.indexOf(":")),this.capture(I),this.capture(":")):f&&(I=Oe);const P=this.parseChildren();a[I]=1===Object.keys(P).length?P[Oe]:new Ne([],P),this.consumeOptional("//")}return a}peekStartsWith(f){return this.remaining.startsWith(f)}consumeOptional(f){return!!this.peekStartsWith(f)&&(this.remaining=this.remaining.substring(f.length),!0)}capture(f){if(!this.consumeOptional(f))throw new l.vHH(4011,!1)}}function tt(c){return c.segments.length>0?new Ne([],{[Oe]:c}):c}function cn(c){const f={};for(const p of Object.keys(c.children)){const I=cn(c.children[p]);if(p===Oe&&0===I.segments.length&&I.hasChildren())for(const[P,X]of Object.entries(I.children))f[P]=X;else(I.segments.length>0||I.hasChildren())&&(f[p]=I)}return function jn(c){if(1===c.numberOfChildren&&c.children[Oe]){const f=c.children[Oe];return new Ne(c.segments.concat(f.segments),f.children)}return c}(new Ne(c.segments,f))}function an(c){return c instanceof tn}function Hn(c){let f;const y=tt(function a(I){const P={};for(const K of I.children){const we=a(K);P[K.outlet]=we}const X=new Ne(I.url,P);return I===c&&(f=X),X}(c.root));return f??y}function pn(c,f,a,p){let y=c;for(;y.parent;)y=y.parent;if(0===f.length)return In(y,y,y,a,p);const I=function Ln(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new rn(!0,0,c);let f=0,a=!1;const p=c.reduce((y,I,P)=>{if("object"==typeof I&&null!=I){if(I.outlets){const X={};return Object.entries(I.outlets).forEach(([K,we])=>{X[K]="string"==typeof we?we.split("/"):we}),[...y,{outlets:X}]}if(I.segmentPath)return[...y,I.segmentPath]}return"string"!=typeof I?[...y,I]:0===P?(I.split("/").forEach((X,K)=>{0==K&&"."===X||(0==K&&""===X?a=!0:".."===X?f++:""!=X&&y.push(X))}),y):[...y,I]},[]);return new rn(a,f,p)}(f);if(I.toRoot())return In(y,y,new Ne([],{}),a,p);const P=function ir(c,f,a){if(c.isAbsolute)return new ln(f,!0,0);if(!a)return new ln(f,!1,NaN);if(null===a.parent)return new ln(a,!0,0);const p=ft(c.commands[0])?0:1;return function Wr(c,f,a){let p=c,y=f,I=a;for(;I>y;){if(I-=y,p=p.parent,!p)throw new l.vHH(4005,!1);y=p.segments.length}return new ln(p,!1,y-I)}(a,a.segments.length-1+p,c.numberOfDoubleDots)}(I,y,c),X=P.processChildren?fr(P.segmentGroup,P.index,I.commands):Yr(P.segmentGroup,P.index,I.commands);return In(y,P.segmentGroup,X,a,p)}function ft(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function je(c){return"object"==typeof c&&null!=c&&c.outlets}function In(c,f,a,p,y){let P,I={};p&&Object.entries(p).forEach(([K,we])=>{I[K]=Array.isArray(we)?we.map(at=>`${at}`):`${we}`}),P=c===f?a:dr(c,f,a);const X=tt(cn(P));return new tn(X,I,y)}function dr(c,f,a){const p={};return Object.entries(c.children).forEach(([y,I])=>{p[y]=I===f?a:dr(I,f,a)}),new Ne(c.segments,p)}class rn{constructor(f,a,p){if(this.isAbsolute=f,this.numberOfDoubleDots=a,this.commands=p,f&&p.length>0&&ft(p[0]))throw new l.vHH(4003,!1);const y=p.find(je);if(y&&y!==Mn(p))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ln{constructor(f,a,p){this.segmentGroup=f,this.processChildren=a,this.index=p}}function Yr(c,f,a){if(c||(c=new Ne([],{})),0===c.segments.length&&c.hasChildren())return fr(c,f,a);const p=function xr(c,f,a){let p=0,y=f;const I={match:!1,pathIndex:0,commandIndex:0};for(;y=a.length)return I;const P=c.segments[y],X=a[p];if(je(X))break;const K=`${X}`,we=p0&&void 0===K)break;if(K&&we&&"object"==typeof we&&void 0===we.outlets){if(!Wi(K,we,P))return I;p+=2}else{if(!Wi(K,{},P))return I;p++}y++}return{match:!0,pathIndex:y,commandIndex:p}}(c,f,a),y=a.slice(p.commandIndex);if(p.match&&p.pathIndexI!==Oe)&&c.children[Oe]&&1===c.numberOfChildren&&0===c.children[Oe].segments.length){const I=fr(c.children[Oe],f,a);return new Ne(c.segments,I.children)}return Object.entries(p).forEach(([I,P])=>{"string"==typeof P&&(P=[P]),null!==P&&(y[I]=Yr(c.children[I],f,P))}),Object.entries(c.children).forEach(([I,P])=>{void 0===p[I]&&(y[I]=P)}),new Ne(c.segments,y)}}function wr(c,f,a){const p=c.segments.slice(0,f);let y=0;for(;y{"string"==typeof p&&(p=[p]),null!==p&&(f[a]=wr(new Ne([],{}),0,p))}),f}function io(c){const f={};return Object.entries(c).forEach(([a,p])=>f[a]=`${p}`),f}function Wi(c,f,a){return c==a.path&&mn(f,a.parameters)}const Zr="imperative";class Zn{constructor(f,a){this.id=f,this.url=a}}class ci extends Zn{constructor(f,a,p="imperative",y=null){super(f,a),this.type=0,this.navigationTrigger=p,this.restoredState=y}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class un extends Zn{constructor(f,a,p){super(f,a),this.urlAfterRedirects=p,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class dn extends Zn{constructor(f,a,p,y){super(f,a),this.reason=p,this.code=y,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class hr extends Zn{constructor(f,a,p,y){super(f,a),this.reason=p,this.code=y,this.type=16}}class qr extends Zn{constructor(f,a,p,y){super(f,a),this.error=p,this.target=y,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Jr extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oo extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ao extends Zn{constructor(f,a,p,y,I){super(f,a),this.urlAfterRedirects=p,this.state=y,this.shouldActivate=I,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Oi extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class so extends Zn{constructor(f,a,p,y){super(f,a),this.urlAfterRedirects=p,this.state=y,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pi{constructor(f){this.route=f,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ao{constructor(f){this.route=f,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class di{constructor(f){this.snapshot=f,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ni{constructor(f){this.snapshot=f,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lo{constructor(f){this.snapshot=f,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ri{constructor(f){this.snapshot=f,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{constructor(f,a,p){this.routerEvent=f,this.position=a,this.anchor=p,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Fr{}class hi{constructor(f){this.url=f}}class Ki{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new dt,this.attachRef=null}}let dt=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(a,p){const y=this.getOrCreateContext(a);y.outlet=p,this.contexts.set(a,y)}onChildOutletDestroyed(a){const p=this.getContext(a);p&&(p.outlet=null,p.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let p=this.getContext(a);return p||(p=new Ki,this.contexts.set(a,p)),p}getContext(a){return this.contexts.get(a)||null}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class on{constructor(f){this._root=f}get root(){return this._root.value}parent(f){const a=this.pathFromRoot(f);return a.length>1?a[a.length-2]:null}children(f){const a=gn(f,this._root);return a?a.children.map(p=>p.value):[]}firstChild(f){const a=gn(f,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(f){const a=qn(f,this._root);return a.length<2?[]:a[a.length-2].children.map(y=>y.value).filter(y=>y!==f)}pathFromRoot(f){return qn(f,this._root).map(a=>a.value)}}function gn(c,f){if(c===f.value)return f;for(const a of f.children){const p=gn(c,a);if(p)return p}return null}function qn(c,f){if(c===f.value)return[f];for(const a of f.children){const p=qn(c,a);if(p.length)return p.unshift(f),p}return[]}class Qt{constructor(f,a){this.value=f,this.children=a}toString(){return`TreeNode(${this.value})`}}function Jn(c){const f={};return c&&c.children.forEach(a=>f[a.value.outlet]=a),f}class Xr extends on{constructor(f,a){super(f),this.snapshot=a,Pn(this,f)}toString(){return this.snapshot.toString()}}function Mr(c,f){const a=function uo(c,f){const P=new it([],{},{},"",{},Oe,f,null,{});return new Ft("",new Qt(P,[]))}(0,f),p=new G.X([new Fn("",{})]),y=new G.X({}),I=new G.X({}),P=new G.X({}),X=new G.X(""),K=new Sr(p,y,P,X,I,Oe,f,a.root);return K.snapshot=a.root,new Xr(new Qt(K,[]),a)}class Sr{constructor(f,a,p,y,I,P,X,K){this.urlSubject=f,this.paramsSubject=a,this.queryParamsSubject=p,this.fragmentSubject=y,this.dataSubject=I,this.outlet=P,this.component=X,this._futureSnapshot=K,this.title=this.dataSubject?.pipe((0,Mt.U)(we=>we[yt]))??(0,B.of)(void 0),this.url=f,this.params=a,this.queryParams=p,this.fragment=y,this.data=I}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,Mt.U)(f=>Rt(f)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Mt.U)(f=>Rt(f)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function jt(c,f="emptyOnly"){const a=c.pathFromRoot;let p=0;if("always"!==f)for(p=a.length-1;p>=1;){const y=a[p],I=a[p-1];if(y.routeConfig&&""===y.routeConfig.path)p--;else{if(I.component)break;p--}}return function Fe(c){return c.reduce((f,a)=>({params:{...f.params,...a.params},data:{...f.data,...a.data},resolve:{...a.data,...f.resolve,...a.routeConfig?.data,...a._resolvedData}}),{params:{},data:{},resolve:{}})}(a.slice(p))}class it{get title(){return this.data?.[yt]}constructor(f,a,p,y,I,P,X,K,we){this.url=f,this.params=a,this.queryParams=p,this.fragment=y,this.data=I,this.outlet=P,this.component=X,this.routeConfig=K,this._resolve=we}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=Rt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Rt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(p=>p.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ft extends on{constructor(f,a){super(a),this.url=f,Pn(this,a)}toString(){return Ir(this._root)}}function Pn(c,f){f.value._routerState=c,f.children.forEach(a=>Pn(c,a))}function Ir(c){const f=c.children.length>0?` { ${c.children.map(Ir).join(", ")} } `:"";return`${c.value}${f}`}function fn(c){if(c.snapshot){const f=c.snapshot,a=c._futureSnapshot;c.snapshot=a,mn(f.queryParams,a.queryParams)||c.queryParamsSubject.next(a.queryParams),f.fragment!==a.fragment&&c.fragmentSubject.next(a.fragment),mn(f.params,a.params)||c.paramsSubject.next(a.params),function et(c,f){if(c.length!==f.length)return!1;for(let a=0;amn(a.parameters,f[p].parameters))}(c.url,f.url);return a&&!(!c.parent!=!f.parent)&&(!c.parent||Nn(c.parent,f.parent))}let qt=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=Oe,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.parentContexts=(0,l.f3M)(dt),this.location=(0,l.f3M)(l.s_b),this.changeDetector=(0,l.f3M)(l.sBO),this.environmentInjector=(0,l.f3M)(l.lqb),this.inputBinder=(0,l.f3M)(sr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(a){if(a.name){const{firstChange:p,previousValue:y}=a.name;if(p)return;this.isTrackedInParentContexts(y)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(y)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(a){return this.parentContexts.getContext(a)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const a=this.parentContexts.getContext(this.name);a?.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,!1);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,p){this.activated=a,this._activatedRoute=p,this.location.insert(a.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,p){if(this.isActivated)throw new l.vHH(4013,!1);this._activatedRoute=a;const y=this.location,P=a.snapshot.component,X=this.parentContexts.getOrCreateContext(this.name).children,K=new or(a,X,y.injector);this.activated=y.createComponent(P,{index:y.length,injector:K,environmentInjector:p??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275dir=l.lG2({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[l.TTD]})}return c})();class or{constructor(f,a,p){this.route=f,this.childContexts=a,this.parent=p}get(f,a){return f===Sr?this.route:f===dt?this.childContexts:this.parent.get(f,a)}}const sr=new l.OlP("");let nt=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(a){this.unsubscribeFromRouteData(a),this.subscribeToRouteData(a)}unsubscribeFromRouteData(a){this.outletDataSubscriptions.get(a)?.unsubscribe(),this.outletDataSubscriptions.delete(a)}subscribeToRouteData(a){const{activatedRoute:p}=a,y=Ve([p.queryParams,p.params,p.data]).pipe((0,sn.w)(([I,P,X],K)=>(X={...I,...P,...X},0===K?(0,B.of)(X):Promise.resolve(X)))).subscribe(I=>{if(!a.isActivated||!a.activatedComponentRef||a.activatedRoute!==p||null===p.component)return void this.unsubscribeFromRouteData(a);const P=(0,l.qFp)(p.component);if(P)for(const{templateName:X}of P.inputs)a.activatedComponentRef.setInput(X,I[X]);else this.unsubscribeFromRouteData(a)});this.outletDataSubscriptions.set(a,y)}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac})}return c})();function Lr(c,f,a){if(a&&c.shouldReuseRoute(f.value,a.value.snapshot)){const p=a.value;p._futureSnapshot=f.value;const y=function pr(c,f,a){return f.children.map(p=>{for(const y of a.children)if(c.shouldReuseRoute(p.value,y.value.snapshot))return Lr(c,p,y);return Lr(c,p)})}(c,f,a);return new Qt(p,y)}{if(c.shouldAttach(f.value)){const I=c.retrieve(f.value);if(null!==I){const P=I.route;return P.value._futureSnapshot=f.value,P.children=f.children.map(X=>Lr(c,X)),P}}const p=function Wt(c){return new Sr(new G.X(c.url),new G.X(c.params),new G.X(c.queryParams),new G.X(c.fragment),new G.X(c.data),c.outlet,c.component,c)}(f.value),y=f.children.map(I=>Lr(c,I));return new Qt(p,y)}}const kr="ngNavigationCancelingError";function gr(c,f){const{redirectTo:a,navigationBehaviorOptions:p}=an(f)?{redirectTo:f,navigationBehaviorOptions:void 0}:f,y=Gn(!1,0,f);return y.url=a,y.navigationBehaviorOptions=p,y}function Gn(c,f,a){const p=new Error("NavigationCancelingError: "+(c||""));return p[kr]=!0,p.cancellationCode=f,a&&(p.url=a),p}function Ur(c){return c&&c[kr]}let zn=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275cmp=l.Xpm({type:c,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(p,y){1&p&&l._UZ(0,"router-outlet")},dependencies:[qt],encapsulation:2})}return c})();function $r(c){const f=c.children&&c.children.map($r),a=f?{...c,children:f}:{...c};return!a.component&&!a.loadComponent&&(f||a.loadChildren)&&a.outlet&&a.outlet!==Oe&&(a.component=zn),a}function bn(c){return c.outlet||Oe}function Fi(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let f=c.parent;f;f=f.parent){const a=f.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class Li{constructor(f,a,p,y,I){this.routeReuseStrategy=f,this.futureState=a,this.currState=p,this.forwardEvent=y,this.inputBindingEnabled=I}activate(f){const a=this.futureState._root,p=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,p,f),fn(this.futureState.root),this.activateChildRoutes(a,p,f)}deactivateChildRoutes(f,a,p){const y=Jn(a);f.children.forEach(I=>{const P=I.value.outlet;this.deactivateRoutes(I,y[P],p),delete y[P]}),Object.values(y).forEach(I=>{this.deactivateRouteAndItsChildren(I,p)})}deactivateRoutes(f,a,p){const y=f.value,I=a?a.value:null;if(y===I)if(y.component){const P=p.getContext(y.outlet);P&&this.deactivateChildRoutes(f,a,P.children)}else this.deactivateChildRoutes(f,a,p);else I&&this.deactivateRouteAndItsChildren(a,p)}deactivateRouteAndItsChildren(f,a){f.value.component&&this.routeReuseStrategy.shouldDetach(f.value.snapshot)?this.detachAndStoreRouteSubtree(f,a):this.deactivateRouteAndOutlet(f,a)}detachAndStoreRouteSubtree(f,a){const p=a.getContext(f.value.outlet),y=p&&f.value.component?p.children:a,I=Jn(f);for(const P of Object.keys(I))this.deactivateRouteAndItsChildren(I[P],y);if(p&&p.outlet){const P=p.outlet.detach(),X=p.children.onOutletDeactivated();this.routeReuseStrategy.store(f.value.snapshot,{componentRef:P,route:f,contexts:X})}}deactivateRouteAndOutlet(f,a){const p=a.getContext(f.value.outlet),y=p&&f.value.component?p.children:a,I=Jn(f);for(const P of Object.keys(I))this.deactivateRouteAndItsChildren(I[P],y);p&&(p.outlet&&(p.outlet.deactivate(),p.children.onOutletDeactivated()),p.attachRef=null,p.route=null)}activateChildRoutes(f,a,p){const y=Jn(a);f.children.forEach(I=>{this.activateRoutes(I,y[I.value.outlet],p),this.forwardEvent(new Ri(I.value.snapshot))}),f.children.length&&this.forwardEvent(new Ni(f.value.snapshot))}activateRoutes(f,a,p){const y=f.value,I=a?a.value:null;if(fn(y),y===I)if(y.component){const P=p.getOrCreateContext(y.outlet);this.activateChildRoutes(f,a,P.children)}else this.activateChildRoutes(f,a,p);else if(y.component){const P=p.getOrCreateContext(y.outlet);if(this.routeReuseStrategy.shouldAttach(y.snapshot)){const X=this.routeReuseStrategy.retrieve(y.snapshot);this.routeReuseStrategy.store(y.snapshot,null),P.children.onOutletReAttached(X.contexts),P.attachRef=X.componentRef,P.route=X.route.value,P.outlet&&P.outlet.attach(X.componentRef,X.route.value),fn(X.route.value),this.activateChildRoutes(f,null,P.children)}else{const X=Fi(y.snapshot);P.attachRef=null,P.route=y,P.injector=X,P.outlet&&P.outlet.activateWith(y,P.injector),this.activateChildRoutes(f,null,P.children)}}else this.activateChildRoutes(f,null,p)}}class _{constructor(f){this.path=f,this.route=this.path[this.path.length-1]}}class C{constructor(f,a){this.component=f,this.route=a}}function g(c,f,a){const p=c._root;return Ke(p,f?f._root:null,a,[p.value])}function x(c,f){const a=Symbol(),p=f.get(c,a);return p===a?"function"!=typeof c||(0,l.Z0I)(c)?f.get(c):c:p}function Ke(c,f,a,p,y={canDeactivateChecks:[],canActivateChecks:[]}){const I=Jn(f);return c.children.forEach(P=>{(function Dt(c,f,a,p,y={canDeactivateChecks:[],canActivateChecks:[]}){const I=c.value,P=f?f.value:null,X=a?a.getContext(c.value.outlet):null;if(P&&I.routeConfig===P.routeConfig){const K=function vr(c,f,a){if("function"==typeof a)return a(c,f);switch(a){case"pathParamsChange":return!Sn(c.url,f.url);case"pathParamsOrQueryParamsChange":return!Sn(c.url,f.url)||!mn(c.queryParams,f.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nn(c,f)||!mn(c.queryParams,f.queryParams);default:return!Nn(c,f)}}(P,I,I.routeConfig.runGuardsAndResolvers);K?y.canActivateChecks.push(new _(p)):(I.data=P.data,I._resolvedData=P._resolvedData),Ke(c,f,I.component?X?X.children:null:a,p,y),K&&X&&X.outlet&&X.outlet.isActivated&&y.canDeactivateChecks.push(new C(X.outlet.component,P))}else P&&br(f,X,y),y.canActivateChecks.push(new _(p)),Ke(c,null,I.component?X?X.children:null:a,p,y)})(P,I[P.value.outlet],a,p.concat([P.value]),y),delete I[P.value.outlet]}),Object.entries(I).forEach(([P,X])=>br(X,a.getContext(P),y)),y}function br(c,f,a){const p=Jn(c),y=c.value;Object.entries(p).forEach(([I,P])=>{br(P,y.component?f?f.children.getContext(I):null:f,a)}),a.canDeactivateChecks.push(new C(y.component&&f&&f.outlet&&f.outlet.isActivated?f.outlet.component:null,y))}function ei(c){return"function"==typeof c}function Cs(c){return c instanceof mt||"EmptyError"===c?.name}const ki=Symbol("INITIAL_VALUE");function Ar(){return(0,sn.w)(c=>Ve(c.map(f=>f.pipe((0,Q.q)(1),function q(...c){const f=(0,V.yG)(c);return(0,De.e)((a,p)=>{(f?Ce(c,a,f):Ce(c,a)).subscribe(p)})}(ki)))).pipe((0,Mt.U)(f=>{for(const a of f)if(!0!==a){if(a===ki)return ki;if(!1===a||a instanceof tn)return a}return!0}),(0,re.h)(f=>f!==ki),(0,Q.q)(1)))}function En(c){return(0,Te.z)(ke(f=>{if(an(f))throw gr(0,f)}),(0,Mt.U)(f=>!0===f))}class kn{constructor(f){this.segmentGroup=f||null}}class To{constructor(f){this.urlTree=f}}function yi(c){return(0,ve._)(new kn(c))}function Oo(c){return(0,ve._)(new To(c))}class As{constructor(f,a){this.urlSerializer=f,this.urlTree=a}noMatchError(f){return new l.vHH(4002,!1)}lineralizeSegments(f,a){let p=[],y=a.root;for(;;){if(p=p.concat(y.segments),0===y.numberOfChildren)return(0,B.of)(p);if(y.numberOfChildren>1||!y.children[Oe])return(0,ve._)(new l.vHH(4e3,!1));y=y.children[Oe]}}applyRedirectCommands(f,a,p){return this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),f,p)}applyRedirectCreateUrlTree(f,a,p,y){const I=this.createSegmentGroup(f,a.root,p,y);return new tn(I,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(f,a){const p={};return Object.entries(f).forEach(([y,I])=>{if("string"==typeof I&&I.startsWith(":")){const X=I.substring(1);p[y]=a[X]}else p[y]=I}),p}createSegmentGroup(f,a,p,y){const I=this.createSegments(f,a.segments,p,y);let P={};return Object.entries(a.children).forEach(([X,K])=>{P[X]=this.createSegmentGroup(f,K,p,y)}),new Ne(I,P)}createSegments(f,a,p,y){return a.map(I=>I.path.startsWith(":")?this.findPosParam(f,I,y):this.findOrReturn(I,p))}findPosParam(f,a,p){const y=p[a.path.substring(1)];if(!y)throw new l.vHH(4001,!1);return y}findOrReturn(f,a){let p=0;for(const y of a){if(y.path===f.path)return a.splice(p),y;p++}return f}}const Vi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function po(c,f,a,p,y){const I=go(c,f,a);return I.matched?(p=function mr(c,f){return c.providers&&!c._injector&&(c._injector=(0,l.MMx)(c.providers,f,`Route: ${c.path}`)),c._injector??f}(f,p),function fo(c,f,a,p){const y=f.canMatch;if(!y||0===y.length)return(0,B.of)(!0);const I=y.map(P=>{const X=x(P,c);return _n(function su(c){return c&&ei(c.canMatch)}(X)?X.canMatch(f,a):c.runInContext(()=>X(f,a)))});return(0,B.of)(I).pipe(Ar(),En())}(p,f,a).pipe((0,Mt.U)(P=>!0===P?I:{...Vi}))):(0,B.of)(I)}function go(c,f,a){if(""===f.path)return"full"===f.pathMatch&&(c.hasChildren()||a.length>0)?{...Vi}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const y=(f.matcher||Je)(a,c,f);if(!y)return{...Vi};const I={};Object.entries(y.posParams??{}).forEach(([X,K])=>{I[X]=K.path});const P=y.consumed.length>0?{...I,...y.consumed[y.consumed.length-1].parameters}:I;return{matched:!0,consumedSegments:y.consumed,remainingSegments:a.slice(y.consumed.length),parameters:P,positionalParamSegments:y.posParams??{}}}function Po(c,f,a,p){return a.length>0&&function Zi(c,f,a){return a.some(p=>qi(c,f,p)&&bn(p)!==Oe)}(c,a,p)?{segmentGroup:new Ne(f,mo(p,new Ne(a,c.children))),slicedSegments:[]}:0===a.length&&function Ui(c,f,a){return a.some(p=>qi(c,f,p))}(c,a,p)?{segmentGroup:new Ne(c.segments,Ts(c,0,a,p,c.children)),slicedSegments:a}:{segmentGroup:new Ne(c.segments,c.children),slicedSegments:a}}function Ts(c,f,a,p,y){const I={};for(const P of p)if(qi(c,a,P)&&!y[bn(P)]){const X=new Ne([],{});I[bn(P)]=X}return{...y,...I}}function mo(c,f){const a={};a[Oe]=f;for(const p of c)if(""===p.path&&bn(p)!==Oe){const y=new Ne([],{});a[bn(p)]=y}return a}function qi(c,f,a){return(!(c.hasChildren()||f.length>0)||"full"!==a.pathMatch)&&""===a.path}class Ji{constructor(f,a,p,y,I,P,X){this.injector=f,this.configLoader=a,this.rootComponentType=p,this.config=y,this.urlTree=I,this.paramsInheritanceStrategy=P,this.urlSerializer=X,this.allowRedirects=!0,this.applyRedirects=new As(this.urlSerializer,this.urlTree)}noMatchError(f){return new l.vHH(4002,!1)}recognize(){const f=Po(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,f,Oe).pipe((0,vt.K)(a=>{if(a instanceof To)return this.allowRedirects=!1,this.urlTree=a.urlTree,this.match(a.urlTree);throw a instanceof kn?this.noMatchError(a):a}),(0,Mt.U)(a=>{const p=new it([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Oe,this.rootComponentType,null,{}),y=new Qt(p,a),I=new Ft("",y),P=function nn(c,f,a=null,p=null){return pn(Hn(c),f,a,p)}(p,[],this.urlTree.queryParams,this.urlTree.fragment);return P.queryParams=this.urlTree.queryParams,I.url=this.urlSerializer.serialize(P),this.inheritParamsAndData(I._root),{state:I,tree:P}}))}match(f){return this.processSegmentGroup(this.injector,this.config,f.root,Oe).pipe((0,vt.K)(p=>{throw p instanceof kn?this.noMatchError(p):p}))}inheritParamsAndData(f){const a=f.value,p=jt(a,this.paramsInheritanceStrategy);a.params=Object.freeze(p.params),a.data=Object.freeze(p.data),f.children.forEach(y=>this.inheritParamsAndData(y))}processSegmentGroup(f,a,p,y){return 0===p.segments.length&&p.hasChildren()?this.processChildren(f,a,p):this.processSegment(f,a,p,p.segments,y,!0)}processChildren(f,a,p){const y=[];for(const I of Object.keys(p.children))"primary"===I?y.unshift(I):y.push(I);return(0,j.D)(y).pipe((0,Lt.b)(I=>{const P=p.children[I],X=function Dn(c,f){const a=c.filter(p=>bn(p)===f);return a.push(...c.filter(p=>bn(p)!==f)),a}(a,I);return this.processSegmentGroup(f,X,P,I)}),function rt(c,f){return(0,De.e)(function kt(c,f,a,p,y){return(I,P)=>{let X=a,K=f,we=0;I.subscribe((0,xe.x)(P,at=>{const Ht=we++;K=X?c(K,at,Ht):(X=!0,at),p&&P.next(K)},y&&(()=>{X&&P.next(K),P.complete()})))}}(c,f,arguments.length>=2,!0))}((I,P)=>(I.push(...P),I)),me(null),function Nt(c,f){const a=arguments.length>=2;return p=>p.pipe(c?(0,re.h)((y,I)=>c(y,I,p)):T.y,At(1),a?me(f):pe(()=>new mt))}(),(0,ne.z)(I=>{if(null===I)return yi(p);const P=w(I);return function Ia(c){c.sort((f,a)=>f.value.outlet===Oe?-1:a.value.outlet===Oe?1:f.value.outlet.localeCompare(a.value.outlet))}(P),(0,B.of)(P)}))}processSegment(f,a,p,y,I,P){return(0,j.D)(a).pipe((0,Lt.b)(X=>this.processSegmentAgainstRoute(X._injector??f,a,X,p,y,I,P).pipe((0,vt.K)(K=>{if(K instanceof kn)return(0,B.of)(null);throw K}))),ut(X=>!!X),(0,vt.K)(X=>{if(Cs(X))return function cu(c,f,a){return 0===f.length&&!c.children[a]}(p,y,I)?(0,B.of)([]):yi(p);throw X}))}processSegmentAgainstRoute(f,a,p,y,I,P,X){return function uu(c,f,a,p){return!!(bn(c)===p||p!==Oe&&qi(f,a,c))&&("**"===c.path||go(f,c,a).matched)}(p,y,I,P)?void 0===p.redirectTo?this.matchSegmentAgainstRoute(f,y,p,I,P,X):X&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(f,y,a,p,I,P):yi(y):yi(y)}expandSegmentAgainstRouteUsingRedirect(f,a,p,y,I,P){return"**"===y.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(f,p,y,P):this.expandRegularSegmentAgainstRouteUsingRedirect(f,a,p,y,I,P)}expandWildCardWithParamsAgainstRouteUsingRedirect(f,a,p,y){const I=this.applyRedirects.applyRedirectCommands([],p.redirectTo,{});return p.redirectTo.startsWith("/")?Oo(I):this.applyRedirects.lineralizeSegments(p,I).pipe((0,ne.z)(P=>{const X=new Ne(P,{});return this.processSegment(f,a,X,P,y,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(f,a,p,y,I,P){const{matched:X,consumedSegments:K,remainingSegments:we,positionalParamSegments:at}=go(a,y,I);if(!X)return yi(a);const Ht=this.applyRedirects.applyRedirectCommands(K,y.redirectTo,at);return y.redirectTo.startsWith("/")?Oo(Ht):this.applyRedirects.lineralizeSegments(y,Ht).pipe((0,ne.z)(St=>this.processSegment(f,p,a,St.concat(we),P,!1)))}matchSegmentAgainstRoute(f,a,p,y,I,P){let X;if("**"===p.path){const K=y.length>0?Mn(y).parameters:{},we=new it(y,K,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,E(p),bn(p),p.component??p._loadedComponent??null,p,R(p));X=(0,B.of)({snapshot:we,consumedSegments:[],remainingSegments:[]}),a.children={}}else X=po(a,p,y,f).pipe((0,Mt.U)(({matched:K,consumedSegments:we,remainingSegments:at,parameters:Ht})=>K?{snapshot:new it(we,Ht,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,E(p),bn(p),p.component??p._loadedComponent??null,p,R(p)),consumedSegments:we,remainingSegments:at}:null));return X.pipe((0,sn.w)(K=>null===K?yi(a):this.getChildConfig(f=p._injector??f,p,y).pipe((0,sn.w)(({routes:we})=>{const at=p._loadedInjector??f,{snapshot:Ht,consumedSegments:St,remainingSegments:ii}=K,{segmentGroup:Do,slicedSegments:wn}=Po(a,St,ii,we);if(0===wn.length&&Do.hasChildren())return this.processChildren(at,we,Do).pipe((0,Mt.U)(Kt=>null===Kt?null:[new Qt(Ht,Kt)]));if(0===we.length&&0===wn.length)return(0,B.of)([new Qt(Ht,[])]);const oi=bn(p)===I;return this.processSegment(at,we,Do,wn,oi?Oe:I,!0).pipe((0,Mt.U)(Kt=>[new Qt(Ht,Kt)]))}))))}getChildConfig(f,a,p){return a.children?(0,B.of)({routes:a.children,injector:f}):a.loadChildren?void 0!==a._loadedRoutes?(0,B.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function lu(c,f,a,p){const y=f.canLoad;if(void 0===y||0===y.length)return(0,B.of)(!0);const I=y.map(P=>{const X=x(P,c);return _n(function ru(c){return c&&ei(c.canLoad)}(X)?X.canLoad(f,a):c.runInContext(()=>X(f,a)))});return(0,B.of)(I).pipe(Ar(),En())}(f,a,p).pipe((0,ne.z)(y=>y?this.configLoader.loadChildren(f,a).pipe(ke(I=>{a._loadedRoutes=I.routes,a._loadedInjector=I.injector})):function ho(c){return(0,ve._)(Gn(!1,3))}())):(0,B.of)({routes:[],injector:f})}}function d(c){const f=c.value.routeConfig;return f&&""===f.path}function w(c){const f=[],a=new Set;for(const p of c){if(!d(p)){f.push(p);continue}const y=f.find(I=>p.value.routeConfig===I.value.routeConfig);void 0!==y?(y.children.push(...p.children),a.add(y)):f.push(p)}for(const p of a){const y=w(p.children);f.push(new Qt(p.value,y))}return f.filter(p=>!a.has(p))}function E(c){return c.data||{}}function R(c){return c.resolve||{}}function gt(c){return"string"==typeof c.title||null===c.title}function en(c){return(0,sn.w)(f=>{const a=c(f);return a?(0,j.D)(a).pipe((0,Mt.U)(()=>f)):(0,B.of)(f)})}const It=new l.OlP("ROUTES");let hn=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,l.f3M)(l.Sil)}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,B.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const p=_n(a.loadComponent()).pipe((0,Mt.U)(Di),ke(I=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=I}),(0,Vt.x)(()=>{this.componentLoaders.delete(a)})),y=new He(p,()=>new Qe.x).pipe(Gt());return this.componentLoaders.set(a,y),y}loadChildren(a,p){if(this.childrenLoaders.get(p))return this.childrenLoaders.get(p);if(p._loadedRoutes)return(0,B.of)({routes:p._loadedRoutes,injector:p._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(p);const I=function Tr(c,f,a,p){return _n(c.loadChildren()).pipe((0,Mt.U)(Di),(0,ne.z)(y=>y instanceof l.YKP||Array.isArray(y)?(0,B.of)(y):(0,j.D)(f.compileModuleAsync(y))),(0,Mt.U)(y=>{p&&p(c);let I,P,X=!1;return Array.isArray(y)?(P=y,!0):(I=y.create(a).injector,P=I.get(It,[],{optional:!0,self:!0}).flat()),{routes:P.map($r),injector:I}}))}(p,this.compiler,a,this.onLoadEndListener).pipe((0,Vt.x)(()=>{this.childrenLoaders.delete(p)})),P=new He(I,()=>new Qe.x).pipe(Gt());return this.childrenLoaders.set(p,P),P}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Di(c){return function Or(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let Vn=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Qe.x,this.transitionAbortSubject=new Qe.x,this.configLoader=(0,l.f3M)(hn),this.environmentInjector=(0,l.f3M)(l.lqb),this.urlSerializer=(0,l.f3M)(rr),this.rootContexts=(0,l.f3M)(dt),this.inputBindingEnabled=null!==(0,l.f3M)(sr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,B.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=y=>this.events.next(new ao(y)),this.configLoader.onLoadStartListener=y=>this.events.next(new Pi(y))}complete(){this.transitions?.complete()}handleNavigationRequest(a){const p=++this.navigationId;this.transitions?.next({...this.transitions.value,...a,id:p})}setupNavigations(a,p,y){return this.transitions=new G.X({id:0,currentUrlTree:p,currentRawUrl:p,currentBrowserUrl:p,extractedUrl:a.urlHandlingStrategy.extract(p),urlAfterRedirects:a.urlHandlingStrategy.extract(p),rawUrl:p,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Zr,restoredState:null,currentSnapshot:y.snapshot,targetSnapshot:null,currentRouterState:y,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,re.h)(I=>0!==I.id),(0,Mt.U)(I=>({...I,extractedUrl:a.urlHandlingStrategy.extract(I.rawUrl)})),(0,sn.w)(I=>{this.currentTransition=I;let P=!1,X=!1;return(0,B.of)(I).pipe(ke(K=>{this.currentNavigation={id:K.id,initialUrl:K.rawUrl,extractedUrl:K.extractedUrl,trigger:K.source,extras:K.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,sn.w)(K=>{const we=K.currentBrowserUrl.toString(),at=!a.navigated||K.extractedUrl.toString()!==we||we!==K.currentUrlTree.toString();if(!at&&"reload"!==(K.extras.onSameUrlNavigation??a.onSameUrlNavigation)){const St="";return this.events.next(new hr(K.id,this.urlSerializer.serialize(K.rawUrl),St,0)),K.resolve(null),Ze.E}if(a.urlHandlingStrategy.shouldProcessUrl(K.rawUrl))return(0,B.of)(K).pipe((0,sn.w)(St=>{const ii=this.transitions?.getValue();return this.events.next(new ci(St.id,this.urlSerializer.serialize(St.extractedUrl),St.source,St.restoredState)),ii!==this.transitions?.getValue()?Ze.E:Promise.resolve(St)}),function te(c,f,a,p,y,I){return(0,ne.z)(P=>function du(c,f,a,p,y,I,P="emptyOnly"){return new Ji(c,f,a,p,y,P,I).recognize()}(c,f,a,p,P.extractedUrl,y,I).pipe((0,Mt.U)(({state:X,tree:K})=>({...P,targetSnapshot:X,urlAfterRedirects:K}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,a.config,this.urlSerializer,a.paramsInheritanceStrategy),ke(St=>{I.targetSnapshot=St.targetSnapshot,I.urlAfterRedirects=St.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:St.urlAfterRedirects};const ii=new Jr(St.id,this.urlSerializer.serialize(St.extractedUrl),this.urlSerializer.serialize(St.urlAfterRedirects),St.targetSnapshot);this.events.next(ii)}));if(at&&a.urlHandlingStrategy.shouldProcessUrl(K.currentRawUrl)){const{id:St,extractedUrl:ii,source:Do,restoredState:wn,extras:oi}=K,Kt=new ci(St,this.urlSerializer.serialize(ii),Do,wn);this.events.next(Kt);const Mu=Mr(0,this.rootComponentType).snapshot;return this.currentTransition=I={...K,targetSnapshot:Mu,urlAfterRedirects:ii,extras:{...oi,skipLocationChange:!1,replaceUrl:!1}},(0,B.of)(I)}{const St="";return this.events.next(new hr(K.id,this.urlSerializer.serialize(K.extractedUrl),St,1)),K.resolve(null),Ze.E}}),ke(K=>{const we=new oo(K.id,this.urlSerializer.serialize(K.extractedUrl),this.urlSerializer.serialize(K.urlAfterRedirects),K.targetSnapshot);this.events.next(we)}),(0,Mt.U)(K=>(this.currentTransition=I={...K,guards:g(K.targetSnapshot,K.currentSnapshot,this.rootContexts)},I)),function Es(c,f){return(0,ne.z)(a=>{const{targetSnapshot:p,currentSnapshot:y,guards:{canActivateChecks:I,canDeactivateChecks:P}}=a;return 0===P.length&&0===I.length?(0,B.of)({...a,guardsResult:!0}):function ws(c,f,a,p){return(0,j.D)(c).pipe((0,ne.z)(y=>function Is(c,f,a,p,y){const I=f&&f.routeConfig?f.routeConfig.canDeactivate:null;if(!I||0===I.length)return(0,B.of)(!0);const P=I.map(X=>{const K=Fi(f)??y,we=x(X,K);return _n(function ou(c){return c&&ei(c.canDeactivate)}(we)?we.canDeactivate(c,f,a,p):K.runInContext(()=>we(c,f,a,p))).pipe(ut())});return(0,B.of)(P).pipe(Ar())}(y.component,y.route,a,f,p)),ut(y=>!0!==y,!0))}(P,p,y,c).pipe((0,ne.z)(X=>X&&function nu(c){return"boolean"==typeof c}(X)?function Ms(c,f,a,p){return(0,j.D)(f).pipe((0,Lt.b)(y=>Ce(function au(c,f){return null!==c&&f&&f(new di(c)),(0,B.of)(!0)}(y.route.parent,p),function Ss(c,f){return null!==c&&f&&f(new lo(c)),(0,B.of)(!0)}(y.route,p),function Br(c,f,a){const p=f[f.length-1],I=f.slice(0,f.length-1).reverse().map(P=>function b(c){const f=c.routeConfig?c.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:c,guards:f}:null}(P)).filter(P=>null!==P).map(P=>Ee(()=>{const X=P.guards.map(K=>{const we=Fi(P.node)??a,at=x(K,we);return _n(function iu(c){return c&&ei(c.canActivateChild)}(at)?at.canActivateChild(p,c):we.runInContext(()=>at(p,c))).pipe(ut())});return(0,B.of)(X).pipe(Ar())}));return(0,B.of)(I).pipe(Ar())}(c,y.path,a),function vi(c,f,a){const p=f.routeConfig?f.routeConfig.canActivate:null;if(!p||0===p.length)return(0,B.of)(!0);const y=p.map(I=>Ee(()=>{const P=Fi(f)??a,X=x(I,P);return _n(function wa(c){return c&&ei(c.canActivate)}(X)?X.canActivate(f,c):P.runInContext(()=>X(f,c))).pipe(ut())}));return(0,B.of)(y).pipe(Ar())}(c,y.route,a))),ut(y=>!0!==y,!0))}(p,I,c,f):(0,B.of)(X)),(0,Mt.U)(X=>({...a,guardsResult:X})))})}(this.environmentInjector,K=>this.events.next(K)),ke(K=>{if(I.guardsResult=K.guardsResult,an(K.guardsResult))throw gr(0,K.guardsResult);const we=new Ao(K.id,this.urlSerializer.serialize(K.extractedUrl),this.urlSerializer.serialize(K.urlAfterRedirects),K.targetSnapshot,!!K.guardsResult);this.events.next(we)}),(0,re.h)(K=>!!K.guardsResult||(this.cancelNavigationTransition(K,"",3),!1)),en(K=>{if(K.guards.canActivateChecks.length)return(0,B.of)(K).pipe(ke(we=>{const at=new Oi(we.id,this.urlSerializer.serialize(we.extractedUrl),this.urlSerializer.serialize(we.urlAfterRedirects),we.targetSnapshot);this.events.next(at)}),(0,sn.w)(we=>{let at=!1;return(0,B.of)(we).pipe(function ce(c,f){return(0,ne.z)(a=>{const{targetSnapshot:p,guards:{canActivateChecks:y}}=a;if(!y.length)return(0,B.of)(a);let I=0;return(0,j.D)(y).pipe((0,Lt.b)(P=>function Ge(c,f,a,p){const y=c.routeConfig,I=c._resolve;return void 0!==y?.title&&!gt(y)&&(I[yt]=y.title),function $t(c,f,a,p){const y=function Bt(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}(c);if(0===y.length)return(0,B.of)({});const I={};return(0,j.D)(y).pipe((0,ne.z)(P=>function Pt(c,f,a,p){const y=Fi(f)??p,I=x(c,y);return _n(I.resolve?I.resolve(f,a):y.runInContext(()=>I(f,a)))}(c[P],f,a,p).pipe(ut(),ke(X=>{I[P]=X}))),At(1),function W(c){return(0,Mt.U)(()=>c)}(I),(0,vt.K)(P=>Cs(P)?Ze.E:(0,ve._)(P)))}(I,c,f,p).pipe((0,Mt.U)(P=>(c._resolvedData=P,c.data=jt(c,a).resolve,y&>(y)&&(c.data[yt]=y.title),null)))}(P.route,p,c,f)),ke(()=>I++),At(1),(0,ne.z)(P=>I===y.length?(0,B.of)(a):Ze.E))})}(a.paramsInheritanceStrategy,this.environmentInjector),ke({next:()=>at=!0,complete:()=>{at||this.cancelNavigationTransition(we,"",2)}}))}),ke(we=>{const at=new so(we.id,this.urlSerializer.serialize(we.extractedUrl),this.urlSerializer.serialize(we.urlAfterRedirects),we.targetSnapshot);this.events.next(at)}))}),en(K=>{const we=at=>{const Ht=[];at.routeConfig?.loadComponent&&!at.routeConfig._loadedComponent&&Ht.push(this.configLoader.loadComponent(at.routeConfig).pipe(ke(St=>{at.component=St}),(0,Mt.U)(()=>{})));for(const St of at.children)Ht.push(...we(St));return Ht};return Ve(we(K.targetSnapshot.root)).pipe(me(),(0,Q.q)(1))}),en(()=>this.afterPreactivation()),(0,Mt.U)(K=>{const we=function gi(c,f,a){const p=Lr(c,f._root,a?a._root:void 0);return new Xr(p,f)}(a.routeReuseStrategy,K.targetSnapshot,K.currentRouterState);return this.currentTransition=I={...K,targetRouterState:we},I}),ke(()=>{this.events.next(new Fr)}),((c,f,a,p)=>(0,Mt.U)(y=>(new Li(f,y.targetRouterState,y.currentRouterState,a,p).activate(c),y)))(this.rootContexts,a.routeReuseStrategy,K=>this.events.next(K),this.inputBindingEnabled),(0,Q.q)(1),ke({next:K=>{P=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new un(K.id,this.urlSerializer.serialize(K.extractedUrl),this.urlSerializer.serialize(K.urlAfterRedirects))),a.titleStrategy?.updateTitle(K.targetRouterState.snapshot),K.resolve(!0)},complete:()=>{P=!0}}),function Me(c){return(0,De.e)((f,a)=>{(0,$e.Xf)(c).subscribe((0,xe.x)(a,()=>a.complete(),_e.Z)),!a.closed&&f.subscribe(a)})}(this.transitionAbortSubject.pipe(ke(K=>{throw K}))),(0,Vt.x)(()=>{P||X||this.cancelNavigationTransition(I,"",1),this.currentNavigation?.id===I.id&&(this.currentNavigation=null)}),(0,vt.K)(K=>{if(X=!0,Ur(K))this.events.next(new dn(I.id,this.urlSerializer.serialize(I.extractedUrl),K.message,K.cancellationCode)),function Vr(c){return Ur(c)&&an(c.url)}(K)?this.events.next(new hi(K.url)):I.resolve(!1);else{this.events.next(new qr(I.id,this.urlSerializer.serialize(I.extractedUrl),K,I.targetSnapshot??void 0));try{I.resolve(a.errorHandler(K))}catch(we){I.reject(we)}}return Ze.E}))}))}cancelNavigationTransition(a,p,y){const I=new dn(a.id,this.urlSerializer.serialize(a.extractedUrl),p,y);this.events.next(I),a.resolve(!1)}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function yr(c){return c!==Zr}let Pr=(()=>{class c{buildTitle(a){let p,y=a.root;for(;void 0!==y;)p=this.getResolvedTitleForRoute(y)??p,y=y.children.find(I=>I.outlet===Oe);return p}getResolvedTitleForRoute(a){return a.data[yt]}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return(0,l.f3M)(_i)},providedIn:"root"})}return c})(),_i=(()=>{class c extends Pr{constructor(a){super(),this.title=a}updateTitle(a){const p=this.buildTitle(a);void 0!==p&&this.title.setTitle(p)}static#e=this.\u0275fac=function(p){return new(p||c)(l.LFG(he.Dx))};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),fu=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return(0,l.f3M)(Aa)},providedIn:"root"})}return c})();class ba{shouldDetach(f){return!1}store(f,a){}shouldAttach(f){return!1}retrieve(f){return null}shouldReuseRoute(f,a){return f.routeConfig===a.routeConfig}}let Aa=(()=>{class c extends ba{static#e=this.\u0275fac=function(){let a;return function(y){return(a||(a=l.n5z(c)))(y||c)}}();static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const No=new l.OlP("",{providedIn:"root",factory:()=>({})});let Os=(()=>{class c{static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:function(){return(0,l.f3M)(hu)},providedIn:"root"})}return c})(),hu=(()=>{class c{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,p){return a}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var Xn=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(Xn||{});function Ps(c,f){c.events.pipe((0,re.h)(a=>a instanceof un||a instanceof dn||a instanceof qr||a instanceof hr),(0,Mt.U)(a=>a instanceof un||a instanceof hr?Xn.COMPLETE:a instanceof dn&&(0===a.code||1===a.code)?Xn.REDIRECTING:Xn.FAILED),(0,re.h)(a=>a!==Xn.REDIRECTING),(0,Q.q)(1)).subscribe(()=>{f()})}function Ta(c){throw c}function Jt(c,f,a){return f.parse("/")}const Ns={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ro={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Xt=(()=>{class c{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,l.f3M)(l.c2e),this.isNgZoneEnabled=!1,this._events=new Qe.x,this.options=(0,l.f3M)(No,{optional:!0})||{},this.pendingTasks=(0,l.f3M)(l.HDt),this.errorHandler=this.options.errorHandler||Ta,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Jt,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,l.f3M)(Os),this.routeReuseStrategy=(0,l.f3M)(fu),this.titleStrategy=(0,l.f3M)(Pr),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,l.f3M)(It,{optional:!0})?.flat()??[],this.navigationTransitions=(0,l.f3M)(Vn),this.urlSerializer=(0,l.f3M)(rr),this.location=(0,l.f3M)(zt.Ye),this.componentInputBindingEnabled=!!(0,l.f3M)(sr,{optional:!0}),this.eventsSubscription=new Ye.w0,this.isNgZoneEnabled=(0,l.f3M)(l.R0b)instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new tn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Mr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(a=>{this.lastSuccessfulId=a.id,this.currentPageId=this.browserPageId},a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const a=this.navigationTransitions.events.subscribe(p=>{try{const{currentTransition:y}=this.navigationTransitions;if(null===y)return void(Rs(p)&&this._events.next(p));if(p instanceof ci)yr(y.source)&&(this.browserUrlTree=y.extractedUrl);else if(p instanceof hr)this.rawUrlTree=y.rawUrl;else if(p instanceof Jr){if("eager"===this.urlUpdateStrategy){if(!y.extras.skipLocationChange){const I=this.urlHandlingStrategy.merge(y.urlAfterRedirects,y.rawUrl);this.setBrowserUrl(I,y)}this.browserUrlTree=y.urlAfterRedirects}}else if(p instanceof Fr)this.currentUrlTree=y.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(y.urlAfterRedirects,y.rawUrl),this.routerState=y.targetRouterState,"deferred"===this.urlUpdateStrategy&&(y.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,y),this.browserUrlTree=y.urlAfterRedirects);else if(p instanceof dn)0!==p.code&&1!==p.code&&(this.navigated=!0),(3===p.code||2===p.code)&&this.restoreHistory(y);else if(p instanceof hi){const I=this.urlHandlingStrategy.merge(p.url,y.currentRawUrl),P={skipLocationChange:y.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yr(y.source)};this.scheduleNavigation(I,Zr,null,P,{resolve:y.resolve,reject:y.reject,promise:y.promise})}p instanceof qr&&this.restoreHistory(y,!0),p instanceof un&&(this.navigated=!0),Rs(p)&&this._events.next(p)}catch(y){this.navigationTransitions.transitionAbortSubject.next(y)}});this.eventsSubscription.add(a)}resetRootComponentType(a){this.routerState.root.component=a,this.navigationTransitions.rootComponentType=a}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const a=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Zr,a)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(a=>{const p="popstate"===a.type?"popstate":"hashchange";"popstate"===p&&setTimeout(()=>{this.navigateToSyncWithBrowser(a.url,p,a.state)},0)}))}navigateToSyncWithBrowser(a,p,y){const I={replaceUrl:!0},P=y?.navigationId?y:null;if(y){const K={...y};delete K.navigationId,delete K.\u0275routerPageId,0!==Object.keys(K).length&&(I.state=K)}const X=this.parseUrl(a);this.scheduleNavigation(X,p,P,I)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(a){this.config=a.map($r),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,this.eventsSubscription.unsubscribe()}createUrlTree(a,p={}){const{relativeTo:y,queryParams:I,fragment:P,queryParamsHandling:X,preserveFragment:K}=p,we=K?this.currentUrlTree.fragment:P;let Ht,at=null;switch(X){case"merge":at={...this.currentUrlTree.queryParams,...I};break;case"preserve":at=this.currentUrlTree.queryParams;break;default:at=I||null}null!==at&&(at=this.removeEmptyProps(at));try{Ht=Hn(y?y.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof a[0]||!a[0].startsWith("/"))&&(a=[]),Ht=this.currentUrlTree.root}return pn(Ht,a,at,we??null)}navigateByUrl(a,p={skipLocationChange:!1}){const y=an(a)?a:this.parseUrl(a),I=this.urlHandlingStrategy.merge(y,this.rawUrlTree);return this.scheduleNavigation(I,Zr,null,p)}navigate(a,p={skipLocationChange:!1}){return function pu(c){for(let f=0;f{const I=a[y];return null!=I&&(p[y]=I),p},{})}scheduleNavigation(a,p,y,I,P){if(this.disposed)return Promise.resolve(!1);let X,K,we;P?(X=P.resolve,K=P.reject,we=P.promise):we=new Promise((Ht,St)=>{X=Ht,K=St});const at=this.pendingTasks.add();return Ps(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(at))}),this.navigationTransitions.handleNavigationRequest({source:p,restoredState:y,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:a,extras:I,resolve:X,reject:K,promise:we,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),we.catch(Ht=>Promise.reject(Ht))}setBrowserUrl(a,p){const y=this.urlSerializer.serialize(a);if(this.location.isCurrentPathEqualTo(y)||p.extras.replaceUrl){const P={...p.extras.state,...this.generateNgRouterState(p.id,this.browserPageId)};this.location.replaceState(y,"",P)}else{const I={...p.extras.state,...this.generateNgRouterState(p.id,this.browserPageId+1)};this.location.go(y,"",I)}}restoreHistory(a,p=!1){if("computed"===this.canceledNavigationResolution){const I=this.currentPageId-this.browserPageId;0!==I?this.location.historyGo(I):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===I&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(p&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(a,p){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:p}:{navigationId:a}}static#e=this.\u0275fac=function(p){return new(p||c)};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Rs(c){return!(c instanceof Fr||c instanceof hi)}let ti=(()=>{class c{constructor(a,p,y,I,P,X){this.router=a,this.route=p,this.tabIndexAttribute=y,this.renderer=I,this.el=P,this.locationStrategy=X,this.href=null,this.commands=null,this.onChanges=new Qe.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const K=P.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===K||"area"===K,this.isAnchorElement?this.subscription=a.events.subscribe(we=>{we instanceof un&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(a){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",a)}ngOnChanges(a){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(a){null!=a?(this.commands=Array.isArray(a)?a:[a],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(a,p,y,I,P){return!!(null===this.urlTree||this.isAnchorElement&&(0!==a||p||y||I||P||"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 a=null===this.href?null:(0,l.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",a)}applyAttributeValue(a,p){const y=this.renderer,I=this.el.nativeElement;null!==p?y.setAttribute(I,a,p):y.removeAttribute(I,a)}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})}static#e=this.\u0275fac=function(p){return new(p||c)(l.Y36(Xt),l.Y36(Sr),l.$8M("tabindex"),l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(zt.S$))};static#t=this.\u0275dir=l.lG2({type:c,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(p,y){1&p&&l.NdJ("click",function(P){return y.onClick(P.button,P.ctrlKey,P.shiftKey,P.altKey,P.metaKey)}),2&p&&l.uIk("target",y.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",l.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",l.VuI],replaceUrl:["replaceUrl","replaceUrl",l.VuI],routerLink:"routerLink"},standalone:!0,features:[l.Xq5,l.TTD]})}return c})(),Qn=(()=>{class c{get isActive(){return this._isActive}constructor(a,p,y,I,P){this.router=a,this.element=p,this.renderer=y,this.cdr=I,this.link=P,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new l.vpe,this.routerEventsSubscription=a.events.subscribe(X=>{X instanceof un&&this.update()})}ngAfterContentInit(){(0,B.of)(this.links.changes,(0,B.of)(null)).pipe((0,Xe.J)()).subscribe(a=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const a=[...this.links.toArray(),this.link].filter(p=>!!p).map(p=>p.onChanges);this.linkInputChangesSubscription=(0,j.D)(a).pipe((0,Xe.J)()).subscribe(p=>{this._isActive!==this.isLinkActive(this.router)(p)&&this.update()})}set routerLinkActive(a){const p=Array.isArray(a)?a:a.split(" ");this.classes=p.filter(y=>!!y)}ngOnChanges(a){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const a=this.hasActiveLinks();this._isActive!==a&&(this._isActive=a,this.cdr.markForCheck(),this.classes.forEach(p=>{a?this.renderer.addClass(this.element.nativeElement,p):this.renderer.removeClass(this.element.nativeElement,p)}),a&&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(a))})}isLinkActive(a){const p=function gu(c){return!!c.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return y=>!!y.urlTree&&a.isActive(y.urlTree,p)}hasActiveLinks(){const a=this.isLinkActive(this.router);return this.link&&a(this.link)||this.links.some(a)}static#e=this.\u0275fac=function(p){return new(p||c)(l.Y36(Xt),l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(l.sBO),l.Y36(ti,8))};static#t=this.\u0275dir=l.lG2({type:c,selectors:[["","routerLinkActive",""]],contentQueries:function(p,y,I){if(1&p&&l.Suo(I,ti,5),2&p){let P;l.iGM(P=l.CRH())&&(y.links=P)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[l.TTD]})}return c})();class Oa{}let Pa=(()=>{class c{constructor(a,p,y,I,P){this.router=a,this.injector=y,this.preloadingStrategy=I,this.loader=P}setUpPreloading(){this.subscription=this.router.events.pipe((0,re.h)(a=>a instanceof un),(0,Lt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,p){const y=[];for(const I of p){I.providers&&!I._injector&&(I._injector=(0,l.MMx)(I.providers,a,`Route: ${I.path}`));const P=I._injector??a,X=I._loadedInjector??P;(I.loadChildren&&!I._loadedRoutes&&void 0===I.canLoad||I.loadComponent&&!I._loadedComponent)&&y.push(this.preloadConfig(P,I)),(I.children||I._loadedRoutes)&&y.push(this.processRoutes(X,I.children??I._loadedRoutes))}return(0,j.D)(y).pipe((0,Xe.J)())}preloadConfig(a,p){return this.preloadingStrategy.preload(p,()=>{let y;y=p.loadChildren&&void 0===p.canLoad?this.loader.loadChildren(a,p):(0,B.of)(null);const I=y.pipe((0,ne.z)(P=>null===P?(0,B.of)(void 0):(p._loadedRoutes=P.routes,p._loadedInjector=P.injector,this.processRoutes(P.injector??a,P.routes))));if(p.loadComponent&&!p._loadedComponent){const P=this.loader.loadComponent(p);return(0,j.D)([I,P]).pipe((0,Xe.J)())}return I})}static#e=this.\u0275fac=function(p){return new(p||c)(l.LFG(Xt),l.LFG(l.Sil),l.LFG(l.lqb),l.LFG(Oa),l.LFG(hn))};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const xs=new l.OlP("");let Fs=(()=>{class c{constructor(a,p,y,I,P={}){this.urlSerializer=a,this.transitions=p,this.viewportScroller=y,this.zone=I,this.options=P,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},P.scrollPositionRestoration=P.scrollPositionRestoration||"disabled",P.anchorScrolling=P.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(a=>{a instanceof ci?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof un?(this.lastId=a.id,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.urlAfterRedirects).fragment)):a instanceof hr&&0===a.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof fi&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,p){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new fi(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,p))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(p){l.$Z()};static#t=this.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac})}return c})();function ni(c,f){return{\u0275kind:c,\u0275providers:f}}function Na(){const c=(0,l.f3M)(l.zs3);return f=>{const a=c.get(l.z2F);if(f!==a.components[0])return;const p=c.get(Xt),y=c.get(Ra);1===c.get(xo)&&p.initialNavigation(),c.get(xa,null,l.XFs.Optional)?.setUpPreloading(),c.get(xs,null,l.XFs.Optional)?.init(),p.resetRootComponentType(a.componentTypes[0]),y.closed||(y.next(),y.complete(),y.unsubscribe())}}const Ra=new l.OlP("",{factory:()=>new Qe.x}),xo=new l.OlP("",{providedIn:"root",factory:()=>1}),xa=new l.OlP("");function Du(c){return ni(0,[{provide:xa,useExisting:Pa},{provide:Oa,useExisting:c}])}const Tn=new l.OlP("ROUTER_FORROOT_GUARD"),La=[zt.Ye,{provide:rr,useClass:cr},Xt,dt,{provide:Sr,useFactory:function Ls(c){return c.routerState.root},deps:[Xt]},hn,[]];function vo(){return new l.PXZ("Router",Xt)}let jr=(()=>{class c{constructor(a){}static forRoot(a,p){return{ngModule:c,providers:[La,[],{provide:It,multi:!0,useValue:a},{provide:Tn,useFactory:tf,deps:[[Xt,new l.FiY,new l.tp0]]},{provide:No,useValue:p||{}},p?.useHash?{provide:zt.S$,useClass:zt.Do}:{provide:zt.S$,useClass:zt.b0},{provide:xs,useFactory:()=>{const c=(0,l.f3M)(zt.EM),f=(0,l.f3M)(l.R0b),a=(0,l.f3M)(No),p=(0,l.f3M)(Vn),y=(0,l.f3M)(rr);return a.scrollOffset&&c.setOffset(a.scrollOffset),new Fs(y,p,c,f,a)}},p?.preloadingStrategy?Du(p.preloadingStrategy).\u0275providers:[],{provide:l.PXZ,multi:!0,useFactory:vo},p?.initialNavigation?ka(p):[],p?.bindToComponentInputs?ni(8,[nt,{provide:sr,useExisting:nt}]).\u0275providers:[],[{provide:Un,useFactory:Na},{provide:l.tb,multi:!0,useExisting:Un}]]}}static forChild(a){return{ngModule:c,providers:[{provide:It,multi:!0,useValue:a}]}}static#e=this.\u0275fac=function(p){return new(p||c)(l.LFG(Tn,8))};static#t=this.\u0275mod=l.oAB({type:c});static#n=this.\u0275inj=l.cJS({})}return c})();function tf(c){return"guarded"}function ka(c){return["disabled"===c.initialNavigation?ni(3,[{provide:l.ip1,multi:!0,useFactory:()=>{const f=(0,l.f3M)(Xt);return()=>{f.setUpLocationChangeListener()}}},{provide:xo,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?ni(2,[{provide:xo,useValue:0},{provide:l.ip1,multi:!0,deps:[l.zs3],useFactory:f=>{const a=f.get(zt.V_,Promise.resolve());return()=>a.then(()=>new Promise(p=>{const y=f.get(Xt),I=f.get(Ra);Ps(y,()=>{p(!0)}),f.get(Vn).afterPreactivation=()=>(p(!0),I.closed?(0,B.of)(void 0):I),y.initialNavigation()}))}}]).\u0275providers:[]]}const Un=new l.OlP("")},7582:(Ue,oe,S)=>{function ue(Q,q,re,ne){return new(re||(re=Promise))(function(pe,qe){function ut(vt){try{ke(ne.next(vt))}catch(kt){qe(kt)}}function Lt(vt){try{ke(ne.throw(vt))}catch(kt){qe(kt)}}function ke(vt){vt.done?pe(vt.value):function me(pe){return pe instanceof re?pe:new re(function(qe){qe(pe)})}(vt.value).then(ut,Lt)}ke((ne=ne.apply(Q,q||[])).next())})}function Ie(Q){return this instanceof Ie?(this.v=Q,this):new Ie(Q)}function Ce(Q,q,re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,ne=re.apply(Q,q||[]),pe=[];return me={},qe("next"),qe("throw"),qe("return"),me[Symbol.asyncIterator]=function(){return this},me;function qe(rt){ne[rt]&&(me[rt]=function(At){return new Promise(function(Nt,W){pe.push([rt,At,Nt,W])>1||ut(rt,At)})})}function ut(rt,At){try{!function Lt(rt){rt.value instanceof Ie?Promise.resolve(rt.value.v).then(ke,vt):kt(pe[0][2],rt)}(ne[rt](At))}catch(Nt){kt(pe[0][3],Nt)}}function ke(rt){ut("next",rt)}function vt(rt){ut("throw",rt)}function kt(rt,At){rt(At),pe.shift(),pe.length&&ut(pe[0][0],pe[0][1])}}function Ee(Q){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var re,q=Q[Symbol.asyncIterator];return q?q.call(Q):(Q=function ht(Q){var q="function"==typeof Symbol&&Symbol.iterator,re=q&&Q[q],ne=0;if(re)return re.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&ne>=Q.length&&(Q=void 0),{value:Q&&Q[ne++],done:!Q}}};throw new TypeError(q?"Object is not iterable.":"Symbol.iterator is not defined.")}(Q),re={},ne("next"),ne("throw"),ne("return"),re[Symbol.asyncIterator]=function(){return this},re);function ne(pe){re[pe]=Q[pe]&&function(qe){return new Promise(function(ut,Lt){!function me(pe,qe,ut,Lt){Promise.resolve(Lt).then(function(ke){pe({value:ke,done:ut})},qe)}(ut,Lt,(qe=Q[pe](qe)).done,qe.value)})}}}S.d(oe,{FC:()=>Ce,KL:()=>Ee,mG:()=>ue,qq:()=>Ie}),"function"==typeof SuppressedError&&SuppressedError}},Ue=>{Ue(Ue.s=2320)}]); \ No newline at end of file diff --git a/redeploy.sh b/redeploy.sh new file mode 100755 index 00000000..b18f71cd --- /dev/null +++ b/redeploy.sh @@ -0,0 +1,20 @@ +cd ~/git/github/dovholuknf/edgex/clean/edgex-compose +docker compose stop ui +docker compose rm -f ui + +docker images -q "edgexfoundry/edgex-ui:*" | xargs docker rmi -f +docker images -q "edgexfoundry/edgex-web-ui:*" | xargs docker rmi -f + +cd ~/git/github/dovholuknf/edgex/clean/edgex-ui-go/web +rm -r dist/web/ +make build + +cd ~/git/github/dovholuknf/edgex/clean/edgex-ui-go +make web +make docker + +echo "Update docker compose with image: edgexfoundry/edgex-ui:0.0.0-dev" + +cd ~/git/github/dovholuknf/edgex/clean/edgex-compose +docker compose up -d ui +docker compose logs -f ui \ No newline at end of file