PageSourceSearch

https://dongten.net/main.affde4de16ffa892.js

js dongten.net collected 2026-10-02 11:27:10 UTC 706,054 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdongten=self.webpackChunkdongten||[]).push([[792],{6571:(st,Oe,T)=>{T.d(Oe,{d:()=>W});var i=T(177),Y=T(3732),l=T(7705);let W=(()=>{class te{static{this.\u0275fac=function(he){return new(he||te)}}static{this.\u0275mod=l.$C({type:te})}static{this.\u0275inj=l.G2t({imports:[i.MD,Y.A]})}}return te})()},1652:(st,Oe,T)=>{T.d(Oe,{A:()=>Y});var i=T(7705);let Y=(()=>{class l{transform(te,ce=300){if(!te)return;const me=Object.entries(te).filter(([ie,z])=>/^url_w(\d+)$/.test(ie)&&"string"==typeof z).map(([ie,z])=>({width:parseInt(ie.replace("url_w",""),10),url:z})).sort((ie,z)=>ie.width-z.width),he=me.find(ie=>ie.width>=ce);if(he)return he.url;const ae=[...me].reverse().find(ie=>ie.width<ce);return ae?ae.url:void 0}static{this.\u0275fac=function(ce){return new(ce||l)}}static{this.\u0275pipe=i.EJ8({name:"bestImage",type:l,pure:!0})}}return l})()},3732:(st,Oe,T)=>{T.d(Oe,{A:()=>Y});var i=T(7705);let Y=(()=>{class l{static{this.\u0275fac=function(ce){return new(ce||l)}}static{this.\u0275mod=i.$C({type:l})}static{this.\u0275inj=i.G2t({})}}return l})()},573:(st,Oe,T)=>{T.d(Oe,{c:()=>Y});var i=T(7705);let Y=(()=>{class l{transform(te){return te&&0!==te.length?[...te].sort((ce,me)=>(ce?.menu_item_order??0)-(me?.menu_item_order??0)):[]}static{this.\u0275fac=function(ce){return new(ce||l)}}static{this.\u0275pipe=i.EJ8({name:"sortByOrder",type:l,pure:!0})}}return l})()},1095:(st,Oe,T)=>{T.d(Oe,{$:()=>he});var i=T(7705),Y=T(177),l=T(4412),W=T(6354),te=T(5312),ce=T(5869),me=T(1626);let he=(()=>{class ae{constructor(z,J){this._http=z,this.platformId=J,this.currentUserSubject=new l.t(null);let K=null;try{const X=(0,Y.UE)(this.platformId)?localStorage.getItem(ce.UO.CURRENT_USER):null;K=X?JSON.parse(X):null}catch{K=null}this.currentUserSubject=new l.t(K),this.currentUser=this.currentUserSubject.asObservable()}get currentUserValue(){return this.currentUserSubject.value}set theUser(z){if((0,Y.UE)(this.platformId)){this.currentUserSubject.next(z);try{z?localStorage.setItem(ce.UO.CURRENT_USER,JSON.stringify(z)):localStorage.removeItem(ce.UO.CURRENT_USER)}catch{}}}login(z){return this._http.post(`${te.c.apiUrl}/user/login`,z)}loginOauth(z){return this._http.post(`${te.c.apiUrl}/user/login-oauth`,z,{observe:"response"}).pipe((0,W.T)(J=>{const K=J&&J.body?J.body:J,X=K?.data??K?.user??K,be=X?.token??X?.access_token??K?.token??K?.access_token;if(!X)return null;const _e=Object.assign({},X);if(be&&(_e.token=be),!_e.auth_by&&z?.type&&(_e.auth_by=z.type),!_e.username&&_e.email&&(_e.username=_e.email),_e.name=_e.name??_e.displayName??"",_e.image=_e.image??_e.avatar??_e.picture??"",_e&&_e.token)try{this.theUser=_e}catch{try{(0,Y.UE)(this.platformId)&&localStorage.setItem(ce.UO.CURRENT_USER,JSON.stringify(_e))}catch{}try{this.currentUserSubject.next(_e)}catch{}}return _e}))}loginGoogleMock(z){const J={id:z.sub||Date.now(),name:z.name,email:z.email,token:z.credential,image:z.picture,create_at:(new Date).toISOString(),provider:"google"};return(0,Y.UE)(this.platformId)&&localStorage.setItem(ce.UO.CURRENT_USER,JSON.stringify(J)),this.currentUserSubject.next(J),J}logout(){if(this.theUser=null,(0,Y.UE)(this.platformId))try{localStorage.removeItem(ce.UO.CURRENT_USER),sessionStorage.removeItem("app_return_url")}catch{}}static{this.\u0275fac=function(J){return new(J||ae)(i.KVO(me.Qq),i.KVO(i.Agw))}}static{this.\u0275prov=i.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})()},1767:(st,Oe,T)=>{T.d(Oe,{x:()=>ie});var i=T(5312),Y=T(7673),l=T(4668),W=T(980),te=T(9437),ce=T(7705),me=T(1626),he=T(5819),ae=T(1095);let ie=(()=>{class z{constructor(K,X,be){this._http=K,this.followService=X,this.authenService=be,this._followCountInflight=new Map,this._followCountCache=new Map,this._isFollowingInflight=new Map,this._isFollowingCache=new Map,this._itemDetailCache=new Map,this._itemDetailInflight=new Map,this._taxonomyItemsInflight=new Map;try{this.followService.onChange().subscribe(_e=>{try{if(!_e||!0===_e.preliminary)return;if(typeof _e.followers_count<"u"||typeof _e.userId<"u"){try{this.clearFollowCountCache(_e.userId??_e.userKey??_e.userName)}catch{}try{this.clearIsFollowingCache(_e.userId??_e.userKey??_e.userName)}catch{}}}catch{}})}catch{}}getAuthToken(){try{const K=this.authenService.currentUserValue,X=K?.token??K?.access_token;return"string"==typeof X?X.trim()||null:X?String(X):null}catch{return null}}clearIsFollowingCache(K){try{const X=String(K||"");this._isFollowingCache.delete(X)}catch{}}clearFollowCountCache(K){try{const X=String(K||"");this._followCountCache.delete(X)}catch{}}getListTaxonomy(K=null){return this._http.get(`${i.c.apiUrl}/taxonomy`,{params:K})}getDetailTaxonomy(K=null){return this._http.get(`${i.c.apiUrl}/taxonomy/detail`,{params:K})}
1getItemsByGroup(K=null){return this._http.get(`${i.c.apiUrl}/cms-group/items`,{params:K})}getTaxonomiesByGroup(K=null){return this._http.get(`${i.c.apiUrl}/cms-group/taxonomies`,{params:K})}getItemsByTaxonomy(K=null){const X=this.buildRequestKey("taxonomy/items",K),be=this._taxonomyItemsInflight.get(X);if(be)return be;const _e=this._http.get(`${i.c.apiUrl}/taxonomy/items`,{params:K}).pipe((0,l.t)(1),(0,W.j)(()=>{this._taxonomyItemsInflight.delete(X)}));return this._taxonomyItemsInflight.set(X,_e),_e}buildRequestKey(K,X=null){if(!X)return K;const be=Object.keys(X).sort().reduce((_e,Le)=>{const tt=X[Le];return null!=tt&&(_e[Le]=tt),_e},{});return`${K}:${JSON.stringify(be)}`}getDetailItem(K,X,be=!1){const _e=`${X}::${K}`;if(!be&&this._itemDetailCache.has(_e))return(0,Y.of)(this._itemDetailCache.get(_e));const Le=this._itemDetailInflight.get(_e);if(Le)return Le;const tt=this._http.get(`${i.c.apiUrl}/item/detail`,{params:{slug:K,item_type:X}}).pipe((0,l.t)(1),(0,W.j)(()=>{this._itemDetailInflight.delete(_e)}));return this._itemDetailInflight.set(_e,tt),tt.subscribe({next:Et=>{this._itemDetailCache.set(_e,Et)},error:()=>{}}),tt}clearItemDetailCache(K,X){const be=`${X}::${K}`;this._itemDetailCache.delete(be),this._itemDetailInflight.delete(be)}clearAllItemDetailCache(){this._itemDetailCache.clear(),this._itemDetailInflight.clear()}postComment(K){return this._http.post(`${i.c.apiUrl}/comment`,K)}getAllItems(K){return this._http.get(`${i.c.apiUrl}/item`,{params:K})}getComments(K,X){return this._http.get(`${i.c.apiUrl}/item/${K}/comments`,{params:X})}getNewestPodcast(K=null){return this._http.get(`${i.c.apiUrl}/podcast/newest`,{params:K})}getListEpisodePodcast(K=null){return this._http.get(`${i.c.apiUrl}/podcast/list-episode`,{params:K})}getListEpisodeBatchPodcast(K=null){return this._http.get(`${i.c.apiUrl}/podcast/list-episodes-batch`,{params:K})}getSingplePodcastEpisode(K=null){return this._http.get(`${i.c.apiUrl}/podcast/single-episode`,{params:K})}getNotifications(K=null){return this._http.get(`${i.c.apiUrl}/user/notifications`,{params:K})}getProfile(K=null){return this._http.get(`${i.c.apiUrl}/user/profile`)}updateProfile(K=null){return this._http.put(`${i.c.apiUrl}/user/profile`,K)}getSettings(K=null){return this._http.get(`${i.c.apiUrl}/setting`,{params:K})}getAuthors(K=null){return this._http.get(`${i.c.apiUrl}/user/authors-list`,{params:K})}getAllPosts(K,X={}){return this._http.get(`${i.c.apiUrl}/item/authors/${K}/posts`,{params:X})}getTeachers(K=null){return this._http.get(`${i.c.apiUrl}/user/teachers-list`,{params:K})}getPosters(K=null){return this._http.get(`${i.c.apiUrl}/user/posters-list`,{params:K})}getAllCourses(K,X={}){return this._http.get(`${i.c.apiUrl}/item/teachers/${K}/posts`,{params:X})}postCreatePost(K){return this._http.post(`${i.c.apiUrl}/item/post/create`,K)}createTag(K){return this._http.post(`${i.c.apiUrl}/tag/create`,K)}updateForumPost(K,X){return this._http.put(`${i.c.apiUrl}/item/forum/${K}`,X)}updatePost(K,X){return this._http.put(`${i.c.apiUrl}/item/${K}`,X)}postUploadFile(K){return this._http.post(`${i.c.apiUrl}/files/upload`,K)}postShare(K){return this._http.post(`${i.c.apiUrl}/item/share`,K)}likeItem(K){return this._http.post(`${i.c.apiUrl}/item/like`,K)}dislikeItem(K){return this._http.post(`${i.c.apiUrl}/item/dislike`,K)}followUser(K){return this._http.post(`${i.c.apiUrl}/user/follow`,K)}unfollowUser(K){return this._http.post(`${i.c.apiUrl}/user/unfollow`,K)}isFollowing(K){const X=String(K||"");if(!X)return(0,Y.of)({data:{is_following:!1}});if(!this.getAuthToken())return(0,Y.of)({data:{is_following:!1}});if(this._isFollowingCache.has(X))return(0,Y.of)(this._isFollowingCache.get(X));const be=this._isFollowingInflight.get(X);if(be)return be;const _e=`${i.c.apiUrl}/user/is-following/${encodeURIComponent(X)}`,Le=this._http.get(_e).pipe((0,l.t)(1),(0,W.j)(()=>{try{this._isFollowingInflight.delete(X)}catch{}}));return this._isFollowingInflight.set(X,Le),Le.subscribe({next:tt=>{try{this._isFollowingCache.set(X,tt)}catch{}},error:()=>{}}),Le}getFollowCount(K){const X=String(K||"");if(!X)return(0,Y.of)({data:null});if(!this.getAuthToken())return(0,Y.of)({data:null});if(this._followCountCache.has(X))return(0,Y.of)(this._followCountCache.get(X));const be=this._followCountInflight.get(X);if(be)return be;const _e=encodeURIComponent(String(K)),tt=this._http.get(`${i.c.apiUrl}/user/followers?user_id=${_e}`).pipe((0,l.t)(1),(0,W.j)(()=>{try{this._followCountInflight.delete(X)}catch{}}));return this._followCountInflight.set(X,tt),tt.subscribe({next:Et=>{try{this._followCountCache.set(X,Et)}catch{}},error:()=>{}}),tt}allPosts(K,X={}){return this._http.get(`${i.c.apiUrl}/item/users/${K}/posts`,{params:X})}getPosterPosts(K,X={}){return this._http.get(`${i.c.apiUrl}/item/posters/${K}/posts`,{params:X})}getUserDetail(K){return this._http.get(`${i.c.apiUrl}/item/users/${K}/posts`).pipe((0,te.W)(()=>(console.warn(`Failed to fetch user detail for userId: ${K}`),(0,Y.of)({data:null}))))}markNotificationAsRead(K){return this._http.post(`${i.c.apiUrl}/notification/mark-read`,{_id:K})}markMultipleNotificationsAsRead(K){return K.map(be=>this._http.post(`${i.c.apiUrl}/notification/mark-read`,{_id:be}))}getFlipbook(K){return this._http.get(`${i.c.apiUrl}/flipbooks/${K}`)}getDynamicContent(K,X,be,_e=!1){return this._http.get(`${i.c.apiUrl}/${_e?`${K}s`:K}/${X}`,be?{params:be}:{})}getPageData(K){return this._http.get(`${i.c.apiUrl}/page/${K}`)}subscribeNewsletter(K,X){return this._http.post(`${i.c.apiUrl}/newsletter`,{email:K})}deleteForumPost(K){return this._http.delete(`${i.c.apiUrl}/item/${K}`)}deleteComment(K){return this._http.delete(`${i.c.apiUrl}/comment/${K}`)}hideComment(K){return this._http.patch(`${i.c.apiUrl}/comment/${K}/hide`,{})}reportComment(K,X){return this._http.post(`${i.c.apiUrl}/comment/${K}/report`,{reason:X})}static{this.\u0275fac=function(X){return new(X||z)(ce.KVO(me.Qq),ce.KVO(he.$),ce.KVO(ae.$))}}static{this.\u0275prov=ce.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}}return z})()},3871:(st,Oe,T)=>{T.d(Oe,{h:()=>te});var i=T(5869),Y=T(4412),l=T(7705),W=T(177);let te=(()=>{class ce{constructor(he){this.platformId=he,this.homeDataSource=new Y.t({}),this.homeData$=this.homeDataSource.asObservable(),this.postCache=new Map,this.podcastCache=new Map,this.searchCache=new Map}updateHomeData(he){this.homeDataSource.next(he)}getPostDetailFromCache(he){return this.postCache.get(he)}updatePostDetailData(he){he&&he.slug&&this.postCache.set(he.slug,he)}getPodcastFromCache(he){return this.podcastCache.get(he)}updatePodcastCache(he,ae){he&&ae&&this.podcastCache.set(he,ae)}getSearchCache(he){return this.searchCache.get(he)}updateSearchCache(he,ae){he&&ae&&this.searchCache.set(he,ae)}isMobile(){return!!(0,W.UE)(this.platformId)&&!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}getCodeTelco(he){let ae="OTHER";return"0995"==he.substring(0,4)?ae=i.zY.VNM:["09968","09969"].indexOf(he.substring(0,5))>-1?ae=i.zY.VMS:["09960","09961","09962","09963","09964","09965","09966","09967","05981","05983","05985","05986","05987","05988","05989"].indexOf(he.substring(0,5))>-1||["0598292"].indexOf(he.substring(0,7))>-1?ae=i.zY.GSIM:["0592","0593","0599","0993","0994","0997"].indexOf(he.substring(0,4))>-1&&(ae=i.zY.VNP),ae}static{this.\u0275fac=function(ae){return new(ae||ce)(l.KVO(l.Agw))}}static{this.\u0275prov=l.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}}return ce})()},5819:(st,Oe,T)=>{T.d(Oe,{$:()=>me});var i=T(4412),Y=T(1413),l=T(1985),W=T(6354),te=T(3294),ce=T(7705);let me=(()=>{class he{constructor(){this._store=new Map,this._state$=new i.t(new Map),this._events$=new Y.B}get stream$(){return this._events$.asObservable()}emit(ie){try{const z=[];null!==ie.userId&&typeof ie.userId<"u"&&z.push(this._stringKey(String(ie.userId)
1)),null!==ie.userKey&&typeof ie.userKey<"u"&&z.push(this._stringKey(String(ie.userKey))),null!==ie.userName&&typeof ie.userName<"u"&&z.push(this._stringKey(String(ie.userName)));const J=Array.from(new Set(z.filter(_e=>""!==_e)));if(!J.length)return;let K;for(const _e of J){const Le=this._store.get(_e);if(Le){K=Le;break}}const X={userId:ie.userId??K?.userId,userKey:ie.userKey??K?.userKey,userName:ie.userName??K?.userName,isFollowing:"boolean"==typeof ie.isFollowing?ie.isFollowing:!!K?.isFollowing,followers_count:typeof ie.followers_count<"u"?ie.followers_count:K?.followers_count,preliminary:typeof ie.preliminary<"u"?ie.preliminary:K?.preliminary};if("number"==typeof X.followers_count&&(X.followers_count=Math.max(0,X.followers_count)),(()=>{if(!K)return!1;try{return K.userId===X.userId&&K.userKey===X.userKey&&K.userName===X.userName&&K.isFollowing===X.isFollowing&&K.followers_count===X.followers_count&&K.preliminary===X.preliminary}catch{return!1}})()){for(const _e of J)this._store.set(_e,X);try{console.debug("[FollowService] emit skipped (no-op duplicate) keys=",J)}catch{}return}try{X._ts=Date.now()}catch{}try{!0===X.preliminary&&(X._lockUntil=Date.now()+1500)}catch{}for(const _e of J)this._store.set(_e,X);this._state$.next(new Map(this._store)),this._events$.next(X)}catch{}}onChange(){return new l.c(ie=>
1{try{for(const J of Array.from(this._store.values()))try{ie.next(J)}catch{}}catch{}const z=this._events$.asObservable().subscribe({next:J=>ie.next(J),error:J=>ie.error(J)});return()=>{try{z.unsubscribe()}catch{}}})}selectUser(ie){const z=this._stringKey(String(ie||""));return this._state$.asObservable().pipe((0,W.T)(J=>J.get(z)),(0,te.F)((J,K)=>JSON.stringify(J)===JSON.stringify(K)))}getCurrent(ie){const z=this._stringKey(String(ie||"")),J=this._store.get(z);if(J)return J}_normalizeKey(ie){const z=ie.userId??ie.userKey??ie.userName??"";return null===z||typeof z>"u"?"":String(z)}_stringKey(ie){if(!ie)return"";const z=ie.toString().trim();return/^-?\d+$/.test(z)?String(Number(z)):z.toLowerCase()}static{this.\u0275fac=function(z){return new(z||he)}}static{this.\u0275prov=ce.jDH({token:he,factory:he.\u0275fac,providedIn:"root"})}}return he})()},4621:(st,Oe,T)=>{T.d(Oe,{$:()=>z});var i=T(7705),Y=T(177),l=T(4412),W=T(7673),te=T(5869),ce=T(6354),me=T(8141),he=T(4668),ae=T(345),ie=T(1767);let z=(()=>{class J{constructor(X,be,_e){this.cmsService=X,this.platformId=be,this.transferState=_e,this.rawMenuDataSubject=ne
1w l.t(null),this.rawMenuData$=this.rawMenuDataSubject.asObservable(),this.selectedCategorySubject=new l.t(null),this.selectedCategory$=this.selectedCategorySubject.asObservable(),this.isLoading=!1}loadMenuData(){if(this.rawMenuDataSubject.value||this.isLoading)return;const X="menu_data",_e=(0,Y.UE)(this.platformId)?sessionStorage.getItem(X):null;if(_e){const Le=JSON.parse(_e);if(Date.now()-Le.timestamp<6e5)return void this.rawMenuDataSubject.next(Le.data);(0,Y.UE)(this.platformId)&&sessionStorage.removeItem(X)}this.isLoading=!0,this.cmsService.getTaxonomiesByGroup({code:te.ss.MAIN_MENU,item_type:te.QC.MENU,page_size:20}).subscribe(Le=>{this.rawMenuDataSubject.next(Le.data.items),this.isLoading=!1,(0,Y.UE)(this.platformId)&&sessionStorage.setItem(X,JSON.stringify({data:Le.data.items,timestamp:Date.now()}))})}getMenuSSR(){const X=(0,ae.zw)("menu_data"),be="menu_data";if(this.rawMenuDataSubject.value)return(0,W.of)(this.rawMenuDataSubject.value);if((0,Y.UE)(this.platformId)){const Le=this.transferState.get(X,null);if(Le)return this.rawMenuDataSubject.next(Le),this.transferState.remove(X),this.menu$=(0,W.of)(Le),this.menu$;try{const tt=sessionStorage.getItem(be);if(tt){const Et=JSON.parse(tt);if(Date.now()-Et.timestamp<6e5)return this.rawMenuDataSubject.next(Et.data),this.menu$=(0,W.of)(Et.data),this.menu$;sessionStorage.removeItem(be)}}catch{}}return this.menu$||(this.menu$=this.cmsService.getTaxonomiesByGroup({code:te.ss.MAIN_MENU,item_type:te.QC.MENU,page_size:20}).pipe((0,ce.T)(Le=>Le.data.items),(0,me.M)(Le=>{if(this.rawMenuDataSubject.next(Le),!(0,Y.UE)(this.platformId))try{this.transferState.set(X,Le)}catch{}if((0,Y.UE)(this.platformId))try{sessionStorage.setItem(be,JSON.stringify({data:Le,timestamp:Date.now()}))}catch{}}),(0,he.t)(1))),this.menu$}setSelectedCategory(X){this.selectedCategorySubject.next(X)}getSelectedCategory(){return this.selectedCategorySubject.value}findCategoryBySlug(X){const be=this.rawMenuDataSubject.value;if(!be)return null;for(const _e of be){if(_e.slug===X)return _e;if(_e.childs){const Le=this.findInChilds(_e.childs,X);if(Le)return Le}}return null}findInChilds(X,be){for(const _e of X){if(_e.slug===be)return _e;if(_e.childs){const Le=this.findInChilds(_e.childs,be);if(Le)return Le}}return null}static{this.\u0275fac=function(be){return new(be||J)(i.KVO(ie.x),i.KVO(i.Agw),i.KVO(ae.pJ))}}static{this.\u0275prov=i.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}}return J})()},9561:(st,Oe,T)=>{T.d(Oe,{O:()=>W});var i=T(7705),Y=T(177),l=T(4412);let W=(()=>{class te{static{this.DEDUPE_LIMIT=50}constructor(me){this.platformId=me,this.STORAGE_KEY="notification_viewed_at",this.avatarBadgeCountSubject=new l.t(0),this.avatarBadgeCount$=this.avatarBadgeCountSubject.asObservable(),this.realUnreadCountSubject=new l.t(0),this.realUnreadCount$=this.realUnreadCountSubject.asObservable(),this.recentIds=new Set,this.checkAvatarViewedStatus()}checkAvatarViewedStatus(){(0,Y.UE)(this.platformId)&&localStorage.getItem(this.STORAGE_KEY)&&this.avatarBadgeCountSubject.next(0)}setRealUnreadCount(me){this.realUnreadCountSubject.next(me),this.avatarBadgeCountSubject.next(me)}incrementFromNewNotification(me){if(null!=me){if(this.recentIds.has(me))return;if(this.recentIds.add(me),this.recentIds.size>te.DEDUPE_LIMIT){const he=this.recentIds.values().next().value;void 0!==he&&this.recentIds.delete(he)}}(0,Y.UE)(this.platformId)&&localStorage.removeItem(this.STORAGE_KEY),this.avatarBadgeCountSubject.next(this.avatarBadgeCountSubject.value+1),this.realUnreadCountSubject.next(this.realUnreadCountSubject.value+1)}markAvatarAsViewed(){(0,Y.UE)(this.platformId)&&localStorage.setItem(this.STORAGE_KEY,(new Date).toISOString()),this.avatarBadgeCountSubject.next(0)}decrementRealCount(){const me=this.realUnreadCountSubject.value;me>0&&this.realUnreadCountSubject.next(me-1);const he=this.avatarBadgeCountSubject.value;he>0&&this.avatarBadgeCountSubject.next(he-1)}clearAll(){(0,Y.UE)(this.platformId)&&localStorage.removeItem(this.STORAGE_KEY),this.avatarBadgeCountSubject.next(0),this.realUnreadCountSubject.next(0)}static{this.\u0275fac=function(he){return new(he||te)(i.KVO(i.Agw))}}static{this.\u0275prov=i.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}}return te})()},9966:(st,Oe,T)=>{T.d(Oe,{s:()=>ce});var i=T(7705),Y=T(177),l=T(4412),W=T(4572),te=T(6354);let ce=(()=>{class me{getIsPlayingValue(){return this.isNativeAudioPlayingSubject.value||this.isSpotifyPlayingSubject.value}getResumeTimeValue(){return this.resumeTimeSubject.value}clearResumeTime(){this.resumeTimeSubject.next(0)}updateCurrentTime(ae){this.currentTimeSubject.next(ae),this.isSpotifyEmbedSubject.value&&ae>0&&!this.isResumingFromStorageSubject.value&&this.saveToStorage()}isResumingFromStorage(){return this.isResumingFromStorageSubject.value}clearResumingFromStorage(){this.isResumingFromStorageSubject.next(!1)}setSpotifyPlayingState(ae){this.isSpotifyPlayingSubject.next(ae)}constructor(ae){this.platformId=ae,this.audio=null,this.currentPodcast=null,this.currentTopic=null,this.isNativeAudioPlayingSubject=ne
1w l.t(!1),this.isSpotifyPlayingSubject=new l.t(!1),this.isPlaying$=(0,W.z)([this.isNativeAudioPlayingSubject.asObservable(),this.isSpotifyPlayingSubject.asObservable()]).pipe((0,te.T)(([ie,z])=>ie||z)),this.currentTimeSubject=new l.t(0),this.durationSubject=new l.t(0),this.currentPodcastSubject=new l.t(null),this.currentTopicSubject=new l.t(null),this.resumeTimeSubject=new l.t(0),this.isResumingFromStorageSubject=new l.t(!1),this.currentTime$=this.currentTimeSubject.asObservable(),this.duration$=this.durationSubject.asObservable(),this.showPopupSubject=new l.t(!1),this.showPopup$=this.showPopupSubject.asObservable(),this.currentPodcast$=this.currentPodcastSubject.asObservable(),this.currentTopic$=this.currentTopicSubject.asObservable(),this.resumeTime$=this.resumeTimeSubject.asObservable(),this.isSpotifyEmbedSubject=new l.t(!1),this.isSpotifyEmbed$=this.isSpotifyEmbedSubject.asObservable(),this.playlist=[],(0,Y.UE)(this.platformId)&&(this.loadFromStorage(),this.initAudio())}isSpotifyPodcast(ae){return!(!ae||ae.audio_url||!(ae.uri?.includes("spotify:episode:")||ae.external_urls?.spotify||ae.embed_url?.includes("spotify")||ae.spotify_uri))}initAudio(){this.audio||(this.audio=new Audio,this.audio.addEventListener("timeupdate",()=>{this.currentTimeSubject.next(this.audio.currentTime),this.saveToStorage()}),this.audio.addEventListener("loadedmetadata",()=>{this.durationSubject.next(this.audio.duration)}),this.audio.addEventListener("ended",()=>{this.isNativeAudioPlayingSubject.next(!1),this.playNextEpisode(),this.saveToStorage()}),this.audio.addEventListener("play",()=>{this.isNativeAudioPlayingSubject.next(!0),this.saveToStorage()}),this.audio.addEventListener("pause",()=>{this.isNativeAudioPlayingSubject.next(!1),this.saveToStorage()}))}playPodcast(ae,ie,z=[]){if(!(0,Y.UE)(this.platformId))return;this.audio&&(this.audio.pause(),this.audio.currentTime=0),this.isSpotifyPlayingSubject.next(!1),this.currentPodcast=ae,this.currentTopic=ie,this.currentPodcastSubject.next(ae),this.currentTopicSubject.next(ie),this.playlist=z;const J=this.isSpotifyPodcast(ae);if(this.isSpotifyEmbedSubject.next(J),J)return this.isSpotifyPlayingSubject.next(!0),this.showPopupSubject.next(!0),void this.saveToStorage();this.audio&&(this.audio.src=ae.audio_url,this.audio.load(),this.audio.play(),this.showPopupSubject.next(!0))}togglePlay(){if(this.isSpotifyEmbedSubject.value)return this.isSpotifyPlayingSubject.next(!this.isSpotifyPlayingSubject.value),void this.saveToStorage();this.audio&&(this.isNativeAudioPlayingSubject.value?this.audio.pause():this.audio.play())}playNextEpisode(){if(!this.playlist||0===this.playlist.length)return;const ae=this.playlist.findIndex(ie=>ie.id===this.currentPodcast.id);ae>=0&&ae<this.playlist.length-1?this.playPodcast(this.playlist[ae+1],this.currentTopic,this.playlist):(this.isSpotifyPlayingSubject.next(!1),this.isNativeAudioPlayingSubject.next(!1))}seekTo(ae){this.audio&&(this.audio.currentTime=ae)}closePopup(){this.showPopupSubject.next(!1),this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.audio.src=""),this.currentPodcast=null,this.currentTopic=null,this.playlist=[],this.currentPodcastSubject.next(null),this.currentTopicSubject.next(null),this.isNativeAudioPlayingSubject.next(!1),this.isSpotifyPlayingSubject.next(!1),this.resumeTimeSubject.next(0),this.currentTimeSubject.next(0),(0,Y.UE)(this.platformId)&&localStorage.removeItem("podcastState")}setPlaylist(ae){this.playlist=ae}hasPlaylist(){return this.playlist&&this.playlist.length>0}rewind(ae){this.audio&&(this.audio.currentTime=Math.max(0,this.audio.currentTime-ae))}forward(ae){this.audio&&(this.audio.currentTime=Math.min(this.audio.duration,this.audio.currentTime+ae))}seek(ae){if(!this.audio)return;const z=ae.target.getBoundingClientRect();this.audio.currentTime=(ae.clientX-z.left)/z.width*this.audio.duration}getCurrentPodcast(){return this.currentPodcast}getCurrentTopic(){return this.currentTopic}saveToStorage(){if(!(0,Y.UE)(this.platformId))return;const ae=this.isSpotifyPodcast(this.currentPodcast);localStorage.setItem("podcastState",JSON.stringify({podcast:this.currentPodcast,topic:this.currentTopic,playlist:this.playlist,currentTime:this.currentTimeSubject.value||0,isPlaying:this.isNativeAudioPlayingSubject.value||this.isSpotifyPlayingSubject.value,showPopup:this.showPopupSubject.value,isSpotifyEmbed:ae}))}loadFromStorage(){if(!(0,Y.UE)(this.platformId))return;const ae=localStorage.getItem("podcastState");if(ae){const ie=JSON.parse(ae);this.currentPodcast=ie.podcast,this.currentTopic=ie.topic,this.playlist=ie.playlist||[];const z=ie.currentTime||0,J=ie.isPlaying,K=ie.podcast?.audio_url,X=!K&&(this.isSpotifyPodcast(ie.podcast)||ie.isSpotifyEmbed);this.isSpotifyEmbedSubject.next(X),this.currentPodcastSubject.next(ie.podcast),this.currentTopicSubject.next(ie.topic),this.showPopupSubject.next(ie.showPopup),this.currentPodcast&&K||this.currentPodcast&&!X?setTimeout(()=>{this.audio&&this.currentPodcast?.audio_url&&(this.audio.src=this.currentPodcast.audio_url,this.audio.currentTime=z,J&&this.audio.play().catch(()=>{this.isNativeAudioPlayingSubject.next(!1)}))},10):this.currentPodcast&&X&&(this.isSpotifyPlayingSubject.next(!1),this.resumeTimeSubject.next(z),this.isResumingFromStorageSubject.next(!0),this.currentTimeSubject.next(z))}}static{this.\u0275fac=function(ie){return new(ie||me)(i.KVO(i.Agw))}}static{this.\u0275prov=i.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})()},2099:(st,Oe,T)=>{T.d(Oe,{L:()=>In});var i={};T.r(i),T.d(i,{Decoder:()=>Lt,Encoder:()=>dn,PacketType:()=>dt,isPacketValid:()=>nt,protocol:()=>xt});var Y=T(4412);const l=Object.create(null);l.open="0",l.close="1",l.ping="2",l.pong="3",l.message="4",l.upgrade="5",l.noop="6";
vendor: 2,634 bytes, line 1
1const W=Object.create(null);Object.keys(l).forEach($=>{W[l[$]]=$});const te={type:"error",data:"parser error"},ce="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),me="function"==typeof ArrayBuffer,he=$=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView($):$&&$.buffer instanceof ArrayBuffer,ae=({type:$,data:N},P,H)=>ce&&N instanceof Blob?P?H(N):ie(N,H):me&&(N instanceof ArrayBuffer||he(N))?P?H(N):ie(new Blob([N]),H):H(l[$]+(N||"")),ie=($,N)=>{const P=new FileReader;return P.onload=function(){const H=P.result.split(",")[1];N("b"+(H||""))},P.readAsDataURL($)};function z($){return $ instanceof Uint8Array?$:$ instanceof ArrayBuffer?new Uint8Array($):new Uint8Array($.buffer,$.byteOffset,$.byteLength)}let J;const be=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let $=0;$<64;$++)be["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt($)]=$;const tt="function"==typeof ArrayBuffer,Et=($,N)=>{if("string"!=typeof $)return{type:"message",data:oe($,N)};const P=$.charAt(0);return"b"===P?{type:"message",data:rt($.substring(1),N)}:W[P]?$.length>1?{type:W[P],data:$.substring(1)}:{type:W[P]}:te},rt=($,N)=>{if(tt){const P=($=>{let H,Ye,It,kt,on,N=.75*$.length,P=$.length,ye=0;"="===$[$.length-1]&&(N--,"="===$[$.length-2]&&N--);const Mi=new ArrayBuffer(N),ii=new Uint8Array(Mi);for(H=0;H<P;H+=4)Ye=be[$.charCodeAt(H)],It=be[$.charCodeAt(H+1)],kt=be[$.charCodeAt(H+2)],on=be[$.charCodeAt(H+3)],ii[ye++]=Ye<<2|It>>4,ii[ye++]=(15&It)<<4|kt>>2,ii[ye++]=(3&kt)<<6|63&on;return Mi})($);return oe(P,N)}return{base64:!0,data:$}},oe=($,N)=>"blob"===N?$ instanceof Blob?$:new Blob([$]):$ instanceof ArrayBuffer?$:$.buffer,Ce=String.fromCharCode(30);let Xe;function bt($){return $.reduce((N,P)=>N+P.length,0)}function Mt($,N){if($[0].length===N)return $.shift();const P=new Uint8Array(N);let H=0;for(let ye=0;ye<N;ye++)P[ye]=$[0][H++],H===$[0].length&&($.shift(),H=0);return $.length&&H<$[0].length&&($[0]=$[0].slice(H)),P}function ln($){if($)return function gi($){for(var N in ln.prototype)$[N]=ln.prototype[N];return $}($)}ln.prototype.on=ln.prototype.addEventListener=function($,N){return this._callbacks=this._callbacks||{},(this._callbacks["$"+$]=this._callbacks["$"+$]||[]).push(N),this},ln.prototype.once=function($,N){function P(){this.off($,P),N.apply(this,arguments)}return P.fn=N,this.on($,P),this},ln.prototype.off=ln.prototype.removeListener=ln.prototype.removeAllListeners=ln.prototype.removeEventListener=function($,N){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var P=this._callbacks["$"+$];
1if(!P)return this;if(1==arguments.length)return delete this._callbacks["$"+$],this;for(var H,ye=0;ye<P.length;ye++)if((H=P[ye])===N||H.fn===N){P.splice(ye,1);break}return 0===P.length&&delete this._callbacks["$"+$],this},ln.prototype.emitReserved=ln.prototype.emit=function($){this._callbacks=this._callbacks||{};for(var N=new Array(arguments.length-1),P=this._callbacks["$"+$],H=1;H<arguments.length;H++)N[H-1]=arguments[H];if(P){H=0;for(var ye=(P=P.slice(0)).length;H<ye;++H)P[H].apply(this,N)}return this},ln.prototype.listeners=function($){return this._callbacks=this._callbacks||{},this._callbacks["$"+$]||[]},ln.prototype.hasListeners=function($){return!!this.listeners($).length};const Pn="function"==typeof Promise&&"function"==typeof Promise.resolve?N=>Promise.resolve().then(N):(N,P)=>P(N,0),jn=typeof self<"u"?self:typeof window<"u"?window:Function("return this")();function ki($,...N){return N.reduce((P,H)=>($.hasOwnProperty(H)&&(P[H]=$[H]),P),{})}const Re=jn.setTimeout,ge=jn.clearTimeout;function Ee($,N){N.useNativeTimers?($.setTimeoutFn=Re.bind(jn),$.clearTimeoutFn=ge.bind(jn)):($.setTimeoutFn=jn.setTimeout.bind(jn),$.clearTimeoutFn=jn.clearTimeout.bind(jn))}function ne($){return"string"==typeof $?function ue($){let N=0,P=0;for(let H=0,ye=$.length;H<ye;H++)N=$.charCodeAt(H),N<128?P+=1:N<2048?P+=2:N<55296||N>=57344?P+=3:(H++,P+=4);return P}($):Math.ceil(1.33*($.byteLength||$.size))}function Ue(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}class ht extends Error{constructor(N,P,H){super(N),this.description=P,this.context=H,this.type="TransportError"}}class Ot extends ln{constructor(N){super(),this.writable=!1,Ee(this,N),this.opts=N,this.query=N.query,this.socket=N.socket,this.supportsBinary=!N.forceBase64}onError(N,P,H){return super.emitReserved("error",new ht(N,P,H)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(N){"open"===this.readyState&&this.write(N)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(N){const P=Et(N,this.socket.binaryType);this.onPacket(P)}onPacket(N){super.emitReserved("packet",N)}onClose(N){this.readyState="closed",super.emitReserved("close",N)}pause(N){}createUri(N,P={}){return N+"://"+this._hostname()+this._port()+this.opts.path+this._query(P)}_hostname(){const N=this.opts.hostname;return-1===N.indexOf(":")?N:"["+N+"]"}_port(){return this.opts.port&&(this.opts.secure&&443!==Number(this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(N){const P=function Ut($){let N="";for(let P in $)$.hasOwnProperty(P)&&(N.length&&(N+="&"),N+=encodeURIComponent(P)+"="+encodeURIComponent($[P]));return N}(N);return P.length?"?"+P:""}}class jt extends Ot{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(N){this.readyState="pausing";const P=()=>{this.readyState="paused",N()};if(this._polling||!this.writable){let H=0;this._polling&&(H++,this.once("pollComplete",function(){--H||P()})),this.writable||(H++,this.once("drain",function(){--H||P()}))}else P()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(N){(($,N)=>{const P=$.split(Ce),H=[];for(let ye=0;ye<P.length;ye++){const Ye=Et(P[ye],N);if(H.push(Ye),"error"===Ye.type)break}return H})(N,this.socket.binaryType).forEach(H=>{if("opening"===this.readyState&&"open"===H.type&&this.onOpen(),"close"===H.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(H)}),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){const N=()=>{this.write([{type:"close"}])};"open"===this.readyState?N():this.once("open",N)}write(N){this.writable=!1,(($,N)=>{const P=$.length,H=new Array(P);let ye=0;$.forEach((Ye,It)=>{ae(Ye,!1,kt=>{H[It]=kt,++ye===P&&N(H.join(Ce))})})})(N,P=>{this.doWrite(P,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const N=this.opts.secure?"https":"http",P=this.query||{};return!1!==this.opts.timestampRequests&&(P[this.opts.timestampParam]=Ue()),!this.supportsBinary&&!P.sid&&(P.b64=1),this.createUri(N,P)}}let wn=!1;try{wn=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const De=wn;function Me(){}class xe extends jt{constructor(N){if(super(N),typeof location<"u"){const P="https:"===location.protocol;let H=location.port;H||(H=P?"443":"80"),this.xd=typeof location<"u"&&N.hostname!==location.hostname||H!==N.port}}doWrite(N,P){const H=this.request({method:"POST",data:N});H.on("success",P),H.on("error",(ye,Ye)=>{this.onError("xhr post error",ye,Ye)})}doPoll(){const N=this.request();N.on("data",this.onData.bind(this)),N.on("error",(P,H)=>{this.onError("xhr poll error",P,H)}),this.pollXhr=N}}let Ke=(()=>{class $ extends ln{constructor(P,H,ye){super(),this.createRequest=P,Ee(this,ye),this._opts=ye,this._method=ye.method||"GET",this._uri=H,this._data=void 0!==ye.data?ye.data:null,this._create()}_create(){var P;const H=ki(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");H.xdomain=!!this._opts.xd;const ye=this._xhr=this.createRequest(H);try{ye.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){ye.setDisableHeaderCheck&&ye.setDisableHeaderCheck(!0);for(let Ye in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(Ye)&&ye.setRequestHeader(Ye,this._opts.extraHeaders[Ye])}}catch{}if("POST"===this._method)try{ye.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{ye.setRequestHeader("Accept","*/*")}catch{}null===(P=this._opts.cookieJar)||void 0===P||P.addCookies(ye),"withCredentials"in ye&&(ye.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(ye.timeout=this._opts.requestTimeout),ye.onreadystatechange=()=>{var Ye;3===ye.readyState&&(null===(Ye=this._opts.cookieJar)||void 0===Ye||Ye.parseCookies(ye.getResponseHeader("set-cookie"))),4===ye.readyState&&(200===ye.status||1223===ye.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof ye.status?ye.status:0)},0))},ye.send(this._data)}catch(Ye){return void this.setTimeoutFn(()=>{this._onError(Ye)},0)}typeof document<"u"&&(this._index=$.requestsCount++,$.requests[this._index]=this)}_onError(P){this.emitReserved("error",P,this._xhr),this._cleanup(!0)}_cleanup(P){if(!(typeof this._xhr>"u"||null===this._xhr)){if(this._xhr.onreadystatechange=Me,P)try{this._xhr.abort()}catch{}typeof document<"u"&&delete $.requests[this._index],this._xhr=null}}_onLoad(){const P=this._xhr.responseText;null!==P&&(this.emitReserved("data",P),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}return $.requestsCount=0,$.requests={},$})();function qe(){for(let $ in Ke.requests)Ke.requests.hasOwnProperty($)&&Ke.requests[$].abort()}typeof document<"u"&&("function"==typeof attachEvent?attachEvent("onunload",qe):"function"==typeof addEventListener&&addEventListener("onpagehide"in jn?"pagehide":"unload",qe,!1));const yt=function(){const $=qt({xdomain:!1});return $&&null!==$.responseType}();function qt($){const N=$.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!N||De))return new XMLHttpRequest}catch{}if(!N)try{return new(jn[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch{}}const _t=typeof navigator<"u"&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class Rt extends Ot{get name(){return"websocket"}doOpen(){const N=this.uri(),P=this.opts.protocols,H=_t?{}:ki(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(H.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(N,P,H)}catch(ye){return this.emitReserved("error",ye)}
1this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=N=>this.onClose({description:"websocket connection closed",context:N}),this.ws.onmessage=N=>this.onData(N.data),this.ws.onerror=N=>this.onError("websocket error",N)}write(N){this.writable=!1;for(let P=0;P<N.length;P++){const H=N[P],ye=P===N.length-1;ae(H,this.supportsBinary,Ye=>{try{this.doWrite(H,Ye)}catch{}ye&&Pn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const N=this.opts.secure?"wss":"ws",P=this.query||{};return this.opts.timestampRequests&&(P[this.opts.timestampParam]=Ue()),this.supportsBinary||(P.b64=1),this.createUri(N,P)}}const Ht=jn.WebSocket||jn.MozWebSocket,en={websocket:class En extends Rt{createSocket(N,P,H){return _t?new Ht(N,P,H):P?new Ht(N,P):new Ht(N)}doWrite(N,P){this.ws.send(P)}},webtransport:class ci extends Ot{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(N){return this.emitReserved("error",N)}this._transport.closed.then(()=>{this.onClose()}).catch(N=>{this.onError("webtransport error",N)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(N=>{const P=function Qt($,N){Xe||(Xe=new TextDecoder);const P=[];let H=0,ye=-1,Ye=!1;return new TransformStream({transform(It,kt){for(P.push(It);;){if(0===H){if(bt(P)<1)break;const on=Mt(P,1);Ye=128==(128&on[0]),ye=127&on[0],H=ye<126?3:126===ye?1:2}else if(1===H){if(bt(P)<2)break;const on=Mt(P,2);ye=new DataView(on.buffer,on.byteOffset,on.length).getUint16(0),H=3}else if(2===H){if(bt(P)<8)break;const on=Mt(P,8),Mi=new DataView(on.buffer,on.byteOffset,on.length),ii=Mi.getUint32(0);if(ii>Math.pow(2,21)-1){kt.enqueue(te);break}ye=ii*Math.pow(2,32)+Mi.getUint32(4),H=3}else{if(bt(P)<ye)break;const on=Mt(P,ye);kt.enqueue(Et(Ye?on:Xe.decode(on),N)),H=0}if(0===ye||ye>$){kt.enqueue(te);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),H=N.readable.pipeThrough(P).getReader(),ye=function et(){return new TransformStream({transform($,N){!function K($,N){ce&&$.data instanceof Blob?$.data.arrayBuffer().then(z).then(N):me&&($.data instanceof ArrayBuffer||he($.data))?N(z($.data)):ae($,!1,P=>{J||(J=new TextEncoder),N(J.encode(P))})}($,P=>{const H=P.length;let ye;if(H<126)ye=new Uint8Array(1),new DataView(ye.buffer).setUint8(0,H);else if(H<65536){ye=new Uint8Array(3);const Ye=new DataView(ye.buffer);Ye.setUint8(0,126),Ye.setUint16(1,H)}else{ye=new Uint8Array(9);const Ye=new DataView(ye.buffer);Ye.setUint8(0,127),Ye.setBigUint64(1,BigInt(H))}$.data&&"string"!=typeof $.data&&(ye[0]|=128),N.enqueue(ye),N.enqueue(P)})}})}();ye.readable.pipeTo(N.writable),this._writer=ye.writable.getWriter();const Ye=()=>{H.read().then(({done:kt,value:on})=>{kt||(this.onPacket(on),Ye())}).catch(kt=>{})};Ye();const It={type:"open"};this.query.sid&&(It.data=`{"sid":"${this.query.sid}"}`),this._writer.write(It).then(()=>this.onOpen())})})}write(N){this.writable=!1;for(let P=0;P<N.length;P++){const ye=P===N.length-1;this._writer.write(N[P]).then(()=>{ye&&Pn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var N;null===(N=this._transport)||void 0===N||N.close()}},polling:class Cn extends xe{constructor(N){super(N),this.supportsBinary=yt&&!(N&&N.forceBase64)}request(N={}){return Object.assign(N,{xd:this.xd},this.opts),new Ke(qt,this.uri(),N)}}},tn=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Wn=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function yn($){if($.length>8e3)throw"URI too long";const N=$,P=$.indexOf("["),H=$.indexOf("]");-1!=P&&-1!=H&&($=$.substring(0,P)+$.substring(P,H).replace(/:/g,";")+$.substring(H,$.length));let ye=tn.exec($||""),Ye={},It=14;for(;It--;)Ye[Wn[It]]=ye[It]||"";return-1!=P&&-1!=H&&(Ye.source=N,Ye.host=Ye.host.substring(1,Ye.host.length-1).replace(/;/g,":"),Ye.authority=Ye.authority.replace("[","").replace("]","").replace(/;/g,":"),Ye.ipv6uri=!0),Ye.pathNames=function Tt($,N){const H=N.replace(/\/{2,9}/g,"/").split("/");return("/"==N.slice(0,1)||0===N.length)&&H.splice(0,1),"/"==N.slice(-1)&&H.splice(H.length-1,1),H}(0,Ye.path),Ye.queryKey=function mi($,N){const P={};return N.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(H,ye,Ye){ye&&(P[ye]=Ye)}),P}(0,Ye.query),Ye}const nn="function"==typeof addEventListener&&"function"==typeof removeEventListener,_i=[];nn&&addEventListener("offline",()=>
vendor: 7,294 bytes, line 1
1{_i.forEach($=>$())},!1);let kn=(()=>{class $ extends ln{constructor(P,H){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,P&&"object"==typeof P&&(H=P,P=null),P){const ye=yn(P);H.hostname=ye.host,H.secure="https"===ye.protocol||"wss"===ye.protocol,H.port=ye.port,ye.query&&(H.query=ye.query)}else H.host&&(H.hostname=yn(H.host).host);Ee(this,H),this.secure=null!=H.secure?H.secure:typeof location<"u"&&"https:"===location.protocol,H.hostname&&!H.port&&(H.port=this.secure?"443":"80"),this.hostname=H.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=H.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},H.transports.forEach(ye=>{const Ye=ye.prototype.name;this.transports.push(Ye),this._transportsByName[Ye]=ye}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},H),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function vn($){let N={},P=$.split("&");for(let H=0,ye=P.length;H<ye;H++){let Ye=P[H].split("=");N[decodeURIComponent(Ye[0])]=decodeURIComponent(Ye[1])}return N}(this.opts.query)),nn&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},_i.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(P){const H=Object.assign({},this.opts.query);H.EIO=4,H.transport=P,this.id&&(H.sid=this.id);const ye=Object.assign({},this.opts,{query:H,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[P]);return new this._transportsByName[P](ye)}_open(){if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);const P=this.opts.rememberUpgrade&&$.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";const H=this.createTransport(P);H.open(),this.setTransport(H)}setTransport(P){this.transport&&this.transport.removeAllListeners(),this.transport=P,P.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",H=>this._onClose("transport close",H))}onOpen(){this.readyState="open",$.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(P){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",P),this.emitReserved("heartbeat"),P.type){case"open":this.onHandshake(JSON.parse(P.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const H=new Error("server error");H.code=P.data,this._onError(H);break;case"message":this.emitReserved("data",P.data),this.emitReserved("message",P.data)}}onHandshake(P){this.emitReserved("handshake",P),this.id=P.sid,this.transport.query.sid=P.sid,this._pingInterval=P.pingInterval,this._pingTimeout=P.pingTimeout,this._maxPayload=P.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const P=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+P,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},P),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const P=this._getWritablePackets();this.transport.send(P),this._prevBufferLen=P.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let H=1;for(let ye=0;ye<this.writeBuffer.length;ye++){const Ye=this.writeBuffer[ye].data;if(Ye&&(H+=ne(Ye)),ye>0&&H>this._maxPayload)return this.writeBuffer.slice(0,ye);H+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const P=Date.now()>this._pingTimeoutTime;return P&&(this._pingTimeoutTime=0,Pn(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),P}write(P,H,ye){return this._sendPacket("message",P,H,ye),this}send(P,H,ye){return this._sendPacket("message",P,H,ye),this}_sendPacket(P,H,ye,Ye){if("function"==typeof H&&(Ye=H,H=void 0),"function"==typeof ye&&(Ye=ye,ye=null),"closing"===this.readyState||"closed"===this.readyState)return;(ye=ye||{}).compress=!1!==ye.compress;const It={type:P,data:H,options:ye};this.emitReserved("packetCreate",It),this.writeBuffer.push(It),Ye&&this.once("flush",Ye),this.flush()}close(){const P=()=>{this._onClose("forced close"),this.transport.close()},H=()=>{this.off("upgrade",H),this.off("upgradeError",H),P()},ye=()=>{this.once("upgrade",H),this.once("upgradeError",H)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?ye():P()}):this.upgrading?ye():P()),this}_onError(P){if($.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",P),this._onClose("transport error",P)}_onClose(P,H){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),nn&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const ye=_i.indexOf(this._offlineEventListener);-1!==ye&&_i.splice(ye,1)}this.readyState="closed",this.id=null,this.emitReserved("close",P,H),this.writeBuffer=[],this._prevBufferLen=0}}}return $.protocol=4,$})();class Fi extends kn{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let N=0;N<this._upgrades.length;N++)this._probe(this._upgrades[N])}_probe(N){let P=this.createTransport(N),H=!1;kn.priorWebsocketSuccess=!1;const ye=()=>{H||(P.send([{type:"ping",data:"probe"}]),P.once("packet",Yn=>{if(!H)if("pong"===Yn.type&&"probe"===Yn.data){if(this.upgrading=!0,this.emitReserved("upgrading",P),!P)return;kn.priorWebsocketSuccess="websocket"===P.name,this.transport.pause(()=>{H||"closed"!==this.readyState&&(ii(),this.setTransport(P),P.send([{type:"upgrade"}]),this.emitReserved("upgrade",P),P=null,this.upgrading=!1,this.flush())})}
vendor: 17,364 bytes, line 1
1else{const Zr=new Error("probe error");Zr.transport=P.name,this.emitReserved("upgradeError",Zr)}}))};function Ye(){H||(H=!0,ii(),P.close(),P=null)}const It=Yn=>{const Zr=new Error("probe error: "+Yn);Zr.transport=P.name,Ye(),this.emitReserved("upgradeError",Zr)};function kt(){It("transport closed")}function on(){It("socket closed")}function Mi(Yn){P&&Yn.name!==P.name&&Ye()}const ii=()=>{P.removeListener("open",ye),P.removeListener("error",It),P.removeListener("close",kt),this.off("close",on),this.off("upgrading",Mi)};P.once("open",ye),P.once("error",It),P.once("close",kt),this.once("close",on),this.once("upgrading",Mi),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==N?this.setTimeoutFn(()=>{H||P.open()},200):P.open()}onHandshake(N){this._upgrades=this._filterUpgrades(N.upgrades),super.onHandshake(N)}_filterUpgrades(N){const P=[];for(let H=0;H<N.length;H++)~this.transports.indexOf(N[H])&&P.push(N[H]);return P}}class ui extends Fi{constructor(N,P={}){const H="object"==typeof N,ye=H?{...N}:{...P};(!ye.transports||ye.transports&&"string"==typeof ye.transports[0])&&(ye.transports=(ye.transports||["polling","websocket","webtransport"]).map(Ye=>en[Ye]).filter(Ye=>!!Ye)),super(H?ye:N,ye)}}const fr="function"==typeof ArrayBuffer,pr=$=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView($):$.buffer instanceof ArrayBuffer,Zn=Object.prototype.toString,xi="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===Zn.call(Blob),Ei="function"==typeof File||typeof File<"u"&&"[object FileConstructor]"===Zn.call(File);function Xi($){return fr&&($ instanceof ArrayBuffer||pr($))||xi&&$ instanceof Blob||Ei&&$ instanceof File}function Ge($,N){if(!$||"object"!=typeof $)return!1;if(Array.isArray($)){for(let P=0,H=$.length;P<H;P++)if(Ge($[P]))return!0;return!1}if(Xi($))return!0;if($.toJSON&&"function"==typeof $.toJSON&&1===arguments.length)return Ge($.toJSON(),!0);for(const P in $)if(Object.prototype.hasOwnProperty.call($,P)&&Ge($[P]))return!0;return!1}function Fe($){const N=[],H=$;return H.data=Z($.data,N),H.attachments=N.length,{packet:H,buffers:N}}function Z($,N,P){if(!$)return $;if(Xi($)){const H={_placeholder:!0,num:N.length};return N.push($),H}if(Array.isArray($)){const H=new Array($.length);for(let ye=0;ye<$.length;ye++)H[ye]=Z($[ye],N);return H}if("object"==typeof $&&!($ instanceof Date)){if($.toJSON&&"function"==typeof $.toJSON&&!P)return Z($.toJSON(),N,!0);const H={};for(const ye in $)Object.prototype.hasOwnProperty.call($,ye)&&(H[ye]=Z($[ye],N));return H}return $}function de($,N){return $.data=ze($.data,N),delete $.attachments,$}function ze($,N){if(!$)return $;if($&&!0===$._placeholder){if("number"==typeof $.num&&$.num>=0&&$.num<N.length)return N[$.num];throw new Error("illegal attachments")}if(Array.isArray($))for(let P=0;P<$.length;P++)$[P]=ze($[P],N);else if("object"==typeof $)for(const P in $)Object.prototype.hasOwnProperty.call($,P)&&($[P]=ze($[P],N));return $}const ft=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],xt=5;var dt=function($){return $[$.CONNECT=0]="CONNECT",$[$.DISCONNECT=1]="DISCONNECT",$[$.EVENT=2]="EVENT",$[$.ACK=3]="ACK",$[$.CONNECT_ERROR=4]="CONNECT_ERROR",$[$.BINARY_EVENT=5]="BINARY_EVENT",$[$.BINARY_ACK=6]="BINARY_ACK",$}(dt||{});class dn{constructor(N){this.replacer=N}encode(N){return N.type!==dt.EVENT&&N.type!==dt.ACK||!Ge(N)?[this.encodeAsString(N)]:this.encodeAsBinary({type:N.type===dt.EVENT?dt.BINARY_EVENT:dt.BINARY_ACK,nsp:N.nsp,data:N.data,id:N.id})}encodeAsString(N){let P=""+N.type;return(N.type===dt.BINARY_EVENT||N.type===dt.BINARY_ACK)&&(P+=N.attachments+"-"),N.nsp&&"/"!==N.nsp&&(P+=N.nsp+","),null!=N.id&&(P+=N.id),null!=N.data&&(P+=JSON.stringify(N.data,this.replacer)),P}encodeAsBinary(N){const P=Fe(N),H=this.encodeAsString(P.packet),ye=P.buffers;return ye.unshift(H),ye}}class Lt extends ln{constructor(N){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},"function"==typeof N?{reviver:N}:N)}add(N){let P;if("string"==typeof N){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");P=this.decodeString(N);const H=P.type===dt.BINARY_EVENT;H||P.type===dt.BINARY_ACK?(P.type=H?dt.EVENT:dt.ACK,this.reconstructor=new Sn(P)):super.emitReserved("decoded",P)}else{if(!Xi(N)&&!N.base64)throw new Error("Unknown type: "+N);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");P=this.reconstructor.takeBinaryData(N),P&&(this.reconstructor=null,super.emitReserved("decoded",P))}}decodeString(N){let P=0;const H={type:Number(N.charAt(0))};if(void 0===dt[H.type])throw new Error("unknown packet type "+H.type);if(H.type===dt.BINARY_EVENT||H.type===dt.BINARY_ACK){const Ye=P+1;for(;"-"!==N.charAt(++P)&&P!=N.length;);const It=N.substring(Ye,P);if(It!=Number(It)||"-"!==N.charAt(P))throw new Error("Illegal attachments");const kt=Number(It);if(!Ne(kt)||kt<1)throw new Error("Illegal attachments");if(kt>this.opts.maxAttachments)throw new Error("too many attachments");H.attachments=kt}if("/"===N.charAt(P+1)){const Ye=P+1;for(;++P&&","!==N.charAt(P)&&P!==N.length;);H.nsp=N.substring(Ye,P)}else H.nsp="/";const ye=N.charAt(P+1);if(""!==ye&&Number(ye)==ye){const Ye=P+1;for(;++P;){const It=N.charAt(P);if(null==It||Number(It)!=It){--P;break}if(P===N.length)break}H.id=Number(N.substring(Ye,P+1))}if(N.charAt(++P)){const Ye=this.tryParse(N.substr(P));if(!Lt.isPayloadValid(H.type,Ye))throw new Error("invalid payload");H.data=Ye}return H}tryParse(N){try{return JSON.parse(N,this.opts.reviver)}catch{return!1}}static isPayloadValid(N,P){switch(N){case dt.CONNECT:return we(P);case dt.DISCONNECT:return void 0===P;case dt.CONNECT_ERROR:return"string"==typeof P||we(P);case dt.EVENT:case dt.BINARY_EVENT:return Array.isArray(P)&&("number"==typeof P[0]||"string"==typeof P[0]&&-1===ft.indexOf(P[0]));case dt.ACK:case dt.BINARY_ACK:return Array.isArray(P)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Sn{constructor(N){this.packet=N,this.buffers=[],this.reconPack=N}takeBinaryData(N){if(this.buffers.push(N),this.buffers.length===this.reconPack.attachments){const P=de(this.reconPack,this.buffers);return this.finishedReconstruction(),P}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Ne=Number.isInteger||function($){return"number"==typeof $&&isFinite($)&&Math.floor($)===$};function we($){return"[object Object]"===Object.prototype.toString.call($)}function nt($){return function di($){return"string"==typeof $}($.nsp)&&function pe($){return void 0===$||Ne($)}($.id)&&function Qe($,N){switch($){case dt.CONNECT:return void 0===N||we(N);case dt.DISCONNECT:return void 0===N;case dt.EVENT:return Array.isArray(N)&&("number"==typeof N[0]||"string"==typeof N[0]&&-1===ft.indexOf(N[0]));case dt.ACK:return Array.isArray(N);case dt.CONNECT_ERROR:return"string"==typeof N||we(N);default:return!1}}($.type,$.data)}function pt($,N,P){return $.on(N,P),function(){$.off(N,P)}}const lt=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class zt extends ln{constructor(N,P,H){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=N,this.nsp=P,H&&H.auth&&(this.auth=H.auth),this._opts=Object.assign({},H),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const N=this.io;this.subs=[pt(N,"open",this.onopen.bind(this)),pt(N,"packet",this.onpacket.bind(this)),pt(N,"error",this.onerror.bind(this)),pt(N,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...N){return N.unshift("message"),this.emit.apply(this,N),this}emit(N,...P){var H,ye,Ye;if(lt.hasOwnProperty(N))throw new Error('"'+N.toString()+'" is a reserved event name');if(P.unshift(N),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(P),this;const It={type:dt.EVENT,data:P,options:{}};if(It.options.compress=!1!==this.flags.compress,"function"==typeof P[P.length-1]){const ii=this.ids++,Yn=P.pop();this._registerAckCallback(ii,Yn),It.id=ii}const kt=null===(ye=null===(H=this.io.engine)||void 0===H?void 0:H.transport)||void 0===ye?void 0:ye.writable,on=this.connected&&!(null!==(Ye=this.io.engine)&&void 0!==Ye&&Ye._hasPingExpired());return this.flags.volatile&&!kt||(on?(this.notifyOutgoingListeners(It),this.packet(It)):this.sendBuffer.push(It)),this.flags={},this}_registerAckCallback(N,P){var H;const ye=null!==(H=this.flags.timeout)&&void 0!==H?H:this._opts.ackTimeout;if(void 0===ye)return void(this.acks[N]=P);const Ye=this.io.setTimeoutFn(()=>{delete this.acks[N];for(let kt=0;kt<this.sendBuffer.length;kt++)this.sendBuffer[kt].id===N&&this.sendBuffer.splice(kt,1);P.call(this,new Error("operation has timed out"))},ye),It=(...kt)=>{this.io.clearTimeoutFn(Ye),P.apply(this,kt)};It.withError=!0,this.acks[N]=It}emitWithAck(N,...P){return new Promise((H,ye)=>{const Ye=(It,kt)=>It?ye(It):H(kt);Ye.withError=!0,P.push(Ye),this.emit(N,...P)})}_addToQueue(N){let P;"function"==typeof N[N.length-1]&&(P=N.pop());const H={id:this._queueSeq++,tryCount:0,pending:!1,args:N,flags:Object.assign({fromQueue:!0},this.flags)};N.push((ye,...Ye)=>(null!==ye?H.tryCount>this._opts.retries&&(this._queue.shift(),P&&P(ye)):(this._queue.shift(),P&&P(null,...Ye)),H.pending=!1,this._drainQueue())),this._queue.push(H),this._drainQueue()}_drainQueue(N=!1){if(!this.connected||0===this._queue.length)return;const P=this._queue[0];P.pending&&!N||(P.pending=!0,P.tryCount++,this.flags=P.flags,this.emit.apply(this,P.args))}packet(N){N.nsp=this.nsp,this.io._packet(N)}onopen(){"function"==typeof this.auth?this.auth(N=>{this._sendConnectPacket(N)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(N){this.packet({type:dt.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},N):N})}onerror(N){this.connected||this.emitReserved("connect_error",N)}onclose(N,P){this.connected=!1,delete this.id,this.emitReserved("disconnect",N,P),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(N=>{if(!this.sendBuffer.some(H=>String(H.id)===N)){const H=this.acks[N];delete this.acks[N],H.withError&&H.call(this,new Error("socket has been disconnected"))}})}onpacket(N){if(N.nsp===this.nsp)switch(N.type){case dt.CONNECT:N.data&&N.data.sid?this.onconnect(N.data.sid,N.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case dt.EVENT:case dt.BINARY_EVENT:this.onevent(N);break;case dt.ACK:case dt.BINARY_ACK:this.onack(N);break;case dt.DISCONNECT:this.ondisconnect();break;case dt.CONNECT_ERROR:this.destroy();const H=new Error(N.data.message);H.data=N.data.data,this.emitReserved("connect_error",H)}}onevent(N){const P=N.data||[];null!=N.id&&P.push(this.ack(N.id)),this.connected?this.emitEvent(P):this.receiveBuffer.push(Object.freeze(P))}emitEvent(N){if(this._anyListeners&&this._anyListeners.length){const P=this._anyListeners.slice();for(const H of P)H.apply(this,N)}super.emit.apply(this,N),this._pid&&N.length&&"string"==typeof N[N.length-1]&&(this._lastOffset=N[N.length-1])}ack(N){const P=this;let H=!1;return function(...ye){H||(H=!0,P.packet({type:dt.ACK,id:N,data:ye}))}}onack(N){const P=this.acks[N.id];"function"==typeof P&&(delete this.acks[N.id],P.withError&&N.data.unshift(null),P.apply(this,N.data))}onconnect(N,P){this.id=N,this.recovered=P&&this._pid===P,this._pid=P,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(N=>this.emitEvent(N)),this.receiveBuffer=[],this.sendBuffer.forEach(N=>{this.notifyOutgoingListeners(N),this.packet(N)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(N=>N()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:dt.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(N){return this.flags.compress=N,this}get volatile(){return this.flags.volatile=!0,this}timeout(N){return this.flags.timeout=N,this}onAny(N){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(N),this}prependAny(N){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(N),this}offAny(N){if(!this._anyListeners)return this;if(N){const P=this._anyListeners;for(let H=0;H<P.length;H++)if(N===P[H])return P.splice(H,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(N){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(N),this}prependAnyOutgoing(N){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(N),this}offAnyOutgoing(N){if(!this._anyOutgoingListeners)return this;if(N){const P=this._anyOutgoingListeners;for(let H=0;H<P.length;H++)if(N===P[H])return P.splice(H,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(N){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const P=this._anyOutgoingListeners.slice();for(const H of P)H.apply(this,N.data)}}}function ct($){this.ms=($=$||{}).min||100,this.max=$.max||1e4,this.factor=$.factor||2,this.jitter=$.jitter>0&&$.jitter<=1?$.jitter:0,this.attempts=0}ct.prototype.duration=function(){var $=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var N=Math.random(),P=Math.floor(N*this.jitter*$);$=1&Math.floor(10*N)?$+P:$-P}return 0|Math.min($,this.max)},ct.prototype.reset=function(){this.attempts=0},ct.prototype.setMin=function($){this.ms=$},ct.prototype.setMax=function($){this.max=$},ct.prototype.setJitter=function($){this.jitter=$};class hn extends ln{constructor(N,P){var H;super(),this.nsps={},this.subs=[],N&&"object"==typeof N&&(P=N,N=void 0),(P=P||{}).path=P.path||"/socket.io",this.opts=P,Ee(this,P),this.reconnection(!1!==P.reconnection),this.reconnectionAttempts(P.reconnectionAttempts||1/0),this.reconnectionDelay(P.reconnectionDelay||1e3),this.reconnectionDelayMax(P.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(H=P.randomizationFactor)&&void 0!==H?H:.5),this.backoff=new ct({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==P.timeout?2e4:P.timeout),this._readyState="closed",this.uri=N;const ye=P.parser||i;this.encoder=new ye.Encoder,this.decoder=new ye.Decoder,this._autoConnect=!1!==P.autoConnect,this._autoConnect&&this.open()}reconnection(N){return arguments.length?(this._reconnection=!!N,N||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(N){return void 0===N?this._reconnectionAttempts:(this._reconnectionAttempts=N,this)}reconnectionDelay(N){var P;return void 0===N?this._reconnectionDelay:(this._reconnectionDelay=N,null===(P=this.backoff)||void 0===P||P.setMin(N),this)}randomizationFactor(N){var P;return void 0===N?this._randomizationFactor:(this._randomizationFactor=N,null===(P=this.backoff)||void 0===P||P.setJitter(N),this)}reconnectionDelayMax(N){var P;return void 0===N?this._reconnectionDelayMax:(this._reconnectionDelayMax=N,null===(P=this.backoff)||void 0===P||P.setMax(N),this)}timeout(N){return arguments.length?(this._timeout=N,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(N){if(~this._readyState.indexOf("open"))return this;this.engine=new ui(this.uri,this.opts);const P=this.engine,H=this;this._readyState="opening",this.skipReconnect=!1;const ye=pt(P,"open",function(){H.onopen(),N&&N()}),Ye=kt=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",kt),N?N(kt):this.maybeReconnectOnOpen()},It=pt(P,"error",Ye);if(!1!==this._timeout){const on=this.setTimeoutFn(()=>{ye(),Ye(new Error("timeout")),P.close()},this._timeout);this.opts.autoUnref&&on.unref(),this.subs.push(()=>{this.clearTimeoutFn(on)})}return this.subs.push(ye),this.subs.push(It),this}connect(N){return this.open(N)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const N=this.engine;this.subs.push(pt(N,"ping",this.onping.bind(this)),pt(N,"data",this.ondata.bind(this)),pt(N,"error",this.onerror.bind(this)),pt(N,"close",this.onclose.bind(this)),pt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(N){try{this.decoder.add(N)}catch(P){this.onclose("parse error",P)}}ondecoded(N){Pn(()=>{this.emitReserved("packet",N)},this.setTimeoutFn)}onerror(N){this.emitReserved("error",N)}socket(N,P){let H=this.nsps[N];return H?this._autoConnect&&!H.active&&H.connect():(H=new zt(this,N,P),this.nsps[N]=H),H}_destroy(N){const P=Object.keys(this.nsps);for(const H of P)if(this.nsps[H].active)return;this._close()}_packet(N){const P=this.encoder.encode(N);for(let H=0;H<P.length;H++)this.engine.write(P[H],N.options)}
1cleanup(){this.subs.forEach(N=>N()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(N,P){var H;this.cleanup(),null===(H=this.engine)||void 0===H||H.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",N,P),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const N=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const P=this.backoff.duration();this._reconnecting=!0;const H=this.setTimeoutFn(()=>{N.skipReconnect||(this.emitReserved("reconnect_attempt",N.backoff.attempts),!N.skipReconnect&&N.open(ye=>{ye?(N._reconnecting=!1,N.reconnect(),this.emitReserved("reconnect_error",ye)):N.onreconnect()}))},P);this.opts.autoUnref&&H.unref(),this.subs.push(()=>{this.clearTimeoutFn(H)})}}onreconnect(){const N=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",N)}}const bn={};function Kn($,N){"object"==typeof $&&(N=$,$=void 0);const P=function Cr($,N="",P){let H=$;P=P||typeof location<"u"&&location,null==$&&($=P.protocol+"//"+P.host),"string"==typeof $&&("/"===$.charAt(0)&&($="/"===$.charAt(1)?P.protocol+$:P.host+$),/^(https?|wss?):\/\//.test($)||($=typeof P<"u"?P.protocol+"//"+$:"https://"+$),H=yn($)),H.port||(/^(http|ws)$/.test(H.protocol)?H.port="80":/^(http|ws)s$/.test(H.protocol)&&(H.port="443")),H.path=H.path||"/";const Ye=-1!==H.host.indexOf(":")?"["+H.host+"]":H.host;return H.id=H.protocol+"://"+Ye+":"+H.port+N,H.href=H.protocol+"://"+Ye+(P&&P.port===H.port?"":":"+H.port),H}($,(N=N||{}).path||"/socket.io"),H=P.source,ye=P.id;let on;return N.forceNew||N["force new connection"]||!1===N.multiplex||bn[ye]&&P.path in bn[ye].nsps?on=new hn(H,N):(bn[ye]||(bn[ye]=new hn(H,N)),on=bn[ye]),P.query&&!N.query&&(N.query=P.queryKey),on.socket(P.path,N)}Object.assign(Kn,{Manager:hn,Socket:zt,io:Kn,connect:Kn});var hi=T(5312),Xn=T(7705),ni=T(1095);let In=(()=>{class ${constructor(P){this.authenService=P,this.notify$=new Y.t(null),this.comment$=new Y.t(null),this.currentToken=null,this.notifyListenerAttached=!1,this.commentListenerAttached=!1,this.getNewNotify=()=>this.socket?(this.notifyListenerAttached||(this.notifyListenerAttached=!0,this.socket.on("notifications",H=>{this.notify$.next(H)})),this.notify$.asObservable()):(console.warn("Socket not initialized. Call start() with token first."),this.notify$.asObservable()),this.getNewComment=()=>this.socket?(this.commentListenerAttached||(this.commentListenerAttached=!0,this.socket.on("comment",H=>{this.comment$.next(H)})),this.comment$.asObservable()):(console.warn("Socket not initialized. Call start() with token first."),this.comment$.asObservable()),this.authenService.currentUserValue&&this.authenService.currentUserValue.token&&this.start(this.authenService.currentUserValue.token)}start(P){if(P&&(!this.socket||this.currentToken!==P)){if(this.socket)try{this.socket.off("notifications"),this.socket.off("comment"),this.socket.disconnect()}catch{}this.currentToken=P,this.notifyListenerAttached=!1,this.commentListenerAttached=!1,this.socket=Kn(hi.c.socketUrl,{extraHeaders:{authorization:`Bearer ${P}`},reconnection:!1})}}static{this.\u0275fac=function(H){return new(H||$)(Xn.KVO(ni.$))}}static{this.\u0275prov=Xn.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})()},1385:(st,Oe,T)=>{T.d(Oe,{I:()=>te});var i=T(7705),Y=T(177),l=T(5260);function W(ce,me){if(1&ce&&(i.qex(0),i.nrm(1,"img",1),i.bVm()),2&ce){const he=i.XpG();i.R7$(1),i.HbH(he.imgClass),i.Y8G("src",he.resolvedSrc,i.B4B)("alt",he.alt||"")("loading",he.loading),i.BMQ("width",he.width)("height",he.height)}}let te=(()=>{class ce{constructor(){this.alt="",this.fallback="/assets/images/logo.svg",this.loading="lazy"}get resolvedSrc(){const he=this.src?.trim();if(he)return he;const ae=this.fallback?.trim();return ae||null}static{this.\u0275fac=function(ae){return new(ae||ce)}}static{this.\u0275cmp=i.VBU({type:ce,selectors:[["app-img"]],inputs:{src:"src",alt:"alt",imgClass:"imgClass",width:"width",height:"height",fallback:"fallback",loading:"loading"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"src","alt","loading"]],template:function(ae,ie){1&ae&&i.DNE(0,W,2,7,"ng-container",0),2&ae&&i.Y8G("ngIf",ie.resolvedSrc)},dependencies:[Y.bT,l.V],styles:["[_nghost-%COMP%]{display:inline-block;width:100%}img[_ngcontent-%COMP%]{width:100%;object-fit:cover}.full-height[_ngcontent-%COMP%]{height:100%}.resize-img[_ngcontent-%COMP%]{width:auto}@media screen and (max-width: 767px){.resize-img[_ngcontent-%COMP%]{width:60px}}
1.avatar[_ngcontent-%COMP%]{width:30px;height:30px}.suvu-img[_ngcontent-%COMP%]{height:120px}.newest-img[_ngcontent-%COMP%]{height:350px}@media screen and (max-width: 767px){.newest-img[_ngcontent-%COMP%]{height:310px}}@media screen and (max-width: 575px){.newest-img[_ngcontent-%COMP%]{height:280px}}"],changeDetection:0})}}return ce})()},7466:(st,Oe,T)=>{T.d(Oe,{l:()=>Et});var i=T(7705),Y=T(177),l=T(5869),W=T(5211),te=T(1165),ce=T(1626),me=T(3871),he=T(1767),ae=T(9417),ie=T(5260),z=T(1652);const J=["searchInput"];function K(rt,oe){if(1&rt){const Ce=i.RV6();i.qex(0),i.j41(1,"span",16),i.bIt("click",function(){const et=i.eBV(Ce).$implicit,Xe=i.XpG();return i.Njj(Xe.onTagClick(et))}),i.EFF(2),i.k0s(),i.bVm()}if(2&rt){const Ce=oe.$implicit;i.R7$(2),i.SpI("#",Ce,"")}}function X(rt,oe){1&rt&&(i.j41(0,"div",17),i.nrm(1,"div",18),i.k0s())}function be(rt,oe){if(1&rt){const Ce=i.RV6();i.qex(0),i.j41(1,"div",24)(2,"div",25)(3,"span",26),i.EFF(4),i.k0s(),i.j41(5,"a",27),i.bIt("click",function(){i.eBV(Ce);const We=i.XpG(3);return i.Njj(We.modalClose())}),i.j41(6,"div",28),i.nrm(7,"img",29),i.nI1(8,"bestImage"),i.k0s(),i.j41(9,"div",30)(10,"h2",31),i.EFF(11),i.k0s(),i.j41(12,"p"),i.EFF(13),i.k0s()()()()(),i.bVm()}if(2&rt){const Ce=oe.$implicit,Pe=oe.index,We=i.XpG(3);i.R7$(4),i.JRh(Pe+1),i.R7$(1),i.Y8G("routerLink",We.getItemUrl(Ce)),i.R7$(2),i.Y8G("src",i.i5U(8,5,null==Ce||null==Ce.avatar?null:Ce.avatar.orthers,300),i.B4B),i.R7$(4),i.JRh(Ce.title),i.R7$(2),i.JRh(Ce.description)}}function _e(rt,oe){if(1&rt&&(i.j41(0,"div",23),i.DNE(1,be,14,8,"ng-container",3),i.k0s()),2&rt){const Ce=i.XpG(2);i.R7$(1),i.Y8G("ngForOf",Ce.listPostItems)}}function Le(rt,oe){if(1&rt&&(i.j41(0,"div",19)(1,"div",20)(2,"h3",21)(3,"span"),i.EFF(4,"\u0110\xe1ng ch\xfa \xfd"),i.k0s()()(),i.DNE(5,_e,2,1,"div",22),i.k0s()),2&rt){const Ce=i.XpG();i.R7$(5),i.Y8G("ngIf",null==Ce.listPostItems?null:Ce.listPostItems.length)}}function tt(rt,oe){1&rt&&(i.j41(0,"div",17)(1,"p",32),i.EFF(2,"Kh\xf4ng c\xf3 d\u1eef li\u1ec7u"),i.k0s()())}let Et=(()=>{class rt{constructor(Ce,Pe,We,et,Xe){this.platformId=Ce,this.router=Pe,this.http=We,this.commonService=et,this.cmsService=Xe,this.keysearch="",this.homeData={},this.listPostItems=[],this.isLoading=!1,this.tagList=["\u0110\u1ee9c Th\xe1nh Cha","Linh \u0111\u1ea1o","Suy t\u01b0","C\xe1c Th\xe1nh","N\u0103m Th\xe1nh 2025","Ng\u01b0\u1eddi b\xean l\u1ec1"],this.groupCode=l.zt,this.keysearchChange=new i.bkB,this.search=new i.bkB,this.close=new i.bkB}ngOnInit(){this.homeDataSubscription=this.commonService.homeData$.subscribe(Ce=>{Ce&&Object.keys(Ce).length>0&&(this.homeData=Ce,this.loadPostItems())}),(!this.homeData||0===Object.keys(this.homeData).length)&&this.fetchTopHomeData()}ngOnDestroy(){this.homeDataSubscription&&this.homeDataSubscription.unsubscribe()}fetchTopHomeData(){this.isLoading=!0,this.cmsService.getItemsByGroup({code:l.zt.TOP_HOME_NOIBAT,page_size:6,item_type:l.SP.post}).subscribe(Pe=>{const We={...this.homeData};We[l.zt.TOP_HOME_NOIBAT]=Pe.data,this.commonService.updateHomeData(We),this.isLoading=!1},Pe=>{this.isLoading=!1})}loadPostItems(){const Ce=this.homeData[this.groupCode.TOP_HOME_NOIBAT];Ce&&Ce.items?(this.listPostItems=Ce.items.slice(0,6),this.listPostGroup=Ce.group):this.listPostItems=[]}onSearch(){this.search.emit()}modalClose(){this.close.emit()}onLinkClick(Ce,Pe){if((0,Y.UE)(this.platformId)){if(1===Ce.button||Ce.ctrlKey||Ce.metaKey)return void this.modalClose();Ce.preventDefault(),this.router.navigateByUrl(`/${Pe.slug}`),this.modalClose()}}onTagClick(Ce){this.keysearch=Ce,this.keysearchChange.emit(Ce),this.searchInput&&this.searchInput.nativeElement.focus()}getItemUrl(Ce){return(0,W.OB)(Ce)}static{this.\u0275fac=function(Pe){return new(Pe||rt)(i.rXU(i.Agw),i.rXU(te.Ix),i.rXU(ce.Qq),i.rXU(me.h),i.rXU(he.x))}}static{this.\u0275cmp=i.VBU({type:rt,selectors:[["app-custom-popup"]],viewQuery:function(Pe,We){if(1&Pe&&i.GBs(J,5),2&Pe){let et;i.mGM(et=i.lsd())&&(We.searchInput=et.first)}},inputs:{keysearch:"keysearch",homeData:"homeData"},outputs:{keysearchChange:"keysearchChange",search:"search",close:"close"},decls:17,vars:5,consts:[[1,"custom-popup-wrapper"],[1,"modal-header","popup-header"],[1,"tag-list","d-flex","align-items-center"],[4,"ngFor","ngForOf"],["type","button","aria-label","Close",1,"popup-btn",3,"click"],["width","20","height","18","viewBox","0 0 20 18","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M18.0682 1.47656L2 16.4766","
1stroke","currentColor","stroke-width","2","stroke-linecap","square","stroke-linejoin","round"],["d","M2.00011 1.47656L18.0684 16.4766","stroke","currentColor","stroke-width","2","stroke-linecap","square","stroke-linejoin","round"],["tabindex","0",1,"modal-body"],[1,"form-group","has-search",3,"ngSubmit"],[1,"icon-custom","icon-search","form-control-feedback",3,"click"],["type","search","placeholder","Nh\u1eadp th\xf4ng tin c\u1ea7n t\xecm ki\u1ebfm","name","keysearch","autocomplete","off",1,"form-control",3,"ngModel","ngModelChange"],["searchInput",""],["type","submit","aria-hidden","true",2,"display","none"],["class","mt-5 text-center",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"tag-item",3,"click"],[1,"mt-5","text-center"],["role","status",1,"spinner-border","text-primary"],[1,"mt-5"],[1,"mb-3"],[1,"text-horizontal-line","text-main-color","text-center",2,"font-size","22px","font-weight","800","letter-spacing","0.5px"],["class","popup-list",4,"ngIf"],[1,"popup-list"],[1,"popup-item-list"],[1,"d-flex","align-items-end","popup-content","search-card"],[1,"popup-number","index"],[1,"popup-content-right",3,"routerLink","click"],[1,"popup-content-img"],["alt","Avatar image",1,"popup-img",3,"src"],[1,"popup-content-text"],[1,"fw-bold"],[1,"text-muted"]],template:function(Pe,We){1&Pe&&(i.j41(0,"div",0)(1,"div",1)(2,"div",2),i.DNE(3,K,3,1,"ng-container",3),i.k0s(),i.j41(4,"button",4),i.bIt("click",function(){return We.modalClose()}),i.qSk(),i.j41(5,"svg",5),i.nrm(6,"path",6)(7,"path",7),i.k0s()()(),i.joV(),i.j41(8,"div",8)(9,"form",9),i.bIt("ngSubmit",function(){return We.onSearch()}),i.j41(10,"span",10),i.bIt("click",function(){return We.onSearch()}),i.k0s(),i.j41(11,"input",11,12),i.bIt("ngModelChange",function(Xe){return We.keysearch=Xe})("ngModelChange",function(Xe){return We.keysearchChange.emit(Xe)}),i.k0s(),i.nrm(13,"button",13),i.k0s(),i.DNE(14,X,2,0,"div",14),i.DNE(15,Le,6,1,"div",15),i.DNE(16,tt,3,0,"div",14),i.k0s()()),2&Pe&&(i.R7$(3),i.Y8G("ngForOf",We.tagList),i.R7$(8),i.Y8G("ngModel",We.keysearch),i.R7$(3),i.Y8G("ngIf",We.isLoading),i.R7$(1),i.Y8G("ngIf",!We.isLoading&&We.listPostGroup),i.R7$(1),i.Y8G("ngIf",!We.isLoading&&!We.listPostGroup))},dependencies:[Y.Sq,Y.bT,ae.qT,ae.me,ae.BC,ae.cb,ae.vS,ae.cV,te.Wk,ie.V,z.A],styles:["[_ngcontent-%COMP%]:root{--main-color: #900d14;--text-color: #0a0a0a}.modal-header.popup-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:0 50px;border-color:#ededed;padding:50px 0 20px}@media screen and (max-width: 767px){.modal-header.popup-header[_ngcontent-%COMP%]{padding:30px 0 15px;margin:0 30px}}.modal-header.popup-header[_ngcontent-%COMP%]   .tag-item[_ngcontent-%COMP%]{color:#757575;font-size:13px;cursor:pointer;transition:color .2s;margin-right:20px;font-weight:700}@media screen and (max-width: 767px){.modal-header.popup-header[_ngcontent-%COMP%]   .tag-item[_ngcontent-%COMP%]{margin-right:10px}}.modal-header.popup-header[_ngcontent-%COMP%]   .tag-item[_ngcontent-%COMP%]:hover{color:#8b1c1c}.modal-header.popup-header[_ngcontent-%COMP%]   .tag-list[_ngcontent-%COMP%]{display:flex;gap:12px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px;white-space:nowrap;scrollbar-width:none}@media screen and (max-width: 840px){.modal-header.popup-header[_ngcontent-%COMP%]   .tag-list[_ngcontent-%COMP%]{padding-bottom:0}}.modal-header.popup-header[_ngcontent-%COMP%]   .tag-list[_ngcontent-%COMP%]::-webkit-scrollbar{height:0;-webkit-transition:height .15s ease-in-out;transition:height .15s ease-in-out}.modal-header.popup-header[_ngcontent-%COMP%]   .tag-list[_ngcontent-%COMP%]:hover{scrollbar-width:thin}.modal-header.popup-header[_ngcontent-%COMP%]   .tag-list[_ngcontent-%COMP%]:hover::-webkit-scrollbar{height:8px}.modal-header.popup-header[_ngcontent-%COMP%]   .tag-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:rgba(0,0,0,.18);border-radius:6px}.modal-header.popup-header[_ngcontent-%COMP%]   .tag-list[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.modal-header.popup-header[_ngcontent-%COMP%]   .popup-btn[_ngcontent-%COMP%]{background:none;border:none;
1color:#c2c2c2;height:32px}.modal-header.popup-header[_ngcontent-%COMP%]   .popup-btn[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{color:var(--text-color);transform:scale(1.1);transition:transform 5s cubic-bezier(0,0,.44,1.18)}.modal-header.popup-header[_ngcontent-%COMP%]   .popup-btn[_ngcontent-%COMP%]:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.modal-body[_ngcontent-%COMP%]{padding:30px 50px 50px;color:var(--text-color)}.modal-body[_ngcontent-%COMP%]:focus-visible{outline:0}@media screen and (max-width: 767px){.modal-body[_ngcontent-%COMP%]{padding:15px 30px 30px}}.form-group.has-search[_ngcontent-%COMP%]{position:relative}.form-control-feedback[_ngcontent-%COMP%]{cursor:pointer}.form-control[_ngcontent-%COMP%]::placeholder{color:#c2c2c2}.text-horizontal-line[_ngcontent-%COMP%]{padding-bottom:.5rem;font-weight:700;font-size:18px}.text-main-color[_ngcontent-%COMP%]{color:var(--main-color)}.popup-list[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr);display:grid;grid-gap:0 90px}.popup-list[_ngcontent-%COMP%]   .popup-item-list[_ngcontent-%COMP%]{width:100%;background:#fff;padding:12px 0;transition:transform .12s ease,box-shadow .12s ease;margin-bottom:6px}.popup-list[_ngcontent-%COMP%]   .popup-item-list[_ngcontent-%COMP%]:hover{transform:translateY(-3px)}@media (max-width: 1200px){.popup-list[_ngcontent-%COMP%]{grid-gap:0 20px}}@media screen and (max-width: 991px){.popup-list[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}.popup-list[_ngcontent-%COMP%]   .popup-item-list[_ngcontent-%COMP%]{width:100%}}.popup-number[_ngcontent-%COMP%]{position:relative;min-width:54px;height:95px;left:0;top:14px;font-weight:700;font-size:90px;line-height:94px;color:#f5f5f5}.popup-content[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content}.popup-content-right[_ngcontent-%COMP%]{z-index:1;display:flex;margin-left:-12px;cursor:pointer}.popup-content-right[_ngcontent-%COMP%]:hover   .popup-content-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#900d14;transition:all .3s}.popup-content-img[_ngcontent-%COMP%]{padding:0}.popup-content-img[_ngcontent-%COMP%]   .popup-img[_ngcontent-%COMP%]{width:140px;height:90px;border-radius:5px}.popup-content-text[_ngcontent-%COMP%]{padding:0 20px;max-width:369px}@media screen and (max-width: 991px){.popup-content-text[_ngcontent-%COMP%]{max-width:100%;padding:20px 0}}.popup-content-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{line-height:20px;font-weight:700;font-size:15px;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.popup-content-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@media screen and (max-width: 991px){.popup-number[_ngcontent-%COMP%]{min-width:44px;height:56px;font-size:48px;line-height:52px;top:8px}.popup-content-right[_ngcontent-%COMP%]{margin-left:0;display:block}.popup-content-right[_ngcontent-%COMP%]   .popup-content-img[_ngcontent-%COMP%]   .popup-img[_ngcontent-%COMP%]{width:100%;height:auto;max-height:160px;object-fit:cover}.popup-content-right-text[_ngcontent-%COMP%]{padding-left:0;margin-top:10px;max-width:100%}.popup-content-right-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:16px}.popup-list[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr);grid-gap:12px}}@media screen and (max-width: 576px){.search-card[_ngcontent-%COMP%]{display:block!important}.search-card[_ngcontent-%COMP%]   .popup-content-img[_ngcontent-%COMP%]{margin-bottom:12px}.modal-header.popup-header[_ngcontent-%COMP%]{margin:0 16px;padding:18px 0 12px}.modal-body[_ngcontent-%COMP%]{padding:12px 20px 20px}.popup-number[_ngcontent-%COMP%]{min-width:36px;height:auto;font-size:40px;line-height:40px;left:0;top:6px}.popup-content[_ngcontent-%COMP%]{width:100%}.popup-content-img[_ngcontent-%COMP%]   .popup-img[_ngcontent-%COMP%]{width:100%;height:auto;border-radius:6px}.popup-content-text[_ngcontent-%COMP%]{padding-left:0;max-width:100%}.popup-content-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:15px}.popup-content-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{-webkit-line-clamp:3;line-clamp:3}.popup-content-right[_ngcontent-%COMP%]{margin-left:0}.popup-content-right[_ngcontent-%COMP%]{display:block}.popup-list[_ngcontent-%COMP%]{grid-gap:10px}.text-horizontal-line[_ngcontent-%COMP%]{font-size:16px}}@media screen and (max-width: 991px){.popup-number[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-width: 480px){.popup-item-list[_ngcontent-%COMP%]{padding:6px 2px;border-radius:8px}.popup-content-img[_ngcontent-%COMP%]{max-width:100%;width:100%;margin-bottom:8px}.popup-content-img[_ngcontent-%COMP%]   .popup-img[_ngcontent-%COMP%]{width:100%;height:120px;object-fit:cover;border-radius:8px}.popup-number[_ngcontent-%COMP%]{min-width:28px;font-size:28px;line-height:32px;top:0;left:0;margin-right:6px}.popup-content-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:14px;margin-bottom:4px}.popup-content-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:13px;-webkit-line-clamp:2;line-clamp:2}.popup-content-right[_ngcontent-%COMP%]{flex-direction:column;margin-left:0;gap:0}.popup-list[_ngcontent-%COMP%]{grid-gap:6px}.modal-header.popup-header[_ngcontent-%COMP%]{margin:0 6px;padding:10px 0 8px}.modal-body[_ngcontent-%COMP%]{padding:8px 6px 12px}}"]})}}return rt})()},5260:(st,Oe,T)=>{T.d(Oe,{V:()=>l});var i=T(7705),Y=T(177);let l=(()=>{class W{constructor(ce,me){this.el=ce,this.platformId=me,this.fallback="",this.defaultFallback="/assets/images/image-default.png"}ngAfterViewInit(){if(!(0,Y.UE)(this.platformId))return;const ce=this.el.nativeElement,me=this.fallback||this.defaultFallback;ce.onerror=()=>{ce.src&&ce.src.includes(me)||(ce.src=me),ce.onerror=null}}static{this.\u0275fac=function(me){return new(me||W)(i.rXU(i.aKT),i.rXU(i.Agw))}}static{this.\u0275dir=i.FsC({type:W,selectors:[["img"]],inputs:{fallback:"fallback"}})}}return W})()},3887:(st,Oe,T)=>{T.d(Oe,{G:()=>me});var i=T(177),Y=T(9417),l=T(1165),W=T(6571),te=T(3732),ce=T(7705);let me=(()=>{class he{static{this.\u0275fac=function(z){return new(z||he)}}static{this.\u0275mod=ce.$C({type:he})}static{this.\u0275inj=ce.G2t({imports:[i.MD,Y.YN,l.iI,W.d,te.A]})}}return he})()},5211:(st,Oe,T)=>{T.d(Oe,{$y:()=>W,CQ:()=>ce,Fp:()=>ae,Im:()=>Y,OB:()=>ie,QY:()=>me,bk:()=>te});var i=T(5869);function Y(z){return z?.item_taxonomies?.filter(J=>{const K=J.taxonomy?.type;return K===i.QC.CATEGORY||K===i.QC.FORUM})||[]}function l(z){const J=new Map;return z&&(z.slug&&J.set(z.slug,z.slug),z.childs?.forEach(K=>{K?.slug&&J.set(K.slug,K.slug),K.childs?.forEach(X=>{X?.slug&&K?.slug&&J.set(X.slug,K.slug)})})),J}function W(z,J={}){const K=Y(z);if(!K.length)return null;const X=J.currentCategorySlug||J.selectedCategory?.slug||null;if(X){const Le=K.find(tt=>tt.taxonomy?.slug===X);if(Le?.taxonomy)return Le.taxonomy}if((J.menuSlug||J.menuData?.slug)&&J.menuData){const Le=l(J.menuData);for(const tt of K){const Et=tt.taxonomy?.slug;if(Et&&Le.has(Et))return tt.taxonomy}}return ae(z)||K[0]?.taxonomy||null}function te(z,J={},K="Chuy\xean \u0111\u1ec1"){return W(z,J)?.title||J.selectedCategory?.title||J.menuData?.title||K}function ce(z,J={}){return W(z,J)?.slug||null}function me(z,J={}){const K=Y(z);if(!K.length)return null;const X=J.menuSlug||J.menuData?.slug;if(!X)return K[0]?.taxonomy?.slug||null;const be=J.currentCategorySlug||J.selectedCategory?.slug||null;if(be&&K.some(Le=>Le.taxonomy?.slug===be))return be;if(J.menuData?.childs?.length){const _e=l(J.menuData);for(const Le of K){const tt=Le.taxonomy?.slug;if(!tt||!_e.has(tt))continue;const Et=_e.get(tt);if(Et===X)return tt;if(Et)return Et}}return K[0]?.taxonomy?.slug||null}function ae(z,J){const K=function he(z){return z?.item_taxonomies?.length?z.item_taxonomies.filter(J=>J?.taxonomy?.type===i.QC.CATEGORY):[]}(z);if(!K.length)return null;const X={0:[],1:[],2:[]};for(const be of K){const _e=be?.taxonomy;if(!_e)continue;const Le=_e.parent_taxonomy;Le?.parent_taxonomy?X[2].push(_e):Le?X[1].push(_e):X[0].push(_e)}if(J)for(let be=2;be>=0;be--)for(const _e of X[be])if(_e.parent_taxonomy?.slug===J||_e.slug===J)return _e;for(let be=2;be>=0;be--)if(X[be].length)return X[be][0];return null}function ie(z){if(!z)return"/";const J=z.slug||z.id||"";if(!J)return"/";const K=ae(z);if(!K)return`/${J}`;const X=K.parent_taxonomy;if(X&&X.parent_taxonomy){const be=X.parent_taxonomy;return i.mL.includes(be.slug)?`/${be.slug}/${K.slug}/${J}`:`/${be.slug}/${X.slug}/${J}`}return X&&0===X.parent||X?`/${X.slug}/${K.slug}/${J}`:i.mL.includes(K.slug)?`/${J}`:`/${K.slug}/${J}`}},5869:(st,Oe,T)=>{T.d(Oe,{QC:()=>ce,SP:()=>te,UO:()=>i,mL:()=>me,r_:()=>he,ss:()=>W,zY:()=>Y,zt:()=>l});var i=function(z){return z.CURRENT_QUERY="currentQuery",z.CURRENT_PAYMENT="currentPayment",z.CURRENT_USER="currentUser",z}(i||{}),Y=function(z){return z.GSIM="GSIM",z.VNP="VNP",z.VMS="VMS",z.VNM="VNM",z.VTT="VTT",z}(Y||{}),l=function(z){return z.TOP_HOME_NOIBAT="TOP_HOME_NOIBAT",z.TOP_HOME_NEWEST="TOP_HOME_NEWEST",z.HOME_PRAYER="HOME_PRAYER",z.HOME_LINHDAO_INTRO="HOME_LINHDAO_INTRO",z.HOME_LINHDAO_PO
1ST="HOME_LINHDAO_POST",z.HOME_SUYTU_POST="HOME_SUYTU_POST",z.HOME_NEWS="HOME_NEWS",z.HOME_TONGDO_CAUNGUYEN="HOME_TONGDO_CAUNGUYEN",z.HOME_MANGLUOICAUNGUYEN="HOME_MANGLUOICAUNGUYEN",z.POST_SEARCH_HIGHLIGHT="POST_SEARCH_HIGHLIGHT",z.HOME_TENMUC="HOME_TENMUC",z.HOME_KHOAHOC="HOME_KHOAHOC",z}(l||{}),W=function(z){return z.MAIN_MENU="MAIN_MENU",z.FOOTER_MENU="FOOTER_MENU",z}(W||{}),te=function(z){return z.post="post",z.forum="forum",z.prayer="prayer",z}(te||{}),ce=function(z){return z.CATEGORY="category",z.TAG="tag",z.PODCAST="podcast",z.MENU="menu",z.FORUM="forum",z}(ce||{});const me=["su-vu"];var he=function(z){return z.GRID="grid",z.LIST="list",z.LOGO="logo",z}(he||{})},1410:(st,Oe,T)=>{T.d(Oe,{O2:()=>te,PU:()=>he,eN:()=>me});const i="linh-dao",Y="ldsrc",l="mega";function te(ae){return ae===i?function W(){return{[Y]:l}}():{}}function me(ae){return function ce(ae){return ae.split("?")[0].split("#")[0]}(ae).split("/").filter(Boolean)}function he(ae){return!!ae&&ae[Y]===l}},5312:(st,Oe,T)=>{T.d(Oe,{c:()=>i});const i={production:!0,hmr:!1,apiUrl:"https://api.dongten.net/api",socketUrl:"https://dongten.net/socket",domain:"https://dongten.net",adminDomain:"https://admin.dongten.net",defaultOgImage:"/assets/images/sjvn-seal.png",googleAnalyticsMeasurementId:"G-BCZ1EHXK7K",google_oauth_client_id:"1015115550630-mv7lcj5g8jvkds89kehv6ai75n454gh9.apps.googleusercontent.com",FCM_VAPID_PUBLIC_KEY:"BD1zjiNqZGojPvrF2BBbUNe_zv_tq9q4ftHSlCJlxTugdNZpMbV7r_e6YjKIpToTWt_PVoJQwFisoEk-HI2ASEo",firebaseConfig:{apiKey:"AIzaSyC8R9fJFmjp0JtpRUQl3hrIhzGtiDc_sl8",authDomain:"s198app.firebaseapp.com",databaseURL:"https://s198app-default-rtdb.asia-southeast1.firebasedatabase.app",projectId:"s198app",storageBucket:"s198app.appspot.com",messagingSenderId:"782505244414",appId:"1:782505244414:web:2b036b36bbcb9b9d9d97af"},facebook_app_id:"992003680058970",apiKey:"dt_f13303a6b7e9919c8515eaba6c1e34bde197ff84db5409cc1b0c50e5fe477702"}},9951:(st,Oe,T)=>{var i=T(345),Y=T(1626),l=T(7705),W=T(9969);function ce(w){return new l.wOt(3e3,!1)}function ue(w){switch(w.length){case 0:return new W.sf;case 1:return w[0];default:return new W.ui(w)}}function Ue(w,f,u=new Map,g=new Map){const M=[],F=[];let Q=-1,le=null;if(f.forEach(Ie=>{const He=Ie.get("offset"),vt=He==Q,Ct=vt&&le||new Map;Ie.forEach((Nn,Jt)=>{let Ft=Jt,Kt=Nn;if("offset"!==Jt)switch(Ft=w.normalizePropertyName(Ft,M),Kt){case W.FX:Kt=u.get(Jt);break;case W.kp:Kt=g.get(Jt);break;default:Kt=w.normalizeStyleValue(Jt,Ft,Kt,M)}Ct.set(Ft,Kt)}),vt||F.push(Ct),le=Ct,Q=He}),M.length)throw function an(w){return new l.wOt(3502,!1)}();return F}function Ut(w,f,u,g){switch(f){case"start":w.onStart(()=>g(u&&vn(u,"start",w)));break;case"done":w.onDone(()=>g(u&&vn(u,"done",w)));break;case"destroy":w.onDestroy(()=>g(u&&vn(u,"destroy",w)))}}function vn(w,f,u){const F=ht(w.element,w.triggerName,w.fromState,w.toState,f||w.phaseName,u.totalTime??w.totalTime,!!u.disabled),Q=w._data;return null!=Q&&(F._data=Q),F}function ht(w,f,u,g,M="",F=0,Q){return{element:w,triggerName:f,fromState:u,toState:g,phaseName:M,totalTime:F,disabled:!!Q}}function Ot(w,f,u){let g=w.get(f);return g||w.set(f,g=u),g}function jt(w){const f=w.indexOf(":");return[w.substring(1,f),w.slice(f+1)]}const wn=(()=>typeof document>"u"?null:document.documentElement)();function De(w){const f=w.parentNode||w.host||null;return f===wn?null:f}let xe=null,Ke=!1;function qt(w,f){for(;f;){if(f===w)return!0;f=De(f)}return!1}function _t(w,f,u){if(u)return Array.from(w.querySelectorAll(f));const g=w.querySelector(f);return g?[g]:[]}let Ht=(()=>{class w{validateStyleProperty(u){return function qe(w){xe||(xe=function Cn(){return typeof document<"u"?document.body:null}()||{},Ke=!!xe.style&&"WebkitAppearance"in xe.style);let f=!0;return xe.style&&!function Me(w){return"ebkit"==w.substring(1,6)}(w)&&(f=w in xe.style,!f&&Ke&&(f="Webkit"+w.charAt(0).toUpperCase()+w.slice(1)in xe.style)),f}(u)}matchesElement(u,g){return!1}containsElement(u,g){return qt(u,g)}getParentElement(u){return De(u)}query(u,g,M){return _t(u,g,M)}computeStyle(u,g,M){return M||""}animate(u,g,M,F,Q,le=[],Ie){return new W.sf(M,F)}static{this.\u0275fac=function(g){return new(g||w)}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac})}}return w})(),En=(()=>{class w{static{this.NOOP=new Ht}}return w})();const ci=1e3,Wn="ng-enter",yn="ng-leave",Tt="ng-trigger",mi=".ng-trigger",nn="ng-animating",_i=".ng-animating";function kn(w){if("number"==typeof w)return w;const f=w.match(/^(-?[\.\d]+)(m?s)/);return!f||f.length<2?0:Fi(parseFloat(f[1]),f[2])}function Fi(w,f){return"s"===f?w*ci:w}function ui(w,f,u){return w.hasOwnProperty("duration")?w:function vi(w,f,u){let M,F=0,Q="";if("string"==typeof w){const le=w.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===le)return f.push(ce()),{duration:0,delay:0,easing:""};M=Fi(parseFloat(le[1]),le[2]);const Ie=le[3];null!=Ie&&(F=Fi(parseFloat(Ie),le[4]));const He=le[5];He&&(Q=He)}else M=w;if(!u){let le=!1,Ie=f.length;M<0&&(f.push(function me(){return new l.wOt(3100,!1)}()),le=!0),F<0&&(f.push(function he(){return new l.wOt(3101,!1)}()),le=!0),le&&f.splice(Ie,0,ce())}return{duration:M,delay:F,easing:Q}}(w,f,u)}function yi(w,f={}
vendor: 18,867 bytes, line 1
1){return Object.keys(w).forEach(u=>{f[u]=w[u]}),f}function Cr(w){const f=new Map;return Object.keys(w).forEach(u=>{f.set(u,w[u])}),f}function Zn(w,f=new Map,u){if(u)for(let[g,M]of u)f.set(g,M);for(let[g,M]of w)f.set(g,M);return f}function xi(w,f,u){f.forEach((g,M)=>{const F=xt(M);u&&!u.has(M)&&u.set(M,w.style[F]),w.style[F]=g})}function Ei(w,f){f.forEach((u,g)=>{const M=xt(g);w.style[M]=""})}function Xi(w){return Array.isArray(w)?1==w.length?w[0]:(0,W.K2)(w):w}const Fe=new RegExp("{{\\s*(.+?)\\s*}}","g");function Z(w){let f=[];if("string"==typeof w){let u;for(;u=Fe.exec(w);)f.push(u[1]);Fe.lastIndex=0}return f}function de(w,f,u){const g=w.toString(),M=g.replace(Fe,(F,Q)=>{let le=f[Q];return null==le&&(u.push(function ie(w){return new l.wOt(3003,!1)}()),le=""),le.toString()});return M==g?w:M}function ze(w){const f=[];let u=w.next();for(;!u.done;)f.push(u.value),u=w.next();return f}const ft=/-+([a-z0-9])/g;function xt(w){return w.replace(ft,(...f)=>f[1].toUpperCase())}function Sn(w,f,u){switch(f.type){case 7:return w.visitTrigger(f,u);case 0:return w.visitState(f,u);case 1:return w.visitTransition(f,u);case 2:return w.visitSequence(f,u);case 3:return w.visitGroup(f,u);case 4:return w.visitAnimate(f,u);case 5:return w.visitKeyframes(f,u);case 6:return w.visitStyle(f,u);case 8:return w.visitReference(f,u);case 9:return w.visitAnimateChild(f,u);case 10:return w.visitAnimateRef(f,u);case 11:return w.visitQuery(f,u);case 12:return w.visitStagger(f,u);default:throw function z(w){return new l.wOt(3004,!1)}()}}function di(w,f){return window.getComputedStyle(w)[f]}const lt="*";function zt(w,f){const u=[];return"string"==typeof w?w.split(/\s*,\s*/).forEach(g=>function ct(w,f,u){if(":"==w[0]){const Ie=function hn(w,f){switch(w){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(u,g)=>parseFloat(g)>parseFloat(u);case":decrement":return(u,g)=>parseFloat(g)<parseFloat(u);default:return f.push(function Xe(w){return new l.wOt(3016,!1)}()),"* => *"}}(w,u);if("function"==typeof Ie)return void f.push(Ie);w=Ie}const g=w.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==g||g.length<4)return u.push(function et(w){return new l.wOt(3015,!1)}()),f;const M=g[1],F=g[2],Q=g[3];f.push(hi(M,Q));"<"==F[0]&&!(M==lt&&Q==lt)&&f.push(hi(Q,M))}(g,u,f)):u.push(w),u}const bn=new Set(["true","1"]),Kn=new Set(["false","0"]);function hi(w,f){const u=bn.has(w)||Kn.has(w),g=bn.has(f)||Kn.has(f);return(M,F)=>{let Q=w==lt||w==M,le=f==lt||f==F;return!Q&&u&&"boolean"==typeof M&&(Q=M?bn.has(w):Kn.has(w)),!le&&g&&"boolean"==typeof F&&(le=F?bn.has(f):Kn.has(f)),Q&&le}}const ni=new RegExp("s*:selfs*,?","g");function In(w,f,u,g){return new N(w).build(f,u,g)}class N{constructor(f){this._driver=f}build(f,u,g){const M=new ye(u);return this._resetContextStyleTimingState(M),Sn(this,Xi(f),M)}_resetContextStyleTimingState(f){f.currentQuerySelector="",f.collectedStyles=new Map,f.collectedStyles.set("",new Map),f.currentTime=0}visitTrigger(f,u){let g=u.queryCount=0,M=u.depCount=0;const F=[],Q=[];return"@"==f.name.charAt(0)&&u.errors.push(function K(){return new l.wOt(3006,!1)}()),f.definitions.forEach(le=>{if(this._resetContextStyleTimingState(u),0==le.type){const Ie=le,He=Ie.name;He.toString().split(/\s*,\s*/).forEach(vt=>{Ie.name=vt,F.push(this.visitState(Ie,u))}),Ie.name=He}else if(1==le.type){const Ie=this.visitTransition(le,u);g+=Ie.queryCount,M+=Ie.depCount,Q.push(Ie)}else u.errors.push(function X(){return new l.wOt(3007,!1)}())}),{type:7,name:f.name,states:F,transitions:Q,queryCount:g,depCount:M,options:null}}visitState(f,u){const g=this.visitStyle(f.styles,u),M=f.options&&f.options.params||null;if(g.containsDynamicStyles){const F=new Set,Q=M||{};g.styles.forEach(le=>{le instanceof Map&&le.forEach(Ie=>{Z(Ie).forEach(He=>{Q.hasOwnProperty(He)||F.add(He)})})}),F.size&&(ze(F.values()),u.errors.push(function be(w,f){return new l.wOt(3008,!1)}()))}return{type:0,name:f.name,style:g,options:M?{params:M}:null}}visitTransition(f,u){u.queryCount=0,u.depCount=0;const g=Sn(this,Xi(f.animation),u);return{type:1,matchers:zt(f.expr,u.errors),animation:g,queryCount:u.queryCount,depCount:u.depCount,options:kt(f.options)}}visitSequence(f,u){return{type:2,steps:f.steps.map(g=>Sn(this,g,u)),options:kt(f.options)}}visitGroup(f,u){const g=u.currentTime;let M=0;const F=f.steps.map(Q=>{u.currentTime=g;const le=Sn(this,Q,u);return M=Math.max(M,u.currentTime),le});return u.currentTime=M,{type:3,steps:F,options:kt(f.options)}}visitAnimate(f,u){const g=function It(w,f){if(w.hasOwnProperty("duration"))return w;if("number"==typeof w)return on(ui(w,f).duration,0,"");const u=w;if(u.split(/\s+/).some(F=>"{"==F.charAt(0)&&"{"==F.charAt(1))){const F=on(0,0,"");return F.dynamic=!0,F.strValue=u,F}const M=ui(u,f);return on(M.duration,M.delay,M.easing)}(f.timings,u.errors);u.currentAnimateTimings=g;let M,F=f.styles?f.styles:(0,W.iF)({});if(5==F.type)M=this.visitKeyframes(F,u);else{let Q=f.styles,le=!1;if(!Q){le=!0;const He={};g.easing&&(He.easing=g.easing),Q=(0,W.iF)(He)}u.currentTime+=g.duration+g.delay;const Ie=this.visitStyle(Q,u);Ie.isEmptyStep=le,M=Ie}return u.currentAnimateTimings=null,{type:4,timings:g,style:M,options:null}}visitStyle(f,u){const g=this._makeStyleAst(f,u);return this._validateStyleAst(g,u),g}_makeStyleAst(f,u){const g=[],M=Array.isArray(f.styles)?f.styles:[f.styles];for(let le of M)"string"==typeof le?le===W.kp?g.push(le):u.errors.push(new l.wOt(3002,!1)):g.push(Cr(le));let F=!1,Q=null;return g.forEach(le=>{if(le instanceof Map&&(le.has("easing")&&(Q=le.get("easing"),le.delete("easing")),!F))for(let Ie of le.values())if(Ie.toString().indexOf("{{")>=0){F=!0;break}}),{type:6,styles:g,easing:Q,offset:f.offset,containsDynamicStyles:F,options:null}}_validateStyleAst(f,u){const g=u.currentAnimateTimings;let M=u.currentTime,F=u.currentTime;g&&F>0&&(F-=g.duration+g.delay),f.styles.forEach(Q=>{"string"!=typeof Q&&Q.forEach((le,Ie)=>{const He=u.collectedStyles.get(u.currentQuerySelector),vt=He.get(Ie);let Ct=!0;vt&&(F!=M&&F>=vt.startTime&&M<=vt.endTime&&(u.errors.push(function tt(w,f,u,g,M){return new l.wOt(3010,!1)}()),Ct=!1),F=vt.startTime),Ct&&He.set(Ie,{startTime:F,endTime:M}),u.options&&function Ge(w,f,u){const g=f.params||{},M=Z(w);M.length&&M.forEach(F=>{g.hasOwnProperty(F)||u.push(function ae(w){return new l.wOt(3001,!1)}())})}(le,u.options,u.errors)})})}visitKeyframes(f,u){const g={type:5,styles:[],options:null};if(!u.currentAnimateTimings)return u.errors.push(function Et(){return new l.wOt(3011,!1)}()),g;let F=0;const Q=[];let le=!1,Ie=!1,He=0;const vt=f.steps.map(Pi=>{const Ri=this._makeStyleAst(Pi,u);let Fr=null!=Ri.offset?Ri.offset:function Ye(w){if("string"==typeof w)return null;let f=null;if(Array.isArray(w))w.forEach(u=>{if(u instanceof Map&&u.has("offset")){const g=u;f=parseFloat(g.get("offset")),g.delete("offset")}});else if(w instanceof Map&&w.has("offset")){const u=w;f=parseFloat(u.get("offset")),u.delete("offset")}return f}(Ri.styles),Oi=0;return null!=Fr&&(F++,Oi=Ri.offset=Fr),Ie=Ie||Oi<0||Oi>1,le=le||Oi<He,He=Oi,Q.push(Oi),Ri});Ie&&u.errors.push(function rt(){return new l.wOt(3012,!1)}()),le&&u.errors.push(function oe(){return new l.wOt(3200,!1)}());const Ct=f.steps.length;let Nn=0;F>0&&F<Ct?u.errors.push(function Ce(){return new l.wOt(3202,!1)}()):0==F&&(Nn=1/(Ct-1));const Jt=Ct-1,Ft=u.currentTime,Kt=u.currentAnimateTimings,mn=Kt.duration;return vt.forEach((Pi,Ri)=>{const Fr=Nn>0?Ri==Jt?1:Nn*Ri:Q[Ri],Oi=Fr*mn;u.currentTime=Ft+Kt.delay+Oi,Kt.duration=Oi,this._validateStyleAst(Pi,u),Pi.offset=Fr,g.styles.push(Pi)}),g}visitReference(f,u){return{type:8,animation:Sn(this,Xi(f.animation),u),options:kt(f.options)}}visitAnimateChild(f,u){return u.depCount++,{type:9,options:kt(f.options)}}visitAnimateRef(f,u){return{type:10,animation:this.visitReference(f.animation,u),options:kt(f.options)}}visitQuery(f,u){const g=u.currentQuerySelector,M=f.options||{};u.queryCount++,u.currentQuery=f;const[F,Q]=function P(w){const f=!!w.split(/\s*,\s*/).find(u=>":self"==u);return f&&(w=w.replace(ni,"")),w=w.replace(/@\*/g,mi).replace(/@\w+/g,u=>mi+"-"+u.slice(1)).replace(/:animating/g,_i),[w,f]}(f.selector);u.currentQuerySelector=g.length?g+" "+F:F,Ot(u.collectedStyles,u.currentQuerySelector,new Map);const le=Sn(this,Xi(f.animation),u);return u.currentQuery=null,u.currentQuerySelector=g,{type:11,selector:F,limit:M.limit||0,optional:!!M.optional,includeSelf:Q,animation:le,originalSelector:f.selector,options:kt(f.options)}}visitStagger(f,u){u.currentQuery||u.errors.push(function Pe(){return new l.wOt(3013,!1)}());const g="full"===f.timings?{duration:0,delay:0,easing:"full"}:ui(f.timings,u.errors,!0);return{type:12,animation:Sn(this,Xi(f.animation),u),timings:g,options:null}}}class ye{constructor(f){this.errors=f,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function kt(w){return w?(w=yi(w)).params&&(w.params=function H(w){return w?yi(w):null}(w.params)):w={},w}function on(w,f,u){return{duration:w,delay:f,easing:u}}function Mi(w,f,u,g,M,F,Q=null,le=!1){return{type:1,element:w,keyframes:f,preStyleProps:u,postStyleProps:g,duration:M,delay:F,totalTime:M+F,easing:Q,subTimeline:le}}class ii{constructor(){this._map=new Map}get(f){return this._map.get(f)||[]}append(f,u){let g=this._map.get(f);g||this._map.set(f,g=[]),g.push(...u)}has(f){return this._map.has(f)}clear(){this._map.clear()}}const Ds=new RegExp(":enter","g"),Yi=new RegExp(":leave","g");function xr(w,f,u,g,M,F=new Map,Q=new Map,le,Ie,He=[]){return(new Qi).buildKeyframes(w,f,u,g,M,F,Q,le,Ie,He)}class Qi{buildKeyframes(f,u,g,M,F,Q,le,Ie,He,vt=[]){He=He||new ii;const Ct=new Er(f,u,He,M,F,vt,[]);Ct.options=Ie;const Nn=Ie.delay?kn(Ie.delay):0;Ct.currentTimeline.delayNextStep(Nn),Ct.currentTimeline.setStyles([Q],null,Ct.errors,Ie),Sn(this,g,Ct);const Jt=Ct.timelines.filter(Ft=>Ft.containsAnimation());if(Jt.length&&le.size){let Ft;for(let Kt=Jt.length-1;Kt>=0;Kt--){const mn=Jt[Kt];if(mn.element===u){Ft=mn;break}}Ft&&!Ft.allowOnlyTimelineStyles()&&Ft.setStyles([le],null,Ct.errors,Ie)}return Jt.length?Jt.map(Ft=>Ft.buildKeyframes()):[Mi(u,[],[],[],0,Nn,"",!1)]}visitTrigger(f,u){}visitState(f,u){}visitTransition(f,u){}visitAnimateChild(f,u){const g=u.subInstructions.get(u.element);if(g){const M=u.createSubContext(f.options),F=u.currentTimeline.currentTime,Q=this._visitSubInstructions(g,M,M.options);F!=Q&&u.transformIntoNewTimeline(Q)}u.previousNode=f}visitAnimateRef(f,u){const g=u.createSubContext(f.options);g.transformIntoNewTimeline(),this._applyAnimationRefDelays([f.options,f.animation.options],u,g),this.visitReference(f.animation,g),u.transformIntoNewTimeline(g.currentTimeline.currentTime),u.previousNode=f}_applyAnimationRefDelays(f,u,g){for(const M of f){const F=M?.delay;if(F){const Q="number"==typeof F?F:kn(de(F,M?.params??{},u.errors));g.delayNextStep(Q)}}}_visitSubInstructions(f,u,g){let F=u.currentTimeline.currentTime;const Q=null!=g.duration?kn(g.duration):null,le=null!=g.delay?kn(g.delay):null;return 0!==Q&&f.forEach(Ie=>{const He=u.appendInstructionToTimeline(Ie,Q,le);F=Math.max(F,He.duration+He.delay)}),F}visitReference(f,u){u.updateOptions(f.options,!0),Sn(this,f.animation,u),u.previousNode=f}visitSequence(f,u){const g=u.subContextCount;let M=u;const F=f.options;if(F&&(F.params||F.delay)&&(M=u.createSubContext(F),M.transformIntoNewTimeline(),null!=F.delay)){6==M.previousNode.type&&(M.currentTimeline.snapshotCurrentStyles(),M.previousNode=jr);const Q=kn(F.delay);M.delayNextStep(Q)}f.steps.length&&(f.steps.forEach(Q=>Sn(this,Q,M)),M.currentTimeline.applyStylesToKeyframe(),M.subContextCount>g&&M.transformIntoNewTimeline()),u.previousNode=f}visitGroup(f,u){const g=[];let M=u.currentTimeline.currentTime;const F=f.options&&f.options.delay?kn(f.options.delay):0;f.steps.forEach(Q=>{const le=u.createSubContext(f.options);F&&le.delayNextStep(F),Sn(this,Q,le),M=Math.max(M,le.currentTimeline.currentTime),g.push(le.currentTimeline)}),g.forEach(Q=>u.currentTimeline.mergeTimelineCollectedStyles(Q)),u.transformIntoNewTimeline(M),u.previousNode=f}_visitTiming(f,u){if(f.dynamic){const g=f.strValue;return ui(u.params?de(g,u.params,u.errors):g,u.errors)}return{duration:f.duration,delay:f.delay,easing:f.easing}}visitAnimate(f,u){const g=u.currentAnimateTimings=this._visitTiming(f.timings,u),M=u.currentTimeline;g.delay&&(u.incrementTime(g.delay),M.snapshotCurrentStyles());const F=f.style;5==F.type?this.visitKeyframes(F,u):(u.incrementTime(g.duration),this.visitStyle(F,u),M.applyStylesToKeyframe()),u.currentAnimateTimings=null,u.previousNode=f}visitStyle(f,u){const g=u.currentTimeline,M=u.currentAnimateTimings;!M&&g.hasCurrentStyleProperties()&&g.forwardFrame();const F=M&&M.easing||f.easing;f.isEmptyStep?g.applyEmptyStep(F):g.setStyles(f.styles,F,u.errors,u.options),u.previousNode=f}visitKeyframes(f,u){const g=u.currentAnimateTimings,M=u.currentTimeline.duration,F=g.duration,le=u.createSubContext().currentTimeline;le.easing=g.easing,f.styles.forEach(Ie=>{le.forwardTime((Ie.offset||0)*F),le.setStyles(Ie.styles,Ie.easing,u.errors,u.options),le.applyStylesToKeyframe()}),u.currentTimeline.mergeTimelineCollectedStyles(le),u.transformIntoNewTimeline(M+F),u.previousNode=f}visitQuery(f,u){const g=u.currentTimeline.currentTime,M=f.options||{},F=M.delay?kn(M.delay):0;F&&(6===u.previousNode.type||0==g&&u.currentTimeline.hasCurrentStyleProperties())&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=jr);let Q=g;const le=u.invokeQuery(f.selector,f.originalSelector,f.limit,f.includeSelf,!!M.optional,u.errors);u.currentQueryTotal=le.length;let Ie=null;le.forEach((He,vt)=>{u.currentQueryIndex=vt;const Ct=u.createSubContext(f.options,He);F&&Ct.delayNextStep(F),He===u.element&&(Ie=Ct.currentTimeline),Sn(this,f.animation,Ct),Ct.currentTimeline.applyStylesToKeyframe(),Q=Math.max(Q,Ct.currentTimeline.currentTime)}),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline(Q),Ie&&(u.currentTimeline.mergeTimelineCollectedStyles(Ie),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=f}visitStagger(f,u){const g=u.parentContext,M=u.currentTimeline,F=f.timings,Q=Math.abs(F.duration),le=Q*(u.currentQueryTotal-1);let Ie=Q*u.currentQueryIndex;switch(F.duration<0?"reverse":F.easing){case"reverse":Ie=le-Ie;break;case"full":Ie=g.currentStaggerTime}const vt=u.currentTimeline;Ie&&vt.delayNextStep(Ie);const Ct=vt.currentTime;Sn(this,f.animation,u),u.previousNode=f,g.currentStaggerTime=M.currentTime-Ct+(M.startTime-g.currentTimeline.startTime)}}const jr={};class Er{constructor(f,u,g,M,F,Q,le,Ie){this._driver=f,this.element=u,this.subInstructions=g,this._enterClassName=M,this._leaveClassName=F,this.errors=Q,this.timelines=le,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=jr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ie||new oi(this._driver,u,0),le.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(f,u){if(!f)return;const g=f;let M=this.options;null!=g.duration&&(M.duration=kn(g.duration)),null!=g.delay&&(M.delay=kn(g.delay));const F=g.params;if(F){let Q=M.params;Q||(Q=this.options.params={}),Object.keys(F).forEach(le=>{(!u||!Q.hasOwnProperty(le))&&(Q[le]=de(F[le],Q,this.errors))})}}_copyOptions(){const f={};if(this.options){const u=this.options.params;if(u){const g=f.params={};Object.keys(u).forEach(M=>{g[M]=u[M]})}}return f}createSubContext(f=null,u,g){const M=u||this.element,F=new Er(this._driver,M,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(M,g||0));return F.previousNode=this.previousNode,F.currentAnimateTimings=this.currentAnimateTimings,F.options=this._copyOptions(),F.updateOptions(f),F.currentQueryIndex=this.currentQueryIndex,F.currentQueryTotal=this.currentQueryTotal,F.parentContext=this,this.subContextCount++,F}transformIntoNewTimeline(f){return this.previousNode=jr,this.currentTimeline=this.currentTimeline.fork(this.element,f),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(f,u,g){const M={duration:u??f.duration,delay:this.currentTimeline.currentTime+(g??0)+f.delay,easing:""},F=new Do(this._driver,f.element,f.keyframes,f.preStyleProps,f.postStyleProps,M,f.stretchStartingKeyframe);return this.timelines.push(F),M}incrementTime(f){this.currentTimeline.forwardTime(this.currentTimeline.duration+f)}delayNextStep(f){f>0&&this.currentTimeline.delayNextStep(f)}invokeQuery(f,u,g,M,F,Q){let le=[];if(M&&le.push(this.element),f.length>0){f=(f=f.replace(Ds,"."+this._enterClassName)).replace(Yi,"."+this._leaveClassName);let He=this._driver.query(this.element,f,1!=g);0!==g&&(He=g<0?He.slice(He.length+g,He.length):He.slice(0,g)),le.push(...He)}return!F&&0==le.length&&Q.push(function We(w){return new l.wOt(3014,!1)}()),le}}class oi{constructor(f,u,g,M){this._driver=f,this.element=u,this.startTime=g,this._elementTimelineStylesLookup=M,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(u),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(u,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(f){const u=1===this._keyframes.size&&this._pendingStyles.size;this.duration||u?(this.forwardTime(this.currentTime+f),u&&this.snapshotCurrentStyles()):this.startTime+=f}fork(f,u){return this.applyStylesToKeyframe(),new oi(this._driver,f,u||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(f){this.applyStylesToKeyframe(),this.duration=f,this._loadKeyframe()}_updateStyle(f,u){this._localTimelineStyles.set(f,u),this._globalTimelineStyles.set(f,u),this._styleSummary.set(f,{time:this.currentTime,value:u})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}
1applyEmptyStep(f){f&&this._previousKeyframe.set("easing",f);for(let[u,g]of this._globalTimelineStyles)this._backFill.set(u,g||W.kp),this._currentKeyframe.set(u,W.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(f,u,g,M){u&&this._previousKeyframe.set("easing",u);const F=M&&M.params||{},Q=function ho(w,f){const u=new Map;let g;return w.forEach(M=>{if("*"===M){g=g||f.keys();for(let F of g)u.set(F,W.kp)}else Zn(M,u)}),u}(f,this._globalTimelineStyles);for(let[le,Ie]of Q){const He=de(Ie,F,g);this._pendingStyles.set(le,He),this._localTimelineStyles.has(le)||this._backFill.set(le,this._globalTimelineStyles.get(le)??W.kp),this._updateStyle(le,He)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((f,u)=>{this._currentKeyframe.set(u,f)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((f,u)=>{this._currentKeyframe.has(u)||this._currentKeyframe.set(u,f)}))}snapshotCurrentStyles(){for(let[f,u]of this._localTimelineStyles)this._pendingStyles.set(f,u),this._updateStyle(f,u)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const f=[];for(let u in this._currentKeyframe)f.push(u);return f}
vendor: 34,276 bytes, line 1
1mergeTimelineCollectedStyles(f){f._styleSummary.forEach((u,g)=>{const M=this._styleSummary.get(g);(!M||u.time>M.time)&&this._updateStyle(g,u.value)})}buildKeyframes(){this.applyStylesToKeyframe();const f=new Set,u=new Set,g=1===this._keyframes.size&&0===this.duration;let M=[];this._keyframes.forEach((le,Ie)=>{const He=Zn(le,new Map,this._backFill);He.forEach((vt,Ct)=>{vt===W.FX?f.add(Ct):vt===W.kp&&u.add(Ct)}),g||He.set("offset",Ie/this.duration),M.push(He)});const F=f.size?ze(f.values()):[],Q=u.size?ze(u.values()):[];if(g){const le=M[0],Ie=new Map(le);le.set("offset",0),Ie.set("offset",1),M=[le,Ie]}return Mi(this.element,M,F,Q,this.duration,this.startTime,this.easing,!1)}}class Do extends oi{constructor(f,u,g,M,F,Q,le=!1){super(f,u,Q.delay),this.keyframes=g,this.preStyleProps=M,this.postStyleProps=F,this._stretchStartingKeyframe=le,this.timings={duration:Q.duration,delay:Q.delay,easing:Q.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let f=this.keyframes,{delay:u,duration:g,easing:M}=this.timings;if(this._stretchStartingKeyframe&&u){const F=[],Q=g+u,le=u/Q,Ie=Zn(f[0]);Ie.set("offset",0),F.push(Ie);const He=Zn(f[0]);He.set("offset",Pr(le)),F.push(He);const vt=f.length-1;for(let Ct=1;Ct<=vt;Ct++){let Nn=Zn(f[Ct]);const Jt=Nn.get("offset");Nn.set("offset",Pr((u+Jt*g)/Q)),F.push(Nn)}g=Q,u=0,M="",f=F}return Mi(this.element,f,this.preStyleProps,this.postStyleProps,g,u,M,!0)}}function Pr(w,f=3){const u=Math.pow(10,f-1);return Math.round(w*u)/u}class qr{}const eo=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Fo extends qr{normalizePropertyName(f,u){return xt(f)}normalizeStyleValue(f,u,g,M){let F="";const Q=g.toString().trim();if(eo.has(u)&&0!==g&&"0"!==g)if("number"==typeof g)F="px";else{const le=g.match(/^[+-]?[\d\.]+([a-z]*)$/);le&&0==le[1].length&&M.push(function J(w,f){return new l.wOt(3005,!1)}())}return Q+F}}function Ji(w,f,u,g,M,F,Q,le,Ie,He,vt,Ct,Nn){return{type:0,element:w,triggerName:f,isRemovalTransition:M,fromState:u,fromStyles:F,toState:g,toStyles:Q,timelines:le,queriedElements:Ie,preStyleProps:He,postStyleProps:vt,totalTime:Ct,errors:Nn}}const to={};class Bt{constructor(f,u,g){this._triggerName=f,this.ast=u,this._stateStyles=g}match(f,u,g,M){return function ai(w,f,u,g,M){return w.some(F=>F(f,u,g,M))}(this.ast.matchers,f,u,g,M)}buildStyles(f,u,g){let M=this._stateStyles.get("*");return void 0!==f&&(M=this._stateStyles.get(f?.toString())||M),M?M.buildStyles(u,g):new Map}build(f,u,g,M,F,Q,le,Ie,He,vt){const Ct=[],Nn=this.ast.options&&this.ast.options.params||to,Ft=this.buildStyles(g,le&&le.params||to,Ct),Kt=Ie&&Ie.params||to,mn=this.buildStyles(M,Kt,Ct),Pi=new Set,Ri=new Map,Fr=new Map,Oi="void"===M,ar={params:Vr(Kt,Nn),delay:this.ast.options?.delay},ao=vt?[]:xr(f,u,this.ast.animation,F,Q,Ft,mn,ar,He,Ct);let lr=0;if(ao.forEach(ms=>{lr=Math.max(ms.duration+ms.delay,lr)}),Ct.length)return Ji(u,this._triggerName,g,M,Oi,Ft,mn,[],[],Ri,Fr,lr,Ct);ao.forEach(ms=>{const os=ms.element,rc=Ot(Ri,os,new Set);ms.preStyleProps.forEach(Ps=>rc.add(Ps));const Ba=Ot(Fr,os,new Set);ms.postStyleProps.forEach(Ps=>Ba.add(Ps)),os!==u&&Pi.add(os)});const Xr=ze(Pi.values());return Ji(u,this._triggerName,g,M,Oi,Ft,mn,ao,Xr,Ri,Fr,lr)}}function Vr(w,f){const u=yi(f);for(const g in w)w.hasOwnProperty(g)&&null!=w[g]&&(u[g]=w[g]);return u}class bi{constructor(f,u,g){this.styles=f,this.defaultParams=u,this.normalizer=g}buildStyles(f,u){const g=new Map,M=yi(this.defaultParams);return Object.keys(f).forEach(F=>{const Q=f[F];null!==Q&&(M[F]=Q)}),this.styles.styles.forEach(F=>{"string"!=typeof F&&F.forEach((Q,le)=>{Q&&(Q=de(Q,M,u));const Ie=this.normalizer.normalizePropertyName(le,u);Q=this.normalizer.normalizeStyleValue(le,Ie,Q,u),g.set(le,Q)})}),g}}class fo{constructor(f,u,g){this.name=f,this.ast=u,this._normalizer=g,this.transitionFactories=[],this.states=new Map,u.states.forEach(M=>{this.states.set(M.name,new bi(M.style,M.options&&M.options.params||{},g))}),gr(this.states,"true","1"),gr(this.states,"false","0"),u.transitions.forEach(M=>{this.transitionFactories.push(new Bt(f,M,this.states))}),this.fallbackTransition=function Lo(w,f,u){return new Bt(w,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Q,le)=>!0],options:null,queryCount:0,depCount:0},f)}(f,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(f,u,g,M){return this.transitionFactories.find(Q=>Q.match(f,u,g,M))||null}matchStyles(f,u,g){return this.fallbackTransition.buildStyles(f,u,g)}}function gr(w,f,u){w.has(f)?w.has(u)||w.set(u,w.get(f)):w.has(u)&&w.set(f,w.get(u))}const Co=new ii;class Un{constructor(f,u,g){this.bodyNode=f,this._driver=u,this._normalizer=g,this._animations=new Map,this._playersById=new Map,this.players=[]}register(f,u){const g=[],F=In(this._driver,u,g,[]);if(g.length)throw function ln(w){return new l.wOt(3503,!1)}();this._animations.set(f,F)}_buildPlayer(f,u,g){const M=f.element,F=Ue(this._normalizer,f.keyframes,u,g);return this._driver.animate(M,F,f.duration,f.delay,f.easing,[],!0)}create(f,u,g={}){const M=[],F=this._animations.get(f);let Q;const le=new Map;if(F?(Q=xr(this._driver,u,F,Wn,yn,new Map,new Map,g,Co,M),Q.forEach(vt=>{const Ct=Ot(le,vt.element,new Map);vt.postStyleProps.forEach(Nn=>Ct.set(Nn,null))})):(M.push(function gi(){return new l.wOt(3300,!1)}()),Q=[]),M.length)throw function Pn(w){return new l.wOt(3504,!1)}();le.forEach((vt,Ct)=>{vt.forEach((Nn,Jt)=>{vt.set(Jt,this._driver.computeStyle(Ct,Jt,W.kp))})});const He=ue(Q.map(vt=>{const Ct=le.get(vt.element);return this._buildPlayer(vt,new Map,Ct)}));return this._playersById.set(f,He),He.onDestroy(()=>this.destroy(f)),this.players.push(He),He}destroy(f){const u=this._getPlayer(f);u.destroy(),this._playersById.delete(f);const g=this.players.indexOf(u);g>=0&&this.players.splice(g,1)}_getPlayer(f){const u=this._playersById.get(f);if(!u)throw function jn(w){return new l.wOt(3301,!1)}();return u}listen(f,u,g,M){const F=ht(u,"","","");return Ut(this._getPlayer(f),g,F,M),()=>{}}command(f,u,g,M){if("register"==g)return void this.register(f,M[0]);if("create"==g)return void this.create(f,u,M[0]||{});const F=this._getPlayer(f);switch(g){case"play":F.play();break;case"pause":F.pause();break;case"reset":F.reset();break;case"restart":F.restart();break;case"finish":F.finish();break;case"init":F.init();break;case"setPosition":F.setPosition(parseFloat(M[0]));break;case"destroy":this.destroy(f)}}}const wt="ng-animate-queued",xn="ng-animate-disabled",Ur=[],Qn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Li="__ng_removed";class Gt{get params(){return this.options.params}constructor(f,u=""){this.namespaceId=u;const g=f&&f.hasOwnProperty("value");if(this.value=function Mr(w){return w??null}(g?f.value:f),g){const F=yi(f);delete F.value,this.options=F}else this.options={};this.options.params||(this.options.params={})}absorbOptions(f){const u=f.params;if(u){const g=this.options.params;Object.keys(u).forEach(M=>{null==g[M]&&(g[M]=u[M])})}}}const mr="void",po=new Gt(mr);class no{constructor(f,u,g){this.id=f,this.hostElement=u,this._engine=g,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+f,zi(u,this._hostClassName)}listen(f,u,g,M){if(!this._triggers.has(u))throw function Ai(w,f){return new l.wOt(3302,!1)}();if(null==g||0==g.length)throw function hr(w){return new l.wOt(3303,!1)}();if(!function js(w){return"start"==w||"done"==w}(g))throw function ki(w,f){return new l.wOt(3400,!1)}();const F=Ot(this._elementListeners,f,[]),Q={name:u,phase:g,callback:M};F.push(Q);const le=Ot(this._engine.statesByElement,f,new Map);return le.has(u)||(zi(f,Tt),zi(f,Tt+"-"+u),le.set(u,po)),()=>{this._engine.afterFlush(()=>{const Ie=F.indexOf(Q);Ie>=0&&F.splice(Ie,1),this._triggers.has(u)||le.delete(u)})}}register(f,u){return!this._triggers.has(f)&&(this._triggers.set(f,u),!0)}_getTrigger(f){const u=this._triggers.get(f);if(!u)throw function Re(w){return new l.wOt(3401,!1)}();return u}trigger(f,u,g,M=!0){const F=this._getTrigger(u),Q=new io(this.id,u,f);let le=this._engine.statesByElement.get(f);le||(zi(f,Tt),zi(f,Tt+"-"+u),this._engine.statesByElement.set(f,le=new Map));let Ie=le.get(u);const He=new Gt(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&Ie&&He.absorbOptions(Ie.options),le.set(u,He),Ie||(Ie=po),He.value!==mr&&Ie.value===He.value){if(!function or(w,f){const u=Object.keys(w),g=Object.keys(f);if(u.length!=g.length)return!1;for(let M=0;M<u.length;M++){const F=u[M];if(!f.hasOwnProperty(F)||w[F]!==f[F])return!1}return!0}(Ie.params,He.params)){const Kt=[],mn=F.matchStyles(Ie.value,Ie.params,Kt),Pi=F.matchStyles(He.value,He.params,Kt);Kt.length?this._engine.reportError(Kt):this._engine.afterFlush(()=>{Ei(f,mn),xi(f,Pi)})}return}const Nn=Ot(this._engine.playersByElement,f,[]);Nn.forEach(Kt=>{Kt.namespaceId==this.id&&Kt.triggerName==u&&Kt.queued&&Kt.destroy()});let Jt=F.matchTransition(Ie.value,He.value,f,He.params),Ft=!1;if(!Jt){if(!M)return;Jt=F.fallbackTransition,Ft=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:u,transition:Jt,fromState:Ie,toState:He,player:Q,isFallbackTransition:Ft}),Ft||(zi(f,wt),Q.onStart(()=>{sn(f,wt)})),Q.onDone(()=>{let Kt=this.players.indexOf(Q);Kt>=0&&this.players.splice(Kt,1);const mn=this._engine.playersByElement.get(f);if(mn){let Pi=mn.indexOf(Q);Pi>=0&&mn.splice(Pi,1)}}),this.players.push(Q),Nn.push(Q),Q}deregister(f){this._triggers.delete(f),this._engine.statesByElement.forEach(u=>u.delete(f)),this._elementListeners.forEach((u,g)=>{this._elementListeners.set(g,u.filter(M=>M.name!=f))})}clearElementCache(f){this._engine.statesByElement.delete(f),this._elementListeners.delete(f);const u=this._engine.playersByElement.get(f);u&&(u.forEach(g=>g.destroy()),this._engine.playersByElement.delete(f))}_signalRemovalForInnerTriggers(f,u){const g=this._engine.driver.query(f,mi,!0);g.forEach(M=>{if(M[Li])return;const F=this._engine.fetchNamespacesByElement(M);F.size?F.forEach(Q=>Q.triggerLeaveAnimation(M,u,!1,!0)):this.clearElementCache(M)}),this._engine.afterFlushAnimationsDone(()=>g.forEach(M=>this.clearElementCache(M)))}triggerLeaveAnimation(f,u,g,M){const F=this._engine.statesByElement.get(f),Q=new Map;if(F){const le=[];if(F.forEach((Ie,He)=>{if(Q.set(He,Ie.value),this._triggers.has(He)){const vt=this.trigger(f,He,mr,M);vt&&le.push(vt)}}),le.length)return this._engine.markElementAsRemoved(this.id,f,!0,u,Q),g&&ue(le).onDone(()=>this._engine.processLeaveNode(f)),!0}return!1}prepareLeaveAnimationListeners(f){const u=this._elementListeners.get(f),g=this._engine.statesByElement.get(f);if(u&&g){const M=new Set;u.forEach(F=>{const Q=F.name;if(M.has(Q))return;M.add(Q);const Ie=this._triggers.get(Q).fallbackTransition,He=g.get(Q)||po,vt=new Gt(mr),Ct=new io(this.id,Q,f);this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:Q,transition:Ie,fromState:He,toState:vt,player:Ct,isFallbackTransition:!0})})}}removeNode(f,u){const g=this._engine;if(f.childElementCount&&this._signalRemovalForInnerTriggers(f,u),this.triggerLeaveAnimation(f,u,!0))return;let M=!1;if(g.totalAnimations){const F=g.players.length?g.playersByQueriedElement.get(f):[];if(F&&F.length)M=!0;else{let Q=f;for(;Q=Q.parentNode;)if(g.statesByElement.get(Q)){M=!0;break}}}if(this.prepareLeaveAnimationListeners(f),M)g.markElementAsRemoved(this.id,f,!1,u);else{const F=f[Li];(!F||F===Qn)&&(g.afterFlush(()=>this.clearElementCache(f)),g.destroyInnerAnimations(f),g._onRemovalComplete(f,u))}}insertNode(f,u){zi(f,this._hostClassName)}drainQueuedTransitions(f){const u=[];return this._queue.forEach(g=>{const M=g.player;if(M.destroyed)return;const F=g.element,Q=this._elementListeners.get(F);Q&&Q.forEach(le=>{if(le.name==g.triggerName){const Ie=ht(F,g.triggerName,g.fromState.value,g.toState.value);Ie._data=f,Ut(g.player,le.phase,Ie,le.callback)}}),M.markedForDestroy?this._engine.afterFlush(()=>{M.destroy()}):u.push(g)}),this._queue=[],u.sort((g,M)=>{const F=g.transition.ast.depCount,Q=M.transition.ast.depCount;return 0==F||0==Q?F-Q:this._engine.driver.containsElement(g.element,M.element)?1:-1})}destroy(f){this.players.forEach(u=>u.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,f)}}class Gn{_onRemovalComplete(f,u){this.onRemovalComplete(f,u)}constructor(f,u,g){this.bodyNode=f,this.driver=u,this._normalizer=g,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(M,F)=>{}}get queuedPlayers(){const f=[];return this._namespaceList.forEach(u=>{u.players.forEach(g=>{g.queued&&f.push(g)})}),f}createNamespace(f,u){const g=new no(f,u,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,u)?this._balanceNamespaceList(g,u):(this.newHostElements.set(u,g),this.collectEnterElement(u)),this._namespaceLookup[f]=g}_balanceNamespaceList(f,u){const g=this._namespaceList,M=this.namespacesByHostElement;if(g.length-1>=0){let Q=!1,le=this.driver.getParentElement(u);for(;le;){const Ie=M.get(le);if(Ie){const He=g.indexOf(Ie);g.splice(He+1,0,f),Q=!0;break}le=this.driver.getParentElement(le)}Q||g.unshift(f)}else g.push(f);return M.set(u,f),f}register(f,u){let g=this._namespaceLookup[f];return g||(g=this.createNamespace(f,u)),g}registerTrigger(f,u,g){let M=this._namespaceLookup[f];M&&M.register(u,g)&&this.totalAnimations++}destroy(f,u){f&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const g=this._fetchNamespace(f);this.namespacesByHostElement.delete(g.hostElement);const M=this._namespaceList.indexOf(g);M>=0&&this._namespaceList.splice(M,1),g.destroy(u),delete this._namespaceLookup[f]}))}_fetchNamespace(f){return this._namespaceLookup[f]}fetchNamespacesByElement(f){const u=new Set,g=this.statesByElement.get(f);if(g)for(let M of g.values())if(M.namespaceId){const F=this._fetchNamespace(M.namespaceId);F&&u.add(F)}return u}trigger(f,u,g,M){if(Tr(u)){const F=this._fetchNamespace(f);if(F)return F.trigger(u,g,M),!0}return!1}insertNode(f,u,g,M){if(!Tr(u))return;const F=u[Li];if(F&&F.setForRemoval){F.setForRemoval=!1,F.setForMove=!0;const Q=this.collectedLeaveElements.indexOf(u);Q>=0&&this.collectedLeaveElements.splice(Q,1)}if(f){const Q=this._fetchNamespace(f);Q&&Q.insertNode(u,g)}M&&this.collectEnterElement(u)}collectEnterElement(f){this.collectedEnterElements.push(f)}markElementAsDisabled(f,u){u?this.disabledNodes.has(f)||(this.disabledNodes.add(f),zi(f,xn)):this.disabledNodes.has(f)&&(this.disabledNodes.delete(f),sn(f,xn))}removeNode(f,u,g){if(Tr(u)){const M=f?this._fetchNamespace(f):null;M?M.removeNode(u,g):this.markElementAsRemoved(f,u,!1,g);const F=this.namespacesByHostElement.get(u);F&&F.id!==f&&F.removeNode(u,g)}else this._onRemovalComplete(u,g)}markElementAsRemoved(f,u,g,M,F){this.collectedLeaveElements.push(u),u[Li]={namespaceId:f,setForRemoval:M,hasAnimation:g,removedBeforeQueried:!1,previousTriggersValues:F}}listen(f,u,g,M,F){return Tr(u)?this._fetchNamespace(f).listen(u,g,M,F):()=>{}}_buildInstruction(f,u,g,M,F){return f.transition.build(this.driver,f.element,f.fromState.value,f.toState.value,g,M,f.fromState.options,f.toState.options,u,F)}destroyInnerAnimations(f){let u=this.driver.query(f,mi,!0);u.forEach(g=>this.destroyActiveAnimationsForElement(g)),0!=this.playersByQueriedElement.size&&(u=this.driver.query(f,_i,!0),u.forEach(g=>this.finishActiveQueriedAnimationOnElement(g)))}destroyActiveAnimationsForElement(f){const u=this.playersByElement.get(f);u&&u.forEach(g=>{g.queued?g.markedForDestroy=!0:g.destroy()})}finishActiveQueriedAnimationOnElement(f){const u=this.playersByQueriedElement.get(f);u&&u.forEach(g=>g.finish())}whenRenderingDone(){return new Promise(f=>{if(this.players.length)return ue(this.players).onDone(()=>f());f()})}processLeaveNode(f){const u=f[Li];if(u&&u.setForRemoval){if(f[Li]=Qn,u.namespaceId){this.destroyInnerAnimations(f);const g=this._fetchNamespace(u.namespaceId);g&&g.clearElementCache(f)}this._onRemovalComplete(f,u.setForRemoval)}f.classList?.contains(xn)&&this.markElementAsDisabled(f,!1),this.driver.query(f,".ng-animate-disabled",!0).forEach(g=>{this.markElementAsDisabled(g,!1)})}flush(f=-1){let u=[];if(this.newHostElements.size&&(this.newHostElements.forEach((g,M)=>this._balanceNamespaceList(g,M)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let g=0;g<this.collectedEnterElements.length;g++)zi(this.collectedEnterElements[g],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const g=[];try{u=this._flushAnimations(g,f)}finally{for(let M=0;M<g.length;M++)g[M]()}}else for(let g=0;g<this.collectedLeaveElements.length;g++)this.processLeaveNode(this.collectedLeaveElements[g]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(g=>g()),this._flushFns=[],this._whenQuietFns.length){const g=this._whenQuietFns;this._whenQuietFns=[],u.length?ue(u).onDone(()=>{g.forEach(M=>M())}):g.forEach(M=>M())}}reportError(f){throw function ge(w){return new l.wOt(3402,!1)}()}_flushAnimations(f,u){const g=new ii,M=[],F=new Map,Q=[],le=new Map,Ie=new Map,He=new Map,vt=new Set;this.disabledNodes.forEach(Pt=>{vt.add(Pt);const $t=this.driver.query(Pt,".ng-animate-queued",!0);for(let Nt=0;Nt<$t.length;Nt++)vt.add($t[Nt])});const Ct=this.bodyNode,Nn=Array.from(this.statesByElement.keys()),Jt=Or(Nn,this.collectedEnterElements),Ft=new Map;let Kt=0;Jt.forEach((Pt,$t)=>{const Nt=Wn+Kt++;Ft.set($t,Nt),Pt.forEach(_n=>zi(_n,Nt))});const mn=[],Pi=new Set,Ri=new Set;for(let Pt=0;Pt<this.collectedLeaveElements.length;Pt++){const $t=this.collectedLeaveElements[Pt],Nt=$t[Li];Nt&&Nt.setForRemoval&&(mn.push($t),Pi.add($t),Nt.hasAnimation?this.driver.query($t,".ng-star-inserted",!0).forEach(_n=>Pi.add(_n)):Ri.add($t))}const Fr=new Map,Oi=Or(Nn,Array.from(Pi));Oi.forEach((Pt,$t)=>{const Nt=yn+Kt++;Fr.set($t,Nt),Pt.forEach(_n=>zi(_n,Nt))}),f.push(()=>{Jt.forEach((Pt,$t)=>{const Nt=Ft.get($t);Pt.forEach(_n=>sn(_n,Nt))}),Oi.forEach((Pt,$t)=>{const Nt=Fr.get($t);Pt.forEach(_n=>sn(_n,Nt))}),mn.forEach(Pt=>{this.processLeaveNode(Pt)})});const ar=[],ao=[];for(let Pt=this._namespaceList.length-1;Pt>=0;Pt--)this._namespaceList[Pt].drainQueuedTransitions(u).forEach(Nt=>{const _n=Nt.player,cr=Nt.element;if(ar.push(_n),this.collectedEnterElements.length){const ur=cr[Li];if(ur&&ur.setForMove){if(ur.previousTriggersValues&&ur.previousTriggersValues.has(Nt.triggerName)){const _s=ur.previousTriggersValues.get(Nt.triggerName),Lr=this.statesByElement.get(Nt.element);if(Lr&&Lr.has(Nt.triggerName)){const Ks=Lr.get(Nt.triggerName);Ks.value=_s,Lr.set(Nt.triggerName,Ks)}}return void _n.destroy()}}const No=!Ct||!this.driver.containsElement(Ct,cr),Yr=Fr.get(cr),Ao=Ft.get(cr),$n=this._buildInstruction(Nt,g,Ao,Yr,No);if($n.errors&&$n.errors.length)return void ao.push($n);if(No)return _n.onStart(()=>Ei(cr,$n.fromStyles)),_n.onDestroy(()=>xi(cr,$n.toStyles)),void M.push(_n);if(Nt.isFallbackTransition)return _n.onStart(()=>Ei(cr,$n.fromStyles)),_n.onDestroy(()=>xi(cr,$n.toStyles)),void M.push(_n);const oc=[];$n.timelines.forEach(ur=>{ur.stretchStartingKeyframe=!0,this.disabledNodes.has(ur.element)||oc.push(ur)}),$n.timelines=oc,g.append(cr,$n.timelines),Q.push({instruction:$n,player:_n,element:cr}),$n.queriedElements.forEach(ur=>Ot(le,ur,[]).push(_n)),$n.preStyleProps.forEach((ur,_s)=>{if(ur.size){let Lr=Ie.get(_s);Lr||Ie.set(_s,Lr=new Set),ur.forEach((Ks,vl)=>Lr.add(vl))}}),$n.postStyleProps.forEach((ur,_s)=>{let Lr=He.get(_s);Lr||He.set(_s,Lr=new Set),ur.forEach((Ks,vl)=>Lr.add(vl))})});if(ao.length){const Pt=[];ao.forEach($t=>{Pt.push(function q(w,f){return new l.wOt(3505,!1)}())}),ar.forEach($t=>$t.destroy()),this.reportError(Pt)}const lr=new Map,Xr=new Map;Q.forEach(Pt=>{const $t=Pt.element;g.has($t)&&(Xr.set($t,$t),this._beforeAnimationBuild(Pt.player.namespaceId,Pt.instruction,lr))}),M.forEach(Pt=>{const $t=Pt.element;this._getPreviousPlayers($t,!1,Pt.namespaceId,Pt.triggerName,null).forEach(_n=>{Ot(lr,$t,[]).push(_n),_n.destroy()})});const ms=mn.filter(Pt=>Gr(Pt,Ie,He)),os=new Map;_r(os,this.driver,Ri,He,W.kp).forEach(Pt=>{Gr(Pt,Ie,He)&&ms.push(Pt)});const Ba=new Map;Jt.forEach((Pt,$t)=>{_r(Ba,this.driver,new Set(Pt),Ie,W.FX)}),ms.forEach(Pt=>{const $t=os.get(Pt),Nt=Ba.get(Pt);os.set(Pt,new Map([...$t?.entries()??[],...Nt?.entries()??[]]))});const Ps=[],ja=[],Uo={};Q.forEach(Pt=>{const{element:$t,player:Nt,instruction:_n}=Pt;if(g.has($t)){if(vt.has($t))return Nt.onDestroy(()=>xi($t,_n.toStyles)),Nt.disabled=!0,Nt.overrideTotalTime(_n.totalTime),void M.push(Nt);let cr=Uo;if(Xr.size>1){let Yr=$t;const Ao=[];for(;Yr=Yr.parentNode;){const $n=Xr.get(Yr);if($n){cr=$n;break}Ao.push(Yr)}Ao.forEach($n=>Xr.set($n,cr))}const No=this._buildAnimation(Nt.namespaceId,_n,lr,F,Ba,os);if(Nt.setRealPlayer(No),cr===Uo)Ps.push(Nt);else{const Yr=this.playersByElement.get(cr);Yr&&Yr.length&&(Nt.parentPlayer=ue(Yr)),M.push(Nt)}}else Ei($t,_n.fromStyles),Nt.onDestroy(()=>xi($t,_n.toStyles)),ja.push(Nt),vt.has($t)&&M.push(Nt)}),ja.forEach(Pt=>{const $t=F.get(Pt.element);if($t&&$t.length){const Nt=ue($t);Pt.setRealPlayer(Nt)}}),M.forEach(Pt=>{Pt.parentPlayer?Pt.syncPlayerEvents(Pt.parentPlayer):Pt.destroy()});for(let Pt=0;Pt<mn.length;Pt++){const $t=mn[Pt],Nt=$t[Li];if(sn($t,yn),Nt&&Nt.hasAnimation)continue;let _n=[];if(le.size){let No=le.get($t);No&&No.length&&_n.push(...No);let Yr=this.driver.query($t,_i,!0);for(let Ao=0;Ao<Yr.length;Ao++){let $n=le.get(Yr[Ao]);$n&&$n.length&&_n.push(...$n)}}const cr=_n.filter(No=>!No.destroyed);cr.length?Vs(this,$t,cr):this.processLeaveNode($t)}return mn.length=0,Ps.forEach(Pt=>{this.players.push(Pt),Pt.onDone(()=>{Pt.destroy();const $t=this.players.indexOf(Pt);this.players.splice($t,1)}),Pt.play()}),Ps}afterFlush(f){this._flushFns.push(f)}afterFlushAnimationsDone(f){this._whenQuietFns.push(f)}_getPreviousPlayers(f,u,g,M,F){let Q=[];if(u){const le=this.playersByQueriedElement.get(f);le&&(Q=le)}else{const le=this.playersByElement.get(f);if(le){const Ie=!F||F==mr;le.forEach(He=>{He.queued||!Ie&&He.triggerName!=M||Q.push(He)})}}return(g||M)&&(Q=Q.filter(le=>!(g&&g!=le.namespaceId||M&&M!=le.triggerName))),Q}_beforeAnimationBuild(f,u,g){const F=u.element,Q=u.isRemovalTransition?void 0:f,le=u.isRemovalTransition?void 0:u.triggerName;for(const Ie of u.timelines){const He=Ie.element,vt=He!==F,Ct=Ot(g,He,[]);this._getPreviousPlayers(He,vt,Q,le,u.toState).forEach(Jt=>{const Ft=Jt.getRealPlayer();Ft.beforeDestroy&&Ft.beforeDestroy(),Jt.destroy(),Ct.push(Jt)})}Ei(F,u.fromStyles)}_buildAnimation(f,u,g,M,F,Q){const le=u.triggerName,Ie=u.element,He=[],vt=new Set,Ct=new Set,Nn=u.timelines.map(Ft=>{const Kt=Ft.element;vt.add(Kt);const mn=Kt[Li];if(mn&&mn.removedBeforeQueried)return new W.sf(Ft.duration,Ft.delay);const Pi=Kt!==Ie,Ri=function go(w){const f=[];return Bi(w,f),f}((g.get(Kt)||Ur).map(lr=>lr.getRealPlayer())).filter(lr=>!!lr.element&&lr.element===Kt),Fr=F.get(Kt),Oi=Q.get(Kt),ar=Ue(this._normalizer,Ft.keyframes,Fr,Oi),ao=this._buildPlayer(Ft,ar,Ri);if(Ft.subTimeline&&M&&Ct.add(Kt),Pi){const lr=new io(f,le,Kt);lr.setRealPlayer(ao),He.push(lr)}return ao});He.forEach(Ft=>{Ot(this.playersByQueriedElement,Ft.element,[]).push(Ft),Ft.onDone(()=>function rr(w,f,u){let g=w.get(f);if(g){if(g.length){const M=g.indexOf(u);g.splice(M,1)}0==g.length&&w.delete(f)}return g}(this.playersByQueriedElement,Ft.element,Ft))}),vt.forEach(Ft=>zi(Ft,nn));const Jt=ue(Nn);return Jt.onDestroy(()=>{vt.forEach(Ft=>sn(Ft,nn)),xi(Ie,u.toStyles)}),Ct.forEach(Ft=>{Ot(M,Ft,[]).push(Jt)}),Jt}_buildPlayer(f,u,g){return u.length>0?this.driver.animate(f.element,u,f.duration,f.delay,f.easing,g):new W.sf(f.duration,f.delay)}}class io{constructor(f,u,g){this.namespaceId=f,this.triggerName=u,this.element=g,this._player=new W.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(f){this._containsRealPlayer||(this._player=f,this._queuedCallbacks.forEach((u,g)=>{u.forEach(M=>Ut(f,g,void 0,M))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(f.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(f){this.totalTime=f}syncPlayerEvents(f){const u=this._player;u.triggerCallback&&f.onStart(()=>u.triggerCallback("start")),f.onDone(()=>this.finish()),f.onDestroy(()=>this.destroy())}_queueEvent(f,u){Ot(this._queuedCallbacks,f,[]).push(u)}onDone(f){this.queued&&this._queueEvent("done",f),this._player.onDone(f)}onStart(f){this.queued&&this._queueEvent("start",f),this._player.onStart(f)}onDestroy(f){this.queued&&this._queueEvent("destroy",f),this._player.onDestroy(f)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(f){this.queued||this._player.setPosition(f)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(f){const u=this._player;u.triggerCallback&&u.triggerCallback(f)}}function Tr(w){return w&&1===w.nodeType}function Hr(w,f){const u=w.style.display;return w.style.display=f??"none",u}function _r(w,f,u,g,M){const F=[];u.forEach(Ie=>F.push(Hr(Ie)));const Q=[];g.forEach((Ie,He)=>{const vt=new Map;Ie.forEach(Ct=>{const Nn=f.computeStyle(He,Ct,M);vt.set(Ct,Nn),(!Nn||0==Nn.length)&&(He[Li]=qi,Q.push(He))}),w.set(He,vt)});let le=0;return u.forEach(Ie=>Hr(Ie,F[le++])),Q}function Or(w,f){const u=new Map;if(w.forEach(le=>u.set(le,[])),0==f.length)return u;const M=new Set(f),F=new Map;function Q(le){if(!le)return 1;let Ie=F.get(le);if(Ie)return Ie;const He=le.parentNode;return Ie=u.has(He)?He:M.has(He)?1:Q(He),F.set(le,Ie),Ie}return f.forEach(le=>{const Ie=Q(le);1!==Ie&&u.get(Ie).push(le)}),u}function zi(w,f){w.classList?.add(f)}function sn(w,f){w.classList?.remove(f)}function Vs(w,f,u){ue(u).onDone(()=>w.processLeaveNode(f))}function Bi(w,f){for(let u=0;u<w.length;u++){const g=w[u];g instanceof W.ui?Bi(g.players,f):f.push(g)}}function Gr(w,f,u){const g=u.get(w);if(!g)return!1;let M=f.get(w);return M?g.forEach(F=>M.add(F)):f.set(w,g),u.delete(w),!0}class Rr{constructor(f,u,g){this.bodyNode=f,this._driver=u,this._normalizer=g,this._triggerCache={},this.onRemovalComplete=(M,F)=>{},this._transitionEngine=new Gn(f,u,g),this._timelineEngine=new Un(f,u,g),this._transitionEngine.onRemovalComplete=(M,F)=>this.onRemovalComplete(M,F)}registerTrigger(f,u,g,M,F){const Q=f+"-"+M;let le=this._triggerCache[Q];if(!le){const Ie=[],vt=In(this._driver,F,Ie,[]);if(Ie.length)throw function Qt(w,f){return new l.wOt(3404,!1)}();le=function $r(w,f,u){return new fo(w,f,u)}(M,vt,this._normalizer),this._triggerCache[Q]=le}this._transitionEngine.registerTrigger(u,M,le)}register(f,u){this._transitionEngine.register(f,u)}destroy(f,u){this._transitionEngine.destroy(f,u)}onInsert(f,u,g,M){this._transitionEngine.insertNode(f,u,g,M)}onRemove(f,u,g){this._transitionEngine.removeNode(f,u,g)}disableAnimations(f,u){this._transitionEngine.markElementAsDisabled(f,u)}process(f,u,g,M){if("@"==g.charAt(0)){const[F,Q]=jt(g);this._timelineEngine.command(F,u,Q,M)}else this._transitionEngine.trigger(f,u,g,M)}listen(f,u,g,M,F){if("@"==g.charAt(0)){const[Q,le]=jt(g);return this._timelineEngine.listen(Q,u,le,F)}return this._transitionEngine.listen(f,u,g,M,F)}flush(f=-1){this._transitionEngine.flush(f)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(f){this._transitionEngine.afterFlushAnimationsDone(f)}}let Gi=(()=>{class w{static{this.initialStylesByElement=new WeakMap}constructor(u,g,M){this._element=u,this._startStyles=g,this._endStyles=M,this._state=0;let F=w.initialStylesByElement.get(u);F||w.initialStylesByElement.set(u,F=new Map),this._initialStyles=F}start(){this._state<1&&(this._startStyles&&xi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(xi(this._element,this._initialStyles),this._endStyles&&(xi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(w.initialStylesByElement.delete(this._element),this._startStyles&&(Ei(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ei(this._element,this._endStyles),this._endStyles=null),xi(this._element,this._initialStyles),this._state=3)}}return w})();function us(w){let f=null;return w.forEach((u,g)=>{(function Di(w){return"display"===w||"position"===w})(g)&&(f=f||new Map,f.set(g,u))}),f}class ji{constructor(f,u,g,M){this.element=f,this.keyframes=u,this.options=g,this._specialStyles=M,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=g.duration,this._delay=g.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(f=>f()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const f=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,f,this.options),this._finalKeyframe=f.length?f[f.length-1]:new Map;const u=()=>this._onFinish();this.domPlayer.addEventListener("finish",u),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",u)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(f){const u=[];return f.forEach(g=>{u.push(Object.fromEntries(g))}),u}_triggerWebAnimation(f,u,g){return f.animate(this._convertKeyframesToObject(u),g)}onStart(f){this._originalOnStartFns.push(f),this._onStartFns.push(f)}onDone(f){this._originalOnDoneFns.push(f),this._onDoneFns.push(f)}onDestroy(f){this._onDestroyFns.push(f)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(f=>f()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(f=>f()),this._onDestroyFns=[])}setPosition(f){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=f*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const f=new Map;this.hasStarted()&&this._finalKeyframe.forEach((g,M)=>{"offset"!==M&&f.set(M,this._finished?g:di(this.element,M))}),this.currentSnapshot=f}triggerCallback(f){const u="start"===f?this._onStartFns:this._onDoneFns;u.forEach(g=>g()),u.length=0}}class ws{validateStyleProperty(f){return!0}validateAnimatableStyleProperty(f){return!0}matchesElement(f,u){return!1}containsElement(f,u){return qt(f,u)}getParentElement(f){return De(f)}query(f,u,g){return _t(f,u,g)}computeStyle(f,u,g){return window.getComputedStyle(f)[u]}animate(f,u,g,M,F,Q=[]){const Ie={duration:g,delay:M,fill:0==M?"both":"forwards"};F&&(Ie.easing=F);const He=new Map,vt=Q.filter(Jt=>Jt instanceof ji);(function dn(w,f){return 0===w||0===f})(g,M)&&vt.forEach(Jt=>{Jt.currentSnapshot.forEach((Ft,Kt)=>He.set(Kt,Ft))});let Ct=function fr(w){return w.length?w[0]instanceof Map?w:w.map(f=>Cr(f)):[]}(u).map(Jt=>Zn(Jt));Ct=function Lt(w,f,u){if(u.size&&f.length){let g=f[0],M=[];if(u.forEach((F,Q)=>{g.has(Q)||M.push(Q),g.set(Q,F)}),M.length)for(let F=1;F<f.length;F++){let Q=f[F];M.forEach(le=>Q.set(le,di(w,le)))}}return f}(f,Ct,He);const Nn=function Bo(w,f){let u=null,g=null;return Array.isArray(f)&&f.length?(u=us(f[0]),f.length>1&&(g=us(f[f.length-1]))):f instanceof Map&&(u=us(f)),u||g?new Gi(w,u,g):null}(f,Ct);return new ji(f,Ct,Ie,Nn)}}var Wt=T(177);let mo=(()=>{class w extends W.S6{constructor(u,g){super(),this._nextAnimationId=0,this._renderer=u.createRenderer(g.body,{id:"0",encapsulation:l.gXe.None,styles:[],data:{animation:[]}})}build(u){const g=this._nextAnimationId.toString();this._nextAnimationId++;const M=Array.isArray(u)?(0,W.K2)(u):u;return Eo(this._renderer,null,g,"register",[M]),new Sr(g,this._renderer)}static{this.\u0275fac=function(g){return new(g||w)(l.KVO(l._9s),l.KVO(Wt.qQ))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac})}}return w})();class Sr extends W.Ro{constructor(f,u){super(),this._id=f,this._renderer=u}create(f,u){return new ds(this._id,f,u||{},this._renderer)}}class ds{constructor(f,u,g,M){this.id=f,this.element=u,this._renderer=M,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",g)}_listen(f,u){return this._renderer.listen(this.element,`@@${this.id}:${f}`,u)}_command(f,...u){return Eo(this._renderer,this.element,this.id,f,u)}onDone(f){this._listen("done",f)}
1onStart(f){this._listen("start",f)}onDestroy(f){this._listen("destroy",f)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(f){this._command("setPosition",f)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Eo(w,f,u,g,M){return w.setProperty(f,`@@${u}:${g}`,M)}const $s="@.disabled";let hs=(()=>{class w{constructor(u,g,M){this.delegate=u,this.engine=g,this._zone=M,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,g.onRemovalComplete=(F,Q)=>{const le=Q?.parentNode(F);le&&Q.removeChild(le,F)}}createRenderer(u,g){const F=this.delegate.createRenderer(u,g);if(!(u&&g&&g.data&&g.data.animation)){let vt=this._rendererCache.get(F);return vt||(vt=new R("",F,this.engine,()=>this._rendererCache.delete(F)),this._rendererCache.set(F,vt)),vt}const Q=g.id,le=g.id+"-"+this._currentId;this._currentId++,this.engine.register(le,u);const Ie=vt=>{Array.isArray(vt)?vt.forEach(Ie):this.engine.registerTrigger(Q,le,u,vt.name,vt)};return g.data.animation.forEach(Ie),new L(this,le,F,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(u,g,M){u>=0&&u<this._microtaskId?this._zone.run(()=>g(M)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(F=>{const[Q,le]=F;Q(le)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([g,M]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static{this.\u0275fac=function(g){return new(g||w)(l.KVO(l._9s),l.KVO(Rr),l.KVO(l.SKi))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac})}}return w})();class R{constructor(f,u,g,M){this.namespaceId=f,this.delegate=u,this.engine=g,this._onDestroy=M}get data(){return this.delegate.data}destroyNode(f){this.delegate.destroyNode?.(f)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(f,u){return this.delegate.createElement(f,u)}createComment(f){return this.delegate.createComment(f)}createText(f){return this.delegate.createText(f)}appendChild(f,u){this.delegate.appendChild(f,u),this.engine.onInsert(this.namespaceId,u,f,!1)}insertBefore(f,u,g,M=!0){this.delegate.insertBefore(f,u,g),this.engine.onInsert(this.namespaceId,u,f,M)}removeChild(f,u,g){this.engine.onRemove(this.namespaceId,u,this.delegate)}selectRootElement(f,u){return this.delegate.selectRootElement(f,u)}parentNode(f){return this.delegate.parentNode(f)}nextSibling(f){return this.delegate.nextSibling(f)}setAttribute(f,u,g,M){this.delegate.setAttribute(f,u,g,M)}removeAttribute(f,u,g){this.delegate.removeAttribute(f,u,g)}addClass(f,u){this.delegate.addClass(f,u)}removeClass(f,u){this.delegate.removeClass(f,u)}setStyle(f,u,g,M){this.delegate.setStyle(f,u,g,M)}removeStyle(f,u,g){this.delegate.removeStyle(f,u,g)}setProperty(f,u,g){"@"==u.charAt(0)&&u==$s?this.disableAnimations(f,!!g):this.delegate.setProperty(f,u,g)}setValue(f,u){this.delegate.setValue(f,u)}listen(f,u,g){return this.delegate.listen(f,u,g)}disableAnimations(f,u){this.engine.disableAnimations(f,u)}}class L extends R{constructor(f,u,g,M,F){super(u,g,M,F),this.factory=f,this.namespaceId=u}setProperty(f,u,g){"@"==u.charAt(0)?"."==u.charAt(1)&&u==$s?this.disableAnimations(f,g=void 0===g||!!g):this.engine.process(this.namespaceId,f,u.slice(1),g):this.delegate.setProperty(f,u,g)}listen(f,u,g){if("@"==u.charAt(0)){const M=function O(w){switch(w){case"body":return document.body;case"document":return document;case"window":return window;default:return w}}(f);let F=u.slice(1),Q="";return"@"!=F.charAt(0)&&([F,Q]=function G(w){const f=w.indexOf(".");return[w.substring(0,f),w.slice(f+1)]}(F)),this.engine.listen(this.namespaceId,M,F,Q,le=>{this.factory.scheduleListenerCallback(le._data||-1,g,le)})}return this.delegate.listen(f,u,g)}}const vr=[{provide:W.S6,useClass:mo},{provide:qr,useFactory:function Vt(){return new Fo}},{provide:Rr,useClass:(()=>{class w extends Rr{constructor(u,g,M,F){super(u.body,g,M)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(g){return new(g||w)(l.KVO(Wt.qQ),l.KVO(En),l.KVO(qr),l.KVO(l.o8S))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac})}}return w})()},{provide:l._9s,useFactory:function fn(w,f,u){return new hs(w,f,u)},deps:[i.B7,Rr,l.SKi]}],kr=[{provide:En,useFactory:()=>new ws},{provide:l.bc$,useValue:"BrowserAnimations"},...vr],fs=[{provide:En,useClass:Ht},{provide:l.bc$,useValue:"NoopAnimations"},...vr];let ol=(()=>{class w{static withConfig(u){return{ngModule:w,providers:u.disableAnimations?fs:kr}}static{this.\u0275fac=function(g){return new(g||w)}}static{this.\u0275mod=l.$C({type:w})}static{this.\u0275inj=l.G2t({providers:kr,imports:[i.Bb]})}}return w})();
1var Cs=T(4700),Us=T(5794),ri=T(1165);const vo=[{path:"category/cau-nguyen",redirectTo:"suy-tu/cau-nguyen",pathMatch:"full"},{path:"category/hoc-lam-nguoi",redirectTo:"suy-tu/hon-nhan-gia-dinh",pathMatch:"full"},{path:"loi-chua-hang-ngay",redirectTo:"suy-tu/suy-tu-tin-mung",pathMatch:"full"},{path:"category/cau-nguyen/loi-chua-cho-ngay-song",redirectTo:"suy-tu/suy-tu-tin-mung",pathMatch:"full"},{path:"category/bai-viet",redirectTo:"suy-tu",pathMatch:"full"},{path:"dong-ten",loadChildren:()=>Promise.all([T.e(531),T.e(447),T.e(580),T.e(978),T.e(651),T.e(76),T.e(271)]).then(T.bind(T,6271)).then(w=>w.DongTenModule)},{path:"linh-dao",loadChildren:()=>Promise.all([T.e(531),T.e(447),T.e(580),T.e(978),T.e(992),T.e(651),T.e(76),T.e(100)]).then(T.bind(T,6100)).then(w=>w.LinhDaoModule)},{path:"su-vu",loadChildren:()=>Promise.all([T.e(531),T.e(447),T.e(580),T.e(978),T.e(992),T.e(651),T.e(76),T.e(883)]).then(T.bind(T,2883)).then(w=>w.SuvuModule)},{path:"suy-tu",loadChildren:()=>Promise.all([T.e(531),T.e(447),T.e(580),T.e(992),T.e(459)]).then(T.bind(T,6459)).then(w=>w.SuytuModule)},{path:"tin-tuc",loadChildren:()=>Promise.all([T.e(531),T.e(447),T.e(580),T.e(992),T.e(21)]).then(T.bind(T,21)).then(w=>w.TintucModule)},{path:"podcast",loadChildren:()=>Promise.all([T.e(531),T.e(76),T.e(957)]).then(T.bind(T,957)).then(w=>w.PodcastModule)},{path:"dien-dan",loadChildren:()=>Promise.all([T.e(531),T.e(447),T.e(76),T.e(779)]).then(T.bind(T,1779)).then(w=>w.ForumModule)},{path:"account",loadChildren:()=>Promise.all([T.e(531),T.e(76),T.e(30)]).then(T.bind(T,2030)).then(w=>w.AccountModule)},{path:"quick-edit",loadChildren:()=>Promise.all([T.e(531),T.e(978),T.e(76),T.e(623)]).then(T.bind(T,3623)).then(w=>w.QuickEditModule)},{path:"newsletter",loadChildren:()=>T.e(288).then(T.bind(T,5288)).then(w=>w.NewsletterModule)},{path:"not-found",component:(()=>{class w{constructor(u,g,M){this.title=u,this.meta=g,this.router=M}ngOnInit(){this.initSeo()}initSeo(){const u="404 - Trang kh\xf4ng t\xecm th\u1ea5y | DongTen.vn",g="Trang b\u1ea1n \u0111ang t\xecm ki\u1ebfm kh\xf4ng t\u1ed3n t\u1ea1i ho\u1eb7c \u0111\xe3 b\u1ecb di chuy\u1ec3n.";this.title.setTitle(u),this.meta.updateTag({name:"description",content:g}),this.meta.updateTag({property:"og:title",content:u}),this.meta.updateTag({property:"og:description",content:g}),this.meta.updateTag({property:"og:site_name",content:"D\xf2ng T\xean - D\xf2ng Ch\xfaa Gi\xeasu"}),this.meta.updateTag({property:"og:type",content:"website"})}goHome(){this.router.navigateByUrl("/").catch(u=>{console.error("Navigation error:",u),window.location.href="/"})}goBack(){window.history.back()}static{this.\u0275fac=function(g){return new(g||w)(l.rXU(i.hE),l.rXU(i.W8),l.rXU(ri.Ix))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["app-not-found"]],decls:23,vars:0,consts:[[1,"not-found-page"],[1,"container"],[1,"not-found-content"],[1,"not-found-icon"],[1,"error-code"],[1,"error-icon"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["cx","12","cy","12","r","10"],["x1","12","y1","8","x2","12","y2","12"],["x1","12","y1","16","x2","12.01","y2","16"],[1,"not-found-title"],[1,"not-found-message"],[1,"not-found-actions"],["type","button",1,"btn","btn-danger","rounded-pill","me-3",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",2,"margin-right","8px"],["d","M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"],["points","9 22 9 12 15 12 15 22"]],template:function(g,M){1&g&&(l.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),l.EFF(5,"404"),l.k0s(),l.j41(6,"div",5),l.qSk(),l.j41(7,"svg",6),l.nrm(8,"circle",7)(9,"line",8)(10,"line",9),l.k0s()()(),l.joV(),l.j41(11,"h1",10),l.EFF(12,"Trang kh\xf4ng t\xecm th\u1ea5y"),l.k0s(),l.j41(13,"p",11),l.EFF(14," Xin l\u1ed7i, trang b\u1ea1n \u0111ang t\xecm ki\u1ebfm kh\xf4ng t\u1ed3n t\u1ea1i. "),l.nrm(15,"br"),l.EFF(16," Vui l\xf2ng ki\u1ec3m tra l\u1ea1i \u0111\u01b0\u1eddng d\u1eabn ho\u1eb7c quay v\u1ec1 trang ch\u1ee7. "),l.k0s(),l.j41(17,"div",12)(18,"button",13),l.bIt("click",function(){return M.goHome()}),l.qSk(),l.j41(19,"svg",14),l.nrm(20,"path",15)(21,"polyline",16),l.k0s(),l.EFF(22," V\u1ec1 trang ch\u1ee7 "),l.k0s()()()()())},styles:["[_ngcontent-%COMP%]:root{--main-color: #900d14;--text-color: #0a0a0a}.not-found-page[_ngcontent-%COMP%]{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:100px 15px}.not-found-page[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{max-width:800px;width:100%}.not-found-page[_ngcontent-%COMP%]   .not-found-content[_ngcontent-%COMP%]{text-align:center;animation:_ngcontent-%COMP%_fadeInUp .6s ease-out}@keyframes _ngcontent-%COMP%_fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.not-found-page[_ngcontent-%COMP%]   .not-found-icon[_ngcontent-%COMP%]{margin-bottom:30px;position:relative}.not-found-page[_ngcontent-%COMP%]   .not-found-icon[_ngcontent-%COMP%]   .error-code[_ngcontent-%COMP%]{font-size:120px;font-weight:700;background:linear-gradient(135deg,#900D14 0%,#AE1017 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;line-height:1;margin-bottom:20px;animation:_ngcontent-%COMP%_pulse 2s ease-in-out infinite}@keyframes _ngcontent-%COMP%_pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}
1@media screen and (max-width: 768px){.not-found-page[_ngcontent-%COMP%]   .not-found-icon[_ngcontent-%COMP%]   .error-code[_ngcontent-%COMP%]{font-size:80px}}@media screen and (max-width: 480px){.not-found-page[_ngcontent-%COMP%]   .not-found-icon[_ngcontent-%COMP%]   .error-code[_ngcontent-%COMP%]{font-size:60px}}.not-found-page[_ngcontent-%COMP%]   .not-found-icon[_ngcontent-%COMP%]   .error-icon[_ngcontent-%COMP%]{width:80px;height:80px;margin:0 auto;color:#900d14;opacity:.3;animation:_ngcontent-%COMP%_float 3s ease-in-out infinite}@keyframes _ngcontent-%COMP%_float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.not-found-page[_ngcontent-%COMP%]   .not-found-icon[_ngcontent-%COMP%]   .error-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:100%;height:100%}@media screen and (max-width: 768px){.not-found-page[_ngcontent-%COMP%]   .not-found-icon[_ngcontent-%COMP%]   .error-icon[_ngcontent-%COMP%]{width:60px;height:60px}}.not-found-page[_ngcontent-%COMP%]   .not-found-title[_ngcontent-%COMP%]{font-size:36px;font-weight:600;color:#424242;margin-bottom:20px;line-height:1.3}@media screen and (max-width: 768px){.not-found-page[_ngcontent-%COMP%]   .not-found-title[_ngcontent-%COMP%]{font-size:28px}}@media screen and (max-width: 480px){.not-found-page[_ngcontent-%COMP%]   .not-found-title[_ngcontent-%COMP%]{font-size:24px}}.not-found-page[_ngcontent-%COMP%]   .not-found-message[_ngcontent-%COMP%]{font-size:18px;color:#666;line-height:1.8;margin-bottom:40px;max-width:600px;margin-left:auto;margin-right:auto}@media screen and (max-width: 768px){.not-found-page[_ngcontent-%COMP%]   .not-found-message[_ngcontent-%COMP%]{font-size:16px;margin-bottom:30px}}@media screen and (max-width: 480px){.not-found-page[_ngcontent-%COMP%]   .not-found-message[_ngcontent-%COMP%]{font-size:14px;margin-bottom:25px}}.not-found-page[_ngcontent-%COMP%]   .not-found-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:15px;margin-bottom:50px;flex-wrap:wrap}.not-found-page[_ngcontent-%COMP%]   .not-found-actions[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:12px 30px;font-size:16px;font-weight:500;transition:all .3s ease;border:none;cursor:pointer}.not-found-page[_ngcontent-%COMP%]   .not-found-actions[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.not-found-page[_ngcontent-%COMP%]   .not-found-actions[_ngcontent-%COMP%]   .btn.btn-danger[_ngcontent-%COMP%]{background:linear-gradient(0deg,#900D14,#AE1017);color:#fff;box-shadow:0 4px 15px #900d144d}.not-found-page[_ngcontent-%COMP%]   .not-found-actions[_ngcontent-%COMP%]   .btn.btn-danger[_ngcontent-%COMP%]:hover{background:linear-gradient(0deg,#AE1017,#900D14);transform:translateY(-2px);box-shadow:0 6px 20px #900d1466}.not-found-page[_ngcontent-%COMP%]   .not-found-actions[_ngcontent-%COMP%]   .btn.btn-danger[_ngcontent-%COMP%]:active{transform:translateY(0)}.not-found-page[_ngcontent-%COMP%]   .not-found-actions[_ngcontent-%COMP%]   .btn.btn-outline-secondary[_ngcontent-%COMP%]{background:#fff;color:#424242;border:2px solid #ddd;padding:10px 28px}.not-found-page[_ngcontent-%COMP%]   .not-found-actions[_ngcontent-%COMP%]   .btn.btn-outline-secondary[_ngcontent-%COMP%]:hover{background:#f5f5f5;border-color:#900d14;color:#900d14;transform:translateY(-2px)}.not-found-page[_ngcontent-%COMP%]   .not-found-actions[_ngcontent-%COMP%]   .btn.btn-outline-secondary[_ngcontent-%COMP%]:active{transform:translateY(0)}@media screen and (max-width: 480px){.not-found-page[_ngcontent-%COMP%]   .not-found-actions[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{padding:10px 20px;font-size:14px;width:100%;max-width:200px}}.not-found-page[_ngcontent-%COMP%]   .not-found-suggestions[_ngcontent-%COMP%]{margin-top:50px;padding-top:40px;border-top:1px solid #e0e0e0}.not-found-page[_ngcontent-%COMP%]   .not-found-suggestions[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:20px;color:#424242;margin-bottom:20px;font-weight:500}
1@media screen and (max-width: 768px){.not-found-page[_ngcontent-%COMP%]   .not-found-suggestions[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:18px}}.not-found-page[_ngcontent-%COMP%]   .not-found-suggestions[_ngcontent-%COMP%]   .suggestions-list[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:20px;flex-wrap:wrap}.not-found-page[_ngcontent-%COMP%]   .not-found-suggestions[_ngcontent-%COMP%]   .suggestions-list[_ngcontent-%COMP%]   .suggestion-link[_ngcontent-%COMP%]{display:inline-block;padding:8px 20px;background:#fff;color:#900d14;border:2px solid #900D14;border-radius:25px;text-decoration:none;font-size:14px;font-weight:500;transition:all .3s ease}.not-found-page[_ngcontent-%COMP%]   .not-found-suggestions[_ngcontent-%COMP%]   .suggestions-list[_ngcontent-%COMP%]   .suggestion-link[_ngcontent-%COMP%]:hover{background:#900D14;color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #900d144d}.not-found-page[_ngcontent-%COMP%]   .not-found-suggestions[_ngcontent-%COMP%]   .suggestions-list[_ngcontent-%COMP%]   .suggestion-link[_ngcontent-%COMP%]:active{transform:translateY(0)}@media screen and (max-width: 480px){.not-found-page[_ngcontent-%COMP%]   .not-found-suggestions[_ngcontent-%COMP%]   .suggestions-list[_ngcontent-%COMP%]   .suggestion-link[_ngcontent-%COMP%]{padding:6px 16px;font-size:12px}}"]})}}return w})()},{path:"",loadChildren:()=>Promise.all([T.e(531),T.e(447),T.e(580),T.e(978),T.e(76),T.e(931)]).then(T.bind(T,4931)).then(w=>w.HomeModule)},{path:"**",redirectTo:"not-found"}];let zr=(()=>{class w{static{this.\u0275fac=function(g){return new(g||w)}}static{this.\u0275mod=l.$C({type:w})}static{this.\u0275inj=l.G2t({imports:[ri.iI.forRoot(vo,{initialNavigation:"enabledBlocking",scrollPositionRestoration:"disabled",anchorScrolling:"enabled",scrollOffset:[0,1]}),ri.iI]})}}return w})();(0,W.hZ)("routeAnimations",[(0,W.kY)("* <=> *",[(0,W.P)(":enter",[(0,W.iF)({position:"absolute",width:"100%",opacity:0,transform:"translateY(20px)"})],{optional:!0}),(0,W.P)(":leave",[(0,W.i0)("300ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,W.iF)({opacity:0,transform:"translateY(-20px)"}))],{optional:!0}),(0,W.P)(":enter",[(0,W.i0)("400ms 100ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,W.iF)({opacity:1,transform:"translateY(0)"}))],{optional:!0})])]);const Ia=(0,W.hZ)("fadeAnimation",[(0,W.kY)("* => *, initial => initial",[]),(0,W.kY)("initial => *",[]),(0,W.kY)("* <=> *",[(0,W.P)(":enter",[(0,W.iF)({opacity:0,transform:"scale(0.98)"})],{optional:!0}),(0,W.P)(":leave",[(0,W.i0)("200ms cubic-bezier(0.4, 0.0, 1, 1)",(0,W.iF)({opacity:0,transform:"scale(1.02)"}))],{optional:!0}),(0,W.P)(":enter",[(0,W.i0)("400ms 150ms cubic-bezier(0.0, 0.0, 0.2, 1)",(0,W.iF)({opacity:1,transform:"scale(1)"}))],{optional:!0})])]);var li=T(4621);let Vo=(()=>{class w{constructor(u,g,M){this.router=u,this.viewportScroller=g,this.platformId=M,this.scrollToTopOnNavigation=!0,this.initScrollBehavior()}initScrollBehavior(){this.router.events.subscribe(u=>{u instanceof ri.Z&&(this.currentNavigationTrigger=u.navigationTrigger),u instanceof ri.wF&&this.scrollToTopOnNavigation&&"popstate"!==this.currentNavigationTrigger&&setTimeout(()=>{(0,Wt.UE)(this.platformId)&&window.scrollTo({top:0,behavior:"smooth"})},200)})}setScrollToTop(u){this.scrollToTopOnNavigation=u}static{this.\u0275fac=function(g){return new(g||w)(l.KVO(ri.Ix),l.KVO(Wt.Xr),l.KVO(l.Agw))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var Wi=T(9966),Yo=T(5312);let la=(()=>{class w{constructor(u,g){this.platformId=u,this.router=g,this.measurementId=Yo.c.googleAnalyticsMeasurementId??"",this.initialized=!1,this.scriptInjected=!1,this.pendingPagePaths=[]}init(){if(this.measurementId&&(0,Wt.UE)(this.platformId)&&!this.initialized){this.initialized=!0;try{window.dataLayer=window.dataLayer||[],window.gtag=window.gtag||function(){window.dataLayer.push(arguments)}}catch{return}(g=>{const M=window.requestIdleCallback;M?M(g,{timeout:3e3}):setTimeout(g,1200)})(()=>{this.injectScript(),this.configure(),this.flushPendingPageViews()})}}pageView(u){if(!this.measurementId||!(0,Wt.UE)(this.platformId))return;const g=this.normalizePath(u);if(this.scriptInjected)try{window.gtag?.("event","page_view",{page_path:g,page_location:window.location.href,page_title:document.title})}catch{}else this.pendingPagePaths.push(g)}injectScript(){if(!this.measurementId||!(0,Wt.UE)(this.platformId)||this.scriptInjected||(this.scriptInjected=!0,document.querySelector(`script[data-ga4="${this.measurementId}"]`)))return;const u=document.createElement("script");
1u.async=!0,u.src=`https://www.googletagmanager.com/gtag/js?id=${encodeURIComponent(this.measurementId)}`,u.setAttribute("data-ga4",this.measurementId),document.head.appendChild(u)}configure(){try{window.gtag?.("js",new Date),window.gtag?.("config",this.measurementId,{send_page_view:!1,transport_type:"beacon"})}catch{}}flushPendingPageViews(){if(!this.pendingPagePaths.length)return;const u=[...this.pendingPagePaths];this.pendingPagePaths=[],u.forEach(g=>this.pageView(g))}normalizePath(u){if(!u)return this.router.url||"/";try{if(u.startsWith("http://")||u.startsWith("https://")){const g=new URL(u);return`${g.pathname}${g.search}${g.hash}`}}catch{}return u.startsWith("/")?u:`/${u}`}static{this.\u0275fac=function(g){return new(g||w)(l.KVO(l.Agw),l.KVO(ri.Ix))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();var $o=T(1413),Ti=T(6977),er=T(5869),ro=T(9417),Es=T(1410),Ms=T(1767),Ts=T(1095),Os=T(5260);const ps=function(w,f,u){return["/",w,f,u]};function Ss(w,f){if(1&w&&(l.j41(0,"li")(1,"a",57),l.EFF(2),l.k0s()()),2&w){const u=f.$implicit,g=l.XpG(2).$implicit,M=l.XpG().$implicit;l.R7$(1),l.Y8G("routerLink",l.sMw(2,ps,M.slug,g.slug,u.slug)),l.R7$(1),l.SpI(" ",u.title," ")}}function Qo(w,f){if(1&w&&(l.qex(0),l.j41(1,"ul",56),l.DNE(2,Ss,3,6,"li",53),l.k0s(),l.bVm()),2&w){const u=l.XpG().$implicit;l.R7$(2),l.Y8G("ngForOf",u.childs)}}const Jo=function(w,f){return["/",w,f]};function Hs(w,f){if(1&w&&(l.j41(0,"a",58),l.EFF(1),l.k0s()),2&w){const u=l.XpG().$implicit,g=l.XpG().$implicit,M=l.XpG();l.Y8G("routerLink","su-vu"===g.slug||"suvu"===g.slug?l.l_i(3,Jo,g.slug,u.slug):M.getRouterLink(g.slug,u.slug))("queryParams",M.linhDaoMegaQueryParams(g.slug)),l.R7$(1),l.SpI(" ",u.title," ")}}function Na(w,f){if(1&w&&(l.j41(0,"li"),l.DNE(1,Qo,3,1,"ng-container",54),l.DNE(2,Hs,2,6,"ng-template",null,55,l.C5r),l.k0s()),2&w){const u=f.$implicit,g=l.sdS(3),M=l.XpG().$implicit;l.R7$(1),l.Y8G("ngIf",("su-vu"===M.slug||"suvu"===M.slug)&&u.childs&&u.childs.length>0)("ngIfElse",g)}}function al(w,f){if(1&w&&(l.j41(0,"div",48)(1,"div",49)(2,"div",50),l.nrm(3,"span"),l.j41(4,"h5",51),l.EFF(5),l.k0s()(),l.j41(6,"ul",52),l.DNE(7,Na,4,2,"li",53),l.k0s()()()),2&w){const u=f.$implicit,g=l.XpG();l.R7$(3),l.ZvI("icon-custom-white align-middle icon-custom-20 ",g.getJsonValue(u.details,"icon"),""),l.R7$(2),l.JRh(u.title),l.R7$(2),l.Y8G("ngForOf",u.childs)}}function Aa(w,f){1&w&&(l.j41(0,"span"),l.EFF(1,"G\u1eedi"),l.k0s())}function ll(w,f){1&w&&(l.j41(0,"span"),l.EFF(1,"\u0110ang g\u1eedi..."),l.k0s())}const ca=function(w,f,u){return{"newsletter-message--success":w,"newsletter-message--info":f,"newsletter-message--error":u}};function xa(w,f){if(1&w&&(l.j41(0,"div",59),l.EFF(1),l.k0s()),2&w){const u=l.XpG();l.Y8G("ngClass",l.sMw(2,ca,"success"===u.newsletterMessageType,"info"===u.newsletterMessageType,"error"===u.newsletterMessageType)),l.R7$(1),l.SpI(" ",u.newsletterMessage," ")}}function ua(w,f){if(1&w){const u=l.RV6();l.j41(0,"a",60),l.bIt("click",function(M){const Q=l.eBV(u).$implicit,le=l.XpG();return l.Njj(le.openCategory(Q,M))}),l.EFF(1),l.k0s()}if(2&w){const u=f.$implicit;l.Mz_("href","/dien-dan/chuyen-muc/",u.slug,"",l.B4B),l.R7$(1),l.JRh(u.title)}}const Gs=function(){return["/dien-dan/tao-bai-viet"]};let Pa=(()=>{class w{constructor(u,g,M,F,Q){this.menuService=u,this.cmsService=g,this.router=M,this.authenService=F,this.toastr=Q,this.isLoggedIn=!1,this.footerMenus=[],this.listCategory=[],this.newsletterEmail=new ro.MJ("",[ro.k0.required,ro.k0.email]),this.isSubmitting=!1,this.newsletterMessage=null,this.newsletterMessageType=null,this.destroy$=new $o.B}ngOnInit(){this.authenService.currentUser.pipe((0,Ti.Q)(this.destroy$)).subscribe(u=>{this.isLoggedIn=!!u&&!!u.id}),this.menuService.rawMenuData$.pipe((0,Ti.Q)(this.destroy$)).subscribe(u=>{if(u){let g=u.filter(M=>M.menu_item_show_type!=er.r_.LOGO);this.footerMenus=g.map(M=>{let F={...M};if(("S\u1ee8 V\u1ee4"===M.title||"SUVU"===M.title?.toUpperCase()||"su-vu"===M.slug)&&M.childs?.length>0){let Q=[];[...M.childs].sort((Ie,He)=>
1(Ie.menu_item_order||0)-(He.menu_item_order||0)).forEach(Ie=>{if(Ie.childs?.length>0){const He=[...Ie.childs].sort((vt,Ct)=>(vt.menu_item_order||0)-(Ct.menu_item_order||0));Q=[...Q,...He]}else Q.push(Ie)}),F.childs=Q}return"PODCAST"===M.title&&(F.childs=[]),F})}}),this.getData()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}getRouterLink(u,g){return`/${u}/${g}`}linhDaoMegaQueryParams(u){return(0,Es.O2)(u)}getData(){this.cmsService.getListTaxonomy({type:er.QC.FORUM}).subscribe({next:u=>{const g=u?.data?.items??u?.data??u?.items??[];g&&g.length>0&&(this.listCategory=g)},error:u=>{}})}getJsonValue(u,g){if(u)try{const M=JSON.parse(u);return M[g]?M[g]:null}catch{return null}}openCategory(u,g){try{g.preventDefault()}catch{}this.router.navigateByUrl(`/dien-dan/chuyen-muc/${u?.slug}`)}subscribeNewsletter(){this.newsletterEmail.invalid?this.newsletterEmail.hasError("required")?(this.newsletterMessage="Vui l\xf2ng nh\u1eadp email c\u1ee7a b\u1ea1n",this.newsletterMessageType="error"):this.newsletterEmail.hasError("email")&&(this.newsletterMessage="Email kh\xf4ng h\u1ee3p l\u1ec7",this.newsletterMessageType="error"):this.isSubmitting||(this.isSubmitting=!0,this.newsletterMessage="\u0110ang g\u1eedi...",this.newsletterMessageType="info",this.cmsService.subscribeNewsletter(this.newsletterEmail.value||"").pipe((0,Ti.Q)(this.destroy$)).subscribe({next:g=>{this.isSubmitting=!1;const M=g?.message||g?.data?.message;"SUCCESS"===g?.code||g?.success?(this.newsletterMessage=M||"\u0110\u0103ng k\xfd nh\u1eadn tin th\xe0nh c\xf4ng!",this.newsletterMessageType="success",this.newsletterEmail.reset()):(this.newsletterMessage=M||"\u0110\u0103ng k\xfd th\u1ea5t b\u1ea1i. Vui l\xf2ng th\u1eed l\u1ea1i.",this.newsletterMessageType="error")},error:g=>{this.isSubmitting=!1,this.newsletterMessage=g?.error?.message||g?.message||"\u0110\u0103ng k\xfd th\u1ea5t b\u1ea1i. Vui l\xf2ng th\u1eed l\u1ea1i.",this.newsletterMessageType="error"}}))}onNewsletterKeyPress(u){"Enter"===u.key&&(u.preventDefault(),this.subscribeNewsletter())}static{this.\u0275fac=function(g){return new(g||w)(l.rXU(li.$),l.rXU(Ms.x),l.rXU(ri.Ix),l.rXU(Ts.$),l.rXU(Us.tw))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["app-footer"]],decls:67,vars:10,consts:[[1,"footer-dark"],[1,"container"],[1,"footer-header"],[1,"row","align-items-center"],[1,"col-md-6","col-6"],[1,"footer-logo"],["href","/"],["src","/assets/images/logo-footer.svg","alt","D\xf2ng T\xean Logo",1,"logo-img"],[1,"social-media-icons"],["href","https://www.facebook.com/dongten","target","_blank","title","Facebook",1,"social-icon"],["src","/assets/images/icons/facebook.svg","alt","Facebook"],["href","https://www.youtube.com/@truyenthongdongten","target","_blank","title","YouTube",1,"social-icon"],["src","/assets/images/icons/youtube.svg","alt","YouTube"],[1,"footer-navigation"],[1,"row"],["class","col-lg-2 col-md-4 col-sm-6",4,"ngFor","ngForOf"],[1,"footer-top"],[1,"col-md-8"],[1,"footer-links"],["href","https://www.jesuits.global/","target","_blank","rel","noopener",1,"footer-link"],["href","https://jcapsj.org/","target","_blank","rel","noopener",1,"footer-link"],["href","https://trungtamlinhdaoinha
1daclo.com/","target","_blank","rel","noopener",1,"footer-link"],["href","https://sjjs.edu.vn/","target","_blank","rel","noopener",1,"footer-link"],["href","https://trungtammucvugiadinhdaclo.com/","target","_blank","rel","noopener",1,"footer-link"],["href","https://linhthao.net/","target","_blank","rel","noopener",1,"footer-link"],["href","https://ungsinhdongten.net/","target","_blank","rel","noopener",1,"footer-link"],[1,"col-md-4"],[1,"newsletter-section"],[1,"newsletter-label"],[1,"newsletter-form"],["type","email","placeholder","Nh\u1eadp Email c\u1ee7a b\u1ea1n",1,"newsletter-input",3,"formControl","disabled","keypress"],[1,"newsletter-btn",3,"disabled","click"],[4,"ngIf"],["class","newsletter-message",3,"ngClass",4,"ngIf"],[1,"footer-middle"],[1,"col-md-6"],[1,"forum-section"],[1,"forum-header"],["src","/assets/images/icons/ic-diendan.svg","alt","forum",1,"forum-icon"],[1,"forum-title"],[1,"create-post-link",3,"routerLink"],[1,"category-links"],["class","category-link",3,"href","click",4,"ngFor","ngForOf"],[1,"footer-bottom"],[1,"col-md-9"],[1,"copyright"],[1,"col-md-3"],[1,"design-credit"],[1,"col-lg-2","col-md-4","col-sm-6"],[1,"nav-column"],[1,"nav-heading-container"],[1,"nav-heading"],[1,"nav-links"],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noSubMenu",""],[1,"nav-sub-links","no-bullet"],[1,"nav-link",3,"routerLink"],[1,"nav-link",3,"routerLink","queryParams"],[1,"newsletter-message",3,"ngClass"],[1,"category-link",3,"href","click"]],template:function(g,M){1&g&&(l.j41(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"a",6),l.nrm(7,"img",7),l.k0s()()(),l.j41(8,"div",4)(9,"div",8)(10,"a",9),l.nrm(11,"img",10),l.k0s(),l.j41(12,"a",11),l.nrm(13,"img",12),l.k0s()()()()(),l.j41(14,"div",13)(15,"div",14),l.DNE(16,al,8,5,"div",15),l.k0s()(),l.j41(17,"div",16)(18,"div",3)(19,"div",17)(20,"div",18)(21,"a",19),l.EFF(22,"D\xf2ng T\xean Th\u1ebf Gi\u1edbi"),l.k0s(),l.j41(23,"a",20),l.EFF(24,"D\xf2ng T\xean V\xf9ng Ch\xe2u \xc1 Th\xe1i B\xecnh D\u01b0\u01a1ng"),l.k0s(),l.j41(25,"a",21),l.EFF(26,"Trung T\xe2m Linh \u0110\u1ea1o"),l.k0s(),l.j41(27,"a",22),l.EFF(28,"H\u1ecdc Vi\u1ec7n D\xf2ng T\xean Vi\u1ec7t Nam"),l.k0s(),l.j41(29,"a",23),l.EFF(30,"Trung T\xe2m M\u1ee5c V\u1ee5 Gia \u0110\xecnh"),l.k0s(),l.j41(31,"a",24),l.EFF(32,"Nh\xe0 T\u0129nh T\xe2m"),l.k0s(),l.j41(33,"a",25),l.EFF(34,"Nh\xe0 \u1ee8ng Sinh"),l.k0s()()(),l.j41(35,"div",26)(36,"div",27)(37,"label",28),l.EFF(38,"\u0110\u0103ng k\xfd nh\u1eadn tin m\u1edbi"),l.k0s(),l.j41(39,"div",29)(40,"input",30),l.bIt("keypress",function(Q){return M.onNewsletterKeyPress(Q)}),l.k0s(),l.j41(41,"button",31),l.bIt("click",function(){return M.subscribeNewsletter()}),l.DNE(42,Aa,2,0,"span",32),l.DNE(43,ll,2,0,"span",32),l.k0s()(),l.DNE(44,xa,2,6,"div",33),l.k0s()()()(),l.j41(45,"div",34)(46,"div",14)(47,"div",35)(48,"div",36)(49,"div",37),l.nrm(50,"img",38),l.j41(51,"span",39),l.EFF(52,"DI\u1ec4N \u0110\xc0N D\xd2NG T\xcaN"),l.k0s()(),l.j41(53,"a",40),l.EFF(54,"T\u1ea1o b\xe0i \u0111\u0103ng"),l.k0s()()(),l.j41(55,"div",35)(56,"div",41),l.DNE(57,ua,2,2,"a",42),l.k0s()()()()(),l.j41(58,"div",43)(59,"div",1)(60,"div",3)(61,"div",44)(62,"div",45),l.EFF(63," \xa9 B\u1ea3n quy\u1ec1n thu\u1ed9c D\xf2ng T\xean Vi\u1ec7t Nam. xin tr\xedch ngu\u1ed3n Dongten.net khi \u0111\u0103ng l\u1ea1i b\xe0i vi\u1ebft. Li\xean l\u1ea1c: [email protected] - 093.778.2056 "),l.k0s()(),l.j41(64,"div",46)(65,"div",47),l.EFF(66,"Designed by JOS Creative"),l.k0s()()()()()()),2&g&&(l.R7$(16),l.Y8G("ngForOf",M.footerMenus),l.R7$(24),l.Y8G("formControl",M.newsletterEmail)("disabled",M.isSubmitting),l.R7$(1),l.Y8G("disabled",M.isSubmitting),l.R7$(1),l.Y8G("ngIf",!M.isSubmitting),l.R7$(1),l.Y8G("ngIf",M.isSubmitting),l.R7$(1),l.Y8G("ngIf",M.newsletterMessage),l.R7$(9),l.Y8G("routerLink",l.lJ4(9,Gs)),l.R7$(4),l.Y8G("ngForOf",M.listCategory))},dependencies:[Wt.YU,Wt.Sq,Wt.bT,ri.Wk,ro.me,ro.BC,ro.l_,Os.V],styles:['[_ngcontent-%COMP%]:root{--main-color: #900d14;--text-color: #0a0a0a}.footer-content[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{height:auto;min-height:200px}.footer-content[_ngcontent-%COMP%]   .item-left[_ngcontent-%COMP%]{padding:50px 0;left:0;bottom:0}.footer-content[_ngcontent-%COMP%]   .item-left[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:130px}.footer-content[_ngcontent-%COMP%]   .item-right[_ngcontent-%COMP%]{padding:50px 0;right:0;bottom:0}.footer-content[_ngcontent-%COMP%]   .newsletter[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:.8rem;background:#900D14}.footer-content[_ngcontent-%COMP%]   .newsletter[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::placeholder{color:#fff}.footer-content[_ngcontent-%COMP%]   .newsletter[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border-radius:0 5px 5px 0;border:1px solid #fff;background:#fff;color:#900d14}.footer-dark[_ngcontent-%COMP%]{background-color:#8b0000;color:#fff}.footer-header[_ngcontent-%COMP%]{padding:2.5rem 0;border-bottom:1px solid rgba(255,255,255,.2)}@media screen and (max-width: 767px){.footer-header[_ngcontent-%COMP%]{padding:1.5rem 0}}.footer-logo[_ngcontent-%COMP%]{display:flex;align-items:center}.logo-img[_ngcontent-%COMP%]{height:120px;width:auto;filter:brightness(0) invert(1);transition:transform .3s ease}@media screen and (max-width: 991px){.logo-img[_ngcontent-%COMP%]{height:100px}}@media screen and (max-width: 768px){.logo-img[_ngcontent-%COMP%]{height:60px}}.logo-img[_ngcontent-%COMP%]:hover{transform:scale(1.05)}.social-media-icons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;gap:1rem}.social-icon[_ngcontent-%COMP%]{display:inline-block;transition:all .3s ease;text-decoration:none}.social-icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:35px;height:35px;filter:brightness(0) invert(1);transition:transform .3s ease}.social-icon[_ngcontent-%COMP%]:hover{background-color:#fff3;transform:translateY(-2px);text-decoration:none}.social-icon[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]{transform:scale(1.1)}.footer-navigation[_ngcontent-%COMP%]{padding:3rem 0 1rem;position:relative}.footer-navigation[_ngcontent-%COMP%]:before{content:"";height:1px;width:100%;display:inline-block;background:linear-gradient(90deg,#900D14,#AE1017);position:absolute;top:0;left:0}@media screen and (max-width: 767px){.footer-navigation[_ngcontent-%COMP%]{display:none}}.nav-column[_ngcontent-%COMP%]{margin-bottom:2rem}.nav-heading-container[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;margin-bottom:1.3rem}.nav-heading[_ngcontent-%COMP%]{color:#fff;font-weight:700;font-size:1rem;text-transform:uppercase;letter-spacing:.5px;margin-bottom:0}.nav-links[_ngcontent-%COMP%], .nav-links[_ngcontent-%COMP%]   .no-bullet[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0}.nav-links[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:.5rem}.nav-link[_ngcontent-%COMP%]{color:#fff;text-decoration:none;font-size:13px;line-height:1.4;transition:color .3s ease;display:block;padding:.2rem 0}.nav-link[_ngcontent-%COMP%]:hover{color:gold;text-decoration:none}.footer-top[_ngcontent-%COMP%]{padding:3rem 0;position:relative}@media screen and (max-width: 767px){.footer-top[_ngcontent-%COMP%]{padding:2rem 0}}.footer-top[_ngcontent-%COMP%]:before{content:"";height:1px;width:100%;display:inline-block;background:linear-gradient(90deg,#900D14,#AE1017);position:absolute;top:0;left:0}.footer-top[_ngcontent-%COMP%]:after{content:"";height:1px;width:100%;display:inline-block;background:linear-gradient(90deg,#900D14,#AE1017);position:absolute;bottom:0;left:0}.footer-links[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:1.5rem}.footer-link[_ngcontent-%COMP%]{color:#fff;text-decoration:none;font-weight:600;font-size:.9rem;transition:color .3s ease}@media screen and (max-width: 767px){.footer-link[_ngcontent-%COMP%]{font-weight:400}}.footer-link[_ngcontent-%COMP%]:hover{color:gold;text-decoration:none}.newsletter-label[_ngcontent-%COMP%]{color:#fff;font-weight:400;margin-bottom:.5rem;display:block}.newsletter-form[_ngcontent-%COMP%]{display:flex;position:relative}.newsletter-input[_ngcontent-%COMP%]{background-color:#8b0000;border:1px solid white;color:#fff;padding:.7rem 1rem;border-radius:5px;flex:1;
1min-width:200px;font-size:11px}.newsletter-input[_ngcontent-%COMP%]::placeholder{color:#ffffffb3}.newsletter-input[_ngcontent-%COMP%]:focus{background-color:#8b0000;border-color:gold;color:#fff;box-shadow:none;outline:none}.newsletter-btn[_ngcontent-%COMP%]{background-color:#fff;border:1px solid white;color:#8b0000;padding:.6rem 1rem;font-weight:600;transition:all .3s ease;position:absolute;right:0;top:0;border-radius:0 5px 5px 0;cursor:pointer}.newsletter-btn[_ngcontent-%COMP%]:hover:not(:disabled){background-color:#fff;color:#8b0000;border-color:#fff}.newsletter-btn[_ngcontent-%COMP%]:disabled{opacity:.6;cursor:not-allowed}.newsletter-input[_ngcontent-%COMP%]:disabled{opacity:.6;cursor:not-allowed}.newsletter-message[_ngcontent-%COMP%]{margin-top:.5rem;font-size:.85rem;line-height:1.3;color:#ffffffe6}.newsletter-message--success[_ngcontent-%COMP%]{color:#d1fae5}.newsletter-message--info[_ngcontent-%COMP%]{color:#ffffffe6}.newsletter-message--error[_ngcontent-%COMP%]{color:#fecaca}.footer-middle[_ngcontent-%COMP%]{padding:2rem 0}.forum-section[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem}.forum-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px}.forum-icon[_ngcontent-%COMP%]{font-size:1.2rem;color:#fff}.forum-title[_ngcontent-%COMP%]{color:#fff;font-weight:700;font-size:1rem}.create-post-link[_ngcontent-%COMP%]{color:#fff;text-decoration:none;font-weight:700;transition:color .3s ease}.create-post-link[_ngcontent-%COMP%]:hover{color:gold;text-decoration:none}.category-links[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:1rem}.category-link[_ngcontent-%COMP%]{color:#fff;text-decoration:none;font-weight:500;transition:color .3s ease}.category-link[_ngcontent-%COMP%]:hover{color:gold;text-decoration:none}.footer-bottom[_ngcontent-%COMP%]{padding:1.5rem 0;background:linear-gradient(0deg,#8c0007,#ae1017);font-size:.65rem;color:#ffffffe6}.copyright[_ngcontent-%COMP%]{line-height:1.4}.design-credit[_ngcontent-%COMP%]{text-align:right}@media (max-width: 768px){.footer-header[_ngcontent-%COMP%]{text-align:center}.social-media-icons[_ngcontent-%COMP%]{flex-wrap:wrap}.footer-navigation[_ngcontent-%COMP%]{padding:2rem 0}.nav-column[_ngcontent-%COMP%]{margin-bottom:1.5rem}.nav-heading[_ngcontent-%COMP%]{font-size:.9rem}.forum-section[_ngcontent-%COMP%]{margin-bottom:20px}.nav-link[_ngcontent-%COMP%]{font-size:.85rem}.footer-links[_ngcontent-%COMP%]{gap:.85rem}.newsletter-section[_ngcontent-%COMP%]{text-align:left;margin-top:1rem}.newsletter-form[_ngcontent-%COMP%]{flex-direction:column}.newsletter-input[_ngcontent-%COMP%]{min-width:auto}.category-links[_ngcontent-%COMP%]{gap:.85rem}.design-credit[_ngcontent-%COMP%]{text-align:left;margin-top:1rem}}']})}}return w})();var Is=T(7466),cl=T(152),Ns=T(5964),zs=T(2099),b=T(3871),j=T(9561),S=T(1385),k=T(573);const se=["modalSearch"];function $e(w,f){1&w&&l.nrm(0,"span",27)}function Ze(w,f){1&w&&l.nrm(0,"span",32)}const At=function(){return["/account/profile"]};function zn(w,f){if(1&w){const u=l.RV6();l.j41(0,"div",28)(1,"a",29),l.bIt("click",function(M){l.eBV(u);const F=l.XpG();return l.Njj(F.onAccountClick(M))}),l.nrm(2,"span",30),l.EFF(3," T\xe0i kho\u1ea3n "),l.DNE(4,Ze,1,0,"span",31),l.k0s()()}if(2&w){const u=l.XpG();l.R7$(1),l.AVh("dropdown-item-active",u.isActive("account")),l.Y8G("routerLink",l.lJ4(5,At)),l.BMQ("href","/account/profile",l.B4B),l.R7$(3),l.Y8G("ngIf",u.avatarBadgeCount>0)}}function ei(w,f){if(1&w){const u=l.RV6();l.j41(0,"div")(1,"a",33),l.bIt("click",function(){l.eBV(u);const M=l.XpG();return l.Njj(M.logOut())}),l.nrm(2,"span",34),l.EFF(3," \u0110\u0103ng xu\u1ea5t "),l.k0s()()}}function Vn(w,f){if(1&w){const u=l.RV6();l.j41(0,"div")(1,"a",33),l.bIt("click",function(){l.eBV(u);const M=l.XpG();return l.Njj(M.navigateToLogin())}),l.nrm(2,"span",34),l.EFF(3," \u0110\u0103ng nh\u1eadp "),l.k0s()()}if(2&w){const u=l.XpG();l.R7$(1),l.AVh("dropdown-item-active",u.isActive("account"))}}const un=function(w){return{item:w}};function pi(w,f){if(1&w&&(l.j41(0,"li"),l.eu8(1,35),l.k0s()),2&w){const u=f.$implicit;l.XpG();const g=l.sdS(30);l.ZvI("nav-item nav-item-left  ",u.menu_item_show_template?"dropdown has-megamenu":""," "),l.R7$(1),l.Y8G("ngTemplateOutlet",g)("ngTemplateOutletContext",l.eq3(5,un,u))}}function Hn(w,f){if(1&w){const u=l.RV6();l.j41(0,"div",36)(1,"a",37),l.nrm(2,"app-img",38),l.k0s(),l.j41(3,"button",39),l.bIt("click",function(){l.eBV(u);const M=l.XpG();return l.Njj(M.toggleNavbar())}),l.nrm(4,"span",40),l.j41(5,"span",41),l.qSk(),l.j41(6,"svg",42),l.nrm(7,"path",43),l.k0s()()()()}if(2&w){const u=l.XpG();
1l.R7$(2),l.Y8G("src",u.logoMenu.imagea)("fallback","/assets/images/logo.svg")("alt",u.logoMenu.title),l.R7$(2),l.AVh("hide",u.isNavOpen),l.R7$(1),l.AVh("show",u.isNavOpen)}}function Vi(w,f){if(1&w&&(l.j41(0,"li"),l.eu8(1,35),l.k0s()),2&w){const u=f.$implicit;l.XpG();const g=l.sdS(30);l.ZvI("nav-item nav-item-right  ",u.menu_item_show_template?"dropdown has-megamenu":""," "),l.R7$(1),l.Y8G("ngTemplateOutlet",g)("ngTemplateOutletContext",l.eq3(5,un,u))}}function oo(w,f){1&w&&(l.j41(0,"li",44)(1,"a",45),l.qSk(),l.j41(2,"svg",46),l.nrm(3,"path",47)(4,"path",48)(5,"path",49)(6,"path",50)(7,"path",51)(8,"path",52)(9,"path",53)(10,"path",54)(11,"path",55)(12,"path",56)(13,"path",57)(14,"path",58)(15,"path",59)(16,"path",60)(17,"path",61)(18,"path",62)(19,"path",63)(20,"path",64),l.k0s()()())}function sr(w,f){if(1&w&&(l.j41(0,"span",82),l.qSk(),l.j41(1,"svg",83),l.nrm(2,"path",84),l.k0s()()),2&w){const u=l.XpG(2).$implicit,g=l.XpG(2);l.AVh("rotated",g.openDropdownId===u.id)}}function Mo(w,f){if(1&w){const u=l.RV6();l.j41(0,"div",79),l.bIt("click",function(M){l.eBV(u);const F=l.XpG().$implicit;return l.XpG(2).toggleMobileDropdown(F.id),l.Njj(M.stopPropagation())}),l.j41(1,"a",80),l.bIt("click",function(){l.eBV(u);const M=l.XpG().$implicit,F=l.XpG(2);return l.Njj(M.menu_item_url?F.closeMobileMenu():null)}),l.EFF(2),l.k0s(),l.DNE(3,sr,3,2,"span",81),l.k0s()}if(2&w){const u=l.XpG().$implicit,g=l.XpG(2);l.R7$(1),l.AVh("active",g.isActive(u.slug)),l.Y8G("routerLink",u.menu_item_url?"/"+u.slug:null),l.R7$(1),l.SpI(" ",u.title," "),l.R7$(1),l.Y8G("ngIf",null==u.childs?null:u.childs.length)}}function yr(w,f){if(1&w){const u=l.RV6();l.j41(0,"a",80),l.bIt("click",function(){l.eBV(u);const M=l.XpG(3);return l.Njj(M.closeMobileMenu())}),l.EFF(1),l.k0s()}if(2&w){const u=l.XpG().$implicit;l.Y8G("routerLink",u.menu_item_url?u.menu_item_url:"/"+u.slug),l.R7$(1),l.SpI(" ",u.title," ")}}const so=function(w,f){return["/",w,f]};function $i(w,f){if(1&w){const u=l.RV6();l.j41(0,"a",89),l.bIt("click",function(M){l.eBV(u);const F=l.XpG(4);return M.stopPropagation(),l.Njj(F.closeMobileMenu())}),l.EFF(1),l.k0s()}if(2&w){const u=l.XpG().$implicit,g=l.XpG().$implicit,M=l.XpG(2);l.AVh("active",M.isActive(g.slug+"/"+u.slug)),l.Y8G("routerLink",l.l_i(5,so,g.slug,u.slug))("queryParams",M.linhDaoMegaQueryParams(g.slug)),l.R7$(1),l.SpI(" ",u.title," ")}}function To(w,f){if(1&w){const u=l.RV6();l.j41(0,"div",79),l.bIt("click",function(M){l.eBV(u);const F=l.XpG().$implicit;return l.XpG(3).toggleChildDropdown(F.id),l.Njj(M.stopPropagation())}),l.j41(1,"a",89),l.bIt("click",function(){l.eBV(u);const M=l.XpG(4);return l.Njj(M.closeMobileMenu())}),l.EFF(2),l.k0s(),l.j41(3,"span",90),l.qSk(),l.j41(4,"svg",83),l.nrm(5,"path",84),l.k0s()()()}if(2&w){const u=l.XpG().$implicit,g=l.XpG().$implicit,M=l.XpG(2);l.AVh("is-open",M.openChildDropdownId===u.id),l.R7$(1),l.AVh("active",M.isActive(g.slug+"/"+u.slug)),l.Y8G("routerLink",l.l_i(10,so,g.slug,u.slug))("queryParams",M.linhDaoMegaQueryParams(g.slug)),l.R7$(1),l.Lme(" ",u.title," ","su-vu"===g.slug?u.description:""," "),l.R7$(1),l.AVh("rotated",M.openChildDropdownId===u.id)}}function Ir(w,f){if(1&w){const u=l.RV6();l.j41(0,"li",91),l.bIt("click",function(M){const Q=l.eBV(u).$implicit,le=l.XpG(2).$implicit,Ie=l.XpG(2);return l.Njj(Ie.onMobileMenuItemClick(le.slug,Q.slug,M))}),l.j41(1,"a",92),l.bIt("click",function(M){l.eBV(u);const F=l.XpG(4);return M.stopPropagation(),l.Njj(F.closeMobileMenu())}),l.EFF(2),l.k0s()()}if(2&w){const u=f.$implicit,g=l.XpG(2).$implicit,M=l.XpG(2);l.R7$(1),l.AVh("active",M.isActive(g.slug+"/"+u.slug)),l.Y8G("routerLink",l.l_i(5,so,g.slug,u.slug))("queryParams",M.linhDaoMegaQueryParams(g.slug)),l.R7$(1),l.SpI(" ",u.title," ")}}function si(w,f){if(1&w){const u=l.RV6();l.j41(0,"li",85),l.bIt("click",function(M){const Q=l.eBV(u).$implicit,le=l.XpG().$implicit,Ie=l.XpG(2);return l.Njj(Ie.onMobileMenuItemClick(le.slug,Q.slug,M,null==Q.childs?null:Q.childs.length))}),l.DNE(1,$i,2,8,"a",86),l.DNE(2,To,6,13,"div",87),l.j41(3,"ul",77),l.DNE(4,Ir,3,8,"li",88),l.nI1(5,"sortByOrder"),l.k0s()()}if(2&w){const u=f.$implicit,g=l.XpG().$implicit,M=l.XpG(2);l.R7$(1),l.Y8G("ngIf",!(null!=u.childs&&u.childs.length)||"suy-tu"===g.slug||"linh-dao-i-nha"===u.slug),l.R7$(1),l.Y8G("ngIf",(null==u.childs?null:u.childs.length)&&"suy-tu"!==g.slug&&"linh-dao-i-nha"!==u.slug),l.R7$(1),l.AVh("is-open",(null==u.childs?null:u.childs.length)&&M.openChildDropdownId===u.id&&"suy-tu"!==g.slug),l.R7$(1),l.Y8G("ngForOf",l.bMT(5,5,u.childs))}}function Ws(w,f){if(1&w&&(l.j41(0,"li",20),l.DNE(1,Mo,4,5,"div",75),l.DNE(2,yr,2,2,"a",76),l.j41(3,"ul",77),l.DNE(4,si,6,7,"li",78),l.nI1(5,"sortByOrder"),l.k0s()()),2&w){const u=f.$implicit,g=l.XpG(2);l.R7$(1),l.Y8G("ngIf",u.menu_item_show_template),l.R7$(1),l.Y8G("ngIf",!u.menu_item_show_template),l.R7$(1),l.AVh("is-open",u.menu_item_show_template&&(null==u.childs?null:u.childs.length)&&g.openDropdownId===u.id),l.R7$(1),l.Y8G("ngForOf",l.bMT(5,5,u.childs))}}function Zo(w,f){1&w&&l.nrm(0,"span",32)}function Nr(w,f){if(1&w){const u=l.RV6();l.j41(0,"li")(1,"a",93),l.bIt("click",function(M){l.eBV(u);const F=l.XpG(2);return l.Njj(F.onAccountClick(M))}),l.nrm(2,"span",94),l.EFF(3,"T\xe0i kho\u1ea3n"),l.DNE(4,Zo,1,0,"span",31),l.k0s()()}if(2&w){const u=l.XpG(2);l.R7$(1),l.AVh("dropdown-item-active",u.isActive("account")),l.Y8G("routerLink",l.lJ4(5,At)),l.BMQ("href","/account/profile",l.B4B),l.R7$(3),l.Y8G("ngIf",u.avatarBadgeCount>0)}}function ul(w,f){if(1&w){const u=l.RV6();l.j41(0,"li")(1,"a",85),l.bIt("click",function(){l.eBV(u);const M=l.XpG(2);return l.Njj(M.logOut())}),l.nrm(2,"span",95),l.EFF(3,"\u0110\u0103ng xu\u1ea5t"),l.k0s()()}}function da(w,f){if(1&w){const u=l.RV6();l.j41(0,"li")(1,"a",85),l.bIt("click",function(){l.eBV(u);const M=l.XpG(2);return l.Njj(M.navigateToLogin())}),l.nrm(2,"span",95),l.EFF(3,"\u0110\u0103ng nh\u1eadp"),l.k0s()()}if(2&w){const u=l.XpG(2);l.R7$(1),l.AVh("dropdown-item-active",u.isActive("account"))}}function As(w,f){1&w&&(l.j41(0,"li",44)(1,"a",45),l.qSk(),l.j41(2,"svg",46),l.nrm(3,"path",47)(4,"path",48)(5,"path",49)(6,"path",50)(7,"path",51)(8,"path",52)(9,"path",53)(10,"path",54)(11,"path",55)(12,"path",56)(13,"path",57)(14,"path",58)(15,"path",59)(16,"path",60)(17,"path",61)(18,"path",62)(19,"path",63)(20,"path",64),l.k0s()()())}const Wr=function(w){return{show:w}};function dl(w,f){if(1&w){const u=l.RV6();l.j41(0,"div",65),l.bIt("click",function(){l.eBV(u);const M=l.XpG();return l.Njj(M.closeMobileMenu())}),l.j41(1,"ul",66),l.bIt("click",function(M){return M.stopPropagation()}),l.DNE(2,Ws,6,7,"li",67),l.k0s(),l.j41(3,"div",68)(4,"ul",11)(5,"li")(6,"a",69),l.nrm(7,"span",70),l.EFF(8,"Di\u1ec5n \u0111\xe0n"),l.k0s()(),l.DNE(9,Nr,5,6,"li",15),l.DNE(10,ul,4,0,"li",15),l.DNE(11,da,4,2,"li",15),l.j41(12,"li",71)(13,"a",72),l.bIt("click",function(M){l.eBV(u);const F=l.XpG();return M.preventDefault(),F.onOpenSearch(),l.Njj(F.closeMobileMenu())}),l.nrm(14,"span",73),l.j41(15,"span",74),l.EFF(16,"T\xecm ki\u1ebfm"),l.k0s()()(),l.DNE(17,As,21,0,"li",23),l.k0s()()()}if(2&w){const u=l.XpG();l.Y8G("ngClass",l.eq3(8,Wr,u.isNavOpen)),l.R7$(2),l.Y8G("ngForOf",u.listMenus),l.R7$(4),l.AVh("dropdown-item-active",u.isActive("dien-dan")),l.R7$(3),l.Y8G("ngIf",u.currentUser),l.R7$(1),l.Y8G("ngIf",u.currentUser),l.R7$(1),l.Y8G("ngIf",!u.currentUser),l.R7$(6),l.Y8G("ngIf",!0)}}function ha(w,f){if(1&w&&(l.j41(0,"a",101),l.nrm(1,"span"),l.j41(2,"span",102),l.EFF(3),l.k0s()()),2&w){const u=l.XpG().item,g=l.XpG();l.Y8G("routerLink",g.getLink(u)),l.BMQ("href",g.getLink(u),l.B4B),l.R7$(1),l.ZvI("icon-custom align-middle icon-custom-20 ",g.getJsonValue(u.details,"icon")," me-2"),l.R7$(2),l.JRh(u.title)}}function hl(w,f){if(1&w&&(l.j41(0,"button",103),l.nrm(1,"span"),l.j41(2,"span",102),l.EFF(3),l.k0s()()),2&w){const u=l.XpG().item,g=l.XpG();
1l.R7$(1),l.ZvI("icon-custom align-middle icon-custom-20 ",g.getJsonValue(u.details,"icon")," me-2"),l.R7$(2),l.JRh(u.title)}}const qo=function(w,f){return[w,f]};function Ra(w,f){if(1&w&&(l.j41(0,"a",123),l.nrm(1,"span"),l.EFF(2),l.k0s()),2&w){const u=f.$implicit,g=l.XpG(4).item,M=l.XpG();l.Y8G("routerLink",l.l_i(5,qo,g.slug,u.slug)),l.R7$(1),l.ZvI("icon-custom ",M.getJsonValue(u.details,"icon")," icon-custom-20 me-2"),l.R7$(1),l.SpI(" ",u.title," ")}}function Oo(w,f){if(1&w&&(l.j41(0,"div",115)(1,"a",116),l.nrm(2,"app-img",117),l.j41(3,"div",118)(4,"h3",119),l.EFF(5),l.k0s(),l.j41(6,"h6",120),l.EFF(7),l.k0s()()(),l.j41(8,"div",121),l.DNE(9,Ra,3,8,"a",122),l.nI1(10,"sortByOrder"),l.k0s()()),2&w){const u=f.$implicit,g=l.XpG(3).item,M=l.XpG();l.R7$(1),l.Y8G("routerLink",M.getRouterLink(g.slug,u.slug)),l.BMQ("href",M.getRouterLink(g.slug,u.slug),l.B4B),l.R7$(1),l.Y8G("src",u.image)("fallback","/assets/images/logo.svg"),l.R7$(3),l.JRh(u.title),l.R7$(2),l.SpI(" ",u.description," "),l.R7$(2),l.Y8G("ngForOf",l.bMT(10,7,u.childs))}}const fl=function(w){return["/su-vu",w]};function Zl(w,f){if(1&w&&(l.j41(0,"a",124),l.nrm(1,"span"),l.EFF(2),l.k0s()),2&w){const u=f.$implicit,g=l.XpG(4);l.Y8G("routerLink",l.eq3(5,fl,u.slug)),l.R7$(1),l.ZvI("icon-custom ",g.getJsonValue(u.details,"icon")," icon-custom-20 me-2"),l.R7$(1),l.SpI(" ",u.title," ")}}function ql(w,f){if(1&w&&(l.qex(0),l.j41(1,"div",107)(2,"div",108),l.DNE(3,Oo,11,9,"div",109),l.nI1(4,"sortByOrder"),l.k0s(),l.nrm(5,"div",110),l.j41(6,"div",111)(7,"h3",112),l.EFF(8,"S\u1ee9 v\u1ee5 kh\xe1c"),l.k0s(),l.j41(9,"div",113),l.DNE(10,Zl,3,7,"a",114),l.nI1(11,"sortByOrder"),l.k0s()()(),l.bVm()),2&w){const u=l.XpG(2).item,g=l.XpG();l.R7$(3),l.Y8G("ngForOf",l.bMT(4,2,g.templateOneItems(u.childs))),l.R7$(7),l.Y8G("ngForOf",l.bMT(11,4,g.templateTwoItems(u.childs)))}}function Yc(w,f){if(1&w&&(l.j41(0,"a",128)(1,"div",129)(2,"div",130),l.nrm(3,"span"),l.k0s()(),l.j41(4,"div",131)(5,"a",132),l.EFF(6),l.k0s(),l.nrm(7,"p",133),l.k0s()()),2&w){const u=f.$implicit,g=l.XpG(3).item,M=l.XpG();l.Y8G("routerLink",M.getRouterLink(g.slug,u.slug))("queryParams",M.linhDaoMegaQueryParams(g.slug)),l.R7$(3),l.ZvI("icon-custom ",M.getJsonValue(u.details,"icon")," icon-custom-30 center-vertical-horiz"),l.R7$(3),l.JRh(u.title),l.R7$(1),l.Y8G("innerHTML",M.getShortDesc(u.description),l.npT)}}function rn(w,f){if(1&w&&(l.qex(0),l.j41(1,"div",125)(2,"div",126),l.DNE(3,Yc,8,7,"a",127),l.nI1(4,"sortByOrder"),l.k0s()(),l.bVm()),2&w){const u=l.XpG(2).item;l.R7$(3),l.Y8G("ngForOf",l.bMT(4,1,u.childs))}}const ka=function(w){return["/podcast",w]};function Fa(w,f){if(1&w&&(l.qex(0),l.j41(1,"a",145)(2,"div",146),l.nrm(3,"app-img",147),l.k0s(),l.j41(4,"div",148),l.EFF(5),l.k0s()(),l.bVm()),2&w){const u=f.$implicit;l.R7$(1),l.Y8G("routerLink",l.eq3(5,ka,u.slug)),l.R7$(2),l.Y8G("src",u.image)("fallback","/assets/images/sample_podcast_category.png")("alt",u.title),l.R7$(2),l.SpI(" ",u.title," ")}}function pl(w,f){1&w&&(l.j41(0,"div",151),l.nrm(1,"div",152),l.j41(2,"div",153),l.nrm(3,"div",154)(4,"div",155),l.k0s()())}const ec=function(){return[1,2,3,4,5,6]};function Qc(w,f){1&w&&(l.j41(0,"div",149),l.DNE(1,pl,5,0,"div",150),l.k0s()),2&w&&(l.R7$(1),l.Y8G("ngForOf",l.lJ4(1,ec)))}function fa(w,f){if(1&w&&(l.j41(0,"div",156),l.EFF(1),l.k0s()),2&w){const u=l.XpG(4);l.R7$(1),l.SpI(" ",u.newestPodcastError," ")}}function gs(w,f){if(1&w){const u=l.RV6();l.j41(0,"div",158)(1,"div",159)(2,"img",160),l.bIt("click",function(M){const Q=l.eBV(u).$implicit;return l.XpG(5).onShowPlayer(Q,""),l.Njj(M.stopPropagation())}),l.k0s()(),l.j41(3,"a",161)(4,"div",162),l.EFF(5),l.k0s(),l.j41(6,"div",163),l.EFF(7),l.k0s()()()}if(2&w){const u=f.$implicit,g=l.XpG(5);l.AVh("activePodcast",g.currentPodcastId===u.id),l.R7$(3),l.FCK("routerLink","/podcast/",null==u.taxonomy?null:u.taxonomy.slug,"/",u.id,""),l.R7$(2),l.SpI(" ",null==u.taxonomy?null:u.taxonomy.title," "),l.R7$(2),l.SpI(" ",u.title," ")}}function Jc(w,f){if(1&w&&(l.qex(0),l.DNE(1,gs,8,6,"div",157),l.bVm()),2&w){const u=l.XpG(4);l.R7$(1),l.Y8G("ngForOf",u.newest)}}function Zc(w,f){if(1&w&&(l.qex(0,134),l.j41(1,"div",135)(2,"h3",136),l.EFF(3,"Ch\u1ee7 \u0111\u1ec1 n\u1ed5i b\u1eadt"),l.k0s(),l.j41(4,"div",137)(5,"div",138),l.DNE(6,Fa,6,7,"ng-container",139),l.nI1(7,"slice"),l.k0s()(),l.nrm(8,"hr"),l.j41(9,"h3",140),l.EFF(10,"Podcast m\u1edbi nh\u1ea5t"),l.k0s(),l.j41(11,"div",141)(12,"div",142),l.DNE(13,Qc,2,2,"div",143),l.DNE(14,fa,2,1,"div",144),l.DNE(15,Jc,2,1,"ng-container",15),l.k0s()()(),l.bVm()),2&w){const u=l.XpG(2).item,g=l.XpG();
1l.R7$(6),l.Y8G("ngForOf",l.brH(7,4,g.getTopics(u),0,11)),l.R7$(7),l.Y8G("ngIf",g.isLoadingNewest),l.R7$(1),l.Y8G("ngIf",g.newestPodcastError&&0===g.newest.length&&!g.isLoadingNewest),l.R7$(1),l.Y8G("ngIf",!g.isLoadingNewest)}}function tc(w,f){if(1&w){const u=l.RV6();l.j41(0,"a",170),l.bIt("mouseenter",function(){const F=l.eBV(u).$implicit,Q=l.XpG(4);return l.Njj(Q.onHoverItemMega3(F))}),l.nrm(1,"span"),l.EFF(2),l.k0s()}if(2&w){const u=f.$implicit,g=l.XpG(3).item,M=l.XpG();l.Y8G("routerLink",l.l_i(5,qo,g.slug,u.slug)),l.R7$(1),l.ZvI("icon-custom align-middle ",M.getJsonValue(u.details,"icon")," icon-custom-20 me-2"),l.R7$(1),l.SpI(" ",u.title," ")}}function nc(w,f){if(1&w&&(l.j41(0,"a",171),l.nrm(1,"img",172),l.j41(2,"span",173),l.EFF(3),l.k0s()()),2&w){const u=f.$implicit,g=l.XpG(3).item,M=l.XpG();l.FCK("routerLink","",g.slug,"/",u.slug,""),l.R7$(1),l.Y8G("src",M.getBestImageByWidth(null==u.avatar?null:u.avatar.orthers,300)||(null==u.avatar?null:u.avatar.url)||u.image,l.B4B),l.R7$(2),l.SpI(" ",u.title," ")}}function ic(w,f){if(1&w&&(l.j41(0,"a",184),l.nrm(1,"app-img",185),l.j41(2,"span",186),l.EFF(3),l.k0s()()),2&w){const u=l.XpG().$implicit,g=l.XpG(2).$implicit,M=l.XpG(3).item;l.yjJ("routerLink","",M.slug,"/",g.slug,"/",null==u.l_items[0]?null:u.l_items[0].slug,""),l.R7$(1),l.Y8G("src",null==u.l_items[0]?null:u.l_items[0].image)("fallback","/assets/images/logo.svg"),l.R7$(2),l.SpI(" ",null==u.l_items[0]?null:u.l_items[0].title," ")}}function it(w,f){if(1&w&&(l.j41(0,"a",187),l.nrm(1,"app-img",188),l.j41(2,"span",189),l.EFF(3),l.k0s()()),2&w){const u=f.$implicit,g=l.XpG(3).$implicit,M=l.XpG(3).item;l.yjJ("routerLink","",M.slug,"/",g.slug,"/",u.slug,""),l.R7$(1),l.Y8G("src",u.image)("fallback","/assets/images/logo.svg"),l.R7$(2),l.JRh(u.title)}}function Fn(w,f){if(1&w&&(l.j41(0,"div",179)(1,"span",180),l.EFF(2),l.k0s(),l.DNE(3,ic,4,6,"a",181),l.j41(4,"div",182),l.DNE(5,it,4,6,"a",183),l.k0s()()),2&w){const u=f.$implicit;l.R7$(2),l.JRh(u.title),l.R7$(1),l.Y8G("ngIf",null==u.l_items?null:u.l_items[0]),l.R7$(2),l.Y8G("ngForOf",null==u.l_items?null:u.l_items.slice(1,5))}}function gl(w,f){if(1&w&&(l.j41(0,"div",177),l.DNE(1,Fn,6,3,"div",178),l.k0s()),2&w){const u=l.XpG().$implicit;l.R7$(1),l.Y8G("ngForOf",u.childs)}}function La(w,f){if(1&w&&(l.j41(0,"a",196),l.nrm(1,"app-img",197),l.j41(2,"span",198),l.EFF(3),l.k0s()()),2&w){const u=f.$implicit,g=l.XpG(3).$implicit,M=l.XpG(3).item;l.yjJ("routerLink","",M.slug,"/",g.slug,"/",u.slug,""),l.R7$(1),l.Y8G("src",u.image)("fallback","/assets/images/logo.svg"),l.R7$(2),l.JRh(u.title)}}function tr(w,f){if(1&w&&(l.j41(0,"div",192)(1,"h3",193),l.EFF(2),l.k0s(),l.j41(3,"div",194),l.DNE(4,La,4,6,"a",195),l.k0s()()),2&w){const u=f.$implicit;l.R7$(2),l.JRh(u.title),l.R7$(2),l.Y8G("ngForOf",null==u.l_items?null:u.l_items.slice(0,2))}}function ml(w,f){if(1&w&&(l.j41(0,"div",190),l.DNE(1,tr,5,2,"div",191),l.k0s()),2&w){const u=l.XpG().$implicit;l.R7$(1),l.Y8G("ngForOf",u.childs)}}function Ki(w,f){if(1&w&&(l.j41(0,"a",171),l.nrm(1,"app-img",200),l.j41(2,"span",173),l.EFF(3),l.k0s()()),2&w){const u=f.$implicit,g=l.XpG(2).$implicit,M=l.XpG(3).item;l.yjJ("routerLink","",M.slug,"/",g.slug,"/",u.slug,""),l.R7$(1),l.Y8G("src",u.image)("fallback","/assets/images/logo.svg"),l.R7$(2),l.SpI(" ",u.title," ")}}function So(w,f){if(1&w&&(l.j41(0,"div",199),l.DNE(1,Ki,4,6,"a",169),l.k0s()),2&w){const u=l.XpG().$implicit;l.R7$(1),l.Y8G("ngForOf",u.l_items)}}function pa(w,f){if(1&w&&(l.qex(0),l.DNE(1,gl,2,1,"div",174),l.DNE(2,ml,2,1,"div",175),l.DNE(3,So,2,1,"div",176),l.bVm()),2&w){const u=f.$implicit,g=l.XpG(4);l.R7$(1),l.Y8G("ngIf",u.id===g.idDisplay&&"categories"===u.menu_item_show_object&&"columns"===u.menu_item_show_type),l.R7$(1),l.Y8G("ngIf",u.id===g.idDisplay&&"categories"===u.menu_item_show_object&&"grid"===u.menu_item_show_type),l.R7$(1),l.Y8G("ngIf",u.id===g.idDisplay&&"categories"!==u.menu_item_show_object)}}const yo=function(w){return{"d-none":w}};function nr(w,f){if(1&w){const u=l.RV6();l.qex(0),l.j41(1,"div",164),l.bIt("mouseleave",function(){l.eBV(u);const M=l.XpG(3);return l.Njj(M.onLeaveDropdownMega3())}),l.j41(2,"div",165),l.DNE(3,tc,3,8,"a",166),l.nI1(4,"sortByOrder"),l.k0s(),l.j41(5,"div",167)(6,"div",168),l.DNE(7,nc,4,4,"a",169),l.k0s(),l.DNE(8,pa,4,3,"ng-container",139),l.k0s()(),l.bVm()}if(2&w){const u=l.XpG(2).item,g=l.XpG();
1l.R7$(3),l.Y8G("ngForOf",l.bMT(4,4,u.childs)),l.R7$(3),l.Y8G("ngClass",l.eq3(6,yo,g.idDisplay)),l.R7$(1),l.Y8G("ngForOf",u.l_items.slice(0,8)),l.R7$(1),l.Y8G("ngForOf",u.childs)}}function Kr(w,f){if(1&w&&(l.qSk(),l.joV(),l.j41(0,"div",104)(1,"div",105),l.DNE(2,ql,12,6,"ng-container",15),l.DNE(3,rn,5,3,"ng-container",15),l.DNE(4,Zc,16,8,"ng-container",106),l.DNE(5,nr,9,8,"ng-container",15),l.k0s()()),2&w){const u=l.XpG().item;l.R7$(2),l.Y8G("ngIf","template_1"==u.menu_item_show_template),l.R7$(1),l.Y8G("ngIf","template_2"==u.menu_item_show_template),l.R7$(1),l.Y8G("ngIf","template_4"==u.menu_item_show_template),l.R7$(1),l.Y8G("ngIf","template_3"==u.menu_item_show_template)}}function es(w,f){if(1&w&&(l.DNE(0,ha,4,6,"a",96),l.DNE(1,hl,4,4,"button",97),l.j41(2,"span",98),l.qSk(),l.j41(3,"svg",83),l.nrm(4,"path",99),l.k0s()(),l.DNE(5,Kr,6,4,"div",100)),2&w){const u=f.item,g=l.XpG();l.Y8G("ngIf",g.isLink(u)),l.R7$(1),l.Y8G("ngIf",!g.isLink(u)),l.R7$(1),l.BMQ("data-bs-toggle",u.menu_item_show_template?"dropdown":null),l.R7$(3),l.Y8G("ngIf",u.menu_item_show_template)}}function br(w,f){if(1&w){const u=l.RV6();l.j41(0,"app-custom-popup",201),l.bIt("keysearchChange",function(M){l.eBV(u);const F=l.XpG();return l.Njj(F.keysearch=M)})("search",function(){l.eBV(u);const M=l.XpG();return l.Njj(M.onSearch())})("close",function(){l.eBV(u);const M=l.XpG();return l.Njj(M.modalClose())}),l.k0s()}if(2&w){const u=l.XpG();l.Y8G("homeData",u.homeDataForPopup)("keysearch",u.keysearch)}}let Io=(()=>{class w{getBestImageByWidth(u,g=300){if(!u)return;const M=Object.entries(u).filter(([le,Ie])=>/^url_w(\d+)$/.test(le)&&"string"==typeof Ie).map(([le,Ie])=>({width:parseInt(le.replace("url_w",""),10),url:Ie})).sort((le,Ie)=>le.width-Ie.width),F=M.find(le=>le.width>=g);if(F)return F.url;const Q=M.reverse().find(le=>le.width<g);return Q?Q.url:void 0}onMobileMenuItemClick(u,g,M,F){try{if(F)return void M.stopPropagation();M.stopPropagation(),M.preventDefault()}catch{}try{this.closeMobileMenu()}catch{}try{this.router.navigate([u,g])}catch{}}constructor(u,g,M,F,Q,le,Ie,He,vt,Ct,Nn,Jt){this.modalService=u,this.cmsService=g,this.authenService=M,this.socketService=F,this.toastrService=Q,this.router=le,this.menuService=Ie,this.commonService=He,this.notificationStateService=vt,this.podcastService=Ct,this.ngZone=Nn,this.platformId=Jt,this.isHeaderSticky=!1,this.newest=[],this.newestPodcastError=null,this.isLoadingNewest=!0,this.searchHighlightError=null,this.isShowPlayer=!1,this.homeDataForPopup={},this.isNavOpen=!1,this.activeMenuPath=null,this.openDropdownId=null,this.avatarBadgeCount=0,this.realUnreadCount=0,this.openChildDropdownId=null,this.destroy$=new $o.B,this.activeNotificationToken=null,this.socketSubscribedToken=null,this.lastHandledNotifySocketId=null,this.refreshTrigger$=new $o.B,this.currentPodcastId=null,this.windowScrollHandler=()=>{if(!(0,Wt.UE)(this.platformId))return;const Kt=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0)>0;Kt!==this.isHeaderSticky&&this.ngZone.run(()=>{this.isHeaderSticky=Kt})},this.subAuthen=this.authenService.currentUser.subscribe(Ft=>{this.currentUser=Ft;const Kt=this.currentUser?.token;if(Kt&&(this.socketService.start(Kt),this.loadUnreadNotificationCount(),this.socketSubscribedToken!==Kt)){if(this.subSocket){try{this.subSocket.unsubscribe()}catch{}this.subSocket=null}if(this.subComment){try{this.subComment.unsubscribe()}catch{}this.subComment=null}this.socketSubscribedToken=Kt,this.subSocket=this.socketService.getNewNotify().pipe((0,Ti.Q)(this.destroy$)).subscribe(mn=>{if(mn){const Pi=mn.id??mn._id??mn.item?.id??mn.notification_id,Ri=null!=Pi?String(Pi):null;if(null!==Ri&&this.lastHandledNotifySocketId===Ri)return;this.lastHandledNotifySocketId=Ri,this.notificationStateService.incrementFromNewNotification(Ri??void 0),this.toastrService.info(mn.message,"",{timeOut:5500,closeButton:!0}).onTap.subscribe(Oi=>{const ar=mn.id??mn._id??mn.notification_id??mn.notification?.id;ar&&this.cmsService.markNotificationAsRead(ar).pipe((0,Ti.Q)(this.destroy$)).subscribe({next:()=>{this.notificationStateService.decrementRealCount()}
1,error:ao=>{console.error("Failed to mark notification as read from toast",ao)}}),this.router.navigate(["/account/profile"],{queryParams:{tab:"thong-bao"}})}),this.refreshTrigger$.next()}else this.notificationStateService.clearAll()}),this.subComment=this.socketService.getNewComment().pipe((0,Ti.Q)(this.destroy$)).subscribe(mn=>{mn&&this.refreshTrigger$.next()})}})}ngOnDestroy(){(0,Wt.UE)(this.platformId)&&window.removeEventListener("scroll",this.windowScrollHandler),this.destroy$.next(),this.destroy$.complete(),this.refreshTrigger$.complete(),this.subAuthen&&this.subAuthen.unsubscribe(),this.subSocket&&this.subSocket.unsubscribe(),this.subComment&&this.subComment.unsubscribe()}ngOnInit(){this.activeMenuPath=this.router.url.replace(/^\/+/,""),(0,Wt.UE)(this.platformId)&&this.router.events.pipe((0,Ns.p)(F=>F instanceof ri.wF),(0,Ti.Q)(this.destroy$)).subscribe(F=>{this.activeMenuPath=F.urlAfterRedirects.replace(/^\/+/,""),this.syncMenuWithRoute()}),this.notificationStateService.avatarBadgeCount$.pipe((0,Ti.Q)(this.destroy$)).subscribe(F=>{this.avatarBadgeCount=F}),this.notificationStateService.realUnreadCount$.pipe((0,Ti.Q)(this.destroy$)).subscribe(F=>{this.realUnreadCount=F}),this.refreshTrigger$.pipe((0,cl.B)(300),(0,Ti.Q)(this.destroy$)).subscribe(()=>this.loadUnreadNotificationCount()),(0,Wt.UE)(this.platformId)&&(this.ngZone.runOutsideAngular(()=>{window.addEventListener("scroll",this.windowScrollHandler,{passive:!0})}),this.windowScrollHandler()),this.menuService.rawMenuData$.pipe((0,Ti.Q)(this.destroy$)).subscribe(F=>{if(F){let Q=F.filter(le=>le.menu_item_show_type!=er.r_.LOGO);this.logoMenu=F.find(le=>le.menu_item_show_type==er.r_.LOGO),this.listMenusLeft=Q.slice(0,Math.floor(Q.length/2)),this.listMenusRight=Q.slice(Math.floor(Q.length/2),Q.length),this.listMenus=Q}}),this.podcastService.currentPodcast$.pipe((0,Ti.Q)(this.destroy$)).subscribe(F=>{this.currentPodcastId=F?.id||null}),Yo.c.useMockOauth&&(this.authenService.theUser={id:1,name:"s3dev",email:"[email protected]",token:"fake-jwt-token-123",image:"/assets/images/avatar.png",create_at:"2025-01-20",provider:"mock"});const u=(0,Wt.UE)(this.platformId)?sessionStorage.getItem("header_search_highlight"):null,g=216e5;if(u){const F=JSON.parse(u);F.error&&(this.searchHighlightError=F.error),Date.now()-F.timestamp<g?this.listPost=F.data:(0,Wt.UE)(this.platformId)&&sessionStorage.removeItem("header_search_highlight")}this.listPost||this.cmsService.getItemsByGroup({code:er.zt.POST_SEARCH_HIGHLIGHT,page_size:6,item_type:er.SP.post}).pipe((0,Ti.Q)(this.destroy$)).subscribe(F=>{this.listPost=F.data,(0,Wt.UE)(this.platformId)&&sessionStorage.setItem("header_search_highlight",JSON.stringify({data:this.listPost,error:this.searchHighlightError,timestamp:Date.now()}))},F=>{this.searchHighlightError=F?.message||"L\u1ed7i t\u1ea3i n\u1ed9i dung t\xecm ki\u1ebfm"}),this.homeDataSubscription=this.commonService.homeData$.pipe((0,Ti.Q)(this.destroy$)).subscribe(F=>{this.homeDataForPopup=F});const M=(0,Wt.UE)(this.platformId)?sessionStorage.getItem("podcast_newest"):null;if(M){const F=JSON.parse(M);F.error&&(this.newestPodcastError=F.error),Date.now()-F.timestamp<g?(this.newest=F.data.slice(0,6),this.isLoadingNewest=!1):(0,Wt.UE)(this.platformId)&&sessionStorage.removeItem("podcast_newest")}0===this.newest.length&&this.cmsService.getNewestPodcast({page_size:20}).pipe((0,Ti.Q)(this.destroy$)).subscribe(F=>{if(F&&F.data){this.newestPodcastError=F.data?.errors?.[0]?.error||null;const Q=F.data.items.slice(0,20);this.newest=Q.slice(0,6),(0,Wt.UE)(this.platformId)&&sessionStorage.setItem("podcast_newest",JSON.stringify({data:Q,error:this.newestPodcastError,timestamp:Date.now()}))}else this.newestPodcastError="Kh\xf4ng th\u1ec3 t\u1ea3i podcast m\u1edbi nh\u1ea5t",this.newest=[];this.isLoadingNewest=!1},F=>{this.newestPodcastError=F?.message||"L\u1ed7i khi t\u1ea3i podcast m\u1edbi nh\u1ea5t",this.isLoadingNewest=!1})}syncMenuWithRoute(){if(!this.listMenus?.length||!this.activeMenuPath)return;this.openDropdownId=null,this.openChildDropdownId=null;const u=this.activeMenuPath.split("?")[0].split("#")[0];for(const g of this.listMenus)if(u.startsWith(g.slug)){this.openDropdownId=g.id;for(const M of g.childs||[])for(const F of M.childs||[])if(u.startsWith(`${g.slug}/${F.slug}`)){this.openChildDropdownId=M.id;break}break}}getTopics(u){return u?.childs??[]}loadUnreadNotificationCount(){this.cmsService.getNotifications({page:1,page_size:100}).pipe((0,Ti.Q)(this.destroy$)).subscribe({next:u=>{const M=(u?.data?.items||u?.items||[]).filter(F=>!F.is_read&&!F.read).length;this.notificationStateService.setRealUnreadCount(M)},error:u=>{console.error("Failed to load notification count",u)}})}refreshUnreadCountFromServer(){this.loadUnreadNotificationCount()}modalClose(){if(this.modalRef.close(),(0,Wt.UE)(this.platformId))try{document.activeElement?.blur()}catch{}}logOut(){this.authenService.logout(),this.notificationStateService.clearAll(),this.toastrService.success("\u0110\xe3 \u0111\u0103ng xu\u1ea5t th\xe0nh c\xf4ng","Th\xe0nh c\xf4ng"),this.router.navigate(["/"])}onAvatarClick(u){}navigateToLogin(){this.router.navigate(["/account/login"])}onAccountClick(u){if(this.currentUser)if(u&&(u.ctrlKey||u.metaKey||1===u.button)){if((0,Wt.UE)(this.platformId))try{const M=this.router.serializeUrl(this.router.createUrlTree(["/account/profile"]));return void window.open(M,"_blank","noopener")}catch{}}else{try{u.preventDefault()}catch{}try{this.closeMobileMenu()}catch{}this.router.navigate(["/account/profile"])}else{try{u?.preventDefault()}catch{}this.navigateToLogin()}}onSearch(){this.router.navigate(["/bai-viet/tim-kiem"],{queryParams:{keyword:this.keysearch}}),this.modalClose()}isLink(u){return"linh-dao"===u?.slug||!!u.menu_item_url||u.menu_item_order>3}getLink(u){return u.menu_item_url??"/"+u.slug}handleMenuClick(u,g){u.menu_item_url||u.menu_item_show_template&&g.preventDefault()}
1onShowPlayer(u,g){this.currentPodcastId!==u.id&&(this.selectedEpisode=u,this.selectedTopic=g,this.podcastService.playPodcast(u,g,this.newest))}isActive(u){if(!this.activeMenuPath||!u)return!1;const g=this.activeMenuPath.split("?")[0].split("#")[0].replace(/^\/|\/$/g,""),M=u.replace(/^\/|\/$/g,""),F=g.split("/");return M.split("/").every((le,Ie)=>F[Ie]===le)}toggleNavbar(){this.isNavOpen=!this.isNavOpen,this.isNavOpen&&this.syncMenuWithRoute()}closeMobileMenu(){this.isNavOpen=!1,this.openDropdownId=null}toggleMobileDropdown(u){this.openDropdownId=this.openDropdownId===u?null:u,this.openChildDropdownId=null}onMobileParentLabelClick(u,g){try{g.stopPropagation()}catch{}if("linh-dao"!==u?.slug){try{g.preventDefault()}catch{}null!=u?.id&&this.toggleMobileDropdown(u.id)}else this.closeMobileMenu()}toggleChildDropdown(u){this.openChildDropdownId=this.openChildDropdownId===u?null:u}getData(){this.cmsService.getTaxonomiesByGroup({code:er.ss.MAIN_MENU,item_type:er.QC.MENU,page_size:-1}).pipe((0,Ti.Q)(this.destroy$)).subscribe(u=>{let g=u.data.items.filter(M=>M.menu_item_show_type!=er.r_.LOGO);g=g.map(M=>("LINH \u0110\u1ea0O"===M.title&&(!M.menu_item_show_template||!M.childs?.length)&&(M.menu_item_show_template=M.menu_item_show_template||"template_2"),"PODCAST"===M.title&&(!M.menu_item_show_template||!M.childs?.length)&&(M.menu_item_show_template="template_4",M.childs=[]),M)),this.logoMenu=u.data.items.find(M=>M.menu_item_show_type==er.r_.LOGO),this.listMenusLeft=g.slice(0,Math.floor(g.length/2)),this.listMenusRight=g.slice(Math.floor(g.length/2),g.length)}),this.cmsService.getItemsByGroup({code:er.zt.POST_SEARCH_HIGHLIGHT,page_size:6,item_type:er.SP.post}).pipe((0,Ti.Q)(this.destroy$)).subscribe(u=>{this.listPost=u.data})}getJsonValue(u,g){if(u)try{const M=JSON.parse(u);return M[g]?M[g]:null}catch{return null}}templateOneItems(u){return u?u.filter(g=>"template_1"===g.menu_item_show_template):[]}templateTwoItems(u){if(!u)return[];const g=u.find(M=>"template_2"===M.menu_item_show_template);return g?g.childs:[]}onOpenSearch(){this.keysearch="",this.modalRef=this.modalService.open(this.modalSearch,{centered:!0,windowClass:"modal modal-primary modal-1300"}),this.modalRef.result.then(u=>{this.modalClose()},u=>{this.modalClose()}),document.activeElement?.blur()}onHoverItemMega3(u){this.idDisplay=u.id}onLeaveItemMega3(){}onLeaveDropdownMega3(){this.idDisplay=null}getRouterLink(u,g){return["/",u,g]}linhDaoMegaQueryParams(u){return(0,Es.O2)(u)}getShortDesc(u,g=95){if(!u)return"";let M=g;return typeof window<"u"&&window.innerWidth<1400&&(M=75),typeof window<"u"&&window.innerWidth<1155&&(M=55),u.length>M?u.slice(0,M).replace(/\s+$/,"")+'... <span class="dongten-dropdown__desc__more">Xem th\xeam</span>':u+' <span class="dongten-dropdown__desc__more">Xem th\xeam</span>'}static{this.\u0275fac=function(g){return new(g||w)(l.rXU(Cs.Bq),l.rXU(Ms.x),l.rXU(Ts.$),l.rXU(zs.L),l.rXU(Us.tw),l.rXU(ri.Ix),l.rXU(li.$),l.rXU(b.h),l.rXU(j.O),l.rXU(Wi.s),l.rXU(l.SKi),l.rXU(l.Agw))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["app-header"]],viewQuery:function(g,M){if(1&g&&(l.GBs(se,5),l.GBs(Is.l,5)),2&g){let F;l.mGM(F=l.lsd())&&(M.modalSearch=F.first),l.mGM(F=l.lsd())&&(M.customPopupComponent=F.first)}},hostVars:2,hostBindings:function(g,M){2&g&&l.AVh("main-header--sticky",M.isHeaderSticky)},decls:33,vars:15,consts:[[1,"navbar","navbar-expand-lg","navbar-light","bg-white"],[1,"container"],[1,"navbar-collapse","collapse","w-100","order-1","order-md-0","dual-collapse2"],[1,"navbar-nav","mr-auto"],[1,"nav-item","item-account","dropdown","has-megamenu"],["data-bs-toggle","dropdown",1,"nav-link","nav-profile",3,"click"],[1,"avatar-wrap","position-relative","d-inline-flex"],["imgClass","rounded-circle avatar",3,"src","fallback"],["class","notification-dot","aria-label","C\xf3 th\xf4ng b\xe1o m\u1edbi",4,"ngIf"],[1,"dropdown-menu","megamenu"],[1,"container","dropdown","user-dropdown-container"],[1,"user-dropdown"],["routerLink","/dien-dan","data-bs-dismiss","dropdown",1,"dropdown-item"],[1,"icon-diendan","icon-custom","icon-custom-20"],["class","divider",4,"ngIf"],[4,"ngIf"],[3,"class",4,"ngFor","ngForOf"],["class","mx-auto navbar-brand order-0",4,"ngIf"],[1,"navbar-collapse","collapse","w-100","order-3","dual-collapse2","justify-content-end"],[1,"navbar-nav","ml-auto"],[1,"nav-item"],["aria-label","Open search",1,"nav-search","nav-link","d-flex","align-items-center",3,"click"],[1,"icon-custom","icon-custom-20","align-middle","icon-search"],["class","nav-item dropdown",4,"ngIf"],["class","mobile-menu",3,"ngClass","click",4,"ngIf"],["nav_link_item",""],["modalSearch",""],["aria-label","C\xf3 th\xf4ng b\xe1o m\u1edbi",1,"notification-dot"],[1,"divi
1der"],["data-bs-dismiss"," dropdown",1,"dropdown-item",3,"routerLink","click"],[1,"icon-taikhoan","icon-custom","icon-custom-20"],["class","menu-notification-dot","aria-label","C\xf3 th\xf4ng b\xe1o m\u1edbi",4,"ngIf"],["aria-label","C\xf3 th\xf4ng b\xe1o m\u1edbi",1,"menu-notification-dot"],["data-bs-dismiss","dropdown",1,"dropdown-item",3,"click"],[1,"icon-dangxuat","icon-custom","icon-custom-20"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mx-auto","navbar-brand","order-0"],["routerLink","/",1,""],["imgClass","resize-img","loading","lazy",3,"src","fallback","alt"],["type","button","data-toggle","collapse","data-target",".dual-collapse2",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],[1,"navbar-close-icon"],["width","20","height","20","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M18 6L6 18M6 6L18 18","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],[1,"nav-item","dropdown"],["href","https://viejesuits.org/","target","_blank",1,"nav-language","nav-link","d-flex","align-items-center"],["xmlns","http://www.w3.org/2000/svg","width","29","height","18","viewBox","0 0 29 18","fill","none"],["d","M29 0.000205989H0V18H29V0.000205989Z","fill","#F0F0F0"],["d","M16.3125 1.3122e-10H12.6875V7.3123H0V10.6872H12.6875V17.9995H16.3125V10.6872H29V7.3123H16.3125V1.3122e-10Z","fill","#D80027"],["d","M22.3042 12.1303L29 15.5936V12.1303H22.3042Z","fill","#0052B4"],["d","M17.6522 12.1303L29 18L29 16.34L20.8611 12.1303H17.6522Z","fill","#0052B4"],["d","M25.9773 17.9997L17.6522 13.6933V17.9997H25.9773Z","fill","#0052B4"],["d","M17.6522 12.1303L29 18L29 16.34L20.8611 12.1303H17.6522Z","fill","#F0F0F0"],["d","M17.6522 12.1303L29 18L29 16.34L20.8611 12.1303H17.6522Z","fill","#D80027"],["d","M5.11697 12.1301L0 14.7768V12.1301H5.11697Z","fill","#0052B4"],["d","M11.3478 12.8764V17.9995H1.44383L11.3478 12.8764Z","fill","#0052B4"],["d","M8.13886 12.1303L0 16.34V18L11.3478 12.1303H8.13886Z","fill","#D80027"],["d","M6.69577 5.86946L0 2.40616V5.86946H6.69577Z","fill","#0052B4"],["d","M11.3478 5.86942L0 0.000205989V1.65972L8.13886 5.86942H11.3478Z","fill","#0052B4"],["d","M3.02268 0L11.3478 4.3064V0H3.02268Z","fill","#0052B4"],["d","M11.3478 5.86942L0 0.000205989V1.65972L8.13886 5.86942H11.3478Z","fill","#F0F0F0"],["d","M11.3478 5.86942L0 0.000205989V1.65972L8.13886 5.86942H11.3478Z","fill","#D80027"],["d","M23.883 5.86959L29 3.22291V5.86959H23.883Z","fill","#0052B4"],["d","M17.6522 5.12329V0.000205989H27.5562L17.6522 5.12329Z","fill","#0052B4"],["d","M20.8611 5.86942L29 1.65972L29 0.000205989L17.6522 5.86942H20.8611Z","fill","#D80027"],[1,"mobile-menu",3,"ngClass","click"],[1,"navbar-nav",3,"click"],["class","nav-item",4,"ngFor","ngForOf"],[1,"dropdown","user-dropdown-container"],["routerLink","/dien-dan",1,"dropdown-item","dropdown-item-diendan"],[1,"icon-diendan","icon-custom","icon-custom-20","align-middle","me-2"],[1,"mobile-search","d-flex","justify-content-start"],[1,"dropdown-item","d-flex","align-items-center","nav-search",3,"click"],[1,"icon-custom","icon-custom-20","align-middle","icon-search","me-2"],[1,"mobile-search-label"],["class","dropdown-submenu",3,"click",4,"ngIf"],["class","nav-link",3,"routerLink","click",4,"ngIf"],[1,"dropdown-menu"],["class","dropdown-item",3,"click",4,"ngFor","ngForOf"],[1,"dropdown-submenu",3,"click"],[1,"nav-link",3,"routerLink","click"],["class","icon-dropdown position-relative cursor-pointer",3,"rotated",4,"ngIf"],[1,"icon-dropdown","position-relative","cursor-pointer"],["width","13","height","13","viewBox","0 0 13 13","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M1.65869 3L6.85869 9L12.0587 3","stroke","#222222","stroke-width","2.5"],[1,"dropdown-item",3,"click"],["class","dropdown-link",3,"routerLink","queryParams","active","click",4,"ngIf"],["class","dropdown-submenu",3,"is-open","click",4,"ngIf"],["class","dropdown-item dropdown-item-sub",3,"click",4,"ngFor","ngForOf"],[1,"dropdown-link",3,"routerLink","queryParams","click"],[1,"icon-dropdown","position-relative","ms-2","cursor-pointer"],[1,"dropdown-item","dropdown-item-sub",3,"click"],[1,"dropdown-item-sub-link",3,"routerLink","queryParams","click"],[1,"dropdown-item",3,"routerLink","click"],[1,"icon-taikhoan","icon-custom","icon-custom-20","align-middle","me-2"],[1,"icon-dangxuat","icon-custom","icon-custom-20","align-middle","me-2"],["class","nav-link position-relative fw-bold text-black",3,"routerLink",4,"ngIf"],["type","button","class","nav-link position-relative fw-bold text-black bg-transparent border-0","data-bs-toggle","dropdown","aria-expanded","fal
1se",4,"ngIf"],[1,"nav-link","icon-dropdown","position-relative","cursor-pointer"],["d","M1.65869 3L6.85869 9L12.0587 3","stroke","#0A0A0A","stroke-width","2.5"],["class","dropdown-menu megamenu","role","menu",4,"ngIf"],[1,"nav-link","position-relative","fw-bold","text-black",3,"routerLink"],[1,"text-uppercase"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"nav-link","position-relative","fw-bold","text-black","bg-transparent","border-0"],["role","menu",1,"dropdown-menu","megamenu"],[1,"container","dropdown","p-0"],["class","template_4",4,"ngIf"],[1,"suvu-dropdown"],[1,"suvu-dropdown__grid"],["class","suvu-dropdown__group",4,"ngFor","ngForOf"],[1,"suvu-dropdown__divider"],[1,"suvu-dropdown__other","mt-4"],[1,"suvu-dropdown__section-title"],[1,"suvu-dropdown__other-grid"],["class","suvu-dropdown__other-link",3,"routerLink",4,"ngFor","ngForOf"],[1,"suvu-dropdown__group"],[1,"suvu-dropdown__banner",3,"routerLink"],["alt","","imgClass","suvu-dropdown__banner-img suvu-img","loading","lazy",3,"src","fallback"],[1,"suvu-dropdown__banner-overlay"],[1,"suvu-dropdown__banner-title"],[1,"suvu-dropdown__banner-desc"],[1,"suvu-dropdown__links"],["class","suvu-dropdown__link-item",3,"routerLink",4,"ngFor","ngForOf"],[1,"suvu-dropdown__link-item",3,"routerLink"],[1,"suvu-dropdown__other-link",3,"routerLink"],[1,"dongten-dropdown"],[1,"dongten-dropdown__grid"],["class","dongten-dropdown__item",3,"routerLink","queryParams",4,"ngFor","ngForOf"],[1,"dongten-dropdown__item",3,"routerLink","queryParams"],[1,"dongten-dropdown__icon"],[1,"ratio","ratio-1x1","shadow-sm"],[1,"dongten-dropdown__info"],[1,"dongten-dropdown__title"],[1,"dongten-dropdown__desc",3,"innerHTML"],[1,"template_4"],[1,"p-4"],[1,"fw-bold","mb-3","text-podcast"],[1,"row","flex-nowrap","overflow-auto"],[1,"topic-list"],[4,"ngFor","ngForOf"],[1,"fw-bold","mb-3"],[1,"row"],[1,"podcast-list"],["class","podcast-loading-skeleton",4,"ngIf"],["class","alert alert-warning mb-2",4,"ngIf"],[1,"topic-card","text-center",3,"routerLink"],[1,"topic-img","ratio","ratio-1x1"],["imgClass","rounded","loading","lazy",3,"src","fallback","alt"],[1,"topic-title","text-truncate"],[1,"podcast-loading-skeleton"],["class","podcast-skeleton-item d-flex align-items-center",4,"ngFor","ngForOf"],[1,"podcast-skeleton-item","d-flex","align-items-center"],[1,"skeleton-play","me-3"],[1,"skeleton-content","flex-grow-1"],[1,"skeleton-category"],[1,"skeleton-title"],[1,"alert","alert-warning","mb-2"],["class","podcast-item d-flex align-items-center",3,"activePodcast",4,"ngFor","ngForOf"],[1,"podcast-item","d-flex","align-items-center"],[1,"play-action"],["src","/assets/images/icons/play_grey.svg","alt","play grey",1,"me-3",2,"width","35px",3,"click"],[3,"routerLink"],[1,"podcast-category","fw-bold"],[1,"podcast-title","text-truncate","fw-bold"],[1,"suytu-dropdown",3,"mouseleave"],[1,"suytu-dropdown__sidebar"],["class","suytu-dropdown__menu-item suytu-dropdown__menu-link",3,"routerLink","mouseenter",4,"ngFor","ngForOf"],[1,"suytu-dropdown__content"],[1,"suytu-dropdown__grid",3,"ngClass"],["class","suytu-dropdown__card",3,"routerLink",4,"ngFor","ngForOf"],[1,"suytu-dropdown__menu-item","suytu-dropdown__menu-link",3,"routerLink","mouseenter"],[1,"suytu-dropdown__card",3,"routerLink"],["alt","suy tu dropdown image",1,"suytu-dropdown__image",3,"src"],[1,"suytu-dropdown__title"],["class","xahoi-columns-layout",4,"ngIf"],["class","chuyende-grid-layout",4,"ngIf"],["class","suytu-dropdown__grid",4,"ngIf"],[1,"xahoi-columns-layout"],["class","xahoi-column",4,"ngFor","ngForOf"],[1,"xahoi-column"],[1,"xahoi-column-title"],["class","xahoi-featured-card",3,"routerLink",4,"ngIf"],[1,"xahoi-list-items"],["class","xahoi-list-item",3,"routerLink",4,"ngFor","ngForOf"],[1,"xahoi-featured-card",3,"routerLink"],["imgClass","full-height","loading","lazy",1,"xahoi-featured-image",3,"src","fallback"],[1,"xahoi-featured-title"],[1,"xahoi-list-item",3,"routerLink"],["imgClass","full-height","loading","lazy",1,"xahoi-list-thumb",3,"src","fallback"],[1,"xahoi-list-title"],[1,"chuyende-grid-layout"],["class","chuyende-column",4,"ngFor","ngForOf"],[1,"chuyende-column"],[1,"chuyende-column-title"],[1,"chuyende-list-items"],["class","chuyende-list-item",3,"routerLink",4,"ngFor","ngForOf"],[1,"chuyende-list-item",3,"routerLink"],["imgClass","full-height","loading","lazy",1,"chuyende-list-thumb",3,"src","fallback"],[1,"chuyende-list-title"],[1,"suytu-dropdown__grid"],["imgClass","full-height","loading","lazy",1,"suytu-dropdown__image",3,"src","fallback"],[3,"homeData","keysearch","keysearchChange","search","close"]],template:function(g,M){1&g&&(l.j41(0,"nav",0)(1,"div",1)(2,"div",2)(3,"ul",3)(4,"li",4)(5,"button",5),l.bIt("click",function(Q){return M.onAvatarClick(Q)}),l.j41(6,"span",6),l.nrm(7,"app-img",7),l.DNE(8,$e,1,0,"span",8),l.k0s()(),l.j41(9,"div",9)(10,"div",10)(11,"div",11)(12,"div")(13,"a",12),l.nrm(14,"span",13),l.EFF(15," Di\u1ec5n \u0111\xe0n "),l.k0s()(),l.DNE(16,zn,5,6,"div",14),l.DNE(17,ei,4,0,"div",15),l.DNE(18,Vn,4,2,"div",15),l.k0s()()()(),l.DNE(19,pi,2,7,"li",16),l.k0s()(),l.DNE(20,Hn,8,7,"div",17),l.j41(21,"div",18)(22,"ul",19),l.DNE(23,Vi,2,7,"li",16),l.j41(24,"li",20)(25,"button",21),l.bIt("click",function(){return M.onOpenSearch()}),l.nrm(26,"span",22),l.k0s()(),l.DNE(27,oo,21,0,"li",23),l.k0s()(),l.DNE(28,dl,18,10,"div",24),l.k0s()(),l.DNE(29,es,6,4,"ng-template",null,25,l.C5r),l.DNE(31,br,1,2,"ng-template",null,26,l.C5r)),2&g&&(l.R7$(6),l.AVh("avatar-wrap--guest",!M.currentUser),l.R7$(1),l.Y8G("src",null==M.currentUser?null:M.currentUser.image)("fallback","/assets/images/logo.png"),l.R7$(1),l.Y8G("ngIf",M.currentUser&&M.avatarBadgeCount>0),l.R7$(5),l.AVh("dropdown-item-active",M.isActive("dien-dan")),l.R7$(3),l.Y8G("ngIf",M.currentUser),l.R7$(1),l.Y8G("ngIf",M.currentUser),l.R7$(1),l.Y8G("ngIf",!M.currentUser),l.R7$(1),l.Y8G("ngForOf",M.listMenusLeft),l.R7$(1),l.Y8G("ngIf",M.logoMenu),l.R7$(3),l.Y8G("ngForOf",M.listMenusRight),l.R7$(4),l.Y8G("ngIf",!0),l.R7$(1),l.Y8G("ngIf",M.isNavOpen))},dependencies:[Wt.YU,Wt.Sq,Wt.bT,Wt.T3,ri.Wk,Is.l,Os.V,S.I,Wt.P9,k.c],styles:[':root{--main-color: #900d14;--text-color: #0a0a0a}.dropdown-backdrop{background-color:#00000080;z-index:1040}.navbar-nav .dropdown-menu.show{display:block}.navbar-nav{align-items:center}.navbar .navbar-nav .nav-link{font-size:15px;padding:5px 8px;display:flex;align-items:center;justify-content:center;text-transform:uppercase}.navbar .navbar-nav .nav-link span{line-height:20px}.navbar .navbar-nav .nav-link.nav-search{margin:0 4px 0 8px;padding-left:20px;border-left:1px solid #ededed}.navbar .navbar-nav .nav-link.nav-profile{margin:0;padding:0 20px 0 0;border-right:1px solid #ededed}.navbar .navbar-nav .nav-link.nav-profile .avatar-wrap{line-height:0}.navbar .navbar-nav .nav-link.nav-profile .avatar-wrap.avatar-wrap--guest app-img img.avatar{filter:blur(.5px);opacity:.9}.navbar .navbar-nav .nav-link.nav-profile .avatar-wrap app-img img.avatar{transition:filter .2s ease,opacity .2s ease,transform .2s ease}.navbar .navbar-nav .nav-link.nav-profile .notification-dot{position:absolute;top:-2px;right:-2px;width:10px;height:10px;background-color:#900d14;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #0000000d;z-index:1}@media (max-width: 991px){.navbar .navbar-nav .nav-link .nav-profile .notification-dot{top:-1px;right:-1px;width:9px;height:9px}}.navbar .navbar-nav .nav-link.nav-language{margin:0;padding-right:0}@media screen and (max-width: 1199px){.navbar .navbar-nav .nav-link{font-size:14px}.navbar .navbar-nav .nav-link.nav-search{padding-left:8px}.navbar .navbar-nav .nav-link.nav-profile{margin:0;padding:0 8px 0 0}}.main-header{position:fixed;top:0;left:0;right:0;width:100%;z-index:1000;background:#fff}@media screen and (min-width: 992px){.main-header.main-header--sticky{box-shadow:0 4px 12px #00000014;animation:slideDown .5s ease-in-out}}@media screen and (max-width: 991px){.main-header{box-shadow:0 2px 4px #0000001a}}@media screen and (max-width: 991px){.main-header .navbar-brand{display:flex;justify-content:space-between;width:100%;position:relative}.main-header .navbar-brand .navbar-toggler{border:none;position:relative}.main-header .navbar-brand .navbar-toggler:focus{box-shadow:none}.main-header .navbar-brand .navbar-toggler .navbar-toggler-icon,.main-header .navbar-brand .navbar-toggler .navbar-close-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .3s ease-in-out,transform .3s ease-in-out}.main-header .navbar-brand .navbar-toggler .navbar-toggler-icon{opacity:1;transform:translate(-50%,-50%) rotate(0)}.main-header .navbar-brand .navbar-toggler .navbar-toggler-icon.hide{opacity:0;transform:translate(-50%,-50%) rotate(90deg)}.main-header .navbar-brand .navbar-toggler .navbar-close-icon{display:flex;align-items:center;justify-content:center;color:#333;opacity:0;transform:translate(-50%,-50%) rotate(-90deg)}.main-header .navbar-brand .navbar-toggler .navbar-close-icon.show{opacity:1;transform:translate(-50%,-50%) rotate(0)}.main-header .navbar-brand .navbar-toggler .navbar-close-icon svg{transition:transform .2s ease}.main-header .navbar-brand .navbar-toggler .navbar-close-icon:hover svg{transform:scale(1.1)}}@keyframes slideDown{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.mobile-menu{width:100%;text-align:right;position:fixed;inset:85px 0 0;height:calc(100vh - 85px);background:#fff;z-index:1050;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:20px 16px}.mobile-menu .navbar-nav{align-items:self-start}.mobile-menu .navbar-nav .nav-link{justify-content:space-between;padding:15px 0;flex-direction:row}.mobile-menu .navbar-nav .nav-link.active{color:#900d14}.mobile-menu .navbar-nav .dropdown-submenu{display:flex;justify-content:space-between;align-items:center}.mobile-menu .navbar-nav .dropdown-submenu.is-open{padding-bottom:5px}.mobile-menu .navbar-nav .nav-item{width:100%;border-bottom:1px dotted #dee2e6}.mobile-menu .navbar-nav .nav-item:last-child{border-bottom:none}.mobile-menu .navbar-nav .dropdown-menu{border:none;position:static;display:block;width:100%;background:#f8f9fa;margin-top:0;max-height:0;overflow:hidden;opacity:0;transform:translateY(-8px);transition:max-height .3s ease,opacity .2s ease,transform .3s ease;padding:0 0 0 20px}.mobile-menu .navbar-nav .dropdown-menu.is-open{max-height:600px;opacity:1;transform:translateY(0)}.mobile-menu .navbar-nav .dropdown-menu .dropdown-item-sub:hover .dropdown-item-sub-link{color:#900d14}.mobile-menu .navbar-nav .dropdown-menu .dropdown-item{padding:10px 20px 10px 0;border-bottom:1px dotted #dee2e6;cursor:pointer}.mobile-menu .navbar-nav .dropdown-menu .dropdown-item .dropdown-link{margin-right:4px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@media screen and (max-width: 767px){.mobile-menu .navbar-nav .dropdown-menu .dropdown-item .dropdown-link{white-space:normal;display:flex}}.mobile-menu .navbar-nav .dropdown-menu .dropdown-item:hover .dropdown-link{color:#900d14}.mobile-menu .navbar-nav .dropdown-menu .dropdown-item:last-child{border-bottom:none}.mobile-menu .navbar-nav .dropdown-menu .dropdown-item:active,.mobile-menu .navbar-nav .dropdown-menu .dropdown-item:hover{background-color:transparent}.mobile-menu .navbar-nav .dropdown-menu .dropdown-item a{color:#666;font-size:14px}.mobile-menu .navbar-nav .dropdown-menu .dropdown-item a:hover,.mobile-menu .navbar-nav .dropdown-menu .dropdown-item a.active{color:#900d14}.mobile-menu .navbar-nav .icon-dropdown{transition:transform .3s ease}.mobile-menu .navbar-nav .icon-dropdown.rotated{transform:rotate(180deg)}.mobile-menu .user-dropdown{padding-left:0;list-style:none;display:flex;flex-direction:column;align-items:flex-start;color:#424242}.mobile-menu .user-dropdown li{width:100%;text-align:left;padding:15px 0;border-top:1px dotted #dee2e6;font-size:15px;cursor:pointer}.mobile-menu .user-dropdown .dropdown-item.dropdown-item-active,.mobile-menu .user-dropdown .dropdown-item.dropdown-item-active .icon-custom{color:#900d14}.mobile-menu .user-dropdown>div{list-style:none;border-top:none}.mobile-menu .user-dropdown>div>a{text-transform:uppercase;color:#000000a6;font-size:14px;text-align:left;padding:15px 0}@media screen and (min-width: 768px){.navbar-brand{margin:0}}@media (min-width: 768px) and (max-width: 991px){.nav-item .nav-link{display:flex;align-items:center;flex-direction:column}.nav-item span{margin:0!important}}.item-search .nav-link{border-left:1px solid #ededed}.item-account{position:relative}.item-account .user-dropdown-container{position:relative;width:100%}.item-account .user-dropdown-container .user-dropdown{display:flex;flex-direction:column;gap:8px;width:230px;background:#fff;border-radius:10px;padding:15px;box-shadow:0 4px 10px #0000001a}.item-account .user-dropdown-container .user-dropdown .dropdown-item{display:flex;align-items:center;gap:10px;border-radius:8px;padding:15px;font-size:15px;font-weight:400;color:#000;cursor:pointer}.item-account .user-dropdown-container .user-dropdown .dropdown-item .menu-notification-dot{display:inline-block;width:8px;height:8px;background-color:#900d14;border-radius:50%;margin-left:6px;vertical-align:middle}.item-account .user-dropdown-container .user-dropdown .dropdown-item .dropdown-badge{margin-left:auto}.item-account .user-dropdown-container .user-dropdown .dropdown-item.dropdown-item-active{background-color:#ffe8e8;border:2px solid transparent;border-radius:5px;background-image:linear-gradient(#ffe8e8,#ffe8e8),linear-gradient(0deg,rgb(144,13,20) 0%,rgb(174,16,23) 100%);background-origin:border-box;background-clip:padding-box,border-box}.item-account .user-dropdown-container .user-dropdown .dropdown-item.dropdown-item-active:hover{background-color:#900d14;background-image:linear-gradient(#900D14,#900D14),linear-gradient(0deg,rgb(144,13,20) 0%,rgb(174,16,23) 100%);color:#fff}.item-account .user-dropdown-container .user-dropdown .dropdown-item.dropdown-item-active:hover .icon-diendan,.item-account .user-dropdown-container .user-dropdown .dropdown-item.dropdown-item-active:hover .icon-taikhoan,.item-account .user-dropdown-container .user-dropdown .dropdown-item.dropdown-item-active:hover .icon-dangxuat{filter:brightness(0) invert(1)}.item-account .user-dropdown-container .user-dropdown .dropdown-item:hover{background-color:#ffe8e8}.item-account .dropdown-menu.megamenu .container{background-color:transparent}.nav-item.item-account.dropdown .nav-link.show:before{top:70px}.item-news-search .index{width:40px;line-height:50px;opacity:.8}.template_3 .list-menu div{pointer-events:auto}.template_3 .list-menu div:hover{background-color:#ffe8e8}.container.dropdown .topic-list{grid-template-columns:repeat(11,1fr);display:grid;grid-gap:6px}.container.dropdown .topic-card{width:100%}.container.dropdown .topic-card:hover .topic-title{color:var(--main-color)}.container.dropdown .topic-img{background:#d9d9d9;width:90px;height:90px;margin-bottom:7px;border-radius:7px}.container.dropdown .topic-title{font-size:12px;font-weight:600;line-height:20px;max-width:90px;color:#0a0a0a}.container.dropdown hr{border:2px solid #d9d9d9;margin:20px 0}.container.dropdown h3{font-size:15px;width:-moz-fit-content;width:fit-content}.container.dropdown .podcast-list{grid-template-columns:repeat(3,1fr);display:grid;grid-gap:20px}.container.dropdown .podcast-item .podcast-category{font-size:9px;color:#900d14;line-height:20px}.container.dropdown .podcast-item .podcast-title{font-size:13px;
1max-width:200px}.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.nav-item .nav-link.icon-dropdown{padding:0}.nav-item.nav-item-left,.nav-item.nav-item-right{margin:0 12px;display:flex;align-items:center;justify-content:center}.nav-item.nav-item-left .icon-dropdown,.nav-item.nav-item-right .icon-dropdown{margin-top:-2px}@media screen and (max-width: 1399px){.nav-item.nav-item-left,.nav-item.nav-item-right{margin:0 9px}}@media screen and (max-width: 1199px){.nav-item.nav-item-left,.nav-item.nav-item-right{margin:0}}.nav-item.dropdown .nav-link.show:before{content:"";display:block;width:25px;border:12px solid transparent;border-bottom-color:#fff;position:absolute;top:70px;right:50%;transform:translate(50%)}.nav-item.dropdown .nav-link.icon-dropdown.show:before{content:"";display:block;width:25px;border:12px solid transparent;border-bottom-color:#fff;position:absolute;top:62px;right:50%;transform:translate(50%)}.dongten-dropdown,.suvu-dropdown,.suytu-dropdown{position:relative}.dongten-dropdown{padding:22px 8px}.dongten-dropdown__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px 28px}.dongten-dropdown__item{display:flex;align-items:flex-start;gap:14px;padding:8px 10px;border-radius:12px;transition:all .25s ease}.dongten-dropdown__item:hover{transform:translateY(-2px);background-color:#fff;box-shadow:0 3px 10px #00000014;cursor:pointer}.dongten-dropdown__item:hover .dongten-dropdown__title{color:#900d14}.dongten-dropdown__icon .ratio-1x1{width:60px;height:60px;border-radius:10px;border:1px solid #f0f0f0;display:flex;align-items:center;justify-content:center;background-color:#fff}.dongten-dropdown__icon .icon-custom{font-size:28px;color:#900d14}.dongten-dropdown__info{flex:1}.dongten-dropdown__title{display:block;font-weight:700;font-size:16px;color:#0a0a0a;text-decoration:none;margin-bottom:4px}.dongten-dropdown__desc{font-size:11px;color:#424242;margin:0;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;position:relative;z-index:1}.dongten-dropdown .dongten-dropdown__desc__more{color:#757575;font-weight:400;cursor:pointer}@media (max-width: 992px){.dongten-dropdown__grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 576px){.dongten-dropdown__grid{grid-template-columns:1fr}}.suvu-dropdown{padding:30px 18px}.suvu-dropdown__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.suvu-dropdown__group{display:flex;flex-direction:column}.suvu-dropdown__banner{position:relative;border-radius:12px;overflow:hidden}.suvu-dropdown__banner-img{width:100%;height:120px;object-fit:cover;border-radius:12px;display:block}.suvu-dropdown__banner:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,.1));border-radius:12px;z-index:1;height:120px}.suvu-dropdown__banner-overlay{position:absolute;bottom:15px;left:12px;right:12px;z-index:2}.suvu-dropdown__banner-title{color:#fff;font-weight:700;font-size:15px;margin-bottom:2px;line-height:1.2}.suvu-dropdown__banner-desc{color:#fff;font-size:12px;margin:0;font-weight:600;opacity:.9}.suvu-dropdown__links{margin-top:12px;display:flex;flex-direction:column;gap:15px}.suvu-dropdown__link-item{color:#0a0a0a;font-size:15px;text-decoration:none;display:flex;align-items:center;transition:color .2s ease,transform .2s ease}.suvu-dropdown__link-item:hover{color:#900d14;transform:translate(2px)}.suvu-dropdown__link-item .icon-custom{color:#900d14;font-size:18px;transition:color .2s ease}.suvu-dropdown__divider{border-top:1px solid #f5f5f5;margin:32px 0 16px}.suvu-dropdown__divider .dropdown-item{position:relative}.suvu-dropdown__divider .dropdown-item .dropdown-badge{position:absolute;right:16px;top:50%;transform:translateY(-50%);background-color:#900d14;color:#fff;font-size:11px;font-weight:700;min-width:20px;height:20px;border-radius:10px;display:flex;align-items:center;justify-content:center;padding:0 6px;box-shadow:0 2px 4px #00000026}.suvu-dropdown__other{display:flex;align-items:flex-start;gap:30px}@media (max-width: 1023px){.suvu-dropdown__other{gap:20px}}.suvu-dropdown__other-grid{display:flex;align-items:center;flex-wrap:wrap;gap:20px}@media (max-width: 1400px){.suvu-dropdown__other-grid{display:flex;justify-content:unset;gap:20px;width:100%;overflow-x:auto;flex-wrap:nowrap;white-space:nowrap;scrollbar-width:thin;scrollbar-color:#ccc #f5f5f5}.suvu-dropdown__other-grid::-webkit-scrollbar{height:6px;background:transparent;-webkit-transition:background .2s;transition:background .2s;color:#0a0a0a;text-decoration:none;font-size:15px;
1display:flex;align-items:center;-webkit-transition:color .2s ease;transition:color .2s ease;min-width:180px;flex:0 0 auto;white-space:normal;padding:8px 12px;margin-bottom:2px;box-sizing:border-box;border-radius:3px}.suvu-dropdown__other-grid::-webkit-scrollbar::-webkit-scrollbar{height:6px;background:transparent;-webkit-transition:background .2s;transition:background .2s}.suvu-dropdown__other-grid::-webkit-scrollbar:hover::-webkit-scrollbar{background:#f5f5f5}.suvu-dropdown__other-grid::-webkit-scrollbar::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.suvu-dropdown__other-grid::-webkit-scrollbar::-webkit-scrollbar-thumb:hover{background:#b3b3b3}.suvu-dropdown__other-grid::-webkit-scrollbar-thumb:hover{background:#b3b3b3}}.suvu-dropdown__other-grid::-webkit-scrollbar{height:0}.suvu-dropdown__other-grid:hover::-webkit-scrollbar{height:6px}@media (max-width: 1023px){.suvu-dropdown__other-grid{gap:15px}}.suvu-dropdown__other-link{color:#0a0a0a;text-decoration:none;font-size:15px;display:flex;align-items:center;transition:color .2s ease}.suvu-dropdown__other-link:hover,.suvu-dropdown__other-link .icon-custom{color:#900d14}.suvu-dropdown__section-title{font-weight:700;font-size:18px;margin:0;width:100px!important}@media (max-width: 1023px){.suvu-dropdown__grid,.suvu-dropdown__other-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 576px){.suvu-dropdown__grid,.suvu-dropdown__other-grid{grid-template-columns:1fr}}.suytu-dropdown{display:flex;overflow:hidden;background:#fff;border-radius:6px}.suytu-dropdown__sidebar{flex:0 0 25%;background-color:#f5f5f5;padding:20px;border-right:1px solid #eee}.suytu-dropdown__sidebar .suytu-dropdown__menu-item{padding:15px 20px;border-radius:6px;cursor:pointer;transition:background-color .2s ease}.suytu-dropdown__sidebar .suytu-dropdown__menu-item:hover{background-color:#ffe8e8}.suytu-dropdown__sidebar .suytu-dropdown__menu-link{display:flex;align-items:center;color:#0a0a0a;font-weight:700;text-decoration:none;transition:color .2s ease}.suytu-dropdown__sidebar .suytu-dropdown__menu-link .icon-custom{margin-right:.5rem}.suytu-dropdown__content{flex:0 0 75%;padding:30px}.suytu-dropdown__content .xahoi-columns-layout{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;justify-content:center}.suytu-dropdown__content .xahoi-columns-layout .xahoi-column{display:flex;flex-direction:column;gap:12px}.suytu-dropdown__content .xahoi-columns-layout .xahoi-column .xahoi-column-title{font-size:15px;font-weight:700;color:#0a0a0a;margin-bottom:10px;padding-bottom:10px;border-bottom:2px solid #900D14}.suytu-dropdown__content .xahoi-columns-layout .xahoi-column .xahoi-featured-card{display:block;position:relative;border-radius:8px;overflow:hidden;text-decoration:none;height:130px}.suytu-dropdown__content .xahoi-columns-layout .xahoi-column .xahoi-featured-card .xahoi-featured-image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:1}.suytu-dropdown__content .xahoi-columns-layout .xahoi-column .xahoi-featured-card:after{content:"";position:absolute;bottom:0;left:0;right:0;height:70%;background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.5) 60%,transparent 100%);z-index:2;pointer-events:none}.suytu-dropdown__content .xahoi-columns-layout .xahoi-column .xahoi-featured-card .xahoi-featured-title{position:absolute;bottom:0;left:0;right:0;padding:0 15px;margin-bottom:10px;color:#fff;font-weight:700;font-size:13px;line-height:19px;z-index:3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:54px}.suytu-dropdown__content .xahoi-columns-layout .xahoi-list-items{display:flex;flex-direction:column;gap:10px}.suytu-dropdown__content .xahoi-columns-layout .xahoi-list-items .xahoi-list-item{display:flex;gap:10px;text-decoration:none;align-items:flex-start;padding:6px;border-radius:6px;transition:background .2s}.suytu-dropdown__content .xahoi-columns-layout .xahoi-list-items .xahoi-list-item:hover{background:#FFE8E8}.suytu-dropdown__content .xahoi-columns-layout .xahoi-list-items .xahoi-list-item .xahoi-list-thumb{width:6
15px;height:40px;object-fit:cover;border-radius:5px;flex-shrink:0}.suytu-dropdown__content .xahoi-columns-layout .xahoi-list-items .xahoi-list-item .xahoi-list-title{flex:1;font-size:13px;font-weight:700;color:#424242;line-height:18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:54px}.suytu-dropdown__content .chuyende-grid-layout{display:grid;grid-template-columns:repeat(3,1fr);gap:33px;align-items:flex-start}.suytu-dropdown__content .chuyende-grid-layout .chuyende-column{display:flex;flex-direction:column;gap:12px;height:100%}.suytu-dropdown__content .chuyende-grid-layout .chuyende-column .chuyende-column-title{display:block;font-size:16px;font-weight:700;color:#0a0a0a;margin-bottom:10px;padding-bottom:10px;border-bottom:2px solid #900D14;width:100%}.suytu-dropdown__content .chuyende-grid-layout .chuyende-column .chuyende-list-items{display:flex;flex-direction:column;gap:10px;flex:1}.suytu-dropdown__content .chuyende-grid-layout .chuyende-column .chuyende-list-items .chuyende-list-item{display:flex;gap:10px;text-decoration:none;align-items:flex-start;padding:8px;border-radius:6px;transition:background .2s}.suytu-dropdown__content .chuyende-grid-layout .chuyende-column .chuyende-list-items .chuyende-list-item:hover{background:#FFE8E8}.suytu-dropdown__content .chuyende-grid-layout .chuyende-column .chuyende-list-items .chuyende-list-item .chuyende-list-thumb{width:65px;height:40px;object-fit:cover;border-radius:5px;flex-shrink:0}.suytu-dropdown__content .chuyende-grid-layout .chuyende-column .chuyende-list-items .chuyende-list-item .chuyende-list-title{flex:1;font-size:13px;font-weight:700;color:#424242;line-height:18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.suytu-dropdown__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));column-gap:13px;row-gap:29px}.suytu-dropdown__card{display:flex;flex-direction:column}.suytu-dropdown__image{width:100%;height:130px;border-radius:6px;margin-bottom:.5rem;object-fit:cover;aspect-ratio:4/3}.suytu-dropdown__title{color:#424242;font-weight:700;font-size:13px;text-decoration:none;line-height:22px;transition:color .2s ease;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@media (max-width: 992px){.suytu-dropdown{flex-direction:column}.suytu-dropdown__sidebar{flex:none;width:100%;border-right:none;border-bottom:1px solid #eee}.suytu-dropdown__content{flex:none;width:100%}}@media (max-width: 820px){.modal-content{top:100px}}.text-podcast{color:#0a0a0a}.podcast-loading-skeleton{width:100%}.podcast-skeleton-item{padding:12px 0;border-bottom:1px solid #eee}.podcast-skeleton-item:last-child{border-bottom:none}.skeleton-play{width:35px;height:35px;border-radius:50%;background:linear-gradient(90deg,#e0e0e0 25%,#f5f5f5 50%,#e0e0e0 75%);background-size:200% 100%;animation:skeleton-loading 1.5s infinite;flex-shrink:0}.skeleton-content{min-width:0}.skeleton-category{width:60%;height:12px;background:linear-gradient(90deg,#e0e0e0 25%,#f5f5f5 50%,#e0e0e0 75%);background-size:200% 100%;animation:skeleton-loading 1.5s infinite;border-radius:4px;margin-bottom:8px}.skeleton-title{width:80%;height:14px;background:linear-gradient(90deg,#e0e0e0 25%,#f5f5f5 50%,#e0e0e0 75%);background-size:200% 100%;animation:skeleton-loading 1.5s infinite;border-radius:4px}@keyframes skeleton-loading{0%{background-position:200% 0}to{background-position:-200% 0}}\n'],encapsulation:2})}}return w})();var _l=T(8359);const xs=["spotifyContainer"];let y=(()=>{class w{constructor(u,g){this.platformId=u,this.podcastService=g,this.embedController=null,this.subscription=new _l.yU,this.isControllerReady=!1,this.hasTriggeredNext=!1,this.pendingSeekTime=0,this.previousEpisodeId=null,this.isFirstPlaybackUpdate=!0,this.isSpotifyPlaying=!1,this.isDestroying=!1}ngOnInit(){this.subscription.add(this.podcastService.isPlaying$.subscribe(u=>{if(this.isControllerReady&&this.embedController)if(u){if(this.pendingSeekTime>0)return this.embedController.seek(this.pendingSeekTime),this.pendingSeekTime=0,this.podcastService.clearResumeTime(),void setTimeout(()=>{this.isControllerReady&&this.embedController&&this.safePlay(this.embedController)},100);this.safePlay(this.embedController)}else this.safePause(this.embedController)}))}ngOnChanges(u){u.id&&this.id&&(this.hasTriggeredNext=!1,this.isFirstPlaybackUpdate=!0,this.isSpotifyPlaying=!1),u.id&&!u.id.firstChange&&this.embedController&&this.id&&(this.safePause(this.embedController),this.isControllerReady=!1,this.isSpotifyPlaying=!1,this.embedController.loadUri(`spotify:episode:${this.id}`),this.safePlay(this.embedController),this.isControllerReady=!0)}ngAfterViewInit(){(0,Wt.UE)(this.platformId)&&this.id&&this.loadAndPlay()}safePlay(u){if(u)try{const g=u.play();g&&"function"==typeof g.catch&&g.catch(()=>{console.log("Spotify play blocked - user interaction required")})}catch(g){console.log("Spotify play error:",g)}}safePause(u){if(u&&this.isSpotifyPlaying)try{const g=u.pause();g&&"function"==typeof g.catch&&g.catch(()=>{}),this.isSpotifyPlaying=!1}catch{}}loadAndPlay(){const u=window;if(u.SpotifyIframeApi)return void this.createController(u.SpotifyIframeApi);const g=u.onSpotifyIframeApiReady;if(u.onSpotifyIframeApiReady=M=>{u.SpotifyIframeApi=M,g&&g(M),this.createController(M)},!document.querySelector('script[src*="spotify.com/embed/iframe-api"]')){const M=document.createElement("script");M.src="https://open.spotify.com/embed/iframe-api/v1",M.async=!0,document.body.appendChild(M)}}createController(u){!this.containerRef?.nativeElement||!this.id||u.createController(this.containerRef.nativeElement,{uri:`spotify:episode:${this.id}`,width:"100%",height:"80"},g=>{if(!g)return void console.warn("Spotify controller creation failed");this.embedController=g,this.isControllerReady=!0,g.addListener("playback_update",le=>{if(this.isDestroying)return;const{position:Ie,duration:He,isPaused:vt}=le.data;this.isSpotifyPlaying=!vt,this.isFirstPlaybackUpdate?this.isFirstPlaybackUpdate=!1:(this.podcastService.updateCurrentTime(Ie),He>0&&Ie>
1=He-1&&!vt&&!this.hasTriggeredNext&&this.podcastService.hasPlaylist()&&(this.hasTriggeredNext=!0,this.isSpotifyPlaying=!1,this.podcastService.playNextEpisode()))});const M=this.podcastService.getResumeTimeValue(),F=this.podcastService.getIsPlayingValue(),Q=this.podcastService.isResumingFromStorage();F?(this.podcastService.clearResumingFromStorage(),M>0&&(g.seek(M),this.podcastService.clearResumeTime()),this.safePlay(g)):Q&&(this.podcastService.setSpotifyPlayingState(!1),this.podcastService.clearResumingFromStorage(),this.pendingSeekTime=M)})}ngOnDestroy(){this.isDestroying=!0,this.subscription.unsubscribe(),this.embedController&&(this.safePause(this.embedController),this.embedController=null)}static{this.\u0275fac=function(g){return new(g||w)(l.rXU(l.Agw),l.rXU(Wi.s))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["app-player-audio"]],viewQuery:function(g,M){if(1&g&&l.GBs(xs,5),2&g){let F;l.mGM(F=l.lsd())&&(M.containerRef=F.first)}},inputs:{id:"id"},features:[l.OA$],decls:2,vars:0,consts:[["spotifyContainer",""]],template:function(g,M){1&g&&l.nrm(0,"div",null,0)}})}}return w})();const C=["audio"];function _(w,f){1&w&&l.nrm(0,"img",31)}function E(w,f){1&w&&l.nrm(0,"img",32)}function x(w,f){if(1&w){const u=l.RV6();l.qSk(),l.joV(),l.qex(0),l.j41(1,"div",9)(2,"div",10),l.nrm(3,"img",11),l.k0s(),l.j41(4,"div",12)(5,"h3",13),l.EFF(6),l.k0s(),l.j41(7,"p",14),l.EFF(8),l.k0s()(),l.j41(9,"div",15)(10,"div",16)(11,"div",17)(12,"button",18),l.bIt("click",function(){l.eBV(u);const M=l.XpG(2);return l.Njj(M.rewind(15))}),l.nrm(13,"img",19),l.k0s(),l.j41(14,"button",20),l.bIt("click",function(){l.eBV(u);const M=l.XpG(2);return l.Njj(M.togglePlay())}),l.DNE(15,_,1,0,"img",21),l.DNE(16,E,1,0,"img",22),l.k0s(),l.j41(17,"button",23),l.bIt("click",function(){l.eBV(u);const M=l.XpG(2);return l.Njj(M.forward(15))}),l.nrm(18,"img",24),l.k0s()(),l.j41(19,"div")(20,"div",25)(21,"span",26),l.EFF(22),l.nI1(23,"date"),l.k0s(),l.j41(24,"div",27),l.bIt("click",function(M){l.eBV(u);const F=l.XpG(2);return l.Njj(F.seek(M))}),l.nrm(25,"div",28),l.k0s(),l.j41(26,"span",26),l.EFF(27),l.nI1(28,"date"),l.k0s(),l.j41(29,"audio",29,30),l.bIt("timeupdate",function(){l.eBV(u);const M=l.sdS(30),F=l.XpG(2);return l.Njj(F.updateTime(M))})("loadedmetadata",function(){l.eBV(u);const M=l.sdS(30),F=l.XpG(2);return l.Njj(F.setDuration(M))}),l.k0s()()()()()(),l.bVm()}if(2&w){const u=l.XpG(2);l.R7$(3),l.Y8G("src",null!=u.podcast&&u.podcast.image?u.podcast.image:"/assets/images/sample_podcast_category.png",l.B4B),l.R7$(3),l.SpI(" ",null!=u.topic&&u.topic.title?u.topic.title:null==u.podcast||null==u.podcast.taxonomy?null:u.podcast.taxonomy.title," "),l.R7$(2),l.SpI(" ",null==u.podcast?null:u.podcast.title," "),l.R7$(7),l.Y8G("ngIf",u.isPlay),l.R7$(1),l.Y8G("ngIf",!u.isPlay),l.R7$(6),l.JRh(l.i5U(23,10,1e3*u.currentTime,"mm:ss")),l.R7$(3),l.xc7("width",u.currentTime/u.duration*100,"%"),l.R7$(2),l.JRh(l.i5U(28,13,1e3*u.duration,"mm:ss")),l.R7$(2),l.Y8G("src",null!=u.podcast&&u.podcast.audio_url?u.podcast.audio_url:"https://anchor.fm/s/68ccffd4/podcast/play/109519535/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2025-9-11%2F98c0d3c9-be8b-6bf9-2195-bcb003ba9f19.mp3",l.B4B)}}function U(w,f){if(1&w&&(l.qSk(),l.joV(),l.nrm(0,"app-player-audio",33)),2&w){const u=l.XpG(2);l.Y8G("id",u.spotifyEpisodeId)}}function re(w,f){if(1&w){const u=l.RV6();l.j41(0,"div",1)(1,"div",2)(2,"button",3),l.bIt("click",function(){l.eBV(u);const M=l.XpG();return l.Njj(M.onClose())}),l.qSk(),l.j41(3,"svg",4),l.nrm(4,"path",5)(5,"path",6),l.k0s()(),l.DNE(6,x,31,16,"ng-container",7),l.DNE(7,U,1,1,"ng-template",null,8,l.C5r),l.k0s()()}if(2&w){const u=l.sdS(8),g=l.XpG();l.R7$(2),l.AVh("animate",g.isAnimating),l.R7$(4),l.Y8G("ngIf",(null==g.podcast?null:g.podcast.audio_url)&&!g.isSpotifyEmbed)("ngIfElse",u)}}let je=(()=>{class w{constructor(u,g,M){this.cdr=u,this.platformId=g,this.podcastService=M,this.show=!1,this.close=new l.bkB,this.currentTime=0,this.duration=0,this.isPlay=!1,this.isAnimating=!1,this.isSpotifyEmbed=!1,this.spotifyEpisodeId=null,this.wasPlayingOnLoad=!1,this.subscriptions=new _l.yU}ngOnInit(){this.subscriptions.add(this.podcastService.currentPodcast$.subscribe(u=>{this.podcast=u,this.isSpotifyEmbed=!!(u?.uri?.includes("spotify:episode:")||u?.external_urls?.spotify||u?.spotify_uri||u?.embed_url?.includes("spotify")||!u?.audio_url&&u?.id),this.spotifyEpisodeId=this.extractSpotifyEpisodeId(u),this.cdr.detectChanges()})),this.subscriptions.add(this.podcastService.isSpotifyEmbed$.subscribe(u=>{this.isSpotifyEmbed=u,this.cdr.detectChanges()})),this.subscriptions.add(this.podcastService.currentTopic$.subscribe(u=>{this.topic=u,this.cdr.detectChanges()})),this.subscriptions.add(this.podcastService.isPlaying$.subscribe(u=>{this.isPlay=u,this.cdr.detectChanges()})),this.subscriptions.add(this.podcastService.currentTime$.subscribe(u=>{this.currentTime=u,this.cdr.detectChanges()})),this.subscriptions.add(this.podcastService.duration$.subscribe(u=>{this.duration=u,this.cdr.detectChanges()}))}ngOnDestroy(){this.subscriptions.unsubscribe()}togglePlay(){this.podcastService.togglePlay()}seekTo(u){this.podcastService.seekTo(u.target.value)}onClose(){this.podcastService.closePopup()}rewind(u){this.podcastService.rewind(u)}forward(u){this.podcastService.forward(u)}seek(u){this.podcastService.seek(u)}updateTime(u){}setDuration(u){}extractSpotifyEpisodeId(u){if(!u)return null;if(u.uri?.includes("spotify:episode:")){const g=u.uri.split(":");return g.length>=3?g[g.length-1]:null}if(u.spotify_uri){const g=u.spotify_uri.split(":");return g.length>=3?g[g.length-1]:null}if(u.embed_url?.includes("spotify")){const g=u.embed_url.match(/episode\/([^/?]+)/);if(g)return g[1]}if(u.external_urls?.spotify){const g=u.external_urls.spotify.match(/episode\/([^/?]+)/);if(g)return g[1]}return u.id||null}static{this.\u0275fac=function(g){return new(g||w)(l.rXU(l.gRc),l.rXU(l.Agw),l.rXU(Wi.s))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["app-popup-podcast"]],viewQuery:function(g,M){if(1&g&&(l.GBs(C,5),l.GBs(y,5)),2&g){let F;l.mGM(F=l.lsd())&&(M.audioRef=F.first),l.mGM(F=l.lsd())&&(M.playerAudioComponent=F.first)}},inputs:{show:"show"},outputs:{close:"close"},decls:1,vars:1,consts:[["class","popup-podcast-wrapper","role","dialog","aria-modal","true",4,"ngIf"],["role","dialog","aria-modal","true",1,"popup-podcast-wrapper"],[1,"container","popup-podcast-content"],["type","button","aria-label","Close",1,"popup-btn","close",3,"click"],["viewBox","0 0 20 18","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M18.0682 1.47656L2 16.4766","
1stroke","currentColor","stroke-width","2","stroke-linecap","square","stroke-linejoin","round"],["d","M2.00011 1.47656L18.0684 16.4766","stroke","currentColor","stroke-width","2","stroke-linecap","square","stroke-linejoin","round"],[4,"ngIf","ngIfElse"],["defaultPodcast",""],[1,"d-flex","popup-podcast-container-inner"],[1,"me-3","popup-podcast-image"],["alt","podcast image",1,"rounded",3,"src"],[1,"popup-podcast-title"],[1,"fw-bold","text-main-color","mb-2"],[1,"fw-bold","title-2-lines"],[1,"btn-event"],[1,"d-flex","flex-column","align-items-center"],[1,"player-controls"],["aria-label","Rewind 15 seconds",3,"click"],["src","/assets/images/15_second_back.png","alt","rewind 15 seconds icon"],[1,"play-action",3,"click"],["title","Pause","src","/assets/images/pause_play.png","alt","Play",4,"ngIf"],["title","Play","src","/assets/images/play_black.png","alt","Pause",4,"ngIf"],["aria-label","Forward 15 seconds",3,"click"],["src","/assets/images/15_second_next.png","alt","forward 15 seconds icon"],[1,"audio-player"],[1,"time"],[1,"progress-container",3,"click"],[1,"progress-bar"],["preload","metadata",3,"src","timeupdate","loadedmetadata"],["audio",""],["title","Pause","src","/assets/images/pause_play.png","alt","Play"],["title","Play","src","/assets/images/play_black.png","alt","Pause"],[3,"id"]],template:function(g,M){1&g&&l.DNE(0,re,9,4,"div",0),2&g&&l.Y8G("ngIf",M.show)},dependencies:[Wt.bT,y,Os.V,Wt.vh],styles:[".popup-podcast-wrapper[_ngcontent-%COMP%]{background-color:#fff;width:100%;box-shadow:0 -5px 15px #3635351a;pointer-events:auto;z-index:100;position:fixed;bottom:0;left:0;display:flex;align-items:flex-end;justify-content:center;min-height:100px}.popup-podcast-content[_ngcontent-%COMP%]{padding:20px 12px;position:relative;pointer-events:auto}.popup-podcast-content[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:9px}.popup-podcast-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:15px;max-width:260px;text-wrap:wrap}.popup-podcast-container-inner[_ngcontent-%COMP%]{padding:3px 0}.popup-podcast-image[_ngcontent-%COMP%]{width:80px;height:80px}.popup-podcast-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%}@media screen and (max-width: 767px){.popup-podcast-image[_ngcontent-%COMP%]{width:60px;height:60px;margin-right:10px!important}}.popup-podcast-title[_ngcontent-%COMP%]{cursor:default}@media screen and (max-width: 991px){.popup-podcast-title[_ngcontent-%COMP%]{display:flex;align-items:center}.popup-podcast-title[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 575px){.popup-podcast-title[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{position:absolute;top:6px;left:10px}}.close[_ngcontent-%COMP%]{position:absolute;height:-moz-fit-content;height:fit-content;top:14px;right:-20px;background:none;border:none;color:#c3c3c3;cursor:pointer;opacity:1}@media screen and (max-width: 767px){.close[_ngcontent-%COMP%]{top:10px}}@media screen and (max-width: 580px){.close[_ngcontent-%COMP%]{top:0;right:10px}}.close[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:18px;height:18px}@media screen and (max-width: 767px){.close[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:14px;height:14px}}.close[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{color:var(--text-color);transform:scale(1.1);transition:transform 5s cubic-bezier(0,0,.44,1.18)}.close[_ngcontent-%COMP%]:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.btn-event[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.btn-event[_ngcontent-%COMP%]   .player-controls[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:20px}.btn-event[_ngcontent-%COMP%]   .player-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;color:#333;font-size:36px;transition:transform .2s ease}.btn-event[_ngcontent-%COMP%]   .player-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:25px}@media screen and (max-width: 767px){.btn-event[_ngcontent-%COMP%]   .player-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:18px}}
1.btn-event[_ngcontent-%COMP%]   .player-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{transform:scale(1.1)}.btn-event[_ngcontent-%COMP%]   .player-controls[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:40px}@media screen and (max-width: 767px){.btn-event[_ngcontent-%COMP%]   .player-controls[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:30px}}.btn-event[_ngcontent-%COMP%]   .audio-player[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;width:300px;font-family:sans-serif}.btn-event[_ngcontent-%COMP%]   .audio-player[_ngcontent-%COMP%]   .time[_ngcontent-%COMP%]{font-size:12px;color:#444;width:40px;text-align:center}.btn-event[_ngcontent-%COMP%]   .audio-player[_ngcontent-%COMP%]   .progress-container[_ngcontent-%COMP%]{position:relative;flex:1;height:6px;background:#ddd;border-radius:3px;cursor:pointer}.btn-event[_ngcontent-%COMP%]   .audio-player[_ngcontent-%COMP%]   .progress-container[_ngcontent-%COMP%]   .progress-bar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:100%;background:#333;border-radius:3px;transition:width .2s linear}@media screen and (max-width: 767px){.btn-event[_ngcontent-%COMP%]   .audio-player[_ngcontent-%COMP%]{width:250px}}"]})}}return w})();function ke(w,f){1&w&&(l.j41(0,"div",1),l.nrm(1,"div",2),l.k0s())}let gt=(()=>{class w{constructor(u){this.router=u,this.loading=!1,this.ANIMATION_DELAY_MS=250}ngOnInit(){this.routerSubscription=this.router.events.subscribe(u=>{u instanceof ri.Z?this.loading=!0:(u instanceof ri.wF||u instanceof ri.j5||u instanceof ri.L6)&&setTimeout(()=>{this.loading=!1},this.ANIMATION_DELAY_MS)})}ngOnDestroy(){this.routerSubscription&&this.routerSubscription.unsubscribe()}static{this.\u0275fac=function(g){return new(g||w)(l.rXU(ri.Ix))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["app-loading-bar"]],decls:1,vars:1,consts:[["class","loading-bar-container",4,"ngIf"],[1,"loading-bar-container"],[1,"loading-bar"]],template:function(g,M){1&g&&l.DNE(0,ke,2,0,"div",0),2&g&&l.Y8G("ngIf",M.loading)},dependencies:[Wt.bT],styles:[".loading-bar-container[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:3px;z-index:9999;background-color:transparent;overflow:hidden}.loading-bar[_ngcontent-%COMP%]{height:100%;background:linear-gradient(90deg,rgba(144,13,20,.3) 0%,#900D14 25%,#c41e28 50%,#900D14 75%,rgba(144,13,20,.3) 100%);background-size:200% 100%;animation:_ngcontent-%COMP%_loading-slide 1.2s cubic-bezier(.4,0,.2,1) infinite,loading-pulse 1.2s ease-in-out infinite,slide-in .25s cubic-bezier(.4,0,.2,1);box-shadow:0 0 15px #900d1499,0 0 25px #c41e2866,0 2px 8px #900d144d;transform-origin:left;will-change:transform,background-position}@keyframes _ngcontent-%COMP%_loading-slide{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes _ngcontent-%COMP%_loading-pulse{0%,to{opacity:.9}50%{opacity:1}}@keyframes _ngcontent-%COMP%_slide-in{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}"]})}}return w})(),cn=(()=>{class w{constructor(u,g,M,F,Q,le){this.menuService=u,this.smoothScrollService=g,this.podcastService=M,this.platformId=F,this.router=Q,this.ga=le,this.title="g99-payment",this.routeAnimating=!1,this.previousUrl="",this.isInitialLoad=!0,this.unhandledRejectionHandler=Ie=>{const He=Ie.reason;He&&He.message&&(He.message.includes("slick is not a function")||He.message.includes("this.$instance.slick"))&&(Ie.preventDefault(),console.warn("Slick carousel cleanup error (safe to ignore):",He.message))},this.router.events.subscribe(Ie=>{if(Ie instanceof ri.Z){if(this.isInitialLoad)return this.isInitialLoad=!1,void(this.previousUrl=this.router.url);const He=this.router.url;He!==this.previousUrl&&(this.routeAnimating=!0,this.previousUrl=He)}(Ie instanceof ri.j5||Ie instanceof ri.L6||Ie instanceof ri.wF)&&(this.routeAnimating=!1)})}onFadeAnimationStart(u){this.routeAnimating=!0}onFadeAnimationDone(u){this.routeAnimating=!1}ngOnInit(){this.menuService.loadMenuData(),(0,Wt.UE)(this.platformId)&&(this.ga.init(),this.ga.pageView(this.router.url),this.router.events.subscribe(u=>{u instanceof ri.wF&&this.ga.pageView(u.urlAfterRedirects||u.url)})),(0,Wt.UE)(this.platformId)&&(setTimeout(()=>{const u=document.querySelector("app-root");u&&u.classList.add("angular-initialized")},0),window.addEventListener("unhandledrejection",this.unhandledRejectionHandler))}ngOnDestroy(){(0,Wt.UE)(this.platformId)&&window.removeEventListener("unhandledrejection",this.unhandledRejectionHandler)}prepareRoute(u){return u&&u.isActivated&&u.activatedRoute&&u.activatedRoute.routeConfig?.path||"initial"}static{this.\u0275fac=function(g){return new(g||w)(l.rXU(li.$),l.rXU(Vo),l.rXU(Wi.s),l.rXU(l.Agw),l.rXU(ri.Ix),l.rXU(la))}}static{this.\u0275cmp=l.VBU({type:w,selectors:[["app-root"]],decls:8,vars:6,consts:[[1,"main-header"],[1,"main-content"],["outlet","outlet"],[3,"show","close"],[1,"main-footer"]],template:function(g,M){if(1&g&&(l.nrm(0,"app-loading-bar")(1,"app-header",0),l.j41(2,"div",1),l.bIt("@fadeAnimation.start",function(Q){return M.onFadeAnimationStart(Q)})("@fadeAnimation.done",function(Q){return M.onFadeAnimationDone(Q)}),l.nrm(3,"router-outlet",null,2),l.k0s(),l.j41(5,"app-popup-podcast",3),l.bIt("close",function(){return M.podcastService.closePopup()}),l.nI1(6,"async"),l.k0s(),l.nrm(7,"app-footer",4)),2&g){const F=l.sdS(4);l.R7$(2),l.AVh("carousel-transitioning",M.routeAnimating),l.Y8G("@fadeAnimation",M.prepareRoute(F)),l.R7$(3),l.Y8G("show",l.bMT(6,4,M.podcastService.showPopup$))}},dependencies:[ri.n3,Pa,Io,je,gt,Wt.Jj],styles:[":root{--main-color: #900d14;--text-color: #0a0a0a}.main-footer{display:block;background-color:#900d14;color:#fff}.carousel-transitioning ngx-slick-carousel{visibility:hidden!important;pointer-events:none!important}ngx-slick-carousel:not(.slick-initialized){display:flex;overflow:hidden;height:400px;opacity:0}
1.main-content{overflow:hidden;min-height:60vh;margin-top:100px}.main-content:has(.donate-section){overflow:visible}.main-content:has(.timeline-wrapper){overflow:visible}@media (max-width: 767px){.main-content{margin-top:86px}}@media (max-width: 991px){.main-content:has(.memorial),.main-content:has(.memorial-detail){margin-top:0!important}}@media (max-width: 640px){.main-content:has(.memorial),.main-content:has(.memorial-detail){margin-top:0!important}}@media (max-width: 991px){.main-content:has(.tusidongten-page){margin-top:70px!important}}@media (max-width: 486px){.main-content:has(.tusidongten-page){margin-top:80px!important}}\n"],encapsulation:2,data:{animation:[Ia]}})}}return w})(),ti=(()=>{class w{constructor(u){this.authenService=u}intercept(u,g){const M=this.authenService.currentUserValue,F=M?.token??M?.access_token,Q=!!F,le=u.url.startsWith(Yo.c.apiUrl),Ie=u.url.startsWith(Yo.c.socketUrl);if(le&&!Ie){let He={"X-API-Key":Yo.c.apiKey};Q&&(He.Authorization=`Bearer ${F}`),u=u.clone({setHeaders:He})}return g.handle(u)}static{this.\u0275fac=function(g){return new(g||w)(l.KVO(Ts.$))}}static{this.\u0275prov=l.jDH({token:w,factory:w.\u0275fac})}}return w})();var Mn=T(3887),Dr=T(3732);let ts=(()=>{class w{static{this.\u0275fac=function(g){return new(g||w)}}static{this.\u0275mod=l.$C({type:w})}static{this.\u0275inj=l.G2t({imports:[Wt.MD,ri.iI,Cs.UN,ro.YN,ro.X1,Us._B.forRoot(),Mn.G,Dr.A]})}}return w})();function ns(){if(typeof window>"u")return;const w=()=>{try{if(typeof window.jQuery<"u"){const f=window.jQuery;if(f.fn&&!f.fn.slick&&(f.fn.slick=function(u){return this},f.fn.unslick=function(u){return this}),f.fn&&f.fn.slick&&"function"==typeof f.fn.slick&&!f.fn._slickCarouselPatched){const u=f.fn.slick,g=f.fn.unslick,M=F=>{if(!F)return!1;try{const Q=f(F);return Q.hasClass("slick-initialized")||void 0!==Q.data("slick")||null!==Q.data("slick")}catch{return!1}};f.fn.slick=function(F){try{return u&&"function"==typeof u?u.call(this,F):this}catch{return this}},f.fn.unslick=function(F){try{if(!this||0===this.length)return this;let Q=!1;for(let le=0;le<this.length;le++)if(M(this[le])){Q=!0;break}if(Q&&g&&"function"==typeof g)return g.call(this,F)}catch{}return this},f.fn.slickReinit=function(){try{if(!this||0===this.length)return this;for(let F=0;F<this.length;F++){const Q=f(this[F]);if(M(this[F])&&Q.slick&&"function"==typeof Q.slick)try{Q.slick("refresh")}catch{try{Q.slick("reinit")}catch{}}}}catch{}return this},f.fn._slickCarouselPatched=!0}}}catch{}};w(),setTimeout(w,50),setTimeout(w,200),setTimeout(w,500),setTimeout(w,1e3),typeof document<"u"&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>{setTimeout(w,100),setTimeout(w,500)}):(setTimeout(w,100),setTimeout(w,500)))}function is(w){return()=>new Promise(f=>{(0,Wt.UE)(w)?(ns(),setTimeout(()=>{f()},100)):f()})}let rs=(()=>{class w{static{this.\u0275fac=function(g){return new(g||w)}}static{this.\u0275mod=l.$C({type:w,bootstrap:[cn]})}static{this.\u0275inj=l.G2t({providers:[{provide:Y.a7,useClass:ti,multi:!0},{provide:l.hnV,useFactory:is,deps:[l.Agw],multi:!0}],imports:[Y.q1,i.Bb.withServerTransition({appId:"serverApp"}),zr,Cs.UN,ts,Mn.G,ol,Us._B.forRoot(),Dr.A]})}}return w})();ns(),i.sG().bootstrapModule(rs).catch(w=>console.error(w))},4412:(st,Oe,T)=>{T.d(Oe,{t:()=>Y});var i=T(1413);class Y extends i.B{constructor(W){super(),this._value=W}get value(){return this.getValue()}_subscribe(W){const te=super._subscribe(W);return!te.closed&&W.next(this._value),te}getValue(){const{hasError:W,thrownError:te,_value:ce}=this;if(W)throw te;return this._throwIfClosed(),ce}next(W){super.next(this._value=W)}}},1985:(st,Oe,T)=>{T.d(Oe,{c:()=>he});var i=T(7707),Y=T(8359),l=T(3494),W=T(1203),te=T(1026),ce=T(8071),me=T(9786);let he=(()=>{class J{constructor(X){X&&(this._subscribe=X)}lift(X){const be=new J;return be.source=this,be.operator=X,be}subscribe(X,be,_e){const Le=function z(J){return J&&J instanceof i.vU||function ie(J){return J&&(0,ce.T)(J.next)&&(0,ce.T)(J.error)&&(0,ce.T)(J.complete)}(J)&&(0,Y.Uv)(J)}(X)?X:new i.Ms(X,be,_e);return(0,me.Y)(()=>{const{operator:tt,source:Et}=this;Le.add(tt?tt.call(Le,Et):Et?this._subscribe(Le):this._trySubscribe(Le))}),Le}_trySubscribe(X){try{return this._subscribe(X)}catch(be){X.error(be)}}forEach(X,be){return new(be=ae(be))((_e,Le)=>{const tt=new i.Ms({next:Et=>{try{X(Et)}catch(rt){Le(rt),tt.unsubscribe()}},error:Le,complete:_e});this.subscribe(tt)})}_subscribe(X){var be;return null===(be=this.source)||void 0===be?void 0:be.subscribe(X)}[l.s](){return this}pipe(...X){return(0,W.m)(X)(this)}toPromise(X){return new(X=ae(X))((be,_e)=>{let Le;this.subscribe(tt=>Le=tt,tt=>
vendor: 4,905 bytes, line 1
1_e(tt),()=>be(Le))})}}return J.create=K=>new J(K),J})();function ae(J){var K;return null!==(K=J??te.$.Promise)&&void 0!==K?K:Promise}},2771:(st,Oe,T)=>{T.d(Oe,{m:()=>l});var i=T(1413),Y=T(6129);class l extends i.B{constructor(te=1/0,ce=1/0,me=Y.U){super(),this._bufferSize=te,this._windowTime=ce,this._timestampProvider=me,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=ce===1/0,this._bufferSize=Math.max(1,te),this._windowTime=Math.max(1,ce)}next(te){const{isStopped:ce,_buffer:me,_infiniteTimeWindow:he,_timestampProvider:ae,_windowTime:ie}=this;ce||(me.push(te),!he&&me.push(ae.now()+ie)),this._trimBuffer(),super.next(te)}_subscribe(te){this._throwIfClosed(),this._trimBuffer();const ce=this._innerSubscribe(te),{_infiniteTimeWindow:me,_buffer:he}=this,ae=he.slice();for(let ie=0;ie<ae.length&&!te.closed;ie+=me?1:2)te.next(ae[ie]);return this._checkFinalizedStatuses(te),ce}_trimBuffer(){const{_bufferSize:te,_timestampProvider:ce,_buffer:me,_infiniteTimeWindow:he}=this,ae=(he?1:2)*te;if(te<1/0&&ae<me.length&&me.splice(0,me.length-ae),!he){const ie=ce.now();let z=0;for(let J=1;J<me.length&&me[J]<=ie;J+=2)z=J;z&&me.splice(0,z+1)}}}},1413:(st,Oe,T)=>{T.d(Oe,{B:()=>me});var i=T(1985),Y=T(8359);const W=(0,T(1853).L)(ae=>function(){ae(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=T(7908),ce=T(9786);let me=(()=>{class ae extends i.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(z){const J=new he(this,this);return J.operator=z,J}_throwIfClosed(){if(this.closed)throw new W}next(z){(0,ce.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const J of this.currentObservers)J.next(z)}})}error(z){(0,ce.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=z;const{observers:J}=this;for(;J.length;)J.shift().error(z)}})}complete(){(0,ce.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:z}=this;for(;z.length;)z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var z;return(null===(z=this.observers)||void 0===z?void 0:z.length)>0}_trySubscribe(z){return this._throwIfClosed(),super._trySubscribe(z)}_subscribe(z){return this._throwIfClosed(),this._checkFinalizedStatuses(z),this._innerSubscribe(z)}_innerSubscribe(z){const{hasError:J,isStopped:K,observers:X}=this;return J||K?Y.Kn:(this.currentObservers=null,X.push(z),new Y.yU(()=>{this.currentObservers=null,(0,te.o)(X,z)}))}_checkFinalizedStatuses(z){const{hasError:J,thrownError:K,isStopped:X}=this;J?z.error(K):X&&z.complete()}asObservable(){const z=new i.c;return z.source=this,z}}return ae.create=(ie,z)=>new he(ie,z),ae})();class he extends me{constructor(ie,z){super(),this.destination=ie,this.source=z}next(ie){var z,J;null===(J=null===(z=this.destination)||void 0===z?void 0:z.next)||void 0===J||J.call(z,ie)}error(ie){var z,J;null===(J=null===(z=this.destination)||void 0===z?void 0:z.error)||void 0===J||J.call(z,ie)}complete(){var ie,z;null===(z=null===(ie=this.destination)||void 0===ie?void 0:ie.complete)||void 0===z||z.call(ie)}_subscribe(ie){var z,J;return null!==(J=null===(z=this.source)||void 0===z?void 0:z.subscribe(ie))&&void 0!==J?J:Y.Kn}}},7707:(st,Oe,T)=>{T.d(Oe,{Ms:()=>_e,vU:()=>J});var i=T(8071),Y=T(8359),l=T(1026),W=T(5334),te=T(5343);const ce=ae("C",void 0,void 0);function ae(oe,Ce,Pe){return{kind:oe,value:Ce,error:Pe}}var ie=T(9270),z=T(9786);class J extends Y.yU{constructor(Ce){super(),this.isStopped=!1,Ce?(this.destination=Ce,(0,Y.Uv)(Ce)&&Ce.add(this)):this.destination=rt}static create(Ce,Pe,We){return new _e(Ce,Pe,We)}next(Ce){this.isStopped?Et(function he(oe){return ae("N",oe,void 0)}(Ce),this):this._next(Ce)}error(Ce){this.isStopped?Et(function me(oe){return ae("E",void 0,oe)}(Ce),this):(this.isStopped=!0,this._error(Ce))}complete(){this.isStopped?Et(ce,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 K=Function.prototype.bind;function X(oe,Ce){return K.call(oe,Ce)}class be{constructor(Ce){this.partialObserver=Ce}next(Ce){const{partialObserver:Pe}=this;if(Pe.next)try{Pe.next(Ce)}catch(We){Le(We)}}error(Ce){const{partialObserver:Pe}=this;if(Pe.error)try{Pe.error(Ce)}catch(We){Le(We)}else Le(Ce)}complete(){const{partialObserver:Ce}=this;if(Ce.complete)try{Ce.complete()}catch(Pe){Le(Pe)}}}class _e extends J{constructor(Ce,Pe,We){let et;if(super(),(0,i.T)(Ce)||!Ce)et={next:Ce??void 0,error:Pe??void 0,complete:We??void 0};else{let Xe;
1this&&l.$.useDeprecatedNextContext?(Xe=Object.create(Ce),Xe.unsubscribe=()=>this.unsubscribe(),et={next:Ce.next&&X(Ce.next,Xe),error:Ce.error&&X(Ce.error,Xe),complete:Ce.complete&&X(Ce.complete,Xe)}):et=Ce}this.destination=new be(et)}}function Le(oe){l.$.useDeprecatedSynchronousErrorHandling?(0,z.l)(oe):(0,W.m)(oe)}function Et(oe,Ce){const{onStoppedNotification:Pe}=l.$;Pe&&ie.f.setTimeout(()=>Pe(oe,Ce))}const rt={closed:!0,next:te.l,error:function tt(oe){throw oe},complete:te.l}},8359:(st,Oe,T)=>{T.d(Oe,{Kn:()=>ce,yU:()=>te,Uv:()=>me});var i=T(8071);const l=(0,T(1853).L)(ae=>function(z){ae(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((J,K)=>`${K+1}) ${J.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=z});var W=T(7908);class te{constructor(ie){this.initialTeardown=ie,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ie;if(!this.closed){this.closed=!0;const{_parentage:z}=this;if(z)if(this._parentage=null,Array.isArray(z))for(const X of z)X.remove(this);else z.remove(this);const{initialTeardown:J}=this;if((0,i.T)(J))try{J()}catch(X){ie=X instanceof l?X.errors:[X]}const{_finalizers:K}=this;if(K){this._finalizers=null;for(const X of K)try{he(X)}catch(be){ie=ie??[],be instanceof l?ie=[...ie,...be.errors]:ie.push(be)}}if(ie)throw new l(ie)}}add(ie){var z;if(ie&&ie!==this)if(this.closed)he(ie);else{if(ie instanceof te){if(ie.closed||ie._hasParent(this))return;ie._addParent(this)}(this._finalizers=null!==(z=this._finalizers)&&void 0!==z?z:[]).push(ie)}}_hasParent(ie){const{_parentage:z}=this;return z===ie||Array.isArray(z)&&z.includes(ie)}_addParent(ie){const{_parentage:z}=this;this._parentage=Array.isArray(z)?(z.push(ie),z):z?[z,ie]:ie}_removeParent(ie){const{_parentage:z}=this;z===ie?this._parentage=null:Array.isArray(z)&&(0,W.o)(z,ie)}remove(ie){const{_finalizers:z}=this;z&&(0,W.o)(z,ie),ie instanceof te&&ie._removeParent(this)}}te.EMPTY=(()=>{const ae=new te;return ae.closed=!0,ae})();const ce=te.EMPTY;function me(ae){return ae instanceof te||ae&&"closed"in ae&&(0,i.T)(ae.remove)&&(0,i.T)(ae.add)&&(0,i.T)(ae.unsubscribe)}function he(ae){(0,i.T)(ae)?ae():ae.unsubscribe()}},1026:(st,Oe,T)=>{T.d(Oe,{$:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4572:(st,Oe,T)=>{T.d(Oe,{z:()=>ie});var i=T(1985),Y=T(3073),l=T(6648),W=T(3669),te=T(6450),ce=T(9326),me=T(8496),he=T(4360),ae=T(5225);function ie(...K){const X=(0,ce.lI)(K),be=(0,ce.ms)(K),{args:_e,keys:Le}=(0,Y.D)(K);if(0===_e.length)return(0,l.H)([],X);const tt=new i.c(function z(K,X,be=W.D){return _e=>{J(X,()=>{const{length:Le}=K,tt=new Array(Le);let Et=Le,rt=Le;for(let oe=0;oe<Le;oe++)J(X,()=>{const Ce=(0,l.H)(K[oe],X);let Pe=!1;Ce.subscribe((0,he._)(_e,We=>{tt[oe]=We,Pe||(Pe=!0,rt--),rt||_e.next(be(tt.slice()))},()=>{--Et||_e.complete()}))},_e)},_e)}}(_e,X,Le?Et=>(0,me.e)(Le,Et):W.D));return be?tt.pipe((0,te.I)(be)):tt}function J(K,X,be){K?(0,ae.N)(be,K,X):X()}},8793:(st,Oe,T)=>{T.d(Oe,{x:()=>te});var i=T(6365),l=T(9326),W=T(6648);function te(...ce){return function Y(){return(0,i.U)(1)}()((0,W.H)(ce,(0,l.lI)(ce)))}},983:(st,Oe,T)=>{T.d(Oe,{w:()=>Y});const Y=new(T(1985).c)(te=>te.complete())},7468:(st,Oe,T)=>{T.d(Oe,{p:()=>he});var i=T(1985),Y=T(3073),l=T(8750),W=T(9326),te=T(4360),ce=T(6450),me=T(8496);function he(...ae){const ie=(0,W.ms)(ae),{args:z,keys:J}=(0,Y.D)(ae),K=new i.c(X=>{const{length:be}=z;if(!be)return void X.complete();const _e=new Array(be);let Le=be,tt=be;for(let Et=0;Et<be;Et++){let rt=!1;(0,l.Tg)(z[Et]).subscribe((0,te._)(X,oe=>{rt||(rt=!0,tt--),_e[Et]=oe},()=>Le--,void 0,()=>{(!Le||!rt)&&(tt||X.next(J?(0,me.e)(J,_e):_e),X.complete())}))}});return ie?K.pipe((0,ce.I)(ie)):K}},6648:(st,Oe,T)=>{T.d(Oe,{H:()=>We});var i=T(8750),Y=T(5225),l=T(9974),W=T(4360);function te(et,Xe=0){return(0,l.N)((bt,Mt)=>{bt.subscribe((0,W._)(Mt,Qt=>(0,Y.N)(Mt,et,()=>Mt.next(Qt),Xe),()=>(0,Y.N)(Mt,et,()=>Mt.complete(),Xe),Qt=>(0,Y.N)(Mt,et,()=>Mt.error(Qt),Xe)))})}
1function ce(et,Xe=0){return(0,l.N)((bt,Mt)=>{Mt.add(et.schedule(()=>bt.subscribe(Mt),Xe))})}var ae=T(1985),z=T(4761),J=T(8071);function X(et,Xe){if(!et)throw new Error("Iterable cannot be null");return new ae.c(bt=>{(0,Y.N)(bt,Xe,()=>{const Mt=et[Symbol.asyncIterator]();(0,Y.N)(bt,Xe,()=>{Mt.next().then(Qt=>{Qt.done?bt.complete():bt.next(Qt.value)})},0,!0)})})}var be=T(5055),_e=T(9858),Le=T(7441),tt=T(5397),Et=T(7953),rt=T(591),oe=T(5196);function We(et,Xe){return Xe?function Pe(et,Xe){if(null!=et){if((0,be.l)(et))return function me(et,Xe){return(0,i.Tg)(et).pipe(ce(Xe),te(Xe))}(et,Xe);if((0,Le.X)(et))return function ie(et,Xe){return new ae.c(bt=>{let Mt=0;return Xe.schedule(function(){Mt===et.length?bt.complete():(bt.next(et[Mt++]),bt.closed||this.schedule())})})}(et,Xe);if((0,_e.y)(et))return function he(et,Xe){return(0,i.Tg)(et).pipe(ce(Xe),te(Xe))}(et,Xe);if((0,Et.T)(et))return X(et,Xe);if((0,tt.x)(et))return function K(et,Xe){return new ae.c(bt=>{let Mt;return(0,Y.N)(bt,Xe,()=>{Mt=et[z.l](),(0,Y.N)(bt,Xe,()=>{let Qt,an;try{({value:Qt,done:an}=Mt.next())}catch(ln){return void bt.error(ln)}an?bt.complete():bt.next(Qt)},0,!0)}),()=>(0,J.T)(Mt?.return)&&Mt.return()})}(et,Xe);if((0,oe.U)(et))return function Ce(et,Xe){return X((0,oe.C)(et),Xe)}(et,Xe)}throw(0,rt.L)(et)}(et,Xe):(0,i.Tg)(et)}},3726:(st,Oe,T)=>{T.d(Oe,{R:()=>ie});var i=T(8750),Y=T(1985),l=T(1397),W=T(7441),te=T(8071),ce=T(6450);const me=["addListener","removeListener"],he=["addEventListener","removeEventListener"],ae=["on","off"];function ie(be,_e,Le,tt){if((0,te.T)(Le)&&(tt=Le,Le=void 0),tt)return ie(be,_e,Le).pipe((0,ce.I)(tt));const[Et,rt]=function X(be){return(0,te.T)(be.addEventListener)&&(0,te.T)(be.removeEventListener)}(be)?he.map(oe=>Ce=>be[oe](_e,Ce,Le)):function J(be){return(0,te.T)(be.addListener)&&(0,te.T)(be.removeListener)}(be)?me.map(z(be,_e)):function K(be){return(0,te.T)(be.on)&&(0,te.T)(be.off)}(be)?ae.map(z(be,_e)):[];if(!Et&&(0,W.X)(be))return(0,l.Z)(oe=>ie(oe,_e,Le))((0,i.Tg)(be));if(!Et)throw new TypeError("Invalid event target");return new Y.c(oe=>{const Ce=(...Pe)=>oe.next(1<Pe.length?Pe:Pe[0]);return Et(Ce),()=>rt(Ce)})}function z(be,_e){return Le=>tt=>be[Le](_e,tt)}},8750:(st,Oe,T)=>{T.d(Oe,{Tg:()=>K});var i=T(1635),Y=T(7441),l=T(9858),W=T(1985),te=T(5055),ce=T(7953),me=T(591),he=T(5397),ae=T(5196),ie=T(8071),z=T(5334),J=T(3494);function K(oe){if(oe instanceof W.c)return oe;if(null!=oe){if((0,te.l)(oe))return function X(oe){return new W.c(Ce=>{const Pe=oe[J.s]();if((0,ie.T)(Pe.subscribe))return Pe.subscribe(Ce);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(oe);if((0,Y.X)(oe))return function be(oe){return new W.c(Ce=>{for(let Pe=0;Pe<oe.length&&!Ce.closed;Pe++)Ce.next(oe[Pe]);Ce.complete()})}(oe);if((0,l.y)(oe))return function _e(oe){return new W.c(Ce=>{oe.then(Pe=>{Ce.closed||(Ce.next(Pe),Ce.complete())},Pe=>Ce.error(Pe)).then(null,z.m)})}(oe);if((0,ce.T)(oe))return tt(oe);if((0,he.x)(oe))return function Le(oe){return new W.c(Ce=>{for(const Pe of oe)if(Ce.next(Pe),Ce.closed)return;Ce.complete()})}(oe);if((0,ae.U)(oe))return function Et(oe){return tt((0,ae.C)(oe))}(oe)}throw(0,me.L)(oe)}function tt(oe){return new W.c(Ce=>{(function rt(oe,Ce){var Pe,We,et,Xe;return(0,i.sH)(this,void 0,void 0,function*(){try{for(Pe=(0,i.xN)(oe);!(We=yield Pe.next()).done;)if(Ce.next(We.value),Ce.closed)return}catch(bt){et={error:bt}}finally{try{We&&!We.done&&(Xe=Pe.return)&&(yield Xe.call(Pe))}finally{if(et)throw et.error}}Ce.complete()})})(oe,Ce).catch(Pe=>Ce.error(Pe))})}},7786:(st,Oe,T)=>{T.d(Oe,{h:()=>ce});var i=T(6365),Y=T(8750),l=T(983),W=T(9326),te=T(6648);function ce(...me){const he=(0,W.lI)(me),ae=(0,W.R0)(me,1/0),ie=me;return ie.length?1===ie.length?(0,Y.Tg)(ie[0]):(0,i.U)(ae)((0,te.H)(ie,he)):l.w}},7673:(st,Oe,T)=>{T.d(Oe,{of:()=>l});var i=T(9326),Y=T(6648);function l(...W){const te=(0,i.lI)(W);return(0,Y.H)(W,te)}},8810:(st,Oe,T)=>{T.d(Oe,{$:()=>l});var i=T(1985),Y=T(8071);function l(W,te){const ce=(0,Y.T)(W)?W:()=>W,me=he=>he.error(ce());return new i.c(te?he=>te.schedule(me,0,he):me)}},1584:(st,Oe,T)=>{T.d(Oe,{O:()=>te});var i=T(1985),Y=T(8839),l=T(9470);function te(ce=0,me,he=Y.b){let ae=-1;return null!=me&&((0,l.m)(me)?he=me:ae=me),new i.c(ie=>{let z=function W(ce){return ce instanceof Date&&!isNaN(ce)}(ce)?+ce-he.now():ce;z<0&&(z=0);let J=0;
1return he.schedule(function(){ie.closed||(ie.next(J++),0<=ae?this.schedule(void 0,ae):ie.complete())},z)})}},4360:(st,Oe,T)=>{T.d(Oe,{_:()=>Y});var i=T(7707);function Y(W,te,ce,me,he){return new l(W,te,ce,me,he)}class l extends i.vU{constructor(te,ce,me,he,ae,ie){super(te),this.onFinalize=ae,this.shouldUnsubscribe=ie,this._next=ce?function(z){try{ce(z)}catch(J){te.error(J)}}:super._next,this._error=he?function(z){try{he(z)}catch(J){te.error(J)}finally{this.unsubscribe()}}:super._error,this._complete=me?function(){try{me()}catch(z){te.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var te;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ce}=this;super.unsubscribe(),!ce&&(null===(te=this.onFinalize)||void 0===te||te.call(this))}}}},9437:(st,Oe,T)=>{T.d(Oe,{W:()=>W});var i=T(8750),Y=T(4360),l=T(9974);function W(te){return(0,l.N)((ce,me)=>{let ie,he=null,ae=!1;he=ce.subscribe((0,Y._)(me,void 0,void 0,z=>{ie=(0,i.Tg)(te(z,W(te)(ce))),he?(he.unsubscribe(),he=null,ie.subscribe(me)):ae=!0})),ae&&(he.unsubscribe(),he=null,ie.subscribe(me))})}},274:(st,Oe,T)=>{T.d(Oe,{H:()=>l});var i=T(1397),Y=T(8071);function l(W,te){return(0,Y.T)(te)?(0,i.Z)(W,te,1):(0,i.Z)(W,1)}},152:(st,Oe,T)=>{T.d(Oe,{B:()=>W});var i=T(8839),Y=T(9974),l=T(4360);function W(te,ce=i.E){return(0,Y.N)((me,he)=>{let ae=null,ie=null,z=null;const J=()=>{if(ae){ae.unsubscribe(),ae=null;const X=ie;ie=null,he.next(X)}};function K(){const X=z+te,be=ce.now();if(be<X)return ae=this.schedule(void 0,X-be),void he.add(ae);J()}me.subscribe((0,l._)(he,X=>{ie=X,z=ce.now(),ae||(ae=ce.schedule(K,te),he.add(ae))},()=>{J(),he.complete()},void 0,()=>{ie=ae=null}))})}},9901:(st,Oe,T)=>{T.d(Oe,{U:()=>l});var i=T(9974),Y=T(4360);function l(W){return(0,i.N)((te,ce)=>{let me=!1;te.subscribe((0,Y._)(ce,he=>{me=!0,ce.next(he)},()=>{me||ce.next(W),ce.complete()}))})}},3294:(st,Oe,T)=>{T.d(Oe,{F:()=>W});var i=T(3669),Y=T(9974),l=T(4360);function W(ce,me=i.D){return ce=ce??te,(0,Y.N)((he,ae)=>{let ie,z=!0;he.subscribe((0,l._)(ae,J=>{const K=me(J);(z||!ce(ie,K))&&(z=!1,ie=K,ae.next(J))}))})}function te(ce,me){return ce===me}},5964:(st,Oe,T)=>{T.d(Oe,{p:()=>l});var i=T(9974),Y=T(4360);function l(W,te){return(0,i.N)((ce,me)=>{let he=0;ce.subscribe((0,Y._)(me,ae=>W.call(te,ae,he++)&&me.next(ae)))})}},980:(st,Oe,T)=>{T.d(Oe,{j:()=>Y});var i=T(9974);function Y(l){return(0,i.N)((W,te)=>{try{W.subscribe(te)}finally{te.add(l)}})}},1594:(st,Oe,T)=>{T.d(Oe,{$:()=>me});var i=T(9350),Y=T(5964),l=T(6697),W=T(9901),te=T(3774),ce=T(3669);function me(he,ae){const ie=arguments.length>=2;return z=>z.pipe(he?(0,Y.p)((J,K)=>he(J,K,z)):ce.D,(0,l.s)(1),ie?(0,W.U)(ae):(0,te.v)(()=>new i.G))}},6354:(st,Oe,T)=>{T.d(Oe,{T:()=>l});var i=T(9974),Y=T(4360);function l(W,te){return(0,i.N)((ce,me)=>{let he=0;ce.subscribe((0,Y._)(me,ae=>{me.next(W.call(te,ae,he++))}))})}},3703:(st,Oe,T)=>{T.d(Oe,{u:()=>Y});var i=T(6354);function Y(l){return(0,i.T)(()=>l)}},6365:(st,Oe,T)=>{T.d(Oe,{U:()=>l});var i=T(1397),Y=T(3669);function l(W=1/0){return(0,i.Z)(Y.D,W)}},1397:(st,Oe,T)=>{T.d(Oe,{Z:()=>he});var i=T(6354),Y=T(8750),l=T(9974),W=T(5225),te=T(4360),me=T(8071);function he(ae,ie,z=1/0){return(0,me.T)(ie)?he((J,K)=>(0,i.T)((X,be)=>ie(J,X,K,be))((0,Y.Tg)(ae(J,K))),z):("number"==typeof ie&&(z=ie),(0,l.N)((J,K)=>function ce(ae,ie,z,J,K,X,be,_e){const Le=[];let tt=0,Et=0,rt=!1;const oe=()=>{rt&&!Le.length&&!tt&&ie.complete()},Ce=We=>tt<J?Pe(We):Le.push(We),Pe=We=>{X&&ie.next(We),tt++;let et=!1;(0,Y.Tg)(z(We,Et++)).subscribe((0,te._)(ie,Xe=>{K?.(Xe),X?Ce(Xe):ie.next(Xe)},()=>{et=!0},void 0,()=>{if(et)try{for(tt--;Le.length&&tt<J;){const Xe=Le.shift();be?(0,W.N)(ie,be,()=>Pe(Xe)):Pe(Xe)}oe()}catch(Xe){ie.error(Xe)}}))};return ae.subscribe((0,te._)(ie,Ce,()=>{rt=!0,oe()})),()=>{_e?.()}}(J,K,ae,z)))}},7647:(st,Oe,T)=>{T.d(Oe,{u:()=>te});var i=T(8750),Y=T(1413),l=T(7707),W=T(9974);function te(me={}){const{connector:he=(()=>new Y.B),resetOnError:ae=!0,resetOnComplete:ie=!0,resetOnRefCountZero:z=!0}=me;return J=>{let K,X,be,_e=0,Le=!1,tt=!1;const Et=()=>{X?.unsubscribe(),X=void 0},rt=()=>{Et(),K=be=void 0,Le=tt=!1},oe=()=>{const Ce=K;rt(),Ce?.unsubscribe()};return(0,W.N)((Ce,Pe)=>{_e++,!tt&&!Le&&Et();const We=be=be??he();Pe.add(()=>{_e--,0===_e&&!tt&&!Le&&(X=ce(oe,z))}),We.subscribe(Pe),!K&&_e>0&&(K=new l.Ms({next:et=>We.next(et),error:et=>{tt=!0,Et(),X=ce(rt,ae,et),We.error(et)},complete:()=>{Le=!0,Et(),X=ce(rt,ie),We.complete()}}),(0,i.Tg)(Ce).subscribe(K))})(J)}}function ce(me,he,...ae){if(!0===he)return void me();if(!1===he)return;const ie=new l.Ms({next:()=>{ie.unsubscribe(),me()}});return(0,i.Tg)(he(...ae)).subscribe(ie)}},4668:(st,Oe,T)=>{T.d(Oe,{t:()=>l});var i=T(2771),Y=T(7647);function l(W,te,ce){let me,he=!1;return W&&"object"==typeof W?({bufferSize:me=1/0,windowTime:te=1/0,refCount:he=!1,scheduler:ce}=W):me=W??1/0,(0,Y.u)({connector:()=>new i.m(me,te,ce),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:he})}},5245:(st,Oe,T)=>{T.d(Oe,{i:()=>Y});var i=T(5964);function Y(l){return(0,i.p)((W,te)=>l<=te)}},9172:(st,Oe,T)=>{T.d(Oe,{Z:()=>W});var i=T(8793),Y=T(9326),l=T(9974);function W(...te){const ce=(0,Y.lI)(te);
1return(0,l.N)((me,he)=>{(ce?(0,i.x)(te,me,ce):(0,i.x)(te,me)).subscribe(he)})}},5558:(st,Oe,T)=>{T.d(Oe,{n:()=>W});var i=T(8750),Y=T(9974),l=T(4360);function W(te,ce){return(0,Y.N)((me,he)=>{let ae=null,ie=0,z=!1;const J=()=>z&&!ae&&he.complete();me.subscribe((0,l._)(he,K=>{ae?.unsubscribe();let X=0;const be=ie++;(0,i.Tg)(te(K,be)).subscribe(ae=(0,l._)(he,_e=>he.next(ce?ce(K,_e,be,X++):_e),()=>{ae=null,J()}))},()=>{z=!0,J()}))})}},6697:(st,Oe,T)=>{T.d(Oe,{s:()=>W});var i=T(983),Y=T(9974),l=T(4360);function W(te){return te<=0?()=>i.w:(0,Y.N)((ce,me)=>{let he=0;ce.subscribe((0,l._)(me,ae=>{++he<=te&&(me.next(ae),te<=he&&me.complete())}))})}},6977:(st,Oe,T)=>{T.d(Oe,{Q:()=>te});var i=T(9974),Y=T(4360),l=T(8750),W=T(5343);function te(ce){return(0,i.N)((me,he)=>{(0,l.Tg)(ce).subscribe((0,Y._)(he,()=>he.complete(),W.l)),!he.closed&&me.subscribe(he)})}},8141:(st,Oe,T)=>{T.d(Oe,{M:()=>te});var i=T(8071),Y=T(9974),l=T(4360),W=T(3669);function te(ce,me,he){const ae=(0,i.T)(ce)||me||he?{next:ce,error:me,complete:he}:ce;return ae?(0,Y.N)((ie,z)=>{var J;null===(J=ae.subscribe)||void 0===J||J.call(ae);let K=!0;ie.subscribe((0,l._)(z,X=>{var be;null===(be=ae.next)||void 0===be||be.call(ae,X),z.next(X)},()=>{var X;K=!1,null===(X=ae.complete)||void 0===X||X.call(ae),z.complete()},X=>{var be;K=!1,null===(be=ae.error)||void 0===be||be.call(ae,X),z.error(X)},()=>{var X,be;K&&(null===(X=ae.unsubscribe)||void 0===X||X.call(ae)),null===(be=ae.finalize)||void 0===be||be.call(ae)}))}):W.D}},3774:(st,Oe,T)=>{T.d(Oe,{v:()=>W});var i=T(9350),Y=T(9974),l=T(4360);function W(ce=te){return(0,Y.N)((me,he)=>{let ae=!1;me.subscribe((0,l._)(he,ie=>{ae=!0,he.next(ie)},()=>ae?he.complete():he.error(ce())))})}function te(){return new i.G}},8839:(st,Oe,T)=>{T.d(Oe,{b:()=>ie,E:()=>ae});var i=T(8359);class Y extends i.yU{constructor(J,K){super()}schedule(J,K=0){return this}}const l={setInterval(z,J,...K){const{delegate:X}=l;return X?.setInterval?X.setInterval(z,J,...K):setInterval(z,J,...K)},clearInterval(z){const{delegate:J}=l;return(J?.clearInterval||clearInterval)(z)},delegate:void 0};var W=T(7908),ce=T(6129);class me{constructor(J,K=me.now){this.schedulerActionCtor=J,this.now=K}schedule(J,K=0,X){return new this.schedulerActionCtor(this,J).schedule(X,K)}}me.now=ce.U.now;const ae=new class he extends me{constructor(J,K=me.now){super(J,K),this.actions=[],this._active=!1}flush(J){const{actions:K}=this;if(this._active)return void K.push(J);let X;this._active=!0;do{if(X=J.execute(J.state,J.delay))break}while(J=K.shift());if(this._active=!1,X){for(;J=K.shift();)J.unsubscribe();throw X}}}(class te extends Y{constructor(J,K){super(J,K),this.scheduler=J,this.work=K,this.pending=!1}schedule(J,K=0){var X;if(this.closed)return this;this.state=J;const be=this.id,_e=this.scheduler;return null!=be&&(this.id=this.recycleAsyncId(_e,be,K)),this.pending=!0,this.delay=K,this.id=null!==(X=this.id)&&void 0!==X?X:this.requestAsyncId(_e,this.id,K),this}requestAsyncId(J,K,X=0){return l.setInterval(J.flush.bind(J,this),X)}recycleAsyncId(J,K,X=0){if(null!=X&&this.delay===X&&!1===this.pending)return K;null!=K&&l.clearInterval(K)}execute(J,K){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const X=this._execute(J,K);if(X)return X;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(J,K){let be,X=!1;try{this.work(J)}catch(_e){X=!0,be=_e||new Error("Scheduled action threw falsy error")}if(X)return this.unsubscribe(),be}unsubscribe(){if(!this.closed){const{id:J,scheduler:K}=this,{actions:X}=K;this.work=this.state=this.scheduler=null,this.pending=!1,(0,W.o)(X,this),null!=J&&(this.id=this.recycleAsyncId(K,J,null)),this.delay=null,super.unsubscribe()}}}),ie=ae},6129:(st,Oe,T)=>{T.d(Oe,{U:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},9270:(st,Oe,T)=>{T.d(Oe,{f:()=>i});const i={setTimeout(Y,l,...W){const{delegate:te}=i;return te?.setTimeout?te.setTimeout(Y,l,...W):setTimeout(Y,l,...W)},clearTimeout(Y){const{delegate:l}=i;return(l?.clearTimeout||clearTimeout)(Y)},delegate:void 0}},4761:(st,Oe,T)=>{T.d(Oe,{l:()=>Y});const Y=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(st,Oe,T)=>{T.d(Oe,{s:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(st,Oe,T)=>{T.d(Oe,{G:()=>Y});const Y=(0,T(1853).L)(l=>function(){l(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(st,Oe,T)=>{T.d(Oe,{R0:()=>ce,lI:()=>te,ms:()=>W});var i=T(8071),Y=T(9470);function l(me){return me[me.length-1]}function W(me){return(0,i.T)(l(me))?me.pop():void 0}function te(me){return(0,Y.m)(l(me))?me.pop():void 0}function ce(me,he){return"number"==typeof l(me)?me.pop():he}},3073:(st,Oe,T)=>{T.d(Oe,{D:()=>te});const{isArray:i}
1=Array,{getPrototypeOf:Y,prototype:l,keys:W}=Object;function te(me){if(1===me.length){const he=me[0];if(i(he))return{args:he,keys:null};if(function ce(me){return me&&"object"==typeof me&&Y(me)===l}(he)){const ae=W(he);return{args:ae.map(ie=>he[ie]),keys:ae}}}return{args:me,keys:null}}},7908:(st,Oe,T)=>{function i(Y,l){if(Y){const W=Y.indexOf(l);0<=W&&Y.splice(W,1)}}T.d(Oe,{o:()=>i})},1853:(st,Oe,T)=>{function i(Y){const W=Y(te=>{Error.call(te),te.stack=(new Error).stack});return W.prototype=Object.create(Error.prototype),W.prototype.constructor=W,W}T.d(Oe,{L:()=>i})},8496:(st,Oe,T)=>{function i(Y,l){return Y.reduce((W,te,ce)=>(W[te]=l[ce],W),{})}T.d(Oe,{e:()=>i})},9786:(st,Oe,T)=>{T.d(Oe,{Y:()=>l,l:()=>W});var i=T(1026);let Y=null;function l(te){if(i.$.useDeprecatedSynchronousErrorHandling){const ce=!Y;if(ce&&(Y={errorThrown:!1,error:null}),te(),ce){const{errorThrown:me,error:he}=Y;if(Y=null,me)throw he}}else te()}function W(te){i.$.useDeprecatedSynchronousErrorHandling&&Y&&(Y.errorThrown=!0,Y.error=te)}},5225:(st,Oe,T)=>{function i(Y,l,W,te=0,ce=!1){const me=l.schedule(function(){W(),ce?Y.add(this.schedule(null,te)):this.unsubscribe()},te);if(Y.add(me),!ce)return me}T.d(Oe,{N:()=>i})},3669:(st,Oe,T)=>{function i(Y){return Y}T.d(Oe,{D:()=>i})},7441:(st,Oe,T)=>{T.d(Oe,{X:()=>i});const i=Y=>Y&&"number"==typeof Y.length&&"function"!=typeof Y},7953:(st,Oe,T)=>{T.d(Oe,{T:()=>Y});var i=T(8071);function Y(l){return Symbol.asyncIterator&&(0,i.T)(l?.[Symbol.asyncIterator])}},8071:(st,Oe,T)=>{function i(Y){return"function"==typeof Y}T.d(Oe,{T:()=>i})},5055:(st,Oe,T)=>{T.d(Oe,{l:()=>l});var i=T(3494),Y=T(8071);function l(W){return(0,Y.T)(W[i.s])}},5397:(st,Oe,T)=>{T.d(Oe,{x:()=>l});var i=T(4761),Y=T(8071);function l(W){return(0,Y.T)(W?.[i.l])}},4402:(st,Oe,T)=>{T.d(Oe,{A:()=>l});var i=T(1985),Y=T(8071);function l(W){return!!W&&(W instanceof i.c||(0,Y.T)(W.lift)&&(0,Y.T)(W.subscribe))}},9858:(st,Oe,T)=>{T.d(Oe,{y:()=>Y});var i=T(8071);function Y(l){return(0,i.T)(l?.then)}},5196:(st,Oe,T)=>{T.d(Oe,{C:()=>l,U:()=>W});var i=T(1635),Y=T(8071);function l(te){return(0,i.AQ)(this,arguments,function*(){const me=te.getReader();try{for(;;){const{value:he,done:ae}=yield(0,i.N3)(me.read());if(ae)return yield(0,i.N3)(void 0);yield yield(0,i.N3)(he)}}finally{me.releaseLock()}})}function W(te){return(0,Y.T)(te?.getReader)}},9470:(st,Oe,T)=>{T.d(Oe,{m:()=>Y});var i=T(8071);function Y(l){return l&&(0,i.T)(l.schedule)}},9974:(st,Oe,T)=>{T.d(Oe,{N:()=>l,S:()=>Y});var i=T(8071);function Y(W){return(0,i.T)(W?.lift)}function l(W){return te=>{if(Y(te))return te.lift(function(ce){try{return W(ce,this)}catch(me){this.error(me)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(st,Oe,T)=>{T.d(Oe,{I:()=>W});var i=T(6354);const{isArray:Y}=Array;function W(te){return(0,i.T)(ce=>function l(te,ce){return Y(ce)?te(...ce):te(ce)}(te,ce))}},5343:(st,Oe,T)=>{function i(){}T.d(Oe,{l:()=>i})},1203:(st,Oe,T)=>{T.d(Oe,{F:()=>Y,m:()=>l});var i=T(3669);function Y(...W){return l(W)}function l(W){return 0===W.length?i.D:1===W.length?W[0]:function(ce){return W.reduce((me,he)=>he(me),ce)}}},5334:(st,Oe,T)=>{T.d(Oe,{m:()=>l});var i=T(1026),Y=T(9270);function l(W){Y.f.setTimeout(()=>{const{onUnhandledError:te}=i.$;if(!te)throw W;te(W)})}},591:(st,Oe,T)=>{function i(Y){return new TypeError(`You provided ${null!==Y&&"object"==typeof Y?"an invalid object":`'${Y}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}T.d(Oe,{L:()=>i})},9969:(st,Oe,T)=>{T.d(Oe,{FX:()=>Et,K2:()=>me,P:()=>be,Ro:()=>Y,S6:()=>i,hZ:()=>W,i0:()=>te,iF:()=>he,kY:()=>z,kp:()=>l,sf:()=>Le,ui:()=>tt,wk:()=>ae,yc:()=>_e});class i{}class Y{}const l="*";function W(rt,oe){return{type:7,name:rt,definitions:oe,options:{}}}function te(rt,oe=null){return{type:4,styles:oe,timings:rt}}function me(rt,oe=null){return{type:2,steps:rt,options:oe}}function he(rt){return{type:6,styles:rt,offset:null}}function ae(rt,oe,Ce){return{type:0,name:rt,styles:oe,options:Ce}}function z(rt,oe,Ce=null){return{type:1,expr:rt,animation:oe,options:Ce}}function be(rt,oe,Ce=null){return{type:11,selector:rt,animation:oe,options:Ce}}function _e(rt,oe){return{type:12,timings:rt,animation:oe}}class Le{constructor(oe=0,Ce=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=oe+Ce}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}onStart(oe){this._originalOnStartFns.push(oe),this._onStartFns.push(oe)}onDone(oe){this._originalOnDoneFns.push(oe),this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(oe=>oe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(oe){this._position=this.totalTime?oe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(oe){const Ce="start"==oe?this._onStartFns:this._onDoneFns;Ce.forEach(Pe=>Pe()),Ce.length=0}}class tt{constructor(oe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=oe;let Ce=0,Pe=0,We=0;const et=this.players.length;0==et?queueMicrotask(()=>
1this._onFinish()):this.players.forEach(Xe=>{Xe.onDone(()=>{++Ce==et&&this._onFinish()}),Xe.onDestroy(()=>{++Pe==et&&this._onDestroy()}),Xe.onStart(()=>{++We==et&&this._onStart()})}),this.totalTime=this.players.reduce((Xe,bt)=>Math.max(Xe,bt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}init(){this.players.forEach(oe=>oe.init())}onStart(oe){this._onStartFns.push(oe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(oe=>oe()),this._onStartFns=[])}onDone(oe){this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(oe=>oe.play())}pause(){this.players.forEach(oe=>oe.pause())}restart(){this.players.forEach(oe=>oe.restart())}finish(){this._onFinish(),this.players.forEach(oe=>oe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(oe=>oe.destroy()),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this.players.forEach(oe=>oe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(oe){const Ce=oe*this.totalTime;this.players.forEach(Pe=>{const We=Pe.totalTime?Math.min(1,Ce/Pe.totalTime):1;Pe.setPosition(We)})}getPosition(){const oe=this.players.reduce((Ce,Pe)=>null===Ce||Pe.totalTime>Ce.totalTime?Pe:Ce,null);return null!=oe?oe.getPosition():0}beforeDestroy(){this.players.forEach(oe=>{oe.beforeDestroy&&oe.beforeDestroy()})}triggerCallback(oe){const Ce="start"==oe?this._onStartFns:this._onDoneFns;Ce.forEach(Pe=>Pe()),Ce.length=0}}const Et="!"},177:(st,Oe,T)=>{T.d(Oe,{AJ:()=>Qn,Jj:()=>qr,MD:()=>Ur,N0:()=>Hr,P9:()=>Zi,QT:()=>l,QX:()=>Un,Sm:()=>be,Sq:()=>ye,T3:()=>jr,UE:()=>mr,VF:()=>te,Vy:()=>po,XO:()=>gi,Xr:()=>rr,YU:()=>$,Yq:()=>En,ZD:()=>W,_b:()=>Xn,aZ:()=>Le,bT:()=>kt,cH:()=>Xe,e1:()=>Zr,fw:()=>_e,hb:()=>K,hj:()=>he,oV:()=>et,pM:()=>ye,qQ:()=>ce,tL:()=>Pn,ux:()=>Yn,vh:()=>ai});var i=T(7705);let Y=null;function l(){return Y}function W(b){Y||(Y=b)}class te{}const ce=new i.nKC("DocumentToken");let me=(()=>{class b{historyGo(S){throw new Error("Not implemented")}static{this.\u0275fac=function(k){return new(k||b)}}static{this.\u0275prov=i.jDH({token:b,factory:function(){return(0,i.WQX)(ae)},providedIn:"platform"})}}return b})();const he=new i.nKC("Location Initialized");let ae=(()=>{class b extends me{constructor(){super(),this._doc=(0,i.WQX)(ce),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return l().getBaseHref(this._doc)}onPopState(S){const k=l().getGlobalEventTarget(this._doc,"window");return k.addEventListener("popstate",S,!1),()=>k.removeEventListener("popstate",S)}onHashChange(S){const k=l().getGlobalEventTarget(this._doc,"window");return k.addEventListener("hashchange",S,!1),()=>k.removeEventListener("hashchange",S)}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(S){this._location.pathname=S}pushState(S,k,se){this._history.pushState(S,k,se)}replaceState(S,k,se){this._history.replaceState(S,k,se)}forward(){this._history.forward()}back(){this._history.back()}historyGo(S=0){this._history.go(S)}getState(){return this._history.state}static{this.\u0275fac=function(k){return new(k||b)}}static{this.\u0275prov=i.jDH({token:b,factory:function(){return new b},providedIn:"platform"})}}return b})();function ie(b,j){if(0==b.length)return j;if(0==j.length)return b;let S=0;return b.endsWith("/")&&S++,j.startsWith("/")&&S++,2==S?b+j.substring(1):1==S?b+j:b+"/"+j}function z(b){const j=b.match(/#|\?|$/),S=j&&j.index||b.length;return b.slice(0,S-("/"===b[S-1]?1:0))+b.slice(S)}function J(b){return b&&"?"!==b[0]?"?"+b:b}let K=(()=>{class b{historyGo(S){throw new Error("Not implemented")}static{this.\u0275fac=function(k){return new(k||b)}}static{this.\u0275prov=i.jDH({token:b,factory:function(){return(0,i.WQX)(be)},providedIn:"root"})}}return b})();const X=new i.nKC("appBaseHref");let be=(()=>{class b extends K{constructor(S,k){super(),this._platformLocation=S,this._removeListenerFns=[],this._baseHref=k??this._platformLocation.getBaseHrefFromDOM()??(0,i.WQX)(ce).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(S){this._removeListenerFns.push(this._platformLocation.onPopState(S),this._platformLocation.on
1HashChange(S))}getBaseHref(){return this._baseHref}prepareExternalUrl(S){return ie(this._baseHref,S)}path(S=!1){const k=this._platformLocation.pathname+J(this._platformLocation.search),se=this._platformLocation.hash;return se&&S?`${k}${se}`:k}pushState(S,k,se,$e){const Ze=this.prepareExternalUrl(se+J($e));this._platformLocation.pushState(S,k,Ze)}replaceState(S,k,se,$e){const Ze=this.prepareExternalUrl(se+J($e));this._platformLocation.replaceState(S,k,Ze)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(S=0){this._platformLocation.historyGo?.(S)}static{this.\u0275fac=function(k){return new(k||b)(i.KVO(me),i.KVO(X,8))}}static{this.\u0275prov=i.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})(),_e=(()=>{class b extends K{constructor(S,k){super(),this._platformLocation=S,this._baseHref="",this._removeListenerFns=[],null!=k&&(this._baseHref=k)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(S){this._removeListenerFns.push(this._platformLocation.onPopState(S),this._platformLocation.onHashChange(S))}getBaseHref(){return this._baseHref}path(S=!1){let k=this._platformLocation.hash;return null==k&&(k="#"),k.length>0?k.substring(1):k}prepareExternalUrl(S){const k=ie(this._baseHref,S);return k.length>0?"#"+k:k}pushState(S,k,se,$e){let Ze=this.prepareExternalUrl(se+J($e));0==Ze.length&&(Ze=this._platformLocation.pathname),this._platformLocation.pushState(S,k,Ze)}replaceState(S,k,se,$e){let Ze=this.prepareExternalUrl(se+J($e));0==Ze.length&&(Ze=this._platformLocation.pathname),this._platformLocation.replaceState(S,k,Ze)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(S=0){this._platformLocation.historyGo?.(S)}static{this.\u0275fac=function(k){return new(k||b)(i.KVO(me),i.KVO(X,8))}}static{this.\u0275prov=i.jDH({token:b,factory:b.\u0275fac})}}return b})(),Le=(()=>{class b{constructor(S){this._subject=new i.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=S;const k=this._locationStrategy.getBaseHref();this._basePath=function oe(b){if(new RegExp("^(https?:)?//").test(b)){const[,S]=b.split(/\/\/[^\/]+/);return S}return b}(z(rt(k))),this._locationStrategy.onPopState(se=>{this._subject.emit({url:this.path(!0),pop:!0,state:se.state,type:se.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(S=!1){return this.normalize(this._locationStrategy.path(S))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(S,k=""){return this.path()==this.normalize(S+J(k))}normalize(S){return b.stripTrailingSlash(function Et(b,j){if(!b||!j.startsWith(b))return j;const S=j.substring(b.length);return""===S||["/",";","?","#"].includes(S[0])?S:j}(this._basePath,rt(S)))}prepareExternalUrl(S){return S&&"/"!==S[0]&&(S="/"+S),this._locationStrategy.prepareExternalUrl(S)}go(S,k="",se=null){this._locationStrategy.pushState(se,"",S,k),this._notifyUrlChangeListeners(this.prepareExternalUrl(S+J(k)),se)}replaceState(S,k="",se=null){this._locationStrategy.replaceState(se,"",S,k),this._notifyUrlChangeListeners(this.prepareExternalUrl(S+J(k)),se)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(S=0){this._locationStrategy.historyGo?.(S)}onUrlChange(S){return this._urlChangeListeners.push(S),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(k=>{this._notifyUrlChangeListeners(k.url,k.state)})),()=>{const k=this._urlChangeListeners.indexOf(S);this._urlChangeListeners.splice(k,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(S="",k){this._urlChangeListeners.forEach(se=>se(S,k))}subscribe(S,k,se){return this._subject.subscribe({next:S,error:k,complete:se})}static{this.normalizeQueryParams=J}static{this.joinWithSlash=ie}static{this.stripTrailingSlash=z}static{this.\u0275fac=function(k){return new(k||b)(i.KVO(K))}}static{this.\u0275prov=i.jDH({token:b,factory:function(){return function tt(){return new Le((0,i.KVO)(K))}()},providedIn:"root"})}}return b})();function rt(b){return b.replace(/\/index.html$/,"")}var Pe=function(b){return b[b.Decimal=0]="Decimal",b[b.Percent=1]="Percent",b[b.Currency=2]="Currency",b[b.Scientific=3]="Scientific",b}(Pe||{}),et=function(b){return b[b.Format=0]="Format",b[b.Standalone=1]="Standalone",b}(et||{}),Xe=function(b){return b[b.Narrow=0]="Narrow",b[b.Abbreviated=1]="Abbreviated",b[b.Wide=2]="Wide",b[b.Short=3]="Short",b}(Xe||{}),bt=function(b){return b[b.Short=0]="Short",b[b.Medium=1]="Medium",b[b.Long=2]="Long",b[b.Full=3]="Full",b}(bt||{}),Mt=function(b){return b[b.Decimal=0]="Decimal",b[b.Group=1]="Group",b[b.List=2]="List",b[b.PercentSign=3]="PercentSign",b[b.PlusSign=4]="PlusSign",b[b.MinusSign=5]="MinusSign",b[b.Exponential=6]="Exponential",b[b.SuperscriptingExponent=7]="SuperscriptingExponent",b[b.PerMille=8]="PerMille",b[b.Infinity=9]="Infinity",b[b.NaN=10]="NaN",b[b.TimeSeparator=11]="TimeSeparator",b[b.CurrencyDecimal=12]="CurrencyDecimal",b[b.CurrencyGroup=13]="CurrencyGroup",b}(Mt||{});function gi(b,j,S){const k=(0,i.H5H)(b),$e=De([k[i.KH2.DaysFormat],k[i.KH2.DaysStandalone]],j);return De($e,S)}function Pn(b,j,S){const k=(0,i.H5H)(b),$e=De([k[i.KH2.MonthsFormat],k[i.KH2.MonthsStandalone]],j);return De($e,S)}function ki(b,j){return De((0,i.H5H)(b)[i.KH2.DateFormat],j)}function Re(b,j){return De((0,i.H5H)(b)[i.KH2.TimeFormat],j)}function ge(b,j){return De((0,i.H5H)(b)[i.KH2.DateTimeFormat],j)}function Ee(b,j){const S=(0,i.H5H)(b),k=S[i.KH2.NumberSymbols][j];if(typeof k>"u"){if(j===Mt.CurrencyDecimal)return S[i.KH2.NumberSymbols][Mt.Decimal];if(j===Mt.CurrencyGroup)return S[i.KH2.NumberSymbols][Mt.Group]}return k}function ht(b){if(!b[i.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${b[i.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function De(b,j){for(let S=j;S>-1;S--)if(typeof b[S]<"u")return b[S];throw new Error("Locale data API: locale data undefined")}function Me(b){const[j,S]=b.split(":");return{hours:+j,minutes:+S}}const yt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Cn={},qt=/((?:[^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 _t=function(b){return b[b.Short=0]="Short",b[b.ShortGMT=1]="ShortGMT",b[b.Long=2]="Long",b[b.Extended=3]="Extended",b}(_t||{}),Rt=function(b){return b[b.FullYear=0]="FullYear",b[b.Month=1]="Month",b[b.Date=2]="Date",b[b.Hours=3]="Hours",b[b.Minutes=4]="Minutes",b[b.Seconds=5]="Seconds",b[b.FractionalSeconds=6]="FractionalSeconds",b[b.Day=7]="Day",b}(Rt||{}),Ht=function(b){return b[b.DayPeriods=0]="DayPeriods",b[b.Days=1]="Days",b[b.Months=2]="Months",b[b.Eras=3]="Eras",b}(Ht||{});function En(b,j,S,k){let se=function Ge(b){if(Z(b))return b;if("number"==typeof b&&!isNaN(b))return new Date(b);if("string"==typeof b){if(b=b.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(b)){const[se,$e=1,Ze=1]=b.split("-").map(At=>+At);return ci(se,$e-1,Ze)}const S=parseFloat(b);if(!isNaN(b-S))return new Date(S);let k;if(k=b.match(yt))return function Fe(b){const j=new Date(0);let S=0,k=0;const se=b[8]?j.setUTCFullYear:j.setFullYear,$e=b[8]?j.setUTCHours:j.setHours;b[9]&&(S=Number(b[9]+b[10]),k=Number(b[9]+b[11])),se.call(j,Number(b[1]),Number(b[2])-1,Number(b[3]));const Ze=Number(b[4]||0)-S,At=Number(b[5]||0)-k,zn=Number(b[6]||0),ei=Math.floor(1e3*parseFloat("0."+(b[7]||0)));return $e.call(j,Ze,At,zn,ei),j}(k)}const j=new Date(b);if(!Z(j))throw new Error(`Unable to convert "${b}" into a date`);return j}(b);j=en(S,j)||j;let At,Ze=[];for(;j;){if(At=qt.exec(j),!At){Ze.push(j);break}{Ze=Ze.concat(At.slice(1));const Vn=Ze.pop();if(!Vn)break;j=Vn}}let zn=se.getTimezoneOffset();k&&(zn=xi(k,zn),se=function Xi(b,j,S){const k=S?-1:1,se=b.getTimezoneOffset();return function Ei(b,j){return(b=new Date(b.getTime())).setMinutes(b.getMinutes()+j),b}(b,k*(xi(j,se)-se))}(se,k,!0));let ei="";return Ze.forEach(Vn=>{const un=function Zn(b){if(pr[b])return pr[b];let j;switch(b){case"G":case"GG":case"GGG":j=nn(Ht.Eras,Xe.Abbreviated);break;case"GGGG":j=nn(Ht.Eras,Xe.Wide);break;case"GGGGG":j=nn(Ht.Eras,Xe.Narrow);break;case"y":j=Tt(Rt.FullYear,1,0,!1,!0);break;case"yy":j=Tt(Rt.FullYear,2,0,!0,!0);break;case"yyy":j=Tt(Rt.FullYear,3,0,!1,!0);break;case"yyyy":j=Tt(Rt.FullYear,4,0,!1,!0);break;case"Y":j=fr(1);break;case"YY":j=fr(2,!0);break;case"YYY":j=fr(3);break;case"YYYY":j=fr(4);break;case"M":case"L":j=Tt(Rt.Month,1,1);break;case"MM":case"LL":j=Tt(Rt.Month,2,1);break;case"MMM":j=nn(Ht.Months,Xe.Abbreviated);break;case"MMMM":j=nn(Ht.Months,Xe.Wide);break;case"MMMMM":j=nn(Ht.Months,Xe.Narrow);break;case"LLL":j=nn(Ht.Months,Xe.Abbreviated,et.Standalone);break;case"LLLL":j=nn(Ht.Months,Xe.Wide,et.Standalone);break;case"LLLLL":j=nn(Ht.Months,Xe.Narrow,et.Standalone);break;case"w":j=Cr(1);break;case"ww":j=Cr(2);break;case"W":j=Cr(1,!0);break;case"d":j=Tt(Rt.Date,1);break;case"dd":j=Tt(Rt.Date,2);break;case"c":case"cc":j=Tt(Rt.Day,1);break;case"ccc":j=nn(Ht.Days,Xe.Abbreviated,et.Standalone);break;case"cccc":j=nn(Ht.Days,Xe.Wide,et.Standalone);break;case"ccccc":j=nn(Ht.Days,Xe.Narrow,et.Standalone);break;case"cccccc":j=nn(Ht.Days,Xe.Short,et.Standalone);break;case"E":case"EE":case"EEE":j=nn(Ht.Days,Xe.Abbreviated);break;case"EEEE":j=nn(Ht.Days,Xe.Wide);break;case"EEEEE":j=nn(Ht.Days,Xe.Narrow);break;case"EEEEEE":j=nn(Ht.Days,Xe.Short);break;case"a":case"aa":case"aaa":j=nn(Ht.DayPeriods,Xe.Abbreviated);break;case"aaaa":j=nn(Ht.DayPeriods,Xe.Wide);break;case"aaaaa":j=nn(Ht.DayPeriods,Xe.Narrow);break;
vendor: 6,398 bytes, line 1
1case"b":case"bb":case"bbb":j=nn(Ht.DayPeriods,Xe.Abbreviated,et.Standalone,!0);break;case"bbbb":j=nn(Ht.DayPeriods,Xe.Wide,et.Standalone,!0);break;case"bbbbb":j=nn(Ht.DayPeriods,Xe.Narrow,et.Standalone,!0);break;case"B":case"BB":case"BBB":j=nn(Ht.DayPeriods,Xe.Abbreviated,et.Format,!0);break;case"BBBB":j=nn(Ht.DayPeriods,Xe.Wide,et.Format,!0);break;case"BBBBB":j=nn(Ht.DayPeriods,Xe.Narrow,et.Format,!0);break;case"h":j=Tt(Rt.Hours,1,-12);break;case"hh":j=Tt(Rt.Hours,2,-12);break;case"H":j=Tt(Rt.Hours,1);break;case"HH":j=Tt(Rt.Hours,2);break;case"m":j=Tt(Rt.Minutes,1);break;case"mm":j=Tt(Rt.Minutes,2);break;case"s":j=Tt(Rt.Seconds,1);break;case"ss":j=Tt(Rt.Seconds,2);break;case"S":j=Tt(Rt.FractionalSeconds,1);break;case"SS":j=Tt(Rt.FractionalSeconds,2);break;case"SSS":j=Tt(Rt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":j=kn(_t.Short);break;case"ZZZZZ":j=kn(_t.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":j=kn(_t.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":j=kn(_t.Long);break;default:return null}return pr[b]=j,j}(Vn);ei+=un?un(se,S,zn):"''"===Vn?"'":Vn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ei}function ci(b,j,S){const k=new Date(0);return k.setFullYear(b,j,S),k.setHours(0,0,0),k}function en(b,j){const S=function an(b){return(0,i.H5H)(b)[i.KH2.LocaleId]}(b);if(Cn[S]=Cn[S]||{},Cn[S][j])return Cn[S][j];let k="";switch(j){case"shortDate":k=ki(b,bt.Short);break;case"mediumDate":k=ki(b,bt.Medium);break;case"longDate":k=ki(b,bt.Long);break;case"fullDate":k=ki(b,bt.Full);break;case"shortTime":k=Re(b,bt.Short);break;case"mediumTime":k=Re(b,bt.Medium);break;case"longTime":k=Re(b,bt.Long);break;case"fullTime":k=Re(b,bt.Full);break;case"short":const se=en(b,"shortTime"),$e=en(b,"shortDate");k=tn(ge(b,bt.Short),[se,$e]);break;case"medium":const Ze=en(b,"mediumTime"),At=en(b,"mediumDate");k=tn(ge(b,bt.Medium),[Ze,At]);break;case"long":const zn=en(b,"longTime"),ei=en(b,"longDate");k=tn(ge(b,bt.Long),[zn,ei]);break;case"full":const Vn=en(b,"fullTime"),un=en(b,"fullDate");k=tn(ge(b,bt.Full),[Vn,un])}return k&&(Cn[S][j]=k),k}function tn(b,j){return j&&(b=b.replace(/\{([^}]+)}/g,function(S,k){return null!=j&&k in j?j[k]:S})),b}function Wn(b,j,S="-",k,se){let $e="";(b<0||se&&b<=0)&&(se?b=1-b:(b=-b,$e=S));let Ze=String(b);for(;Ze.length<j;)Ze="0"+Ze;return k&&(Ze=Ze.slice(Ze.length-j)),$e+Ze}function Tt(b,j,S=0,k=!1,se=!1){return function($e,Ze){let At=function mi(b,j){switch(b){case Rt.FullYear:return j.getFullYear();case Rt.Month:return j.getMonth();case Rt.Date:return j.getDate();case Rt.Hours:return j.getHours();case Rt.Minutes:return j.getMinutes();case Rt.Seconds:return j.getSeconds();case Rt.FractionalSeconds:return j.getMilliseconds();case Rt.Day:return j.getDay();default:throw new Error(`Unknown DateType value "${b}".`)}}(b,$e);if((S>0||At>-S)&&(At+=S),b===Rt.Hours)0===At&&-12===S&&(At=12);else if(b===Rt.FractionalSeconds)return function yn(b,j){return Wn(b,3).substring(0,j)}(At,j);const zn=Ee(Ze,Mt.MinusSign);return Wn(At,j,zn,k,se)}}function nn(b,j,S=et.Format,k=!1){return function(se,$e){return function _i(b,j,S,k,se,$e){switch(S){case Ht.Months:return Pn(j,se,k)[b.getMonth()];case Ht.Days:return gi(j,se,k)[b.getDay()];case Ht.DayPeriods:const Ze=b.getHours(),At=b.getMinutes();if($e){const ei=function Ot(b){const j=(0,i.H5H)(b);return ht(j),(j[i.KH2.ExtraData][2]||[]).map(k=>"string"==typeof k?Me(k):[Me(k[0]),Me(k[1])])}(j),Vn=function jt(b,j,S){const k=(0,i.H5H)(b);ht(k);const $e=De([k[i.KH2.ExtraData][0],k[i.KH2.ExtraData][1]],j)||[];return De($e,S)||[]}(j,se,k),un=ei.findIndex(pi=>{if(Array.isArray(pi)){const[Hn,Vi]=pi,oo=Ze>=Hn.hours&&At>=Hn.minutes,sr=Ze<Vi.hours||Ze===Vi.hours&&At<Vi.minutes;if(Hn.hours<Vi.hours){if(oo&&sr)return!0}else if(oo||sr)return!0}else if(pi.hours===Ze&&pi.minutes===At)return!0;return!1});if(-1!==un)return Vn[un]}return function ln(b,j,S){const k=(0,i.H5H)(b),$e=De([k[i.KH2.DayPeriodsFormat],k[i.KH2.DayPeriodsStandalone]],j);return De($e,S)}(j,se,k)[Ze<12?0:1];case Ht.Eras:return function jn(b,j){return De((0,i.H5H)(b)[i.KH2.Eras],j)}(j,k)[b.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${S}`)}}(se,$e,b,j,S,k)}}function kn(b){return function(j,S,k){const se=-1*k,$e=Ee(S,Mt.MinusSign),Ze=se>0?Math.floor(se/60):Math.ceil(se/60);switch(b){case _t.Short:return(se>=0?"+":"")+Wn(Ze,2,$e)+Wn(Math.abs(se%60),2,$e);case _t.ShortGMT:return"GMT"+(se>=0?"+":"")+Wn(Ze,1,$e);case _t.Long:return"GMT"+(se>=0?"+":"")+Wn(Ze,2,$e)+":"+Wn(Math.abs(se%60),2,$e);case _t.Extended:return 0===k?"Z":(se>=0?"+":"")+Wn(Ze,2,$e)+":"+Wn(Math.abs(se%60),2,$e);default:throw new Error(`Unknown zone width "${b}"`)}}}const Fi=0,ui=4;function yi(b){return ci(b.getFullYear(),b.getMonth(),b.getDate()+(ui-b.getDay()))}function Cr(b,j=!1){return function(S,k){let se;if(j){const $e=new Date(S.getFullYear(),S.getMonth(),1).getDay()-1,Ze=S.getDate();se=1+Math.floor((Ze+$e)/7)}else{const $e=yi(S),Ze=function vi(b){const j=ci(b,Fi,1).getDay();return ci(b,0,1+(j<=ui?ui:ui+7)-j)}($e.getFullYear()),At=$e.getTime()-Ze.getTime();se=1+Math.round(At/6048e5)}return Wn(se,b,Ee(k,Mt.MinusSign))}}function fr(b,j=!1){return function(S,k){return Wn(yi(S).getFullYear(),b,Ee(k,Mt.MinusSign),j)}}const pr={};function xi(b,j){b=b.replace(/:/g,"");const S=Date.parse("Jan 01, 1970 00:00:00 "+b)/6e4;return isNaN(S)?j:S}function Z(b){return b instanceof Date&&!isNaN(b.valueOf())}const de=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ct(b){const j=parseInt(b);if(isNaN(j))throw new Error("Invalid integer literal when parsing "+b);return j}function Xn(b,j){j=encodeURIComponent(j);for(const S of b.split(";")){const k=S.indexOf("="),[se,$e]=-1==k?[S,""]:[S.slice(0,k),S.slice(k+1)];if(se.trim()===j)return decodeURIComponent($e)}return null}const ni=/\s+/,In=[];let $=(()=>{class b{constructor(S,k,se,$e){this._iterableDiffers=S,this._keyValueDiffers=k,this._ngEl=se,this._renderer=$e,this.initialClasses=In,this.stateMap=new Map}set klass(S){this.initialClasses=null!=S?S.trim().split(ni):In}set ngClass(S){this.rawClass="string"==typeof S?S.trim().split(ni):S}ngDoCheck(){for(const k of this.initialClasses)this._updateState(k,!0);const S=this.rawClass;if(Array.isArray(S)||S instanceof Set)for(const k of S)this._updateState(k,!0);else if(null!=S)for(const k of Object.keys(S))this._updateState(k,!!S[k]);this._applyStateDiff()}_updateState(S,k){const se=this.stateMap.get(S);
1void 0!==se?(se.enabled!==k&&(se.changed=!0,se.enabled=k),se.touched=!0):this.stateMap.set(S,{enabled:k,changed:!0,touched:!0})}_applyStateDiff(){for(const S of this.stateMap){const k=S[0],se=S[1];se.changed?(this._toggleClass(k,se.enabled),se.changed=!1):se.touched||(se.enabled&&this._toggleClass(k,!1),this.stateMap.delete(k)),se.touched=!1}}_toggleClass(S,k){(S=S.trim()).length>0&&S.split(ni).forEach(se=>{k?this._renderer.addClass(this._ngEl.nativeElement,se):this._renderer.removeClass(this._ngEl.nativeElement,se)})}static{this.\u0275fac=function(k){return new(k||b)(i.rXU(i._q3),i.rXU(i.MKu),i.rXU(i.aKT),i.rXU(i.sFG))}}static{this.\u0275dir=i.FsC({type:b,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}}return b})();class H{constructor(j,S,k,se){this.$implicit=j,this.ngForOf=S,this.index=k,this.count=se}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 ye=(()=>{class b{set ngForOf(S){this._ngForOf=S,this._ngForOfDirty=!0}set ngForTrackBy(S){this._trackByFn=S}get ngForTrackBy(){return this._trackByFn}constructor(S,k,se){this._viewContainer=S,this._template=k,this._differs=se,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(S){S&&(this._template=S)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const S=this._ngForOf;!this._differ&&S&&(this._differ=this._differs.find(S).create(this.ngForTrackBy))}if(this._differ){const S=this._differ.diff(this._ngForOf);S&&this._applyChanges(S)}}_applyChanges(S){const k=this._viewContainer;
1S.forEachOperation((se,$e,Ze)=>{if(null==se.previousIndex)k.createEmbeddedView(this._template,new H(se.item,this._ngForOf,-1,-1),null===Ze?void 0:Ze);else if(null==Ze)k.remove(null===$e?void 0:$e);else if(null!==$e){const At=k.get($e);k.move(At,Ze),Ye(At,se)}});for(let se=0,$e=k.length;se<$e;se++){const At=k.get(se).context;At.index=se,At.count=$e,At.ngForOf=this._ngForOf}S.forEachIdentityChange(se=>{Ye(k.get(se.currentIndex),se)})}static ngTemplateContextGuard(S,k){return!0}static{this.\u0275fac=function(k){return new(k||b)(i.rXU(i.c1b),i.rXU(i.C4Q),i.rXU(i._q3))}}static{this.\u0275dir=i.FsC({type:b,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return b})();function Ye(b,j){b.context.$implicit=j.item}let kt=(()=>{class b{constructor(S,k){this._viewContainer=S,this._context=new on,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=k}set ngIf(S){this._context.$implicit=this._context.ngIf=S,this._updateView()}set ngIfThen(S){Mi("ngIfThen",S),this._thenTemplateRef=S,this._thenViewRef=null,this._updateView()}set ngIfElse(S){Mi("ngIfElse",S),this._elseTemplateRef=S,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(S,k){return!0}static{this.\u0275fac=function(k){return new(k||b)(i.rXU(i.c1b),i.rXU(i.C4Q))}}static{this.\u0275dir=i.FsC({type:b,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return b})();class on{constructor(){this.$implicit=null,this.ngIf=null}}function Mi(b,j){if(j&&!j.createEmbeddedView)throw new Error(`${b} must be a TemplateRef, but received '${(0,i.Tbb)(j)}'.`)}class ii{constructor(j,S){this._viewContainerRef=j,this._templateRef=S,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(j){j&&!this._created?this.create():!j&&this._created&&this.destroy()}}let Yn=(()=>{class b{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(S){this._ngSwitch=S,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(S){this._defaultViews.push(S)}_matchCase(S){const k=S==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||k,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),k}_updateDefaultCases(S){if(this._defaultViews.length>0&&S!==this._defaultUsed){this._defaultUsed=S;for(const k of this._defaultViews)k.enforceState(S)}}static{this.\u0275fac=function(k){return new(k||b)}}static{this.\u0275dir=i.FsC({type:b,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return b})(),Zr=(()=>{class b{constructor(S,k,se){this.ngSwitch=se,se._addCase(),this._view=new ii(S,k)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(k){return new(k||b)(i.rXU(i.c1b),i.rXU(i.C4Q),i.rXU(Yn,9))}}static{this.\u0275dir=i.FsC({type:b,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return b})(),jr=(()=>{class b{constructor(S){this._viewContainerRef=S,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(S){if(S.ngTemplateOutlet||S.ngTemplateOutletInjector){const k=this._viewContainerRef;if(this._viewRef&&k.remove(k.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:se,ngTemplateOutletContext:$e,ngTemplateOutletInjector:Ze}=this;
1this._viewRef=k.createEmbeddedView(se,$e,Ze?{injector:Ze}:void 0)}else this._viewRef=null}else this._viewRef&&S.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static{this.\u0275fac=function(k){return new(k||b)(i.rXU(i.c1b))}}static{this.\u0275dir=i.FsC({type:b,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[i.OA$]})}}return b})();function oi(b,j){return new i.wOt(2100,!1)}class Do{createSubscription(j,S){return(0,i.O8t)(()=>j.subscribe({next:S,error:k=>{throw k}}))}dispose(j){(0,i.O8t)(()=>j.unsubscribe())}}class Pr{createSubscription(j,S){return j.then(S,k=>{throw k})}dispose(j){}}const ho=new Pr,Xo=new Do;let qr=(()=>{class b{constructor(S){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=S}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(S){return this._obj?S!==this._obj?(this._dispose(),this.transform(S)):this._latestValue:(S&&this._subscribe(S),this._latestValue)}_subscribe(S){this._obj=S,this._strategy=this._selectStrategy(S),this._subscription=this._strategy.createSubscription(S,k=>this._updateLatestValue(S,k))}_selectStrategy(S){if((0,i.jNT)(S))return ho;if((0,i.zjR)(S))return Xo;throw oi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(S,k){S===this._obj&&(this._latestValue=k,this._ref.markForCheck())}static{this.\u0275fac=function(k){return new(k||b)(i.rXU(i.gRc,16))}}static{this.\u0275pipe=i.EJ8({name:"async",type:b,pure:!1,standalone:!0})}}return b})();const Bt=new i.nKC("DATE_PIPE_DEFAULT_TIMEZONE"),qn=new i.nKC("DATE_PIPE_DEFAULT_OPTIONS");let ai=(()=>{class b{constructor(S,k,se){this.locale=S,this.defaultTimezone=k,this.defaultOptions=se}transform(S,k,se,$e){if(null==S||""===S||S!=S)return null;try{return En(S,k??this.defaultOptions?.dateFormat??"mediumDate",$e||this.locale,se??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ze){throw oi()}}static{this.\u0275fac=function(k){return new(k||b)(i.rXU(i.xe9,16),i.rXU(Bt,24),i.rXU(qn,24))}}static{this.\u0275pipe=i.EJ8({name:"date",type:b,pure:!0,standalone:!0})}}return b})(),Un=(()=>{class b{constructor(S){this._locale=S}transform(S,k,se){if(!function xn(b){return!(null==b||""===b||b!=b)}(S))return null;se=se||this._locale;try{return function Qe(b,j,S){return function Ne(b,j,S,k,se,$e,Ze=!1){let At="",zn=!1;if(isFinite(b)){let ei=function lt(b){let k,se,$e,Ze,At,j=Math.abs(b)+"",S=0;for((se=j.indexOf("."))>-1&&(j=j.replace(".","")),($e=j.search(/e/i))>0?(se<0&&(se=$e),se+=+j.slice($e+1),j=j.substring(0,$e)):se<0&&(se=j.length),$e=0;"0"===j.charAt($e);$e++);if($e===(At=j.length))k=[0],se=1;else{for(At--;"0"===j.charAt(At);)At--;for(se-=$e,k=[],Ze=0;$e<=At;$e++,Ze++)k[Ze]=Number(j.charAt($e))}return se>22&&(k=k.splice(0,21),S=se-1,se=1),{digits:k,exponent:S,integerLen:se}}(b);Ze&&(ei=function pt(b){if(0===b.digits[0])return b;const j=b.digits.length-b.integerLen;return b.exponent?b.exponent+=2:(0===j?b.digits.push(0,0):1===j&&b.digits.push(0),b.integerLen+=2),b}(ei));let Vn=j.minInt,un=j.minFrac,pi=j.maxFrac;if($e){const yr=$e.match(de);if(null===yr)throw new Error(`${$e} is not a valid digit info`);const so=yr[1],$i=yr[3],To=yr[5];null!=so&&(Vn=ct(so)),null!=$i&&(un=ct($i)),null!=To?pi=ct(To):null!=$i&&un>pi&&(pi=un)}!function zt(b,j,S){if(j>S)throw new Error(`The minimum number of digits after fraction (${j}) is higher than the maximum (${S}).`);let k=b.digits,se=k.length-b.integerLen;const $e=Math.min(Math.max(j,se),S);let Ze=$e+b.integerLen,At=k[Ze];if(Ze>0){k.splice(Math.max(b.integerLen,Ze));for(let un=Ze;un<k.length;un++)k[un]=0}else{se=Math.max(0,se),b.integerLen=1,k.length=Math.max(1,Ze=$e+1),k[0]=0;for(let un=1;un<Ze;un++)k[un]=0}if(At>=5)if(Ze-1<0){for(let un=0;un>Ze;un--)k.unshift(0),b.integerLen++;k.unshift(1),b.integerLen++}else k[Ze-1]++;for(;se<Math.max(0,$e);se++)k.push(0);let zn=0!==$e;const ei=j+b.integerLen,Vn=k.reduceRight(function(un,pi,Hn,Vi){return Vi[Hn]=(pi+=un)<10?pi:pi-10,zn&&(0===Vi[Hn]&&Hn>=ei?Vi.pop():zn=!1),pi>=10?1:0},0);Vn&&(k.unshift(Vn),b.integerLen++)}(ei,un,pi);let Hn=ei.digits,Vi=ei.integerLen;const oo=ei.exponent;let sr=[];for(zn=Hn.every(yr=>!yr);Vi<Vn;Vi++)Hn.unshift(0);for(;Vi<0;Vi++)Hn.unshift(0);Vi>0?sr=Hn.splice(Vi,Hn.length):(sr=Hn,Hn=[0]);const Mo=[];for(Hn.length>=j.lgSize&&Mo.unshift(Hn.splice(-j.lgSize,Hn.length).join(""));Hn.length>j.gSize;)Mo.unshift(Hn.splice(-j.gSize,Hn.length).join(""));Hn.length&&Mo.unshift(Hn.join("")),At=Mo.join(Ee(S,k)),sr.length&&(At+=Ee(S,se)+sr.join("")),oo&&(At+=Ee(S,Mt.Exponential)+"+"+oo)}else At=Ee(S,Mt.Infinity);return At=b<0&&!zn?j.negPre+At+j.negSuf:j.posPre+At+j.posSuf,At}(b,function nt(b,j="-"){const S={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},k=b.split(";"),se=k[0],$e=k[1],Ze=-1!==se.indexOf(".")?se.split("."):[se.substring(0,se.lastIndexOf("0")+1),se.substring(se.lastIndexOf("0")+1)],At=Ze[0],zn=Ze[1]||"";S.posPre=At.substring(0,At.indexOf("#"));for(let Vn=0;Vn<zn.length;Vn++){const un=zn.charAt(Vn);"0"===un?S.minFrac=S.maxFrac=Vn+1:"#"===un?S.maxFrac=Vn+1:S.posSuf+=un}const ei=At.split(",");if(S.gSize=ei[1]?ei[1].length:0,S.lgSize=ei[2]||ei[1]?(ei[2]||ei[1]).length:0,$e){const Vn=se.length-S.posPre.length-S.posSuf.length,un=$e.indexOf("#");S.negPre=$e.substring(0,un).replace(/'/g,""),S.negSuf=$e.slice(un+Vn).replace(/'/g,"")}else S.negPre=j+S.posPre,S.negSuf=S.posSuf;return S}(function q(b,j){return(0,i.H5H)(b)[i.KH2.NumberFormats][j]}(j,Pe.Decimal),Ee(j,Mt.MinusSign)),j,Mt.Group,Mt.Decimal,S)}(function Hi(b){if("string"==typeof b&&!isNaN(Number(b)-parseFloat(b)))return Number(b);if("number"!=typeof b)throw new Error(`${b} is not a number`);return b}(S),se,k)}catch($e){throw oi()}}static{this.\u0275fac=function(k){return new(k||b)(i.rXU(i.xe9,16))}}static{this.\u0275pipe=i.EJ8({name:"number",type:b,pure:!0,standalone:!0})}}return b})();let Zi=(()=>{class b{transform(S,k,se){if(null==S)return null;if(!this.supports(S))throw oi();return S.slice(k,se)}supports(S){return"string"==typeof S||Array.isArray(S)}static{this.\u0275fac=function(k){return new(k||b)}}static{this.\u0275pipe=i.EJ8({name:"slice",type:b,pure:!1,standalone:!0})}}return b})(),Ur=(()=>{class b{static{this.\u0275fac=function(k){return new(k||b)}}static{this.\u0275mod=i.$C({type:b})}static{this.\u0275inj=i.G2t({})}}return b})();const Qn="browser",qi="server";function mr(b){return b===Qn}function po(b){return b===qi}let rr=(()=>{class b{static{this.\u0275prov=(0,i.jDH)({token:b,providedIn:"root",factory:()=>new Mr((0,i.KVO)(ce),window)})}}return b})();class Mr{constructor(j,S){this.document=j,this.window=S,this.offset=()=>[0,0]}setOffset(j){this.offset=Array.isArray(j)?()=>j:j}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(j){this.supportsScrolling()&&this.window.scrollTo(j[0],j[1])}scrollToAnchor(j){if(!this.supportsScrolling())return;const S=function Tr(b,j){const S=b.getElementById(j)||b.getElementsByName(j)[0];if(S)return S;if("function"==typeof b.createTreeWalker&&b.body&&"function"==typeof b.body.attachShadow){const k=b.createTreeWalker(b.body,NodeFilter.SHOW_ELEMENT);let se=k.currentNode;for(;se;){const $e=se.shadowRoot;if($e){const Ze=$e.getElementById(j)||$e.querySelector(`[name="${j}"]`);if(Ze)return Ze}se=k.nextNode()}}return null}(this.document,j);S&&(this.scrollToElement(S),S.focus())}setHistoryScrollRestoration(j){this.supportsScrolling()&&(this.window.history.scrollRestoration=j)}scrollToElement(j){const S=j.getBoundingClientRect(),k=S.left+this.window.pageXOffset,se=S.top+this.window.pageYOffset,$e=this.offset();this.window.scrollTo(k-$e[0],se-$e[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Hr{}},1626:(st,Oe,T)=>{T.d(Oe,{Nl:()=>oe,Qq:()=>hr,a7:()=>ht,q1:()=>de});var i=T(7705),Y=T(7673),l=T(6648),W=T(1985),te=T(274),ce=T(5964),me=T(6354),he=T(98
vendor: 10,143 bytes, line 1
10),ae=T(5558),ie=T(177);class z{}class J{}class K{constructor(pe){this.normalizedNames=new Map,this.lazyUpdate=null,pe?"string"==typeof pe?this.lazyInit=()=>{this.headers=new Map,pe.split("\n").forEach(we=>{const Qe=we.indexOf(":");if(Qe>0){const nt=we.slice(0,Qe),pt=nt.toLowerCase(),lt=we.slice(Qe+1).trim();this.maybeSetNormalizedName(nt,pt),this.headers.has(pt)?this.headers.get(pt).push(lt):this.headers.set(pt,[lt])}})}:typeof Headers<"u"&&pe instanceof Headers?(this.headers=new Map,pe.forEach((we,Qe)=>{this.setHeaderEntries(Qe,we)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(pe).forEach(([we,Qe])=>{this.setHeaderEntries(we,Qe)})}:this.headers=new Map}has(pe){return this.init(),this.headers.has(pe.toLowerCase())}get(pe){this.init();const we=this.headers.get(pe.toLowerCase());return we&&we.length>0?we[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(pe){return this.init(),this.headers.get(pe.toLowerCase())||null}append(pe,we){return this.clone({name:pe,value:we,op:"a"})}set(pe,we){return this.clone({name:pe,value:we,op:"s"})}delete(pe,we){return this.clone({name:pe,value:we,op:"d"})}maybeSetNormalizedName(pe,we){this.normalizedNames.has(we)||this.normalizedNames.set(we,pe)}init(){this.lazyInit&&(this.lazyInit instanceof K?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(pe=>this.applyUpdate(pe)),this.lazyUpdate=null))}copyFrom(pe){pe.init(),Array.from(pe.headers.keys()).forEach(we=>{this.headers.set(we,pe.headers.get(we)),this.normalizedNames.set(we,pe.normalizedNames.get(we))})}clone(pe){const we=new K;return we.lazyInit=this.lazyInit&&this.lazyInit instanceof K?this.lazyInit:this,we.lazyUpdate=(this.lazyUpdate||[]).concat([pe]),we}applyUpdate(pe){const we=pe.name.toLowerCase();switch(pe.op){case"a":case"s":let Qe=pe.value;if("string"==typeof Qe&&(Qe=[Qe]),0===Qe.length)return;this.maybeSetNormalizedName(pe.name,we);const nt=("a"===pe.op?this.headers.get(we):void 0)||[];nt.push(...Qe),this.headers.set(we,nt);break;case"d":const pt=pe.value;if(pt){let lt=this.headers.get(we);if(!lt)return;lt=lt.filter(zt=>-1===pt.indexOf(zt)),0===lt.length?(this.headers.delete(we),this.normalizedNames.delete(we)):this.headers.set(we,lt)}else this.headers.delete(we),this.normalizedNames.delete(we)}}setHeaderEntries(pe,we){const Qe=(Array.isArray(we)?we:[we]).map(pt=>pt.toString()),nt=pe.toLowerCase();this.headers.set(nt,Qe),this.maybeSetNormalizedName(pe,nt)}forEach(pe){this.init(),Array.from(this.normalizedNames.keys()).forEach(we=>pe(this.normalizedNames.get(we),this.headers.get(we)))}}class be{encodeKey(pe){return Et(pe)}encodeValue(pe){return Et(pe)}decodeKey(pe){return decodeURIComponent(pe)}decodeValue(pe){return decodeURIComponent(pe)}}const Le=/%(\d[a-f0-9])/gi,tt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Et(Ne){return encodeURIComponent(Ne).replace(Le,(pe,we)=>tt[we]??pe)}function rt(Ne){return`${Ne}`}class oe{constructor(pe={}){if(this.updates=null,this.cloneFrom=null,this.encoder=pe.encoder||new be,pe.fromString){if(pe.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function _e(Ne,pe){const we=new Map;return Ne.length>0&&Ne.replace(/^\?/,"").split("&").forEach(nt=>{const pt=nt.indexOf("="),[lt,zt]=-1==pt?[pe.decodeKey(nt),""]:[pe.decodeKey(nt.slice(0,pt)),pe.decodeValue(nt.slice(pt+1))],ct=we.get(lt)||[];ct.push(zt),we.set(lt,ct)}),we}(pe.fromString,this.encoder)}else pe.fromObject?(this.map=new Map,Object.keys(pe.fromObject).forEach(we=>{const Qe=pe.fromObject[we],nt=Array.isArray(Qe)?Qe.map(rt):[rt(Qe)];this.map.set(we,nt)})):this.map=null}has(pe){return this.init(),this.map.has(pe)}get(pe){this.init();const we=this.map.get(pe);return we?we[0]:null}getAll(pe){return this.init(),this.map.get(pe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(pe,we){return this.clone({param:pe,value:we,op:"a"})}appendAll(pe){const we=[];return Object.keys(pe).forEach(Qe=>{const nt=pe[Qe];Array.isArray(nt)?nt.forEach(pt=>{we.push({param:Qe,value:pt,op:"a"})}):we.push({param:Qe,value:nt,op:"a"})}),this.clone(we)}set(pe,we){return this.clone({param:pe,value:we,op:"s"})}delete(pe,we){return this.clone({param:pe,value:we,op:"d"})}toString(){return this.init(),this.keys().map(pe=>{const we=this.encoder.encodeKey(pe);return this.map.get(pe).map(Qe=>we+"="+this.encoder.encodeValue(Qe)).join("&")}).filter(pe=>""!==pe).join("&")}clone(pe){const we=new oe({encoder:this.encoder});return we.cloneFrom=this.cloneFrom||this,we.updates=(this.updates||[]).concat(pe),we}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(pe=>this.map.set(pe,this.cloneFrom.map.get(pe))),this.updates.forEach(pe=>{switch(pe.op){case"a":case"s":const we=("a"===pe.op?this.map.get(pe.param):void 0)||[];we.push(rt(pe.value)),this.map.set(pe.param,we);break;case"d":if(void 0===pe.value){this.map.delete(pe.param);break}{let Qe=this.map.get(pe.param)||[];const nt=Qe.indexOf(rt(pe.value));-1!==nt&&Qe.splice(nt,1),Qe.length>0?this.map.set(pe.param,Qe):this.map.delete(pe.param)}}}),this.cloneFrom=this.updates=null)}}class Pe{constructor(){this.map=new Map}set(pe,we){return this.map.set(pe,we),this}get(pe){return this.map.has(pe)||this.map.set(pe,pe.defaultValue()),this.map.get(pe)}delete(pe){return this.map.delete(pe),this}has(pe){return this.map.has(pe)}keys(){return this.map.keys()}}function et(Ne){return typeof ArrayBuffer<"u"&&Ne instanceof ArrayBuffer}function Xe(Ne){return typeof Blob<"u"&&Ne instanceof Blob}function bt(Ne){return typeof FormData<"u"&&Ne instanceof FormData}class Qt{constructor(pe,we,Qe,nt){let pt;if(this.url=we,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=pe.toUpperCase(),function We(Ne){switch(Ne){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||nt?(this.body=void 0!==Qe?Qe:null,pt=nt):pt=Qe,pt&&(this.reportProgress=!!pt.reportProgress,this.withCredentials=!!pt.withCredentials,pt.responseType&&(this.responseType=pt.responseType),pt.headers&&(this.headers=pt.headers),pt.context&&(this.context=pt.context),pt.params&&(this.params=pt.params)),this.headers||(this.headers=new K),this.context||(this.context=new Pe),this.params){const lt=this.params.toString();if(0===lt.length)this.urlWithParams=we;else{const zt=we.indexOf("?");this.urlWithParams=we+(-1===zt?"?":zt<we.length-1?"&":"")+lt}}else this.params=new oe,this.urlWithParams=we}serializeBody(){return null===this.body?null:et(this.body)||Xe(this.body)||bt(this.body)||function Mt(Ne){return typeof URLSearchParams<"u"&&Ne instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof oe?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||bt(this.body)?null:Xe(this.body)?this.body.type||null:et(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof oe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(pe={}){const we=pe.method||this.method,Qe=pe.url||this.url,nt=pe.responseType||this.responseType,pt=void 0!==pe.body?pe.body:this.body,lt=void 0!==pe.withCredentials?pe.withCredentials:this.withCredentials,zt=void 0!==pe.reportProgress?pe.reportProgress:this.reportProgress;let ct=pe.headers||this.headers,hn=pe.params||this.params;const bn=pe.context??this.context;return void 0!==pe.setHeaders&&(ct=Object.keys(pe.setHeaders).reduce((Kn,hi)=>Kn.set(hi,pe.setHeaders[hi]),ct)),pe.setParams&&(hn=Object.keys(pe.setParams).reduce((Kn,hi)=>Kn.set(hi,pe.setParams[hi]),hn)),new Qt(we,Qe,pt,{params:hn,headers:ct,context:bn,reportProgress:zt,responseType:nt,withCredentials:lt})}}var an=function(Ne){return Ne[Ne.Sent=0]="Sent",Ne[Ne.UploadProgress=1]="UploadProgress",Ne[Ne.ResponseHeader=2]="ResponseHeader",Ne[Ne.DownloadProgress=3]="DownloadProgress",Ne[Ne.Response=4]="Response",Ne[Ne.User=5]="User",Ne}(an||{});class ln{constructor(pe,we=200,Qe="OK"){this.headers=pe.headers||new K,this.status=void 0!==pe.status?pe.status:we,this.statusText=pe.statusText||Qe,this.url=pe.url||null,this.ok=this.status>=200&&this.status<300}}class gi extends ln{constructor(pe={}){super(pe),this.type=an.ResponseHeader}clone(pe={}){return new gi({headers:pe.headers||this.headers,status:void 0!==pe.status?pe.status:this.status,statusText:pe.statusText||this.statusText,url:pe.url||this.url||void 0})}}class Pn extends ln{constructor(pe={}){super(pe),this.type=an.Response,this.body=void 0!==pe.body?pe.body:null}clone(pe={}){return new Pn({body:void 0!==pe.body?pe.body:this.body,headers:pe.headers||this.headers,status:void 0!==pe.status?pe.status:this.status,statusText:pe.statusText||this.statusText,url:pe.url||this.url||void 0})}}class jn extends ln{constructor(pe){super(pe,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${pe.url||"(unknown url)"}`:`Http failure response for ${pe.url||"(unknown url)"}: ${pe.status} ${pe.statusText}`,this.error=pe.error||null}}function Ai(Ne,pe){return{body:pe,headers:Ne.headers,context:Ne.context,observe:Ne.observe,params:Ne.params,reportProgress:Ne.reportProgress,responseType:Ne.responseType,withCredentials:Ne.withCredentials}}let hr=(()=>{class Ne{constructor(we){this.handler=we}request(we,Qe,nt={}){let pt;if(we instanceof Qt)pt=we;else{let ct,hn;ct=nt.headers instanceof K?nt.headers:new K(nt.headers),nt.params&&(hn=nt.params instanceof oe?nt.params:new oe({fromObject:nt.params})),pt=new Qt(we,Qe,void 0!==nt.body?nt.body:null,{headers:ct,context:nt.context,params:hn,reportProgress:nt.reportProgress,responseType:nt.responseType||"json",withCredentials:nt.withCredentials})}const lt=(0,Y.of)(pt).pipe((0,te.H)(ct=>this.handler.handle(ct)));if(we instanceof Qt||"events"===nt.observe)return lt;
1const zt=lt.pipe((0,ce.p)(ct=>ct instanceof Pn));switch(nt.observe||"body"){case"body":switch(pt.responseType){case"arraybuffer":return zt.pipe((0,me.T)(ct=>{if(null!==ct.body&&!(ct.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ct.body}));case"blob":return zt.pipe((0,me.T)(ct=>{if(null!==ct.body&&!(ct.body instanceof Blob))throw new Error("Response is not a Blob.");return ct.body}));case"text":return zt.pipe((0,me.T)(ct=>{if(null!==ct.body&&"string"!=typeof ct.body)throw new Error("Response is not a string.");return ct.body}));default:return zt.pipe((0,me.T)(ct=>ct.body))}case"response":return zt;default:throw new Error(`Unreachable: unhandled observe type ${nt.observe}}`)}}delete(we,Qe={}){return this.request("DELETE",we,Qe)}get(we,Qe={}){return this.request("GET",we,Qe)}head(we,Qe={}){return this.request("HEAD",we,Qe)}jsonp(we,Qe){return this.request("JSONP",we,{params:(new oe).append(Qe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(we,Qe={}){return this.request("OPTIONS",we,Qe)}patch(we,Qe,nt={}){return this.request("PATCH",we,Ai(nt,Qe))}post(we,Qe,nt={}){return this.request("POST",we,Ai(nt,Qe))}put(we,Qe,nt={}){return this.request("PUT",we,Ai(nt,Qe))}static{this.\u0275fac=function(Qe){return new(Qe||Ne)(i.KVO(z))}}static{this.\u0275prov=i.jDH({token:Ne,factory:Ne.\u0275fac})}}return Ne})();function Ue(Ne,pe){return pe(Ne)}function Ut(Ne,pe){return(we,Qe)=>pe.intercept(we,{handle:nt=>Ne(nt,Qe)})}const ht=new i.nKC(""),Ot=new i.nKC(""),jt=new i.nKC("");function wn(){let Ne=null;return(pe,we)=>{null===Ne&&(Ne=((0,i.WQX)(ht,{optional:!0})??[]).reduceRight(Ut,Ue));const Qe=(0,i.WQX)(i.$K3),nt=Qe.add();return Ne(pe,we).pipe((0,he.j)(()=>Qe.remove(nt)))}}let De=(()=>{class Ne extends z{constructor(we,Qe){super(),this.backend=we,this.injector=Qe,this.chain=null,this.pendingTasks=(0,i.WQX)(i.$K3)}handle(we){if(null===this.chain){const nt=Array.from(new Set([...this.injector.get(Ot),...this.injector.get(jt,[])]));this.chain=nt.reduceRight((pt,lt)=>function vn(Ne,pe,we){return(Qe,nt)=>we.runInContext(()=>pe(Qe,pt=>Ne(pt,nt)))}(pt,lt,this.injector),Ue)}const Qe=this.pendingTasks.add();return this.chain(we,nt=>this.backend.handle(nt)).pipe((0,he.j)(()=>this.pendingTasks.remove(Qe)))}static{this.\u0275fac=function(Qe){return new(Qe||Ne)(i.KVO(J),i.KVO(i.uvJ))}}static{this.\u0275prov=i.jDH({token:Ne,factory:Ne.\u0275fac})}}return Ne})();const ci=/^\)\]\}',?\n/;let tn=(()=>{class Ne{constructor(we){this.xhrFactory=we}handle(we){if("JSONP"===we.method)throw new i.wOt(-2800,!1);const Qe=this.xhrFactory;return(Qe.\u0275loadImpl?(0,l.H)(Qe.\u0275loadImpl()):(0,Y.of)(null)).pipe((0,ae.n)(()=>new W.c(pt=>{const lt=Qe.build();if(lt.open(we.method,we.urlWithParams),we.withCredentials&&(lt.withCredentials=!0),we.headers.forEach((In,$)=>lt.setRequestHeader(In,$.join(","))),we.headers.has("Accept")||lt.setRequestHeader("Accept","application/json, text/plain, */*"),!we.headers.has("Content-Type")){const In=we.detectContentTypeHeader();null!==In&&lt.setRequestHeader("Content-Type",In)}if(we.responseType){const In=we.responseType.toLowerCase();lt.responseType="json"!==In?In:"text"}const zt=we.serializeBody();let ct=null;const hn=()=>{if(null!==ct)return ct;const In=lt.statusText||"OK",$=new K(lt.getAllResponseHeaders()),N=function en(Ne){return"responseURL"in Ne&&Ne.responseURL?Ne.responseURL:/^X-Request-URL:/m.test(Ne.getAllResponseHeaders())?Ne.getResponseHeader("X-Request-URL"):null}(lt)||we.url;return ct=new gi({headers:$,status:lt.status,statusText:In,url:N}),ct},bn=()=>{let{headers:In,status:$,statusText:N,url:P}=hn(),H=null;204!==$&&(H=typeof lt.response>"u"?lt.responseText:lt.response),0===$&&($=H?200:0);let ye=$>=200&&$<300;if("json"===we.responseType&&"string"==typeof H){const Ye=H;H=H.replace(ci,"");try{H=""!==H?JSON.parse(H):null}catch(It){H=Ye,ye&&(ye=!1,H={error:It,text:H})}}ye?(pt.next(new Pn({body:H,headers:In,status:$,statusText:N,url:P||void 0})),pt.complete()):pt.error(new jn({error:H,headers:In,status:$,statusText:N,url:P||void 0}))},Kn=In=>{const{url:$}=hn(),N=new jn({error:In,status:lt.status||0,statusText:lt.statusText||"Unknown Error",url:$||void 0});pt.error(N)};let hi=!1;const Xn=In=>{hi||(pt.next(hn()),hi=!0);let $={type:an.DownloadProgress,loaded:In.loaded};In.lengthComputable&&($.total=In.total),"text"===we.responseType&&lt.responseText&&($.partialText=lt.responseText),pt.next($)},ni=In=>{let $={type:an.UploadProgress,loaded:In.loaded};In.lengthComputable&&($.total=In.total),pt.next($)};return lt.addEventListener("load",bn),lt.addEventListener("error",Kn),lt.addEventListener("timeout",Kn),lt.addEventListener("abort",Kn),we.reportProgress&&(lt.addEventListener("progress",Xn),null!==zt&&lt.upload&&lt.upload.addEventListener("progress",ni)),lt.send(zt),pt.next({type:an.Sent}),()=>{lt.removeEventListener("error",Kn),lt.removeEventListener("abort",Kn),lt.removeEventListener("load",bn),lt.removeEventListener("timeout",Kn),we.reportProgress&&(lt.removeEventListener("progress",Xn),null!==zt&&lt.upload&&lt.upload.removeEventListener("progress",ni)),lt.readyState!==lt.DONE&&lt.abort()}})))}static{this.\u0275fac=function(Qe){return new(Qe||Ne)(i.KVO(ie.N0))}}static{this.\u0275prov=i.jDH({token:Ne,factory:Ne.\u0275fac})}}return Ne})();const Wn=new i.nKC("XSRF_ENABLED"),Tt=new i.nKC("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),nn=new i.nKC("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class _i{}let kn=(()=>{class Ne{constructor(we,Qe,nt){this.doc=we,this.platform=Qe,this.cookieName=nt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const we=this.doc.cookie||"";return we!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ie._b)(we,this.cookieName),this.lastCookieString=we),this.lastToken}static{this.\u0275fac=function(Qe){return new(Qe||Ne)(i.KVO(ie.qQ),i.KVO(i.Agw),i.KVO(Tt))}}static{this.\u0275prov=i.jDH({token:Ne,factory:Ne.\u0275fac})}}return Ne})();function Fi(Ne,pe){const we=Ne.url.toLowerCase();if(!(0,i.WQX)(Wn)||"GET"===Ne.method||"HEAD"===Ne.method||we.startsWith("http://")||we.startsWith("https://"))return pe(Ne);const Qe=(0,i.WQX)(_i).getToken(),nt=(0,i.WQX)(nn);return null!=Qe&&!Ne.headers.has(nt)&&(Ne=Ne.clone({headers:Ne.headers.set(nt,Qe)})),pe(Ne)}var vi=function(Ne){return Ne[Ne.Interceptors=0]="Interceptors",Ne[Ne.LegacyInterceptors=1]="LegacyInterceptors",Ne[Ne.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ne[Ne.NoXsrfProtection=3]="NoXsrfProtection",Ne[Ne.JsonpSupport=4]="JsonpSupport",Ne[Ne.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ne[Ne.Fetch=6]="Fetch",Ne}(vi||{});function yi(Ne,pe){return{\u0275kind:Ne,\u0275providers:pe}}function Cr(...Ne){const pe=[hr,tn,De,{provide:z,useExisting:De},{provide:J,useExisting:tn},{provide:Ot,useValue:Fi,multi:!0},{provide:Wn,useValue:!0},{provide:_i,useClass:kn}];for(const we of Ne)pe.push(...we.\u0275providers);return(0,i.EmA)(pe)}
vendor: 42,098 bytes, line 1
1const pr=new i.nKC("LEGACY_INTERCEPTOR_FN");let de=(()=>{class Ne{static{this.\u0275fac=function(Qe){return new(Qe||Ne)}}static{this.\u0275mod=i.$C({type:Ne})}static{this.\u0275inj=i.G2t({providers:[Cr(yi(vi.LegacyInterceptors,[{provide:pr,useFactory:wn},{provide:Ot,useExisting:pr,multi:!0}]))]})}}return Ne})()},7705:(st,Oe,T)=>{T.d(Oe,{$C:()=>wo,$GK:()=>_t,$K3:()=>oy,$MX:()=>Dc,AVh:()=>Ep,Af3:()=>Qd,Agw:()=>If,B4B:()=>dr,BIS:()=>e1,BMQ:()=>op,C4Q:()=>td,C5r:()=>V0,Co$:()=>Jv,DNE:()=>w_,E5c:()=>Sp,EBC:()=>bm,EFF:()=>iv,EJ8:()=>to,EmA:()=>Za,FCK:()=>vp,FS9:()=>_p,FsC:()=>Ji,G2t:()=>jt,GBs:()=>R0,GFd:()=>c_,H3F:()=>ry,H5H:()=>Ap,H8p:()=>Cc,HJs:()=>DM,HbH:()=>Q_,Hbi:()=>aM,JRh:()=>Tp,JZv:()=>tn,Jv_:()=>Qv,KH2:()=>Hc,KVO:()=>dt,Kcf:()=>Kg,L39:()=>vM,LfX:()=>De,Lme:()=>Op,MKu:()=>dg,Mr5:()=>Ip,Mz_:()=>fh,NAR:()=>k_,NEm:()=>BE,NYb:()=>RE,Njj:()=>La,O8t:()=>$e,OA$:()=>un,OM3:()=>ku,Ocv:()=>cE,Ol2:()=>qv,PLl:()=>em,QTQ:()=>km,Ql9:()=>hE,QuC:()=>Vr,R7$:()=>Pm,RV6:()=>S_,Rfq:()=>be,RxE:()=>am,SKi:()=>Jr,SdG:()=>F_,SpI:()=>mh,TL$:()=>jd,Tbb:()=>J,UyX:()=>wf,VBU:()=>Pr,Vns:()=>Xl,Vt3:()=>ip,WHO:()=>cy,WPN:()=>Bn,WQX:()=>Lt,XpG:()=>R_,Xx1:()=>iu,Y8G:()=>dp,Z63:()=>ls,ZF7:()=>Vl,ZvI:()=>dv,_9s:()=>sm,_q3:()=>ug,a0P:()=>bM,aKT:()=>Fu,aNF:()=>e0,abz:()=>Lu,bIt:()=>mp,bMT:()=>y0,bVm:()=>hh,bc$:()=>qy,bkB:()=>na,brH:()=>D0,c1b:()=>Eh,cWb:()=>Xg,czy:()=>pc,e01:()=>uy,e5t:()=>Qg,eBV:()=>gl,eq3:()=>c0,eu8:()=>pp,f$h:()=>ir,fpN:()=>sM,gRc:()=>WE,gXe:()=>lt,giA:()=>dy,h9k:()=>Si,hnV:()=>iy,i5U:()=>b0,iLQ:()=>rg,j41:()=>ch,jDH:()=>ht,jNT:()=>gp,joV:()=>Q,k0s:()=>uh,kS0:()=>eu,kdw:()=>ru,l4e:()=>h0,lJ4:()=>l0,lNU:()=>rt,l_i:()=>u0,lsd:()=>F0,mGM:()=>P0,mq5:()=>Dv,n$t:()=>ea,nI1:()=>v0,nKC:()=>Tt,nM4:()=>o_,nnv:()=>Xv,npT:()=>Ii,nrm:()=>fp,o8S:()=>Kc,oH4:()=>gy,osQ:()=>Yg,pJN:()=>xu,pXf:()=>Kv,plB:()=>Xp,qSk:()=>M,qex:()=>dh,rOR:()=>Dh,rXU:()=>Nc,rcV:()=>qs,sFG:()=>_1,sMw:()=>d0,sZ2:()=>qg,sdS:()=>M_,tSv:()=>ym,uP7:()=>Rp,uvJ:()=>Ro,w6W:()=>tC,wOt:()=>oe,wni:()=>k0,xGo:()=>od,xc7:()=>Cp,xe9:()=>Th,yjJ:()=>yp,zZn:()=>Fs,zcH:()=>nl,zjR:()=>I_,zvX:()=>Np,zw6:()=>n1});var i=T(1413),Y=T(8359),l=T(1985),W=T(7786),te=T(4412),ce=T(7673),me=T(7647),he=T(5558),ae=T(3294);function ie(e){for(let t in e)if(e[t]===ie)return t;throw Error("Could not find renamed property on target object.")}function z(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function J(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(J).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 K(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const X=ie({__forward_ref__:ie});function be(e){return e.__forward_ref__=be,e.toString=function(){return J(this())},e}function _e(e){return Le(e)?e():e}function Le(e){return"function"==typeof e&&e.hasOwnProperty(X)&&e.__forward_ref__===be}function tt(e){return e&&!!e.\u0275providers}const rt="https://g.co/ng/security#xss";class oe extends Error{constructor(t,n){super(function Ce(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Pe(e){return"string"==typeof e?e:null==e?"":String(e)}function Mt(e,t){throw new oe(-201,!1)}function ue(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function ht(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function jt(e){return{providers:e.providers||[],imports:e.imports||[]}}function wn(e){return Me(e,qe)||Me(e,Cn)}function De(e){return null!==wn(e)}function Me(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ke(e){return e&&(e.hasOwnProperty(yt)||e.hasOwnProperty(qt))?e[yt]:null}const qe=ie({\u0275prov:ie}),yt=ie({\u0275inj:ie}),Cn=ie({ngInjectableDef:ie}),qt=ie({ngInjectorDef:ie});var _t=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}(_t||{});let Rt;function Ht(){return Rt}function En(e){const t=Rt;return Rt=e,t}function ci(e,t,n){const r=wn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&_t.Optional?null:void 0!==t?t:void Mt(J(e))}const tn=globalThis;class Tt{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=ht({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Zn={},xi="__NG_DI_FLAG__",Ei="ngTempTokenPath",Ge=/\n/gm,Z="__source";let de;function ft(e){const t=de;return de=e,t}function xt(e,t=_t.Default){if(void 0===de)throw new oe(-203,!1);return null===de?ci(e,void 0,t):de.get(e,t&_t.Optional?null:void 0,t)}function dt(e,t=_t.Default){return(Ht()||xt)(_e(e),t)}function Lt(e,t=_t.Default){return dt(e,Sn(t))}function Sn(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function di(e){const t=[];for(let n=0;n<e.length;n++){const r=_e(e[n]);if(Array.isArray(r)){if(0===r.length)throw new oe(900,!1);let s,d=_t.Default;for(let h=0;h<r.length;h++){const v=r[h],D=pe(v);"number"==typeof D?-1===D?s=v.token:d|=D:s=v}t.push(dt(s,d))}else t.push(dt(r))}return t}function Ne(e,t){return e[xi]=t,e.prototype[xi]=t,e}function pe(e){return e[xi]}function nt(e){return{toString:e}.toString()}var pt=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(pt||{}),lt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(lt||{});const zt={},ct=[],hn=ie({\u0275cmp:ie}),bn=ie({\u0275dir:ie}),Kn=ie({\u0275pipe:ie}),hi=ie({\u0275mod:ie}),Xn=ie({\u0275fac:ie}),ni=ie({__NG_ELEMENT_ID__:ie}),In=ie({__NG_ENV_ID__:ie});function $(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const d=t.length;if(s+d===r||e.charCodeAt(s+d)<=32)return s}n=s+1}}function N(e,t,n){let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const d=n[r++],h=n[r++],v=n[r++];e.setAttribute(t,h,v,d)}else{const d=s,h=n[++r];H(d)?e.setProperty(t,d,h):e.setAttribute(t,d,h),r++}}return r}function P(e){return 3===e||4===e||6===e}function H(e){return 64===e.charCodeAt(0)}function ye(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||Ye(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Ye(e,t,n,r,s){let d=0,h=e.length;if(-1===t)h=-1;else for(;d<e.length;){const v=e[d++];if("number"==typeof v){if(v===t){h=-1;break}if(v>t){h=d-1;break}}}for(;d<e.length;){const v=e[d];if("number"==typeof v)break;if(v===n){if(null===r)return void(null!==s&&(e[d+1]=s));if(r===e[d+1])return void(e[d+2]=s)}d++,null!==r&&d++,null!==s&&d++}-1!==h&&(e.splice(h,0,t),d=h+1),e.splice(d++,0,n),null!==r&&e.splice(d++,0,r),null!==s&&e.splice(d++,0,s)}const It="ng-template";function kt(e,t,n){let r=0,s=!0;for(;r<e.length;){let d=e[r++];if("string"==typeof d&&s){const h=e[r++];if(n&&"class"===d&&-1!==$(h.toLowerCase(),t,0))return!0}else{if(1===d){for(;r<e.length&&"string"==typeof(d=e[r++]);)if(d.toLowerCase()===t)return!0;return!1}"number"==typeof d&&(s=!1)}}return!1}function on(e){return 4===e.type&&e.value!==It}function Mi(e,t,n){return t===(4!==e.type||n?e.value:It)}function ii(e,t,n){let r=4;const s=e.attrs||[],d=function Yi(e){for(let t=0;t<e.length;t++)if(P(e[t]))return t;return e.length}(s);let h=!1;for(let v=0;v<t.length;v++){const D=t[v];if("number"!=typeof D){if(!h)if(4&r){if(r=2|1&r,""!==D&&!Mi(e,D,n)||""===D&&1===t.length){if(Yn(r))return!1;h=!0}}else{const A=8&r?D:t[++v];if(8&r&&null!==e.attrs){if(!kt(e.attrs,A,n)){if(Yn(r))return!1;h=!0}continue}const ee=Zr(8&r?"class":D,s,on(e),n);if(-1===ee){if(Yn(r))return!1;h=!0;continue}if(""!==A){let Te;Te=ee>d?"":s[ee+1].toLowerCase();const Ae=8&r?Te:null;if(Ae&&-1!==$(Ae,A,0)||2&r&&A!==Te){if(Yn(r))return!1;h=!0}}}}else{if(!h&&!Yn(r)&&!Yn(D))return!1;if(h&&Yn(D))continue;h=!1,r=D|1&r}}return Yn(r)||h}function Yn(e){return 0==(1&e)}function Zr(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let d=!1;for(;s<t.length;){const h=t[s];if(h===e)return s;if(3===h||6===h)d=!0;else{if(1===h||2===h){let v=t[++s];for(;"string"==typeof v;)v=t[++s];continue}if(4===h)break;if(0===h){s+=4;continue}}s+=d?1:2}return-1}return function xr(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Ds(e,t,n=!1){for(let r=0;r<t.length;r++)if(ii(e,t[r],n))return!0;return!1}function Qi(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let s=0;s<e.length;s++)if(e[s]!==r[s])continue e;return!0}}return!1}function jr(e,t){return e?":not("+t.trim()+")":t}function Er(e){let t=e[0],n=1,r=2,s="",d=!1;for(;n<e.length;){let h=e[n];if("string"==typeof h)if(2&r){const v=e[++n];s+="["+h+(v.length>0?'="'+v+'"':"")+"]"}else 8&r?s+="."+h:4&r&&(s+=" "+h);else""!==s&&!Yn(h)&&(t+=jr(d,s),s=""),r=h,d=d||!Yn(r);n++}return""!==s&&(t+=jr(d,s)),t}function Pr(e){return nt(()=>{const t=$r(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===pt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||lt.Emulated,styles:e.styles||ct,_:null,schemas:e.schemas||null,tView:null,id:""};fo(n);const r=e.dependencies;return n.directiveDefs=Lo(r,!1),n.pipeDefs=Lo(r,!0),n.id=function Co(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 s of n)t=Math.imul(31,t)+s.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Xo(e){return Bt(e)||qn(e)}function qr(e){return null!==e}function wo(e){return nt(()=>({type:e.type,bootstrap:e.bootstrap||ct,declarations:e.declarations||ct,imports:e.imports||ct,exports:e.exports||ct,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Fo(e,t){if(null==e)return zt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],d=s;Array.isArray(s)&&(d=s[1],s=s[0]),n[s]=r,t&&(t[s]=d)}return n}function Ji(e){return nt(()=>{const t=$r(e);return fo(t),t})}function to(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 Bt(e){return e[hn]||null}function qn(e){return e[bn]||null}function ai(e){return e[Kn]||null}function Vr(e){const t=Bt(e)||qn(e)||ai(e);return null!==t&&t.standalone}function bi(e,t){const n=e[hi]||null;if(!n&&!0===t)throw new Error(`Type ${J(e)} does not have '\u0275mod' property.`);return n}function $r(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||zt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ct,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fo(e.inputs,t),outputs:Fo(e.outputs)}}function fo(e){e.features?.forEach(t=>t(e))}function Lo(e,t){if(!e)return null;const n=t?ai:Xo;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(qr)}const Un=0,wt=1,Zt=2,xn=3,Hi=4,Zi=5,fi=6,Ur=7,Qn=8,qi=9,Li=10,Gt=11,mr=12,po=13,no=14,Gn=15,io=16,rr=17,Mr=18,Tr=19,js=20,Hr=21,_r=22,Or=23,zi=24,sn=25,go=1,Bi=2,or=7,Rr=9,Gi=11;function Di(e){return Array.isArray(e)&&"object"==typeof e[go]}function ji(e){return Array.isArray(e)&&!0===e[go]}function ws(e){return 0!=(4&e.flags)}function Wt(e){return e.componentOffset>-1}function mo(e){return 1==(1&e.flags)}function Sr(e){return!!e.template}function ds(e){return 0!=(512&e[Zt])}function vo(e,t){return e.hasOwnProperty(Xn)?e[Xn]:null}let li=null,Vo=!1;function Wi(e){const t=li;return li=e,t}const Yo={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 $o(e){if(!Qo(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Ts(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function ro(e){e.dirty=!0,function Ti(e){if(void 0===e.liveConsumerNode)return;const t=Vo;Vo=!0;try{for(const n of e.liveConsumerNode)n.dirty||ro(n)}finally{Vo=t}}(e),e.consumerMarkedDirty?.(e)}function Es(e){return e&&(e.nextProducerIndex=0),Wi(e)}function Ms(e,t){if(Wi(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Qo(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ss(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ts(e){Jo(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||($o(n),r!==n.version))return!0}return!1}function Os(e){if(Jo(e),Qo(e))for(let t=0;t<e.producerNode.length;t++)Ss(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Ss(e,t){if(function Hs(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),Jo(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Ss(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],s=e.liveConsumerNode[t];Jo(s),s.producerIndexOfThis[r]=t}}function Qo(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Jo(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let ua=null;function $e(e){const t=Wi(null);try{return e()}finally{Wi(t)}}const At=()=>{},zn=(()=>({...Yo,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:At}))();class Vn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function un(){return pi}function pi(e){return e.type.prototype.ngOnChanges&&(e.setInput=Vi),Hn}function Hn(){const e=sr(this),t=e?.current;if(t){const n=e.previous;if(n===zt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Vi(e,t,n,r){const s=this.declaredInputs[n],d=sr(e)||function Mo(e,t){return e[oo]=t}(e,{previous:zt,current:null}),h=d.current||(d.current={}),v=d.previous,D=v[s];h[s]=new Vn(D&&D.currentValue,t,v===zt),e[r]=t}un.ngInherit=!0;const oo="__ngSimpleChanges__";function sr(e){return e[oo]||null}const $i=function(e,t,n){},To="svg";function si(e){for(;Array.isArray(e);)e=e[Un];return e}function Zo(e,t){return si(t[e])}function Nr(e,t){return si(t[e.index])}function da(e,t){return e.data[t]}function As(e,t){return e[t]}function Wr(e,t){const n=t[e];return Di(n)?n:n[Un]}function qo(e,t){return null==t?null:e[t]}function Ra(e){e[rr]=0}function Oo(e){1024&e[Zt]||(e[Zt]|=1024,Zl(e,1))}function fl(e){1024&e[Zt]&&(e[Zt]&=-1025,Zl(e,-1))}function Zl(e,t){let n=e[xn];if(null===n)return;n[Zi]+=t;let r=n;for(n=n[xn];null!==n&&(1===t&&1===r[Zi]||-1===t&&0===r[Zi]);)n[Zi]+=t,r=n,n=n[xn]}function ql(e,t){if(256==(256&e[Zt]))throw new oe(911,!1);null===e[Hr]&&(e[Hr]=[]),e[Hr].push(t)}const rn={lFrame:Dr(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function fa(){return rn.bindingsEnabled}function gs(){return null!==rn.skipHydrationRootTNode}function it(){return rn.lFrame.lView}function Fn(){return rn.lFrame.tView}function gl(e){return rn.lFrame.contextLView=e,e[Qn]}function La(e){return rn.lFrame.contextLView=null,e}function tr(){let e=ml();for(;null!==e&&64===e.type;)e=e.parent;return e}function ml(){return rn.lFrame.currentTNode}function Ki(){const e=rn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function So(e,t){const n=rn.lFrame;n.currentTNode=e,n.isParent=t}function pa(){return rn.lFrame.isParent}function yo(){rn.lFrame.isParent=!1}function br(){const e=rn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Io(){return rn.lFrame.bindingIndex}function xs(){return rn.lFrame.bindingIndex++}function y(e){const t=rn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function _(e){rn.lFrame.inI18n=e}function E(e,t){const n=rn.lFrame;n.bindingIndex=n.bindingRootIndex=e,U(t)}function U(e){rn.lFrame.currentDirectiveIndex=e}function re(e){const t=rn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function je(){return rn.lFrame.currentQueryIndex}function ke(e){rn.lFrame.currentQueryIndex=e}function gt(e){const t=e[wt];return 2===t.type?t.declTNode:1===t.type?e[fi]:null}function cn(e,t,n){if(n&_t.SkipSelf){let s=t,d=e;for(;!(s=s.parent,null!==s||n&_t.Host||(s=gt(d),null===s||(d=d[no],10&s.type))););if(null===s)return!1;t=s,e=d}const r=rn.lFrame=Mn();return r.currentTNode=t,r.lView=e,!0}function ti(e){const t=Mn(),n=e[wt];rn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Mn(){const e=rn.lFrame,t=null===e?null:e.child;return null===t?Dr(e):t}function Dr(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 ts(){const e=rn.lFrame;return rn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ns=ts;function is(){const e=ts();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 f(){return rn.lFrame.selectedIndex}function u(e){rn.lFrame.selectedIndex=e}function g(){const e=rn.lFrame;return da(e.tView,e.selectedIndex)}function M(){rn.lFrame.currentNamespace=To}function Q(){!function le(){rn.lFrame.currentNamespace=null}()}let He=!0;function vt(){return He}function Ct(e){He=e}function Jt(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const d=e.data[n].type.prototype,{ngAfterContentInit:h,ngAfterContentChecked:v,ngAfterViewInit:D,ngAfterViewChecked:A,ngOnDestroy:V}=d;h&&(e.contentHooks??=[]).push(-n,h),v&&((e.contentHooks??=[]).push(n,v),(e.contentCheckHooks??=[]).push(n,v)),D&&(e.viewHooks??=[]).push(-n,D),A&&((e.viewHooks??=[]).push(n,A),(e.viewCheckHooks??=[]).push(n,A)),null!=V&&(e.destroyHooks??=[]).push(n,V)}}function Ft(e,t,n){Pi(e,t,3,n)}function Kt(e,t,n,r){(3&e[Zt])===n&&Pi(e,t,n,r)}function mn(e,t){let n=e[Zt];(3&n)===t&&(n&=8191,n+=1,e[Zt]=n)}function Pi(e,t,n,r){const d=r??-1,h=t.length-1;let v=0;for(let D=void 0!==r?65535&e[rr]:0;D<h;D++)if("number"==typeof t[D+1]){if(v=t[D],null!=r&&v>=r)break}else t[D]<0&&(e[rr]+=65536),(v<d||-1==d)&&(Fr(e,n,t,D),e[rr]=(4294901760&e[rr])+D+2),D++}function Ri(e,t){$i(4,e,t);const n=Wi(null);try{t.call(e)}finally{Wi(n),$i(5,e,t)}}function Fr(e,t,n,r){const s=n[r]<0,d=n[r+1],v=e[s?-n[r]:n[r]];s?e[Zt]>>13<e[rr]>>16&&(3&e[Zt])===t&&(e[Zt]+=8192,Ri(v,d)):Ri(v,d)}const Oi=-1;class ar{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ja(e){return e!==Oi}function Uo(e){return 32767&e}function $t(e,t){let n=function Pt(e){return e>>16}(e),r=t;for(;n>0;)r=r[no],n--;return r}let Nt=!0;function _n(e){const t=Nt;return Nt=e,t}const No=255,Yr=5;let Ao=0;const $n={};function Va(e,t){const n=_s(e,t);if(-1!==n)return n;const r=t[wt];r.firstCreatePass&&(e.injectorIndex=t.length,ur(r.data,e),ur(t,null),ur(r.blueprint,null));const s=Lr(e,t),d=e.injectorIndex;if(ja(s)){const h=Uo(s),v=$t(s,t),D=v[wt].data;for(let A=0;A<8;A++)t[d+A]=v[h+A]|D[h+A]}return t[d+8]=s,d}function ur(e,t){e.push(0,0,0,0,0,0,0,0,t)}function _s(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Lr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){if(r=lc(s),null===r)return Oi;if(n++,s=s[no],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Oi}function Ks(e,t,n){!function oc(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ni)&&(r=n[ni]),null==r&&(r=n[ni]=Ao++);const s=r&No;t.data[e+(s>>Yr)]|=1<<s}(e,t,n)}function qc(e,t,n){if(n&_t.Optional||void 0!==e)return e;Mt()}function yl(e,t,n,r){if(n&_t.Optional&&void 0===r&&(r=null),!(n&(_t.Self|_t.Host))){const s=e[qi],d=En(void 0);try{return s?s.get(t,r,n&_t.Optional):ci(t,r,n&_t.Optional)}finally{En(d)}}return qc(r,0,n)}function rd(e,t,n,r=_t.Default,s){if(null!==e){if(2048&t[Zt]&&!(r&_t.Self)){const h=function kh(e,t,n,r,s){let d=e,h=t;for(;null!==d&&null!==h&&2048&h[Zt]&&!(512&h[Zt]);){const v=bl(d,h,n,r|_t.Self,$n);if(v!==$n)return v;let D=d.parent;if(!D){const A=h[js];if(A){const V=A.get(n,$n,r);if(V!==$n)return V}D=lc(h),h=h[no]}d=D}return s}(e,t,n,r,$n);if(h!==$n)return h}const d=bl(e,t,n,r,$n);if(d!==$n)return d}return yl(t,n,r,s)}function bl(e,t,n,r,s){const d=function Ph(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ni)?e[ni]:void 0;return"number"==typeof t?t>=0?t&No:wi:t}(n);if("function"==typeof d){if(!cn(t,e,r))return r&_t.Host?qc(s,0,r):yl(t,n,r,s);try{let h;if(h=d(r),null!=h||r&_t.Optional)return h;Mt()}finally{ns()}}else if("number"==typeof d){let h=null,v=_s(e,t),D=Oi,A=r&_t.Host?t[Gn][fi]:null;for((-1===v||r&_t.SkipSelf)&&(D=-1===v?Lr(e,t):t[v+8],D!==Oi&&Dl(r,!1)?(h=t[wt],v=Uo(D),t=$t(D,t)):v=-1);-1!==v;){const V=t[wt];if(ac(d,v,V.data)){const ee=xh(v,t,n,h,r,A);if(ee!==$n)return ee}D=t[v+8],D!==Oi&&Dl(r,t[wt].data[v+8]===A)&&ac(d,v,t)?(h=V,v=Uo(D),t=$t(D,t)):v=-1}}return s}function xh(e,t,n,r,s,d){const h=t[wt],v=h.data[e+8],V=sc(v,h,n,null==r?Wt(v)&&Nt:r!=h&&0!=(3&v.type),s&_t.Host&&d===v);return null!==V?xo(t,h,V,v):$n}function sc(e,t,n,r,s){const d=e.providerIndexes,h=t.data,v=1048575&d,D=e.directiveStart,V=d>>20,Te=s?v+V:e.directiveEnd;for(let Ae=r?v:v+V;Ae<Te;Ae++){const Je=h[Ae];if(Ae<D&&n===Je||Ae>=D&&Je.type===n)return Ae}if(s){const Ae=h[D];if(Ae&&Sr(Ae)&&Ae.type===n)return D}return null}function xo(e,t,n,r){let s=e[n];const d=t.data;if(function ao(e){return e instanceof ar}(s)){const h=s;h.resolving&&function et(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new oe(-200,`Circular dependency in DI detected for ${e}${n}`)}(function We(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Pe(e)}(d[n]));const v=_n(h.canSeeViewProviders);h.resolving=!0;const A=h.injectImpl?En(h.injectImpl):null;cn(e,r,_t.Default);try{s=e[n]=h.factory(void 0,d,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Nn(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:d}=t.type.prototype;if(r){const h=pi(t);(n.preOrderHooks??=[]).push(e,h),(n.preOrderCheckHooks??=[]).push(e,h)}s&&(n.preOrderHooks??=[]).push(0-e,s),d&&((n.preOrderHooks??=[]).push(e,d),(n.preOrderCheckHooks??=[]).push(e,d))}(n,d[n],t)}finally{null!==A&&En(A),_n(v),h.resolving=!1,ns()}}return s}function ac(e,t,n){return!!(n[t+(e>>Yr)]&1<<e)}function Dl(e,t){return!(e&_t.Self||e&_t.Host&&t)}class lo{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return rd(this._tNode,this._lView,t,Sn(r),n)}}function wi(){return new lo(tr(),it())}function od(e){return nt(()=>{const t=e.prototype.constructor,n=t[Xn]||Cl(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const d=s[Xn]||Cl(s);if(d&&d!==n)return d;s=Object.getPrototypeOf(s)}return d=>new d})}function Cl(e){return Le(e)?()=>{const t=Cl(_e(e));return t&&t()}:vo(e)}function lc(e){const t=e[wt],n=t.type;return 2===n?t.declTNode:1===n?e[fi]:null}function eu(e){return function vl(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 s=0;for(;s<r;){const d=n[s];if(P(d))break;if(0===d)s+=2;else if("number"==typeof d)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(d===t)return n[s+1];s+=2}}}return null}(tr(),e)}const ma="__parameters__";function $a(e,t,n){return nt(()=>{const r=function cc(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}(t);function s(...d){if(this instanceof s)return r.apply(this,d),this;const h=new s(...d);return v.annotation=h,v;function v(D,A,V){const ee=D.hasOwnProperty(ma)?D[ma]:Object.defineProperty(D,ma,{value:[]})[ma];for(;ee.length<=V;)ee.push(null);return(ee[V]=ee[V]||[]).push(h),D}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function _a(e,t){e.forEach(n=>Array.isArray(n)?_a(n,t):t(n))}function tu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Tl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ha(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ho(e,t,n){let r=Ol(e,t);return r>=0?e[1|r]=n:(r=~r,function zh(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ad(e,t){const n=Ol(e,t);if(n>=0)return e[1|n]}function Ol(e,t){return function Wh(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const d=r+(s-r>>1),h=e[d<<n];if(t===h)return d<<n;h>t?s=d:r=d+1}return~(s<<n)}(e,t,1)}const iu=Ne($a("Optional"),8),ru=Ne($a("SkipSelf"),4);function cu(e){return 128==(128&e.flags)}var pc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(pc||{});const Ig=/^>|^->|<!--|-->|--!>|<!-$/g,uu=/(<|>)/g,du="\u200b$1\u200b";const gc=new Map;let Rl=0;const pu="__ngContext__";function Ar(e,t){Di(t)?(e[pu]=t[Tr],function hu(e){gc.set(e[Tr],e)}(t)):e[pu]=t}let Zs;function Rs(e,t){return Zs(e,t)}function Ka(e){const t=e[xn];return ji(t)?t[xn]:t}function Ed(e){return _u(e[mr])}function mc(e){return _u(e[Hi])}function _u(e){for(;null!==e&&!ji(e);)e=e[Hi];return e}function Ll(e,t,n,r,s){if(null!=r){let d,h=!1;ji(r)?d=r:Di(r)&&(h=!0,r=r[Un]);const v=si(r);0===e&&null!==n?null==s?bu(t,n,v):Qa(t,n,v,s||null,!0):1===e&&null!==n?Qa(t,n,v,s||null,!0):2===e?Eu(t,v,h):3===e&&t.destroyNode(v),null!=d&&function Bg(e,t,n,r,s){const d=n[or];d!==si(n)&&Ll(t,e,r,d,s);for(let v=Gi;v<n.length;v++){const D=n[v];bc(D[wt],D,e,t,r,d)}}(t,e,d,n,s)}}function Xa(e,t){return e.createText(t)}function Md(e,t,n){e.setValue(t,n)}function _c(e,t){return e.createComment(function Pl(e){return e.replace(Ig,t=>t.replace(uu,du))}(t))}function Bl(e,t,n){return e.createElement(t,n)}function cf(e,t){const n=e[Rr],r=n.indexOf(t);fl(t),n.splice(r,1)}function Ya(e,t){if(e.length<=Gi)return;const n=Gi+t,r=e[n];if(r){const s=r[io];null!==s&&s!==e&&cf(s,r),t>0&&(e[n-1][Hi]=r[Hi]);const d=Tl(e,Gi+t);!function Td(e,t){bc(e,t,t[Gt],2,null,null),t[Un]=null,t[fi]=null}(r[wt],r);const h=d[Mr];null!==h&&h.detachView(d[wt]),r[xn]=null,r[Hi]=null,r[Zt]&=-129}return r}function vu(e,t){if(!(256&t[Zt])){const n=t[Gt];t[Or]&&Os(t[Or]),t[zi]&&Os(t[zi]),n.destroyNode&&bc(e,t,n,3,null,null),function Id(e){let t=e[mr];if(!t)return yu(e[wt],e);for(;t;){let n=null;if(Di(t))n=t[mr];else{const r=t[Gi];r&&(n=r)}if(!n){for(;t&&!t[Hi]&&t!==e;)Di(t)&&yu(t[wt],t),t=t[xn];null===t&&(t=e),Di(t)&&yu(t[wt],t),n=t&&t[Hi]}t=n}}(t)}}function yu(e,t){if(!(256&t[Zt])){t[Zt]&=-129,t[Zt]|=256,function Rg(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof ar)){const d=n[r+1];if(Array.isArray(d))for(let h=0;h<d.length;h+=2){const v=s[d[h]],D=d[h+1];$i(4,v,D);try{D.call(v)}finally{$i(5,v,D)}}else{$i(4,s,d);try{d.call(s)}finally{$i(5,s,d)}}}}}(e,t),function Pg(e,t){const n=e.cleanup,r=t[Ur];if(null!==n)for(let d=0;d<n.length-1;d+=2)if("string"==typeof n[d]){const h=n[d+3];h>=0?r[h]():r[-h].unsubscribe(),d+=2}else n[d].call(r[n[d+1]]);null!==r&&(t[Ur]=null);const s=t[Hr];if(null!==s){t[Hr]=null;for(let d=0;d<s.length;d++)(0,s[d])()}}(e,t),1===t[wt].type&&t[Gt].destroy();const n=t[io];if(null!==n&&ji(t[xn])){n!==t[xn]&&cf(n,t);const r=t[Mr];null!==r&&r.detachView(e)}!function Ag(e){gc.delete(e[Tr])}(t)}}function Ad(e,t,n){return uf(e,t.parent,n)}function uf(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[Un];{const{componentOffset:s}=r;if(s>-1){const{encapsulation:d}=e.data[r.directiveStart+s];if(d===lt.None||d===lt.Emulated)return null}return Nr(r,n)}}function Qa(e,t,n,r,s){e.insertBefore(t,n,r,s)}function bu(e,t,n){e.appendChild(t,n)}function df(e,t,n,r,s){null!==r?Qa(e,t,n,r,s):bu(e,t,n)}function Du(e,t){return e.parentNode(t)}function wu(e,t,n){return Pd(e,t,n)}function xd(e,t,n){return 40&e.type?Nr(e,n):null}let Rd,Mu,Bd,Tu,Pd=xd;function ff(e,t){Pd=e,Rd=t}function Cu(e,t,n,r){const s=Ad(e,r,t),d=t[Gt],v=wu(r.parent||t[fi],r,t);if(null!=s)if(Array.isArray(n))for(let D=0;D<n.length;D++)df(d,s,n[D],v,!1);else df(d,s,n,v,!1);void 0!==Rd&&Rd(d,r,t,n,s)}function vc(e,t){if(null!==t){const n=t.type;if(3&n)return Nr(t,e);if(4&n)return kd(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return vc(e,r);{const s=e[t.index];return ji(s)?kd(-1,s):si(s)}}if(32&n)return Rs(t,e)()||si(e[t.index]);{const r=pf(e,t);return null!==r?Array.isArray(r)?r[0]:vc(Ka(e[Gn]),r):vc(e,t.next)}}return null}function pf(e,t){return null!==t?e[Gn][fi].projection[t.projection]:null}function kd(e,t){const n=Gi+e+1;if(n<t.length){const r=t[n],s=r[wt].firstChild;if(null!==s)return vc(r,s)}return t[or]}function Eu(e,t,n){const r=Du(e,t);r&&function kg(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}function yc(e,t,n,r,s,d,h){for(;null!=n;){const v=r[n.index],D=n.type;if(h&&0===t&&(v&&Ar(si(v),r),n.flags|=2),32!=(32&n.flags))if(8&D)yc(e,t,n.child,r,s,d,!1),Ll(t,e,s,v,d);else if(32&D){const A=Rs(n,r);let V;for(;V=A();)Ll(t,e,s,V,d);Ll(t,e,s,v,d)}else 16&D?mf(e,t,r,n,s,d):Ll(t,e,s,v,d);n=h?n.projectionNext:n.next}}function bc(e,t,n,r,s,d){yc(n,r,e.firstChild,t,s,d,!1)}function mf(e,t,n,r,s,d){const h=n[Gn],D=h[fi].projection[r.projection];if(Array.isArray(D))for(let A=0;A<D.length;A++)Ll(t,e,s,D[A],d);else{let A=D;const V=h[xn];cu(r)&&(A.flags|=128),yc(e,t,A,V,s,d,!0)}}function vf(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Fd(e,t,n){const{mergedAttrs:r,classes:s,styles:d}=n;null!==r&&N(e,t,r),null!==s&&vf(e,t,s),null!==d&&function jg(e,t,n){e.setAttribute(t,"style",n)}(e,t,d)}function va(e){return function Ld(){if(void 0===Mu&&(Mu=null,tn.trustedTypes))try{Mu=tn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Mu}()?.createHTML(e)||e}function jd(e){Bd=e}function jl(){if(void 0!==Bd)return Bd;if(typeof document<"u")return document;throw new oe(210,!1)}function Vd(){if(void 0===Tu&&(Tu=null,tn.trustedTypes))try{Tu=tn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Tu}function yf(e){return Vd()?.createHTML(e)||e}function bf(e){return Vd()?.createScriptURL(e)||e}class Ja{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${rt})`}}class Hg extends Ja{getTypeName(){return"HTML"}}class Gg extends Ja{getTypeName(){return"Style"}}class Df extends Ja{getTypeName(){return"Script"}}class zg extends Ja{getTypeName(){return"URL"}}class Wg extends Ja{getTypeName(){return"ResourceURL"}}function qs(e){return e instanceof Ja?e.changingThisBreaksApplicationSecurity:e}function Vl(e,t){const n=function $d(e){return e instanceof Ja&&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 ${rt})`)}return n===t}function Kg(e){return new Hg(e)}function Xg(e){return new Gg(e)}function wf(e){return new Df(e)}function Yg(e){return new zg(e)}function Qg(e){return new Wg(e)}function Cf(e){const t=new Zg(e);return function Ud(){try{return!!(new window.DOMParser).parseFromString(va(""),"text/html")}catch{return!1}}()?new Jg(t):t}class Jg{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(va(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Zg{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=va(t),n}}const Ef=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Dc(e){return(e=String(e)).match(Ef)?e:"unsafe:"+e}function a(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function m(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const o=a("area,br,col,hr,img,wbr"),c=a("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),p=a("rp,rt"),Se=m(o,m(c,a("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")),m(p,a("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")),m(p,c)),Be=a("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),at=m(Be,a("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"),a("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")),mt=a("script,style,template");class pn{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Se.hasOwnProperty(n))return this.sanitizedSomething=!0,!mt.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const d=r.item(s),h=d.name,v=h.toLowerCase();if(!at.hasOwnProperty(v)){this.sanitizedSomething=!0;continue}let D=d.value;Be[v]&&(D=Dc(D)),this.buf.push(" ",h,'="',Ln(D),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Se.hasOwnProperty(n)&&!o.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ln(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Tn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Xt=/([^\#-~ |!])/g;function Ln(e){return e.replace(/&/g,"&amp;").replace(Tn,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Xt,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let An;function Si(e,t){let n=null;try{An=An||Cf(e);let r=t?String(t):"";n=An.getInertBodyElement(r);let s=5,d=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=d,d=n.innerHTML,n=An.getInertBodyElement(r)}while(r!==d);return va((new pn).sanitizeChildren(On(n)||n))}finally{if(n){const r=On(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function On(e){return"content"in e&&function Jn(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Bn=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}(Bn||{});function Ii(e){const t=ta();return t?yf(t.sanitize(Bn.HTML,e)||""):Vl(e,"HTML")?yf(qs(e)):Si(jl(),Pe(e))}function dr(e){const t=ta();return t?t.sanitize(Bn.URL,e)||"":Vl(e,"URL")?qs(e):Dc(Pe(e))}function ir(e){const t=ta();if(t)return bf(t.sanitize(Bn.RESOURCE_URL,e)||"");if(Vl(e,"ResourceURL"))return bf(qs(e));throw new oe(904,!1)}function ea(e,t,n){return function ya(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ir:dr}(t,n)(e)}function ta(){const e=it();return e&&e[Li].sanitizer}const ls=new Tt("ENVIRONMENT_INITIALIZER"),$l=new Tt("INJECTOR",-1),wc=new Tt("INJECTOR_DEF_TYPES");class ba{get(t,n=Zn){if(n===Zn){const r=new Error(`NullInjectorError: No provider for ${J(t)}!`);throw r.name="NullInjectorError",r}return n}}function Za(e){return{\u0275providers:e}}function qa(...e){return{\u0275providers:ks(0,e),\u0275fromNgModule:!0}}function ks(e,...t){const n=[],r=new Set;let s;const d=h=>{n.push(h)};return _a(t,h=>{const v=h;Da(v,d,[],r)&&(s||=[],s.push(v))}),void 0!==s&&el(s,d),n}function el(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:s}=e[n];Ul(s,d=>{t(d,r)})}}function Da(e,t,n,r){if(!(e=_e(e)))return!1;let s=null,d=Ke(e);const h=!d&&Bt(e);if(d||h){if(h&&!h.standalone)return!1;s=e}else{const D=e.ngModule;if(d=Ke(D),!d)return!1;s=D}const v=r.has(s);if(h){if(v)return!1;if(r.add(s),h.dependencies){const D="function"==typeof h.dependencies?h.dependencies():h.dependencies;for(const A of D)Da(A,t,n,r)}}else{if(!d)return!1;{if(null!=d.imports&&!v){let A;r.add(s);try{_a(d.imports,V=>{Da(V,t,n,r)&&(A||=[],A.push(V))})}finally{}void 0!==A&&el(A,t)}if(!v){const A=vo(s)||(()=>new s);t({provide:s,useFactory:A,deps:ct},s),t({provide:wc,useValue:s,multi:!0},s),t({provide:ls,useValue:()=>dt(s),multi:!0},s)}const D=d.providers;if(null!=D&&!v){const A=e;Ul(D,V=>{t(V,A)})}}}return s!==e&&void 0!==e.providers}function Ul(e,t){for(let n of e)tt(n)&&(n=n.\u0275providers),Array.isArray(n)?Ul(n,t):t(n)}const Mf=ie({provide:String,useValue:ie});function Hl(e){return null!==e&&"object"==typeof e&&Mf in e}function wa(e){return"function"==typeof e}const Cc=new Tt("Set Injector scope."),Gl={},Of={};let Iu;function ys(){return void 0===Iu&&(Iu=new ba),Iu}class Ro{}class Ca extends Ro{get destroyed(){return this._destroyed}constructor(t,n,r,s){super(),this.parent=n,this.source=r,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Sf(t,h=>this.processProvider(h)),this.records.set($l,Ea(void 0,this)),s.has("environment")&&this.records.set(Ro,Ea(void 0,this));const d=this.records.get(Cc);null!=d&&"string"==typeof d.value&&this.scopes.add(d.value),this.injectorDefTypes=new Set(this.get(wc.multi,ct,_t.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=ft(this),r=En(void 0);try{return t()}finally{ft(n),En(r)}}get(t,n=Zn,r=_t.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(In))return t[In](this);r=Sn(r);const d=ft(this),h=En(void 0);try{if(!(r&_t.SkipSelf)){let D=this.records.get(t);if(void 0===D){const A=function Jy(e){return"function"==typeof e||"object"==typeof e&&e instanceof Tt}(t)&&wn(t);D=A&&this.injectableDefInScope(A)?Ea(Ec(t),Gl):null,this.records.set(t,D)}if(null!=D)return this.hydrate(t,D)}return(r&_t.Self?ys():this.parent).get(t,n=r&_t.Optional&&n===Zn?null:n)}catch(v){if("NullInjectorError"===v.name){if((v[Ei]=v[Ei]||[]).unshift(J(t)),d)throw v;return function we(e,t,n,r){const s=e[Ei];throw t[Z]&&s.unshift(t[Z]),e.message=function Qe(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=J(t);if(Array.isArray(t))s=t.map(J).join(" -> ");else if("object"==typeof t){let d=[];for(let h in t)if(t.hasOwnProperty(h)){let v=t[h];
1d.push(h+":"+("string"==typeof v?JSON.stringify(v):J(v)))}s=`{${d.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Ge,"\n  ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[Ei]=null,e}(v,t,"R3InjectorError",this.source)}throw v}finally{En(h),ft(d)}}resolveInjectorInitializers(){const t=ft(this),n=En(void 0);try{const s=this.get(ls.multi,ct,_t.Self);for(const d of s)d()}finally{ft(t),En(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(J(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new oe(205,!1)}processProvider(t){let n=wa(t=_e(t))?t:_e(t&&t.provide);const r=function Gd(e){return Hl(e)?Ea(void 0,e.useValue):Ea(Au(e),Gl)}(t);if(wa(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=Ea(void 0,Gl,!0),s.factory=()=>di(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Gl&&(n.value=Of,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Qy(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=_e(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 Ec(e){const t=wn(e),n=null!==t?t.factory:vo(e);if(null!==n)return n;if(e instanceof Tt)throw new oe(204,!1);if(e instanceof Function)return function Nu(e){const t=e.length;if(t>0)throw Ha(t,"?"),new oe(204,!1);const n=function xe(e){return e&&(e[qe]||e[Cn])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new oe(204,!1)}function Au(e,t,n){let r;if(wa(e)){const s=_e(e);return vo(s)||Ec(s)}if(Hl(e))r=()=>_e(e.useValue);else if(function Su(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...di(e.deps||[]));else if(function Hd(e){return!(!e||!e.useExisting)}(e))r=()=>dt(_e(e.useExisting));else{const s=_e(e&&(e.useClass||e.provide));if(!function zd(e){return!!e.deps}(e))return vo(s)||Ec(s);r=()=>new s(...di(e.deps))}return r}function Ea(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Sf(e,t){for(const n of e)Array.isArray(n)?Sf(n,t):n&&tt(n)?Sf(n.\u0275providers,t):t(n)}const qg=new Tt("AppId",{providedIn:"root",factory:()=>Zy}),Zy="ng",em=new Tt("Platform Initializer"),If=new Tt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),qy=new Tt("AnimationModuleType"),e1=new Tt("CSP nonce",{providedIn:"root",factory:()=>jl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function n1(e){return e}function i1(){const e=new xu;return"browser"===Lt(If)&&(e.store=function r1(e,t){const n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}(jl(),Lt(qg))),e}let xu=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static{this.\u0275prov=ht({token:e,providedIn:"root",factory:i1})}get(n,r){return void 0!==this.store[n]?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})(),tm=(e,t,n)=>null;function Lf(e,t,n=!1){return tm(e,t,n)}class h1{}class rm{}class p1{resolveComponentFactory(t){throw function f1(e){const t=Error(`No component factory found for ${J(e)}.`);return t.ngComponent=e,t}(t)}}let ku=(()=>{class e{static{this.NULL=new p1}}return e})();function g1(){return Oc(tr(),it())}function Oc(e,t){return new Fu(Nr(e,t))}let Fu=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=g1}}return e})();function m1(e){return e instanceof Fu?e.nativeElement:e}class sm{}let _1=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function v1(){const e=it(),n=Wr(tr().index,e);return(Di(n)?n:e)[Gt]}()}}return e})(),y1=(()=>{class e{static{this.\u0275prov=ht({token:e,providedIn:"root",factory:()=>null})}}return e})();class am{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const b1=new am("16.2.12"),Vf={};function Qd(e){if(!Ht()&&!function ze(){return de}())throw new oe(-203,!1)}function dm(e,t=null,n=null,r){const s=hm(e,t,n,r);
vendor: 5,192 bytes, line 1
1return s.resolveInjectorInitializers(),s}function hm(e,t=null,n=null,r,s=new Set){const d=[n||ct,qa(e)];return r=r||("object"==typeof e?void 0:J(e)),new Ca(d,t||ys(),r||null,s)}let Fs=(()=>{class e{static{this.THROW_IF_NOT_FOUND=Zn}static{this.NULL=new ba}static create(n,r){if(Array.isArray(n))return dm({name:""},r,n,"");{const s=n.name??"";return dm({name:s},n.parent,n.providers,s)}}static{this.\u0275prov=ht({token:e,providedIn:"any",factory:()=>dt($l)})}static{this.__NG_ELEMENT_ID__=-1}}return e})();function $f(e){return e.ngOriginalError}class nl{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&$f(t);for(;n&&$f(n);)n=$f(n);return n||null}}let Lu=(()=>{class e{static{this.__NG_ELEMENT_ID__=O1}static{this.__NG_ENV_ID__=n=>n}}return e})();class T1 extends Lu{constructor(t){super(),this._lView=t}onDestroy(t){return ql(this._lView,t),()=>function Yc(e,t){if(null===e[Hr])return;const n=e[Hr].indexOf(t);-1!==n&&e[Hr].splice(n,1)}(this._lView,t)}}function O1(){return new T1(it())}function Uf(e){return t=>{setTimeout(e,void 0,t)}}const na=class S1 extends i.B{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let s=t,d=n||(()=>null),h=r;if(t&&"object"==typeof t){const D=t;s=D.next?.bind(D),d=D.error?.bind(D),h=D.complete?.bind(D)}this.__isAsync&&(d=Uf(d),s&&(s=Uf(s)),h&&(h=Uf(h)));const v=super.subscribe({next:s,error:d,complete:h});return t instanceof Y.yU&&t.add(v),v}};function pm(...e){}class Jr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new na(!1),this.onMicrotaskEmpty=new na(!1),this.onStable=new na(!1),this.onError=new na(!1),typeof Zone>"u")throw new oe(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function I1(){const e="function"==typeof tn.requestAnimationFrame;let t=tn[e?"requestAnimationFrame":"setTimeout"],n=tn[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const s=n[Zone.__symbol__("OriginalDelegate")];s&&(n=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function x1(e){const t=()=>{!function A1(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(tn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Gf(e),e.isCheckStableRunning=!0,Hf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Gf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,d,h,v)=>{if(function R1(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(v))return n.invokeTask(s,d,h,v);try{return gm(e),n.invokeTask(s,d,h,v)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===d.type||e.shouldCoalesceRunChangeDetection)&&t(),mm(e)}},onInvoke:(n,r,s,d,h,v,D)=>{try{return gm(e),n.invoke(s,d,h,v,D)}finally{e.shouldCoalesceRunChangeDetection&&t(),mm(e)}},onHasTask:(n,r,s,d)=>{n.hasTask(s,d),r===s&&("microTask"==d.change?(e._hasPendingMicrotasks=d.microTask,Gf(e),Hf(e)):"macroTask"==d.change&&(e.hasPendingMacrotasks=d.macroTask))},onHandleError:(n,r,s,d)=>(n.handleError(s,d),e.runOutsideAngular(()=>e.onError.emit(d)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Jr.isInAngularZone())throw new oe(909,!1)}static assertNotInAngularZone(){if(Jr.isInAngularZone())throw new oe(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,s){const d=this._inner,h=d.scheduleEventTask("NgZoneEvent: "+s,t,N1,pm,pm);try{return d.runTask(h,n,r)}finally{d.cancelTask(h)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const N1={};function Hf(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 Gf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function gm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function mm(e){e._nesting--,Hf(e)}class P1{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new na,this.onMicrotaskEmpty=new na,this.onStable=new na,this.onError=ne
1w na}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,s){return t.apply(n,r)}}const _m=new Tt("",{providedIn:"root",factory:vm});function vm(){const e=Lt(Jr);let t=!0;const n=new l.c(s=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{s.next(t),s.complete()})}),r=new l.c(s=>{let d;e.runOutsideAngular(()=>{d=e.onStable.subscribe(()=>{Jr.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,s.next(!0))})})});const h=e.onUnstable.subscribe(()=>{Jr.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{s.next(!1)}))});return()=>{d.unsubscribe(),h.unsubscribe()}});return(0,W.h)(n,r.pipe((0,me.u)()))}function ym(e){return e.ownerDocument.defaultView}function bm(e){return e.ownerDocument}function Ma(e){return e instanceof Function?e():e}let zf=(()=>{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{this.\u0275prov=ht({token:e,providedIn:"root",factory:()=>new e})}}return e})();function Bu(e){for(;e;){e[Zt]|=64;const t=Ka(e);if(ds(e)&&!t)return e;e=t}return null}const Mm=new Tt("",{providedIn:"root",factory:()=>!1});let Zd=null;function Im(e,t){return e[t]??xm()}function Nm(e,t){const n=xm();n.producerNode?.length&&(e[t]=Zd,n.lView=e,Zd=Am())}const U1={...Yo,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Bu(e.lView)},lView:null};function Am(){return Object.create(U1)}function xm(){return Zd??=Am(),Zd}const Dn={};function Pm(e){Rm(Fn(),it(),f()+e,!1)}function Rm(e,t,n,r){if(!r)if(3==(3&t[Zt])){const d=e.preOrderCheckHooks;null!==d&&Ft(t,d,n)}else{const d=e.preOrderHooks;null!==d&&Kt(t,d,0,n)}u(n)}function Nc(e,t=_t.Default){const n=it();return null===n?dt(e,t):rd(tr(),n,_e(e),t)}function km(){throw new Error("invalid")}function qd(e,t,n,r,s,d,h,v,D,A,V){const ee=t.blueprint.slice();return ee[Un]=s,ee[Zt]=140|r,(null!==A||e&&2048&e[Zt])&&(ee[Zt]|=2048),Ra(ee),ee[xn]=ee[no]=e,ee[Qn]=n,ee[Li]=h||e&&e[Li],ee[Gt]=v||e&&e[Gt],ee[qi]=D||e&&e[qi]||null,ee[fi]=d,ee[Tr]=function Ng(){return Rl++}(),ee[_r]=V,ee[js]=A,ee[Gn]=2==t.type?e[Gn]:ee,ee}function Ac(e,t,n,r,s){let d=e.data[t];if(null===d)d=Wf(e,t,n,r,s),function C(){return rn.lFrame.inI18n}()&&(d.flags|=32);else if(64&d.type){d.type=n,d.value=r,d.attrs=s;const h=Ki();d.injectorIndex=null===h?-1:h.injectorIndex}return So(d,!0),d}function Wf(e,t,n,r,s){const d=ml(),h=pa(),D=e.data[t]=function Q1(e,t,n,r,s,d){let h=t?t.injectorIndex:-1,v=0;return gs()&&(v|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:h,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:v,providerIndexes:0,value:s,attrs:d,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,h?d:d&&d.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=D),null!==d&&(h?null==d.child&&null!==D.parent&&(d.child=D):null===d.next&&(d.next=D,D.prev=d)),D}function ju(e,t,n,r){if(0===n)return-1;const s=t.length;for(let d=0;d<n;d++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function Fm(e,t,n,r,s){const d=Im(t,Or),h=f(),v=2&r;try{u(-1),v&&t.length>sn&&Rm(e,t,sn,!1),$i(v?2:0,s);const A=v?d:null,V=Es(A);try{null!==A&&(A.dirty=!1),n(r,s)}finally{Ms(A,V)}}finally{v&&null===t[Or]&&Nm(t,Or),u(h),$i(v?3:1,s)}}function Kf(e,t,n){if(ws(t)){const r=Wi(null);try{const d=t.directiveEnd;for(let h=t.directiveStart;h<d;h++){const v=e.data[h];v.contentQueries&&v.contentQueries(1,n[h],h)}}finally{Wi(r)}}}function Xf(e,t,n){fa()&&(function ib(e,t,n,r){const s=n.directiveStart,d=n.directiveEnd;Wt(n)&&function ub(e,t,n){const r=Nr(t,e),s=Lm(n);let h=16;n.signals?h=4096:n.onPush&&(h=64);const v=eh(e,qd(e,s,null,h,r,t,null,e[Li].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=v}
vendor: 4,272 bytes, line 1
1(t,n,e.data[s+n.componentOffset]),e.firstCreatePass||Va(n,t),Ar(r,t);const h=n.initialInputs;for(let v=s;v<d;v++){const D=e.data[v],A=xo(t,e,v,n);Ar(A,t),null!==h&&db(0,v-s,A,D,0,h),Sr(D)&&(Wr(n.index,t)[Qn]=xo(t,e,v,n))}}(e,t,n,Nr(n,t)),64==(64&n.flags)&&Um(e,t,n))}function Yf(e,t,n=Nr){const r=t.localNames;if(null!==r){let s=t.index+1;for(let d=0;d<r.length;d+=2){const h=r[d+1],v=-1===h?n(t,e):e[h];e[s++]=v}}}function Lm(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Qf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Qf(e,t,n,r,s,d,h,v,D,A,V){const ee=sn+r,Te=ee+s,Ae=function G1(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Dn);return n}(ee,Te),Je="function"==typeof A?A():A;return Ae[wt]={type:e,blueprint:Ae,template:n,queries:null,viewQuery:v,declTNode:t,data:Ae.slice().fill(null,ee),bindingStartIndex:ee,expandoStartIndex:Te,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof d?d():d,pipeRegistry:"function"==typeof h?h():h,firstChild:null,schemas:D,consts:Je,incompleteFirstPass:!1,ssrId:V}}let Bm=e=>null;function jm(e,t,n,r){for(let s in e)if(e.hasOwnProperty(s)){n=null===n?{}:n;const d=e[s];null===r?Vm(n,t,s,d):r.hasOwnProperty(s)&&Vm(n,t,r[s],d)}return n}function Vm(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function cs(e,t,n,r,s,d,h,v){const D=Nr(t,n);let V,A=t.inputs;!v&&null!=A&&(V=A[r])?(tp(e,n,V,r,s),Wt(t)&&function q1(e,t){const n=Wr(t,e);16&n[Zt]||(n[Zt]|=64)}(n,t.index)):3&t.type&&(r=function Z1(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=h?h(s,t.value||"",r):s,d.setProperty(D,r,s))}function Jf(e,t,n,r){if(fa()){const s=null===r?null:{"":-1},d=function ob(e,t){const n=e.directiveRegistry;let r=null,s=null;if(n)for(let d=0;d<n.length;d++){const h=n[d];if(Ds(t,h.selectors,!1))if(r||(r=[]),Sr(h))if(null!==h.findHostDirectiveDefs){const v=[];s=s||new Map,h.findHostDirectiveDefs(h,v,s),r.unshift(...v,h),Zf(e,t,v.length)}else r.unshift(h),Zf(e,t,0);else s=s||new Map,h.findHostDirectiveDefs?.(h,r,s),r.push(h)}return null===r?null:[r,s]}(e,n);let h,v;null===d?h=v=null:[h,v]=d,null!==h&&$m(e,t,n,h,s,v),s&&function sb(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const d=n[t[s+1]];if(null==d)throw new oe(-301,!1);r.push(t[s],d)}}}(n,r,s)}n.mergedAttrs=ye(n.mergedAttrs,n.attrs)}function $m(e,t,n,r,s,d){for(let A=0;A<r.length;A++)Ks(Va(n,t),e,r[A].type);!function lb(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let A=0;A<r.length;A++){const V=r[A];V.providersResolver&&V.providersResolver(V)}let h=!1,v=!1,D=ju(e,t,r.length,null);for(let A=0;A<r.length;A++){const V=r[A];n.mergedAttrs=ye(n.mergedAttrs,V.hostAttrs),cb(e,n,t,D,V),ab(D,V,s),null!==V.contentQueries&&(n.flags|=4),(null!==V.hostBindings||null!==V.hostAttrs||0!==V.hostVars)&&(n.flags|=64);const ee=V.type.prototype;!h&&(ee.ngOnChanges||ee.ngOnInit||ee.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),h=!0),!v&&(ee.ngOnChanges||ee.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),v=!0),D++}!function J1(e,t,n){const s=t.directiveEnd,d=e.data,h=t.attrs,v=[];let D=null,A=null;for(let V=t.directiveStart;V<s;V++){const ee=d[V],Te=n?n.get(ee):null,Je=Te?Te.outputs:null;D=jm(ee.inputs,V,D,Te?Te.inputs:null),A=jm(ee.outputs,V,A,Je);const ut=null===D||null===h||on(t)?null:hb(D,V,h);v.push(ut)}null!==D&&(D.hasOwnProperty("class")&&(t.flags|=8),D.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=v,t.inputs=D,t.outputs=A}(e,n,d)}function Um(e,t,n){const r=n.directiveStart,s=n.directiveEnd,d=n.index,h=function x(){return rn.lFrame.currentDirectiveIndex}();try{u(d);for(let v=r;v<s;v++){const D=e.data[v],A=t[v];U(v),(null!==D.hostBindings||0!==D.hostVars||null!==D.hostAttrs)&&rb(D,A)}}finally{u(-1),U(h)}}function rb(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}
1function Zf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ab(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Sr(t)&&(n[""]=e)}}function cb(e,t,n,r,s){e.data[r]=s;const d=s.factory||(s.factory=vo(s.type)),h=new ar(d,Sr(s),Nc);e.blueprint[r]=h,n[r]=h,function tb(e,t,n,r,s){const d=s.hostBindings;if(d){let h=e.hostBindingOpCodes;null===h&&(h=e.hostBindingOpCodes=[]);const v=~t.index;(function nb(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=v&&h.push(v),h.push(n,r,d)}}(e,t,r,ju(e,n,s.hostVars,Dn),s)}function qf(e,t,n,r,s,d,h){if(null==d)e.removeAttribute(t,s,n);else{const v=null==h?Pe(d):h(d,r||"",s);e.setAttribute(t,s,v,n)}}function db(e,t,n,r,s,d){const h=d[t];if(null!==h)for(let v=0;v<h.length;)Hm(r,n,h[v++],h[v++],h[v++])}function Hm(e,t,n,r,s){const d=Wi(null);try{const h=e.inputTransforms;null!==h&&h.hasOwnProperty(r)&&(s=h[r].call(t,s)),null!==e.setInput?e.setInput(t,s,n,r):t[r]=s}finally{Wi(d)}}function hb(e,t,n){let r=null,s=0;for(;s<n.length;){const d=n[s];if(0!==d)if(5!==d){if("number"==typeof d)break;if(e.hasOwnProperty(d)){null===r&&(r=[]);const h=e[d];for(let v=0;v<h.length;v+=2)if(h[v]===t){r.push(d,h[v+1],n[s+1]);break}}s+=2}else s+=2;else s+=4}return r}function Gm(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function zm(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const d=n[r+1];if(-1!==d){const h=e.data[d];ke(n[r]),h.contentQueries(2,t[d],d)}}}function eh(e,t){return e[mr]?e[po][Hi]=t:e[mr]=t,e[po]=t,t}function ep(e,t,n){ke(0);const r=Wi(null);try{t(e,n)}finally{Wi(r)}}function Wm(e){return e[Ur]||(e[Ur]=[])}function Km(e){return e.cleanup||(e.cleanup=[])}function Xm(e,t,n){return(null===e||Sr(e))&&(n=function Ws(e){for(;Array.isArray(e);){if("object"==typeof e[go])return e;e=e[Un]}return null}(n[t.index])),n[Gt]}function Ym(e,t){const n=e[qi],r=n?n.get(nl,null):null;r&&r.handleError(t)}function tp(e,t,n,r,s){for(let d=0;d<n.length;){const h=n[d++],v=n[d++];Hm(e.data[h],t[h],r,v,s)}}function Ta(e,t,n){const r=Zo(t,e);Md(e[Gt],r,n)}function fb(e,t){const n=Wr(t,e),r=n[wt];!function pb(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const s=n[Un];null!==s&&null===n[_r]&&(n[_r]=Lf(s,n[qi])),np(r,n,n[Qn])}
vendor: 9,687 bytes, line 1
1function np(e,t,n){ti(t);try{const r=e.viewQuery;null!==r&&ep(1,r,n);const s=e.template;null!==s&&Fm(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&zm(e,t),e.staticViewQueries&&ep(2,e.viewQuery,n);const d=e.components;null!==d&&function gb(e,t){for(let n=0;n<t.length;n++)fb(e,t[n])}(t,d)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[Zt]&=-5,is()}}let Qm=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,s){const d=typeof Zone>"u"?null:Zone.current,h=function Ze(e,t,n){const r=Object.create(zn);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const s=h=>{r.cleanupFn=h};return r.ref={notify:()=>ro(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Ts(r))return;r.hasRun=!0;const h=Es(r);try{r.cleanupFn(),r.cleanupFn=At,r.fn(s)}finally{Ms(r,h)}},cleanup:()=>r.cleanupFn()},r.ref}(n,A=>{this.all.has(A)&&this.queue.set(A,d)},s);let v;this.all.add(h),h.notify();const D=()=>{h.cleanup(),v?.(),this.all.delete(h),this.queue.delete(h)};return v=r?.onDestroy(D),{destroy:D}}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{this.\u0275prov=ht({token:e,providedIn:"root",factory:()=>new e})}}return e})();function th(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,d=0;if(null!==t)for(let h=0;h<t.length;h++){const v=t[h];"number"==typeof v?d=v:1==d?s=K(s,v):2==d&&(r=K(r,v+": "+t[++h]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function Vu(e,t,n,r,s=!1){for(;null!==n;){const d=t[n.index];null!==d&&r.push(si(d)),ji(d)&&Jm(d,r);const h=n.type;if(8&h)Vu(e,t,n.child,r);else if(32&h){const v=Rs(n,t);let D;for(;D=v();)r.push(D)}else if(16&h){const v=pf(t,n);if(Array.isArray(v))r.push(...v);else{const D=Ka(t[Gn]);Vu(D[wt],D,v,r,!0)}}n=s?n.projectionNext:n.next}return r}function Jm(e,t){for(let n=Gi;n<e.length;n++){const r=e[n],s=r[wt].firstChild;null!==s&&Vu(r[wt],r,s,t)}e[or]!==e[Un]&&t.push(e[or])}function nh(e,t,n,r=!0){const s=t[Li],d=s.rendererFactory,h=s.afterRenderEventManager;d.begin?.(),h?.begin();try{Zm(e,t,e.template,n)}catch(D){throw r&&Ym(t,D),D}finally{d.end?.(),s.effectManager?.flush(),h?.end()}}function Zm(e,t,n,r){const s=t[Zt];if(256!=(256&s)){t[Li].effectManager?.flush(),ti(t);try{Ra(t),function _l(e){return rn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Fm(e,t,n,2,r);const h=3==(3&s);if(h){const A=e.preOrderCheckHooks;null!==A&&Ft(t,A,null)}else{const A=e.preOrderHooks;null!==A&&Kt(t,A,0,null),mn(t,0)}if(function vb(e){for(let t=Ed(e);null!==t;t=mc(t)){if(!t[Bi])continue;const n=t[Rr];for(let r=0;r<n.length;r++){Oo(n[r])}}}(t),qm(t,2),null!==e.contentQueries&&zm(e,t),h){const A=e.contentCheckHooks;null!==A&&Ft(t,A)}else{const A=e.contentHooks;null!==A&&Kt(t,A,1),mn(t,1)}!function H1(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=Im(t,zi);try{for(let s=0;s<n.length;s++){const d=n[s];if(d<0)u(~d);else{const h=d,v=n[++s],D=n[++s];E(v,h),r.dirty=!1;const A=Es(r);try{D(2,t[h])}finally{Ms(r,A)}}}}finally{null===t[zi]&&Nm(t,zi),u(-1)}}(e,t);const v=e.components;null!==v&&t_(t,v,0);const D=e.viewQuery;if(null!==D&&ep(2,D,r),h){const A=e.viewCheckHooks;null!==A&&Ft(t,A)}else{const A=e.viewHooks;null!==A&&Kt(t,A,2),mn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Zt]&=-73,fl(t)}finally{is()}}}function qm(e,t){for(let n=Ed(e);null!==n;n=mc(n))for(let r=Gi;r<n.length;r++)e_(n[r],t)}function yb(e,t,n){e_(Wr(t,e),n)}function e_(e,t){if(!function ha(e){return 128==(128&e[Zt])}(e))return;const n=e[wt],r=e[Zt];if(80&r&&0===t||1024&r||2===t)Zm(n,e,n.template,e[Qn]);else if(e[Zi]>0){qm(e,1);const s=n.components;null!==s&&t_(e,s,1)}}function t_(e,t,n){for(let r=0;r<t.length;r++)yb(e,t[r],n)}class $u{get rootNodes(){const t=this._lView,n=t[wt];return Vu(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Qn]}set context(t){this._lView[Qn]=t}get destroyed(){return 256==(256&this._lView[Zt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[xn];if(ji(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ya(t,r),Tl(n,r))}this._attachedToViewContainer=!1}vu(this._lView[wt],this._lView)}onDestroy(t){ql(this._lView,t)}markForCheck(){Bu(this._cdRefInjectingView||this._lView)}detach(){this._lView[Zt]&=-129}reattach(){this._lView[Zt]|=128}detectChanges(){nh(this._lView[wt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new oe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Sd(e,t){bc(e,t,t[Gt],2,null,null)}(this._lView[wt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new oe(902,!1);this._appRef=t}}class bb extends $u{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;nh(t[wt],t,t[Qn],!1)}checkNoChanges(){}get context(){return null}}class n_ extends ku{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Bt(t);return new Uu(n,this.ngModule)}}function i_(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class wb{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Sn(r);const s=this.injector.get(t,Vf,r);return s!==Vf||n===Vf?s:this.parentInjector.get(t,n,r)}}class Uu extends rm{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=i_(t.inputs);if(null!==n)for(const s of r)n.hasOwnProperty(s.propName)&&(s.transform=n[s.propName]);return r}get outputs(){return i_(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function oi(e){return e.map(Er).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,s){let d=(s=s||this.ngModule)instanceof Ro?s:s?.injector;d&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);const h=d?new wb(t,d):t,v=h.get(sm,null);if(null===v)throw new oe(407,!1);const ee={rendererFactory:v,sanitizer:h.get(y1,null),effectManager:h.get(Qm,null),afterRenderEventManager:h.get(zf,null)},Te=v.createRenderer(null,this.componentDef),Ae=this.componentDef.selectors[0][0]||"div",Je=r?function z1(e,t,n,r){const d=r.get(Mm,!1)||n===lt.ShadowDom,h=e.selectRootElement(t,d);return function W1(e){Bm(e)}(h),h}(Te,r,this.componentDef.encapsulation,h):Bl(Te,Ae,function Db(e){const t=e.toLowerCase();return"svg"===t?To:"math"===t?"math":null}(Ae)),Yt=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let ot=null;null!==Je&&(ot=Lf(Je,h,!0));const gn=Qf(0,null,null,1,0,null,null,null,null,null,null),Rn=qd(null,gn,null,Yt,null,null,ee,Te,h,null,ot);let Ci,Ko;ti(Rn);try{const Oa=this.componentDef;let Xc,fg=null;Oa.findHostDirectiveDefs?(Xc=[],fg=new Map,Oa.findHostDirectiveDefs(Oa,Xc,fg),Xc.push(Oa)):Xc=[Oa];const wM=function Eb(e,t){const n=e[wt],r=sn;return e[r]=t,Ac(n,r,2,"#host",null)}(Rn,Je),CM=function Mb(e,t,n,r,s,d,h){const v=s[wt];!function Tb(e,t,n,r){for(const s of e)t.mergedAttrs=ye(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&(th(t,t.mergedAttrs,!0),null!==n&&Fd(r,n,t))}(r,e,t,h);let D=null;null!==t&&(D=Lf(t,s[qi]));const A=d.rendererFactory.createRenderer(t,n);let V=16;n.signals?V=4096:n.onPush&&(V=64);const ee=qd(s,Lm(n),null,V,s[e.index],e,d,A,null,null,D);return v.firstCreatePass&&Zf(v,e,r.length-1),eh(s,ee),s[e.index]=ee}(wM,Je,Oa,Xc,Rn,ee,Te);Ko=da(gn,sn),Je&&function Sb(e,t,n,r){if(r)N(e,n,["ng-version",b1.full]);else{const{attrs:s,classes:d}=function Do(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let d=e[r];if("string"==typeof d)2===s?""!==d&&t.push(d,e[++r]):8===s&&n.push(d);else{if(!Yn(s))break;s=d}r++}return{attrs:t,classes:n}}(t.selectors[0]);s&&N(e,n,s),d&&d.length>0&&vf(e,n,d.join(" "))}}(Te,Oa,Je,r),void 0!==n&&function Ib(e,t,n){const r=e.projection=[];for(let s=0;s<t.length;s++){const d=n[s];r.push(null!=d?Array.from(d):null)}}(Ko,this.ngContentSelectors,n),Ci=function Ob(e,t,n,r,s,d){const h=tr(),v=s[wt],D=Nr(h,s);$m(v,s,h,n,null,r);for(let V=0;V<n.length;V++)Ar(xo(s,v,h.directiveStart+V,h),s);Um(v,s,h),D&&Ar(D,s);const A=xo(s,v,h.directiveStart+h.componentOffset,h);if(e[Qn]=s[Qn]=A,null!==d)for(const V of d)V(A,t);return Kf(v,h,e),A}(CM,Oa,Xc,fg,Rn,[Nb]),np(gn,Rn,null)}finally{is()}return new Cb(this.componentType,Ci,Oc(Ko,Rn),Rn,Ko)}}class Cb extends h1{constructor(t,n,r,s,d){super(),this.location=r,this._rootLView=s,this._tNode=d,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new bb(s),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let s;if(null!==r&&(s=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const d=this._rootLView;tp(d[wt],d,s,t,n),this.previousInputValues.set(t,n),Bu(Wr(this._tNode.index,d))}}get injector(){return new lo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Nb(){const e=tr();Jt(it()[wt],e)}function ip(e){let t=function r_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(Sr(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new oe(903,!1);s=t.\u0275dir}if(s){if(n){r.push(s);const h=e;h.inputs=ih(e.inputs),h.inputTransforms=ih(e.inputTransforms),h.declaredInputs=ih(e.declaredInputs),h.outputs=ih(e.outputs);const v=s.hostBindings;v&&Rb(e,v);const D=s.viewQuery,A=s.contentQueries;
1if(D&&xb(e,D),A&&Pb(e,A),z(e.inputs,s.inputs),z(e.declaredInputs,s.declaredInputs),z(e.outputs,s.outputs),null!==s.inputTransforms&&(null===h.inputTransforms&&(h.inputTransforms={}),z(h.inputTransforms,s.inputTransforms)),Sr(s)&&s.data.animation){const V=e.data;V.animation=(V.animation||[]).concat(s.data.animation)}}const d=s.features;if(d)for(let h=0;h<d.length;h++){const v=d[h];v&&v.ngInherit&&v(e),v===ip&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Ab(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=ye(s.hostAttrs,n=ye(n,s.hostAttrs))}}(r)}function ih(e){return e===zt?{}:e===ct?[]:e}function xb(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function Pb(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,d)=>{t(r,s,d),n(r,s,d)}:t}function Rb(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}function o_(e){return t=>{t.findHostDirectiveDefs=s_,t.hostDirectives=(Array.isArray(e)?e:e()).map(n=>"function"==typeof n?{directive:_e(n),inputs:zt,outputs:zt}:{directive:_e(n.directive),inputs:a_(n.inputs),outputs:a_(n.outputs)})}}function s_(e,t,n){if(null!==e.hostDirectives)for(const r of e.hostDirectives){const s=qn(r.directive);Bb(s.declaredInputs,r.inputs),s_(s,t,n),n.set(s,r),t.push(s)}}function a_(e){if(void 0===e||0===e.length)return zt;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Bb(e,t){for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=e[n])}function c_(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];Array.isArray(s)&&s[2]&&(n[r]=s[2])}e.inputTransforms=n}function rh(e){return!!rp(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function rp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ra(e,t,n){return e[t]=n}function Hu(e,t){return e[t]}function bo(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function zl(e,t,n,r){const s=bo(e,t,n);return bo(e,t+1,r)||s}function oh(e,t,n,r,s){const d=zl(e,t,n,r);return bo(e,t+2,s)||d}function op(e,t,n,r){const s=it();return bo(s,xs(),t)&&(Fn(),function ia(e,t,n,r,s,d){const h=Nr(e,t);qf(t[Gt],h,d,e.value,n,r,s)}(g(),s,e,t,n,r)),op}function Pc(e,t,n,r){return bo(e,xs(),n)?t+Pe(n)+r:Dn}function Rc(e,t,n,r,s,d){const v=zl(e,Io(),n,s);return y(2),v?t+Pe(n)+r+Pe(s)+d:Dn}function kc(e,t,n,r,s,d,h,v){const A=oh(e,Io(),n,s,h);return y(3),A?t+Pe(n)+r+Pe(s)+d+Pe(h)+v:Dn}function w_(e,t,n,r,s,d,h,v){const D=it(),A=Fn(),V=e+sn,ee=A.firstCreatePass?function rD(e,t,n,r,s,d,h,v,D){const A=t.consts,V=Ac(t,e,4,h||null,qo(A,v));Jf(t,n,V,qo(A,D)),Jt(t,V);const ee=V.tView=Qf(2,V,r,s,d,t.directiveRegistry,t.pipeRegistry,null,t.schemas,A,null);return null!==t.queries&&(t.queries.template(t,V),ee.queries=t.queries.embeddedTView(V)),V}(V,A,D,t,n,r,s,d,h):A.data[V];So(ee,!1);const Te=C_(A,D,ee,e);vt()&&Cu(A,D,Te,ee),Ar(Te,D),eh(D,D[V]=Gm(Te,D,Te,ee)),mo(ee)&&Xf(A,D,ee),null!=h&&Yf(D,ee,v)}let C_=function E_(e,t,n,r){return Ct(!0),t[Gt].createComment("")};function M_(e){return As(function nr(){return rn.lFrame.contextLView}(),sn+e)}function dp(e,t,n){const r=it();return bo(r,xs(),t)&&cs(Fn(),g(),r,e,t,r[Gt],n,!1),dp}function hp(e,t,n,r,s){const h=s?"class":"style";tp(e,n,t.inputs[h],h,r)}function ch(e,t,n,r){const s=it(),d=Fn(),h=sn+e,v=s[Gt],D=d.firstCreatePass?function lD(e,t,n,r,s,d){const h=t.consts,D=Ac(t,e,2,r,qo(h,s));return Jf(t,n,D,qo(h,d)),null!==D.attrs&&th(D,D.attrs,!1),null!==D.mergedAttrs&&th(D,D.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,D),D}(h,d,s,t,n,r):d.data[h],A=T_(d,s,D,v,t,e);s[h]=A;const V=mo(D);return So(D,!0),Fd(v,A,D),32!=(32&D.flags)&&vt()&&Cu(d,s,A,D),0===function pl(){return rn.lFrame.elementDepthCount}()&&Ar(A,s),function ec(){rn.lFrame.elementDepthCount++}(),V&&(Xf(d,s,D),Kf(d,D,s)),null!==r&&Yf(s,D),ch}function uh(){let e=tr();pa()?yo():(e=e.parent,So(e,!1));const t=e;(function Jc(e){return rn.skipHydrationRootTNode===e})(t)&&function ic(){rn.skipHydrationRootTNode=null}(),function Qc(){rn.lFrame.elementDepthCount--}();const n=Fn();return n.firstCreatePass&&(Jt(n,e),ws(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function os(e){return 0!=(8&e.flags)}(t)&&hp(n,t,it(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function rc(e){return 0!=(16&e.flags)}(t)&&hp(n,t,it(),t.stylesWithoutHost,!1),uh}function fp(e,t,n,r){return ch(e,t,n,r),uh(),fp}let T_=(e,t,n,r,s,d)=>(Ct(!0),Bl(r,s,function Ie(){return rn.lFrame.currentNamespace}()));function dh(e,t,n){const r=it(),s=Fn(),d=e+sn,h=s.firstCreatePass?function dD(e,t,n,r,s
vendor: 8,727 bytes, line 1
1){const d=t.consts,h=qo(d,r),v=Ac(t,e,8,"ng-container",h);return null!==h&&th(v,h,!0),Jf(t,n,v,qo(d,s)),null!==t.queries&&t.queries.elementStart(t,v),v}(d,s,r,t,n):s.data[d];So(h,!0);const v=O_(s,r,h,e);return r[d]=v,vt()&&Cu(s,r,v,h),Ar(v,r),mo(h)&&(Xf(s,r,h),Kf(s,h,r)),null!=n&&Yf(r,h),dh}function hh(){let e=tr();const t=Fn();return pa()?yo():(e=e.parent,So(e,!1)),t.firstCreatePass&&(Jt(t,e),ws(e)&&t.queries.elementEnd(e)),hh}function pp(e,t,n){return dh(e,t,n),hh(),pp}let O_=(e,t,n,r)=>(Ct(!0),_c(t[Gt],""));function S_(){return it()}function gp(e){return!!e&&"function"==typeof e.then}function I_(e){return!!e&&"function"==typeof e.subscribe}function mp(e,t,n,r){const s=it(),d=Fn(),h=tr();return function A_(e,t,n,r,s,d,h){const v=mo(r),A=e.firstCreatePass&&Km(e),V=t[Qn],ee=Wm(t);let Te=!0;if(3&r.type||h){const ut=Nr(r,t),St=h?h(ut):ut,Yt=ee.length,ot=h?Rn=>h(si(Rn[r.index])):r.index;let gn=null;if(!h&&v&&(gn=function pD(e,t,n,r){const s=e.cleanup;if(null!=s)for(let d=0;d<s.length-1;d+=2){const h=s[d];if(h===n&&s[d+1]===r){const v=t[Ur],D=s[d+2];return v.length>D?v[D]:null}"string"==typeof h&&(d+=2)}return null}(e,t,s,r.index)),null!==gn)(gn.__ngLastListenerFn__||gn).__ngNextListenerFn__=d,gn.__ngLastListenerFn__=d,Te=!1;else{d=P_(r,t,V,d,!1);const Rn=n.listen(St,s,d);ee.push(d,Rn),A&&A.push(s,ot,Yt,Yt+1)}}else d=P_(r,t,V,d,!1);const Ae=r.outputs;let Je;if(Te&&null!==Ae&&(Je=Ae[s])){const ut=Je.length;if(ut)for(let St=0;St<ut;St+=2){const Ci=t[Je[St]][Je[St+1]].subscribe(d),Ko=ee.length;ee.push(d,Ci),A&&A.push(s,r.index,Ko,-(Ko+1))}}}(d,s,s[Gt],h,e,t,r),mp}function x_(e,t,n,r){try{return $i(6,t,n),!1!==n(r)}catch(s){return Ym(e,s),!1}finally{$i(7,t,n)}}function P_(e,t,n,r,s){return function d(h){if(h===Function)return r;Bu(e.componentOffset>-1?Wr(e.index,t):t);let D=x_(t,n,r,h),A=d.__ngNextListenerFn__;for(;A;)D=x_(t,n,A,h)&&D,A=A.__ngNextListenerFn__;return s&&!1===D&&h.preventDefault(),D}}function R_(e=1){return function rs(e){return(rn.lFrame.contextLView=function w(e,t){for(;e>0;)t=t[no],e--;return t}(e,rn.lFrame.contextLView))[Qn]}(e)}function gD(e,t){let n=null;const r=function aa(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const d=t[s];if("*"!==d){if(null===r?Ds(e,d,!0):Qi(r,d))return s}else n=s}return n}function k_(e){const t=it()[Gn][fi];if(!t.projection){const r=t.projection=Ha(e?e.length:1,null),s=r.slice();let d=t.child;for(;null!==d;){const h=e?gD(d,e):0;null!==h&&(s[h]?s[h].projectionNext=d:r[h]=d,s[h]=d),d=d.next}}}function F_(e,t=0,n){const r=it(),s=Fn(),d=Ac(s,sn+e,16,null,n||null);null===d.projection&&(d.projection=t),yo(),(!r[_r]||gs())&&32!=(32&d.flags)&&function Lg(e,t,n){mf(t[Gt],0,t,n,Ad(e,n,t),wu(n.parent||t[fi],n,t))}(s,r,d)}function _p(e,t,n){return fh(e,"",t,"",n),_p}function fh(e,t,n,r,s){const d=it(),h=Pc(d,t,n,r);return h!==Dn&&cs(Fn(),g(),d,e,h,d[Gt],s,!1),fh}function vp(e,t,n,r,s,d,h){const v=it(),D=Rc(v,t,n,r,s,d);return D!==Dn&&cs(Fn(),g(),v,e,D,v[Gt],h,!1),vp}function yp(e,t,n,r,s,d,h,v,D){const A=it(),V=kc(A,t,n,r,s,d,h,v);return V!==Dn&&cs(Fn(),g(),A,e,V,A[Gt],D,!1),yp}function ph(e,t){return e<<17|t<<2}function il(e){return e>>17&32767}function bp(e){return 2|e}function Wl(e){return(131068&e)>>2}function Dp(e,t){return-131069&e|t<<2}function wp(e){return 1|e}function H_(e,t,n,r,s){const d=e[n+1],h=null===t;let v=r?il(d):Wl(d),D=!1;for(;0!==v&&(!1===D||h);){const V=e[v+1];DD(e[v],t)&&(D=!0,e[v+1]=r?wp(V):bp(V)),v=r?il(V):Wl(V)}D&&(e[n+1]=r?bp(d):wp(d))}function DD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ol(e,t)>=0}const Br={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function G_(e){return e.substring(Br.key,Br.keyEnd)}function z_(e,t){const n=Br.textEnd;return n===t?-1:(t=Br.keyEnd=function MD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Br.key=t,n),$c(e,t,n))}function $c(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Cp(e,t,n){return Ls(e,t,n,!1),Cp}function Ep(e,t){return Ls(e,t,null,!0),Ep}function Q_(e){Bs(RD,sa,e,!0)}function sa(e,t){for(let n=function CD(e){return function K_(e){Br.key=0,Br.keyEnd=0,Br.value=0,Br.valueEnd=0,Br.textEnd=e.length}(e),z_(e,$c(e,0,Br.textEnd))}(t);n>=0;n=z_(t,n))Ho(e,G_(t),!0)}function Ls(e,t,n,r){const s=it(),d=Fn(),h=y(2);d.firstUpdatePass&&Z_(d,e,h,r),t!==Dn&&bo(s,h,t)&&ev(d,d.data[f()],s,s[Gt],e,s[h+1]=function FD(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=J(qs(e)))),e}(t,n),r,h)}function Bs(e,t,n,r){const s=Fn(),d=y(2);s.firstUpdatePass&&Z_(s,null,d,r);const h=it();if(n!==Dn&&bo(h,d,n)){const v=s.data[f()];if(nv(v,r)&&!J_(s,d)){let D=r?v.classesWithoutHost:v.stylesWithoutHost;null!==D&&(n=K(D,n||"")),hp(s,v,h,n,r)}else!function kD(e,t,n,r,s,d,h,v){s===Dn&&(s=ct);let D=0,A=0,V=0<s.length?s[0]:null,ee=0<d.length?d[0]:null;for(;null!==V||null!==ee;){const Te=D<s.length?s[D+1]:void 0,Ae=A<d.length?d[A+1]:void 0;let ut,Je=null;V===ee?(D+=2,A+=2,Te!==Ae&&(Je=ee,ut=Ae)):null===ee||null!==V&&V<ee?(D+=2,Je=V):(A+=2,Je=ee,ut=Ae),null!==Je&&ev(e,t,n,r,Je,ut,h,v),V=D<s.length?s[D]:null,ee=A<d.length?d[A]:null}}(s,v,h,h[Gt],h[d+1],h[d+1]=function PD(e,t,n){if(null==n||""===n)return ct;const r=[],s=qs(n);if(Array.isArray(s))for(let d=0;d<s.length;d++)e(r,s[d],!0);else if("object"==typeof s)for(const d in s)s.hasOwnProperty(d)&&e(r,d,s[d]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,d)}}function J_(e,t){return t>=e.expandoStartIndex}function Z_(e,t,n,r){const s=e.data;if(null===s[n+1]){const d=s[f()],h=J_(e,n);nv(d,r)&&null===t&&!h&&(t=!1),t=function ID(e,t,n,r){const s=re(e);let d=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=Ku(n=Mp(null,e,t,n,r),t.attrs,r),d=null);else{const h=t.directiveStylingLast;if(-1===h||e[h]!==s)if(n=Mp(s,e,t,n,r),null===d){let D=function ND(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Wl(r))return e[il(r)]}(e,t,r);void 0!==D&&Array.isArray(D)&&(D=Mp(null,e,t,D[1],r),D=Ku(D,t.attrs,r),function AD(e,t,n,r){e[il(n?t.classBindings:t.styleBindings)]=r}(e,t,r,D))}else d=function xD(e,t,n){let r;const s=t.directiveEnd;for(let d=1+t.directiveStylingLast;d<s;d++)r=Ku(r,e[d].hostAttrs,n);return Ku(r,t.attrs,n)}(e,t,r)}return void 0!==d&&(r?t.residualClasses=d:t.residualStyles=d),n}(s,d,t,r),function yD(e,t,n,r,s,d){let h=d?t.classBindings:t.styleBindings,v=il(h),D=Wl(h);e[r]=n;let V,A=!1;if(Array.isArray(n)?(V=n[1],(null===V||Ol(n,V)>0)&&(A=!0)):V=n,s)if(0!==D){const Te=il(e[v+1]);e[r+1]=ph(Te,v),0!==Te&&(e[Te+1]=Dp(e[Te+1],r)),e[v+1]=function _D(e,t){return 131071&e|t<<17}(e[v+1],r)}else e[r+1]=ph(v,0),0!==v&&(e[v+1]=Dp(e[v+1],r)),v=r;else e[r+1]=ph(D,0),0===v?v=r:e[D+1]=Dp(e[D+1],r),D=r;A&&(e[r+1]=bp(e[r+1])),H_(e,V,r,!0),H_(e,V,r,!1),function bD(e,t,n,r,s){const d=s?e.residualClasses:e.residualStyles;null!=d&&"string"==typeof t&&Ol(d,t)>=0&&(n[r+1]=wp(n[r+1]))}(t,V,e,r,d),h=ph(v,D),d?t.classBindings=h:t.styleBindings=h}(s,d,t,n,h,r)}}function Mp(e,t,n,r,s){let d=null;const h=n.directiveEnd;let v=n.directiveStylingLast;for(-1===v?v=n.directiveStart:v++;v<h&&(d=t[v],r=Ku(r,d.hostAttrs,s),d!==e);)v++;return null!==e&&(n.directiveStylingLast=v),r}function Ku(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let d=0;d<t.length;d++){const h=t[d];"number"==typeof h?s=h:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ho(e,h,!!n||t[++d]))}return void 0===e?null:e}function RD(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Ho(e,r,n)}function ev(e,t,n,r,s,d,h,v){if(!(3&t.type))return;const D=e.data,A=D[v+1],V=function vD(e){return 1==(1&e)}(A)?tv(D,t,n,s,Wl(A),h):void 0;gh(V)||(gh(d)||function mD(e){return 2==(2&e)}(A)&&(d=tv(D,null,n,s,v,h)),function _f(e,t,n,r,s){if(t)s?e.addClass(n,r):e.removeClass(n,r);else{let d=-1===r.indexOf("-")?void 0:pc.DashCase;null==s?e.removeStyle(n,r,d):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),d|=pc.Important),e.setStyle(n,r,s,d))}}(r,h,Zo(f(),n),s,d))}function tv(e,t,n,r,s,d){const h=null===t;let v;for(;s>0;){const D=e[s],A=Array.isArray(D),V=A?D[1]:D,ee=null===V;let Te=n[s+1];Te===Dn&&(Te=ee?ct:void 0);let Ae=ee?ad(Te,r):V===r?Te:void 0;if(A&&!gh(Ae)&&(Ae=ad(D,r)),gh(Ae)&&(v=Ae,h))return v;const Je=e[s+1];s=h?il(Je):Wl(Je)}if(null!==t){let D=d?t.residualClasses:t.residualStyles;null!=D&&(v=ad(D,r))}return v}function gh(e){return void 0!==e}function nv(e,t){return 0!=(e.flags&(t?8:16))}function iv(e,t=""){const n=it(),r=Fn(),s=e+sn,d=r.firstCreatePass?Ac(r,s,1,t,null):r.data[s],h=rv(r,n,d,t,e);n[s]=h,vt()&&Cu(r,n,h,d),So(d,!1)}let rv=(e,t,n,r,s)=>(Ct(!0),Xa(t[Gt],r));function Tp(e){return mh("",e,""),Tp}function mh(e,t,n){const r=it(),s=Pc(r,e,t,n);return s!==Dn&&Ta(r,f(),s),mh}
1function Op(e,t,n,r,s){const d=it(),h=Rc(d,e,t,n,r,s);return h!==Dn&&Ta(d,f(),h),Op}function Sp(e,t,n,r,s,d,h){const v=it(),D=kc(v,e,t,n,r,s,d,h);return D!==Dn&&Ta(v,f(),D),Sp}function dv(e,t,n){Bs(Ho,sa,Pc(it(),e,t,n),!0)}function Ip(e,t,n){const r=it();return bo(r,xs(),t)&&cs(Fn(),g(),r,e,t,r[Gt],n,!0),Ip}function Np(e,t,n){const r=it();if(bo(r,xs(),t)){const d=Fn(),h=g();cs(d,h,r,e,t,Xm(re(d.data),h,r),n,!0)}return Np}const Kl=void 0;var iw=["en",[["a","p"],["AM","PM"],Kl],[["AM","PM"],Kl,Kl],[["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"]],Kl,[["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"]],Kl,[["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}",Kl,"{1} 'at' {0}",Kl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function nw(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Uc={};function Ap(e){const t=function rw(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=wv(t);if(n)return n;const r=t.split("-")[0];if(n=wv(r),n)return n;if("en"===r)return iw;throw new oe(701,!1)}function Dv(e){return Ap(e)[Hc.PluralCase]}function wv(e){return e in Uc||(Uc[e]=tn.ng&&tn.ng.common&&tn.ng.common.locales&&tn.ng.common.locales[e]),Uc[e]}var Hc=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}(Hc||{});const ow=["zero","one","two","few","many"],Gc="en-US",_h={marker:"element"},vh={marker:"ICU"};var zo=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(zo||{});let Cv=Gc;function Ev(e){(function ne(e,t){null==e&&ue(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Cv=e.toLowerCase().replace(/_/g,"-"))}function Mv(e,t,n){const r=t.insertBeforeIndex,s=Array.isArray(r)?r[0]:r;return null===s?xd(e,0,n):si(n[s])}function Tv(e,t,n,r,s){const d=t.insertBeforeIndex;if(Array.isArray(d)){let h=r,v=null;if(3&t.type||(v=h,h=s),null!==h&&-1===t.componentOffset)for(let D=1;D<d.length;D++)Qa(e,h,n[d[D]],v,!1)}}function Ov(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];Sv(r)||cw(r,t)&&null===uw(r)&&dw(r,t.index)}}function Sv(e){return!(64&e.type)}function cw(e,t){return Sv(t)||e.index>t.index}function uw(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function dw(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(ff(Mv,Tv),e.insertBeforeIndex=t)}function Xu(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function pw(e,t,n){const r=Wf(e,n,64,null,null);return Ov(t,r),r}function yh(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Iv(e){return e>>>17}function Nv(e){return(131070&e)>>>1}let Yu=0,Qu=0;function xv(e,t,n,r){const s=n[Gt];let h,d=null;for(let v=0;v<t.length;v++){const D=t[v];if("string"==typeof D){const A=t[++v];null===n[A]&&(n[A]=Xa(s,D))}else if("number"==typeof D)switch(1&D){case 0:const A=Iv(D);let V,ee;if(null===d&&(d=A,h=Du(s,r)),A===d?(V=r,ee=h):(V=null,ee=si(n[A])),null!==ee){const ut=Nv(D);Qa(s,ee,n[ut],V,!1);const Yt=Xu(e,ut);
1if(null!==Yt&&"object"==typeof Yt){const ot=yh(Yt,n);null!==ot&&xv(e,Yt.create[ot],n,n[Yt.anchorIdx])}}break;case 1:const Ae=t[++v],Je=t[++v];qf(s,Zo(D>>>1,n),null,null,Ae,Je,null)}else switch(D){case vh:const A=t[++v],V=t[++v];null===n[V]&&Ar(n[V]=_c(s,A),n);break;case _h:const ee=t[++v],Te=t[++v];null===n[Te]&&Ar(n[Te]=Bl(s,ee,null),n)}}}function Pv(e,t,n,r,s){for(let d=0;d<n.length;d++){const h=n[d],v=n[++d];if(h&s){let D="";for(let A=d+1;A<=d+v;A++){const V=n[A];if("string"==typeof V)D+=V;else if("number"==typeof V)if(V<0)D+=Pe(t[r-V]);else{const ee=V>>>2;switch(3&V){case 1:const Te=n[++A],Ae=n[++A],Je=e.data[ee];"string"==typeof Je?qf(t[Gt],t[ee],null,Je,Te,D,Ae):cs(e,Je,t,Te,D,t[Gt],Ae,!1);break;case 0:const ut=t[ee];null!==ut&&Md(t[Gt],ut,D);break;case 2:yw(e,Xu(e,ee),t,D);break;case 3:Rv(e,Xu(e,ee),r,t)}}}}else{const D=n[d+1];if(D>0&&3==(3&D)){const V=Xu(e,D>>>2);t[V.currentCaseLViewIndex]<0&&Rv(e,V,r,t)}}d+=v}}function Rv(e,t,n,r){let s=r[t.currentCaseLViewIndex];if(null!==s){let d=Yu;s<0&&(s=r[t.currentCaseLViewIndex]=~s,d=-1),Pv(e,r,t.update[s],n,d)}}function yw(e,t,n,r){const s=function bw(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function sw(e,t){const n=Dv(t)(parseInt(e,10)),r=ow[n];return void 0!==r?r:"other"}(t,function lw(){return Cv}());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(yh(t,n)!==s&&(kv(e,t,n),n[t.currentCaseLViewIndex]=null===s?null:~s,null!==s)){const h=n[t.anchorIdx];h&&xv(e,t.create[s],n,h)}}function kv(e,t,n){let r=yh(t,n);if(null!==r){const s=t.remove[r];for(let d=0;d<s.length;d++){const h=s[d];if(h>0){const v=Zo(h,n);null!==v&&Eu(n[Gt],v)}else kv(e,Xu(e,~h),n)}}}function Dw(){const e=[];let n,r,t=-1;function d(v,D){t=0;const A=yh(v,D);r=null!==A?v.remove[A]:ct}function h(){if(t<r.length){const v=r[t++];return v>0?n[v]:(e.push(t,r),d(n[wt].data[~v],n),h())}return 0===e.length?null:(r=e.pop(),t=e.pop(),h())}return function s(v,D){for(n=D;e.length;)e.pop();return d(v.value,D),h}}const bh=/\ufffd(\d+):?\d*\ufffd/gi,Cw=/\ufffd(\d+)\ufffd/,Lv=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Ju="\ufffd",Ew=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Mw=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Tw=/\uE500/g;function Bv(e,t,n,r,s,d,h){const v=ju(e,r,1,null);let D=v<<zo.SHIFT,A=Ki();t===A&&(A=null),null===A&&(D|=zo.APPEND_EAGERLY),h&&(D|=zo.COMMENT,function Fl(e){void 0===Zs&&(Zs=e())}(Dw)),s.push(D,null===d?"":d);const V=Wf(e,v,h?32:1,null===d?"":d,null);Ov(n,V);const ee=V.index;return So(V,!1),null!==A&&t!==A&&function fw(e,t){let n=e.insertBeforeIndex;null===n?(ff(Mv,Tv),n=e.insertBeforeIndex=[null,t]):(function Pn(e,t,n){e!=t&&ue(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(A,ee),V}function Iw(e,t,n,r,s,d,h){const v=h.match(bh),D=Bv(e,t,n,d,r,v?null:h,!1);v&&Zu(s,h,D.index,null,0,null)}function Zu(e,t,n,r,s,d){const h=e.length,v=h+1;e.push(null,null);const D=h+2,A=t.split(bh);let V=0;for(let ee=0;ee<A.length;ee++){const Te=A[ee];if(1&ee){const Ae=s+parseInt(Te,10);e.push(-1-Ae),V|=jv(Ae)}else""!==Te&&e.push(Te)}return e.push(n<<2|(r?1:0)),r&&e.push(r,d),e[h]=V,e[v]=e.length-D,V}function jv(e){return 1<<Math.min(e,31)}function Vv(e){let t,d,n="",r=0,s=!1;for(;null!==(t=Ew.exec(e));)s?t[0]===`${Ju}/*${d}${Ju}`&&(r=t.index,s=!1):(n+=e.substring(r,t.index+t[0].length),d=t[1],s=!0);return n+=e.slice(r),n}function $v(e,t,n,r,s,d){let h=0;const v={type:s.type,currentCaseLViewIndex:ju(e,t,1,null),anchorIdx:d,cases:[],create:[],remove:[],update:[]};(function Lw(e,t,n){e.push(jv(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(n,s,d),function hw(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(e,d,v);const D=s.values;for(let A=0;A<D.length;A++){const V=D[A],ee=[];for(let Te=0;Te<V.length;Te++){const Ae=V[Te];if("string"!=typeof Ae){const Je=ee.push(Ae)-1;V[Te]=`\x3c!--\ufffd${Je}\ufffd--\x3e`}}h=kw(e,v,t,n,r,s.cases[A],V.join(""),ee)|h}h&&function Bw(e,t,n){e.push(t,1,n<<2|3)}(n,h,d)}function Rw(e){const t=[],n=[];let r=1,s=0;const d=xp(e=e.replace(Lv,function(h,v,D){return r="select"===D?0:1,s=parseInt(v.slice(1),10),""}));for(let h=0;h<d.length;){let v=d[h++].trim();1===r&&(v=v.replace(/\s*(?:=)?(\w+)\s*/,"$1")),v.length&&t.push(v);const D=xp(d[h++]);t.length>n.length&&n.push(D)}return{type:r,mainBinding:s,cases:t,values:n}}function xp(e){if(!e)return[];let t=0;const n=[],r=[],s=/[{}]/g;let d;for(s.lastIndex=0;d=s.exec(e);){const v=d.index;if("}
1"==d[0]){if(n.pop(),0==n.length){const D=e.substring(t,v);Lv.test(D)?r.push(Rw(D)):r.push(D),t=v+1}}else{if(0==n.length){const D=e.substring(t,v);r.push(D),t=v+1}n.push("{")}}const h=e.substring(t);return r.push(h),r}function kw(e,t,n,r,s,d,h,v){const D=[],A=[],V=[];t.cases.push(d),t.create.push(D),t.remove.push(A),t.update.push(V);const Te=Cf(jl()).getInertBodyElement(h),Ae=On(Te)||Te;return Ae?Uv(e,t,n,r,D,A,V,Ae,s,v,0):0}function Uv(e,t,n,r,s,d,h,v,D,A,V){let ee=0,Te=v.firstChild;for(;Te;){const Ae=ju(e,n,1,null);switch(Te.nodeType){case Node.ELEMENT_NODE:const Je=Te,ut=Je.tagName.toLowerCase();if(Se.hasOwnProperty(ut)){Pp(s,_h,ut,D,Ae),e.data[Ae]=ut;const gn=Je.attributes;for(let Rn=0;Rn<gn.length;Rn++){const Ci=gn.item(Rn),Ko=Ci.name.toLowerCase();Ci.value.match(bh)?at.hasOwnProperty(Ko)&&Zu(h,Ci.value,Ae,Ci.name,0,Be[Ko]?Dc:null):jw(s,Ae,Ci)}ee=Uv(e,t,n,r,s,d,h,Te,Ae,A,V+1)|ee,Hv(d,Ae,V)}break;case Node.TEXT_NODE:const St=Te.textContent||"",Yt=St.match(bh);Pp(s,null,Yt?"":St,D,Ae),Hv(d,Ae,V),Yt&&(ee=Zu(h,St,Ae,null,0,null)|ee);break;case Node.COMMENT_NODE:const ot=Cw.exec(Te.textContent||"");if(ot){const Rn=A[parseInt(ot[1],10)];Pp(s,vh,"",D,Ae),$v(e,n,r,D,Rn,Ae),Fw(d,Ae,V)}}Te=Te.nextSibling}return ee}function Hv(e,t,n){0===n&&e.push(t)}function Fw(e,t,n){0===n&&(e.push(~t),e.push(t))}function Pp(e,t,n,r,s){null!==t&&e.push(t),e.push(n,s,function gw(e,t,n){return e|t<<17|n<<1}(0,r,s))}function jw(e,t,n){e.push(t<<1|1,n.name,n.value)}function zv(e,t,n=-1){const r=Fn(),s=it(),d=sn+e,h=qo(r.consts,t),v=Ki();r.firstCreatePass&&function Sw(e,t,n,r,s,d){const h=Ki(),v=[],D=[],A=[[]];s=function Pw(e,t){if(function xw(e){return-1===e}(t))return Vv(e);{const n=e.indexOf(`:${t}${Ju}`)+2+t.toString().length,r=e.search(new RegExp(`${Ju}\\/\\*\\d+:${t}${Ju}`));return Vv(e.substring(n,r))}}(s,d);const V=function Ow(e){return e.replace(Tw," ")}(s).split(Mw);for(let ee=0;ee<V.length;ee++){let Te=V[ee];if(1&ee){const Ae=47===Te.charCodeAt(0),ut=(Te.charCodeAt(Ae?1:0),sn+Number.parseInt(Te.substring(Ae?2:1)));if(Ae)A.shift(),So(Ki(),!1);else{const St=pw(e,A[0],ut);A.unshift([]),So(St,!0)}}else{const Ae=xp(Te);for(let Je=0;Je<Ae.length;Je++){let ut=Ae[Je];if(1&Je){const St=ut;if("object"!=typeof St)throw new Error(`Unable to parse ICU expression in "${s}" message.`);$v(e,n,D,t,St,Bv(e,h,A[0],n,v,"",!0).index)}else""!==ut&&Iw(e,h,A[0],v,D,n,ut)}}}e.data[r]={create:v,update:D}}(r,null===v?0:v.index,s,d,h,n),2===r.type?s[Gn][Zt]|=32:s[Zt]|=32;const D=r.data[d],V=uf(r,v===s[fi]?null:v,s);(function vw(e,t,n,r){const s=e[Gt];for(let d=0;d<t.length;d++){const h=t[d++],v=t[d],A=(h&zo.APPEND_EAGERLY)===zo.APPEND_EAGERLY,V=h>>>zo.SHIFT;let ee=e[V];null===ee&&(ee=e[V]=(h&zo.COMMENT)===zo.COMMENT?s.createComment(v):Xa(s,v)),A&&null!==n&&Qa(s,n,ee,r,!1)}})(s,D.create,V,v&&8&v.type?s[v.index]:null),_(!0)}function Kv(e,t,n){zv(e,t,n),function Wv(){_(!1)}()}function Rp(e){return function mw(e){e&&(Yu|=1<<Math.min(Qu,31)),Qu++}(bo(it(),xs(),e)),Rp}function Xv(e){!function _w(e,t,n){if(Qu>0){const r=e.data[n];Pv(e,t,Array.isArray(r)?r:r.update,Io()-Qu-1,Yu)}Yu=0,Qu=0}(Fn(),it(),e+sn)}function kp(e,t,n,r,s){if(e=_e(e),Array.isArray(e))for(let d=0;d<e.length;d++)kp(e[d],t,n,r,s);else{const d=Fn(),h=it(),v=tr();let D=wa(e)?e:_e(e.provide);const A=Au(e),V=1048575&v.providerIndexes,ee=v.directiveStart,Te=v.providerIndexes>>20;if(wa(e)||!e.multi){const Ae=new ar(A,s,Nc),Je=Lp(D,t,s?V:V+Te,ee);-1===Je?(Ks(Va(v,h),d,D),Fp(d,e,t.length),t.push(D),v.directiveStart++,v.directiveEnd++,s&&(v.providerIndexes+=1048576),n.push(Ae),h.push(Ae)):(n[Je]=Ae,h[Je]=Ae)}else{const Ae=Lp(D,t,V+Te,ee),Je=Lp(D,t,V,V+Te),St=Je>=0&&n[Je];if(s&&!St||!s&&!(Ae>=0&&n[Ae])){Ks(Va(v,h),d,D);const Yt=function eC(e,t,n,r,s){const d=new ar(e,n,Nc);return d.multi=[],d.index=t,d.componentProviders=0,Yv(d,s,r&&!n),d}(s?qw:Zw,n.length,s,r,A);!s&&St&&(n[Je].providerFactory=Yt),Fp(d,e,t.length,0),t.push(D),v.directiveStart++,v.directiveEnd++,s&&(v.providerIndexes+=1048576),n.push(Yt),h.push(Yt)}else Fp(d,e,Ae>-1?Ae:Je,Yv(n[s?Je:Ae],A,!s&&r));!s&&r&&St&&n[Je].componentProviders++}}}function Fp(e,t,n,r){const s=wa(t),d=function Tf(e){return!!e.useClass}(t);if(s||d){const D=(d?_e(t.useClass):t).prototype.ngOnDestroy;if(D){const A=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const V=A.indexOf(n);-1===V?A.push(n,[r,D]):A[V+1].push(r,D)}else A.push(n,D)}}}function Yv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Lp(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function Zw(e,t,n,r){return Bp(this.multi,[])}function qw(e,t,n,r){const s=this.multi;let d;if(this.providerFactory){const h=this.providerFactory.componentProviders,v=xo(n,n[wt],this.providerFactory.index,r);d=v.slice(0,h),Bp(s,d);for(let D=h;D<v.length;D++)d.push(v[D])}else d=[],Bp(s,d);return d}function Bp(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Qv(e,t=[]){return n=>{n.providersResolver=(r,s)=>
1function Jw(e,t,n){const r=Fn();if(r.firstCreatePass){const s=Sr(e);kp(n,r.data,r.blueprint,s,!0),kp(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class Xl{}class Jv{}function tC(e,t){return new jp(e,t??null,[])}class jp extends Xl{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new n_(this);const s=bi(t);this._bootstrapComponents=Ma(s.bootstrap),this._r3Injector=hm(t,n,[{provide:Xl,useValue:this},{provide:ku,useValue:this.componentFactoryResolver},...r],J(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 Vp extends Jv{constructor(t){super(),this.moduleType=t}create(t){return new jp(this.moduleType,t,[])}}class Zv extends Xl{constructor(t){super(),this.componentFactoryResolver=new n_(this),this.instance=null;const n=new Ca([...t.providers,{provide:Xl,useValue:this},{provide:ku,useValue:this.componentFactoryResolver}],t.parent||ys(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function qv(e,t,n=null){return new Zv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let iC=(()=>{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=ks(0,n.type),s=r.length>0?qv([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=ht({token:e,providedIn:"environment",factory:()=>new e(dt(Ro))})}}return e})();function e0(e){e.getStandaloneInjector=t=>t.get(iC).getOrCreateStandaloneInjector(e)}function l0(e,t,n){const r=br()+e,s=it();return s[r]===Dn?ra(s,r,n?t.call(n):t()):Hu(s,r)}function c0(e,t,n,r){return f0(it(),br(),e,t,n,r)}function u0(e,t,n,r,s){return p0(it(),br(),e,t,n,r,s)}function d0(e,t,n,r,s,d){return g0(it(),br(),e,t,n,r,s,d)}function h0(e,t,n,r,s,d,h,v,D){const A=br()+e,V=it(),ee=function bs(e,t,n,r,s,d){const h=zl(e,t,n,r);return zl(e,t+2,s,d)||h}(V,A,n,r,s,d);return zl(V,A+4,h,v)||ee?ra(V,A+6,D?t.call(D,n,r,s,d,h,v):t(n,r,s,d,h,v)):Hu(V,A+6)}function qu(e,t){const n=e[t];return n===Dn?void 0:n}function f0(e,t,n,r,s,d){const h=t+n;return bo(e,h,s)?ra(e,h+1,d?r.call(d,s):r(s)):qu(e,h+1)}function p0(e,t,n,r,s,d,h){const v=t+n;return zl(e,v,s,d)?ra(e,v+2,h?r.call(h,s,d):r(s,d)):qu(e,v+2)}function g0(e,t,n,r,s,d,h,v){const D=t+n;return oh(e,D,s,d,h)?ra(e,D+3,v?r.call(v,s,d,h):r(s,d,h)):qu(e,D+3)}function v0(e,t){const n=Fn();let r;const s=e+sn;n.firstCreatePass?(r=function _C(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[s]=r,r.onDestroy&&(n.destroyHooks??=[]).push(s,r.onDestroy)):r=n.data[s];const d=r.factory||(r.factory=vo(r.type)),v=En(Nc);try{const D=_n(!1),A=d();return _n(D),function aD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,it(),s,A),A}finally{En(v)}}function y0(e,t,n){const r=e+sn,s=it(),d=As(s,r);return ed(s,r)?f0(s,br(),t,d.transform,n,d):d.transform(n)}function b0(e,t,n,r){const s=e+sn,d=it(),h=As(d,s);return ed(d,s)?p0(d,br(),t,h.transform,n,r,h):h.transform(n,r)}function D0(e,t,n,r,s){const d=e+sn,h=it(),v=As(h,d);return ed(h,d)?g0(h,br(),t,v.transform,n,r,s,v):v.transform(n,r,s)}function ed(e,t){return e[wt].data[t].pure}function bC(){return this._results[Symbol.iterator]()}class Dh{get changes(){return this._changes||(this._changes=new na)}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=Dh.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=bC)}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)}
vendor: 11,712 bytes, line 1
1forEach(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 s=function Po(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Uh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],d=t[r];if(n&&(s=n(s),d=n(d)),d!==s)return!1}return!0}(r._results,s,n))&&(r._results=s,r.length=s.length,r.last=s[this.length-1],r.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function wC(e,t,n,r=!0){const s=t[wt];if(function Nd(e,t,n,r){const s=Gi+r,d=n.length;r>0&&(n[s-1][Hi]=t),r<d-Gi?(t[Hi]=n[s],tu(n,Gi+r,t)):(n.push(t),t[Hi]=null),t[xn]=n;const h=t[io];null!==h&&n!==h&&function xg(e,t){const n=e[Rr];t[Gn]!==t[xn][xn][Gn]&&(e[Bi]=!0),null===n?e[Rr]=[t]:n.push(t)}(h,t);const v=t[Mr];null!==v&&v.insertView(e),t[Zt]|=128}(s,t,e,n),r){const d=kd(n,e),h=t[Gt],v=Du(h,e[or]);null!==v&&function Od(e,t,n,r,s,d){r[Un]=s,r[fi]=t,bc(e,r,n,1,s,d)}(s,e[fi],h,t,v,d)}}let td=(()=>{class e{static{this.__NG_ELEMENT_ID__=MC}}return e})();const CC=td,EC=class extends CC{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 s=function DC(e,t,n,r){const s=t.tView,v=qd(e,s,n,4096&e[Zt]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);v[io]=e[t.index];const A=e[Mr];return null!==A&&(v[Mr]=A.createEmbeddedView(s)),np(s,v,n),v}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new $u(s)}};function MC(){return wh(tr(),it())}function wh(e,t){return 4&e.type?new EC(t,e,Oc(e,t)):null}let Eh=(()=>{class e{static{this.__NG_ELEMENT_ID__=AC}}return e})();function AC(){return S0(tr(),it())}const xC=Eh,T0=class extends xC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Oc(this._hostTNode,this._hostLView)}get injector(){return new lo(this._hostTNode,this._hostLView)}get parentInjector(){const t=Lr(this._hostTNode,this._hostLView);if(ja(t)){const n=$t(t,this._hostLView),r=Uo(t);return new lo(n[wt].data[r+8],n)}return new lo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=O0(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Gi}createEmbeddedView(t,n,r){let s,d;"number"==typeof r?s=r:null!=r&&(s=r.index,d=r.injector);const v=t.createEmbeddedViewImpl(n||{},d,null);return this.insertImpl(v,s,false),v}createComponent(t,n,r,s,d){const h=t&&!function Ml(e){return"function"==typeof e}(t);let v;if(h)v=n;else{const ut=n||{};v=ut.index,r=ut.injector,s=ut.projectableNodes,d=ut.environmentInjector||ut.ngModuleRef}const D=h?t:new Uu(Bt(t)),A=r||this.parentInjector;if(!d&&null==D.ngModule){const St=(h?A:this.parentInjector).get(Ro,null);St&&(d=St)}Bt(D.componentType??{});const Ae=D.create(A,s,null,d);return this.insertImpl(Ae.hostView,v,false),Ae}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const s=t._lView;if(function hl(e){return ji(e[xn])}(s)){const D=this.indexOf(t);if(-1!==D)this.detach(D);else{const A=s[xn],V=new T0(A,A[fi],A[xn]);V.detach(V.indexOf(t))}}const h=this._adjustIndex(n),v=this._lContainer;return wC(v,s,h,!r),t.attachToViewContainerRef(),tu(Up(v),h,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=O0(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ya(this._lContainer,n);r&&(Tl(Up(this._lContainer),n),vu(r[wt],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ya(this._lContainer,n);return r&&null!=Tl(Up(this._lContainer),n)?new $u(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function O0(e){return e[8]}function Up(e){return e[8]||(e[8]=[])}function S0(e,t){let n;const r=t[e.index];return ji(r)?n=r:(n=Gm(r,t,null,e),t[e.index]=n,eh(t,n)),I0(n,t,e,r),new T0(n,e,t)}let I0=function N0(e,t,n,r){if(e[or])return;let s;s=8&n.type?si(r):function PC(e,t){const n=e[Gt],r=n.createComment(""),s=Nr(t,e);return Qa(n,Du(n,s),r,function Fg(e,t){return e.nextSibling(t)}(n,s),!1),r}(t,n),e[or]=s};class Hp{constructor(t){this.queryList=t,this.matches=null}clone(){return new Hp(this.queryList)}setDirty(){this.queryList.setDirty()}}class Gp{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let d=0;d<r;d++){const h=n.getByIndex(d);s.push(this.queries[h.indexInDeclarationView].clone())}return new Gp(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==j0(t,n).matches&&this.queries[n].setDirty()}}class A0{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class zp{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const s=null!==n?n.length:0,d=this.getByIndex(r).embeddedTView(t,s);d&&(d.indexInDeclarationView=r,null!==n?n.push(d):n=[d])}return null!==n?new zp(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Wp{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Wp(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let s=0;s<r.length;s++){const d=r[s];this.matchTNodeWithReadOption(t,n,FC(n,d)),this.matchTNodeWithReadOption(t,n,sc(n,t,d,!1,!1))}else r===td?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,sc(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===Fu||s===Eh||s===td&&4&n.type)this.addMatch(n.index,-2);else{const d=sc(n,t,s,!1,!1);null!==d&&this.addMatch(n.index,d)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function FC(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function BC(e,t,n,r){return-1===n?function LC(e,t){return 11&e.type?Oc(e,t):4&e.type?wh(e,t):null}(t,e):-2===n?function jC(e,t,n){return n===Fu?Oc(t,e):n===td?wh(t,e):n===Eh?S0(t,e):void 0}(e,t,r):xo(e,e[wt],n,t)}function x0(e,t,n,r){const s=t[Mr].queries[r];if(null===s.matches){const d=e.data,h=n.matches,v=[];for(let D=0;D<h.length;D+=2){const A=h[D];v.push(A<0?null:BC(t,d[A],h[D+1],n.metadata.read))}s.matches=v}return s.matches}function Kp(e,t,n,r){const s=e.queries.getByIndex(n),d=s.matches;if(null!==d){const h=x0(e,t,s,n);for(let v=0;v<d.length;v+=2){const D=d[v];if(D>0)r.push(h[v/2]);else{const A=d[v+1],V=t[-D];for(let ee=Gi;ee<V.length;ee++){const Te=V[ee];Te[io]===Te[xn]&&Kp(Te[wt],Te,A,r)}if(null!==V[Rr]){const ee=V[Rr];for(let Te=0;Te<ee.length;Te++){const Ae=ee[Te];Kp(Ae[wt],Ae,A,r)}}}}}return r}function P0(e){const t=it(),n=Fn(),r=je();ke(r+1);const s=j0(n,r);if(e.dirty&&function dl(e){return 4==(4&e[Zt])}(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const d=s.crossesNgTemplate?Kp(n,t,r,[]):x0(n,t,s,r);e.reset(d,m1),e.notifyOnChanges()}return!0}return!1}function R0(e,t,n){const r=Fn();r.firstCreatePass&&(B0(r,new A0(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),L0(r,it(),t)}function k0(e,t,n,r){const s=Fn();if(s.firstCreatePass){const d=tr();B0(s,new A0(t,n,r),d.index),function $C(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}L0(s,it(),n)}function F0(){return function VC(e,t){return e[Mr].queries[t].queryList}(it(),je())}function L0(e,t,n){const r=new Dh(4==(4&n));(function Y1(e,t,n,r){const s=Wm(t);s.push(n),e.firstCreatePass&&Km(e).push(r,s.length-1)})(e,t,r,r.destroy),null===t[Mr]&&(t[Mr]=new Gp),t[Mr].queries.push(new Hp(r))}function B0(e,t,n){null===e.queries&&(e.queries=new zp),e.queries.track(new Wp(t,n))}function j0(e,t){return e.queries.getByIndex(t)}function V0(e,t){return wh(e,t)}function Xp(e){return!!bi(e)}const iy=new Tt("Application Initializer");let qp=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=Lt(iy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const s of this.appInits){const d=s();if(gp(d))n.push(d);else if(I_(d)){const h=new Promise((v,D)=>{d.subscribe({complete:v,error:D})});n.push(h)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(s=>{this.reject(s)}),0===n.length&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ht({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),ry=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ht({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const Th=new Tt("LocaleId",{providedIn:"root",factory:()=>Lt(Th,_t.Optional|_t.SkipSelf)||function lE(){return typeof $localize<"u"&&$localize.locale||Gc}()}),cE=new Tt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let oy=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new te.t(!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{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ht({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class dE{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let hE=(()=>{class e{compileModuleSync(n){return new Vp(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),d=Ma(bi(n).declarations).reduce((h,v)=>{const D=Bt(v);return D&&h.push(new Uu(D)),h},[]);return new dE(r,d)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ht({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const cy=new Tt(""),uy=new Tt("");let ng,RE=(()=>{class e{constructor(n,r,s){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZ
1oneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ng||(function kE(e){ng=e}(s),s.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:()=>{Jr.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,s){let d=-1;r&&r>0&&(d=setTimeout(()=>{this._callbacks=this._callbacks.filter(h=>h.timeoutId!==d),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:d,updateCb:s})}whenStable(n,r,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,s){return[]}static{this.\u0275fac=function(r){return new(r||e)(dt(Jr),dt(dy),dt(uy))}}static{this.\u0275prov=ht({token:e,factory:e.\u0275fac})}}return e})(),dy=(()=>{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 ng?.findTestabilityInTree(this,n,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ht({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),rl=null;const hy=new Tt("AllowMultipleToken"),ig=new Tt("PlatformDestroyListeners"),rg=new Tt("appBootstrapListener");class BE{constructor(t,n){this.name=t,this.token=n}}function gy(e,t,n=[]){const r=`Platform: ${t}`,s=new Tt(r);return(d=[])=>{let h=og();if(!h||h.injector.get(hy,!1)){const v=[...n,...d,{provide:s,useValue:!0}];e?e(v):function jE(e){if(rl&&!rl.get(hy,!1))throw new oe(400,!1);(function fy(){!function Pa(e){ua=e}(()=>{throw new oe(600,!1)})})(),rl=e;const t=e.get(_y);(function py(e){e.get(em,null)?.forEach(n=>n())})(e)}(function my(e=[],t){return Fs.create({name:t,providers:[{provide:Cc,useValue:"platform"},{provide:ig,useValue:new Set([()=>rl=null])},...e]})}(v,r))}return function $E(e){const t=og();if(!t)throw new oe(401,!1);return t}()}}function og(){return rl?.get(_y)??null}let _y=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const s=function UE(e="zone.js",t){return"noop"===e?new P1:"zone.js"===e?new Jr(t):e}(r?.ngZone,function vy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return s.run(()=>
1{const d=function nC(e,t,n){return new jp(e,t,n)}(n.moduleType,this.injector,function Cy(e){return[{provide:Jr,useFactory:e},{provide:ls,multi:!0,useFactory:()=>{const t=Lt(GE,{optional:!0});return()=>t.initialize()}},{provide:wy,useFactory:HE},{provide:_m,useFactory:vm}]}(()=>s)),h=d.injector.get(nl,null);return s.runOutsideAngular(()=>{const v=s.onError.subscribe({next:D=>{h.handleError(D)}});d.onDestroy(()=>{Sh(this._modules,d),v.unsubscribe()})}),function yy(e,t,n){try{const r=n();return gp(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(h,s,()=>{const v=d.injector.get(qp);return v.runInitializers(),v.donePromise.then(()=>(Ev(d.injector.get(Th,Gc)||Gc),this._moduleDoBootstrap(d),d))})})}bootstrapModule(n,r=[]){const s=by({},r);return function FE(e,t,n){const r=new Vp(n);return Promise.resolve(r)}(0,0,n).then(d=>this.bootstrapModuleFactory(d,s))}_moduleDoBootstrap(n){const r=n.injector.get(Kc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new oe(-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 oe(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ig,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(r){return new(r||e)(dt(Fs))}}static{this.\u0275prov=ht({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function by(e,t){return Array.isArray(t)?t.reduce(by,e):{...e,...t}}let Kc=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Lt(wy),this.zoneIsStable=Lt(_m),this.componentTypes=[],this.components=[],this.isStable=Lt(oy).hasPendingTasks.pipe((0,he.n)(n=>n?(0,ce.of)(!1):this.zoneIsStable),(0,ae.F)(),(0,me.u)()),this._injector=Lt(Ro)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const s=n instanceof rm;if(!this._injector.get(qp).done)throw!s&&Vr(n),new oe(405,!1);let h;h=s?n:this._injector.get(ku).resolveComponentFactory(n),this.componentTypes.push(h.componentType);const v=function LE(e){return e.isBoundToModule}(h)?void 0:this._injector.get(Xl),A=h.create(Fs.NULL,[],r||h.selector,v),V=A.location.nativeElement,ee=A.injector.get(cy,null);return ee?.registerApplication(V),A.onDestroy(()=>{this.detachView(A.hostView),Sh(this.components,A),ee?.unregisterApplication(V)}),this._loadComponent(A),A}tick(){if(this._runningTick)throw new oe(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;Sh(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(rg,[]);r.push(...this._bootstrapListeners),r.forEach(s=>s(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),()=>Sh(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new oe(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ht({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Sh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const wy=new Tt("",{providedIn:"root",factory:()=>Lt(nl).handleError.bind(void 0)});function HE(){const e=Lt(Jr),t=Lt(nl);return n=>e.runOutsideAngular(()=>t.handleError(n))}let GE=(()=>{class e{constructor(){this.zone=Lt(Jr),this.applicationRef=Lt(Kc)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=ht({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();let WE=(()=>{class e{static{this.__NG_ELEMENT_ID__=KE}}return e})();function KE(e){return function XE(e,t,n){if(Wt(e)&&!n){const r=Wr(e.index,t);return new $u(r,r)}return 47&e.type?new $u(t[Gn],t):null}(tr(),it(),16==(16&e))}class Sy{constructor(){}supports(t){return rh(t)}create(t){return new qE(t)}}const ZE=(e,t)=>t;class qE{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||ZE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,s=0,d=null;for(;n||r;){const h=!r||n&&n.currentIndex<Ny(r,s,d)?n:r,v=Ny(h,s,d),D=h.currentIndex;if(h===r)s--,r=r._nextRemoved;else if(n=n._next,null==h.previousIndex)s++;else{d||(d=[]);const A=v-s,V=D-s;if(A!=V){for(let Te=0;Te<A;Te++){const Ae=Te<d.length?d[Te]:d[Te]=0,Je=Ae+Te;V<=Je&&Je<A&&(d[Te]=Ae+1)}d[h.previousIndex]=V-A}}v!==D&&t(h,v,D)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;
vendor: 6,925 bytes, line 1
1n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!rh(t))throw new oe(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,d,h,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let v=0;v<this.length;v++)d=t[v],h=this._trackByFn(v,d),null!==n&&Object.is(n.trackById,h)?(r&&(n=this._verifyReinsertion(n,d,h,v)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,h,v),r=!0),n=n._next}else s=0,function Vb(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,v=>{h=this._trackByFn(s,v),null!==n&&Object.is(n.trackById,h)?(r&&(n=this._verifyReinsertion(n,v,h,s)),Object.is(n.item,v)||this._addIdentityChange(n,v)):(n=this._mismatch(n,v,h,s),r=!0),n=n._next,s++}),this.length=s;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,s){let d;return null===t?d=this._itTail:(d=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,d,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,d,s)):t=this._addAfter(new eM(n,r),d,s),t}_verifyReinsertion(t,n,r,s){let d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==d?t=this._reinsertAfter(d,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),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 s=t._prevRemoved,d=t._nextRemoved;return null===s?this._removalsHead=d:s._nextRemoved=d,null===d?this._removalsTail=s:d._prevRemoved=s,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 s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Iy),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 Iy),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 eM{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 tM{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 Iy{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new tM,this.map.set(n,r)),r.add(t)}get(t,n){const s=this.map.get(t);return s?s.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 Ny(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class Ay{constructor(){}supports(t){return t instanceof Map||rp(t)}create(){return new nM}}class nM{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||rp(t)))throw new oe(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const d=this._getOrCreateRecordForKey(s,r);
1n=this._insertBeforeOrAppend(n,d)}}),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 s=this._records.get(t);this._maybeAddToChanges(s,n);const d=s._prev,h=s._next;return d&&(d._next=h),h&&(h._prev=d),s._next=null,s._prev=null,s}const r=new iM(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 iM{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 xy(){return new ug([new Sy])}let ug=(()=>{class e{static{this.\u0275prov=ht({token:e,providedIn:"root",factory:xy})}constructor(n){this.factories=n}static create(n,r){if(null!=r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||xy()),deps:[[e,new ru,new iu]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(null!=r)return r;throw new oe(901,!1)}}return e})();function Py(){return new dg([new Ay])}let dg=(()=>{class e{static{this.\u0275prov=ht({token:e,providedIn:"root",factory:Py})}constructor(n){this.factories=n}static create(n,r){if(r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Py()),deps:[[e,new ru,new iu]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(r)return r;throw new oe(901,!1)}}return e})();const sM=gy(null,"core",[]);let aM=(()=>{class e{constructor(n){}static{this.\u0275fac=function(r){return new(r||e)(dt(Kc))}}static{this.\u0275mod=wo({type:e})}static{this.\u0275inj=jt({})}}return e})();function vM(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}
1function bM(e,t){const n=Bt(e),r=t.elementInjector||ys();return new Uu(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function DM(e){const t=Bt(e);if(!t)return null;const n=new Uu(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}}}},9417:(st,Oe,T)=>{T.d(Oe,{BC:()=>xe,MJ:()=>on,X1:()=>hs,YN:()=>$s,YS:()=>_r,cV:()=>Ye,cb:()=>Ke,cz:()=>Le,k0:()=>rt,kq:()=>he,l_:()=>ai,me:()=>X,qT:()=>Do,tU:()=>or,vS:()=>oi,xq:()=>Or});var i=T(7705),Y=T(177),l=T(6648),W=T(7468),te=T(6354);let ce=(()=>{class R{constructor(O,G){this._renderer=O,this._elementRef=G,this.onChange=fe=>{},this.onTouched=()=>{}}setProperty(O,G){this._renderer.setProperty(this._elementRef.nativeElement,O,G)}registerOnTouched(O){this.onTouched=O}registerOnChange(O){this.onChange=O}setDisabledState(O){this.setProperty("disabled",O)}static{this.\u0275fac=function(G){return new(G||R)(i.rXU(i.sFG),i.rXU(i.aKT))}}static{this.\u0275dir=i.FsC({type:R})}}return R})(),me=(()=>{class R extends ce{static{this.\u0275fac=function(){let O;return function(fe){return(O||(O=i.xGo(R)))(fe||R)}}()}static{this.\u0275dir=i.FsC({type:R,features:[i.Vt3]})}}return R})();const he=new i.nKC("NgValueAccessor"),z={provide:he,useExisting:(0,i.Rfq)(()=>X),multi:!0},K=new i.nKC("CompositionEventMode");let X=(()=>{class R extends ce{constructor(O,G,fe){super(O,G),this._compositionMode=fe,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function J(){const R=(0,Y.QT)()?(0,Y.QT)().getUserAgent():"";return/android (\d+)/.test(R.toLowerCase())}())}writeValue(O){this.setProperty("value",O??"")}_handleInput(O){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(O)}_compositionStart(){this._composing=!0}_compositionEnd(O){this._composing=!1,this._compositionMode&&this.onChange(O)}static{this.\u0275fac=function(G){return new(G||R)(i.rXU(i.sFG),i.rXU(i.aKT),i.rXU(K,8))}}static{this.\u0275dir=i.FsC({type:R,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(G,fe){1&G&&i.bIt("input",function(fn){return fe._handleInput(fn.target.value)})("blur",function(){return fe.onTouched()})("compositionstart",function(){return fe._compositionStart()})("compositionend",function(fn){return fe._compositionEnd(fn.target.value)})},features:[i.Jv_([z]),i.Vt3]})}}return R})();function be(R){return null==R||("string"==typeof R||Array.isArray(R))&&0===R.length}function _e(R){return null!=R&&"number"==typeof R.length}const Le=new i.nKC("NgValidators"),tt=new i.nKC("NgAsyncValidators"),Et=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class rt{static min(L){return function oe(R){return L=>{if(be(L.value)||be(R))return null;const O=parseFloat(L.value);return!isNaN(O)&&O<R?{min:{min:R,actual:L.value}}:null}}(L)}static max(L){return function Ce(R){return L=>{if(be(L.value)||be(R))return null;const O=parseFloat(L.value);return!isNaN(O)&&O>R?{max:{max:R,actual:L.value}}:null}}(L)}static required(L){return Pe(L)}static requiredTrue(L){return We(L)}static email(L){return function et(R){return be(R.value)||Et.test(R.value)?null:{email:!0}}(L)}static minLength(L){return function Xe(R){return L=>be(L.value)||!_e(L.value)?null:L.value.length<R?{minlength:{requiredLength:R,actualLength:L.value.length}}:null}(L)}static maxLength(L){return bt(L)}static pattern(L){return function Mt(R){if(!R)return Qt;let L,O;return"string"==typeof R?(O="","^"!==R.charAt(0)&&(O+="^"),O+=R,"$"!==R.charAt(R.length-1)&&(O+="$"),L=new RegExp(O)):(O=R.toString(),L=R),G=>{if(be(G.value))return null;const fe=G.value;return L.test(fe)?null:{pattern:{requiredPattern:O,actualValue:fe}}}}(L)}static nullValidator(L){return null}static compose(L){return hr(L)}static composeAsync(L){return Re(L)}}function Pe(R){return be(R.value)?{required:!0}:null}function We(R){return!0===R.value?null:{required:!0}}function bt(R){return L=>_e(L.value)&&L.value.length>R?{maxlength:{requiredLength:R,actualLength:L.value.length}}:null}function Qt(R){return null}function an(R){return null!=R}function ln(R){return(0,i.jNT)(R)?(0,l.H)(R):R}function gi(R){let L={};return R.forEach(O=>{L=null!=O?{...L,...O}:L}),0===Object.keys(L).length?null:L}function Pn(R,L){return L.map(O=>O(R))}function Ai(R){return R.map(L=>function jn(R){return!R.validate}(L)?L:O=>L.validate(O))}function hr(R){if(!R)return null;const L=R.filter(an);return 0==L.length?null:function(O){return gi(Pn(O,L))}}function ki(R){return null!=R?hr(Ai(R)):null}function Re(R){if(!R)return null;const L=R.filter(an);return 0==L.length?null:function(O){const G=Pn(O,L).map(ln);return(0,W.p)(G).pipe((0,te.T)(gi))}}function ge(R){return null!=R?Re(Ai(R)):null}function Ee(R,L){return null===R?[L]:Array.isArray(R)?[...R,L]:[R,L]}function q(R){return R._rawValidators}function ne(R){return R._rawAsyncValidators}function ue(R){return R?Array.isArray(R)?R:[R]:[]}function Ue(R,L){return Array.isArray(R)?R.includes(L):R===L}function Ut(R,L){const O=ue(L);
1return ue(R).forEach(fe=>{Ue(O,fe)||O.push(fe)}),O}function vn(R,L){return ue(L).filter(O=>!Ue(R,O))}class ht{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(L){this._rawValidators=L||[],this._composedValidatorFn=ki(this._rawValidators)}_setAsyncValidators(L){this._rawAsyncValidators=L||[],this._composedAsyncValidatorFn=ge(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(L){this._onDestroyCallbacks.push(L)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(L=>L()),this._onDestroyCallbacks=[]}reset(L=void 0){this.control&&this.control.reset(L)}hasError(L,O){return!!this.control&&this.control.hasError(L,O)}getError(L,O){return this.control?this.control.getError(L,O):null}}class Ot extends ht{get formDirective(){return null}get path(){return null}}class jt extends ht{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class wn{constructor(L){this._cd=L}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 xe=(()=>{class R extends wn{constructor(O){super(O)}static{this.\u0275fac=function(G){return new(G||R)(i.rXU(jt,2))}}static{this.\u0275dir=i.FsC({type:R,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(G,fe){2&G&&i.AVh("ng-untouched",fe.isUntouched)("ng-touched",fe.isTouched)("ng-pristine",fe.isPristine)("ng-dirty",fe.isDirty)("ng-valid",fe.isValid)("ng-invalid",fe.isInvalid)("ng-pending",fe.isPending)},features:[i.Vt3]})}}return R})(),Ke=(()=>{class R extends wn{constructor(O){super(O)}static{this.\u0275fac=function(G){return new(G||R)(i.rXU(Ot,10))}}static{this.\u0275dir=i.FsC({type:R,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(G,fe){2&G&&i.AVh("ng-untouched",fe.isUntouched)("ng-touched",fe.isTouched)("ng-pristine",fe.isPristine)("ng-dirty",fe.isDirty)("ng-valid",fe.isValid)("ng-invalid",fe.isInvalid)("ng-pending",fe.isPending)("ng-submitted",fe.isSubmitted)},features:[i.Vt3]})}}return R})();const kn="VALID",Fi="INVALID",ui="PENDING",vi="DISABLED";function yi(R){return(Zn(R)?R.validators:R)||null}function fr(R,L){return(Zn(L)?L.asyncValidators:R)||null}function Zn(R){return null!=R&&!Array.isArray(R)&&"object"==typeof R}class Xi{constructor(L,O){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(L),this._assignAsyncValidators(O)}get validator(){return this._composedValidatorFn}set validator(L){this._rawValidators=this._composedValidatorFn=L}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(L){this._rawAsyncValidators=this._composedAsyncValidatorFn=L}get parent(){return this._parent}get valid(){return this.status===kn}get invalid(){return this.status===Fi}get pending(){return this.status==ui}get disabled(){return this.status===vi}get enabled(){return this.status!==vi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(L){this._assignValidators(L)}setAsyncValidators(L){this._assignAsyncValidators(L)}addValidators(L){this.setValidators(Ut(L,this._rawValidators))}addAsyncValidators(L){this.setAsyncValidators(Ut(L,this._rawAsyncValidators))}removeValidators(L){this.setValidators(vn(L,this._rawValidators))}removeAsyncValidators(L){this.setAsyncValidators(vn(L,this._rawAsyncValidators))}hasValidator(L){return Ue(this._rawValidators,L)}hasAsyncValidator(L){return Ue(this._rawAsyncValidators,L)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(L={}){this.touched=!0,this._parent&&!L.onlySelf&&this._parent.markAsTouched(L)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}
vendor: 4,538 bytes, line 1
1),this._forEachChild(L=>L.markAllAsTouched())}markAsUntouched(L={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(O=>{O.markAsUntouched({onlySelf:!0})}),this._parent&&!L.onlySelf&&this._parent._updateTouched(L)}markAsDirty(L={}){this.pristine=!1,this._parent&&!L.onlySelf&&this._parent.markAsDirty(L)}markAsPristine(L={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(O=>{O.markAsPristine({onlySelf:!0})}),this._parent&&!L.onlySelf&&this._parent._updatePristine(L)}markAsPending(L={}){this.status=ui,!1!==L.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!L.onlySelf&&this._parent.markAsPending(L)}disable(L={}){const O=this._parentMarkedDirty(L.onlySelf);this.status=vi,this.errors=null,this._forEachChild(G=>{G.disable({...L,onlySelf:!0})}),this._updateValue(),!1!==L.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...L,skipPristineCheck:O}),this._onDisabledChange.forEach(G=>G(!0))}enable(L={}){const O=this._parentMarkedDirty(L.onlySelf);this.status=kn,this._forEachChild(G=>{G.enable({...L,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:L.emitEvent}),this._updateAncestors({...L,skipPristineCheck:O}),this._onDisabledChange.forEach(G=>G(!1))}_updateAncestors(L){this._parent&&!L.onlySelf&&(this._parent.updateValueAndValidity(L),L.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(L){this._parent=L}getRawValue(){return this.value}updateValueAndValidity(L={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===kn||this.status===ui)&&this._runAsyncValidator(L.emitEvent)),!1!==L.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!L.onlySelf&&this._parent.updateValueAndValidity(L)}_updateTreeValidity(L={emitEvent:!0}){this._forEachChild(O=>O._updateTreeValidity(L)),this.updateValueAndValidity({onlySelf:!0,emitEvent:L.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?vi:kn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(L){if(this.asyncValidator){this.status=ui,this._hasOwnPendingAsyncValidator=!0;const O=ln(this.asyncValidator(this));this._asyncValidationSubscription=O.subscribe(G=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(G,{emitEvent:L})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(L,O={}){this.errors=L,this._updateControlsErrors(!1!==O.emitEvent)}get(L){let O=L;return null==O||(Array.isArray(O)||(O=O.split(".")),0===O.length)?null:O.reduce((G,fe)=>G&&G._find(fe),this)}getError(L,O){const G=O?this.get(O):this;return G&&G.errors?G.errors[L]:null}hasError(L,O){return!!this.getError(L,O)}get root(){let L=this;for(;L._parent;)L=L._parent;return L}_updateControlsErrors(L){this.status=this._calculateStatus(),L&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(L)}_initObservables(){this.valueChanges=new i.bkB,this.statusChanges=new i.bkB}_calculateStatus(){return this._allControlsDisabled()?vi:this.errors?Fi:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ui)?ui:this._anyControlsHaveStatus(Fi)?Fi:kn}_anyControlsHaveStatus(L){return this._anyControls(O=>O.status===L)}_anyControlsDirty(){return this._anyControls(L=>L.dirty)}_anyControlsTouched(){return this._anyControls(L=>L.touched)}_updatePristine(L={}){this.pristine=!this._anyControlsDirty(),this._parent&&!L.onlySelf&&this._parent._updatePristine(L)}_updateTouched(L={}){this.touched=this._anyControlsTouched(),this._parent&&!L.onlySelf&&this._parent._updateTouched(L)}_registerOnCollectionChange(L){this._onCollectionChange=L}_setUpdateStrategy(L){Zn(L)&&null!=L.updateOn&&(this._updateOn=L.updateOn)}_parentMarkedDirty(L){return!L&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(L){return null}_assignValidators(L){this._rawValidators=Array.isArray(L)?L.slice():L,this._composedValidatorFn=function Cr(R){return Array.isArray(R)?ki(R):R||null}(this._rawValidators)}_assignAsyncValidators(L){this._rawAsyncValidators=Array.isArray(L)?L.slice():L,this._composedAsyncValidatorFn=function pr(R){return Array.isArray(R)?ge(R):R||null}(this._rawAsyncValidators)}}class Ge extends Xi{constructor(L,O,G){super(yi(O),fr(G,O)),this.controls=L,this._initOb
1servables(),this._setUpdateStrategy(O),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(L,O){return this.controls[L]?this.controls[L]:(this.controls[L]=O,O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange),O)}addControl(L,O,G={}){this.registerControl(L,O),this.updateValueAndValidity({emitEvent:G.emitEvent}),this._onCollectionChange()}removeControl(L,O={}){this.controls[L]&&this.controls[L]._registerOnCollectionChange(()=>{}),delete this.controls[L],this.updateValueAndValidity({emitEvent:O.emitEvent}),this._onCollectionChange()}setControl(L,O,G={}){this.controls[L]&&this.controls[L]._registerOnCollectionChange(()=>{}),delete this.controls[L],O&&this.registerControl(L,O),this.updateValueAndValidity({emitEvent:G.emitEvent}),this._onCollectionChange()}contains(L){return this.controls.hasOwnProperty(L)&&this.controls[L].enabled}setValue(L,O={}){(function Ei(R,L,O){R._forEachChild((G,fe)=>{if(void 0===O[fe])throw new i.wOt(1002,"")})})(this,0,L),Object.keys(L).forEach(G=>{(function xi(R,L,O){const G=R.controls;if(!(L?Object.keys(G):G).length)throw new i.wOt(1e3,"");if(!G[O])throw new i.wOt(1001,"")})(this,!0,G),this.controls[G].setValue(L[G],{onlySelf:!0,emitEvent:O.emitEvent})}),this.updateValueAndValidity(O)}patchValue(L,O={}){null!=L&&(Object.keys(L).forEach(G=>{const fe=this.controls[G];fe&&fe.patchValue(L[G],{onlySelf:!0,emitEvent:O.emitEvent})}),this.updateValueAndValidity(O))}reset(L={},O={}){this._forEachChild((G,fe)=>{G.reset(L?L[fe]:null,{onlySelf:!0,emitEvent:O.emitEvent})}),this._updatePristine(O),this._updateTouched(O),this.updateValueAndValidity(O)}getRawValue(){return this._reduceChildren({},(L,O,G)=>(L[G]=O.getRawValue(),L))}_syncPendingControls(){let L=this._reduceChildren(!1,(O,G)=>!!G._syncPendingControls()||O);return L&&this.updateValueAndValidity({onlySelf:!0}),L}_forEachChild(L){Object.keys(this.controls).forEach(O=>{const G=this.controls[O];G&&L(G,O)})}_setUpControls(){this._forEachChild(L=>{L.setParent(this),L._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(L){for(const[O,G]of Object.entries(this.controls))if(this.contains(O)&&L(G))return!0;return!1}_reduceValue(){return this._reduceChildren({},(O,G,fe)=>((G.enabled||this.disabled)&&(O[fe]=G.value),O))}_reduceChildren(L,O){let G=L;return this._forEachChild((fe,Vt)=>{G=O(G,fe,Vt)}),G}_allControlsDisabled(){for(const L of Object.keys(this.controls))if(this.controls[L].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(L){return this.controls.hasOwnProperty(L)?this.controls[L]:null}}const ft=new i.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>xt}),xt="always";function dn(R,L,O=xt){Ne(R,L),L.valueAccessor.writeValue(R.value),(R.disabled||"always"===O)&&L.valueAccessor.setDisabledState?.(R.disabled),function we(R,L){L.valueAccessor.registerOnChange(O=>
vendor: 1,675 bytes, line 1
1{R._pendingValue=O,R._pendingChange=!0,R._pendingDirty=!0,"change"===R.updateOn&&nt(R,L)})}(R,L),function pt(R,L){const O=(G,fe)=>{L.valueAccessor.writeValue(G),fe&&L.viewToModelUpdate(G)};R.registerOnChange(O),L._registerOnDestroy(()=>{R._unregisterOnChange(O)})}(R,L),function Qe(R,L){L.valueAccessor.registerOnTouched(()=>{R._pendingTouched=!0,"blur"===R.updateOn&&R._pendingChange&&nt(R,L),"submit"!==R.updateOn&&R.markAsTouched()})}(R,L),function di(R,L){if(L.valueAccessor.setDisabledState){const O=G=>{L.valueAccessor.setDisabledState(G)};R.registerOnDisabledChange(O),L._registerOnDestroy(()=>{R._unregisterOnDisabledChange(O)})}}(R,L)}function Lt(R,L,O=!0){const G=()=>{};L.valueAccessor&&(L.valueAccessor.registerOnChange(G),L.valueAccessor.registerOnTouched(G)),function pe(R,L){let O=!1;if(null!==R){if(null!==L.validator){const fe=q(R);if(Array.isArray(fe)&&fe.length>0){const Vt=fe.filter(fn=>fn!==L.validator);Vt.length!==fe.length&&(O=!0,R.setValidators(Vt))}}if(null!==L.asyncValidator){const fe=ne(R);if(Array.isArray(fe)&&fe.length>0){const Vt=fe.filter(fn=>fn!==L.asyncValidator);Vt.length!==fe.length&&(O=!0,R.setAsyncValidators(Vt))}}}const G=()=>{};return Sn(L._rawValidators,G),Sn(L._rawAsyncValidators,G),O}(R,L),R&&(L._invokeOnDestroyCallbacks(),R._registerOnCollectionChange(()=>{}))}function Sn(R,L){R.forEach(O=>{O.registerOnValidatorChange&&O.registerOnValidatorChange(L)})}function Ne(R,L){const O=q(R);null!==L.validator?R.setValidators(Ee(O,L.validator)):"function"==typeof O&&R.setValidators([O]);const G=ne(R);null!==L.asyncValidator?R.setAsyncValidators(Ee(G,L.asyncValidator)):"function"==typeof G&&R.setAsyncValidators([G]);const fe=()=>
1R.updateValueAndValidity();Sn(L._rawValidators,fe),Sn(L._rawAsyncValidators,fe)}function nt(R,L){R._pendingDirty&&R.markAsDirty(),R.setValue(R._pendingValue,{emitModelToViewChange:!1}),L.viewToModelUpdate(R._pendingValue),R._pendingChange=!1}function Xn(R,L){if(!R.hasOwnProperty("model"))return!1;const O=R.model;return!!O.isFirstChange()||!Object.is(L,O.currentValue)}function $(R,L){if(!L)return null;let O,G,fe;return Array.isArray(L),L.forEach(Vt=>{Vt.constructor===X?O=Vt:function ni(R){return Object.getPrototypeOf(R.constructor)===me}(Vt)?G=Vt:fe=Vt}),fe||G||O||null}const H={provide:Ot,useExisting:(0,i.Rfq)(()=>Ye)},ye=(()=>Promise.resolve())();let Ye=(()=>{class R extends Ot{constructor(O,G,fe){super(),this.callSetDisabledState=fe,this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.bkB,this.form=new Ge({},ki(O),ge(G))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(O){ye.then(()=>{const G=this._findContainer(O.path);O.control=G.registerControl(O.name,O.control),dn(O.control,O,this.callSetDisabledState),O.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(O)})}getControl(O){return this.form.get(O.path)}
1removeControl(O){ye.then(()=>{const G=this._findContainer(O.path);G&&G.removeControl(O.name),this._directives.delete(O)})}addFormGroup(O){ye.then(()=>{const G=this._findContainer(O.path),fe=new Ge({});(function lt(R,L){Ne(R,L)})(fe,O),G.registerControl(O.name,fe),fe.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(O){ye.then(()=>{const G=this._findContainer(O.path);G&&G.removeControl(O.name)})}getFormGroup(O){return this.form.get(O.path)}updateModel(O,G){ye.then(()=>{this.form.get(O.path).setValue(G)})}setValue(O){this.control.setValue(O)}onSubmit(O){return this.submitted=!0,function In(R,L){R._syncPendingControls(),L.forEach(O=>{const G=O.control;"submit"===G.updateOn&&G._pendingChange&&(O.viewToModelUpdate(G._pendingValue),G._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(O),"dialog"===O?.target?.method}onReset(){this.resetForm()}resetForm(O=void 0){this.form.reset(O),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(O){return O.pop(),O.length?this.form.get(O):this.form}static{this.\u0275fac=function(G){return new(G||R)(i.rXU(Le,10),i.rXU(tt,10),i.rXU(ft,8))}}static{this.\u0275dir=i.FsC({type:R,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(G,fe){1&G&&i.bIt("submit",function(fn){return fe.onSubmit(fn)})("reset",function(){return fe.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Jv_([H]),i.Vt3]})}}return R})();function It(R,L){const O=R.indexOf(L);O>-1&&R.splice(O,1)}function kt(R){return"object"==typeof R&&null!==R&&2===Object.keys(R).length&&"value"in R&&"disabled"in R}const on=class extends Xi{constructor(L=null,O,G){super(yi(O),fr(G,O)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(L),this._setUpdateStrategy(O),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Zn(O)&&(O.nonNullable||O.initialValueIsDefault)&&(this.defaultValue=kt(L)?L.value:L)}setValue(L,O={}){this.value=this._pendingValue=L,this._onChange.length&&!1!==O.emitModelToViewChange&&this._onChange.forEach(G=>G(this.value,!1!==O.emitViewToModelChange)),this.updateValueAndValidity(O)}patchValue(L,O={}){this.setValue(L,O)}reset(L=this.defaultValue,O={}){this._applyFormState(L),this.markAsPristine(O),this.markAsUntouched(O),this.setValue(this.value,O),this._pendingChange=!1}_updateValue(){}_anyControls(L){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(L){this._onChange.push(L)}_unregisterOnChange(L){It(this._onChange,L)}registerOnDisabledChange(L){this._onDisabledChange.push(L)}_unregisterOnDisabledChange(L){It(this._onDisabledChange,L)}_forEachChild(L){}_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(L){kt(L)?(this.value=this._pendingValue=L.value,L.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=L}},jr={provide:jt,useExisting:(0,i.Rfq)(()=>oi)},Er=(()=>Promise.resolve())();let oi=(()=>{class R extends jt{constructor(O,G,fe,Vt,fn,vr){super(),this._changeDetectorRef=fn,this.callSetDisabledState=vr,this.control=new on,this._registered=!1,this.name="",this.update=new i.bkB,this._parent=O,this._setValidators(G),this._setAsyncValidators(fe),this.valueAccessor=$(0,Vt)}ngOnChanges(O){if(this._checkForErrors(),!this._registered||"name"in O){if(this._registered&&(this._checkName(),this.formDirective)){const G=O.name.previousValue;this.formDirective.removeControl({name:G,path:this._getPath(G)})}this._setUpControl()}"isDisabled"in O&&this._updateDisabled(O),Xn(O,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(O){this.viewModel=O,this.update.emit(O)}_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(){dn(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(O){Er.then(()=>{this.control.setValue(O,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(O){const G=O.isDisabled.currentValue,fe=0!==G&&(0,i.L39)(G);Er.then(()=>{fe&&!this.control.disabled?this.control.disable():!fe&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(O){return this._parent?function dt(R,L){return[...L.path,R]}(O,this._parent):[O]}static{this.\u0275fac=function(G){return new(G||R)(i.rXU(Ot,9),i.rXU(Le,10),i.rXU(tt,10),i.rXU(he,10),i.rXU(i.gRc,8),i.rXU(ft,8))}}static{this.\u0275dir=i.FsC({type:R,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Jv_([jr]),i.Vt3,i.OA$]})}}return R})(),Do=(()=>{class R{static{this.\u0275fac=function(G){return new(G||R)}}static{this.\u0275dir=i.FsC({type:R,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return R})(),wo=(()=>{class R{static{this.\u0275fac=function(G){return new(G||R)}}static{this.\u0275mod=i.$C({type:R})}static{this.\u0275inj=i.G2t({})}}return R})();const Bt=new i.nKC("NgModelWithFormControlWarning"),qn={provide:jt,useExisting:(0,i.Rfq)(()=>ai)};let ai=(()=>{class R extends jt{set isDisabled(O){}static{this._ngModelWarningSentOnce=!1}constructor(O,G,fe,Vt,fn){super(),this._ngModelWarningConfig=Vt,this.callSetDisabledState=fn,this.update=new i.bkB,this._ngModelWarningSent=!1,this._setValidators(O),this._setAsyncValidators(G),this.valueAccessor=$(0,fe)}ngOnChanges(O){if(this._isControlChanged(O)){const G=O.form.previousValue;G&&Lt(G,this,!1),dn(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Xn(O,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}
1ngOnDestroy(){this.form&&Lt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(O){this.viewModel=O,this.update.emit(O)}_isControlChanged(O){return O.hasOwnProperty("form")}static{this.\u0275fac=function(G){return new(G||R)(i.rXU(Le,10),i.rXU(tt,10),i.rXU(he,10),i.rXU(Bt,8),i.rXU(ft,8))}}static{this.\u0275dir=i.FsC({type:R,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i.Jv_([qn]),i.Vt3,i.OA$]})}}return R})();let Gn=(()=>{class R{constructor(){this._validator=Qt}ngOnChanges(O){if(this.inputName in O){const G=this.normalizeInput(O[this.inputName].currentValue);this._enabled=this.enabled(G),this._validator=this._enabled?this.createValidator(G):Qt,this._onChange&&this._onChange()}}validate(O){return this._validator(O)}registerOnValidatorChange(O){this._onChange=O}enabled(O){return null!=O}static{this.\u0275fac=function(G){return new(G||R)}}static{this.\u0275dir=i.FsC({type:R,features:[i.OA$]})}}return R})();const js={provide:Le,useExisting:(0,i.Rfq)(()=>_r),multi:!0},Hr={provide:Le,useExisting:(0,i.Rfq)(()=>Or),multi:!0};let _r=(()=>{class R extends Gn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=i.L39,this.createValidator=O=>Pe}enabled(O){return O}static{this.\u0275fac=function(){let O;return function(fe){return(O||(O=i.xGo(R)))(fe||R)}}()}static{this.\u0275dir=i.FsC({type:R,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(G,fe){2&G&&i.BMQ("required",fe._enabled?"":null)},inputs:{required:"required"},features:[i.Jv_([js]),i.Vt3]})}}return R})(),Or=(()=>{class R extends _r{constructor(){super(...arguments),this.createValidator=O=>We}static{this.\u0275fac=function(){let O;return function(fe){return(O||(O=i.xGo(R)))(fe||R)}}()}static{this.\u0275dir=i.FsC({type:R,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(G,fe){2&G&&i.BMQ("required",fe._enabled?"":null)},features:[i.Jv_([Hr]),i.Vt3]})}}return R})();const Bi={provide:Le,useExisting:(0,i.Rfq)(()=>or),multi:!0};let or=(()=>{class R extends Gn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=O=>function po(R){return"number"==typeof R?R:parseInt(R,10)}(O),this.createValidator=O=>bt(O)}static{this.\u0275fac=function(){let O;return function(fe){return(O||(O=i.xGo(R)))(fe||R)}}()}static{this.\u0275dir=i.FsC({type:R,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(G,fe){2&G&&i.BMQ("maxlength",fe._enabled?fe.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i.Jv_([Bi]),i.Vt3]})}}return R})(),Di=(()=>{class R{static{this.\u0275fac=function(G){return new(G||R)}}static{this.\u0275mod=i.$C({type:R})}static{this.\u0275inj=i.G2t({imports:[wo]})}}return R})(),$s=(()=>{class R{static withConfig(O){return{ngModule:R,providers:[{provide:ft,useValue:O.callSetDisabledState??xt}]}}static{this.\u0275fac=function(G){return new(G||R)}}static{this.\u0275mod=i.$C({type:R})}static{this.\u0275inj=i.G2t({imports:[Di]})}}return R})(),hs=(()=>{class R{static withConfig(O){return{ngModule:R,providers:[{provide:Bt,useValue:O.warnOnNgModelWithFormControl??"always"},{provide:ft,useValue:O.callSetDisabledState??xt}]}}static{this.\u0275fac=function(G){return new(G||R)}}static{this.\u0275mod=i.$C({type:R})}static{this.\u0275inj=i.G2t({imports:[Di]})}}return R})()},4073:()=>{const st=":";Error;const Ot=function(De,...Me){if(Ot.translate){const Ke=Ot.translate(De,Me);De=Ke[0],Me=Ke[1]}let xe=wn(De[0],De.raw[0]);for(let Ke=1;Ke<De.length;Ke++)xe+=Me[Ke-1]+wn(De[Ke],De.raw[Ke]);return xe},jt=":";function wn(De,Me){return Me.charAt(0)===jt?De.substring(function ki(De,Me){for(let xe=1,Ke=1;xe<De.length;xe++,Ke++)if("\\"===Me[Ke])Ke++;else if(De[xe]===st)return xe;throw new Error(`Unterminated $localize metadata block in "${Me}".`)}(De,Me)+1):De}globalThis.$localize=Ot},345:(st,Oe,T)=>{T.d(Oe,{B7:()=>Xe,Bb:()=>De,W8:()=>xe,hE:()=>yt,pJ:()=>Xi,sG:()=>ht,up:()=>Fi,zw:()=>Ei});var i=T(7705),Y=T(177);class l extends Y.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class W extends l{static makeCurrent(){(0,Y.ZD)(new W)}onAndCancel(Fe,Z,de){return Fe.addEventListener(Z,de),()=>{Fe.removeEventListener(Z,de)}}dispatchEvent(Fe,Z){Fe.dispatchEvent(Z)}remove(Fe){Fe.parentNode&&Fe.parentNode.removeChild(Fe)}createElement(Fe,Z){return(Z=Z||this.getDefaultDocument()).createElement(Fe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Fe){return Fe.nodeType===Node.ELEMENT_NODE}isShadowRoot(Fe){return Fe instanceof DocumentFragment}getGlobalEventTarget(Fe,Z){return"window"===Z?window:"document"===Z?Fe:"body"===Z?Fe.body:null}getBaseHref(Fe){const Z=function ce(){return te=te||document.querySelector("base"),te?te.getAttribute("href"):null}();return null==Z?null:function he(Ge){me=me||document.createElement("a"),me.setAttribute("href",Ge);const Fe=me.pathname;return"/"===Fe.charAt(0)?Fe:`/${Fe}`}(Z)}resetBaseElement(){te=null}getUserAgent(){return window.navigator.userAgent}getCookie(Fe){return(0,Y._b)(document.cookie,Fe)}}let me,te=null,ie=(()=>{class Ge{build(){return new XMLHttpRequest}static{this.\u0275fac=function(de){return new(de||Ge)}}static{this.\u0275prov=i.jDH({token:Ge,factory:Ge.\u0275fac})}}return Ge})();const z=new i.nKC("EventManagerPlugins");let J=(()=>{class Ge{constructor(Z,de){this._zone=de,this._eventNameToPlugin=new Map,Z.forEach(ze=>{ze.manager=this}),this._plugins=Z.slice().reverse()}addEventListener(Z,de,ze){return this._findPluginFor(de).addEventListener(Z,de,ze)}getZone(){return this._zone}_findPluginFor(Z){let de=this._eventNameToPlugin.get(Z);if(de)return de;if(de=this._plugins.find(ft=>ft.supports(Z)),!de)throw new i.wOt(5101,!1);return this._eventNameToPlugin.set(Z,de),de}static{this.\u0275fac=function(de){return new(de||Ge)(i.KVO(z),i.KVO(i.SKi))}}static{this.\u0275prov=i.jDH({token:Ge,factory:Ge.\u0275fac})}}return Ge})();class K{constructor(Fe){this._doc=Fe}}const X="ng-app-id";let be=(()=>{class Ge{constructor(Z,de,ze,ft={}){this.doc=Z,this.appId=de,this.nonce=ze,this.platformId=ft,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,Y.Vy)(ft),this.resetHostNodes()}
1addStyles(Z){for(const de of Z)1===this.changeUsageCount(de,1)&&this.onStyleAdded(de)}removeStyles(Z){for(const de of Z)this.changeUsageCount(de,-1)<=0&&this.onStyleRemoved(de)}ngOnDestroy(){const Z=this.styleNodesInDOM;Z&&(Z.forEach(de=>de.remove()),Z.clear());for(const de of this.getAllStyles())this.onStyleRemoved(de);this.resetHostNodes()}addHost(Z){this.hostNodes.add(Z);for(const de of this.getAllStyles())this.addStyleToHost(Z,de)}removeHost(Z){this.hostNodes.delete(Z)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Z){for(const de of this.hostNodes)this.addStyleToHost(de,Z)}onStyleRemoved(Z){const de=this.styleRef;de.get(Z)?.elements?.forEach(ze=>ze.remove()),de.delete(Z)}collectServerRenderedStyles(){const Z=this.doc.head?.querySelectorAll(`style[${X}="${this.appId}"]`);if(Z?.length){const de=new Map;return Z.forEach(ze=>{null!=ze.textContent&&de.set(ze.textContent,ze)}),de}return null}changeUsageCount(Z,de){const ze=this.styleRef;if(ze.has(Z)){const ft=ze.get(Z);return ft.usage+=de,ft.usage}return ze.set(Z,{usage:de,elements:[]}),de}getStyleElement(Z,de){const ze=this.styleNodesInDOM,ft=ze?.get(de);if(ft?.parentNode===Z)return ze.delete(de),ft.removeAttribute(X),ft;{const xt=this.doc.createElement("style");return this.nonce&&xt.setAttribute("nonce",this.nonce),xt.textContent=de,this.platformIsServer&&xt.setAttribute(X,this.appId),xt}}addStyleToHost(Z,de){const ze=this.getStyleElement(Z,de);Z.appendChild(ze);const ft=this.styleRef,xt=ft.get(de)?.elements;xt?xt.push(ze):ft.set(de,{elements:[ze],usage:1})}resetHostNodes(){const Z=this.hostNodes;Z.clear(),Z.add(this.doc.head)}static{this.\u0275fac=function(de){return new(de||Ge)(i.KVO(Y.qQ),i.KVO(i.sZ2),i.KVO(i.BIS,8),i.KVO(i.Agw))}}static{this.\u0275prov=i.jDH({token:Ge,factory:Ge.\u0275fac})}}return Ge})();const _e={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/"},Le=/%COMP%/g,Ce=new i.nKC("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function et(Ge,Fe){return Fe.map(Z=>Z.replace(Le,Ge))}let Xe=(()=>{class Ge{constructor(Z,de,ze,ft,xt,dt,dn,Lt=null){this.eventManager=Z,this.sharedStylesHost=de,this.appId=ze,this.removeStylesOnCompDestroy=ft,this.doc=xt,this.platformId=dt,this.ngZone=dn,this.nonce=Lt,this.rendererByCompId=new Map,this.platformIsServer=(0,Y.Vy)(dt),this.defaultRenderer=new bt(Z,xt,dn,this.platformIsServer)}createRenderer(Z,de){if(!Z||!de)return this.defaultRenderer;this.platformIsServer&&de.encapsulation===i.gXe.ShadowDom&&(de={...de,encapsulation:i.gXe.Emulated});const ze=this.getOrCreateRenderer(Z,de);return ze instanceof Pn?ze.applyToHost(Z):ze instanceof gi&&ze.applyStyles(),ze}getOrCreateRenderer(Z,de){const ze=this.rendererByCompId;let ft=ze.get(de.id);if(!ft){const xt=this.doc,dt=this.ngZone,dn=this.eventManager,Lt=this.sharedStylesHost,Sn=this.removeStylesOnCompDestroy,di=this.platformIsServer;switch(de.encapsulation){case i.gXe.Emulated:ft=new Pn(dn,Lt,de,this.appId,Sn,xt,dt,di);break;case i.gXe.ShadowDom:return new ln(dn,Lt,Z,de,xt,dt,this.nonce,di);default:ft=new gi(dn,Lt,de,Sn,xt,dt,di)}ze.set(de.id,ft)}return ft}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(de){return new(de||Ge)(i.KVO(J),i.KVO(be),i.KVO(i.sZ2),i.KVO(Ce),i.KVO(Y.qQ),i.KVO(i.Agw),i.KVO(i.SKi),i.KVO(i.BIS))}}static{this.\u0275prov=i.jDH({token:Ge,factory:Ge.\u0275fac})}}return Ge})();class bt{constructor(Fe,Z,de,ze){this.eventManager=Fe,this.doc=Z,this.ngZone=de,this.platformIsServer=ze,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Fe,Z){return Z?this.doc.createElementNS(_e[Z]||Z,Fe):this.doc.createElement(Fe)}createComment(Fe){return this.doc.createComment(Fe)}createText(Fe){return this.doc.createTextNode(Fe)}appendChild(Fe,Z){(an(Fe)?Fe.content:Fe).appendChild(Z)}insertBefore(Fe,Z,de){Fe&&(an(Fe)?Fe.content:Fe).insertBefore(Z,de)}removeChild(Fe,Z){Fe&&Fe.removeChild(Z)}selectRootElement(Fe,Z){let de="string"==typeof Fe?this.doc.querySelector(Fe):Fe;if(!de)throw new i.wOt(-5104,!1);return Z||(de.textContent=""),de}parentNode(Fe){return Fe.parentNode}nextSibling(Fe){return Fe.nextSibling}setAttribute(Fe,Z,de,ze){if(ze){Z=ze+":"+Z;
1const ft=_e[ze];ft?Fe.setAttributeNS(ft,Z,de):Fe.setAttribute(Z,de)}else Fe.setAttribute(Z,de)}removeAttribute(Fe,Z,de){if(de){const ze=_e[de];ze?Fe.removeAttributeNS(ze,Z):Fe.removeAttribute(`${de}:${Z}`)}else Fe.removeAttribute(Z)}addClass(Fe,Z){Fe.classList.add(Z)}removeClass(Fe,Z){Fe.classList.remove(Z)}setStyle(Fe,Z,de,ze){ze&(i.czy.DashCase|i.czy.Important)?Fe.style.setProperty(Z,de,ze&i.czy.Important?"important":""):Fe.style[Z]=de}removeStyle(Fe,Z,de){de&i.czy.DashCase?Fe.style.removeProperty(Z):Fe.style[Z]=""}setProperty(Fe,Z,de){Fe[Z]=de}setValue(Fe,Z){Fe.nodeValue=Z}listen(Fe,Z,de){if("string"==typeof Fe&&!(Fe=(0,Y.QT)().getGlobalEventTarget(this.doc,Fe)))throw new Error(`Unsupported event target ${Fe} for event ${Z}`);return this.eventManager.addEventListener(Fe,Z,this.decoratePreventDefault(de))}decoratePreventDefault(Fe){return Z=>{if("__ngUnwrap__"===Z)return Fe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Fe(Z)):Fe(Z))&&Z.preventDefault()}}}function an(Ge){return"TEMPLATE"===Ge.tagName&&void 0!==Ge.content}class ln extends bt{constructor(Fe,Z,de,ze,ft,xt,dt,dn){super(Fe,ft,xt,dn),this.sharedStylesHost=Z,this.hostEl=de,this.shadowRoot=de.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Lt=et(ze.id,ze.styles);for(const Sn of Lt){const di=document.createElement("style");dt&&di.setAttribute("nonce",dt),di.textContent=Sn,this.shadowRoot.appendChild(di)}}nodeOrShadowRoot(Fe){return Fe===this.hostEl?this.shadowRoot:Fe}appendChild(Fe,Z){return super.appendChild(this.nodeOrShadowRoot(Fe),Z)}insertBefore(Fe,Z,de){return super.insertBefore(this.nodeOrShadowRoot(Fe),Z,de)}removeChild(Fe,Z){return super.removeChild(this.nodeOrShadowRoot(Fe),Z)}parentNode(Fe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Fe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class gi extends bt{constructor(Fe,Z,de,ze,ft,xt,dt,dn){super(Fe,ft,xt,dt),this.sharedStylesHost=Z,this.removeStylesOnCompDestroy=ze,this.styles=dn?et(dn,de.styles):de.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Pn extends gi{constructor(Fe,Z,de,ze,ft,xt,dt,dn){const Lt=ze+"-"+de.id;super(Fe,Z,de,ft,xt,dt,dn,Lt),this.contentAttr=function Pe(Ge){return"_ngcontent-%COMP%".replace(Le,Ge)}(Lt),this.hostAttr=function We(Ge){return"_nghost-%COMP%".replace(Le,Ge)}(Lt)}applyToHost(Fe){this.applyStyles(),this.setAttribute(Fe,this.hostAttr,"")}createElement(Fe,Z){const de=super.createElement(Fe,Z);return super.setAttribute(de,this.contentAttr,""),de}}let jn=(()=>{class Ge extends K{constructor(Z){super(Z)}supports(Z){return!0}addEventListener(Z,de,ze){return Z.addEventListener(de,ze,!1),()=>this.removeEventListener(Z,de,ze)}removeEventListener(Z,de,ze){return Z.removeEventListener(de,ze)}static{this.\u0275fac=function(de){return new(de||Ge)(i.KVO(Y.qQ))}}static{this.\u0275prov=i.jDH({token:Ge,factory:Ge.\u0275fac})}}return Ge})();const Ai=["alt","control","meta","shift"],hr={"\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"},ki={alt:Ge=>Ge.altKey,control:Ge=>Ge.ctrlKey,meta:Ge=>Ge.metaKey,shift:Ge=>Ge.shiftKey};let Re=(()=>{class Ge extends K{constructor(Z){super(Z)}supports(Z){return null!=Ge.parseEventName(Z)}addEventListener(Z,de,ze){const ft=Ge.parseEventName(de),xt=Ge.eventCallback(ft.fullKey,ze,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,Y.QT)().onAndCancel(Z,ft.domEventName,xt))}static parseEventName(Z){const de=Z.toLowerCase().split("."),ze=de.shift();if(0===de.length||"keydown"!==ze&&"keyup"!==ze)return null;const ft=Ge._normalizeKey(de.pop());let xt="",dt=de.indexOf("code");if(dt>-1&&(de.splice(dt,1),xt="code."),Ai.forEach(Lt=>{const Sn=de.indexOf(Lt);Sn>-1&&(de.splice(Sn,1),xt+=Lt+".")}),xt+=ft,0!=de.length||0===ft.length)return null;const dn={};return dn.domEventName=ze,dn.fullKey=xt,dn}static matchEventFullKeyCode(Z,de){let ze=hr[Z.key]||Z.key,ft="";return de.indexOf("code.")>-1&&(ze=Z.code,ft="code."),!(null==ze||!ze)&&(ze=ze.toLowerCase()," "===ze?ze="space":"."===ze&&(ze="dot"),Ai.forEac
1h(xt=>{xt!==ze&&(0,ki[xt])(Z)&&(ft+=xt+".")}),ft+=ze,ft===de)}static eventCallback(Z,de,ze){return ft=>{Ge.matchEventFullKeyCode(ft,Z)&&ze.runGuarded(()=>de(ft))}}static _normalizeKey(Z){return"esc"===Z?"escape":Z}static{this.\u0275fac=function(de){return new(de||Ge)(i.KVO(Y.qQ))}}static{this.\u0275prov=i.jDH({token:Ge,factory:Ge.\u0275fac})}}return Ge})();const ht=(0,i.oH4)(i.fpN,"browser",[{provide:i.Agw,useValue:Y.AJ},{provide:i.PLl,useValue:function ue(){W.makeCurrent()},multi:!0},{provide:Y.qQ,useFactory:function Ut(){return(0,i.TL$)(document),document},deps:[]}]),Ot=new i.nKC(""),jt=[{provide:i.e01,useClass:class ae{addToWindow(Fe){i.JZv.getAngularTestability=(de,ze=!0)=>{const ft=Fe.findTestabilityInTree(de,ze);if(null==ft)throw new i.wOt(5103,!1);return ft},i.JZv.getAllAngularTestabilities=()=>Fe.getAllTestabilities(),i.JZv.getAllAngularRootElements=()=>Fe.getAllRootElements(),i.JZv.frameworkStabilizers||(i.JZv.frameworkStabilizers=[]),i.JZv.frameworkStabilizers.push(de=>{const ze=i.JZv.getAllAngularTestabilities();let ft=ze.length,xt=!1;const dt=function(dn){xt=xt||dn,ft--,0==ft&&de(xt)};ze.forEach(dn=>{dn.whenStable(dt)})})}findTestabilityInTree(Fe,Z,de){return null==Z?null:Fe.getTestability(Z)??(de?(0,Y.QT)().isShadowRoot(Z)?this.findTestabilityInTree(Fe,Z.host,!0):this.findTestabilityInTree(Fe,Z.parentElement,!0):null)}},deps:[]},{provide:i.WHO,useClass:i.NYb,deps:[i.SKi,i.giA,i.e01]},{provide:i.NYb,useClass:i.NYb,deps:[i.SKi,i.giA,i.e01]}],wn=[{provide:i.H8p,useValue:"root"},{provide:i.zcH,useFactory:function Ue(){return new i.zcH},deps:[]},{provide:z,useClass:jn,multi:!0,deps:[Y.qQ,i.SKi,i.Agw]},{provide:z,useClass:Re,multi:!0,deps:[Y.qQ]},Xe,be,J,{provide:i._9s,useExisting:Xe},{provide:Y.N0,useClass:ie,deps:[]},[]];let De=(()=>{class Ge{constructor(Z){}static withServerTransition(Z){return{ngModule:Ge,providers:[{provide:i.sZ2,useValue:Z.appId}]}}static{this.\u0275fac=function(de){return new(de||Ge)(i.KVO(Ot,12))}}static{this.\u0275mod=i.$C({type:Ge})}static{this.\u0275inj=i.G2t({providers:[...wn,...jt],imports:[Y.MD,i.Hbi]})}}return Ge})(),xe=(()=>{class Ge{constructor(Z){this._doc=Z,this._dom=(0,Y.QT)()}addTag(Z,de=!1){return Z?this._getOrCreateElement(Z,de):null}addTags(Z,de=!1){return Z?Z.reduce((ze,ft)=>(ft&&ze.push(this._getOrCreateElement(ft,de)),ze),[]):[]}getTag(Z){return Z&&this._doc.querySelector(`meta[${Z}]`)||null}getTags(Z){if(!Z)return[];const de=this._doc.querySelectorAll(`meta[${Z}]`);return de?[].slice.call(de):[]}updateTag(Z,de){if(!Z)return null;de=de||this._parseSelector(Z);const ze=this.getTag(de);return ze?this._setMetaElementAttributes(Z,ze):this._getOrCreateElement(Z,!0)}removeTag(Z){this.removeTagElement(this.getTag(Z))}removeTagElement(Z){Z&&this._dom.remove(Z)}_getOrCreateElement(Z,de=!1){if(!de){const xt=this._parseSelector(Z),dt=this.getTags(xt).filter(dn=>this._containsAttributes(Z,dn))[0];if(void 0!==dt)return dt}const ze=this._dom.createElement("meta");return this._setMetaElementAttributes(Z,ze),this._doc.getElementsByTagName("head")[0].appendChild(ze),ze}_setMetaElementAttributes(Z,de){return Object.keys(Z).forEach(ze=>de.setAttribute(this._getMetaKeyMap(ze),Z[ze])),de}_parseSelector(Z){const de=Z.name?"name":"property";return`${de}="${Z[de]}"`}_containsAttributes(Z,de){return Object.keys(Z).every(ze=>de.getAttribute(this._getMetaKeyMap(ze))===Z[ze])}_getMetaKeyMap(Z){return Ke[Z]||Z}static{this.\u0275fac=function(de){return new(de||Ge)(i.KVO(Y.qQ))}}static{this.\u0275prov=i.jDH({token:Ge,factory:function(de){let ze=null;return ze=de?new de:function Me(){return new xe((0,i.KVO)(Y.qQ))}(),ze},providedIn:"root"})}}return Ge})();const Ke={httpEquiv:"http-equiv"};let yt=(()=>{class Ge{constructor(Z){this._doc=Z}getTitle(){return this._doc.title}setTitle(Z){this._doc.title=Z||""}static{this.\u0275fac=function(de){return new(de||Ge)(i.KVO(Y.qQ))}}static{this.\u0275prov=i.jDH({token:Ge,factory:function(de){let ze=null;return ze=de?new de:function qe(){return new yt((0,i.KVO)(Y.qQ))}(),ze},providedIn:"root"})}}return Ge})();typeof window<"u"&&window;let Fi=(()=>{class Ge{static{this.\u0275fac=function(de){return new(de||Ge)}}static{this.\u0275prov=i.jDH({token:Ge,factory:function(de){let ze=null;return ze=de?new(de||Ge):i.KVO(vi),ze},providedIn:"root"})}}return Ge})(),vi=(()=>{class Ge extends Fi{constructor(Z){super(),this._doc=Z}sanitize(Z,de){if(null==de)return null;switch(Z){case i.WPN.NONE:return de;case i.WPN.HTML:return(0,i.ZF7)(de,"HTML")?(0,i.rcV)(de):(0,i.h9k)(this._doc,String(de)).toString();case i.WPN.STYLE:return(0,i.ZF7)(de,"Style")?(0,i.rcV)(de):de;case i.WPN.SCRIPT:if((0,i.ZF7)(de,"Script"))return(0,i.rcV)(de);throw new i.wOt(5200,!1);case i.WPN.URL:return(0,i.ZF7)(de,"URL")?(0,i.rcV)(de):(0,i.$MX)(String(de));case i.WPN.RESOURCE_URL:if((0,i.ZF7)(de,"ResourceURL"))return(0,i.rcV)(de);throw new i.wOt(5201,!1);default:throw new i.wOt(5202,!1)}}bypassSecurityTrustHtml(Z){return(0,i.Kcf)(Z)}bypassSecurityTrustStyle(Z){return(0,i.cWb)(Z)}bypassSecurityTrustScript(Z){return(0,i.UyX)(Z)}bypassSecurityTrustUrl(Z){return(0,i.osQ)(Z)}bypassSecurityTrustResourceUrl(Z){return(0,i.e5t)(Z)}static{this.\u0275fac=function(de){return new(de||Ge)(i.KVO(Y.qQ))}}static{this.\u0275prov=i.jDH({token:Ge,factory:function(de){let ze=null;return ze=de?new de:function ui(Ge){return new vi(Ge.get(Y.qQ))}(i.KVO(i.zZn)),ze},providedIn:"root"})}}return Ge})();const Ei=i.zw6,Xi=i.pJN},1165:(st,Oe,T)=>{T.d(Oe,{nX:()=>$r,j5:()=>on,wF:()=>kt,L6:()=>ii,Z:()=>It,Ix:()=>Ir,Wk:()=>Zo,iI:()=>La,n3:()=>Hi});var i=T(7705),Y=T(4402),l=T(6648),W=T(7673),te=T(4412),ce=T(4572),me=T(9350),he=T(8793),ae=T(1985),ie=T(8750);function z(y){return new ae.c(C=>{(0,ie.Tg)(y()).subscribe(C)})}var J=T(1203),K=T(8810),X=T(983),be=T(8359),_e=T(9974),Le=T(4360);function tt(){return(0,_e.N)((y,C)=>{let _=null;y._refCount++;const E=(0,Le._)(C,void 0,void 0,void 0,()=>{if(!y||y._refCount<=0||0<--y._refCount)return void(_=null);const x=y._connection,U=_;_=null,x&&(!U||x===U)&&x.unsubscribe(),C.unsubscribe()});y.subscribe(E),E.closed||(_=y.connect())})}class Et extends ae.c{constructor(C,_){super(),this.source=C,this.subjectFactory=_,this._subject=null,this._refCount=0,this._connection=null,(0,_e.S)(C)&&(this.lift=C.lift)}
1_subscribe(C){return this.getSubject().subscribe(C)}getSubject(){const C=this._subject;return(!C||C.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:C}=this;this._subject=this._connection=null,C?.unsubscribe()}connect(){let C=this._connection;if(!C){C=this._connection=new be.yU;const _=this.getSubject();C.add(this.source.subscribe((0,Le._)(_,void 0,()=>{this._teardown(),_.complete()},E=>{this._teardown(),_.error(E)},()=>this._teardown()))),C.closed&&(this._connection=null,C=be.yU.EMPTY)}return C}refCount(){return tt()(this)}}var rt=T(1413),oe=T(177),Ce=T(6354),Pe=T(5558),We=T(6697),et=T(9172),Xe=T(5964),bt=T(1397),Mt=T(1594),Qt=T(274),an=T(8141),ln=T(9437);var jn=T(9901);function Ai(y){return y<=0?()=>X.w:(0,_e.N)((C,_)=>{let E=[];C.subscribe((0,Le._)(_,x=>{E.push(x),y<E.length&&E.shift()},()=>{for(const x of E)_.next(x);_.complete()},void 0,()=>{E=null}))})}var hr=T(3774),ki=T(3669),ge=T(3703),Ee=T(980),q=T(6977),ne=T(6365),ue=T(345);const Ue="primary",Ut=Symbol("RouteTitle");class vn{constructor(C){this.params=C||{}}has(C){return Object.prototype.hasOwnProperty.call(this.params,C)}get(C){if(this.has(C)){const _=this.params[C];return Array.isArray(_)?_[0]:_}return null}getAll(C){if(this.has(C)){const _=this.params[C];return Array.isArray(_)?_:[_]}return[]}get keys(){return Object.keys(this.params)}}function ht(y){return new vn(y)}function Ot(y,C,_){const E=_.path.split("/");if(E.length>y.length||"full"===_.pathMatch&&(C.hasChildren()||E.length<y.length))return null;const x={};for(let U=0;U<E.length;U++){const re=E[U],je=y[U];if(re.startsWith(":"))x[re.substring(1)]=je;else if(re!==je.path)return null}return{consumed:y.slice(0,E.length),posParams:x}}function wn(y,C){const _=y?Object.keys(y):void 0,E=C?Object.keys(C):void 0;if(!_||!E||_.length!=E.length)return!1;let x;for(let U=0;U<_.length;U++)if(x=_[U],!De(y[x],C[x]))return!1;return!0}function De(y,C){if(Array.isArray(y)&&Array.isArray(C)){if(y.length!==C.length)return!1;const _=[...y].sort(),E=[...C].sort();return _.every((x,U)=>E[U]===x)}return y===C}function Me(y){return y.length>0?y[y.length-1]:null}function xe(y){return(0,Y.A)(y)?y:(0,i.jNT)(y)?(0,l.H)(Promise.resolve(y)):(0,W.of)(y)}const Ke={exact:function qt(y,C,_){if(!yn(y.segments,C.segments)||!En(y.segments,C.segments,_)||y.numberOfChildren!==C.numberOfChildren)return!1;for(const E in C.children)if(!y.children[E]||!qt(y.children[E],C.children[E],_))return!1;return!0},subset:Rt},qe={exact:function Cn(y,C){return wn(y,C)},subset:function _t(y,C){return Object.keys(C).length<=Object.keys(y).length&&Object.keys(C).every(_=>De(y[_],C[_]))},ignored:()=>!0};function yt(y,C,_){return Ke[_.paths](y.root,C.root,_.matrixParams)&&qe[_.queryParams](y.queryParams,C.queryParams)&&!("exact"===_.fragment&&y.fragment!==C.fragment)}function Rt(y,C,_){return Ht(y,C,C.segments,_)}function Ht(y,C,_,E){if(y.segments.length>_.length){const x=y.segments.slice(0,_.length);return!(!yn(x,_)||C.hasChildren()||!En(x,_,E))}if(y.segments.length===_.length){if(!yn(y.segments,_)||!En(y.segments,_,E))return!1;for(const x in C.children)if(!y.children[x]||!Rt(y.children[x],C.children[x],E))return!1;return!0}{const x=_.slice(0,y.segments.length),U=_.slice(y.segments.length);return!!(yn(y.segments,x)&&En(y.segments,x,E)&&y.children[Ue])&&Ht(y.children[Ue],C,U,E)}}function En(y,C,_){return C.every((E,x)=>qe[_](y[x].parameters,E.parameters))}class ci{constructor(C=new en([],{}),_={},E=null){this.root=C,this.queryParams=_,this.fragment=E}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ht(this.queryParams)),this._queryParamMap}toString(){return _i.serialize(this)}}class en{constructor(C,_){this.segments=C,this.children=_,this.parent=null,Object.values(_).forEach(E=>E.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return kn(this)}}class tn{constructor(C,_){this.path=C,this.parameters=_}get parameterMap(){return this._parameterMap||(this._parameterMap=ht(this.parameters)),this._parameterMap}toString(){return Zn(this)}}function yn(y,C){return y.length===C.length&&y.every((_,E)=>_.path===C[E].path)}let mi=(()=>{class y{static{this.\u0275fac=function(E){return new(E||y)}}static{this.\u0275prov=i.jDH({token:y,factory:function(){return new nn},providedIn:"root"})}}return y})();
1class nn{parse(C){const _=new dt(C);return new ci(_.parseRootSegment(),_.parseQueryParams(),_.parseFragment())}serialize(C){const _=`/${Fi(C.root,!0)}`,E=function Ei(y){const C=Object.keys(y).map(_=>{const E=y[_];return Array.isArray(E)?E.map(x=>`${vi(_)}=${vi(x)}`).join("&"):`${vi(_)}=${vi(E)}`}).filter(_=>!!_);return C.length?`?${C.join("&")}`:""}(C.queryParams);return`${_}${E}${"string"==typeof C.fragment?`#${function yi(y){return encodeURI(y)}(C.fragment)}`:""}`}}const _i=new nn;function kn(y){return y.segments.map(C=>Zn(C)).join("/")}function Fi(y,C){if(!y.hasChildren())return kn(y);if(C){const _=y.children[Ue]?Fi(y.children[Ue],!1):"",E=[];return Object.entries(y.children).forEach(([x,U])=>{x!==Ue&&E.push(`${x}:${Fi(U,!1)}`)}),E.length>0?`${_}(${E.join("//")})`:_}{const _=function Tt(y,C){let _=[];return Object.entries(y.children).forEach(([E,x])=>{E===Ue&&(_=_.concat(C(x,E)))}),Object.entries(y.children).forEach(([E,x])=>{E!==Ue&&(_=_.concat(C(x,E)))}),_}(y,(E,x)=>x===Ue?[Fi(y.children[Ue],!1)]:[`${x}:${Fi(E,!1)}`]);return 1===Object.keys(y.children).length&&null!=y.children[Ue]?`${kn(y)}/${_[0]}`:`${kn(y)}/(${_.join("//")})`}}function ui(y){return encodeURIComponent(y).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function vi(y){return ui(y).replace(/%3B/gi,";")}function Cr(y){return ui(y).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function fr(y){return decodeURIComponent(y)}function pr(y){return fr(y.replace(/\+/g,"%20"))}function Zn(y){return`${Cr(y.path)}${function xi(y){return Object.keys(y).map(C=>`;${Cr(C)}=${Cr(y[C])}`).join("")}(y.parameters)}`}const Xi=/^[^\/()?;#]+/;function Ge(y){const C=y.match(Xi);return C?C[0]:""}const Fe=/^[^\/()?;=#]+/,de=/^[^=?&#]+/,ft=/^[^&#]+/;class dt{constructor(C){this.url=C,this.remaining=C}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new en([],{}):new en([],this.parseChildren())}parseQueryParams(){const C={};if(this.consumeOptional("?"))do{this.parseQueryParam(C)}while(this.consumeOptional("&"));return C}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const C=[];for(this.peekStartsWith("(")||C.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),C.push(this.parseSegment());let _={};this.peekStartsWith("/(")&&(this.capture("/"),_=this.parseParens(!0));let E={};return this.peekStartsWith("(")&&(E=this.parseParens(!1)),(C.length>0||Object.keys(_).length>0)&&(E[Ue]=new en(C,_)),E}parseSegment(){const C=Ge(this.remaining);if(""===C&&this.peekStartsWith(";"))throw new i.wOt(4009,!1);return this.capture(C),new tn(fr(C),this.parseMatrixParams())}parseMatrixParams(){const C={};for(;this.consumeOptional(";");)this.parseParam(C);return C}parseParam(C){const _=function Z(y){const C=y.match(Fe);return C?C[0]:""}(this.remaining);if(!_)return;this.capture(_);let E="";if(this.consumeOptional("=")){const x=Ge(this.remaining);x&&(E=x,this.capture(E))}C[fr(_)]=fr(E)}parseQueryParam(C){const _=function ze(y){const C=y.match(de);return C?C[0]:""}(this.remaining);if(!_)return;this.capture(_);let E="";if(this.consumeOptional("=")){const re=function xt(y){const C=y.match(ft);return C?C[0]:""}(this.remaining);re&&(E=re,this.capture(E))}const x=pr(_),U=pr(E);if(C.hasOwnProperty(x)){let re=C[x];Array.isArray(re)||(re=[re],C[x]=re),re.push(U)}else C[x]=U}parseParens(C){const _={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const E=Ge(this.remaining),x=this.remaining[E.length];if("/"!==x&&")"!==x&&";"!==x)throw new i.wOt(4010,!1);let U;E.indexOf(":")>-1?(U=E.slice(0,E.indexOf(":")),this.capture(U),this.capture(":")):C&&(U=Ue);const re=this.parseChildren();_[U]=1===Object.keys(re).length?re[Ue]:new en([],re),this.consumeOptional("//")}return _}peekStartsWith(C){return this.remaining.startsWith(C)}consumeOptional(C){return!!this.peekStartsWith(C)&&(this.remaining=this.remaining.substring(C.length),!0)}capture(C){if(!this.consumeOptional(C))throw new i.wOt(4011,!1)}}function dn(y){return y.segments.length>0?new en([],{[Ue]:y}):y}function Lt(y){const C={};for(const E of Object.keys(y.children)){const U=Lt(y.children[E]);if(E===Ue&&0===U.segments.length&&U.hasChildren())for(const[re,je]of Object.entries(U.children))C[re]=je;else(U.segments.length>0||U.hasChildren())&&(C[E]=U)}return function Sn(y){if(1===y.numberOfChildren&&y.children[Ue]){const C=y.children[Ue];return new en(y.segments.concat(C.segments),C.children)}return y}(new en(y.segments,C))}function di(y){return y instanceof ci}function pe(y){let C;const x=dn(function _(U){const re={};for(const ke of U.children){const gt=_(ke);re[ke.outlet]=gt}const je=new en(U.url,re);return U===y&&(C=je),je}(y.root));return C??x}function we(y,C,_,E){let x=y;for(;x.parent;)x=x.parent;if(0===C.length)return pt(x,x,x,_,E);const U=function ct(y){if("string"==typeof y[0]&&1===y.length&&"/"===y[0])return new zt(!0,0,y);let C=0,_=!1;const E=y.reduce((x,U,re)=>{if("object"==typeof U&&null!=U){if(U.outlets){const je={};
1return Object.entries(U.outlets).forEach(([ke,gt])=>{je[ke]="string"==typeof gt?gt.split("/"):gt}),[...x,{outlets:je}]}if(U.segmentPath)return[...x,U.segmentPath]}return"string"!=typeof U?[...x,U]:0===re?(U.split("/").forEach((je,ke)=>{0==ke&&"."===je||(0==ke&&""===je?_=!0:".."===je?C++:""!=je&&x.push(je))}),x):[...x,U]},[]);return new zt(_,C,E)}(C);if(U.toRoot())return pt(x,x,new en([],{}),_,E);const re=function bn(y,C,_){if(y.isAbsolute)return new hn(C,!0,0);if(!_)return new hn(C,!1,NaN);if(null===_.parent)return new hn(_,!0,0);const E=Qe(y.commands[0])?0:1;return function Kn(y,C,_){let E=y,x=C,U=_;for(;U>x;){if(U-=x,E=E.parent,!E)throw new i.wOt(4005,!1);x=E.segments.length}return new hn(E,!1,x-U)}(_,_.segments.length-1+E,y.numberOfDoubleDots)}(U,x,y),je=re.processChildren?ni(re.segmentGroup,re.index,U.commands):Xn(re.segmentGroup,re.index,U.commands);return pt(x,re.segmentGroup,je,_,E)}function Qe(y){return"object"==typeof y&&null!=y&&!y.outlets&&!y.segmentPath}function nt(y){return"object"==typeof y&&null!=y&&y.outlets}function pt(y,C,_,E,x){let re,U={};E&&Object.entries(E).forEach(([ke,gt])=>{U[ke]=Array.isArray(gt)?gt.map(cn=>`${cn}`):`${gt}`}),re=y===C?_:lt(y,C,_);const je=dn(Lt(re));return new ci(je,U,x)}function lt(y,C,_){const E={};return Object.entries(y.children).forEach(([x,U])=>{E[x]=U===C?_:lt(U,C,_)}),new en(y.segments,E)}class zt{constructor(C,_,E){if(this.isAbsolute=C,this.numberOfDoubleDots=_,this.commands=E,C&&E.length>0&&Qe(E[0]))throw new i.wOt(4003,!1);const x=E.find(nt);if(x&&x!==Me(E))throw new i.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class hn{constructor(C,_,E){this.segmentGroup=C,this.processChildren=_,this.index=E}}function Xn(y,C,_){if(y||(y=new en([],{})),0===y.segments.length&&y.hasChildren())return ni(y,C,_);const E=function In(y,C,_){let E=0,x=C;const U={match:!1,pathIndex:0,commandIndex:0};for(;x<y.segments.length;){if(E>=_.length)return U;const re=y.segments[x],je=_[E];if(nt(je))break;const ke=`${je}`,gt=E<_.length-1?_[E+1]:null;if(x>0&&void 0===ke)break;if(ke&&gt&&"object"==typeof gt&&void 0===gt.outlets){if(!H(ke,gt,re))return U;E+=2}else{if(!H(ke,{},re))return U;E++}x++}return{match:!0,pathIndex:x,commandIndex:E}}(y,C,_),x=_.slice(E.commandIndex);if(E.match&&E.pathIndex<y.segments.length){const U=new en(y.segments.slice(0,E.pathIndex),{});return U.children[Ue]=new en(y.segments.slice(E.pathIndex),y.children),ni(U,0,x)}return E.match&&0===x.length?new en(y.segments,{}):E.match&&!y.hasChildren()?$(y,C,_):E.match?ni(y,0,x):$(y,C,_)}function ni(y,C,_){if(0===_.length)return new en(y.segments,{});{const E=function hi(y){return nt(y[0])?y[0].outlets:{[Ue]:y}}(_),x={};if(Object.keys(E).some(U=>U!==Ue)&&y.children[Ue]&&1===y.numberOfChildren&&0===y.children[Ue].segments.length){const U=ni(y.children[Ue],C,_);return new en(y.segments,U.children)}return Object.entries(E).forEach(([U,re])=>{"string"==typeof re&&(re=[re]),null!==re&&(x[U]=Xn(y.children[U],C,re))}),Object.entries(y.children).forEach(([U,re])=>{void 0===E[U]&&(x[U]=re)}),new en(y.segments,x)}}function $(y,C,_){const E=y.segments.slice(0,C);let x=0;for(;x<_.length;){const U=_[x];if(nt(U)){const ke=N(U.outlets);return new en(E,ke)}if(0===x&&Qe(_[0])){E.push(new tn(y.segments[C].path,P(_[0]))),x++;continue}const re=nt(U)?U.outlets[Ue]:`${U}`,je=x<_.length-1?_[x+1]:null;re&&je&&Qe(je)?(E.push(new tn(re,P(je))),x+=2):(E.push(new tn(re,{})),x++)}return new en(E,{})}function N(y){const C={};return Object.entries(y).forEach(([_,E])=>{"string"==typeof E&&(E=[E]),null!==E&&(C[_]=$(new en([],{}),0,E))}),C}function P(y){const C={};return Object.entries(y).forEach(([_,E])=>C[_]=`${E}`),C}function H(y,C,_){return y==_.path&&wn(C,_.parameters)}const ye="imperative";class Ye{constructor(C,_){this.id=C,this.url=_}}class It extends Ye{constructor(C,_,E="imperative",x=null){super(C,_),this.type=0,this.navigationTrigger=E,this.restoredState=x}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class kt extends Ye{constructor(C,_,E){super(C,_),this.urlAfterRedirects=E,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class on extends Ye{constructor(C,_,E,x){super(C,_),this.reason=E,this.code=x,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Mi extends Ye{constructor(C,_,E,x){super(C,_),this.reason=E,this.code=x,this.type=16}}class ii extends Ye{constructor(C,_,E,x){super(C,_),this.error=E,this.target=x,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Yn extends Ye{constructor(C,_,E,x){super(C,_),this.urlAfterRedirects=E,this.state=x,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zr extends Ye{constructor(C,_,E,x){super(C,_),this.urlAfterRedirects=E,this.state=x,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ds extends Ye{constructor(C,_,E,x,U){super(C,_),this.urlAfterRedirects=E,this.state=x,this.shouldActivate=U,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class aa extends Ye{constructor(C,_,E,x){super(C,_),this.urlAfterRedirects=E,this.state=x,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yi extends Ye{constructor(C,_,E,x){super(C,_),this.urlAfterRedirects=E,this.state=x,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xr{constructor(C){this.route=C,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Qi{constructor(C){this.route=C,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class jr{constructor(C){this.snapshot=C,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Er{constructor(C){this.snapshot=C,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oi{constructor(C){this.snapshot=C,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Do{constructor(C){this.snapshot=C,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pr{constructor(C,_,E){this.routerEvent=C,this.position=_,this.anchor=E,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ho{}class Xo{constructor(C){this.url=C}}class wo{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new eo,this.attachRef=null}}let eo=(()=>{class y{constructor(){this.contexts=new Map}onChildOutletCreated(_,E){const x=this.getOrCreateContext(_);x.outlet=E,this.contexts.set(_,x)}onChildOutletDestroyed(_){const E=this.getContext(_);E&&(E.outlet=null,E.attachRef=null)}onOutletDeactivated(){const _=this.contexts;return this.contexts=new Map,_}onOutletReAttached(_){this.contexts=_}getOrCreateContext(_){let E=this.getContext(_);return E||(E=new wo,this.contexts.set(_,E)),E}getContext(_){return this.contexts.get(_)||null}static{this.\u0275fac=function(E){return new(E||y)}}static{this.\u0275prov=i.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})();class Fo{constructor(C){this._root=C}get root(){return this._root.value}
1parent(C){const _=this.pathFromRoot(C);return _.length>1?_[_.length-2]:null}children(C){const _=Ji(C,this._root);return _?_.children.map(E=>E.value):[]}firstChild(C){const _=Ji(C,this._root);return _&&_.children.length>0?_.children[0].value:null}siblings(C){const _=to(C,this._root);return _.length<2?[]:_[_.length-2].children.map(x=>x.value).filter(x=>x!==C)}pathFromRoot(C){return to(C,this._root).map(_=>_.value)}}function Ji(y,C){if(y===C.value)return C;for(const _ of C.children){const E=Ji(y,_);if(E)return E}return null}function to(y,C){if(y===C.value)return[C];for(const _ of C.children){const E=to(y,_);if(E.length)return E.unshift(C),E}return[]}class Bt{constructor(C,_){this.value=C,this.children=_}toString(){return`TreeNode(${this.value})`}}function qn(y){const C={};return y&&y.children.forEach(_=>C[_.value.outlet]=_),C}class ai extends Fo{constructor(C,_){super(C),this.snapshot=_,Un(this,C)}toString(){return this.snapshot.toString()}}function Vr(y,C){const _=function bi(y,C){const re=new gr([],{},{},"",{},Ue,C,null,{});return new Co("",new Bt(re,[]))}(0,C),E=new te.t([new tn("",{})]),x=new te.t({}),U=new te.t({}),re=new te.t({}),je=new te.t(""),ke=new $r(E,x,re,je,U,Ue,C,_.root);return ke.snapshot=_.root,new ai(new Bt(ke,[]),_)}class $r{constructor(C,_,E,x,U,re,je,ke){this.urlSubject=C,this.paramsSubject=_,this.queryParamsSubject=E,this.fragmentSubject=x,this.dataSubject=U,this.outlet=re,this.component=je,this._futureSnapshot=ke,this.title=this.dataSubject?.pipe((0,Ce.T)(gt=>gt[Ut]))??(0,W.of)(void 0),this.url=C,this.params=_,this.queryParams=E,this.fragment=x,this.data=U}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,Ce.T)(C=>ht(C)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ce.T)(C=>ht(C)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function fo(y,C="emptyOnly"){const _=y.pathFromRoot;let E=0;if("always"!==C)for(E=_.length-1;E>=1;){const x=_[E],U=_[E-1];if(x.routeConfig&&""===x.routeConfig.path)E--;else{if(U.component)break;E--}}return function Lo(y){return y.reduce((C,_)=>({params:{...C.params,..._.params},data:{...C.data,..._.data},resolve:{..._.data,...C.resolve,..._.routeConfig?.data,..._._resolvedData}}),{params:{},data:{},resolve:{}})}(_.slice(E))}class gr{get title(){return this.data?.[Ut]}constructor(C,_,E,x,U,re,je,ke,gt){this.url=C,this.params=_,this.queryParams=E,this.fragment=x,this.data=U,this.outlet=re,this.component=je,this.routeConfig=ke,this._resolve=gt}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=ht(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ht(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(E=>E.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Co extends Fo{constructor(C,_){super(_),this.url=C,Un(this,_)}toString(){return wt(this._root)}}function Un(y,C){C.value._routerState=y,C.children.forEach(_=>Un(y,_))}function wt(y){const C=y.children.length>0?` { ${y.children.map(wt).join(", ")} } `:"";return`${y.value}${C}`}function Zt(y){if(y.snapshot){const C=y.snapshot,_=y._futureSnapshot;y.snapshot=_,wn(C.queryParams,_.queryParams)||y.queryParamsSubject.next(_.queryParams),C.fragment!==_.fragment&&y.fragmentSubject.next(_.fragment),wn(C.params,_.params)||y.paramsSubject.next(_.params),function jt(y,C){if(y.length!==C.length)return!1;for(let _=0;_<y.length;++_)if(!wn(y[_],C[_]))return!1;return!0}(C.url,_.url)||y.urlSubject.next(_.url),wn(C.data,_.data)||y.dataSubject.next(_.data)}else y.snapshot=y._futureSnapshot,y.dataSubject.next(y._futureSnapshot.data)}function xn(y,C){const _=wn(y.params,C.params)&&function Wn(y,C){return yn(y,C)&&y.every((_,E)=>wn(_.parameters,C[E].parameters))}(y.url,C.url);return _&&!(!y.parent!=!C.parent)&&(!y.parent||xn(y.parent,C.parent))}let Hi=(()=>{class y{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ue,this.activateEvents=new i.bkB,this.deactivateEvents=new i.bkB,this.attachEvents=new i.bkB,this.detachEvents=new i.bkB,this.parentContexts=(0,i.WQX)(eo),this.location=(0,i.WQX)(i.c1b),this.changeDetector=(0,i.WQX)(i.gRc),this.environmentInjector=(0,i.WQX)(i.uvJ),this.inputBinder=(0,i.WQX)(fi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(_){if(_.name){const{firstChange:E,previousValue:x}=_.name;if(E)return;this.isTrackedInParentContexts(x)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(x)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(_){return this.parentContexts.getContext(_)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const _=this.parentContexts.getContext(this.name);_?.route&&(_.attachRef?this.attach(_.attachRef,_.route):this.activateWith(_.route,_.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.wOt(4012,!1);this.location.detach();const _=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(_.instance),_}attach(_,E){this.activated=_,this._activatedRoute=E,this.location.insert(_.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(_.instance)}deactivate(){if(this.activated){const _=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(_)}}activateWith(_,E){if(this.isActivated)throw new i.wOt(4013,!1);this._activatedRoute=_;const x=this.location,re=_.snapshot.component,je=this.parentContexts.getOrCreateContext(this.name).children,ke=new Zi(_,je,x.injector);this.activated=x.createComponent(re,{index:x.length,injector:ke,environmentInjector:E??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(E){return new(E||y)}}static{this.\u0275dir=i.FsC({type:y,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[i.OA$]})}}return y})();class Zi{constructor(C,_,E){this.route=C,this.childContexts=_,this.parent=E}get(C,_){return C===$r?this.route:C===eo?this.childContexts:this.parent.get(C,_)}}const fi=new i.nKC("");let Ur=(()=>{class y{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(_){this.unsubscribeFromRouteData(_),this.subscribeToRouteData(_)}unsubscribeFromRouteData(_){this.outletDataSubscriptions.get(_)?.unsubscribe(),this.outletDataSubscriptions.delete(_)}subscribeToRouteData(_){const{activatedRoute:E}=_,x=(0,ce.z)([E.queryParams,E.params,E.data]).pipe((0,Pe.n)(([U,re,je],ke)=>(je={...U,...re,...je},0===ke?(0,W.of)(je):Promise.resolve(je)))).subscribe(U=>{if(!_.isActivated||!_.activatedComponentRef||_.activatedRoute!==E||null===E.component)return void this.unsubscribeFromRouteData(_);const re=(0,i.HJs)(E.component);if(re)for(const{templateName:je}
1of re.inputs)_.activatedComponentRef.setInput(je,U[je]);else this.unsubscribeFromRouteData(_)});this.outletDataSubscriptions.set(_,x)}static{this.\u0275fac=function(E){return new(E||y)}}static{this.\u0275prov=i.jDH({token:y,factory:y.\u0275fac})}}return y})();function qi(y,C,_){if(_&&y.shouldReuseRoute(C.value,_.value.snapshot)){const E=_.value;E._futureSnapshot=C.value;const x=function Li(y,C,_){return C.children.map(E=>{for(const x of _.children)if(y.shouldReuseRoute(E.value,x.value.snapshot))return qi(y,E,x);return qi(y,E)})}(y,C,_);return new Bt(E,x)}{if(y.shouldAttach(C.value)){const U=y.retrieve(C.value);if(null!==U){const re=U.route;return re.value._futureSnapshot=C.value,re.children=C.children.map(je=>qi(y,je)),re}}const E=function Gt(y){return new $r(new te.t(y.url),new te.t(y.params),new te.t(y.queryParams),new te.t(y.fragment),new te.t(y.data),y.outlet,y.component,y)}(C.value),x=C.children.map(U=>qi(y,U));return new Bt(E,x)}}const mr="ngNavigationCancelingError";function po(y,C){const{redirectTo:_,navigationBehaviorOptions:E}=di(C)?{redirectTo:C,navigationBehaviorOptions:void 0}:C,x=no(!1,0,C);return x.url=_,x.navigationBehaviorOptions=E,x}function no(y,C,_){const E=new Error("NavigationCancelingError: "+(y||""));return E[mr]=!0,E.cancellationCode=C,_&&(E.url=_),E}function io(y){return y&&y[mr]}let rr=(()=>{class y{static{this.\u0275fac=function(E){return new(E||y)}}static{this.\u0275cmp=i.VBU({type:y,selectors:[["ng-component"]],standalone:!0,features:[i.aNF],decls:1,vars:0,template:function(E,x){1&E&&i.nrm(0,"router-outlet")},dependencies:[Hi],encapsulation:2})}}return y})();function go(y){const C=y.children&&y.children.map(go),_=C?{...y,children:C}:{...y};return!_.component&&!_.loadComponent&&(C||_.loadChildren)&&_.outlet&&_.outlet!==Ue&&(_.component=rr),_}function Bi(y){return y.outlet||Ue}function Gr(y){if(!y)return null;
1if(y.routeConfig?._injector)return y.routeConfig._injector;for(let C=y.parent;C;C=C.parent){const _=C.routeConfig;if(_?._loadedInjector)return _._loadedInjector;if(_?._injector)return _._injector}return null}class Gi{constructor(C,_,E,x,U){this.routeReuseStrategy=C,this.futureState=_,this.currState=E,this.forwardEvent=x,this.inputBindingEnabled=U}activate(C){const _=this.futureState._root,E=this.currState?this.currState._root:null;this.deactivateChildRoutes(_,E,C),Zt(this.futureState.root),this.activateChildRoutes(_,E,C)}deactivateChildRoutes(C,_,E){const x=qn(_);C.children.forEach(U=>{const re=U.value.outlet;this.deactivateRoutes(U,x[re],E),delete x[re]}),Object.values(x).forEach(U=>{this.deactivateRouteAndItsChildren(U,E)})}deactivateRoutes(C,_,E){const x=C.value,U=_?_.value:null;if(x===U)if(x.component){const re=E.getContext(x.outlet);re&&this.deactivateChildRoutes(C,_,re.children)}else this.deactivateChildRoutes(C,_,E);else U&&this.deactivateRouteAndItsChildren(_,E)}deactivateRouteAndItsChildren(C,_){C.value.component&&this.routeReuseStrategy.shouldDetach(C.value.snapshot)?this.detachAndStoreRouteSubtree(C,_):this.deactivateRouteAndOutlet(C,_)}detachAndStoreRouteSubtree(C,_){const E=_.getContext(C.value.outlet),x=E&&C.value.component?E.children:_,U=qn(C);for(const re of Object.keys(U))this.deactivateRouteAndItsChildren(U[re],x);if(E&&E.outlet){const re=E.outlet.detach(),je=E.children.onOutletDeactivated();this.routeReuseStrategy.store(C.value.snapshot,{componentRef:re,route:C,contexts:je})}}deactivateRouteAndOutlet(C,_){const E=_.getContext(C.value.outlet),x=E&&C.value.component?E.children:_,U=qn(C);for(const re of Object.keys(U))this.deactivateRouteAndItsChildren(U[re],x);E&&(E.outlet&&(E.outlet.deactivate(),E.children.onOutletDeactivated()),E.attachRef=null,E.route=null)}activateChildRoutes(C,_,E){const x=qn(_);C.children.forEach(U=>{this.activateRoutes(U,x[U.value.outlet],E),this.forwardEvent(new Do(U.value.snapshot))}),C.children.length&&this.forwardEvent(new Er(C.value.snapshot))}activateRoutes(C,_,E){const x=C.value,U=_?_.value:null;if(Zt(x),x===U)if(x.component){const re=E.getOrCreateContext(x.outlet);this.activateChildRoutes(C,_,re.children)}else this.activateChildRoutes(C,_,E);else if(x.component){const re=E.getOrCreateContext(x.outlet);if(this.routeReuseStrategy.shouldAttach(x.snapshot)){const je=this.routeReuseStrategy.retrieve(x.snapshot);this.routeReuseStrategy.store(x.snapshot,null),re.children.onOutletReAttached(je.contexts),re.attachRef=je.componentRef,re.route=je.route.value,re.outlet&&re.outlet.attach(je.componentRef,je.route.value),Zt(je.route.value),this.activateChildRoutes(C,null,re.children)}else{const je=Gr(x.snapshot);re.attachRef=null,re.route=x,re.injector=je,re.outlet&&re.outlet.activateWith(x,re.injector),this.activateChildRoutes(C,null,re.children)}}else this.activateChildRoutes(C,null,E)}}class us{constructor(C){this.path=C,this.route=this.path[this.path.length-1]}}class Di{constructor(C,_){this.component=C,this.route=_}}function ji(y,C,_){const E=y._root;return mo(E,C?C._root:null,_,[E.value])}function Wt(y,C){const _=Symbol(),E=C.get(y,_);return E===_?"function"!=typeof y||(0,i.LfX)(y)?C.get(y):y:E}function mo(y,C,_,E,x={canDeactivateChecks:[],canActivateChecks:[]}){const U=qn(C);return y.children.forEach(re=>{(function Sr(y,C,_,E,x={canDeactivateChecks:[],canActivateChecks:[]}){const U=y.value,re=C?C.value:null,je=_?_.getContext(y.value.outlet):null;if(re&&U.routeConfig===re.routeConfig){const ke=function ds(y,C,_){if("function"==typeof _)return _(y,C);switch(_){case"pathParamsChange":return!yn(y.url,C.url);case"pathParamsOrQueryParamsChange":return!yn(y.url,C.url)||!wn(y.queryParams,C.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xn(y,C)||!wn(y.queryParams,C.queryParams);default:return!xn(y,C)}}(re,U,U.routeConfig.runGuardsAndResolvers);ke?x.canActivateChecks.push(new us(E)):(U.data=re.data,U._resolvedData=re._resolvedData),mo(y,C,U.component?je?je.children:null:_,E,x),ke&&je&&je.outlet&&je.outlet.isActivated&&x.canDeactivateChecks.push(new Di(je.outlet.component,re))}else re&&Eo(C,je,x),x.canActivateChecks.push(new us(E)),mo(y,null,U.component?je?je.children:null:_,E,x)})(re,U[re.value.outlet],_,E.concat([re.value]),x),delete U[re.value.outlet]}
1),Object.entries(U).forEach(([re,je])=>Eo(je,_.getContext(re),x)),x}function Eo(y,C,_){const E=qn(y),x=y.value;Object.entries(E).forEach(([U,re])=>{Eo(re,x.component?C?C.children.getContext(U):null:C,_)}),_.canDeactivateChecks.push(new Di(x.component&&C&&C.outlet&&C.outlet.isActivated?C.outlet.component:null,x))}function _o(y){return"function"==typeof y}function fn(y){return y instanceof me.G||"EmptyError"===y?.name}const vr=Symbol("INITIAL_VALUE");function kr(){return(0,Pe.n)(y=>(0,ce.z)(y.map(C=>C.pipe((0,We.s)(1),(0,et.Z)(vr)))).pipe((0,Ce.T)(C=>{for(const _ of C)if(!0!==_){if(_===vr)return vr;if(!1===_||_ instanceof ci)return _}return!0}),(0,Xe.p)(C=>C!==vr),(0,We.s)(1)))}function vo(y){return(0,J.F)((0,an.M)(C=>{if(di(C))throw po(0,C)}),(0,Ce.T)(C=>!0===C))}class jo{constructor(C){this.segmentGroup=C||null}}class Ia{constructor(C){this.urlTree=C}}function li(y){return(0,K.$)(new jo(y))}function Vo(y){return(0,K.$)(new Ia(y))}class la{constructor(C,_){this.urlSerializer=C,this.urlTree=_}noMatchError(C){return new i.wOt(4002,!1)}lineralizeSegments(C,_){let E=[],x=_.root;for(;;){if(E=E.concat(x.segments),0===x.numberOfChildren)return(0,W.of)(E);if(x.numberOfChildren>1||!x.children[Ue])return(0,K.$)(new i.wOt(4e3,!1));x=x.children[Ue]}}applyRedirectCommands(C,_,E){return this.applyRedirectCreateUrlTree(_,this.urlSerializer.parse(_),C,E)}applyRedirectCreateUrlTree(C,_,E,x){const U=this.createSegmentGroup(C,_.root,E,x);return new ci(U,this.createQueryParams(_.queryParams,this.urlTree.queryParams),_.fragment)}createQueryParams(C,_){const E={};return Object.entries(C).forEach(([x,U])=>{if("string"==typeof U&&U.startsWith(":")){const je=U.substring(1);E[x]=_[je]}else E[x]=U}),E}createSegmentGroup(C,_,E,x){const U=this.createSegments(C,_.segments,E,x);let re={};return Object.entries(_.children).forEach(([je,ke])=>{re[je]=this.createSegmentGroup(C,ke,E,x)}),new en(U,re)}createSegments(C,_,E,x){return _.map(U=>U.path.startsWith(":")?this.findPosParam(C,U,x):this.findOrReturn(U,E))}findPosParam(C,_,E){const x=E[_.path.substring(1)];if(!x)throw new i.wOt(4001,!1);return x}findOrReturn(C,_){let E=0;for(const x of _){if(x.path===C.path)return _.splice(E),x;E++}return C}}const $o={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ti(y,C,_,E,x){const U=er(y,C,_);return U.matched?(E=function Mr(y,C){return y.providers&&!y._injector&&(y._injector=(0,i.Ol2)(y.providers,C,`Route: ${y.path}`)),y._injector??C}(C,E),function zr(y,C,_,E){const x=C.canMatch;if(!x||0===x.length)return(0,W.of)(!0);const U=x.map(re=>{const je=Wt(re,y);return xe(function G(y){return y&&_o(y.canMatch)}(je)?je.canMatch(C,_):y.runInContext(()=>je(C,_)))});return(0,W.of)(U).pipe(kr(),vo())}(E,C,_).pipe((0,Ce.T)(re=>!0===re?U:{...$o}))):(0,W.of)(U)}function er(y,C,_){if(""===C.path)return"full"===C.pathMatch&&(y.hasChildren()||_.length>0)?{...$o}:{matched:!0,consumedSegments:[],remainingSegments:_,parameters:{},positionalParamSegments:{}};const x=(C.matcher||Ot)(_,y,C);if(!x)return{...$o};const U={};Object.entries(x.posParams??{}).forEach(([je,ke])=>{U[je]=ke.path});const re=x.consumed.length>0?{...U,...x.consumed[x.consumed.length-1].parameters}:U;return{matched:!0,consumedSegments:x.consumed,remainingSegments:_.slice(x.consumed.length),parameters:re,positionalParamSegments:x.posParams??{}}}function ro(y,C,_,E){return _.length>0&&function Ts(y,C,_){return _.some(E=>ps(y,C,E)&&Bi(E)!==Ue)}(y,_,E)?{segmentGroup:new en(C,Ms(E,new en(_,y.children))),slicedSegments:[]}:0===_.length&&function Os(y,C,_){return _.some(E=>ps(y,C,E))}(y,_,E)?{segmentGroup:new en(y.segments,Es(y,0,_,E,y.children)),slicedSegments:_}:{segmentGroup:new en(y.segments,y.children),slicedSegments:_}}function Es(y,C,_,E,x){const U={};for(const re of E)if(ps(y,_,re)&&!x[Bi(re)]){const je=new en([],{});U[Bi(re)]=je}return{...x,...U}}function Ms(y,C){const _={};_[Ue]=C;for(const E of y)if(""===E.path&&Bi(E)!==Ue){const x=new en([],{});_[Bi(E)]=x}return _}function ps(y,C,_){return(!(y.hasChildren()||C.length>0)||"full"!==_.pathMatch)&&""===_.path}class Hs{constructor(C,_,E,x,U,re,je){this.injector=C,this.configLoader=_,this.rootComponentType=E,this.config=x,this.urlTree=U,this.paramsInheritanceStrategy=re,this.urlSerializer
1=je,this.allowRedirects=!0,this.applyRedirects=new la(this.urlSerializer,this.urlTree)}noMatchError(C){return new i.wOt(4002,!1)}recognize(){const C=ro(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,C,Ue).pipe((0,ln.W)(_=>{if(_ instanceof Ia)return this.allowRedirects=!1,this.urlTree=_.urlTree,this.match(_.urlTree);throw _ instanceof jo?this.noMatchError(_):_}),(0,Ce.T)(_=>{const E=new gr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ue,this.rootComponentType,null,{}),x=new Bt(E,_),U=new Co("",x),re=function Ne(y,C,_=null,E=null){return we(pe(y),C,_,E)}(E,[],this.urlTree.queryParams,this.urlTree.fragment);return re.queryParams=this.urlTree.queryParams,U.url=this.urlSerializer.serialize(re),this.inheritParamsAndData(U._root),{state:U,tree:re}}))}match(C){return this.processSegmentGroup(this.injector,this.config,C.root,Ue).pipe((0,ln.W)(E=>{throw E instanceof jo?this.noMatchError(E):E}))}inheritParamsAndData(C){const _=C.value,E=fo(_,this.paramsInheritanceStrategy);_.params=Object.freeze(E.params),_.data=Object.freeze(E.data),C.children.forEach(x=>this.inheritParamsAndData(x))}processSegmentGroup(C,_,E,x){return 0===E.segments.length&&E.hasChildren()?this.processChildren(C,_,E):this.processSegment(C,_,E,E.segments,x,!0)}processChildren(C,_,E){const x=[];for(const U of Object.keys(E.children))"primary"===U?x.unshift(U):x.push(U);return(0,l.H)(x).pipe((0,Qt.H)(U=>{const re=E.children[U],je=function or(y,C){const _=y.filter(E=>Bi(E)===C);return _.push(...y.filter(E=>Bi(E)!==C)),_}(_,U);return this.processSegmentGroup(C,je,re,U)}),function Pn(y,C){return(0,_e.N)(function gi(y,C,_,E,x){return(U,re)=>{let je=_,ke=C,gt=0;U.subscribe((0,Le._)(re,cn=>{const ti=gt++;ke=je?y(ke,cn,ti):(je=!0,cn),E&&re.next(ke)},x&&(()=>{je&&re.next(ke),re.complete()})))}}(y,C,arguments.length>=2,!0))}((U,re)=>(U.push(...re),U)),(0,jn.U)(null),function Re(y,C){const _=arguments.length>=2;return E=>E.pipe(y?(0,Xe.p)((x,U)=>y(x,U,E)):ki.D,Ai(1),_?(0,jn.U)(C):(0,hr.v)(()=>new me.G))}(),(0,bt.Z)(U=>{if(null===U)return li(E);const re=Aa(U);return function Na(y){y.sort((C,_)=>C.value.outlet===Ue?-1:_.value.outlet===Ue?1:C.value.outlet.localeCompare(_.value.outlet))}(re),(0,W.of)(re)}))}processSegment(C,_,E,x,U,re){return(0,l.H)(_).pipe((0,Qt.H)(je=>this.processSegmentAgainstRoute(je._injector??C,_,je,E,x,U,re).pipe((0,ln.W)(ke=>{if(ke instanceof jo)return(0,W.of)(null);throw ke}))),(0,Mt.$)(je=>!!je),(0,ln.W)(je=>{if(fn(je))return function Qo(y,C,_){return 0===C.length&&!y.children[_]}(E,x,U)?(0,W.of)([]):li(E);throw je}))}processSegmentAgainstRoute(C,_,E,x,U,re,je){return function Ss(y,C,_,E){return!!(Bi(y)===E||E!==Ue&&ps(C,_,y))&&("**"===y.path||er(C,y,_).matched)}(E,x,U,re)?void 0===E.redirectTo?this.matchSegmentAgainstRoute(C,x,E,U,re,je):je&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(C,x,_,E,U,re):li(x):li(x)}expandSegmentAgainstRouteUsingRedirect(C,_,E,x,U,re){return"**"===x.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(C,E,x,re):this.expandRegularSegmentAgainstRouteUsingRedirect(C,_,E,x,U,re)}expandWildCardWithParamsAgainstRouteUsingRedirect(C,_,E,x){const U=this.applyRedirects.applyRedirectCommands([],E.redirectTo,{});return E.redirectTo.startsWith("/")?Vo(U):this.applyRedirects.lineralizeSegments(E,U).pipe((0,bt.Z)(re=>{const je=new en(re,{});return this.processSegment(C,_,je,re,x,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(C,_,E,x,U,re){const{matched:je,consumedSegments:ke,remainingSegments:gt,positionalParamSegments:cn}=er(_,x,U);if(!je)return li(_);const ti=this.applyRedirects.applyRedirectCommands(ke,x.redirectTo,cn);return x.redirectTo.startsWith("/")?Vo(ti):this.applyRedirects.lineralizeSegments(x,ti).pipe((0,bt.Z)(Mn=>this.processSegment(C,E,_,Mn.concat(gt),re,!1)))}matchSegmentAgainstRoute(C,_,E,x,U,re){let je;if("**"===E.path){const ke=x.length>0?Me(x).parameters:{},gt=new gr(x,ke,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ca(E),Bi(E),E.component??E._loadedComponent??null,E,xa(E));je=(0,W.of)({snapshot:gt,consumedSegments:[],remainingSegments:[]}),_.children={}}else je=Ti(_,E,x,C).pipe((0,Ce.T)(({matched:ke,consumedSegments:gt,remainingSegments:cn,parameters:ti})=>ke?{snapshot:new gr(gt,ti,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ca(E),Bi(E),E.component??E._loadedComponent??null,E,xa(E)),consumedSegments:gt,remainingSegments:cn}:null));return je.pipe((0,Pe.n)(ke=>null===ke?li(_):this.getChildConfig(C=E._injector??C,E,x).pipe((0,Pe.n)(({routes:gt})=>{const cn=E._loadedInjector??C,{snapshot:ti,consumedSegments:Mn,remainingSegments:Dr}=ke,{segmentGroup:ts,slicedSegments:ns}=ro(_,Mn,Dr,gt);if(0===ns.length&&ts.hasChildren())return this.processChildren(cn,gt,ts).pipe((0,Ce.T)(rs=>null===rs?null:[new Bt(ti,rs)]));if(0===gt.length&&0===ns.length)return(0,W.of)([new Bt(ti,[])]);const is=Bi(E)===U;return this.processSegment(cn,gt,ts,ns,is?Ue:U,!0).pipe((0,Ce.T)(rs=>[new Bt(ti,rs)]))}))))}getChildConfig(C,_,E){return _.children?(0,W.of)({routes:_.children,injector:C}):_.loadChildren?void 0!==_._loadedRoutes?(0,W.of)({routes:_._loadedRoutes,injector:_._loadedInjector}):function Jl(y,C,_,E){const x=C.canLoad;if(void 0===x||0===x.length)return(0,W.of)(!0);const U=x.map(re=>{const je=Wt(re,y);return xe(function hs(y){return y&&_o(y.canLoad)}(je)?je.canLoad(C,_):y.runInContext(()=>je(C,_)))});return(0,W.of)(U).pipe(kr(),vo())}(C,_,E).pipe((0,bt.Z)(x=>x?this.configLoader.loadChildren(C,_).pipe((0,an.M)(U=>{_._loadedRoutes=U.routes,_._loadedInjector=U.injector})):function Yo(y){return(0,K.$)(no(!1,3))}())):(0,W.of)({routes:[],injector:C})}}function al(y){const C=y.value.routeConfig;return C&&""===C.path}function Aa(y){const C=[],_=new Set;for(const E of y){if(!al(E)){C.push(E);continue}const x=C.find(U=>E.value.routeConfig===U.value.routeConfig);void 0!==x?(x.children.push(...E.children),_.add(x)):C.push(E)}for(const E of _){const x=Aa(E.children);C.push(new Bt(E.value,x))}return C.filter(E=>!_.has(E))}function ca(y){return y.data||{}}function xa(y){return y.resolve||{}}function zs(y){return"string"==typeof y.title||null===y.title}function b(y){return(0,Pe.n)(C=>{const _=y(C);return _?(0,l.H)(_).pipe((0,Ce.T)(()=>C)):(0,W.of)(C)})}const j=new i.nKC("ROUTES");let S=(()=>{class y{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,i.WQX)(i.Ql9)}loadComponent(_){if(this.componentLoaders.get(_))return this.componentLoaders.get(_);if(_._loadedComponent)return(0,W.of)(_._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(_);const E=xe(_.loadComponent()).pipe((0,Ce.T)($e),(0,an.M)(U=>{this.onLoadEndListener&&this.onLoadEndListener(_),_._loadedComponent=U}),(0,Ee.j)(()=>{this.componentLoaders.delete(_)})),x=new Et(E,()=>new rt.B).pipe(tt());return this.componentLoaders.set(_,x),x}loadChildren(_,E){if(this.childrenLoaders.get(E))return this.childrenLoaders.get(E);if(E._loadedRoutes)return(0,W.of)({routes:E._loadedRoutes,injector:E._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(E);const U=function k(y,C,_,E){return xe(y.loadChildren()).pipe((0,Ce.T)($e),(0,bt.Z)(x=>x instanceof i.Co$||Array.isArray(x)?(0,W.of)(x):(0,l.H)(C.compileModuleAsync(x))),(0,Ce.T)(x=>{E&&E(y);let U,re,je=!1;return Array.isArray(x)?(re=x,!0):(U=x.create(_).injector,re=U.get(j,[],{optional:!0,self:!0}).flat()),{routes:re.map(go),injector:U}}))}(E,this.compiler,_,this.onLoadEndListener).pipe((0,Ee.j)(()=>{this.childrenLoaders.delete(E)})),re=new Et(U,()=>new rt.B).pipe(tt());return this.childrenLoaders.set(E,re),re}static{this.\u0275fac=function(E){return new(E||y)}}static{this.\u0275prov=i.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})();function $e(y){return function se(y){return y&&"object"==typeof y&&"default"in y}(y)?y.default:y}let Ze=(()=>{class y{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new rt.B,this.transitionAbortSubject=ne
1w rt.B,this.configLoader=(0,i.WQX)(S),this.environmentInjector=(0,i.WQX)(i.uvJ),this.urlSerializer=(0,i.WQX)(mi),this.rootContexts=(0,i.WQX)(eo),this.inputBindingEnabled=null!==(0,i.WQX)(fi,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,W.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=x=>this.events.next(new Qi(x)),this.configLoader.onLoadStartListener=x=>this.events.next(new xr(x))}complete(){this.transitions?.complete()}handleNavigationRequest(_){const E=++this.navigationId;this.transitions?.next({...this.transitions.value,..._,id:E})}setupNavigations(_,E,x){return this.transitions=new te.t({id:0,currentUrlTree:E,currentRawUrl:E,currentBrowserUrl:E,extractedUrl:_.urlHandlingStrategy.extract(E),urlAfterRedirects:_.urlHandlingStrategy.extract(E),rawUrl:E,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ye,restoredState:null,currentSnapshot:x.snapshot,targetSnapshot:null,currentRouterState:x,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Xe.p)(U=>0!==U.id),(0,Ce.T)(U=>({...U,extractedUrl:_.urlHandlingStrategy.extract(U.rawUrl)})),(0,Pe.n)(U=>{this.currentTransition=U;let re=!1,je=!1;return(0,W.of)(U).pipe((0,an.M)(ke=>{this.currentNavigation={id:ke.id,initialUrl:ke.rawUrl,extractedUrl:ke.extractedUrl,trigger:ke.source,extras:ke.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Pe.n)(ke=>{const gt=ke.currentBrowserUrl.toString(),cn=!_.navigated||ke.extractedUrl.toString()!==gt||gt!==ke.currentUrlTree.toString();if(!cn&&"reload"!==(ke.extras.onSameUrlNavigation??_.onSameUrlNavigation)){const Mn="";return this.events.next(new Mi(ke.id,this.urlSerializer.serialize(ke.rawUrl),Mn,0)),ke.resolve(null),X.w}if(_.urlHandlingStrategy.shouldProcessUrl(ke.rawUrl))return(0,W.of)(ke).pipe((0,Pe.n)(Mn=>{const Dr=this.transitions?.getValue();return this.events.next(new It(Mn.id,this.urlSerializer.serialize(Mn.extractedUrl),Mn.source,Mn.restoredState)),Dr!==this.transitions?.getValue()?X.w:Promise.resolve(Mn)}),function ua(y,C,_,E,x,U){return(0,bt.Z)(re=>function Jo(y,C,_,E,x,U,re="emptyOnly"){return new Hs(y,C,_,E,x,re,U).recognize()}(y,C,_,E,re.extractedUrl,x,U).pipe((0,Ce.T)(({state:je,tree:ke})=>({...re,targetSnapshot:je,urlAfterRedirects:ke}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,_.config,this.urlSerializer,_.paramsInheritanceStrategy),(0,an.M)(Mn=>{U.targetSnapshot=Mn.targetSnapshot,U.urlAfterRedirects=Mn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Mn.urlAfterRedirects};const Dr=new Yn(Mn.id,this.urlSerializer.serialize(Mn.extractedUrl),this.urlSerializer.serialize(Mn.urlAfterRedirects),Mn.targetSnapshot);this.events.next(Dr)}));if(cn&&_.urlHandlingStrategy.shouldProcessUrl(ke.currentRawUrl)){const{id:Mn,extractedUrl:Dr,source:ts,restoredState:ns,extras:is}=ke,rs=new It(Mn,this.urlSerializer.serialize(Dr),ts,ns);this.events.next(rs);const w=Vr(0,this.rootComponentType).snapshot;return this.currentTransition=U={...ke,targetSnapshot:w,urlAfterRedirects:Dr,extras:{...is,skipLocationChange:!1,replaceUrl:!1}},(0,W.of)(U)}{const Mn="";return this.events.next(new Mi(ke.id,this.urlSerializer.serialize(ke.extractedUrl),Mn,1)),ke.resolve(null),X.w}}),(0,an.M)(ke=>{const gt=new Zr(ke.id,this.urlSerializer.serialize(ke.extractedUrl),this.urlSerializer.serialize(ke.urlAfterRedirects),ke.targetSnapshot);this.events.next(gt)}),(0,Ce.T)(ke=>(this.currentTransition=U={...ke,guards:ji(ke.targetSnapshot,ke.currentSnapshot,this.rootContexts)},U)),function fs(y,C){return(0,bt.Z)(_=>{const{targetSnapshot:E,currentSnapshot:x,guards:{canActivateChecks:U,canDeactivateChecks:re}}=_;return 0===re.length&&0===U.length?(0,W.of)({..._,guardsResult:!0}):function ol(y,C,_,E){return(0,l.H)(y).pipe((0,bt.Z)(x=>function ri(y,C,_,E,x){const U=C&&C.routeConfig?C.routeConfig.canDeactivate:null;if(!U||0===U.length)return(0,W.of)(!0);const re=U.map(je=>{const ke=Gr(C)??x,gt=Wt(je,ke);return xe(function O(y){return y&&_o(y.canDeactivate)}(gt)?gt.canDeactivate(y,C,_,E):ke.runInContext(()=>gt(y,C,_,E))).pipe((0,Mt.$)())});return(0,W.of)(re).pipe(kr())}(x.component,x.route,_,C,E)),(0,Mt.$)(x=>!0!==x,!0))}(re,E,x,y).pipe((0,bt.Z)(je=>je&&function $s(y){return"boolean"==typeof y}(je)?function Ql(y,C,_,E){return(0,l.H)(C).pipe((0,Qt.H)(x=>(0,he.x)(function Sa(y,C){return null!==y&&C&&C(new jr(y)),(0,W.of)(!0)}(x.route.parent,E),function sl(y,C){return null!==y&&C&&C(new oi(y)),(0,W.of)(!0)}(x.route,E),function Us(y,C,_){const E=C[C.length-1],U=C.slice(0,C.length-1).reverse().map(re=>
1function ws(y){const C=y.routeConfig?y.routeConfig.canActivateChild:null;return C&&0!==C.length?{node:y,guards:C}:null}(re)).filter(re=>null!==re).map(re=>z(()=>{const je=re.guards.map(ke=>{const gt=Gr(re.node)??_,cn=Wt(ke,gt);return xe(function L(y){return y&&_o(y.canActivateChild)}(cn)?cn.canActivateChild(E,y):gt.runInContext(()=>cn(E,y))).pipe((0,Mt.$)())});return(0,W.of)(je).pipe(kr())}));return(0,W.of)(U).pipe(kr())}(y,x.path,_),function Cs(y,C,_){const E=C.routeConfig?C.routeConfig.canActivate:null;if(!E||0===E.length)return(0,W.of)(!0);const x=E.map(U=>z(()=>{const re=Gr(C)??_,je=Wt(U,re);return xe(function R(y){return y&&_o(y.canActivate)}(je)?je.canActivate(C,y):re.runInContext(()=>je(C,y))).pipe((0,Mt.$)())}));return(0,W.of)(x).pipe(kr())}(y,x.route,_))),(0,Mt.$)(x=>!0!==x,!0))}(E,U,y,C):(0,W.of)(je)),(0,Ce.T)(je=>({..._,guardsResult:je})))})}(this.environmentInjector,ke=>this.events.next(ke)),(0,an.M)(ke=>{if(U.guardsResult=ke.guardsResult,di(ke.guardsResult))throw po(0,ke.guardsResult);const gt=new Ds(ke.id,this.urlSerializer.serialize(ke.extractedUrl),this.urlSerializer.serialize(ke.urlAfterRedirects),ke.targetSnapshot,!!ke.guardsResult);this.events.next(gt)}),(0,Xe.p)(ke=>!!ke.guardsResult||(this.cancelNavigationTransition(ke,"",3),!1)),b(ke=>{if(ke.guards.canActivateChecks.length)return(0,W.of)(ke).pipe((0,an.M)(gt=>{const cn=new aa(gt.id,this.urlSerializer.serialize(gt.extractedUrl),this.urlSerializer.serialize(gt.urlAfterRedirects),gt.targetSnapshot);this.events.next(cn)}),(0,Pe.n)(gt=>{let cn=!1;return(0,W.of)(gt).pipe(function Gs(y,C){return(0,bt.Z)(_=>{const{targetSnapshot:E,guards:{canActivateChecks:x}}=_;if(!x.length)return(0,W.of)(_);let U=0;return(0,l.H)(x).pipe((0,Qt.H)(re=>function Pa(y,C,_,E){const x=y.routeConfig,U=y._resolve;return void 0!==x?.title&&!zs(x)&&(U[Ut]=x.title),function Is(y,C,_,E){const x=function cl(y){return[...Object.keys(y),...Object.getOwnPropertySymbols(y)]}(y);if(0===x.length)return(0,W.of)({});const U={};return(0,l.H)(x).pipe((0,bt.Z)(re=>function Ns(y,C,_,E){const x=Gr(C)??E,U=Wt(y,x);return xe(U.resolve?U.resolve(C,_):x.runInContext(()=>U(C,_)))}(y[re],C,_,E).pipe((0,Mt.$)(),(0,an.M)(je=>{U[re]=je}))),Ai(1),(0,ge.u)(U),(0,ln.W)(re=>fn(re)?X.w:(0,K.$)(re)))}(U,y,C,E).pipe((0,Ce.T)(re=>(y._resolvedData=re,y.data=fo(y,_).resolve,x&&zs(x)&&(y.data[Ut]=x.title),null)))}(re.route,E,y,C)),(0,an.M)(()=>U++),Ai(1),(0,bt.Z)(re=>U===x.length?(0,W.of)(_):X.w))})}(_.paramsInheritanceStrategy,this.environmentInjector),(0,an.M)({next:()=>cn=!0,complete:()=>{cn||this.cancelNavigationTransition(gt,"",2)}}))}),(0,an.M)(gt=>{const cn=new Yi(gt.id,this.urlSerializer.serialize(gt.extractedUrl),this.urlSerializer.serialize(gt.urlAfterRedirects),gt.targetSnapshot);this.events.next(cn)}))}),b(ke=>{const gt=cn=>{const ti=[];cn.routeConfig?.loadComponent&&!cn.routeConfig._loadedComponent&&ti.push(this.configLoader.loadComponent(cn.routeConfig).pipe((0,an.M)(Mn=>{cn.component=Mn}),(0,Ce.T)(()=>{})));for(const Mn of cn.children)ti.push(...gt(Mn));return ti};return(0,ce.z)(gt(ke.targetSnapshot.root)).pipe((0,jn.U)(),(0,We.s)(1))}),b(()=>this.afterPreactivation()),(0,Ce.T)(ke=>{const gt=function Qn(y,C,_){const E=qi(y,C._root,_?_._root:void 0);return new ai(E,C)}(_.routeReuseStrategy,ke.targetSnapshot,ke.currentRouterState);return this.currentTransition=U={...ke,targetRouterState:gt},U}),(0,an.M)(()=>{this.events.next(new ho)}),((y,C,_,E)=>(0,Ce.T)(x=>(new Gi(C,x.targetRouterState,x.currentRouterState,_,E).activate(y),x)))(this.rootContexts,_.routeReuseStrategy,ke=>this.events.next(ke),this.inputBindingEnabled),(0,We.s)(1),(0,an.M)({next:ke=>{re=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new kt(ke.id,this.urlSerializer.serialize(ke.extractedUrl),this.urlSerializer.serialize(ke.urlAfterRedirects))),_.titleStrategy?.updateTitle(ke.targetRouterState.snapshot),ke.resolve(!0)},complete:()=>{re=!0}}),(0,q.Q)(this.transitionAbortSubject.pipe((0,an.M)(ke=>{throw ke}))),(0,Ee.j)(()=>{re||je||this.cancelNavigationTransition(U,"",1),this.currentNavigation?.id===U.id&&(this.currentNavigation=null)}),(0,ln.W)(ke=>{if(je=!0,io(ke))this.events.next(new on(U.id,this.urlSerializer.serialize(U.extractedUrl),ke.message,ke.cancellationCode)),function Gn(y){return io(y)&&di(y.url)}(ke)?this.events.next(new Xo(ke.url)):U.resolve(!1);else{this.events.next(new ii(U.id,this.urlSerializer.serialize(U.extractedUrl),ke,U.targetSnapshot??void 0));try{U.resolve(_.errorHandler(ke))}catch(gt){U.reject(gt)}}return X.w}))}))}cancelNavigationTransition(_,E,x){const U=new on(_.id,this.urlSerializer.serialize(_.extractedUrl),E,x);this.events.next(U),_.resolve(!1)}static{this.\u0275fac=function(E){return new(E||y)}}static{this.\u0275prov=i.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})();function At(y){return y!==ye}let zn=(()=>{class y{buildTitle(_){let E,x=_.root;for(;void 0!==x;)E=this.getResolvedTitleForRoute(x)??E,x=x.children.find(U=>U.outlet===Ue);return E}getResolvedTitleForRoute(_){return _.data[Ut]}static{this.\u0275fac=function(E){return new(E||y)}}static{this.\u0275prov=i.jDH({token:y,factory:function(){return(0,i.WQX)(ei)},providedIn:"root"})}}return y})(),ei=(()=>{class y extends zn{constructor(_){super(),this.title=_}updateTitle(_){const E=this.buildTitle(_);void 0!==E&&this.title.setTitle(E)}static{this.\u0275fac=function(E){return new(E||y)(i.KVO(ue.hE))}}static{this.\u0275prov=i.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})(),Vn=(()=>{class y{static{this.\u0275fac=function(E){return new(E||y)}}static{this.\u0275prov=i.jDH({token:y,factory:function(){return(0,i.WQX)(pi)},providedIn:"root"})}}return y})();class un{shouldDetach(C){return!1}store(C,_){}shouldAttach(C){return!1}retrieve(C){return null}
1shouldReuseRoute(C,_){return C.routeConfig===_.routeConfig}}let pi=(()=>{class y extends un{static{this.\u0275fac=function(){let _;return function(x){return(_||(_=i.xGo(y)))(x||y)}}()}static{this.\u0275prov=i.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})();const Hn=new i.nKC("",{providedIn:"root",factory:()=>({})});let Vi=(()=>{class y{static{this.\u0275fac=function(E){return new(E||y)}}static{this.\u0275prov=i.jDH({token:y,factory:function(){return(0,i.WQX)(oo)},providedIn:"root"})}}return y})(),oo=(()=>{class y{shouldProcessUrl(_){return!0}extract(_){return _}merge(_,E){return _}static{this.\u0275fac=function(E){return new(E||y)}}static{this.\u0275prov=i.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})();var sr=function(y){return y[y.COMPLETE=0]="COMPLETE",y[y.FAILED=1]="FAILED",y[y.REDIRECTING=2]="REDIRECTING",y}(sr||{});function Mo(y,C){y.events.pipe((0,Xe.p)(_=>_ instanceof kt||_ instanceof on||_ instanceof ii||_ instanceof Mi),(0,Ce.T)(_=>_ instanceof kt||_ instanceof Mi?sr.COMPLETE:_ instanceof on&&(0===_.code||1===_.code)?sr.REDIRECTING:sr.FAILED),(0,Xe.p)(_=>_!==sr.REDIRECTING),(0,We.s)(1)).subscribe(()=>{C()})}function yr(y){throw y}function so(y,C,_){return C.parse("/")}const $i={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},To={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ir=(()=>{class y{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,i.WQX)(i.H3F),this.isNgZoneEnabled=!1,this._events=new rt.B,this.options=(0,i.WQX)(Hn,{optional:!0})||{},this.pendingTasks=(0,i.WQX)(i.$K3),this.errorHandler=this.options.errorHandler||yr,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||so,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,i.WQX)(Vi),this.routeReuseStrategy=(0,i.WQX)(Vn),this.titleStrategy=(0,i.WQX)(zn),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,i.WQX)(j,{optional:!0})?.flat()??[],this.navigationTransitions=(0,i.WQX)(Ze),this.urlSerializer=(0,i.WQX)(mi),this.location=(0,i.WQX)(oe.aZ),this.componentInputBindingEnabled=!!(0,i.WQX)(fi,{optional:!0}),this.eventsSubscription=new be.yU,this.isNgZoneEnabled=(0,i.WQX)(i.SKi)instanceof i.SKi&&i.SKi.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ci,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Vr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(_=>{this.lastSuccessfulId=_.id,this.currentPageId=this.browserPageId},_=>{this.console.warn(`Unhandled Navigation Error: ${_}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const _=this.navigationTransitions.events.subscribe(E=>{try{const{currentTransition:x}=this.navigationTransitions;if(null===x)return void(Ws(E)&&this._events.next(E));if(E instanceof It)At(x.source)&&(this.browserUrlTree=x.extractedUrl);else if(E instanceof Mi)this.rawUrlTree=x.rawUrl;else if(E instanceof Yn){if("eager"===this.urlUpdateStrategy){if(!x.extras.skipLocationChange){const U=this.urlHandlingStrategy.merge(x.urlAfterRedirects,x.rawUrl);this.setBrowserUrl(U,x)}this.browserUrlTree=x.urlAfterRedirects}}else if(E instanceof ho)this.currentUrlTree=x.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(x.urlAfterRedirects,x.rawUrl),this.routerState=x.targetRouterState,"deferred"===this.urlUpdateStrategy&&(x.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,x),this.browserUrlTree=x.urlAfterRedirects);
1else if(E instanceof on)0!==E.code&&1!==E.code&&(this.navigated=!0),(3===E.code||2===E.code)&&this.restoreHistory(x);else if(E instanceof Xo){const U=this.urlHandlingStrategy.merge(E.url,x.currentRawUrl),re={skipLocationChange:x.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||At(x.source)};this.scheduleNavigation(U,ye,null,re,{resolve:x.resolve,reject:x.reject,promise:x.promise})}E instanceof ii&&this.restoreHistory(x,!0),E instanceof kt&&(this.navigated=!0),Ws(E)&&this._events.next(E)}catch(x){this.navigationTransitions.transitionAbortSubject.next(x)}});this.eventsSubscription.add(_)}resetRootComponentType(_){this.routerState.root.component=_,this.navigationTransitions.rootComponentType=_}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const _=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ye,_)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(_=>{const E="popstate"===_.type?"popstate":"hashchange";"popstate"===E&&setTimeout(()=>{this.navigateToSyncWithBrowser(_.url,E,_.state)},0)}))}navigateToSyncWithBrowser(_,E,x){const U={replaceUrl:!0},re=x?.navigationId?x:null;if(x){const ke={...x};delete ke.navigationId,delete ke.\u0275routerPageId,0!==Object.keys(ke).length&&(U.state=ke)}const je=this.parseUrl(_);this.scheduleNavigation(je,E,re,U)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(_){this.config=_.map(go),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(_,E={}){const{relativeTo:x,queryParams:U,fragment:re,queryParamsHandling:je,preserveFragment:ke}=E,gt=ke?this.currentUrlTree.fragment:re;let ti,cn=null;switch(je){case"merge":cn={...this.currentUrlTree.queryParams,...U};break;case"preserve":cn=this.currentUrlTree.queryParams;break;default:cn=U||null}null!==cn&&(cn=this.removeEmptyProps(cn));try{ti=pe(x?x.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof _[0]||!_[0].startsWith("/"))&&(_=[]),ti=this.currentUrlTree.root}return we(ti,_,cn,gt??null)}navigateByUrl(_,E={skipLocationChange:!1}){const x=di(_)?_:this.parseUrl(_),U=this.urlHandlingStrategy.merge(x,this.rawUrlTree);return this.scheduleNavigation(U,ye,null,E)}navigate(_,E={skipLocationChange:!1}){return function si(y){for(let C=0;C<y.length;C++)if(null==y[C])throw new i.wOt(4008,!1)}(_),this.navigateByUrl(this.createUrlTree(_,E),E)}serializeUrl(_){return this.urlSerializer.serialize(_)}parseUrl(_){let E;try{E=this.urlSerializer.parse(_)}catch(x){E=this.malformedUriErrorHandler(x,this.urlSerializer,_)}return E}isActive(_,E){let x;if(x=!0===E?{...$i}:!1===E?{...To}:E,di(_))return yt(this.currentUrlTree,_,x);const U=this.parseUrl(_);return yt(this.currentUrlTree,U,x)}removeEmptyProps(_){return Object.keys(_).reduce((E,x)=>{const U=_[x];return null!=U&&(E[x]=U),E},{})}scheduleNavigation(_,E,x,U,re){if(this.disposed)return Promise.resolve(!1);let je,ke,gt;re?(je=re.resolve,ke=re.reject,gt=re.promise):gt=new Promise((ti,Mn)=>{je=ti,ke=Mn});const cn=this.pendingTasks.add();return Mo(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(cn))}),this.navigationTransitions.handleNavigationRequest({source:E,restoredState:x,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:_,extras:U,resolve:je,reject:ke,promise:gt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),gt.catch(ti=>Promise.reject(ti))}setBrowserUrl(_,E){const x=this.urlSerializer.serialize(_);if(this.location.isCurrentPathEqualTo(x)||E.extras.replaceUrl){const re={...E.extras.state,...this.generateNgRouterState(E.id,this.browserPageId)};this.location.replaceState(x,"",re)}else{const U={...E.extras.state,...this.generateNgRouterState(E.id,this.browserPageId+1)};this.location.go(x,"",U)}}restoreHistory(_,E=!1){if("computed"===this.canceledNavigationResolution){const U=this.currentPageId-this.browserPageId;0!==U?this.location.historyGo(U):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===U&&(this.resetState(_),this.browserUrlTree=_.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(E&&this.resetState(_),this.resetUrlToCurrentUrlTree())}resetState(_){this.routerState=_.currentRouterState,this.currentUrlTree=_.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,_.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(_,E){return"computed"===this.canceledNavigationResolution?{navigationId:_,\u0275routerPageId:E}:{navigationId:_}}static{this.\u0275fac=function(E){return new(E||y)}}static{this.\u0275prov=i.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})();function Ws(y){return!(y instanceof ho||y instanceof Xo)}let Zo=(()=>{class y{constructor(_,E,x,U,re,je){this.router=_,this.route=E,this.tabIndexAttribute=x,this.renderer=U,this.el=re,this.locationStrategy=je,this.href=null,this.commands=null,this.onChanges=new rt.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const ke=re.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ke||"area"===ke,this.isAnchorElement?this.subscription=_.events.subscribe(gt=>{gt instanceof kt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(_){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",_)}ngOnChanges(_){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(_){null!=_?(this.commands=Array.isArray(_)?_:[_],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(_,E,x,U,re){return!!(null===this.urlTree||this.isAnchorElement&&(0!==_||E||x||U||re||"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 _=null===this.href?null:(0,i.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",_)}applyAttributeValue(_,E){const x=this.renderer,U=this.el.nativeElement;null!==E?x.setAttribute(U,_,E):x.removeAttribute(U,_)}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{this.\u0275fac=function(E){return new(E||y)(i.rXU(Ir),i.rXU($r),i.kS0("tabindex"),i.rXU(i.sFG),i.rXU(i.aKT),i.rXU(oe.hb))}}static{this.\u0275dir=i.FsC({type:y,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(E,x){1&E&&i.bIt("click",function(re){return x.onClick(re.button,re.ctrlKey,re.shiftKey,re.altKey,re.metaKey)}),2&E&&i.BMQ("target",x.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",i.L39],skipLocationChange:["skipLocationChange","skipLocationChange",i.L39],replaceUrl:["replaceUrl","replaceUrl",i.L39],routerLink:"routerLink"},standalone:!0,features:[i.GFd,i.OA$]})}}return y})();class da{}let dl=(()=>{class y{constructor(_,E,x,U,re){this.router=_,this.injector=x,this.preloadingStrategy=U,this.loader=re}setUpPreloading(){this.subscription=this.router.events.pipe((0,Xe.p)(_=>_ instanceof kt),(0,Qt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(_,E){const x=[];for(const U of E){U.providers&&!U._injector&&(U._injector=(0,i.Ol2)(U.providers,_,`Route: ${U.path}`));const re=U._injector??_,je=U._loadedInjector??re;(U.loadChildren&&!U._loadedRoutes&&void 0===U.canLoad||U.loadComponent&&!U._loadedComponent)&&x.push(this.preloadConfig(re,U)),(U.children||U._loadedRoutes)&&x.push(this.processRoutes(je,U.children??U._loadedRoutes))}return(0,l.H)(x).pipe((0,ne.U)())}preloadConfig(_,E){return this.preloadingStrategy.preload(E,()=>{let x;x=E.loadChildren&&void 0===E.canLoad?this.loader.loadChildren(_,E):(0,W.of)(null);const U=x.pipe((0,bt.Z)(re=>null===re?(0,W.of)(void 0):(E._loadedRoutes=re.routes,E._loadedInjector=re.injector,this.processRoutes(re.injector??_,re.routes))));if(E.loadComponent&&!E._loadedComponent){const re=this.loader.loadComponent(E);return(0,l.H)([U,re]).pipe((0,ne.U)())}return U})}static{this.\u0275fac=function(E){return new(E||y)(i.KVO(Ir),i.KVO(i.Ql9),i.KVO(i.uvJ),i.KVO(da),i.KVO(S))}}static{this.\u0275prov=i.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})();const ha=new i.nKC("");let hl=(()=>{class y{constructor(_,E,x,U,re={}
1){this.urlSerializer=_,this.transitions=E,this.viewportScroller=x,this.zone=U,this.options=re,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},re.scrollPositionRestoration=re.scrollPositionRestoration||"disabled",re.anchorScrolling=re.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(_=>{_ instanceof It?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=_.navigationTrigger,this.restoredId=_.restoredState?_.restoredState.navigationId:0):_ instanceof kt?(this.lastId=_.id,this.scheduleScrollEvent(_,this.urlSerializer.parse(_.urlAfterRedirects).fragment)):_ instanceof Mi&&0===_.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(_,this.urlSerializer.parse(_.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(_=>{_ instanceof Pr&&(_.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(_.position):_.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(_.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(_,E){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Pr(_,"popstate"===this.lastSource?this.store[this.restoredId]:null,E))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(E){i.QTQ()}}static{this.\u0275prov=i.jDH({token:y,factory:y.\u0275fac})}}return y})();function Oo(y,C){return{\u0275kind:y,\u0275providers:C}}function rn(){const y=(0,i.WQX)(i.zZn);return C=>{const _=y.get(i.o8S);if(C!==_.components[0])return;const E=y.get(Ir),x=y.get(ka);1===y.get(Fa)&&E.initialNavigation(),y.get(fa,null,i.$GK.Optional)?.setUpPreloading(),y.get(ha,null,i.$GK.Optional)?.init(),E.resetRootComponentType(_.componentTypes[0]),x.closed||(x.next(),x.complete(),x.unsubscribe())}}const ka=new i.nKC("",{factory:()=>new rt.B}),Fa=new i.nKC("",{providedIn:"root",factory:()=>1}),fa=new i.nKC("");function gs(y){return Oo(0,[{provide:fa,useExisting:dl},{provide:da,useExisting:y}])}const it=new i.nKC("ROUTER_FORROOT_GUARD"),Fn=[oe.aZ,{provide:mi,useClass:nn},Ir,eo,{provide:$r,useFactory:function Ra(y){return y.routerState.root},deps:[Ir]},S,[]];function gl(){return new i.NEm("Router",Ir)}let La=(()=>{class y{constructor(_){}static forRoot(_,E){return{ngModule:y,providers:[Fn,[],{provide:j,multi:!0,useValue:_},{provide:it,useFactory:So,deps:[[Ir,new i.Xx1,new i.kdw]]},{provide:Hn,useValue:E||{}},E?.useHash?{provide:oe.hb,useClass:oe.fw}:{provide:oe.hb,useClass:oe.Sm},{provide:ha,useFactory:()=>{const y=(0,i.WQX)(oe.Xr),C=(0,i.WQX)(i.SKi),_=(0,i.WQX)(Hn),E=(0,i.WQX)(Ze),x=(0,i.WQX)(mi);return _.scrollOffset&&y.setOffset(_.scrollOffset),new hl(x,E,y,C,_)}},E?.preloadingStrategy?gs(E.preloadingStrategy).\u0275providers:[],{provide:i.NEm,multi:!0,useFactory:gl},E?.initialNavigation?pa(E):[],E?.bindToComponentInputs?Oo(8,[Ur,{provide:fi,useExisting:Ur}]).\u0275providers:[],[{provide:yo,useFactory:rn},{provide:i.iLQ,multi:!0,useExisting:yo}]]}}static forChild(_){return{ngModule:y,providers:[{provide:j,multi:!0,useValue:_}]}}static{this.\u0275fac=function(E){return new(E||y)(i.KVO(it,8))}}static{this.\u0275mod=i.$C({type:y})}static{this.\u0275inj=i.G2t({})}}return y})();function So(y){return"guarded"}function pa(y){return["disabled"===y.initialNavigation?Oo(3,[{provide:i.hnV,multi:!0,useFactory:()=>{const C=(0,i.WQX)(Ir);return()=>{C.setUpLocationChangeListener()}}},{provide:Fa,useValue:2}]).\u0275providers:[],"enabledBlocking"===y.initialNavigation?Oo(2,[{provide:Fa,useValue:0},{provide:i.hnV,multi:!0,deps:[i.zZn],useFactory:C=>{const _=C.get(oe.hj,Promise.resolve());return()=>_.then(()=>new Promise(E=>{const x=C.get(Ir),U=C.get(ka);Mo(x,()=>{E(!0)}),C.get(Ze).afterPreactivation=()=>(E(!0),U.closed?(0,W.of)(void 0):U),x.initialNavigation()}))}}]).\u0275providers:[]]}const yo=new i.nKC("")},4700:(st,Oe,T)=>{T.d(Oe,{Oj:()=>ja,wA:()=>Pt,tg:()=>Rl,_H:()=>uu,U0:()=>du,zH:()=>hu,do:()=>gc,Bq:()=>gu,UN:()=>Dc,X9:()=>Rs,Um:()=>mu,sy:()=>Zs,Gx:()=>Cd,WA:()=>Fl,RI:()=>Ka,Pv:()=>Xa,m_:()=>_u,c9:()=>Ya,bD:()=>Ps});var i=T(7705),Y=T(1985),l=T(983),W=T(7673),te=T(1413),ce=T(3726),me=T(1584),he=T(8750);const{isArray:ae}=Array;function ie(a){return 1===a.length&&ae(a[0])?a[0]:a}var z=T(4360);
1function J(...a){return 1===(a=ie(a)).length?(0,he.Tg)(a[0]):new Y.c(function K(a){return m=>{let o=[];for(let c=0;o&&!m.closed&&c<a.length;c++)o.push((0,he.Tg)(a[c]).subscribe((0,z._)(m,p=>{if(o){for(let I=0;I<o.length;I++)I!==c&&o[I].unsubscribe();o=null}m.next(p)})))}}(a))}var X=T(4412),be=T(4572),_e=T(5343);const Le=new Y.c(_e.l);var Et=T(9326);function rt(...a){const m=(0,Et.ms)(a),o=ie(a);return o.length?new Y.c(c=>{let p=o.map(()=>[]),I=o.map(()=>!1);c.add(()=>{p=I=null});for(let B=0;!c.closed&&B<o.length;B++)(0,he.Tg)(o[B]).subscribe((0,z._)(c,ve=>{if(p[B].push(ve),p.every(Se=>Se.length)){const Se=p.map(Be=>Be.shift());c.next(m?m(...Se):Se),p.some((Be,Ve)=>!Be.length&&I[Ve])&&c.complete()}},()=>{I[B]=!0,!p[B].length&&c.complete()}));return()=>{p=I=null}}):l.w}T(7786);var Ce=T(8793),We=T(6977),et=T(5964),Xe=T(6697),bt=T(6354),Mt=T(9172),Qt=T(3294),an=T(5558),ln=T(8141),gi=T(9974),Pn=T(3669);function jn(...a){const m=(0,Et.ms)(a);return(0,gi.N)((o,c)=>{const p=a.length,I=new Array(p);let B=a.map(()=>!1),ve=!1;for(let Se=0;Se<p;Se++)(0,he.Tg)(a[Se]).subscribe((0,z._)(c,Be=>{I[Se]=Be,!ve&&!B[Se]&&(B[Se]=!0,(ve=B.every(Pn.D))&&(B=null))},_e.l));o.subscribe((0,z._)(c,Se=>{if(ve){const Be=[Se,...I];c.next(m?m(...Be):Be)}}))})}var Ai=T(8839),ki=T(3703),Re=T(1397);function ge(a,m){return m?o=>(0,Ce.x)(m.pipe((0,Xe.s)(1),function hr(){return(0,gi.N)((a,m)=>{a.subscribe((0,z._)(m,_e.l))})}()),o.pipe(ge(a))):(0,Re.Z)((o,c)=>(0,he.Tg)(a(o,c)).pipe((0,Xe.s)(1),(0,ki.u)(o)))}var q=T(5245),ne=T(177);Error,T(9417);
vendor: 4,948 bytes, line 1
1var we={left:"right",right:"left",bottom:"top",top:"bottom"};function Qe(a){return a.replace(/left|right|bottom|top/g,function(m){return we[m]})}function nt(a){return a.split("-")[0]}var pt={start:"end",end:"start"};function lt(a){return a.replace(/start|end/g,function(m){return pt[m]})}var zt="top",ct="bottom",hn="right",bn="left",Kn="auto",hi=[zt,ct,hn,bn],Xn="start",ni="end",$="viewport",N="popper",H=hi.reduce(function(a,m){return a.concat([m+"-"+Xn,m+"-"+ni])},[]),ye=[].concat(hi,[Kn]).reduce(function(a,m){return a.concat([m,m+"-"+Xn,m+"-"+ni])},[]),aa=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Yi(a){if(null==a)return window;if("[object Window]"!==a.toString()){var m=a.ownerDocument;return m&&m.defaultView||window}return a}function xr(a){return a instanceof Yi(a).Element||a instanceof Element}function Qi(a){return a instanceof Yi(a).HTMLElement||a instanceof HTMLElement}function jr(a){return!(typeof ShadowRoot>"u")&&(a instanceof Yi(a).ShadowRoot||a instanceof ShadowRoot)}function Er(a){return((xr(a)?a.ownerDocument:a.document)||window.document).documentElement}var oi=Math.max,Do=Math.min,Pr=Math.round;function ho(){var a=navigator.userAgentData;return null!=a&&a.brands&&Array.isArray(a.brands)?a.brands.map(function(m){return m.brand+"/"+m.version}).join(" "):navigator.userAgent}function Xo(){return!/^((?!chrome|android).)*safari/i.test(ho())}function qr(a,m,o){void 0===m&&(m=!1),void 0===o&&(o=!1);var c=a.getBoundingClientRect(),p=1,I=1;m&&Qi(a)&&(p=a.offsetWidth>0&&Pr(c.width)/a.offsetWidth||1,I=a.offsetHeight>0&&Pr(c.height)/a.offsetHeight||1);var ve=(xr(a)?Yi(a):window).visualViewport,Se=!Xo()&&o,Be=(c.left+(Se&&ve?ve.offsetLeft:0))/p,Ve=(c.top+(Se&&ve?ve.offsetTop:0))/I,Dt=c.width/p,at=c.height/I;return{width:Dt,height:at,top:Ve,right:Be+Dt,bottom:Ve+at,left:Be,x:Be,y:Ve}}function wo(a){var m=Yi(a);return{scrollLeft:m.pageXOffset,scrollTop:m.pageYOffset}}function eo(a){return qr(Er(a)).left+wo(a).scrollLeft}function Ji(a){return Yi(a).getComputedStyle(a)}function Bt(a){return a?(a.nodeName||"").toLowerCase():null}function qn(a){return"html"===Bt(a)?a:a.assignedSlot||a.parentNode||(jr(a)?a.host:null)||Er(a)}function ai(a){var m=Ji(a);return/auto|scroll|overlay|hidden/.test(m.overflow+m.overflowY+m.overflowX)}function Vr(a){return["html","body","#document"].indexOf(Bt(a))>=0?a.ownerDocument.body:Qi(a)&&ai(a)?a:Vr(qn(a))}function bi(a,m){var o;void 0===m&&(m=[]);var c=Vr(a),p=c===(null==(o=a.ownerDocument)?void 0:o.body),I=Yi(c),B=p?[I].concat(I.visualViewport||[],ai(c)?c:[]):c,ve=m.concat(B);return p?ve:ve.concat(bi(qn(B)))}function $r(a){return["table","td","th"].indexOf(Bt(a))>=0}function fo(a){return Qi(a)&&"fixed"!==Ji(a).position?a.offsetParent:null}function gr(a){for(var m=Yi(a),o=fo(a);o&&$r(o)&&"static"===Ji(o).position;)o=fo(o);return o&&("html"===Bt(o)||"body"===Bt(o)&&"static"===Ji(o).position)?m:o||function Lo(a){var m=/firefox/i.test(ho());if(/Trident/i.test(ho())&&Qi(a)&&"fixed"===Ji(a).position)return null;var p=qn(a);for(jr(p)&&(p=p.host);Qi(p)&&["html","body"].indexOf(Bt(p))<0;){var I=Ji(p);if("none"!==I.transform||"none"!==I.perspective||"paint"===I.contain||-1!==["transform","perspective"].indexOf(I.willChange)||m&&"filter"===I.willChange||m&&I.filter&&"none"!==I.filter)return p;p=p.parentNode}return null}(a)||m}function Co(a,m){var o=m.getRootNode&&m.getRootNode();if(a.contains(m))return!0;if(o&&jr(o)){var c=m;do{if(c&&a.isSameNode(c))return!0;c=c.parentNode||c.host}while(c)}return!1}function Un(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}function Zt(a,m,o){return m===$?Un(function Fo(a,m){var o=Yi(a),c=Er(a),p=o.visualViewport,I=c.clientWidth,B=c.clientHeight,ve=0,Se=0;if(p){I=p.width,B=p.height;var Be=Xo();(Be||!Be&&"fixed"===m)&&(ve=p.offsetLeft,Se=p.offsetTop)}return{width:I,height:B,x:ve+eo(a),y:Se}}(a,o)):xr(m)?function wt(a,m){var o=qr(a,!1,"fixed"===m);return o.top=o.top+a.clientTop,o.left=o.left+a.clientLeft,o.bottom=o.top+a.clientHeight,o.right=o.left+a.clientWidth,o.width=a.clientWidth,o.height=a.clientHeight,o.x=o.left,o.y=o.top,o}(m,o):Un(function to(a){var m,o=Er(a),c=wo(a),p=null==(m=a.ownerDocument)?void 0:m.body,I=oi(o.scrollWidth,o.clientWidth,p?p.scrollWidth:0,p?p.clientWidth:0),B=oi(o.scrollHeight,o.clientHeight,p?p.scrollHeight:0,p?p.clientHeight:0),ve=-c.scrollLeft+eo(a),Se=-c.scrollTop;return"rtl"===Ji(p||o).direction&&(ve+=oi(o.clientWidth,p?p.clientWidth:0)-I),{width:I,height:B,x:ve,y:Se}}(Er(a)))}function Zi(a){return a.split("-")[1]}function fi(a){return["top","bottom"].indexOf(a)>=0?"x":"y"}function Ur(a){var Se,m=a.reference,o=a.element,c=a.placement,p=c?nt(c):null,I=c?Zi(c):null,B=m.x+m.width/2-o.width/2,ve=m.y+m.height/2-o.height/2;switch(p){case zt:Se={x:B,y:m.y-o.height};break;case ct:Se={x:B,y:m.y+m.height};break;case hn:Se={x:m.x+m.width,y:ve};break;case bn:Se={x:m.x-o.width,y:ve};break;
1default:Se={x:m.x,y:m.y}}var Be=p?fi(p):null;if(null!=Be){var Ve="y"===Be?"height":"width";switch(I){case Xn:Se[Be]=Se[Be]-(m[Ve]/2-o[Ve]/2);break;case ni:Se[Be]=Se[Be]+(m[Ve]/2-o[Ve]/2)}}return Se}function qi(a){return Object.assign({},{top:0,right:0,bottom:0,left:0},a)}function Li(a,m){return m.reduce(function(o,c){return o[c]=a,o},{})}function Gt(a,m){void 0===m&&(m={});var c=m.placement,p=void 0===c?a.placement:c,I=m.strategy,B=void 0===I?a.strategy:I,ve=m.boundary,Se=void 0===ve?"clippingParents":ve,Be=m.rootBoundary,Ve=void 0===Be?$:Be,Dt=m.elementContext,at=void 0===Dt?N:Dt,mt=m.altBoundary,pn=void 0!==mt&&mt,Tn=m.padding,Xt=void 0===Tn?0:Tn,Ln=qi("number"!=typeof Xt?Xt:Li(Xt,hi)),Si=a.rects.popper,On=a.elements[pn?at===N?"reference":N:at],Jn=function Hi(a,m,o,c){var p="clippingParents"===m?function xn(a){var m=bi(qn(a)),c=["absolute","fixed"].indexOf(Ji(a).position)>=0&&Qi(a)?gr(a):a;return xr(c)?m.filter(function(p){return xr(p)&&Co(p,c)&&"body"!==Bt(p)}):[]}(a):[].concat(m),I=[].concat(p,[o]),ve=I.reduce(function(Se,Be){var Ve=Zt(a,Be,c);return Se.top=oi(Ve.top,Se.top),Se.right=Do(Ve.right,Se.right),Se.bottom=Do(Ve.bottom,Se.bottom),Se.left=oi(Ve.left,Se.left),Se},Zt(a,I[0],c));return ve.width=ve.right-ve.left,ve.height=ve.bottom-ve.top,ve.x=ve.left,ve.y=ve.top,ve}(xr(On)?On:On.contextElement||Er(a.elements.popper),Se,Ve,B),Bn=qr(a.elements.reference),Ii=Ur({reference:Bn,element:Si,strategy:"absolute",placement:p}),Ni=Un(Object.assign({},Si,Ii)),dr=at===N?Ni:Bn,ir={top:Jn.top-dr.top+Ln.top,bottom:dr.bottom-Jn.bottom+Ln.bottom,left:Jn.left-dr.left+Ln.left,right:dr.right-Jn.right+Ln.right},Qr=a.modifiersData.offset;if(at===N&&Qr){var as=Qr[p];Object.keys(ir).forEach(function(uo){var ya=[hn,ct].indexOf(uo)>=0?1:-1,ea=[zt,ct].indexOf(uo)>=0?"y":"x";ir[uo]+=as[ea]*ya})}return ir}const Gn={name:"flip",enabled:!0,phase:"main",fn:function no(a){var m=a.state,o=a.options,c=a.name;if(!m.modifiersData[c]._skip){for(var p=o.mainAxis,I=void 0===p||p,B=o.altAxis,ve=void 0===B||B,Se=o.fallbackPlacements,Be=o.padding,Ve=o.boundary,Dt=o.rootBoundary,at=o.altBoundary,mt=o.flipVariations,pn=void 0===mt||mt,Tn=o.allowedAutoPlacements,Xt=m.options.placement,Ln=nt(Xt),Si=Se||(Ln!==Xt&&pn?function po(a){if(nt(a)===Kn)return[];var m=Qe(a);
1return[lt(a),m,lt(m)]}(Xt):[Qe(Xt)]),On=[Xt].concat(Si).reduce(function(qa,ks){return qa.concat(nt(ks)===Kn?function mr(a,m){void 0===m&&(m={});var p=m.boundary,I=m.rootBoundary,B=m.padding,ve=m.flipVariations,Se=m.allowedAutoPlacements,Be=void 0===Se?ye:Se,Ve=Zi(m.placement),Dt=Ve?ve?H:H.filter(function(pn){return Zi(pn)===Ve}):hi,at=Dt.filter(function(pn){return Be.indexOf(pn)>=0});0===at.length&&(at=Dt);var mt=at.reduce(function(pn,Tn){return pn[Tn]=Gt(a,{placement:Tn,boundary:p,rootBoundary:I,padding:B})[nt(Tn)],pn},{});return Object.keys(mt).sort(function(pn,Tn){return mt[pn]-mt[Tn]})}(m,{placement:ks,boundary:Ve,rootBoundary:Dt,padding:Be,flipVariations:pn,allowedAutoPlacements:Tn}):ks)},[]),Jn=m.rects.reference,Bn=m.rects.popper,Ii=new Map,Ni=!0,dr=On[0],ir=0;ir<On.length;ir++){var Qr=On[ir],as=nt(Qr),uo=Zi(Qr)===Xn,ya=[zt,ct].indexOf(as)>=0,ea=ya?"width":"height",Go=Gt(m,{placement:Qr,boundary:Ve,rootBoundary:Dt,altBoundary:at,padding:Be}),vs=ya?uo?hn:bn:uo?ct:zt;Jn[ea]>Bn[ea]&&(vs=Qe(vs));var ta=Qe(vs),ls=[];if(I&&ls.push(Go[as]<=0),ve&&ls.push(Go[vs]<=0,Go[ta]<=0),ls.every(function(qa){return qa})){dr=Qr,Ni=!1;break}Ii.set(Qr,ls)}if(Ni)for(var wc=function(ks){var el=On.find(function(Da){var tl=Ii.get(Da);if(tl)return tl.slice(0,ks).every(function(Ul){return Ul})});if(el)return dr=el,"break"},ba=pn?3:1;ba>0&&"break"!==wc(ba);ba--);m.placement!==dr&&(m.modifiersData[c]._skip=!0,m.placement=dr,m.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function rr(a,m,o){return oi(a,Do(m,o))}function Tr(a){var m=qr(a),o=a.offsetWidth,c=a.offsetHeight;return Math.abs(m.width-o)<=1&&(o=m.width),Math.abs(m.height-c)<=1&&(c=m.height),{x:a.offsetLeft,y:a.offsetTop,width:o,height:c}}const Hr={name:"preventOverflow",enabled:!0,phase:"main",fn:function js(a){var m=a.state,o=a.options,c=a.name,p=o.mainAxis,I=void 0===p||p,B=o.altAxis,ve=void 0!==B&&B,at=o.tether,mt=void 0===at||at,pn=o.tetherOffset,Tn=void 0===pn?0:pn,Xt=Gt(m,{boundary:o.boundary,rootBoundary:o.rootBoundary,padding:o.padding,altBoundary:o.altBoundary}),Ln=nt(m.placement),An=Zi(m.placement),Si=!An,On=fi(Ln),Jn=function io(a){return"x"===a?"y":"x"}(On),Bn=m.modifiersData.popperOffsets,Ii=m.rects.reference,Ni=m.rects.popper,dr="function"==typeof Tn?Tn(Object.assign({},m.rects,{placement:m.placement})):Tn,ir="number"==typeof dr?{mainAxis:dr,altAxis:dr}:Object.assign({mainAxis:0,altAxis:0},dr),Qr=m.modifiersData.offset?m.modifiersData.offset[m.placement]:null,as={x:0,y:0};if(Bn){if(I){var uo,ya="y"===On?zt:bn,ea="y"===On?ct:hn,Go="y"===On?"height":"width",vs=Bn[On],ta=vs+Xt[ya],ls=vs-Xt[ea],$l=mt?-Ni[Go]/2:0,wc=An===Xn?Ii[Go]:Ni[Go],ba=An===Xn?-Ni[Go]:-Ii[Go],Za=m.elements.arrow,qa=mt&&Za?Tr(Za):{width:0,height:0},ks=m.modifiersData["arrow#persistent"]?m.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},el=ks[ya],Da=ks[ea],tl=rr(0,Ii[Go],qa[Go]),Ul=Si?Ii[Go]/2-$l-tl-el-ir.mainAxis:wc-tl-el-ir.mainAxis,Mf=Si?-Ii[Go]/2+$l+tl+Da+ir.mainAxis:ba+tl+Da+ir.mainAxis,Hl=m.elements.arrow&&gr(m.elements.arrow),Hd=Hl?"y"===On?Hl.clientTop||0:Hl.clientLeft||0:0,Su=null!=(uo=Qr?.[On])?uo:0,Tf=vs+Mf-Su,Cc=rr(mt?Do(ta,vs+Ul-Su-Hd):ta,vs,mt?oi(ls,Tf):ls);Bn[On]=Cc,as[On]=Cc-vs}if(ve){var Gl,ys=Bn[Jn],Ro="y"===Jn?"height":"width",Ca=ys+Xt["x"===On?zt:bn],Ec=ys-Xt["x"===On?ct:hn],Nu=-1!==[zt,bn].indexOf(Ln),Gd=null!=(Gl=Qr?.[Jn])?Gl:0,Au=Nu?Ca:ys-Ii[Ro]-Ni[Ro]-Gd+ir.altAxis,Ea=Nu?ys+Ii[Ro]+Ni[Ro]-Gd-ir.altAxis:Ec,zd=mt&&Nu?function Mr(a,m,o){var c=rr(a,m,o);return c>o?o:c}(Au,ys,Ea):rr(mt?Au:Ca,ys,mt?Ea:Ec);Bn[Jn]=zd,as[Jn]=zd-ys}m.modifiersData[c]=as}},requiresIfExists:["offset"]},sn={name:"arrow",enabled:!0,phase:"main",fn:function Or(a){var m,o=a.state,c=a.name,p=a.options,I=o.elements.arrow,B=o.modifiersData.popperOffsets,ve=nt(o.placement),Se=fi(ve),Ve=[bn,hn].indexOf(ve)>=0?"height":"width";if(I&&B){var Dt=function(m,o){return qi("number"!=typeof(m="function"==typeof m?m(Object.assign({},o.rects,{placement:o.placement})):m)?m:Li(m,hi))}(p.padding,o),at=Tr(I),mt="y"===Se?zt:bn,pn="y"===Se?ct:hn,Tn=o.rects.reference[Ve]+o.rects.reference[Se]-B[Se]-o.rects.popper[Ve],Xt=B[Se]-o.rects.reference[Se],Ln=gr(I),An=Ln?"y"===Se?Ln.clientHeight||0:Ln.clientWidth||0:0,Bn=An/2-at[Ve]/2+(Tn/2-Xt/2),Ii=rr(Dt[mt],Bn,An-at[Ve]-Dt[pn
1]);o.modifiersData[c]=((m={})[Se]=Ii,m.centerOffset=Ii-Bn,m)}},effect:function zi(a){var m=a.state,c=a.options.element,p=void 0===c?"[data-popper-arrow]":c;null!=p&&("string"==typeof p&&!(p=m.elements.popper.querySelector(p))||Co(m.elements.popper,p)&&(m.elements.arrow=p))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function or(a,m,o){void 0===o&&(o=!1);var c=Qi(m),p=Qi(m)&&function Bi(a){var m=a.getBoundingClientRect(),o=Pr(m.width)/a.offsetWidth||1,c=Pr(m.height)/a.offsetHeight||1;return 1!==o||1!==c}(m),I=Er(m),B=qr(a,p,o),ve={scrollLeft:0,scrollTop:0},Se={x:0,y:0};return(c||!c&&!o)&&(("body"!==Bt(m)||ai(I))&&(ve=function go(a){return a!==Yi(a)&&Qi(a)?function Vs(a){return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}}(a):wo(a)}(m)),Qi(m)?((Se=qr(m,!0)).x+=m.clientLeft,Se.y+=m.clientTop):I&&(Se.x=eo(I))),{x:B.left+ve.scrollLeft-Se.x,y:B.top+ve.scrollTop-Se.y,width:B.width,height:B.height}}function Gr(a){var m=new Map,o=new Set,c=[];function p(I){o.add(I.name),[].concat(I.requires||[],I.requiresIfExists||[]).forEach(function(ve){if(!o.has(ve)){var Se=m.get(ve);Se&&p(Se)}}),c.push(I)}return a.forEach(function(I){m.set(I.name,I)}),a.forEach(function(I){o.has(I.name)||p(I)}),c}function Bo(a){var m;return function(){return m||(m=new Promise(function(o){Promise.resolve().then(function(){m=void 0,o(a())})})),m}}var us={placement:"bottom",modifiers:[],strategy:"absolute"};function Di(){for(var a=arguments.length,m=new Array(a),o=0;o<a;o++)m[o]=arguments[o];return!m.some(function(c){return!(c&&"function"==typeof c.getBoundingClientRect)})}function ji(a){void 0===a&&(a={});var o=a.defaultModifiers,c=void 0===o?[]:o,p=a.defaultOptions,I=void 0===p?us:p;return function(ve,Se,Be){void 0===Be&&(Be=I);var Ve={placement:"bottom",orderedModifiers:[],options:Object.assign({},us,I),modifiersData:{},elements:{reference:ve,popper:Se},attributes:{},styles:{}},Dt=[],at=!1,mt={state:Ve,setOptions:function(Ln){var An="function"==typeof Ln?Ln(Ve.options):Ln;Tn(),Ve.options=Object.assign({},I,Ve.options,An),Ve.scrollParents={reference:xr(ve)?bi(ve):ve.contextElement?bi(ve.contextElement):[],popper:bi(Se)};var Si=function Rr(a){var m=Gr(a);return aa.reduce(function(o,c){return o.concat(m.filter(function(p){return p.phase===c}))},[])}(function Gi(a){var m=a.reduce(function(o,c){var p=o[c.name];return o[c.name]=p?Object.assign({},p,c,{options:Object.assign({},p.options,c.options),data:Object.assign({},p.data,c.data)}):c,o},{});return Object.keys(m).map(function(o){return m[o]})}([].concat(c,Ve.options.modifiers)));return Ve.orderedModifiers=Si.filter(function(On){return On.enabled}),function pn(){Ve.orderedModifiers.forEach(function(Xt){var An=Xt.options,On=Xt.effect;if("function"==typeof On){var Jn=On({state:Ve,name:Xt.name,instance:mt,options:void 0===An?{}:An});Dt.push(Jn||function(){})}})}(),mt.update()},forceUpdate:function(){if(!at){var Ln=Ve.elements,An=Ln.reference,Si=Ln.popper;if(Di(An,Si)){Ve.rects={reference:or(An,gr(Si),"fixed"===Ve.options.strategy),popper:Tr(Si)},Ve.reset=!1,Ve.placement=Ve.options.placement,Ve.orderedModifiers.forEach(function(ir){return Ve.modifiersData[ir.name]=Object.assign({},ir.data)});for(var On=0;On<Ve.orderedModifiers.length;On++)if(!0!==Ve.reset){var Jn=Ve.orderedModifiers[On],Bn=Jn.fn,Ii=Jn.options;"function"==typeof Bn&&(Ve=Bn({state:Ve,options:void 0===Ii?{}:Ii,name:Jn.name,instance:mt})||Ve)}else Ve.reset=!1,On=-1}}},update:Bo(function(){return new Promise(function(Xt){mt.forceUpdate(),Xt(Ve)})}),destroy:function(){Tn(),at=!0}};if(!Di(ve,Se))return mt;function Tn(){Dt.forEach(function(Xt){return Xt()}),Dt=[]}return mt.setOptions(Be).then(function(Xt){!at&&Be.onFirstUpdate&&Be.onFirstUpdate(Xt)}),mt}}var Wt={passive:!0},_o={top:"auto",right:"auto",bottom:"auto",left:"auto"};function hs(a){var m,o=a.popper,c=a.popperRect,p=a.placement,I=a.variation,B=a.offsets,ve=a.position,Se=a.gpuAcceleration,Be=a.adaptive,Ve=a.roundOffsets,Dt=a.isFixed,at=B.x,mt=void 0===at?0:at,pn=B.y,Tn=void 0===pn?0:pn,Xt="function"==typeof Ve?Ve({x:mt,y:Tn}):{x:mt,y:Tn};mt=Xt.x,Tn=Xt.y;var Ln=B.hasOwnProperty("x"),An=B.hasOwnProperty("y"),Si=bn,On=zt,Jn=window;if(Be){var Bn=gr(o),Ii="clientHeight",Ni="clientWidth";Bn===Yi(o)&&"static"!==Ji(Bn=Er(o)).position&&"absolute"===ve&&(Ii="scrollHeight",Ni="scrollWidth"),(p===zt||(p===bn||p===hn)&&I===ni)&&(On=ct,Tn-=(Dt&&Bn===Jn&&Jn.visualVie
1wport?Jn.visualViewport.height:Bn[Ii])-c.height,Tn*=Se?1:-1),p!==bn&&(p!==zt&&p!==ct||I!==ni)||(Si=hn,mt-=(Dt&&Bn===Jn&&Jn.visualViewport?Jn.visualViewport.width:Bn[Ni])-c.width,mt*=Se?1:-1)}var uo,Qr=Object.assign({position:ve},Be&&_o),as=!0===Ve?function $s(a,m){var c=a.y,p=m.devicePixelRatio||1;return{x:Pr(a.x*p)/p||0,y:Pr(c*p)/p||0}}({x:mt,y:Tn},Yi(o)):{x:mt,y:Tn};return mt=as.x,Tn=as.y,Object.assign({},Qr,Se?((uo={})[On]=An?"0":"",uo[Si]=Ln?"0":"",uo.transform=(Jn.devicePixelRatio||1)<=1?"translate("+mt+"px, "+Tn+"px)":"translate3d("+mt+"px, "+Tn+"px, 0)",uo):((m={})[On]=An?Tn+"px":"",m[Si]=Ln?mt+"px":"",m.transform="",m))}var fn=ji({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function mo(a){var m=a.state,o=a.instance,c=a.options,p=c.scroll,I=void 0===p||p,B=c.resize,ve=void 0===B||B,Se=Yi(m.elements.popper),Be=[].concat(m.scrollParents.reference,m.scrollParents.popper);return I&&Be.forEach(function(Ve){Ve.addEventListener("scroll",o.update,Wt)}),ve&&Se.addEventListener("resize",o.update,Wt),function(){I&&Be.forEach(function(Ve){Ve.removeEventListener("scroll",o.update,Wt)}),ve&&Se.removeEventListener("resize",o.update,Wt)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function ds(a){var m=a.state;m.modifiersData[a.name]=Ur({reference:m.rects.reference,element:m.rects.popper,strategy:"absolute",placement:m.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function R(a){var m=a.state,o=a.options,c=o.gpuAcceleration,p=void 0===c||c,I=o.adaptive,B=void 0===I||I,ve=o.roundOffsets,Se=void 0===ve||ve,Be={placement:nt(m.placement),variation:Zi(m.placement),popper:m.elements.popper,popperRect:m.rects.popper,gpuAcceleration:p,isFixed:"fixed"===m.options.strategy};null!=m.modifiersData.popperOffsets&&(m.styles.popper=Object.assign({},m.styles.popper,hs(Object.assign({},Be,{offsets:m.modifiersData.popperOffsets,position:m.options.strategy,adaptive:B,roundOffsets:Se})))),null!=m.modifiersData.arrow&&(m.styles.arrow=Object.assign({},m.styles.arrow,hs(Object.assign({},Be,{offsets:m.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Se})))),m.attributes.popper=Object.assign({},m.attributes.popper,{"data-popper-placement":m.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function O(a){var m=a.state;Object.keys(m.elements).forEach(function(o){var c=m.styles[o]||{},p=m.attributes[o]||{},I=m.elements[o];!Qi(I)||!Bt(I)||(Object.assign(I.style,c),Object.keys(p).forEach(function(B){var ve=p[B];!1===ve?I.removeAttribute(B):I.setAttribute(B,!0===ve?"":ve)}))})},effect:function G(a){var m=a.state,o={popper:{position:m.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(m.elements.popper.style,o.popper),m.styles=o,m.elements.arrow&&Object.assign(m.elements.arrow.style,o.arrow),function(){Object.keys(m.elements).forEach(function(c){var p=m.elements[c],I=m.attributes[c]||{},ve=Object.keys(m.styles.hasOwnProperty(c)?m.styles[c]:o[c]).reduce(function(Se,Be){return Se[Be]="",Se},{});!Qi(p)||!Bt(p)||(Object.assign(p.style,ve),Object.keys(I).forEach(function(Se){p.removeAttribute(Se)}))})}},requires:["computeStyles"]}]});const fs={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function kr(a){var m=a.state,c=a.name,p=a.options.offset,I=void 0===p?[0,0]:p,B=ye.reduce(function(Ve,Dt){return Ve[Dt]=function vr(a,m,o){var c=nt(a),p=[bn,zt].indexOf(c)>=0?-1:1,I="function"==typeof o?o(Object.assign({},m,{placement:a})):o,B=I[0],ve=I[1];return B=B||0,ve=(ve||0)*p,[bn,hn].indexOf(c)>=0?{x:ve,y:B}:{x:B,y:ve}}(Dt,m.rects,I),Ve},{}),ve=B[m.placement],Be=ve.y;null!=m.modifiersData.popperOffsets&&(m.modifiersData.popperOffsets.x+=ve.x,m.modifiersData.popperOffsets.y+=Be),m.modifiersData[c]=B}},vo=["*"];function zr(a,m){if(1&a){const o=i.RV6();i.j41(0,"button",6),i.bIt("click",function(){const I=i.eBV(o).$implicit,B=i.XpG();return B.focus(),i.Njj(B.select(I.id,B.NgbSlideEventSource.INDICATOR))}),i.k0s()}if(2&a){const o=m.$implicit,c=i.XpG();i.AVh("active",o.id===c.activeId),i.BMQ("aria-labelledby","slide-"+o.id)("aria-controls","slide-"+o.id)("aria-selected",o.id===c.activeId)}}function jo(a,m){}function Ia(a,m){if(1&a&&(i.j41(0,"div",7)(1,"span",8),i.pXf(2,9),i.k0s(),i.DNE(3,jo,0,0,"ng-template",10),i.k0s()),2&a){const o=m.$implicit,c=m.index,p=m.count;i.Y8G("id","slide-"+o.id),i.R7$(2),i.uP7(c+1)(p),i.nnv(2),i.R7$(1),i.Y8G("ngTemplateOutlet",o.tplRef)}}function li(a,m){if(1&a){const o=i.RV6();i.j41(0,"button",11),i.bIt("click",function(){i.eBV(o);const p=i.XpG();return i.Njj(p.arrowLeft())}),i.nrm(1,"span",12),i.j41(2,"span",8),i.pXf(3,13),i.k0s()()}}function Vo(a,m){if(1&a){const o=i.RV6();i.j41(0,"button",14),i.bIt("click",function(){i.eBV(o);const p=i.XpG();return i.Njj(p.arrowRight())}),i.nrm(1,"span",15),i.j41(2,"span",8),i.pXf(3,16),i.k0s()()}}const zs=function(a){return{$implicit:a}},b=["dialog"],j=["ngbNavOutlet",""];function S(a,m){}function k(a,m){if(1&a&&(i.j41(0,"div",2),i.DNE(1,S,0,0,"ng-template",3),i.k0s()),2&a){const o=i.XpG().$implicit,c=i.XpG();i.Y8G("item",o)("nav",c.nav)("role",c.paneRole),i.R7$(1),i.Y8G("ngTemplateOutlet",(null==o.contentTpl?null:o.contentTpl.templateRef)||null)("ngTemplateOutletContext",i.eq3(5,zs,o.active||c.isPanelTransitioning(o)))}}function se(a,m){if(1&a&&i.DNE(0,k,2,7,"div",1),2&a){const o=m.$implicit,c=i.XpG();i.Y8G("ngIf",o.isPanelInDom()||c.isPanelTransitioning(o))}}function yo(a){return"string"==typeof a}function es(a){return null!=a}function y(a){return(a||document.body).getBoundingClientRect()}function E(a=document){const m=a?.activeElement;return m?m.shadowRoot?E(m.shadowRoot):m:null}const U={animation:!0,transitionTimerDelayMs:5},re=()=>{},{transitionTimerDelayMs:je}=U,ke=new Map,gt=(a,m,o,c)=>{let p=c.context||{};const I=ke.get(m);
1if(I)switch(c.runningTransition){case"continue":return l.w;case"stop":a.run(()=>I.transition$.complete()),p=Object.assign(I.context,p),ke.delete(m)}const B=o(m,c.animation,p)||re;if(!c.animation||"none"===window.getComputedStyle(m).transitionProperty)return a.run(()=>B()),(0,W.of)(void 0).pipe(function C(a){return m=>new Y.c(o=>m.subscribe({next:B=>a.run(()=>o.next(B)),error:B=>a.run(()=>o.error(B)),complete:()=>a.run(()=>o.complete())}))}(a));const ve=new te.B,Se=new te.B,Be=ve.pipe(function Pe(...a){return m=>(0,Ce.x)(m,(0,W.of)(...a))}(!0));ke.set(m,{transition$:ve,complete:()=>{Se.next(),Se.complete()},context:p});const Ve=function x(a){const{transitionDelay:m,transitionDuration:o}=window.getComputedStyle(a);return 1e3*(parseFloat(m)+parseFloat(o))}(m);return a.runOutsideAngular(()=>{const Dt=(0,ce.R)(m,"transitionend").pipe((0,We.Q)(Be),(0,et.p)(({target:mt})=>mt===m));J((0,me.O)(Ve+je).pipe((0,We.Q)(Be)),Dt,Se).pipe((0,We.Q)(Be)).subscribe(()=>{ke.delete(m),a.run(()=>{B(),ve.next(),ve.complete()})})}),ve.asObservable()};let Dr=(()=>{class a{constructor(){this.animation=U.animation}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275prov=i.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})(),mn=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})(),Oi=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})();var ar=function(a){return a.START="start",a.END="end",a}(ar||{});const ao=({classList:a})=>a.contains("carousel-item-start")||a.contains("carousel-item-end"),lr=a=>{a.remove("carousel-item-start"),a.remove("carousel-item-end")},Xr=a=>{lr(a),a.remove("carousel-item-prev"),a.remove("carousel-item-next")},ms=(a,m,{direction:o})=>{const{classList:c}=a;return m?(ao(a)?lr(c):(c.add("carousel-item-"+(o===ar.START?"next":"prev")),y(a),c.add("carousel-item-"+o)),()=>{Xr(c),c.add("active")}):(lr(c),Xr(c),void c.add("active"))},os=(a,m,{direction:o})=>{const{classList:c}=a;return m?(ao(a)?lr(c):c.add("carousel-item-"+o),()=>{Xr(c),c.remove("active")}):(lr(c),Xr(c),void c.remove("active"))};let rc=(()=>{class a{constructor(o){this._ngbConfig=o,this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.pauseOnFocus=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(o){this._animation=o}static{this.\u0275fac=function(c){return new(c||a)(i.KVO(Dr))}}static{this.\u0275prov=i.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})(),Ba=0,Ps=(()=>{class a{constructor(o){this.tplRef=o,this.id="ngb-slide-"+Ba++,this.slid=new i.bkB}static{this.\u0275fac=function(c){return new(c||a)(i.rXU(i.C4Q))}}static{this.\u0275dir=i.FsC({type:a,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"},outputs:{slid:"slid"},standalone:!0})}}return a})(),ja=(()=>{class a{set interval(o){this._interval$.next(o)}get interval(){return this._interval$.value}set wrap(o){this._wrap$.next(o)}get wrap(){return this._wrap$.value}set pauseOnHover(o){this._pauseOnHover$.next(o)}get pauseOnHover(){return this._pauseOnHover$.value}set pauseOnFocus(o){this._pauseOnFocus$.next(o)}get pauseOnFocus(){return this._pauseOnFocus$.value}set mouseHover(o){this._mouseHover$.next(o)}get mouseHover(){return this._mouseHover$.value}set focused(o){this._focused$.next(o)}get focused(){return this._focused$.value}constructor(o,c,p,I,B){this._platformId=c,this._ngZone=p,this._cd=I,this._container=B,this.NgbSlideEventSource=Uo,this._destroy$=new te.B,this._interval$=new X.t(0),this._mouseHover$=new X.t(!1),this._focused$=new X.t(!1),this._pauseOnHover$=new X.t(!1),this._pauseOnFocus$=new X.t(!1),this._pause$=new X.t(!1),this._wrap$=new X.t(!1),this.slide=new i.bkB,this.slid=new i.bkB,this._transitionIds=null,this.animation=o.animation,this.interval=o.interval,this.wrap=o.wrap,this.keyboard=o.keyboard,this.pauseOnHover=o.pauseOnHover,this.pauseOnFocus=o.pauseOnFocus,this.showNavigationArrows=o.showNavigationArrows,this.showNavigationIndicators=o.showNavigationIndicators}arrowLeft(){this.focus(),this.prev(Uo.ARROW_LEFT)}arrowRight(){this.focus(),this.next(Uo.ARROW_RIGHT)}ngAfterContentInit(){(0,ne.UE)(this._platformId)&&this._ngZone.runOutsideAngular(()=>{const o=(0,be.z)([this.slide.pipe((0,bt.T)(c=>c.current),(0,Mt.Z)(this.activeId)),this._wrap$,this.slides.changes.pipe((0,Mt.Z)(null))]).pipe((0,bt.T)(([c,p])=>{const I=this.slides.toArray(),B=this._getSlideIdxById(c);return p?I.length>1:B<I.length-1}),(0,Qt.F)());(0,be.z)([this._pause$,this._pauseOnHover$,this._mouseHover$,this._pauseOnFocus$,this._focused$,this._interval$,o]).pipe((0,bt.T)(([c,p,I,B,ve,Se,Be])=>c||p&&I||B&&ve||!Be?0:Se),(0,Qt.F)(),(0,an.n)(c=>c>0?(0,me.O)(c,c):Le),(0,We.Q)(this._destroy$)).subscribe(()=>this._ngZone.run(()=>this.next(Uo.TIMER)))}),this.slides.changes.pipe((0,We.Q)(this._destroy$)).subscribe(()=>{this._transitionIds?.forEach(o=>(a=>{ke.get(a)?.complete()})(this._getSlideElement(o))),this._transitionIds=null,this._cd.markForCheck(),this._ngZone.onStable.pipe((0,Xe.s)(1)).subscribe(()=>{for(const{id:o}of this.slides){const c=this._getSlideElement(o);o===this.activeId?c.classList.add("active"):c.classList.remove("active")}})})}ngAfterContentChecked(){let o=this._getSlideById(this.activeId);this.activeId=o?o.id:this.slides.length?this.slides.first.id:""}ngAfterViewInit(){if(this.activeId){const o=this._getSlideElement(this.activeId);o&&o.classList.add("active")}}ngOnDestroy(){this._destroy$.next()}select(o,c){this._cycleToSelected(o,this._getSlideEventDirection(this.activeId,o),c)}prev(o){this._cycleToSelected(this._getPrevSlide(this.activeId),ar.END,o)}next(o){this._cycleToSelected(this._getNextSlide(this.activeId),ar.START,o)}pause(){this._pause$.next(!0)}cycle(){this._pause$.next(!1)}focus(){this._container.nativeElement.focus()}_cycleToSelected(o,c,p){const I=this._transitionIds;if(I&&(I[0]!==o||I[1]!==this.activeId))return;let B=this._getSlideById(o);if(B&&B.id!==this.activeId){this._transitionIds=[this.activeId,o],this.slide.emit({prev:this.activeId,current:B.id,direction:c,paused:this._pause$.value,source:p});const ve={animation:this.animation,runningTransition:"stop",context:{direction:c}},Se=[],Be=this._getSlideById(this.activeId);if(Be){const mt=gt(this._ngZone,this._getSlideElement(Be.id),os,ve);mt.subscribe(()=>{Be.slid.emit({isShown:!1,direction:c,source:p})}),Se.push(mt)}const Ve=this.activeId;this.activeId=B.id;const Dt=this._getSlideById(this.activeId),at=gt(this._ngZone,this._getSlideElement(B.id),ms,ve);at.subscribe(()=>{Dt?.slid.emit({isShown:!0,direction:c,source:p})}),Se.push(at),rt(...Se).pipe((0,Xe.s)(1)).subscribe(()=>{this._transitionIds=null,this.slid.emit({prev:Ve,current:B.id,direction:c,paused:this._pause$.value,source:p})})}this._cd.markForCheck()}_getSlideEventDirection(o,c){return this._getSlideIdxById(o)>this._getSlideIdxById(c)?ar.END:ar.START}_getSlideById(o){return this.slides.find(c=>c.id===o)||null}_getSlideIdxById(o){const c=this._getSlideById(o);return null!=c?this.slides.toArray().indexOf(c):-1}_getNextSlide(o){const c=this.slides.toArray(),p=this._getSlideIdxById(o);return p===c.length-1?this.wrap?c[0].id:c[c.length-1].id:c[p+1].id}_getPrevSlide(o){const c=this.slides.toArray(),p=this._getSlideIdxById(o);return 0===p?this.wrap?c[c.length-1].id:c[0].id:c[p-1].id}_getSlideElement(o){return this._container.nativeElement.querySelector(`#slide-${o}`)}static{this.\u0275fac=function(c){return new(c||a)(i.rXU(rc),i.rXU(i.Agw),i.rXU(i.SKi),i.rXU(i.gRc),i.rXU(i.aKT))}}static{this.\u0275cmp=i.VBU({type:a,selectors:[["ngb-carousel"]],contentQueries:function(c,p,I){if(1&c&&i.wni(I,Ps,4),2&c){let B;i.mGM(B=i.lsd())&&(p.slides=B)}},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:3,hostBindings:function(c,p){1&c&&i.bIt("keydown.arrowLeft",function(){return p.keyboard&&p.arrowLeft()})("keydown.arrowRight",function(){return p.keyboard&&p.arrowRight()})("mouseenter",function(){return p.mouseHover=!0})("mouseleave",function(){return p.mouseHover=!1})("focusin",function(){return p.focused=!0})("focusout",function(){return p.focused=!1}),2&c&&(i.BMQ("aria-activedescendant","slide-"+p.activeId),i.xc7("display","block"))},inputs:{animation:"animation",activeId:"activeId",interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",pauseOnFocus:"pauseOnFocus",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators"},outputs:{slide:"slide",slid:"slid"},exportAs:["ngbCarousel"],standalone:!0,features:[i.aNF],decls:6,vars:6,consts:function(){let o,c,p;return o=$localize`:Currently selected slide number read by screen reader@@ngb.carousel.slide-number: Slide ${"\ufffd0\ufffd"}:INTERPOLATION: of ${"\ufffd1\ufffd"}:INTERPOLATION_1: `,c=$localize`:@@ngb.carousel.previous:Previous`,p=$localize`:@@ngb.carousel.next:Next`,[["role","tablist",1,"carousel-indicators"],["type","button","data-bs-target","","role","tab",3,"active","click",4,"ngFor","ngForOf"],[1,"carousel-inner"],["class","carousel-item","role","tabpanel",3,"id",4,"ngFor","ngForOf"],["class","carousel-control-prev","type","button",3,"click",4,"ngIf"],["class","carousel-control-next","type","button",3,"click",4,"ngIf"],["type","button","data-bs-target","","role","tab",3,"click"],["role","tabpanel",1,"carousel-item",3,"id"],[1,"visually-hidden"],o,[3,"ngTemplateOutlet"],["type","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],c,["type","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"],p]},template:function(c,p){1&c&&(i.j41(0,"div",0),i.DNE(1,zr,1,5,"button",1),i.k0s(),i.j41(2,"div",2),i.DNE(3,Ia,4,4,"div",3),i.k0s(),i.DNE(4,li,4,0,"button",4),i.DNE(5,Vo,4,0,"button",5)),2&c&&(i.AVh("visually-hidden",!p.showNavigationIndicators),i.R7$(1),i.Y8G("ngForOf",p.slides),i.R7$(2),i.Y8G("ngForOf",p.slides),i.R7$(1),i.Y8G("ngIf",p.showNavigationArrows),i.R7$(1),i.Y8G("ngIf",p.showNavigationArrows))},dependencies:[ne.pM,ne.T3,ne.bT],encapsulation:2,changeDetection:0})}}return a})();var Uo=function(a){return a.TIMER="timer",a.ARROW_LEFT="arrowLeft",a.ARROW_RIGHT="arrowRight",a.INDICATOR="indicator",a}(Uo||{});let Pt=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})(),$t=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})();var wi=function(a){return a[a.Tab=9]="Tab",a[a.Enter=13]="Enter",a[a.Escape=27]="Escape",a[a.Space
1=32]="Space",a[a.PageUp=33]="PageUp",a[a.PageDown=34]="PageDown",a[a.End=35]="End",a[a.Home=36]="Home",a[a.ArrowLeft=37]="ArrowLeft",a[a.ArrowUp=38]="ArrowUp",a[a.ArrowRight=39]="ArrowRight",a[a.ArrowDown=40]="ArrowDown",a}(wi||{});const El=(a,m)=>!!m&&m.some(o=>o.contains(a)),cc=(a,m)=>!m||null!=function xs(a,m){return!m||typeof a.closest>"u"?null:a.closest(m)}(a,m),$a=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function sd(a,m,o,c,p,I,B,ve){o&&a.runOutsideAngular((a=>$a?()=>setTimeout(()=>a(),100):a)(()=>{const Be=(0,ce.R)(m,"keydown").pipe((0,We.Q)(p),(0,et.p)(at=>at.which===wi.Escape),(0,ln.M)(at=>at.preventDefault())),Ve=(0,ce.R)(m,"mousedown").pipe((0,bt.T)(at=>{const mt=at.target;return 2!==at.button&&!El(mt,B)&&("inside"===o?El(mt,I)&&cc(mt,ve):"outside"===o?!El(mt,I):cc(mt,ve)||!El(mt,I))}),(0,We.Q)(p)),Dt=(0,ce.R)(m,"mouseup").pipe(jn(Ve),(0,et.p)(([at,mt])=>mt),function Ee(a,m=Ai.E){const o=(0,me.O)(a,m);return ge(()=>o)}(0),(0,We.Q)(p));J([Be.pipe((0,bt.T)(at=>0)),Dt.pipe((0,bt.T)(at=>1))]).subscribe(at=>a.run(()=>c(at)))}))}const Fh=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Lh(a){const m=Array.from(a.querySelectorAll(Fh)).filter(o=>-1!==o.tabIndex);return[m[0],m[m.length-1]]}let gg=(()=>{class a{constructor(o){this._element=o.documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static{this.\u0275fac=function(c){return new(c||a)(i.KVO(ne.qQ))}}static{this.\u0275prov=i.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();const mg=/\s+/,_g=/  +/gi,Ua={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},Vh=/^left/,wr=/^right/,$h=/^start/,Ml=/^end/;function Po({placement:a,baseClass:m},o){let c=Array.isArray(a)?a:a.split(mg),I=c.findIndex(Be=>"auto"===Be);I>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(Be){null==c.find(Ve=>-1!==Ve.search("^"+Be))&&c.splice(I++,1,Be)});const B=c.map(Be=>function jh(a,m){const[o,c]=Ua[a];return m&&c||o}(Be,o.isRTL()));return{placement:B.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!m,phase:"write",fn({state:Be}){const Ve=new RegExp(m+"(-[a-z]+)*","gi"),Dt=Be.elements.popper,at=Be.placement;let mt=Dt.className;mt=mt.replace(Ve,""),mt+=` ${function Uh(a,m){let[o,c]=m.split("-");const p=o.replace(Vh,"start").replace(wr,"end");let I=[p];if(c){let B=c;("left"===o||"right"===o)&&(B=B.replace($h,"top").replace(Ml,"bottom")),I.push(`${p}-${B}`)}return a&&(I=I.map(B=>`${a}-${B}`)),I.join(" ")}(m,at)}`,mt=mt.trim().replace(_g," "),Dt.className=mt}},Gn,Hr,sn,{enabled:!0,name:"flip",options:{fallbackPlacements:B}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function _a(a){return a}new Date(1882,10,12),new Date(2174,10,25);let xl=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})(),pc=(()=>{class a{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=o=>o}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275prov=i.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})(),uu=(()=>
1{class a{set disabled(o){this._disabled=""===o||!0===o,this._renderer.setProperty(this.elementRef.nativeElement,"disabled",this._disabled)}get disabled(){return this._disabled}constructor(o,c){this.elementRef=o,this._renderer=c,this._disabled=!1}static{this.\u0275fac=function(c){return new(c||a)(i.rXU(i.aKT),i.rXU(i.sFG))}}static{this.\u0275dir=i.FsC({type:a,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(c,p){2&c&&(i.Mr5("tabIndex",p.disabled?-1:0),i.AVh("disabled",p.disabled))},inputs:{disabled:"disabled"},standalone:!0})}}return a})(),du=(()=>{class a{constructor(o,c){this.dropdown=o,this.placement="bottom",this.isOpen=!1,this.nativeElement=c.nativeElement}static{this.\u0275fac=function(c){return new(c||a)(i.rXU((0,i.Rfq)(()=>Rl)),i.rXU(i.aKT))}}static{this.\u0275dir=i.FsC({type:a,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(c,p,I){if(1&c&&i.wni(I,uu,4),2&c){let B;i.mGM(B=i.lsd())&&(p.menuItems=B)}},hostVars:4,hostBindings:function(c,p){1&c&&i.bIt("keydown.ArrowUp",function(B){return p.dropdown.onKeyDown(B)})("keydown.ArrowDown",function(B){return p.dropdown.onKeyDown(B)})("keydown.Home",function(B){return p.dropdown.onKeyDown(B)})("keydown.End",function(B){return p.dropdown.onKeyDown(B)})("keydown.Enter",function(B){return p.dropdown.onKeyDown(B)})("keydown.Space",function(B){return p.dropdown.onKeyDown(B)})("keydown.Tab",function(B){return p.dropdown.onKeyDown(B)})("keydown.Shift.Tab",function(B){return p.dropdown.onKeyDown(B)}),2&c&&i.AVh("dropdown-menu",!0)("show",p.dropdown.isOpen())},standalone:!0})}}return a})(),Pl=(()=>{class a{constructor(o,c){this.dropdown=o,this.nativeElement=c.nativeElement}static{this.\u0275fac=function(c){return new(c||a)(i.rXU((0,i.Rfq)(()=>Rl)),i.rXU(i.aKT))}}static{this.\u0275dir=i.FsC({type:a,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(c,p){2&c&&i.BMQ("aria-expanded",p.dropdown.isOpen())},standalone:!0})}}return a})(),gc=(()=>{class a extends Pl{constructor(o,c){super(o,c)}static{this.\u0275fac=function(c){return new(c||a)(i.rXU((0,i.Rfq)(()=>Rl)),i.rXU(i.aKT))}}static{this.\u0275dir=i.FsC({type:a,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(c,p){1&c&&i.bIt("click",function(){return p.dropdown.toggle()})("keydown.ArrowUp",function(B){return p.dropdown.onKeyDown(B)})("keydown.ArrowDown",function(B){return p.dropdown.onKeyDown(B)})("keydown.Home",function(B){return p.dropdown.onKeyDown(B)})("keydown.End",function(B){return p.dropdown.onKeyDown(B)})("keydown.Tab",function(B){return p.dropdown.onKeyDown(B)})("keydown.Shift.Tab",function(B){return p.dropdown.onKeyDown(B)}),2&c&&i.BMQ("aria-expanded",p.dropdown.isOpen())},standalone:!0,features:[i.Jv_([{provide:Pl,useExisting:(0,i.Rfq)(()=>a)}]),i.Vt3]})}}return a})(),Rl=(()=>{class a{constructor(o,c,p,I,B,ve){this._changeDetector=o,this._document=p,this._ngZone=I,this._elementRef=B,this._renderer=ve,this._destroyCloseHandlers$=new te.B,this._bodyContainer=null,this._open=!1,this.openChange=new i.bkB,this.placement=c.placement,this.popperOptions=c.popperOptions,this.container=c.container,this.autoClose=c.autoClose,this._positioning=function tu(){const a=(0,i.WQX)(gg);let m=null;return{createPopper(o){if(!m){let p=(o.updatePopperOptions||_a)(Po(o,a));m=fn(o.hostElement,o.targetElement,p)}},update(){m&&m.update()},setOptions(o){if(m){let p=(o.updatePopperOptions||_a)(Po(o,a));m.setOptions(p)}},destroy(){m&&(m.destroy(),m=null)}}}()}ngOnInit(){this.display||(this.display=this._elementRef.nativeElement.closest(".
1navbar")?"static":"dynamic")}ngAfterContentInit(){this._ngZone.onStable.pipe((0,Xe.s)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(o){if(o.container&&this._open&&this._applyContainer(this.container),o.placement&&!o.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container}),this._applyPlacementClasses()),o.dropdownClass){const{currentValue:c,previousValue:p}=o.dropdownClass;this._applyCustomDropdownClass(c,p)}o.autoClose&&this._open&&(this.autoClose=o.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),"dynamic"===this.display&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:o=>this.popperOptions(function Ha(a){return m=>(m.modifiers.push(fs,{name:"offset",options:{offset:()=>a}}),m)}([0,2])(o))}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),sd(this._ngZone,this._document,this.autoClose,o=>{this.close(),0===o&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(o){const c=o.which,p=this._getMenuElements();let I=-1,B=null;const ve=this._isEventFromToggle(o);if(!ve&&p.length&&p.forEach((Se,Be)=>{Se.contains(o.target)&&(B=Se),Se===E(this._document)&&(I=Be)}),c!==wi.Space&&c!==wi.Enter){if(c!==wi.Tab){if(ve||B){if(this.open(),p.length){switch(c){case wi.ArrowDown:I=Math.min(I+1,p.length-1);break;case wi.ArrowUp:if(this._isDropup()&&-1===I){I=p.length-1;break}I=Math.max(I-1,0);break;case wi.Home:I=0;break;case wi.End:I=p.length-1}p[I].focus()}o.preventDefault()}}else if(o.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===o.target)return void("body"!==this.container||o.shiftKey?o.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){const Se=this._menu.nativeElement.querySelectorAll(Fh);o.shiftKey&&o.target===Se[0]?(this._anchor.nativeElement.focus(),o.preventDefault()):!o.shiftKey&&o.target===Se[Se.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else(0,ce.R)(o.target,"focusout").pipe((0,Xe.s)(1)).subscribe(({relatedTarget:Se})=>{this._elementRef.nativeElement.contains(Se)||this.close()})}}else B&&(!0===this.autoClose||"inside"===this.autoClose)&&(0,ce.R)(B,"click").pipe((0,Xe.s)(1)).subscribe(()=>this.close())}_isDropup(){return this._elementRef.nativeElement.classList.contains("dropup")}_isEventFromToggle(o){return this._anchor.nativeElement.contains(o.target)}_getMenuElements(){const o=this._menu;return null==o?[]:o.menuItems.filter(c=>!c.disabled).map(c=>c.elementRef.nativeElement)}_positionMenu(){const o=this._menu;this.isOpen()&&o&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(o){return Array.isArray(o)?o[0]:o.split(" ")[0]}_resetContainer(){const o=this._renderer;this._menu&&o.appendChild(this._elementRef.nativeElement,this._menu.nativeElement),this._bodyContainer&&(o.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}_applyContainer(o=null){if(this._resetContainer(),"body"===o){const c=this._renderer,p=this._menu.nativeElement,I=this._bodyContainer=this._bodyContainer||c.createElement("div");c.setStyle(I,"position","absolute"),c.setStyle(p,"position","static"),c.setStyle(I,"z-index","1055"),c.appendChild(I,p),c.appendChild(this._document.body,I)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(o,c){const p="body"===this.container?this._bodyContainer:this._elementRef.nativeElement;p&&(c&&this._renderer.removeClass(p,c),o&&this._renderer.addClass(p,o))}_applyPlacementClasses(o){const c=this._menu;if(c){o||(o=this._getFirstPlacement(this.placement));const p=this._renderer,I=this._elementRef.nativeElement;p.removeClass(I,"dropup"),p.removeClass(I,"dropdown");const{nativeElement:B}=c;"static"===this.display?(c.placement=null,p.setAttribute(B,"data-bs-popper","static")):(c.placement=o,p.removeAttribute(B,"data-bs-popper"));const ve=-1!==o.search("^top")?"dropup":"dropdown";p.addClass(I,ve);const Se=this._bodyContainer;Se&&(p.removeClass(Se,"dropup"),p.removeClass(Se,"dropdown"),p.addClass(Se,ve))}}static{this.\u0275fac=function(c){return new(c||a)(i.rXU(i.gRc),i.rXU(pc),i.rXU(ne.qQ),i.rXU(i.SKi),i.rXU(i.aKT),i.rXU(i.sFG))}}static{this.\u0275dir=i.FsC({type:a,selectors:[["","ngbDropdown",""]],contentQueries:function(c,p,I){if(1&c&&(i.wni(I,du,5),i.wni(I,Pl,5)),2&c){let B;i.mGM(B=i.lsd())&&(p._menu=B.first),i.mGM(B=i.lsd())&&(p._anchor=B.first)}},hostVars:2,hostBindings:function(c,p){2&c&&i.AVh("show",p.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:["open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",dis
1play:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],standalone:!0,features:[i.OA$]})}}return a})(),hu=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})();class Js{constructor(m,o,c){this.nodes=m,this.viewRef=o,this.componentRef=c}}let rf=(()=>{class a{constructor(o,c){this._el=o,this._zone=c}ngOnInit(){this._zone.onStable.asObservable().pipe((0,Xe.s)(1)).subscribe(()=>{gt(this._zone,this._el.nativeElement,(o,c)=>{c&&y(o),o.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return gt(this._zone,this._el.nativeElement,({classList:o})=>o.remove("show"),{animation:this.animation,runningTransition:"stop"})}static{this.\u0275fac=function(c){return new(c||a)(i.rXU(i.aKT),i.rXU(i.SKi))}}static{this.\u0275cmp=i.VBU({type:a,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(c,p){2&c&&(i.HbH("modal-backdrop"+(p.backdropClass?" "+p.backdropClass:"")),i.AVh("show",!p.animation)("fade",p.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[i.aNF],decls:0,vars:0,template:function(c,p){},encapsulation:2})}}return a})();class co{update(m){}close(m){}dismiss(m){}}const fu=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],md=["animation","backdropClass"];class pu{_applyWindowOptions(m,o){fu.forEach(c=>{es(o[c])&&(m[c]=o[c])})}_applyBackdropOptions(m,o){md.forEach(c=>{es(o[c])&&(m[c]=o[c])})}update(m){this._applyWindowOptions(this._windowCmptRef.instance,m),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,m)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,We.Q)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,We.Q)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(m,o,c,p){this._windowCmptRef=m,this._contentRef=o,this._backdropCmptRef=c,this._beforeDismiss=p,this._closed=new te.B,this._dismissed=new te.B,this._hidden=new te.B,m.instance.dismissEvent.subscribe(I=>{this.dismiss(I)}),this.result=new Promise((I,B)=>{this._resolve=I,this._reject=B}),this.result.then(null,()=>{})}close(m){this._windowCmptRef&&(this._closed.next(m),this._resolve(m),this._removeModalElements())}_dismiss(m){this._dismissed.next(m),this._reject(m),this._removeModalElements()}dismiss(m){if(this._windowCmptRef)if(this._beforeDismiss){const o=this._beforeDismiss();!function br(a){return a&&a.then}(o)?!1!==o&&this._dismiss(m):o.then(c=>{!1!==c&&this._dismiss(m)},()=>{})}else this._dismiss(m)}_removeModalElements(){const m=this._windowCmptRef.instance.hide(),o=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,W.of)(void 0);m.subscribe(()=>{const{nativeElement:c}=this._windowCmptRef.location;c.parentNode.removeChild(c),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),o.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:c}=this._backdropCmptRef.location;c.parentNode.removeChild(c),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),rt(m,o).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Ar=function(a){return a[a.BACKDROP_CLICK=0]="BACKDROP_CLICK",a[a.ESC=1]="ESC",a}(Ar||{});let kl=(()=>{class a{constructor(o,c,p){this._document=o,this._elRef=c,this._zone=p,this._closed$=new te.B,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new i.bkB,this.shown=new te.B,this.hidden=new te.B}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":yo(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(o){this.dismissEvent.emit(o)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,Xe.s)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:o}=this._elRef,c={animation:this.animation,runningTransition:"stop"},B=rt(gt(this._zone,o,()=>o.classList.remove("show"),c),gt(this._zone,this._dialogEl.nativeElement,()=>{},c));return B.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),B}_show(){const o={animation:this.animation,runningTransition:"continue"};rt(gt(this._zone,this._elRef.nativeElement,(I,B)=>{B&&y(I),I.classList.add("show")},o),gt(this._zone,this._dialogEl.nativeElement,()=>{},o)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:o}=this._elRef;this._zone.runOutsideAngular(()=>{(0,ce.R)(o,"keydown").pipe((0,We.Q)(this._closed$),(0,et.p)(p=>p.which===wi.Escape)).subscribe(p=>{this.keyboard?requestAnimationFrame(()=>{p.defaultPrevented||this._zone.run(()=>this.dismiss(Ar.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let c=!1;(0,ce.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,We.Q)(this._closed$),(0,ln.M)(()=>c=!1),(0,an.n)(()=>(0,ce.R)(o,"mouseup").pipe((0,We.Q)(this._closed$),(0,Xe.s)(1))),(0,et.p)(({target:p})=>o===p)).subscribe(()=>{c=!0}),(0,ce.R)(o,"click").pipe((0,We.Q)(this._closed$)).subscribe(({target:p})=>{o===p&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!c&&this._zone.run(()=>this.dismiss(Ar.BACKDROP_CLICK))),c=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:o}=this._elRef;if(!o.contains(document.activeElement)){const c=o.querySelector("[ngbAutofocus]"),p=Lh(o)[0];(c||p||o).focus()}}_restoreFocus(){const o=this._document.body,c=this._elWithFocus;let p;p=c&&c.focus&&o.contains(c)?c:o,this._zone.runOutsideAngular(()=>{setTimeout(()=>p.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&gt(this._zone,this._elRef.nativeElement,({classList:o})=>(o.add("modal-static"),()=>o.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static{this.\u0275fac=function(c){return new(c||a)(i.rXU(ne.qQ),i.rXU(i.aKT),i.rXU(i.SKi))}}static{this.\u0275cmp=i.VBU({type:a,selectors:[["ngb-modal-window"]],viewQuery:function(c,p){if(1&c&&i.GBs(b,7),2&c){let I;i.mGM(I=i.lsd())&&(p._dialogEl=I.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(c,p){2&c&&(i.BMQ("aria-modal",!0)("aria-labelledby",p.ariaLabelledBy)("aria-describedby",p.ariaDescribedBy),i.HbH("modal d-block"+(p.windowClass?" "+p.windowClass:"")),i.AVh("fade",p.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[i.aNF],ngContentSelectors:vo,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(c,p){1&c&&(i.NAR(),i.j41(0,"div",0,1)(2,"div",2),i.SdG(3),i.k0s()()),2&c&&i.HbH("modal-dialog"+(p.size?" modal-"+p.size:"")+(p.centered?" modal-dialog-centered":"")+p.fullscreenClass+(p.scrollable?" modal-dialog-scrollable":"")+(p.modalDialogClass?" "+p.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2})}}return a})(),_d=(()=>{class a{constructor(o){this._document=o}hide(){const o=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),c=this._document.body,p=c.style,{overflow:I,paddingRight:B}=p;if(o>0){const ve=parseFloat(window.getComputedStyle(c).paddingRight);p.paddingRight=`${ve+o}px`}return p.overflow="hidden",()=>{o>0&&(p.paddingRight=B),p.overflow=I}}static{this.\u0275fac=function(c){return new(c||a)(i.KVO(ne.qQ))}}static{this.\u0275prov=i.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})(),vd=(()=>{class a{constructor(o,c,p,I,B,ve,Se){this._applicationRef=o,this._injector=c,this._environmentInjector=p,this._document=I,this._scrollBar=B,this._rendererFactory=ve,this._ngZone=Se,this._activeWindowCmptHasChanged=new te.B,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRef
1s=[],this._windowCmpts=[],this._activeInstances=new i.bkB,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const Be=this._windowCmpts[this._windowCmpts.length-1];((a,m,o,c=!1)=>{a.runOutsideAngular(()=>{const p=(0,ce.R)(m,"focusin").pipe((0,We.Q)(o),(0,bt.T)(I=>I.target));(0,ce.R)(m,"keydown").pipe((0,We.Q)(o),(0,et.p)(I=>I.which===wi.Tab),jn(p)).subscribe(([I,B])=>{const[ve,Se]=Lh(m);(B===ve||B===m)&&I.shiftKey&&(Se.focus(),I.preventDefault()),B===Se&&!I.shiftKey&&(ve.focus(),I.preventDefault())}),c&&(0,ce.R)(m,"click").pipe((0,We.Q)(o),jn(p),(0,bt.T)(I=>I[1])).subscribe(I=>I.focus())})})(this._ngZone,Be.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(Be.location.nativeElement)}})}_restoreScrollBar(){const o=this._scrollBarRestoreFn;o&&(this._scrollBarRestoreFn=null,o())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(o,c,p){const I=p.container instanceof HTMLElement?p.container:es(p.container)?this._document.querySelector(p.container):this._document.body,B=this._rendererFactory.createRenderer(null,null);if(!I)throw new Error(`The specified modal container "${p.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const ve=new co,Se=(o=p.injector||o).get(i.uvJ,null)||this._environmentInjector,Be=this._getContentRef(o,Se,c,ve,p);let Ve=!1!==p.backdrop?this._attachBackdrop(I):void 0,Dt=this._attachWindowComponent(I,Be.nodes),at=new pu(Dt,Be,Ve,p.beforeDismiss);return this._registerModalRef(at),this._registerWindowCmpt(Dt),at.hidden.pipe((0,Xe.s)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(B.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),ve.close=mt=>{at.close(mt)},ve.dismiss=mt=>{at.dismiss(mt)},ve.update=mt=>{at.update(mt)},at.update(p),1===this._modalRefs.length&&B.addClass(this._document.body,"modal-open"),Ve&&Ve.instance&&Ve.changeDetectorRef.detectChanges(),Dt.changeDetectorRef.detectChanges(),at}get activeInstances(){return this._activeInstances}dismissAll(o){this._modalRefs.forEach(c=>c.dismiss(o))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(o){let c=(0,i.a0P)(rf,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(c.hostView),o.appendChild(c.location.nativeElement),c}_attachWindowComponent(o,c){let p=(0,i.a0P)(kl,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:c});return this._applicationRef.attachView(p.hostView),o.appendChild(p.location.nativeElement),p}_getContentRef(o,c,p,I,B){return p?p instanceof i.C4Q?this._createFromTemplateRef(p,I):yo(p)?this._createFromString(p):this._createFromComponent(o,c,p,I,B):new Js([])}_createFromTemplateRef(o,c){const I=o.createEmbeddedView({$implicit:c,close(B){c.close(B)},dismiss(B){c.dismiss(B)}});return this._applicationRef.attachView(I),new Js([I.rootNodes],I)}_createFromString(o){const c=this._document.createTextNode(`${o}`);return new Js([[c]])}_createFromComponent(o,c,p,I,B){const ve=i.zZn.create({providers:[{provide:co,useValue:I}],parent:o}),Se=(0,i.a0P)(p,{environmentInjector:c,elementInjector:ve}),Be=Se.location.nativeElement;return B.scrollable&&Be.classList.add("component-host-scrollable"),this._applicationRef.attachView(Se.hostView),new Js([[Be]],Se.hostView,Se)}_setAriaHidden(o){const c=o.parentElement;c&&o!==this._document.body&&(Array.from(c.children).forEach(p=>{p!==o&&"SCRIPT"!==p.nodeName&&(this._ariaHiddenValues.set(p,p.getAttribute("aria-hidden")),p.setAttribute("aria-hidden","true"))}),this._setAriaHidden(c))}_revertAriaHidden(){this._ariaHiddenValues.forEach((o,c)=>{o?c.setAttribute("aria-hidden",o):c.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(o){const c=()=>{const p=this._modalRefs.indexOf(o);p>-1&&(this._modalRefs.splice(p,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(o),this._activeInstances.emit(this._modalRefs),o.result.then(c,c)}_registerWindowCmpt(o){this._windowCmpts.push(o),this._activeWindowCmptHasChanged.next(),o.onDestroy(()=>{const c=this._windowCmpts.indexOf(o);c>-1&&(this._windowCmpts.splice(c,1),this._activeWindowCmptHasChanged.next())})}static{this.\u0275fac=function(c){return new(c||a)(i.KVO(i.o8S),i.KVO(i.zZn),i.KVO(i.uvJ),i.KVO(ne.qQ),i.KVO(_d),i.KVO(i._9s),i.KVO(i.SKi))}}static{this.\u0275prov=i.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})(),sf=(()=>{class a{constructor(o){this._ngbConfig=o,this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(o){this._animation=o}static{this.\u0275fac=function(c){return new(c||a)(i.KVO(Dr))}}static{this.\u0275prov=i.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})(),gu=(()=>{class a{constructor(o,c,p){this._injector=o,this._modalStack=c,this._config=p}open(o,c={}){const p={...this._config,animation:this._config.animation,...c};return this._modalStack.open(this._injector,o,p)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(o){this._modalStack.dismissAll(o)}hasOpenModals(){return this._modalStack.hasOpenModals()}static{this.\u0275fac=function(c){return new(c||a)(i.KVO(i.zZn),i.KVO(vd),i.KVO(sf))}}static{this.\u0275prov=i.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})(),yd=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({providers:[gu]})}}return a})(),bd=(()=>{class a{constructor(o){this._ngbConfig=o,this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(o){this._animation=o}static{this.\u0275fac=function(c){return new(c||a)(i.KVO(Dr))}}static{this.\u0275prov=i.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();const Dd=a=>es(a)&&""!==a;let wd=0,mu=(()=>{class a{constructor(o){this.templateRef=o}static{this.\u0275fac=function(c){return new(c||a)(i.rXU(i.C4Q))}}static{this.\u0275dir=i.FsC({type:a,selectors:[["ng-template","ngbNavContent",""]],standalone:!0})}}return a})(),Cd=(()=>{class a{constructor(o,c){this.role=o,this.nav=c}static{this.\u0275fac=function(c){return new(c||a)(i.kS0("role"),i.rXU((0,i.Rfq)(()=>Rs)))}}static{this.\u0275dir=i.FsC({type:a,selectors:[["","ngbNavItem","",5,"ng-container"]],hostVars:1,hostBindings:function(c,p){2&c&&i.BMQ("role",p.role?p.role:p.nav.roles?"presentation":void 0)},standalone:!0})}}return a})(),Zs=(()=>{class a{constructor(o,c){this._nav=o,this.elementRef=c,this.disabled=!1,this.shown=new i.bkB,this.hidden=new i.bkB}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){es(this.domId)||(this.domId="ngb-nav-"+wd++)}get active(){return this._nav.activeId===this.id}get id(){return Dd(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(es(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}static{this.\u0275fac=function(c){return new(c||a)(i.rXU((0,i.Rfq)(()=>Rs)),i.rXU(i.aKT))}}static{this.\u0275dir=i.FsC({type:a,selectors:[["","ngbNavItem",""]],contentQueries:function(c,p,I){if(1&c&&i.wni(I,mu,4),2&c){let B;i.mGM(B=i.lsd())&&(p.contentTpls=B)}},hostVars:2,hostBindings:function(c,p){2&c&&i.AVh("nav-item",!0)},inputs:{destroyOnHide:"destroyOnHide",disabled:"disabled",domId:"domId",_id:["ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"],standalone:!0})}}return a})(),Rs=(()=>{class a{constructor(o,c,p,I){this.role=o,this._cd=p,this._document=I,this.activeIdChange=new i.bkB,this.shown=new i.bkB,this.hidden=new i.bkB,this.destroy$=new te.B,this.navItemChange$=new te.B,this.navChange=new i.bkB,this.animation=c.animation,this.destroyOnHide=c.destroyOnHide,this.orientation=c.orientation,this.roles=c.roles,this.keyboard=c.keyboard}click(o){o.disabled||this._updateActiveId(o.id)}onKeyDown(o){if("tablist"!==this.roles||!this.keyboard)return;const c=o.which,p=this.links.filter(ve=>
1!ve.navItem.disabled),{length:I}=p;let B=-1;if(p.forEach((ve,Se)=>{ve.elRef.nativeElement===this._document.activeElement&&(B=Se)}),I){switch(c){case wi.ArrowLeft:if("vertical"===this.orientation)return;B=(B-1+I)%I;break;case wi.ArrowRight:if("vertical"===this.orientation)return;B=(B+1)%I;break;case wi.ArrowDown:if("horizontal"===this.orientation)return;B=(B+1)%I;break;case wi.ArrowUp:if("horizontal"===this.orientation)return;B=(B-1+I)%I;break;case wi.Home:B=0;break;case wi.End:B=I-1}"changeWithArrows"===this.keyboard&&this.select(p[B].navItem.id),p[B].elRef.nativeElement.focus(),o.preventDefault()}}select(o){this._updateActiveId(o,!1)}ngAfterContentInit(){if(!es(this.activeId)){const o=this.items.first?this.items.first.id:null;Dd(o)&&(this._updateActiveId(o,!1),this._cd.detectChanges())}this.items.changes.pipe((0,We.Q)(this.destroy$)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:o}){o&&!o.firstChange&&this._notifyItemChanged(o.currentValue)}ngOnDestroy(){this.destroy$.next()}_updateActiveId(o,c=!0){if(this.activeId!==o){let p=!1;c&&this.navChange.emit({activeId:this.activeId,nextId:o,preventDefault:()=>{p=!0}}),p||(this.activeId=o,this.activeIdChange.emit(o),this._notifyItemChanged(o))}}_notifyItemChanged(o){this.navItemChange$.next(this._getItemById(o))}_getItemById(o){return this.items&&this.items.find(c=>c.id===o)||null}static{this.\u0275fac=function(c){return new(c||a)(i.kS0("role"),i.rXU(bd),i.rXU(i.gRc),i.rXU(ne.qQ))}}static{this.\u0275dir=i.FsC({type:a,selectors:[["","ngbNav",""]],contentQueries:function(c,p,I){if(1&c&&(i.wni(I,Zs,4),i.wni(I,Fl,5)),2&c){let B;i.mGM(B=i.lsd())&&(p.items=B),i.mGM(B=i.lsd())&&(p.links=B)}},hostVars:6,hostBindings:function(c,p){1&c&&i.bIt("keydown.arrowLeft",function(B){return p.onKeyDown(B)})("keydown.arrowRight",function(B){return p.onKeyDown(B)})("keydown.arrowDown",function(B){return p.onKeyDown(B)})("keydown.arrowUp",function(B){return p.onKeyDown(B)})("keydown.Home",function(B){return p.onKeyDown(B)})("keydown.End",function(B){return p.onKeyDown(B)}),2&c&&(i.BMQ("aria-orientation","vertical"===p.orientation&&"tablist"===p.roles?"vertical":void 0)("role",p.role?p.role:p.roles?"tablist":void 0),i.AVh("nav",!0)("flex-column","vertical"===p.orientation))},inputs:{activeId:"activeId",animation:"animation",destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard"},outputs:{activeIdChange:"activeIdChange",shown:"shown",hidden:"hidden",navChange:"navChange"},exportAs:["ngbNav"],standalone:!0,features:[i.OA$]})}}return a})(),Fl=(()=>{class a{constructor(o,c,p,I){this.role=o,this.navItem=c,this.nav=p,this.elRef=I}hasNavItemClass(){return this.navItem.elementRef.nativeElement.nodeType===Node.COMMENT_NODE}static{this.\u0275fac=function(c){return new(c||a)(i.kS0("role"),i.rXU(Zs),i.rXU(Rs),i.rXU(i.aKT))}}static{this.\u0275dir=i.FsC({type:a,selectors:[["","ngbNavLink",""]],hostVars:14,hostBindings:function(c,p){2&c&&(i.Mr5("id",p.navItem.domId),i.BMQ("role",p.role?p.role:p.nav.roles?"tab":void 0)("tabindex",p.navItem.disabled?-1:void 0)("aria-controls",p.navItem.isPanelInDom()?p.navItem.panelDomId:null)("aria-selected",p.navItem.active)("aria-disabled",p.navItem.disabled),i.AVh("nav-link",!0)("nav-item",p.hasNavItemClass())("active",p.navItem.active)("disabled",p.navItem.disabled))},standalone:!0})}}return a})(),Ka=(()=>{class a{constructor(o,c){this.navItem=o,this.nav=c}static{this.\u0275fac=function(c){return new(c||a)(i.rXU(Zs),i.rXU(Rs))}}static{this.\u0275dir=i.FsC({type:a,selectors:[["button","ngbNavLink",""]],hostAttrs:["type","button"],hostVars:1,hostBindings:function(c,p){1&c&&i.bIt("click",function(){return p.nav.click(p.navItem)}),2&c&&i.Mr5("disabled",p.navItem.disabled)},standalone:!0,features:[i.nM4([Fl])]})}}return a})();const lf=({classList:a})=>(a.remove("show"),()=>a.remove("active")),Ed=(a,m)=>{m&&y(a),a.classList.add("show")};let mc=(()=>{class a{constructor(o){this.elRef=o}static{this.\u0275fac=function(c){return new(c||a)(i.rXU(i.aKT))}}static{this.\u0275dir=i.FsC({type:a,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(c,p){2&c&&(i.Mr5("id",p.item.panelDomId),i.BMQ("role",p.role?p.role:p.nav.roles?"tabpanel":void 0)("aria-labelledby",p.item.domId),i.AVh("fade",p.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"},standalone:!0})}}return a})(),_u=(()=>{class a{constructor(o,c){this._cd=o,this._ngZone=c,this._activePane=null}isPanelTransitioning(o){return this._activePane?.item===o}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe((0,We.Q)(this.nav.destroy$),(0,Mt.Z)(this._activePane?.item||null),(0,Qt.F)(),(0,q.i)(1)).subscribe(o=>{const c={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?gt(this._ngZone,this._activePane.elRef.nativeElement,lf,c).subscribe(()=>{const p=this._activePane?.item;this._activePane=this._getPaneForItem(o),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),gt(this._ngZone,this._activePane.elRef.nativeElement,Ed,c).subscribe(()=>{o&&(o.shown.emit(),this.nav.shown.emit(o.id))})),p&&(p.hidden.emit(),this.nav.hidden.emit(p.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.elRef.nativeElement.classList.add("show"),this._activePane?.elRef.nativeElement.classList.add("active")}_getPaneForItem(o){return this._panes&&this._panes.find(c=>c.item===o)||null}_getActivePane(){return this._panes&&this._panes.find(o=>o.item.active)||null}static{this.\u0275fac=function(c){return new(c||a)(i.rXU(i.gRc),i.rXU(i.SKi))}}static{this.\u0275cmp=i.VBU({type:a,selectors:[["","ngbNavOutlet",""]],viewQuery:function(c,p){if(1&c&&i.GBs(mc,5),2&c){let I;i.mGM(I=i.lsd())&&(p._panes=I)}},hostVars:2,hostBindings:function(c,p){2&c&&i.AVh("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},standalone:!0,features:[i.aNF],attrs:j,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(c,p){1&c&&i.DNE(0,se,1,1,"ng-template",0),2&c&&i.Y8G("ngForOf",p.nav.items)},dependencies:[mc,ne.pM,ne.bT,ne.T3],encapsulation:2,changeDetection:0})}}return a})(),Xa=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})(),Ya=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})(),bu=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})(),hf=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})(),wu=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})(),yc=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})(),va=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})(),jd=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})(),Ou=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})();new i.nKC("live announcer delay",{providedIn:"root",factory:function Df(){return 100}});let $d=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})(),Ud=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({})}}return a})();const Ef=[mn,Oi,Pt,$t,xl,hu,yd,Xa,Ud,Ya,bu,hf,wu,yc,va,jd,Ou,$d];let Dc=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=i.$C({type:a})}static{this.\u0275inj=i.G2t({imports:[Ef,mn,Oi,Pt,$t,xl,hu,yd,Xa,Ud,Ya,bu,hf,wu,yc,va,jd,Ou,$d]})}}return a})()},5794:(st,Oe,T)=>{T.d(Oe,{_B:()=>jn,tw:()=>an});var i=T(7705),Y=T(9969),l=T(177),W=T(1413),te=T(345);const ce=["toast-component",""];function me(ge,Ee){if(1&ge){const q=i.RV6();i.j41(0,"button",5),i.bIt("click",function(){i.eBV(q);const ue=i.XpG();return i.Njj(ue.remove())}),i.j41(1,"span",6),i.EFF(2,"\xd7"),i.k0s()()}}function he(ge,Ee){if(1&ge&&(i.qex(0),i.EFF(1),i.bVm()),2&ge){const q=i.XpG(2);
1i.R7$(1),i.SpI("[",q.duplicatesCount+1,"]")}}function ae(ge,Ee){if(1&ge&&(i.j41(0,"div"),i.EFF(1),i.DNE(2,he,2,1,"ng-container",4),i.k0s()),2&ge){const q=i.XpG();i.HbH(q.options.titleClass),i.BMQ("aria-label",q.title),i.R7$(1),i.SpI(" ",q.title," "),i.R7$(1),i.Y8G("ngIf",q.duplicatesCount)}}function ie(ge,Ee){if(1&ge&&i.nrm(0,"div",7),2&ge){const q=i.XpG();i.HbH(q.options.messageClass),i.Y8G("innerHTML",q.message,i.npT)}}function z(ge,Ee){if(1&ge&&(i.j41(0,"div",8),i.EFF(1),i.k0s()),2&ge){const q=i.XpG();i.HbH(q.options.messageClass),i.BMQ("aria-label",q.message),i.R7$(1),i.SpI(" ",q.message," ")}}function J(ge,Ee){if(1&ge&&(i.j41(0,"div"),i.nrm(1,"div",9),i.k0s()),2&ge){const q=i.XpG();i.R7$(1),i.xc7("width",q.width+"%")}}class rt{_attachedHost;component;viewContainerRef;injector;constructor(Ee,q){this.component=Ee,this.injector=q}attach(Ee,q){return this._attachedHost=Ee,Ee.attach(this,q)}detach(){const Ee=this._attachedHost;if(Ee)return this._attachedHost=void 0,Ee.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ee){this._attachedHost=Ee}}class oe{_attachedPortal;_disposeFn;attach(Ee,q){return this._attachedPortal=Ee,this.attachComponentPortal(Ee,q)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Ee){this._disposeFn=Ee}}class Ce{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new W.B;_activate=new W.B;_manualClose=new W.B;_resetTimeout=new W.B;_countDuplicate=new W.B;constructor(Ee){this._overlayRef=Ee}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(Ee,q){Ee&&this._resetTimeout.next(),q&&this._countDuplicate.next(++this.duplicatesCount)}}class Pe{toastId;config;message;title;toastType;toastRef;_onTap=new W.B;_onAction=new W.B;constructor(Ee,q,ne,ue,Ue,Ut){this.toastId=Ee,this.config=q,this.message=ne,this.title=ue,this.toastType=Ue,this.toastRef=Ut,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(Ee){this._onAction.next(Ee)}onAction(){return this._onAction.asObservable()}}const et=new i.nKC("ToastConfig");class Xe extends oe{_hostDomElement;_componentFactoryResolver;_appRef;constructor(Ee,q,ne){super(),this._hostDomElement=Ee,this._componentFactoryResolver=q,this._appRef=ne}attachComponentPortal(Ee,q){const ne=this._componentFactoryResolver.resolveComponentFactory(Ee.component);let ue;return ue=ne.create(Ee.injector),this._appRef.attachView(ue.hostView),this.setDisposeFn(()=>{this._appRef.detachView(ue.hostView),ue.destroy()}),q?this._hostDomElement.insertBefore(this._getComponentRootNode(ue),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(ue)),ue}_getComponentRootNode(Ee){return Ee.hostView.rootNodes[0]}}let bt=(()=>{class ge{_document=(0,i.WQX)(l.qQ);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const q=this._document.createElement("div");q.classList.add("overlay-container"),q.setAttribute("aria-live","polite"),this._document.body.appendChild(q),this._containerElement=q}static \u0275fac=function(ne){return new(ne||ge)};static \u0275prov=i.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}return ge})();class Mt{_portalHost;constructor(Ee){this._portalHost=Ee}attach(Ee,q=!0){return this._portalHost.attach(Ee,q)}detach(){return this._portalHost.detach()}}let Qt=(()=>{class ge{_overlayContainer=(0,i.WQX)(bt);_componentFactoryResolver=(0,i.WQX)(i.OM3);_appRef=(0,i.WQX)(i.o8S);_document=(0,i.WQX)(l.qQ);_paneElements=new Map;create(q,ne){return this._createOverlayRef(this.getPaneElement(q,ne))}
1getPaneElement(q="",ne){return this._paneElements.get(ne)||this._paneElements.set(ne,{}),this._paneElements.get(ne)[q]||(this._paneElements.get(ne)[q]=this._createPaneElement(q,ne)),this._paneElements.get(ne)[q]}_createPaneElement(q,ne){const ue=this._document.createElement("div");return ue.id="toast-container",ue.classList.add(q),ue.classList.add("toast-container"),ne?ne.getContainerElement().appendChild(ue):this._overlayContainer.getContainerElement().appendChild(ue),ue}_createPortalHost(q){return new Xe(q,this._componentFactoryResolver,this._appRef)}_createOverlayRef(q){return new Mt(this._createPortalHost(q))}static \u0275fac=function(ne){return new(ne||ge)};static \u0275prov=i.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}return ge})(),an=(()=>{class ge{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(q,ne,ue,Ue,Ut){this.overlay=ne,this._injector=ue,this.sanitizer=Ue,this.ngZone=Ut,this.toastrConfig={...q.default,...q.config},q.config.iconClasses&&(this.toastrConfig.iconClasses={...q.default.iconClasses,...q.config.iconClasses})}show(q,ne,ue={},Ue=""){return this._preBuildNotification(Ue,q,ne,this.applyConfig(ue))}success(q,ne,ue={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",q,ne,this.applyConfig(ue))}error(q,ne,ue={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",q,ne,this.applyConfig(ue))}info(q,ne,ue={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",q,ne,this.applyConfig(ue))}warning(q,ne,ue={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",q,ne,this.applyConfig(ue))}clear(q){for(const ne of this.toasts)if(void 0!==q){if(ne.toastId===q)return void ne.toastRef.manualClose()}else ne.toastRef.manualClose()}remove(q){const ne=this._findToast(q);if(!ne||(ne.activeToast.toastRef.close(),this.toasts.splice(ne.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const ue=this.toasts[this.currentlyActive].toastRef;ue.isInactive()||(this.currentlyActive=this.currentlyActive+1,ue.activate())}return!0}findDuplicate(q="",ne="",ue,Ue){const{includeTitleDuplicates:Ut}=this.toastrConfig;for(const vn of this.toasts)if((!Ut||Ut&&vn.title===q)&&vn.message===ne)return vn.toastRef.onDuplicate(ue,Ue),vn;return null}applyConfig(q={}){return{...this.toastrConfig,...q}}_findToast(q){for(let ne=0;ne<this.toasts.length;ne++)if(this.toasts[ne].toastId===q)return{index:ne,activeToast:this.toasts[ne]};return null}_preBuildNotification(q,ne,ue,Ue){return Ue.onActivateTick?this.ngZone.run(()=>this._buildNotification(q,ne,ue,Ue)):this._buildNotification(q,ne,ue,Ue)}_buildNotification(q,ne,ue,Ue){if(!Ue.toastComponent)throw new Error("toastComponent required");const Ut=this.findDuplicate(ue,ne,this.toastrConfig.resetTimeoutOnDuplicate&&Ue.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&ue||ne)&&this.toastrConfig.preventDuplicates&&null!==Ut)return Ut;this.previousToastMessage=ne;let vn=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(vn=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const ht=this.overlay.create(Ue.positionClass,this.overlayContainer);this.index=this.index+1;let Ot=ne;ne&&Ue.enableHtml&&(Ot=this.sanitizer.sanitize(i.WPN.HTML,ne));const jt=new Ce(ht),wn=new Pe(this.index,Ue,Ot,ue,q,jt),Me=i.zZn.create({providers:[{provide:Pe,useValue:wn}],parent:this._injector}),xe=new rt(Ue.toastComponent,Me),Ke=ht.attach(xe,Ue.newestOnTop);jt.componentInstance=Ke.instance;const qe={toastId:this.index,title:ue||"",message:ne||"",toastRef:jt,onShown:jt.afterActivate(),onHidden:jt.afterClosed(),onTap:wn.onTap(),onAction:wn.onAction(),portal:Ke};return vn||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{qe.toastRef.activate()})),this.toasts.push(qe),qe}static \u0275fac=function(ne){return new(ne||ge)(i.KVO(et),i.KVO(Qt),i.KVO(i.zZn),i.KVO(te.up),i.KVO(i.SKi))};static \u0275prov=i.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}return ge})();const gi={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class ge{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if("inactive"===this.state.value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;
1constructor(q,ne,ue){this.toastrService=q,this.toastPackage=ne,this.ngZone=ue,this.message=ne.message,this.title=ne.title,this.options=ne.config,this.originalTimeout=ne.config.timeOut,this.toastClasses=`${ne.toastType} ${ne.config.toastClass}`,this.sub=ne.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=ne.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=ne.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=ne.toastRef.countDuplicate().subscribe(Ue=>{this.duplicatesCount=Ue}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const q=(new Date).getTime();this.width=(this.hideTime-q)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(q,ne){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(q),ne)):this.timeout=setTimeout(()=>q(),ne)}outsideInterval(q,ne){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(q),ne)):this.intervalId=setInterval(()=>q(),ne)}runInsideAngular(q){this.ngZone?this.ngZone.run(()=>q()):q()}static \u0275fac=function(ne){return new(ne||ge)(i.rXU(an),i.rXU(Pe),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:ge,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(ne,ue){1&ne&&i.bIt("click",function(){return ue.tapToast()})("mouseenter",function(){return ue.stickAround()})("mouseleave",function(){return ue.delayedHideToast()}),2&ne&&(i.zvX("@flyInOut",ue.state),i.HbH(ue.toastClasses),i.xc7("display",ue.displayStyle))},standalone:!0,features:[i.aNF],attrs:ce,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(ne,ue){1&ne&&(i.DNE(0,me,3,0,"button",0),i.DNE(1,ae,3,5,"div",1),i.DNE(2,ie,1,3,"div",2),i.DNE(3,z,2,4,"div",3),i.DNE(4,J,2,2,"div",4)),2&ne&&(i.Y8G("ngIf",ue.options.closeButton),i.R7$(1),i.Y8G("ngIf",ue.title),i.R7$(1),i.Y8G("ngIf",ue.message&&ue.options.enableHtml),i.R7$(1),i.Y8G("ngIf",ue.message&&!ue.options.enableHtml),i.R7$(1),i.Y8G("ngIf",ue.options.progressBar))},dependencies:[l.bT],encapsulation:2,data:{animation:[(0,Y.hZ)("flyInOut",[(0,Y.wk)("inactive",(0,Y.iF)({opacity:0}
1)),(0,Y.wk)("active",(0,Y.iF)({opacity:1})),(0,Y.wk)("removed",(0,Y.iF)({opacity:0})),(0,Y.kY)("inactive => active",(0,Y.i0)("{{ easeTime }}ms {{ easing }}")),(0,Y.kY)("active => removed",(0,Y.i0)("{{ easeTime }}ms {{ easing }}"))])]}})}return ge})()},Pn=(ge={})=>(0,i.EmA)([{provide:et,useValue:{default:gi,config:ge}}]);let jn=(()=>{class ge{static forRoot(q={}){return{ngModule:ge,providers:[Pn(q)]}}static \u0275fac=function(ne){return new(ne||ge)};static \u0275mod=i.$C({type:ge});static \u0275inj=i.G2t({})}return ge})()},1635:(st,Oe,T)=>{function J(Re,ge,Ee,q){return new(Ee||(Ee=Promise))(function(ue,Ue){function Ut(Ot){try{ht(q.next(Ot))}catch(jt){Ue(jt)}}function vn(Ot){try{ht(q.throw(Ot))}catch(jt){Ue(jt)}}function ht(Ot){Ot.done?ue(Ot.value):function ne(ue){return ue instanceof Ee?ue:new Ee(function(Ue){Ue(ue)})}(Ot.value).then(Ut,vn)}ht((q=q.apply(Re,ge||[])).next())})}function oe(Re){return this instanceof oe?(this.v=Re,this):new oe(Re)}function Ce(Re,ge,Ee){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ne,q=Ee.apply(Re,ge||[]),ue=[];return ne=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Ut("next"),Ut("throw"),Ut("return",function Ue(De){return function(Me){return Promise.resolve(Me).then(De,jt)}}),ne[Symbol.asyncIterator]=function(){return this},ne;function Ut(De,Me){q[De]&&(ne[De]=function(xe){return new Promise(function(Ke,qe){ue.push([De,xe,Ke,qe])>1||vn(De,xe)})},Me&&(ne[De]=Me(ne[De])))}function vn(De,Me){try{!function ht(De){De.value instanceof oe?Promise.resolve(De.value.v).then(Ot,jt):wn(ue[0][2],De)}(q[De](Me))}catch(xe){wn(ue[0][3],xe)}}function Ot(De){vn("next",De)}function jt(De){vn("throw",De)}function wn(De,Me){De(Me),ue.shift(),ue.length&&vn(ue[0][0],ue[0][1])}}function We(Re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ee,ge=Re[Symbol.asyncIterator];return ge?ge.call(Re):(Re=function _e(Re){var ge="function"==typeof Symbol&&Symbol.iterator,Ee=ge&&Re[ge],q=0;if(Ee)return Ee.call(Re);if(Re&&"number"==typeof Re.length)return{next:function(){return Re&&q>=Re.length&&(Re=void 0),{value:Re&&Re[q++],done:!Re}}};throw new TypeError(ge?"Object is not iterable.":"Symbol.iterator is not defined.")}(Re),Ee={},q("next"),q("throw"),q("return"),Ee[Symbol.asyncIterator]=function(){return this},Ee);function q(ue){Ee[ue]=Re[ue]&&function(Ue){return new Promise(function(Ut,vn){!function ne(ue,Ue,Ut,vn){Promise.resolve(vn).then(function(ht){ue({value:ht,done:Ut})},Ue)}(Ut,vn,(Ue=Re[ue](Ue)).done,Ue.value)})}}}T.d(Oe,{AQ:()=>Ce,N3:()=>oe,sH:()=>J,xN:()=>We}),"function"==typeof SuppressedError&&SuppressedError}},st=>{var Oe=i=>st(st.s=i);Oe(4073),Oe(9951)}]);

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